PageSourceSearch

https://industriekultur.ch/assets/index-22739d12.js

js industriekultur.ch collected 2026-09-25 06:13:53 UTC 797,993 bytes, 43 lines download raw bytes

1(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const r of s)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function i(s){const r={};return s.integrity&&(r.integrity=s.integrity),s.referrerPolicy&&(r.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?r.credentials="include":s.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(s){if(s.ep)return;s.ep=!0;const r=i(s);fetch(s.href,r)}})();function Ld(t,e){const i=Object.create(null),n=t.split(",");for(let s=0;s<n.length;s++)i[n[s]]=!0;return e?s=>!!i[s.toLowerCase()]:s=>!!i[s]}function Od(t){if(He(t)){const e={};for(let i=0;i<t.length;i++){const n=t[i],s=Xt(n)?Sy(n):Od(n);if(s)for(const r in s)e[r]=s[r]}return e}else{if(Xt(t))return t;if(Lt(t))return t}}const by=/;(?![^(]*\))/g,yy=/:([^]+)/,wy=/\/\*.*?\*\//gs;function Sy(t){const e={};return t.replace(wy,"").split(by).forEach(i=>{if(i){const n=i.split(yy);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function at(t){let e="";if(Xt(t))e=t;else if(He(t))for(let i=0;i<t.length;i++){const n=at(t[i]);n&&(e+=n+" ")}else if(Lt(t))for(const i in t)t[i]&&(e+=i+" ");return e.trim()}const Ey="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ky=Ld(Ey);function Cm(t){return!!t||t===""}const U=t=>Xt(t)?t:t==null?"":He(t)||Lt(t)&&(t.toString===Dm||!Qe(t.toString))?JSON.stringify(t,Rm,2):String(t),Rm=(t,e)=>e&&e.__v_isRef?Rm(t,e.value):Kr(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((i,[n,s])=>(i[`${n} =>`]=s,i),{})}:Am(e)?{[`Set(${e.size})`]:[...e.values()]}:Lt(e)&&!He(e)&&!Lm(e)?String(e):e,Mt={},jr=[],cn=()=>{},Ty=()=>!1,Iy=/^on[^a-z]/,ec=t=>Iy.test(t),Pd=t=>t.startsWith("onUpdate:"),di=Object.assign,Fd=(t,e)=>{const i=t.indexOf(e);i>-1&&t.splice(i,1)},xy=Object.prototype.hasOwnProperty,ut=(t,e)=>xy.call(t,e),He=Array.isArray,Kr=t=>tc(t)==="[object Map]",Am=t=>tc(t)==="[object Set]",Qe=t=>typeof t=="function",Xt=t=>typeof t=="string",zd=t=>typeof t=="symbol",Lt=t=>t!==null&&typeof t=="object",Mm=t=>Lt(t)&&Qe(t.then)&&Qe(t.catch),Dm=Object.prototype.toString,tc=t=>Dm.call(t),Cy=t=>tc(t).slice(8,-1),Lm=t=>tc(t)==="[object Object]",Bd=t=>Xt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,hl=Ld(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ic=t=>{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))},Ry=/-(\w)/g,In=ic(t=>t.replace(Ry,(e,i)=>i?i.toUpperCase():"")),Ay=/\B([A-Z])/g,dr=ic(t=>t.replace(Ay,"-$1").toLowerCase()),nc=ic(t=>t.charAt(0).toUpperCase()+t.slice(1)),lu=ic(t=>t?`on${nc(t)}`:""),Yo=(t,e)=>!Object.is(t,e),fl=(t,e)=>{for(let i=0;i<t.length;i++)t[i](e)},Il=(t,e,i)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:i})},Ku=t=>{const e=parseFloat(t);return isNaN(e)?t:e},My=t=>{const e=Xt(t)?Number(t):NaN;return isNaN(e)?t:e};let Hf;const Dy=()=>Hf||(Hf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let sn;class Om{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=sn,!e&&sn&&(this.index=(sn.scopes||(sn.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const i=sn;try{return sn=this,e()}finally{sn=i}}}on(){sn=this}off(){sn=this.parent}stop(e){if(this._active){let i,n;for(i=0,n=this.effects.length;i<n;i++)this.effects[i].stop();for(i=0,n=this.cleanups.length;i<n;i++)this.cleanups[i]();if(this.scopes)for(i=0,n=this.scopes.length;i<n;i++)this.scopes[i].stop(!0);if(!this.detached&&this.parent&&!e){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Ly(t){return new Om(t)}function Oy(t,e=sn){e&&e.active&&e.effects.push(t)}function Py(){return sn}const Nd=t=>{const e=new Set(t);return e.w=0,e.n=0,e},Pm=t=>(t.w&bs)>0,Fm=t=>(t.n&bs)>0,Fy=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=bs},zy=t=>{const{deps:e}=t;if(e.length){let i=0;for(let n=0;n<e.length;n++){const s=e[n];
1Pm(s)&&!Fm(s)?s.delete(t):e[i++]=s,s.w&=~bs,s.n&=~bs}e.length=i}},Hu=new WeakMap;let Fo=0,bs=1;const Wu=30;let on;const tr=Symbol(""),$u=Symbol("");class Gd{constructor(e,i=null,n){this.fn=e,this.scheduler=i,this.active=!0,this.deps=[],this.parent=void 0,Oy(this,n)}run(){if(!this.active)return this.fn();let e=on,i=ms;for(;e;){if(e===this)return;e=e.parent}try{return this.parent=on,on=this,ms=!0,bs=1<<++Fo,Fo<=Wu?Fy(this):Wf(this),this.fn()}finally{Fo<=Wu&&zy(this),bs=1<<--Fo,on=this.parent,ms=i,this.parent=void 0,this.deferStop&&this.stop()}}stop(){on===this?this.deferStop=!0:this.active&&(Wf(this),this.onStop&&this.onStop(),this.active=!1)}}function Wf(t){const{deps:e}=t;if(e.length){for(let i=0;i<e.length;i++)e[i].delete(t);e.length=0}}let ms=!0;const zm=[];function uo(){zm.push(ms),ms=!1}function ho(){const t=zm.pop();ms=t===void 0?!0:t}function Mi(t,e,i){if(ms&&on){let n=Hu.get(t);n||Hu.set(t,n=new Map);let s=n.get(i);s||n.set(i,s=Nd()),Bm(s)}}function Bm(t,e){let i=!1;Fo<=Wu?Fm(t)||(t.n|=bs,i=!Pm(t)):i=!t.has(on),i&&(t.add(on),on.deps.push(t))}function Hn(t,e,i,n,s,r){const o=Hu.get(t);if(!o)return;let a=[];if(e==="clear")a=[...o.values()];else if(i==="length"&&He(t)){const c=Number(n);o.forEach((u,d)=>{(d==="length"||d>=c)&&a.push(u)})}else switch(i!==void 0&&a.push(o.get(i)),e){case"add":He(t)?Bd(i)&&a.push(o.get("length")):(a.push(o.get(tr)),Kr(t)&&a.push(o.get($u)));break;case"delete":He(t)||(a.push(o.get(tr)),Kr(t)&&a.push(o.get($u)));break;case"set":Kr(t)&&a.push(o.get(tr));break}if(a.length===1)a[0]&&Zu(a[0]);else{const c=[];for(const u of a)u&&c.push(...u);Zu(Nd(c))}}function Zu(t,e){const i=He(t)?t:[...t];for(const n of i)n.computed&&$f(n);for(const n of i)n.computed||$f(n)}function $f(t,e){(t!==on||t.allowRecurse)&&(t.scheduler?t.scheduler():t.run())}const By=Ld("__proto__,__v_isRef,__isVue"),Nm=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(zd)),Ny=jd(),Gy=jd(!1,!0),jy=jd(!0),Zf=Ky();function Ky(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...i){const n=ht(this);for(let r=0,o=this.length;r<o;r++)Mi(n,"get",r+"");const s=n[e](...i);return s===-1||s===!1?n[e](...i.map(ht)):s}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...i){uo();const n=ht(this)[e].apply(this,i);return ho(),n}}),t}function Hy(t){const e=ht(this);return Mi(e,"has",t),e.hasOwnProperty(t)}function jd(t=!1,e=!1){return function(n,s,r){if(s==="__v_isReactive")return!t;if(s==="__v_isReadonly")return t;if(s==="__v_isShallow")return e;if(s==="__v_raw"&&r===(t?e?r0:Wm:e?Hm:Km).get(n))return n;const o=He(n);if(!t){if(o&&ut(Zf,s))return Reflect.get(Zf,s,r);if(s==="hasOwnProperty")return Hy}const a=Reflect.get(n,s,r);return(zd(s)?Nm.has(s):By(s))||(t||Mi(n,"get",s),e)?a:vi(a)?o&&Bd(s)?a:a.value:Lt(a)?t?$m(a):va(a):a}}const Wy=Gm(),$y=Gm(!0);function Gm(t=!1){return function(i,n,s,r){let o=i[n];if(qr(o)&&vi(o)&&!vi(s))return!1;if(!t&&(!xl(s)&&!qr(s)&&(o=ht(o),s=ht(s)),!He(i)&&vi(o)&&!vi(s)))return o.value=s,!0;const a=He(i)&&Bd(n)?Number(n)<i.length:ut(i,n),c=Reflect.set(i,n,s,r);return i===ht(r)&&(a?Yo(s,o)&&Hn(i,"set",n,s):Hn(i,"add",n,s)),c}}function Zy(t,e){const i=ut(t,e);t[e];const n=Reflect.deleteProperty(t,e);return n&&i&&Hn(t,"delete",e,void 0),n}function Uy(t,e){const i=Reflect.has(t,e);return(!zd(e)||!Nm.has(e))&&Mi(t,"has",e),i}function Vy(t){return Mi(t,"iterate",He(t)?"length":tr),Reflect.ownKeys(t)}const jm={get:Ny,set:Wy,deleteProperty:Zy,has:Uy,ownKeys:Vy},Yy={get:jy,set(t,e){return!0},deleteProperty(t,e){return!0}},Xy=di({},jm,{get:Gy,set:$y}),Kd=t=>t,sc=t=>Reflect.getPrototypeOf(t);function Ga(t,e,i=!1,n=!1){t=t.__v_raw;const s=ht(t),r=ht(e);i||(e!==r&&Mi(s,"get",e),Mi(s,"get",r));const{has:o}=sc(s),a=n?Kd:i?Zd:Xo;if(o.call(s,e))return a(t.get(e));if(o.call(s,r))return a(t.get(r));t!==s&&t.get(e)}function ja(t,e=!1){const i=this.__v_raw,n=ht(i),s=ht(t);return e||(t!==s&&Mi(n,"has",t),Mi(n,"has",s)),t===s?i.has(t):i.has(t)||i.has(s)}function Ka(t,e=!1){return t=t.__v_raw,!e&&Mi(ht(t),"iterate",tr),Reflect.get(t,"size",t)}function Uf(t){t=ht(t);const e=ht(this);return sc(e).has.call(e,t)||(e.add(t),Hn(e,"add",t,t)),this}function Vf(t,e){e=ht(e);const i=ht(this),{has:n,get:s}=sc(i);let r=n.call(i,t);r||(t=ht(t),r=n.call(i,t));const o=s.call(i,t);return i.set(t,e),r?Yo(e,o)&&Hn(i,"set",t,e):Hn(i,"add",t,e),this}function Yf(t){const e=ht(this),{has:i,get:n}=sc(e);let s=i.call(e,t);s||(t=ht(t),s=i.call(e,t)),n&&n.call(e,t);const r=e.delete(t);return s&&Hn(e,"delete",t,void 0),r}function Xf(){const t=ht(this),e=t.size!==0,i=t.clear();return e&&Hn(t,"clear",void 0,void 0),i}function Ha(t,e){return function(n,s){const r=this,o=r.__v_raw,a=ht(o),c=e?Kd:t?Zd:Xo;return!t&&Mi(a,"iterate",tr),o.forEach((u,d)=>n.call(s,c(u),c(d),r))}}function Wa(t,e,i){return function(...n){const s=this.__v_raw,r=ht(s),o=Kr
1(r),a=t==="entries"||t===Symbol.iterator&&o,c=t==="keys"&&o,u=s[t](...n),d=i?Kd:e?Zd:Xo;return!e&&Mi(r,"iterate",c?$u:tr),{next(){const{value:g,done:v}=u.next();return v?{value:g,done:v}:{value:a?[d(g[0]),d(g[1])]:d(g),done:v}},[Symbol.iterator](){return this}}}}function Qn(t){return function(...e){return t==="delete"?!1:this}}function qy(){const t={get(r){return Ga(this,r)},get size(){return Ka(this)},has:ja,add:Uf,set:Vf,delete:Yf,clear:Xf,forEach:Ha(!1,!1)},e={get(r){return Ga(this,r,!1,!0)},get size(){return Ka(this)},has:ja,add:Uf,set:Vf,delete:Yf,clear:Xf,forEach:Ha(!1,!0)},i={get(r){return Ga(this,r,!0)},get size(){return Ka(this,!0)},has(r){return ja.call(this,r,!0)},add:Qn("add"),set:Qn("set"),delete:Qn("delete"),clear:Qn("clear"),forEach:Ha(!0,!1)},n={get(r){return Ga(this,r,!0,!0)},get size(){return Ka(this,!0)},has(r){return ja.call(this,r,!0)},add:Qn("add"),set:Qn("set"),delete:Qn("delete"),clear:Qn("clear"),forEach:Ha(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Wa(r,!1,!1),i[r]=Wa(r,!0,!1),e[r]=Wa(r,!1,!0),n[r]=Wa(r,!0,!0)}),[t,i,e,n]}const[Qy,Jy,e0,t0]=qy();function Hd(t,e){const i=e?t?t0:e0:t?Jy:Qy;return(n,s,r)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?n:Reflect.get(ut(i,s)&&s in n?i:n,s,r)}const i0={get:Hd(!1,!1)},n0={get:Hd(!1,!0)},s0={get:Hd(!0,!1)},Km=new WeakMap,Hm=new WeakMap,Wm=new WeakMap,r0=new WeakMap;function o0(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function a0(t){return t.__v_skip||!Object.isExtensible(t)?0:o0(Cy(t))}function va(t){return qr(t)?t:Wd(t,!1,jm,i0,Km)}function l0(t){return Wd(t,!1,Xy,n0,Hm)}function $m(t){return Wd(t,!0,Yy,s0,Wm)}function Wd(t,e,i,n,s){if(!Lt(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=s.get(t);if(r)return r;const o=a0(t);if(o===0)return t;const a=new Proxy(t,o===2?n:i);return s.set(t,a),a}function Hr(t){return qr(t)?Hr(t.__v_raw):!!(t&&t.__v_isReactive)}function qr(t){return!!(t&&t.__v_isReadonly)}function xl(t){return!!(t&&t.__v_isShallow)}function Zm(t){return Hr(t)||qr(t)}function ht(t){const e=t&&t.__v_raw;return e?ht(e):t}function $d(t){return Il(t,"__v_skip",!0),t}const Xo=t=>Lt(t)?va(t):t,Zd=t=>Lt(t)?$m(t):t;function Um(t){ms&&on&&(t=ht(t),Bm(t.dep||(t.dep=Nd())))}function Vm(t,e){t=ht(t);const i=t.dep;i&&Zu(i)}function vi(t){return!!(t&&t.__v_isRef===!0)}function Ym(t){return Xm(t,!1)}function c0(t){return Xm(t,!0)}function Xm(t,e){return vi(t)?t:new u0(t,e)}class u0{constructor(e,i){this.__v_isShallow=i,this.dep=void 0,this.__v_isRef=!0,this._rawValue=i?e:ht(e),this._value=i?e:Xo(e)}get value(){return Um(this),this._value}set value(e){const i=this.__v_isShallow||xl(e)||qr(e);e=i?e:ht(e),Yo(e,this._rawValue)&&(this._rawValue=e,this._value=i?e:Xo(e),Vm(this))}}function Wr(t){return vi(t)?t.value:t}const d0={get:(t,e,i)=>Wr(Reflect.get(t,e,i)),set:(t,e,i,n)=>{const s=t[e];return vi(s)&&!vi(i)?(s.value=i,!0):Reflect.set(t,e,i,n)}};function qm(t){return Hr(t)?t:new Proxy(t,d0)}var Qm;class h0{constructor(e,i,n,s){this._setter=i,this.dep=void 0,this.__v_isRef=!0,this[Qm]=!1,this._dirty=!0,this.effect=new Gd(e,()=>{this._dirty||(this._dirty=!0,Vm(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=n}get value(){const e=ht(this);return Um(e),(e._dirty||!e._cacheable)&&(e._dirty=!1,e._value=e.effect.run()),e._value}set value(e){this._setter(e)}}Qm="__v_isReadonly";function f0(t,e,i=!1){let n,s;const r=Qe(t);return r?(n=t,s=cn):(n=t.get,s=t.set),new h0(n,s,r||!s,i)}function vs(t,e,i,n){let s;try{s=n?t(...n):t()}catch(r){rc(r,e,i)}return s}function Xi(t,e,i,n){if(Qe(t)){const r=vs(t,e,i,n);return r&&Mm(r)&&r.catch(o=>{rc(o,e,i)}),r}const s=[];for(let r=0;r<t.length;r++)s.push(Xi(t[r],e,i,n));return s}function rc(t,e,i,n=!0){const s=e?e.vnode:null;if(e){let r=e.parent;const o=e.proxy,a=i;for(;r;){const u=r.ec;if(u){for(let d=0;d<u.length;d++)if(u[d](t,o,a)===!1)return}r=r.parent}const c=e.appContext.config.errorHandler;if(c){vs(c,null,10,[t,o,a]);return}}g0(t,i,s,n)}function g0(t,e,i,n=!0){console.error(t)}let qo=!1,Uu=!1;const mi=[];let bn=0;const $r=[];let Bn=null,$s=0;const Jm=Promise.resolve();let Ud=null;function ji(t){const e=Ud||Jm;return t?e.then(this?t.bind(this):t):e}function p0(t){let e=bn+1,i=mi.length;for(;e<i;){const n=e+i>>>1;Qo(mi[n])<t?e=n+1:i=n}return e}function Vd(t){(!mi.length||!mi.includes(t,qo&&t.allowRecurse?bn+1:bn))&&(t.id==null?mi.push(t):mi.splice(p0(t.id),0,t),ev())}function ev(){!qo&&!Uu&&(Uu=!0,Ud=Jm.then(iv))}function m0(t){const e=mi.indexOf(t);e>bn&&mi.splice(e,1)}function v0(t){He(t)?$r.push(...t):(!Bn||!Bn.includes(t,t.allowRecurse?$s+1:$s))&&$r.pu
1sh(t),ev()}function qf(t,e=qo?bn+1:0){for(;e<mi.length;e++){const i=mi[e];i&&i.pre&&(mi.splice(e,1),e--,i())}}function tv(t){if($r.length){const e=[...new Set($r)];if($r.length=0,Bn){Bn.push(...e);return}for(Bn=e,Bn.sort((i,n)=>Qo(i)-Qo(n)),$s=0;$s<Bn.length;$s++)Bn[$s]();Bn=null,$s=0}}const Qo=t=>t.id==null?1/0:t.id,_0=(t,e)=>{const i=Qo(t)-Qo(e);if(i===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return i};function iv(t){Uu=!1,qo=!0,mi.sort(_0);const e=cn;try{for(bn=0;bn<mi.length;bn++){const i=mi[bn];i&&i.active!==!1&&vs(i,null,14)}}finally{bn=0,mi.length=0,tv(),qo=!1,Ud=null,(mi.length||$r.length)&&iv()}}function b0(t,e,...i){if(t.isUnmounted)return;const n=t.vnode.props||Mt;let s=i;const r=e.startsWith("update:"),o=r&&e.slice(7);if(o&&o in n){const d=`${o==="modelValue"?"model":o}Modifiers`,{number:g,trim:v}=n[d]||Mt;v&&(s=i.map(_=>Xt(_)?_.trim():_)),g&&(s=i.map(Ku))}let a,c=n[a=lu(e)]||n[a=lu(In(e))];!c&&r&&(c=n[a=lu(dr(e))]),c&&Xi(c,t,6,s);const u=n[a+"Once"];if(u){if(!t.emitted)t.emitted={};else if(t.emitted[a])return;t.emitted[a]=!0,Xi(u,t,6,s)}}function nv(t,e,i=!1){const n=e.emitsCache,s=n.get(t);if(s!==void 0)return s;const r=t.emits;let o={},a=!1;if(!Qe(t)){const c=u=>{const d=nv(u,e,!0);d&&(a=!0,di(o,d))};!i&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!r&&!a?(Lt(t)&&n.set(t,null),null):(He(r)?r.forEach(c=>o[c]=null):di(o,r),Lt(t)&&n.set(t,o),o)}function oc(t,e){return!t||!ec(e)?!1:(e=e.slice(2).replace(/Once$/,""),ut(t,e[0].toLowerCase()+e.slice(1))||ut(t,dr(e))||ut(t,e))}let Ni=null,ac=null;function Cl(t){const e=Ni;return Ni=t,ac=t&&t.type.__scopeId||null,e}function lc(t){ac=t}function cc(){ac=null}function gl(t,e=Ni,i){if(!e||t._n)return t;const n=(...s)=>{n._d&&ag(-1);const r=Cl(e);let o;try{o=t(...s)}finally{Cl(r),n._d&&ag(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function cu(t){const{type:e,vnode:i,proxy:n,withProxy:s,props:r,propsOptions:[o],slots:a,attrs:c,emit:u,render:d,renderCache:g,data:v,setupState:_,ctx:y,inheritAttrs:S}=t;let C,x;const I=Cl(t);try{if(i.shapeFlag&4){const F=s||n;C=_n(d.call(F,F,g,r,_,v,y)),x=c}else{const F=e;C=_n(F.length>1?F(r,{attrs:c,slots:a,emit:u}):F(r,null)),x=e.props?c:y0(c)}}catch(F){jo.length=0,rc(F,t,1),C=Zt(un)}let R=C;if(x&&S!==!1){const F=Object.keys(x),{shapeFlag:Z}=R;F.length&&Z&7&&(o&&F.some(Pd)&&(x=w0(x,o)),R=ys(R,x))}return i.dirs&&(R=ys(R),R.dirs=R.dirs?R.dirs.concat(i.dirs):i.dirs),i.transition&&(R.transition=i.transition),C=R,Cl(I),C}const y0=t=>{let e;for(const i in t)(i==="class"||i==="style"||ec(i))&&((e||(e={}))[i]=t[i]);return e},w0=(t,e)=>{const i={};for(const n in t)(!Pd(n)||!(n.slice(9)in e))&&(i[n]=t[n]);return i};function S0(t,e,i){const{props:n,children:s,component:r}=t,{props:o,children:a,patchFlag:c}=e,u=r.emitsOptions;if(e.dirs||e.transition)return!0;if(i&&c>=0){if(c&1024)return!0;if(c&16)return n?Qf(n,o,u):!!o;if(c&8){const d=e.dynamicProps;for(let g=0;g<d.length;g++){const v=d[g];if(o[v]!==n[v]&&!oc(u,v))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:n===o?!1:n?o?Qf(n,o,u):!0:!!o;return!1}function Qf(t,e,i){const n=Object.keys(e);if(n.length!==Object.keys(t).length)return!0;for(let s=0;s<n.length;s++){const r=n[s];if(e[r]!==t[r]&&!oc(i,r))return!0}return!1}function E0({vnode:t,parent:e},i){for(;e&&e.subTree===t;)(t=e.vnode).el=i,e=e.parent}const k0=t=>t.__isSuspense;function T0(t,e){e&&e.pendingBranch?He(t)?e.effects.push(...t):e.effects.push(t):v0(t)}function pl(t,e){if(Ut){let i=Ut.provides;const n=Ut.parent&&Ut.parent.provides;n===i&&(i=Ut.provides=Object.create(n)),i[t]=e}}function kn(t,e,i=!1){const n=Ut||Ni;if(n){const s=n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides;if(s&&t in s)return s[t];if(arguments.length>1)return i&&Qe(e)?e.call(n.proxy):e}}const $a={};function ml(t,e,i){return sv(t,e,i)}function sv(t,e,{immediate:i,deep:n,flush:s,onTrack:r,onTrigger:o}=Mt){const a=Py()===(Ut==null?void 0:Ut.scope)?Ut:null;let c,u=!1,d=!1;if(vi(t)?(c=()=>t.value,u=xl(t)):Hr(t)?(c=()=>t,n=!0):He(t)?(d=!0,u=t.some(R=>Hr(R)||xl(R)),c=()=>t.map(R=>{if(vi(R))return R.value;if(Hr(R))return Xs(R);if(Qe(R))return vs(R,a,2)})):Qe(t)?e?c=()=>vs(t,a,2):c=()=>
1{if(!(a&&a.isUnmounted))return g&&g(),Xi(t,a,3,[v])}:c=cn,e&&n){const R=c;c=()=>Xs(R())}let g,v=R=>{g=x.onStop=()=>{vs(R,a,4)}},_;if(ea)if(v=cn,e?i&&Xi(e,a,3,[c(),d?[]:void 0,v]):c(),s==="sync"){const R=yw();_=R.__watcherHandles||(R.__watcherHandles=[])}else return cn;let y=d?new Array(t.length).fill($a):$a;const S=()=>{if(x.active)if(e){const R=x.run();(n||u||(d?R.some((F,Z)=>Yo(F,y[Z])):Yo(R,y)))&&(g&&g(),Xi(e,a,3,[R,y===$a?void 0:d&&y[0]===$a?[]:y,v]),y=R)}else x.run()};S.allowRecurse=!!e;let C;s==="sync"?C=S:s==="post"?C=()=>xi(S,a&&a.suspense):(S.pre=!0,a&&(S.id=a.uid),C=()=>Vd(S));const x=new Gd(c,C);e?i?S():y=x.run():s==="post"?xi(x.run.bind(x),a&&a.suspense):x.run();const I=()=>{x.stop(),a&&a.scope&&Fd(a.scope.effects,x)};return _&&_.push(I),I}function I0(t,e,i){const n=this.proxy,s=Xt(t)?t.includes(".")?rv(n,t):()=>n[t]:t.bind(n,n);let r;Qe(e)?r=e:(r=e.handler,i=e);const o=Ut;Qr(this);const a=sv(s,r.bind(n),i);return o?Qr(o):ir(),a}function rv(t,e){const i=e.split(".");return()=>{let n=t;for(let s=0;s<i.length&&n;s++)n=n[i[s]];return n}}function Xs(t,e){if(!Lt(t)||t.__v_skip||(e=e||new Set,e.has(t)))return t;if(e.add(t),vi(t))Xs(t.value,e);else if(He(t))for(let i=0;i<t.length;i++)Xs(t[i],e);else if(Am(t)||Kr(t))t.forEach(i=>{Xs(i,e)});else if(Lm(t))for(const i in t)Xs(t[i],e);return t}function x0(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return uv(()=>{t.isMounted=!0}),dv(()=>{t.isUnmounting=!0}),t}const Zi=[Function,Array],C0={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Zi,onEnter:Zi,onAfterEnter:Zi,onEnterCancelled:Zi,onBeforeLeave:Zi,onLeave:Zi,onAfterLeave:Zi,onLeaveCancelled:Zi,onBeforeAppear:Zi,onAppear:Zi,onAfterAppear:Zi,onAppearCancelled:Zi},setup(t,{slots:e}){const i=hw(),n=x0();let s;return()=>{const r=e.default&&lv(e.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const S of r)if(S.type!==un){o=S;break}}const a=ht(t),{mode:c}=a;if(n.isLeaving)return uu(o);const u=Jf(o);if(!u)return uu(o);const d=Vu(u,a,n,i);Yu(u,d);const g=i.subTree,v=g&&Jf(g);let _=!1;const{getTransitionKey:y}=u.type;if(y){const S=y();s===void 0?s=S:S!==s&&(s=S,_=!0)}if(v&&v.type!==un&&(!Zs(u,v)||_)){const S=Vu(v,a,n,i);if(Yu(v,S),c==="out-in")return n.isLeaving=!0,S.afterLeave=()=>{n.isLeaving=!1,i.update.active!==!1&&i.update()},uu(o);c==="in-out"&&u.type!==un&&(S.delayLeave=(C,x,I)=>{const R=av(n,v);R[String(v.key)]=v,C._leaveCb=()=>{x(),C._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=I})}return o}}},ov=C0;function av(t,e){const{leavingVNodes:i}=t;let n=i.get(e.type);return n||(n=Object.create(null),i.set(e.type,n)),n}function Vu(t,e,i,n){const{appear:s,mode:r,persisted:o=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:g,onLeave:v,onAfterLeave:_,onLeaveCancelled:y,onBeforeAppear:S,onAppear:C,onAfterAppear:x,onAppearCancelled:I}=e,R=String(t.key),F=av(i,t),Z=(Q,ae)=>{Q&&Xi(Q,n,9,ae)},p=(Q,ae)=>{const ue=ae[1];Z(Q,ae),He(Q)?Q.every(Ce=>Ce.length<=1)&&ue():Q.length<=1&&ue()},le={mode:r,persisted:o,beforeEnter(Q){let ae=a;if(!i.isMounted)if(s)ae=S||a;else return;Q._leaveCb&&Q._leaveCb(!0);const ue=F[R];ue&&Zs(t,ue)&&ue.el._leaveCb&&ue.el._leaveCb(),Z(ae,[Q])},enter(Q){let ae=c,ue=u,Ce=d;if(!i.isMounted)if(s)ae=C||c,ue=x||u,Ce=I||d;else return;let ee=!1;const Te=Q._enterCb=$e=>{ee||(ee=!0,$e?Z(Ce,[Q]):Z(ue,[Q]),le.delayedLeave&&le.delayedLeave(),Q._enterCb=void 0)};ae?p(ae,[Q,Te]):Te()},leave(Q,ae){const ue=String(t.key);if(Q._enterCb&&Q._enterCb(!0),i.isUnmounting)return ae();Z(g,[Q]);let Ce=!1;const ee=Q._leaveCb=Te=>{Ce||(Ce=!0,ae(),Te?Z(y,[Q]):Z(_,[Q]),Q._leaveCb=void 0,F[ue]===t&&delete F[ue])};F[ue]=t,v?p(v,[Q,ee]):ee()},clone(Q){return Vu(Q,e,i,n)}};return le}function uu(t){if(uc(t))return t=ys(t),t.children=null,t}function Jf(t){return uc(t)?t.children?t.children[0]:void 0:t}function Yu(t,e){t.shapeFlag&6&&t.component?Yu(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function lv(t,e=!1,i){let n=[],s=0;for(let r=0;r<t.length;r++){let o=t[r];const a=i==null?o.key:String(i)+String(o.key!=null?o.key:r);o.type===Tt?(o.patchFlag&128&&s++,n=n.concat(lv(o.children,e,a))):(e||o.type!==un)&&n.push(a!=null?ys(o,{key:a}):o)}if(s>1)for(let r=0;r<n.length;r++)n[r].patchFlag=-2;return n}function ks(t){return Qe(t)?{setup:t,name:t.name}:t}const vl=t=>!!t.type.__asyncLoader,uc=t=>t.type.__isKeepAlive;function R0(t,e){cv(t,"a",e)}function A0(t,e){cv(t,"da",e)}function cv(t,e,i=Ut){const n=t.__wdc||(t.__wdc=()=>{let s=i;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(dc(e,n,i),i){let s=i.parent;for(;s&&s.parent;)uc(s.parent.vnode)&&M0(n,e,i,s),s=s.parent}}function M0(t,e,i,n){const s=dc(e,t,n,!0);hv(()=>{Fd(n[e],s)},i)}function dc(t,e,i=Ut,n=!1){if(i){const s=i[t]||(i[t]=[]),r=e.__weh||(e.__weh=(...o)=>{if(i.isUnmounted)return;uo(),Qr(i);const a=Xi(e,i,t,o);return ir(),ho(),a});return n?s.unshift(r):s.push(r),r}}const Zn=t=>(e,i=Ut)=>(!ea||t==="sp")&&dc(t,(...n)=>e(...n),i),D0=Zn("bm"),uv=Zn("m"),L0=Zn("bu"),O0=Zn("u"),dv=Zn("bum"),hv=Zn("um"),P0=Zn("sp"),F0=Zn("rtg"),z0=Zn("rtc");function B0(t,e=Ut){dc("ec",t,e)}function xt(t,e){const i=Ni;if(i===null)return t;const n=gc(i)||i.proxy,s=t.dirs||(t.dirs=[]);for(let r=0;r<e.length;r++){let[o,a,c,u=Mt]=e[r];o&&(Qe(o)&&(o={mounted:o,updated:o}),o.deep&&Xs(a),s.push({dir:o,instance:n,value:a,oldValue:void 0,arg:c,modifiers:u}))}return t}function Fs(t,e,i,n){const s=t.dirs,r=e&&e.dirs;for(let o=0;o<s.length;o++){const a=s[o];r&&(a.oldValue=r[o].value);let c=a.dir[n];c&&(uo(),Xi(c,i,8,[t.el,a,t,e]),ho())}}const fv="components";function Io(t,e){return G0(fv,t,!0,e)||t}const N0=Symbol();function G0(t,e,i=!0,n=!1){const s=Ni||Ut;if(s){const r=s.type;if(t===fv){const a=vw(r,!1);if(a&&(a===e||a===In(e)||a===nc(In(e))))return r}const o=eg(s[t]||r[t],e)||eg(s.appContext[t],e);return!o&&n?r:o}}function eg(t,e){return t&&(t[e]||t[In(e)]||t[nc(In(e))])}function ui(t,e,i,n){let s;const r=i&&i[n];if(He(t)||Xt(t)){s=new Array(t.length);for(let o=0,a=t.length;o<a;o++)s[o]=e(t[o],o,void 0,r&&r[o])}else if(typeof t=="number"){s=new Array(t);for(let o=0;o<t;o++)s[o]=e(o+1,o,void 0,r&&r[o])}else if(Lt(t))if(t[Symbol.iterator])s=Array.from(t,(o,a)=>e(o,a,void 0,r&&r[a]));else{const o=Object.keys(t);s=new Array(o.length);for(let a=0,c=o.length;a<c;a++){const u=o[a];s[a]=e(t[u],u,a,r&&r[a])}}else s=[];return i&&(i[n]=s),s}const Xu=t=>t?kv(t)?gc(t)||t.proxy:Xu(t.parent):null,Go=di(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Xu(t.parent),$root:t=>Xu(t.root),$emit:t=>t.emit,$options:t=>Yd(t),$forceUpdate:t=>
vendor: 6,349 bytes, line 1
1t.f||(t.f=()=>Vd(t.update)),$nextTick:t=>t.n||(t.n=ji.bind(t.proxy)),$watch:t=>I0.bind(t)}),du=(t,e)=>t!==Mt&&!t.__isScriptSetup&&ut(t,e),j0={get({_:t},e){const{ctx:i,setupState:n,data:s,props:r,accessCache:o,type:a,appContext:c}=t;let u;if(e[0]!=="$"){const _=o[e];if(_!==void 0)switch(_){case 1:return n[e];case 2:return s[e];case 4:return i[e];case 3:return r[e]}else{if(du(n,e))return o[e]=1,n[e];if(s!==Mt&&ut(s,e))return o[e]=2,s[e];if((u=t.propsOptions[0])&&ut(u,e))return o[e]=3,r[e];if(i!==Mt&&ut(i,e))return o[e]=4,i[e];qu&&(o[e]=0)}}const d=Go[e];let g,v;if(d)return e==="$attrs"&&Mi(t,"get",e),d(t);if((g=a.__cssModules)&&(g=g[e]))return g;if(i!==Mt&&ut(i,e))return o[e]=4,i[e];if(v=c.config.globalProperties,ut(v,e))return v[e]},set({_:t},e,i){const{data:n,setupState:s,ctx:r}=t;return du(s,e)?(s[e]=i,!0):n!==Mt&&ut(n,e)?(n[e]=i,!0):ut(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(r[e]=i,!0)},has({_:{data:t,setupState:e,accessCache:i,ctx:n,appContext:s,propsOptions:r}},o){let a;return!!i[o]||t!==Mt&&ut(t,o)||du(e,o)||(a=r[0])&&ut(a,o)||ut(n,o)||ut(Go,o)||ut(s.config.globalProperties,o)},defineProperty(t,e,i){return i.get!=null?t._.accessCache[e]=0:ut(i,"value")&&this.set(t,e,i.value,null),Reflect.defineProperty(t,e,i)}};let qu=!0;function K0(t){const e=Yd(t),i=t.proxy,n=t.ctx;qu=!1,e.beforeCreate&&tg(e.beforeCreate,t,"bc");const{data:s,computed:r,methods:o,watch:a,provide:c,inject:u,created:d,beforeMount:g,mounted:v,beforeUpdate:_,updated:y,activated:S,deactivated:C,beforeDestroy:x,beforeUnmount:I,destroyed:R,unmounted:F,render:Z,renderTracked:p,renderTriggered:le,errorCaptured:Q,serverPrefetch:ae,expose:ue,inheritAttrs:Ce,components:ee,directives:Te,filters:$e}=e;if(u&&H0(u,n,null,t.appContext.config.unwrapInjectedRef),o)for(const N in o){const oe=o[N];Qe(oe)&&(n[N]=oe.bind(i))}if(s){const N=s.call(i,i);Lt(N)&&(t.data=va(N))}if(qu=!0,r)for(const N in r){const oe=r[N],Ie=Qe(oe)?oe.bind(i,i):Qe(oe.get)?oe.get.bind(i,i):cn,Be=!Qe(oe)&&Qe(oe.set)?oe.set.bind(i):cn,Ze=Vi({get:Ie,set:Be});Object.defineProperty(n,N,{enumerable:!0,configurable:!0,get:()=>Ze.value,set:te=>Ze.value=te})}if(a)for(const N in a)gv(a[N],n,i,N);if(c){const N=Qe(c)?c.call(i):c;Reflect.ownKeys(N).forEach(oe=>{pl(oe,N[oe])})}d&&tg(d,t,"c");function be(N,oe){He(oe)?oe.forEach(Ie=>N(Ie.bind(i))):oe&&N(oe.bind(i))}if(be(D0,g),be(uv,v),be(L0,_),be(O0,y),be(R0,S),be(A0,C),be(B0,Q),be(z0,p),be(F0,le),be(dv,I),be(hv,F),be(P0,ae),He(ue))if(ue.length){const N=t.exposed||(t.exposed={});ue.forEach(oe=>{Object.defineProperty(N,oe,{get:()=>i[oe],set:Ie=>i[oe]=Ie})})}else t.exposed||(t.exposed={});Z&&t.render===cn&&(t.render=Z),Ce!=null&&(t.inheritAttrs=Ce),ee&&(t.components=ee),Te&&(t.directives=Te)}function H0(t,e,i=cn,n=!1){He(t)&&(t=Qu(t));for(const s in t){const r=t[s];let o;Lt(r)?"default"in r?o=kn(r.from||s,r.default,!0):o=kn(r.from||s):o=kn(r),vi(o)&&n?Object.defineProperty(e,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):e[s]=o}}function tg(t,e,i){Xi(He(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,i)}function gv(t,e,i,n){const s=n.includes(".")?rv(i,n):()=>i[n];if(Xt(t)){const r=e[t];Qe(r)&&ml(s,r)}else if(Qe(t))ml(s,t.bind(i));else if(Lt(t))if(He(t))t.forEach(r=>gv(r,e,i,n));else{const r=Qe(t.handler)?t.handler.bind(i):e[t.handler];Qe(r)&&ml(s,r,t)}}function Yd(t){const e=t.type,{mixins:i,extends:n}=e,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=t.appContext,a=r.get(e);let c;return a?c=a:!s.length&&!i&&!n?c=e:(c={},s.length&&s.forEach(u=>Rl(c,u,o,!0)),Rl(c,e,o)),Lt(e)&&r.set(e,c),c}function Rl(t,e,i,n=!1){const{mixins:s,extends:r}=e;r&&Rl(t,r,i,!0),s&&s.forEach(o=>Rl(t,o,i,!0));for(const o in e)if(!(n&&o==="expose")){const a=W0[o]||i&&i[o];t[o]=a?a(t[o],e[o]):e[o]}return t}const W0={data:ig,props:Hs,emits:Hs,methods:Hs,computed:Hs,beforeCreate:yi,created:yi,beforeMount:yi,mounted:yi,beforeUpdate:yi,updated:yi,beforeDestroy:yi,beforeUnmount:yi,destroyed:yi,unmounted:yi,activated:yi,deactivated:yi,errorCaptured:yi,serverPrefetch:yi,components:Hs,directives:Hs,watch:Z0,provide:ig,inject:$0};function ig(t,e){return e?t?function(){return di(Qe(t)?t.call(this,this):t,Qe(e)?e.call(this,this):e)}:e:t}function $0(t,e){return Hs(Qu(t),Qu(e))}function Qu(t){if(He(t)){const e={};for(let i=0;i<t.length;i++)e[t[i]]=t[i];return e}return t}function yi(t,e){return t?[...new Set([].concat(t,e))]:e}function Hs(t,e){return t?di(di(Object.create(null),t),e):e}function Z0(t,e){if(!t)return e;if(!e)return t;const i=di(Object.create(null),t);for(const n in e)i[n]=yi(t[n],e[n]);return i}function U0(t,e,i,n=!1){const s={},r={};Il(r,fc,1),t.propsDefaults=Object.create(null),pv(t,e,s,r);for(const o in t.propsOptions[0])o in s||(s[o]=void 0);i?t.props=n?s:l0(s):t.type.props?t.props=s:t.props=r,t.attrs=r}function V0(t,e,i,n){const{props:s,attrs:r,vnode:{patchFlag:o}}=t,a=ht(s),[c]=t.propsOptions;let u=!1;if((n||o>0)&&!(o&16)){if(o&8){const d=t.vnode.dynamicProps;for(let g=0;g<d.length;g++){let v=d[g];if(oc(t.emitsOptions,v))continue;const _=e[v];if(c)if(ut(r,v))_!==r[v]&&(r[v]=_,u=!0);else{const y=In(v);s[y]=Ju(c,a,y,_,t,!1)}else _!==r[v]&&(r[v]=_,u=!0)}}}else{pv(t,e,s,r)&&(u=!0);let d;for(const g in a)(!e||!ut(e,g)&&((d=dr(g))===g||!ut(e,d)))&&(c?i&&(i[g]!==void 0||i[d]!==void 0)&&(s[g]=Ju(c,a,g,void 0,t,!0)):delete s[g]);if(r!==a)for(const g in r)(!e||!ut(e,g))&&(delete r[g],u=!0)}u&&Hn(t,"set","$attrs")}function pv(t,e,i,n){const[s,r]=t.propsOptions;let o=!1,a;if(e)for(let c in e){if(hl(c))continue;const u=e[c];let d;s&&ut(s,d=In(c))?!r||!r.includes(d)?i[d]=u:(a||(a={}))[d]=u:oc(t.emitsOptions,c)||(!(c in n)||u!==n[c])&&(n[c]=u,o=!0)}if(r){const c=ht(i),u=a||Mt;for(let d=0;d<r.length;d++){const g=r[d];i[g]=Ju(s,c,g,u[g],t,!ut(u,g))}}return o}function Ju(t,e,i,n,s,r){const o=t[i];if(o!=null){const a=ut(o,"default");if(a&&n===void 0){const c=o.default;if(o.type!==Function&&Qe(c)){const{propsDefaults:u}=s;i in u?n=u[i]:(Qr(s),n=u[i]=c.call(null,e),ir())}else n=c}o[0]&&(r&&!a?n=!1:o[1]&&(n===""||n===dr(i))&&(n=!0))}return n}function mv(t,e,i=!1){const n=e.propsCache,s=n.get(t);if(s)return s;const r=t.props,o={},a=[];let c=!1;if(!Qe(t)){const d=g=>{c=!0;const[v,_]=mv(g,e,!0);di(o,v),_&&a.push(..._)};!i&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!r&&!c)return Lt(t)&&n.set(t,jr),jr;if(He(r))for(let d=0;d<r.length;
1d++){const g=In(r[d]);ng(g)&&(o[g]=Mt)}else if(r)for(const d in r){const g=In(d);if(ng(g)){const v=r[d],_=o[g]=He(v)||Qe(v)?{type:v}:Object.assign({},v);if(_){const y=og(Boolean,_.type),S=og(String,_.type);_[0]=y>-1,_[1]=S<0||y<S,(y>-1||ut(_,"default"))&&a.push(g)}}}const u=[o,a];return Lt(t)&&n.set(t,u),u}function ng(t){return t[0]!=="$"}function sg(t){const e=t&&t.toString().match(/^\s*(function|class) (\w+)/);return e?e[2]:t===null?"null":""}function rg(t,e){return sg(t)===sg(e)}function og(t,e){return He(e)?e.findIndex(i=>rg(i,t)):Qe(e)&&rg(e,t)?0:-1}const vv=t=>t[0]==="_"||t==="$stable",Xd=t=>He(t)?t.map(_n):[_n(t)],Y0=(t,e,i)=>{if(e._n)return e;const n=gl((...s)=>Xd(e(...s)),i);return n._c=!1,n},_v=(t,e,i)=>{const n=t._ctx;for(const s in t){if(vv(s))continue;const r=t[s];if(Qe(r))e[s]=Y0(s,r,n);else if(r!=null){const o=Xd(r);e[s]=()=>o}}},bv=(t,e)=>{const i=Xd(e);t.slots.default=()=>i},X0=(t,e)=>{if(t.vnode.shapeFlag&32){const i=e._;i?(t.slots=ht(e),Il(e,"_",i)):_v(e,t.slots={})}else t.slots={},e&&bv(t,e);Il(t.slots,fc,1)},q0=(t,e,i)=>{const{vnode:n,slots:s}=t;let r=!0,o=Mt;if(n.shapeFlag&32){const a=e._;a?i&&a===1?r=!1:(di(s,e),!i&&a===1&&delete s._):(r=!e.$stable,_v(e,s)),o=e}else e&&(bv(t,e),o={default:1});if(r)for(const a in s)!vv(a)&&!(a in o)&&delete s[a]};function yv(){return{app:null,config:{isNativeTag:Ty,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 Q0=0;function J0(t,e){return function(n,s=null){Qe(n)||(n=Object.assign({},n)),s!=null&&!Lt(s)&&(s=null);const r=yv(),o=new Set;let a=!1;const c=r.app={_uid:Q0++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:ww,get config(){return r.config},set config(u){},use(u,...d){return o.has(u)||(u&&Qe(u.install)?(o.add(u),u.install(c,...d)):Qe(u)&&(o.add(u),u(c,...d))),c},mixin(u){return r.mixins.includes(u)||r.mixins.push(u),c},component(u,d){return d?(r.components[u]=d,c):r.components[u]},directive(u,d){return d?(r.directives[u]=d,c):r.directives[u]},mount(u,d,g){if(!a){const v=Zt(n,s);return v.appContext=r,d&&e?e(v,u):t(v,u,g),a=!0,c._container=u,u.__vue_app__=c,gc(v.component)||v.component.proxy}},unmount(){a&&(t(null,c._container),delete c._container.__vue_app__)},provide(u,d){return r.provides[u]=d,c}};return c}}function ed(t,e,i,n,s=!1){if(He(t)){t.forEach((v,_)=>ed(v,e&&(He(e)?e[_]:e),i,n,s));return}if(vl(n)&&!s)return;const r=n.shapeFlag&4?gc(n.component)||n.component.proxy:n.el,o=s?null:r,{i:a,r:c}=t,u=e&&e.r,d=a.refs===Mt?a.refs={}:a.refs,g=a.setupState;if(u!=null&&u!==c&&(Xt(u)?(d[u]=null,ut(g,u)&&(g[u]=null)):vi(u)&&(u.value=null)),Qe(c))vs(c,a,12,[o,d]);else{const v=Xt(c),_=vi(c);if(v||_){const y=()=>{if(t.f){const S=v?ut(g,c)?g[c]:d[c]:c.value;s?He(S)&&Fd(S,r):He(S)?S.includes(r)||S.push(r):v?(d[c]=[r],ut(g,c)&&(g[c]=d[c])):(c.value=[r],t.k&&(d[t.k]=c.value))}else v?(d[c]=o,ut(g,c)&&(g[c]=o)):_&&(c.value=o,t.k&&(d[t.k]=o))};o?(y.id=-1,xi(y,i)):y()}}}const xi=T0;function ew(t){return tw(t)}function tw(t,e){const i=Dy();i.__VUE__=!0;const{insert:n,remove:s,patchProp:r,createElement:o,createText:a,createComment:c,setText:u,setElementText:d,parentNode:g,nextSibling:v,setScopeId:_=cn,insertStaticContent:y}=t,S=(A,O,K,V=null,G=null,se=null,ye=!1,ce=null,ge=!!O.dynamicChildren)=>{if(A===O)return;A&&!Zs(A,O)&&(V=de(A),te(A,G,se,!0),A=null),O.patchFlag===-2&&(ge=!1,O.dynamicChildren=null);const{type:re,ref:ke,shapeFlag:_e}=O;switch(re){case hc:C(A,O,K,V);break;case un:x(A,O,K,V);break;case hu:A==null&&I(O,K,V,ye);break;case Tt:ee(A,O,K,V,G,se,ye,ce,ge);break;default:_e&1?Z(A,O,K,V,G,se,ye,ce,ge):_e&6?Te(A,O,K,V,G,se,ye,ce,ge):(_e&64||_e&128)&&re.process(A,O,K,V,G,se,ye,ce,ge,Me)}ke!=null&&G&&ed(ke,A&&A.ref,se,O||A,!O)},C=(A,O,K,V)=>{if(A==null)n(O.el=a(O.children),K,V);else{const G=O.el=A.el;O.children!==A.children&&u(G,O.children)}},x=(A,O,K,V)=>{A==null?n(O.el=c(O.children||""),K,V):O.el=A.el},I=(A,O,K,V)=>{[A.el,A.anchor]=y(A.children,O,K,V,A.el,A.anchor)},R=({el:A,anchor:O},K,V)=>{let G;for(;A&&A!==O;)G=v(A),n(A,K,V),A=G;n(O,K,V)},F=({el:A,anchor:O})=>{let K;for(;A&&A!==O;)K=v(A),s(A),A=K;s(O)},Z=(A,O,K,V,G,se,ye,ce,ge)=>{ye=ye||O.type==="svg",A==null?p(O,K,V,G,se,ye,ce,ge):ae(A,O,G,se,ye,ce,ge)},p=(A,O,K,V,G,se,ye,ce)=>{let ge,re;const{type:ke,props:_e,shapeFlag:we,transition:xe,dirs:Fe}=A;if(ge=A.el=o(A.type,se,_e&&_e.is,_e),we&8?d(ge,A.children):we&16&&Q(A.children,ge,null,V,G,se&&ke!=="foreignObject",ye,ce),Fe&&Fs(A,null,V,"created"),le(ge,A,A.scopeId,ye,V),_e){for(const qe in _e)qe!=="value"&&!hl(qe)&&r(ge,qe,null,_e[qe],se,A.children,V,G,pe);"value"in _e&&r(ge,"value",null,_e.value),(re=_e.onVnodeBeforeMount)&&pn(re,V,A)}Fe&&Fs(A,null,V,"beforeMount");
1const nt=(!G||G&&!G.pendingBranch)&&xe&&!xe.persisted;nt&&xe.beforeEnter(ge),n(ge,O,K),((re=_e&&_e.onVnodeMounted)||nt||Fe)&&xi(()=>{re&&pn(re,V,A),nt&&xe.enter(ge),Fe&&Fs(A,null,V,"mounted")},G)},le=(A,O,K,V,G)=>{if(K&&_(A,K),V)for(let se=0;se<V.length;se++)_(A,V[se]);if(G){let se=G.subTree;if(O===se){const ye=G.vnode;le(A,ye,ye.scopeId,ye.slotScopeIds,G.parent)}}},Q=(A,O,K,V,G,se,ye,ce,ge=0)=>{for(let re=ge;re<A.length;re++){const ke=A[re]=ce?cs(A[re]):_n(A[re]);S(null,ke,O,K,V,G,se,ye,ce)}},ae=(A,O,K,V,G,se,ye)=>{const ce=O.el=A.el;let{patchFlag:ge,dynamicChildren:re,dirs:ke}=O;ge|=A.patchFlag&16;const _e=A.props||Mt,we=O.props||Mt;let xe;K&&zs(K,!1),(xe=we.onVnodeBeforeUpdate)&&pn(xe,K,O,A),ke&&Fs(O,A,K,"beforeUpdate"),K&&zs(K,!0);const Fe=G&&O.type!=="foreignObject";if(re?ue(A.dynamicChildren,re,ce,K,V,Fe,se):ye||oe(A,O,ce,null,K,V,Fe,se,!1),ge>0){if(ge&16)Ce(ce,O,_e,we,K,V,G);else if(ge&2&&_e.class!==we.class&&r(ce,"class",null,we.class,G),ge&4&&r(ce,"style",_e.style,we.style,G),ge&8){const nt=O.dynamicProps;for(let qe=0;qe<nt.length;qe++){const mt=nt[qe],Qt=_e[mt],Ot=we[mt];(Ot!==Qt||mt==="value")&&r(ce,mt,Qt,Ot,G,A.children,K,V,pe)}}ge&1&&A.children!==O.children&&d(ce,O.children)}else!ye&&re==null&&Ce(ce,O,_e,we,K,V,G);((xe=we.onVnodeUpdated)||ke)&&xi(()=>{xe&&pn(xe,K,O,A),ke&&Fs(O,A,K,"updated")},V)},ue=(A,O,K,V,G,se,ye)=>{for(let ce=0;ce<O.length;ce++){const ge=A[ce],re=O[ce],ke=ge.el&&(ge.type===Tt||!Zs(ge,re)||ge.shapeFlag&70)?g(ge.el):K;S(ge,re,ke,null,V,G,se,ye,!0)}},Ce=(A,O,K,V,G,se,ye)=>
1{if(K!==V){if(K!==Mt)for(const ce in K)!hl(ce)&&!(ce in V)&&r(A,ce,K[ce],null,ye,O.children,G,se,pe);for(const ce in V){if(hl(ce))continue;const ge=V[ce],re=K[ce];ge!==re&&ce!=="value"&&r(A,ce,re,ge,ye,O.children,G,se,pe)}"value"in V&&r(A,"value",K.value,V.value)}},ee=(A,O,K,V,G,se,ye,ce,ge)=>{const re=O.el=A?A.el:a(""),ke=O.anchor=A?A.anchor:a("");let{patchFlag:_e,dynamicChildren:we,slotScopeIds:xe}=O;xe&&(ce=ce?ce.concat(xe):xe),A==null?(n(re,K,V),n(ke,K,V),Q(O.children,K,ke,G,se,ye,ce,ge)):_e>0&&_e&64&&we&&A.dynamicChildren?(ue(A.dynamicChildren,we,K,G,se,ye,ce),(O.key!=null||G&&O===G.subTree)&&wv(A,O,!0)):oe(A,O,K,ke,G,se,ye,ce,ge)},Te=(A,O,K,V,G,se,ye,ce,ge)=>{O.slotScopeIds=ce,A==null?O.shapeFlag&512?G.ctx.activate(O,K,V,ye,ge):$e(O,K,V,G,se,ye,ge):Ee(A,O,ge)},$e=(A,O,K,V,G,se,ye)=>{const ce=A.component=dw(A,V,G);if(uc(A)&&(ce.ctx.renderer=Me),fw(ce),ce.asyncDep){if(G&&G.registerDep(ce,be),!A.el){const ge=ce.subTree=Zt(un);x(null,ge,O,K)}return}be(ce,A,O,K,G,se,ye)},Ee=(A,O,K)=>{const V=O.component=A.component;if(S0(A,O,K))if(V.asyncDep&&!V.asyncResolved){N(V,O,K);return}else V.next=O,m0(V.update),V.update();else O.el=A.el,V.vnode=O},be=(A,O,K,V,G,se,ye)=>{const ce=()=>{if(A.isMounted){let{next:ke,bu:_e,u:we,parent:xe,vnode:Fe}=A,nt=ke,qe;zs(A,!1),ke?(ke.el=Fe.el,N(A,ke,ye)):ke=Fe,_e&&fl(_e),(qe=ke.props&&ke.props.onVnodeBeforeUpdate)&&pn(qe,xe,ke,Fe),zs(A,!0);const mt=cu(A),Qt=A.subTree;A.subTree=mt,S(Qt,mt,g(Qt.el),de(Qt),A,G,se),ke.el=mt.el,nt===null&&E0(A,mt.el),we&&xi(we,G),(qe=ke.props&&ke.props.onVnodeUpdated)&&xi(()=>pn(qe,xe,ke,Fe),G)}else{let ke;const{el:_e,props:we}=O,{bm:xe,m:Fe,parent:nt}=A,qe=vl(O);if(zs(A,!1),xe&&fl(xe),!qe&&(ke=we&&we.onVnodeBeforeMount)&&pn(ke,nt,O),zs(A,!0),_e&&Ge){const mt=()=>{A.subTree=cu(A),Ge(_e,A.subTree,A,G,null)};qe?O.type.__asyncLoader().then(()=>!A.isUnmounted&&mt()):mt()}else{const mt=A.subTree=cu(A);S(null,mt,K,V,A,G,se),O.el=mt.el}if(Fe&&xi(Fe,G),!qe&&(ke=we&&we.onVnodeMounted)){const mt=O;xi(()=>pn(ke,nt,mt),G)}(O.shapeFlag&256||nt&&vl(nt.vnode)&&nt.vnode.shapeFlag&256)&&A.a&&xi(A.a,G),A.isMounted=!0,O=K=V=null}},ge=A.effect=new Gd(ce,()=>Vd(re),A.scope),re=A.update=()=>ge.run();re.id=A.uid,zs(A,!0),re()},N=(A,O,K)=>{O.component=A;const V=A.vnode.props;A.vnode=O,A.next=null,V0(A,O.props,V,K),q0(A,O.children,K),uo(),qf(),ho()},oe=(A,O,K,V,G,se,ye,ce,ge=!1)=>{const re=A&&A.children,ke=A?A.shapeFlag:0,_e=O.children,{patchFlag:we,shapeFlag:xe}=O;if(we>0){if(we&128){Be(re,_e,K,V,G,se,ye,ce,ge);return}else if(we&256){Ie(re,_e,K,V,G,se,ye,ce,ge);return}}xe&8?(ke&16&&pe(re,G,se),_e!==re&&d(K,_e)):ke&16?xe&16?Be(re,_e,K,V,G,se,ye,ce,ge):pe(re,G,se,!0):(ke&8&&d(K,""),xe&16&&Q(_e,K,V,G,se,ye,ce,ge))},Ie=(A,O,K,V,G,se,ye,ce,ge)=>{A=A||jr,O=O||jr;const re=A.length,ke=O.length,_e=Math.min(re,ke);let we;for(we=0;we<_e;we++){const xe=O[we]=ge?cs(O[we]):_n(O[we]);S(A[we],xe,K,null,G,se,ye,ce,ge)}re>ke?pe(A,G,se,!0,!1,_e):Q(O,K,V,G,se,ye,ce,ge,_e)},Be=(A,O,K,V,G,se,ye,ce,ge)=>{let re=0;const ke=O.length;let _e=A.length-1,we=ke-1;for(;re<=_e&&re<=we;){const xe=A[re],Fe=O[re]=ge?cs(O[re]):_n(O[re]);if(Zs(xe,Fe))S(xe,Fe,K,null,G,se,ye,ce,ge);else break;re++}for(;re<=_e&&re<=we;){const xe=A[_e],Fe=O[we]=ge?cs(O[we]):_n(O[we]);if(Zs(xe,Fe))S(xe,Fe,K,null,G,se,ye,ce,ge);else break;_e--,we--}if(re>_e){if(re<=we){const xe=we+1,Fe=xe<ke?O[xe].el:V;for(;re<=we;)S(null,O[re]=ge?cs(O[re]):_n(O[re]),K,Fe,G,se,ye,ce,ge),re++}}else if(re>we)for(;re<=_e;)te(A[re],G,se,!0),re++;else{const xe=re,Fe=re,nt=new Map;for(re=Fe;re<=we;re++){const Jt=O[re]=ge?cs(O[re]):_n(O[re]);Jt.key!=null&&nt.set(Jt.key,re)}let qe,mt=0;const Qt=we-Fe+1;let Ot=!1,Di=0;const Li=new Array(Qt);for(re=0;re<Qt;re++)Li[re]=0;for(re=xe;re<=_e;re++){const Jt=A[re];if(mt>=Qt){te(Jt,G,se,!0);continue}let It;if(Jt.key!=null)It=nt.get(Jt.key);else for(qe=Fe;qe<=we;qe++)if(Li[qe-Fe]===0&&Zs(Jt,O[qe])){It=qe;break}It===void 0?te(Jt,G,se,!0):(Li[It-Fe]=re+1,It>=Di?Di=It:Ot=!0,S(Jt,O[It],K,null,G,se,ye,ce,ge),mt++)}const xs=Ot?iw(Li):jr;for(qe=xs.length-1,re=Qt-1;re>=0;re--){const Jt=Fe+re,It=O[Jt],Wt=Jt+1<ke?O[Jt+1].el:V;Li[re]===0?S(null,It,K,Wt,G,se,ye,ce,ge):Ot&&(qe<0||re!==xs[qe]?Ze(It,K,Wt,2):qe--)}}},Ze=(A,O,K,V,G=null)=>{const{el:se,type:ye,transition:ce,children:ge,shapeFlag:re}=A;
1if(re&6){Ze(A.component.subTree,O,K,V);return}if(re&128){A.suspense.move(O,K,V);return}if(re&64){ye.move(A,O,K,Me);return}if(ye===Tt){n(se,O,K);for(let _e=0;_e<ge.length;_e++)Ze(ge[_e],O,K,V);n(A.anchor,O,K);return}if(ye===hu){R(A,O,K);return}if(V!==2&&re&1&&ce)if(V===0)ce.beforeEnter(se),n(se,O,K),xi(()=>ce.enter(se),G);else{const{leave:_e,delayLeave:we,afterLeave:xe}=ce,Fe=()=>n(se,O,K),nt=()=>{_e(se,()=>{Fe(),xe&&xe()})};we?we(se,Fe,nt):nt()}else n(se,O,K)},te=(A,O,K,V=!1,G=!1)=>{const{type:se,props:ye,ref:ce,children:ge,dynamicChildren:re,shapeFlag:ke,patchFlag:_e,dirs:we}=A;if(ce!=null&&ed(ce,null,K,A,!0),ke&256){O.ctx.deactivate(A);return}const xe=ke&1&&we,Fe=!vl(A);let nt;if(Fe&&(nt=ye&&ye.onVnodeBeforeUnmount)&&pn(nt,O,A),ke&6)W(A.component,K,V);else{if(ke&128){A.suspense.unmount(K,V);return}xe&&Fs(A,null,O,"beforeUnmount"),ke&64?A.type.remove(A,O,K,G,Me,V):re&&(se!==Tt||_e>0&&_e&64)?pe(re,O,K,!1,!0):(se===Tt&&_e&384||!G&&ke&16)&&pe(ge,O,K),V&&pt(A)}(Fe&&(nt=ye&&ye.onVnodeUnmounted)||xe)&&xi(()=>{nt&&pn(nt,O,A),xe&&Fs(A,null,O,"unmounted")},K)},pt=A=>{const{type:O,el:K,anchor:V,transition:G}=A;if(O===Tt){Ye(K,V);return}if(O===hu){F(A);return}const se=()=>{s(K),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(A.shapeFlag&1&&G&&!G.persisted){const{leave:ye,delayLeave:ce}=G,ge=()=>ye(K,se);ce?ce(A.el,se,ge):ge()}else se()},Ye=(A,O)=>{let K;for(;A!==O;)K=v(A),s(A),A=K;s(O)},W=(A,O,K)=>{const{bum:V,scope:G,update:se,subTree:ye,um:ce}=A;V&&fl(V),G.stop(),se&&(se.active=!1,te(ye,A,O,K)),ce&&xi(ce,O),xi(()=>{A.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},pe=(A,O,K,V=!1,G=!1,se=0)=>{for(let ye=se;ye<A.length;ye++)te(A[ye],O,K,V,G)},de=A=>A.shapeFlag&6?de(A.component.subTree):A.shapeFlag&128?A.suspense.next():v(A.anchor||A.el),ve=(A,O,K)=>{A==null?O._vnode&&te(O._vnode,null,null,!0):S(O._vnode||null,A,O,null,null,null,K),qf(),tv(),O._vnode=A},Me={p:S,um:te,m:Ze,r:pt,mt:$e,mc:Q,pc:oe,pbc:ue,n:de,o:t};let st,Ge;return e&&([st,Ge]=e(Me)),{render:ve,hydrate:st,createApp:J0(ve,st)}}function zs({effect:t,update:e},i){t.allowRecurse=e.allowRecurse=i}function wv(t,e,i=!1){const n=t.children,s=e.children;if(He(n)&&He(s))for(let r=0;r<n.length;r++){const o=n[r];let a=s[r];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[r]=cs(s[r]),a.el=o.el),i||wv(o,a)),a.type===hc&&(a.el=o.el)}}function iw(t){const e=t.slice(),i=[0];let n,s,r,o,a;const c=t.length;for(n=0;n<c;n++){const u=t[n];if(u!==0){if(s=i[i.length-1],t[s]<u){e[n]=s,i.push(n);continue}for(r=0,o=i.length-1;r<o;)a=r+o>>1,t[i[a]]<u?r=a+1:o=a;u<t[i[r]]&&(r>0&&(e[n]=i[r-1]),i[r]=n)}}for(r=i.length,o=i[r-1];r-- >0;)i[r]=o,o=e[o];return i}const nw=t=>t.__isTeleport,Tt=Symbol(void 0),hc=Symbol(void 0),un=Symbol(void 0),hu=Symbol(void 0),jo=[];let an=null;function he(t=!1){jo.push(an=t?null:[])}function sw(){jo.pop(),an=jo[jo.length-1]||null}let Jo=1;function ag(t){Jo+=t}function Sv(t){return t.dynamicChildren=Jo>0?an||jr:null,sw(),Jo>0&&an&&an.push(t),t}function fe(t,e,i,n,s,r){return Sv(k(t,e,i,n,s,r,!0))}function rw(t,e,i,n,s){return Sv(Zt(t,e,i,n,s,!0))}function td(t){return t?t.__v_isVNode===!0:!1}function Zs(t,e){return t.type===e.type&&t.key===e.key}const fc="__vInternal",Ev=({key:t})=>t??null,_l=({ref:t,ref_key:e,ref_for:i})=>t!=null?Xt(t)||vi(t)||Qe(t)?{i:Ni,r:t,k:e,f:!!i}:t:null;function k(t,e=null,i=null,n=0,s=null,r=t===Tt?0:1,o=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Ev(e),ref:e&&_l(e),scopeId:ac,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Ni};return a?(qd(c,i),r&128&&t.normalize(c)):i&&(c.shapeFlag|=Xt(i)?8:16),Jo>0&&!o&&an&&(c.patchFlag>0||r&6)&&c.patchFlag!==32&&an.push(c),c}const Zt=ow;function ow(t,e=null,i=null,n=0,s=null,r=!1){if((!t||t===N0)&&(t=un),td(t)){const a=ys(t,e,!0);return i&&qd(a,i),Jo>0&&!r&&an&&(a.shapeFlag&6?an[an.indexOf(t)]=a:an.push(a)),a.patchFlag|=-2,a}if(_w(t)&&(t=t.__vccOpts),e){e=aw(e);let{class:a,style:c}=e;
1a&&!Xt(a)&&(e.class=at(a)),Lt(c)&&(Zm(c)&&!He(c)&&(c=di({},c)),e.style=Od(c))}const o=Xt(t)?1:k0(t)?128:nw(t)?64:Lt(t)?4:Qe(t)?2:0;return k(t,e,i,n,s,o,r,!0)}function aw(t){return t?Zm(t)||fc in t?di({},t):t:null}function ys(t,e,i=!1){const{props:n,ref:s,patchFlag:r,children:o}=t,a=e?lw(n||{},e):n;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:a,key:a&&Ev(a),ref:e&&e.ref?i&&s?He(s)?s.concat(_l(e)):[s,_l(e)]:_l(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Tt?r===-1?16:r|16:r,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ys(t.ssContent),ssFallback:t.ssFallback&&ys(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Yt(t=" ",e=0){return Zt(hc,null,t,e)}function ct(t="",e=!1){return e?(he(),rw(un,null,t)):Zt(un,null,t)}function _n(t){return t==null||typeof t=="boolean"?Zt(un):He(t)?Zt(Tt,null,t.slice()):typeof t=="object"?cs(t):Zt(hc,null,String(t))}function cs(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ys(t)}function qd(t,e){let i=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(He(e))i=16;else if(typeof e=="object")if(n&65){const s=e.default;s&&(s._c&&(s._d=!1),qd(t,s()),s._c&&(s._d=!0));return}else{i=32;const s=e._;!s&&!(fc in e)?e._ctx=Ni:s===3&&Ni&&(Ni.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Qe(e)?(e={default:e,_ctx:Ni},i=32):(e=String(e),n&64?(i=16,e=[Yt(e)]):i=8);t.children=e,t.shapeFlag|=i}function lw(...t){const e={};for(let i=0;i<t.length;i++){const n=t[i];for(const s in n)if(s==="class")e.class!==n.class&&(e.class=at([e.class,n.class]));else if(s==="style")e.style=Od([e.style,n.style]);else if(ec(s)){const r=e[s],o=n[s];o&&r!==o&&!(He(r)&&r.includes(o))&&(e[s]=r?[].concat(r,o):o)}else s!==""&&(e[s]=n[s])}return e}function pn(t,e,i,n=null){Xi(t,e,7,[i,n])}const cw=yv();let uw=0;function dw(t,e,i){const n=t.type,s=(e?e.appContext:t.appContext)||cw,r={uid:uw++,vnode:t,type:n,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Om(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mv(n,s),emitsOptions:nv(n,s),emit:null,emitted:null,propsDefaults:Mt,inheritAttrs:n.inheritAttrs,ctx:Mt,data:Mt,props:Mt,attrs:Mt,slots:Mt,refs:Mt,setupState:Mt,setupContext:null,suspense:i,suspenseId:i?i.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 r.ctx={_:r},r.root=e?e.root:r,r.emit=b0.bind(null,r),t.ce&&t.ce(r),r}let Ut=null;const hw=()=>Ut||Ni,Qr=t=>{Ut=t,t.scope.on()},ir=()=>{Ut&&Ut.scope.off(),Ut=null};function kv(t){return t.vnode.shapeFlag&4}let ea=!1;function fw(t,e=!1){ea=e;const{props:i,children:n}=t.vnode,s=kv(t);U0(t,i,s,e),X0(t,n);const r=s?gw(t,e):void 0;return ea=!1,r}function gw(t,e){const i=t.type;t.accessCache=Object.create(null),t.proxy=$d(new Proxy(t.ctx,j0));const{setup:n}=i;if(n){const s=t.setupContext=n.length>1?mw(t):null;Qr(t),uo();const r=vs(n,t,0,[t.props,s]);if(ho(),ir(),Mm(r)){if(r.then(ir,ir),e)return r.then(o=>{lg(t,o,e)}).catch(o=>{rc(o,t,0)});t.asyncDep=r}else lg(t,r,e)}else Tv(t,e)}function lg(t,e,i){Qe(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Lt(e)&&(t.setupState=qm(e)),Tv(t,i)}let cg;function Tv(t,e,i){const n=t.type;if(!t.render){if(!e&&cg&&!n.render){const s=n.template||Yd(t).template;if(s){const{isCustomElement:r,compilerOptions:o}=t.appContext.config,{delimiters:a,compilerOptions:c}=n,u=di(di({isCustomElement:r,delimiters:a},o),c);n.render=cg(s,u)}}t.render=n.render||cn}Qr(t),uo(),K0(t),ho(),ir()}function pw(t){return new Proxy(t.attrs,{get(e,i){return Mi(t,"get","$attrs"),e[i]}})}function mw(t){const e=n=>{t.exposed=n||{}};let i;
1return{get attrs(){return i||(i=pw(t))},slots:t.slots,emit:t.emit,expose:e}}function gc(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(qm($d(t.exposed)),{get(e,i){if(i in e)return e[i];if(i in Go)return Go[i](t)},has(e,i){return i in e||i in Go}}))}function vw(t,e=!0){return Qe(t)?t.displayName||t.name:t.name||e&&t.__name}function _w(t){return Qe(t)&&"__vccOpts"in t}const Vi=(t,e)=>f0(t,e,ea);function Qd(t,e,i){const n=arguments.length;return n===2?Lt(e)&&!He(e)?td(e)?Zt(t,null,[e]):Zt(t,e):Zt(t,null,e):(n>3?i=Array.prototype.slice.call(arguments,2):n===3&&td(i)&&(i=[i]),Zt(t,e,i))}const bw=Symbol(""),yw=()=>kn(bw),ww="3.2.47",Sw="http://www.w3.org/2000/svg",Us=typeof document<"u"?document:null,ug=Us&&Us.createElement("template"),Ew={insert:(t,e,i)=>{e.insertBefore(t,i||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,i,n)=>{const s=e?Us.createElementNS(Sw,t):Us.createElement(t,i?{is:i}:void 0);return t==="select"&&n&&n.multiple!=null&&s.setAttribute("multiple",n.multiple),s},createText:t=>Us.createTextNode(t),createComment:t=>Us.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Us.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,i,n,s,r){const o=i?i.previousSibling:e.lastChild;if(s&&(s===r||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),i),!(s===r||!(s=s.nextSibling)););else{ug.innerHTML=n?`<svg>${t}</svg>`:t;const a=ug.content;if(n){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}e.insertBefore(a,i)}return[o?o.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}};function kw(t,e,i){const n=t._vtc;n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):i?t.setAttribute("class",e):t.className=e}function Tw(t,e,i){const n=t.style,s=Xt(i);if(i&&!s){if(e&&!Xt(e))for(const r in e)i[r]==null&&id(n,r,"");for(const r in i)id(n,r,i[r])}else{const r=n.display;s?e!==i&&(n.cssText=i):e&&t.removeAttribute("style"),"_vod"in t&&(n.display=r)}}const dg=/\s*!important$/;function id(t,e,i){if(He(i))i.forEach(n=>id(t,e,n));else if(i==null&&(i=""),e.startsWith("--"))t.setProperty(e,i);else{const n=Iw(t,e);dg.test(i)?t.setProperty(dr(n),i.replace(dg,""),"important"):t[n]=i}}const hg=["Webkit","Moz","ms"],fu={};function Iw(t,e){const i=fu[e];if(i)return i;let n=In(e);if(n!=="filter"&&n in t)return fu[e]=n;n=nc(n);for(let s=0;s<hg.length;s++){const r=hg[s]+n;if(r in t)return fu[e]=r}return e}const fg="http://www.w3.org/1999/xlink";function xw(t,e,i,n,s){if(n&&e.startsWith("xlink:"))i==null?t.removeAttributeNS(fg,e.slice(6,e.length)):t.setAttributeNS(fg,e,i);else{const r=ky(e);i==null||r&&!Cm(i)?t.removeAttribute(e):t.setAttribute(e,r?"":i)}}function Cw(t,e,i,n,s,r,o){if(e==="innerHTML"||e==="textContent"){n&&o(n,s,r),t[e]=i??"";return}if(e==="value"&&t.tagName!=="PROGRESS"&&!t.tagName.includes("-")){t._value=i;const c=i??"";(t.value!==c||t.tagName==="OPTION")&&(t.value=c),i==null&&t.removeAttribute(e);return}let a=!1;if(i===""||i==null){const c=typeof t[e];c==="boolean"?i=Cm(i):i==null&&c==="string"?(i="",a=!0):c==="number"&&(i=0,a=!0)}try{t[e]=i}catch{}a&&t.removeAttribute(e)}function Rr(t,e,i,n){t.addEventListener(e,i,n)}function Rw(t,e,i,n){t.removeEventListener(e,i,n)}function Aw(t,e,i,n,s=null){const r=t._vei||(t._vei={}),o=r[e];if(n&&o)o.value=n;else{const[a,c]=Mw(e);if(n){const u=r[e]=Ow(n,s);Rr(t,a,u,c)}else o&&(Rw(t,a,o,c),r[e]=void 0)}}const gg=/(?:Once|Passive|Capture)$/;function Mw(t){let e;if(gg.test(t)){e={};let n;for(;n=t.match(gg);)t=t.slice(0,t.length-n[0].length),e[n[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):dr(t.slice(2)),e]}let gu=0;const Dw=Promise.resolve(),Lw=()=>gu||(Dw.then(()=>gu=0),gu=Date.now());function Ow(t,e){const i=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=i.attached)return;Xi(Pw(n,i.value),e,5,[n])};return i.value=t,i.attached=Lw(),i}function Pw(t,e){if(He(e)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},e.map(n=>s=>!s._stopped&&n&&n(s))}else return e}const pg=/^on[a-z]/,Fw=(t,e,i,n,s=!1,r,o,a,c)=>{e==="class"?kw(t,n,s):e==="style"?Tw(t,i,n):ec(e)?Pd(e)||Aw(t,e,i,n,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):zw(t,e,n,s))?Cw(t,e,n,r,o,a,c):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),xw(t,e,n,s))};function zw(t,e,i,n){return n?!!(e==="innerHTML"||e==="textContent"||e in t&&pg.test(e)&&Qe(i)):e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA"||pg.test(e)&&Xt(i)?!1:e in t}const Jn="transition",xo="animation",Ko=(t,{slots:e})=>Qd(ov,Bw(t),e);Ko.displayName="Transition";const Iv={name:String,type:String,css:{type:Boolean,default:!0}
1,duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ko.props=di({},ov.props,Iv);const Bs=(t,e=[])=>{He(t)?t.forEach(i=>i(...e)):t&&t(...e)},mg=t=>t?He(t)?t.some(e=>e.length>1):t.length>1:!1;function Bw(t){const e={};for(const ee in t)ee in Iv||(e[ee]=t[ee]);if(t.css===!1)return e;const{name:i="v",type:n,duration:s,enterFromClass:r=`${i}-enter-from`,enterActiveClass:o=`${i}-enter-active`,enterToClass:a=`${i}-enter-to`,appearFromClass:c=r,appearActiveClass:u=o,appearToClass:d=a,leaveFromClass:g=`${i}-leave-from`,leaveActiveClass:v=`${i}-leave-active`,leaveToClass:_=`${i}-leave-to`}=t,y=Nw(s),S=y&&y[0],C=y&&y[1],{onBeforeEnter:x,onEnter:I,onEnterCancelled:R,onLeave:F,onLeaveCancelled:Z,onBeforeAppear:p=x,onAppear:le=I,onAppearCancelled:Q=R}=e,ae=(ee,Te,$e)=>{Ns(ee,Te?d:a),Ns(ee,Te?u:o),$e&&$e()},ue=(ee,Te)=>{ee._isLeaving=!1,Ns(ee,g),Ns(ee,_),Ns(ee,v),Te&&Te()},Ce=ee=>(Te,$e)=>{const Ee=ee?le:I,be=()=>ae(Te,ee,$e);Bs(Ee,[Te,be]),vg(()=>{Ns(Te,ee?c:r),es(Te,ee?d:a),mg(Ee)||_g(Te,n,S,be)})};return di(e,{onBeforeEnter(ee){Bs(x,[ee]),es(ee,r),es(ee,o)},onBeforeAppear(ee){Bs(p,[ee]),es(ee,c),es(ee,u)},onEnter:Ce(!1),onAppear:Ce(!0),onLeave(ee,Te){ee._isLeaving=!0;const $e=()=>ue(ee,Te);es(ee,g),Kw(),es(ee,v),vg(()=>{ee._isLeaving&&(Ns(ee,g),es(ee,_),mg(F)||_g(ee,n,C,$e))}),Bs(F,[ee,$e])},onEnterCancelled(ee){ae(ee,!1),Bs(R,[ee])},onAppearCancelled(ee){ae(ee,!0),Bs(Q,[ee])},onLeaveCancelled(ee){ue(ee),Bs(Z,[ee])}})}function Nw(t){if(t==null)return null;if(Lt(t))return[pu(t.enter),pu(t.leave)];{const e=pu(t);return[e,e]}}function pu(t){return My(t)}function es(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.add(i)),(t._vtc||(t._vtc=new Set)).add(e)}function Ns(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.remove(n));const{_vtc:i}=t;i&&(i.delete(e),i.size||(t._vtc=void 0))}function vg(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Gw=0;function _g(t,e,i,n){const s=t._endId=++Gw,r=()=>{s===t._endId&&n()};if(i)return setTimeout(r,i);const{type:o,timeout:a,propCount:c}=jw(t,e);if(!o)return n();const u=o+"end";let d=0;const g=()=>{t.removeEventListener(u,v),r()},v=_=>{_.target===t&&++d>=c&&g()};setTimeout(()=>{d<c&&g()},a+1),t.addEventListener(u,v)}function jw(t,e){const i=window.getComputedStyle(t),n=y=>(i[y]||"").split(", "),s=n(`${Jn}Delay`),r=n(`${Jn}Duration`),o=bg(s,r),a=n(`${xo}Delay`),c=n(`${xo}Duration`),u=bg(a,c);let d=null,g=0,v=0;e===Jn?o>0&&(d=Jn,g=o,v=r.length):e===xo?u>0&&(d=xo,g=u,v=c.length):(g=Math.max(o,u),d=g>0?o>u?Jn:xo:null,v=d?d===Jn?r.length:c.length:0);const _=d===Jn&&/\b(transform|all)(,|$)/.test(n(`${Jn}Property`).toString());return{type:d,timeout:g,propCount:v,hasTransform:_}}function bg(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((i,n)=>yg(i)+yg(t[n])))}function yg(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function Kw(){return document.body.offsetHeight}const wg=t=>{const e=t.props["onUpdate:modelValue"]||!1;return He(e)?i=>fl(e,i):e};function Hw(t){t.target.composing=!0}function Sg(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Eg={created(t,{modifiers:{lazy:e,trim:i,number:n}},s){t._assign=wg(s);const r=n||s.props&&s.props.type==="number";Rr(t,e?"change":"input",o=>{if(o.target.composing)return;let a=t.value;i&&(a=a.trim()),r&&(a=Ku(a)),t._assign(a)}),i&&Rr(t,"change",()=>{t.value=t.value.trim()}),e||(Rr(t,"compositionstart",Hw),Rr(t,"compositionend",Sg),Rr(t,"change",Sg))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:i,trim:n,number:s}},r){if(t._assign=wg(r),t.composing||document.activeElement===t&&t.type!=="range"&&(i||n&&t.value.trim()===e||(s||t.type==="number")&&Ku(t.value)===e))return;const o=e??"";t.value!==o&&(t.value=o)}},Ww={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},kg=(t,e)=>i=>{if(!("key"in i))return;const n=dr(i.key);if(e.some(s=>s===n||Ww[s]===n))return t(i)},Ft={beforeMount(t,{value:e},{transition:i}){t._vod=t.style.display==="none"?"":t.style.display,i&&e?i.beforeEnter(t):Co(t,e)},mounted(t,{value:e},{transition:i}){i&&e&&i.enter(t)},updated(t,{value:e,oldValue:i},{transition:n}){!e!=!i&&(n?e?(n.beforeEnter(t),Co(t,!0),n.enter(t)):n.leave(t,()=>{Co(t,!1)}):Co(t,e))},beforeUnmount(t,{value:e}){Co(t,e)}};function Co(t,e){t.style.display=e?t._vod:"none"}const $w=di({patchProp:Fw},Ew);let Tg;function Zw(){return Tg||(Tg=ew($w))}const Uw=(...t)=>{const e=Zw().createApp(...t),{mount:i}=e;return e.mount=n=>{const s=Vw(n);if(!s)return;const r=e._component;!Qe(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const o=i(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},e};function Vw(t){return Xt(t)?document.querySelector(t):t}var Yw=!1;/*!
2  * pinia v2.0.32
3  * (c) 2023 Eduardo San Martin Morote
4  * @license MIT
5  */const Xw=Symbol();var Ig;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Ig||(Ig={}));function qw(){const t=Ly(!0),e=t.run(()=>Ym({}));let i=[],n=[];const s=$d({install(r){s._a=r,r.provide(Xw,s),r.config.globalProperties.$pinia=s,n.forEac
5h(o=>i.push(o)),n=[]},use(r){return!this._a&&!Yw?n.push(r):i.push(r),this},_p:i,_a:null,_e:t,_s:new Map,state:e});return s}function xv(t,e){return function(){return t.apply(e,arguments)}}const{toString:Cv}=Object.prototype,{getPrototypeOf:Jd}=Object,eh=(t=>e=>{const i=Cv.call(e);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Un=t=>(t=t.toLowerCase(),e=>eh(e)===t),pc=t=>e=>typeof e===t,{isArray:fo}=Array,ta=pc("undefined");function Qw(t){return t!==null&&!ta(t)&&t.constructor!==null&&!ta(t.constructor)&&ws(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Rv=Un("ArrayBuffer");function Jw(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Rv(t.buffer),e}const eS=pc("string"),ws=pc("function"),Av=pc("number"),th=t=>t!==null&&typeof t=="object",tS=t=>t===!0||t===!1,bl=t=>{if(eh(t)!=="object")return!1;const e=Jd(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},iS=Un("Date"),nS=Un("File"),sS=Un("Blob"),rS=Un("FileList"),oS=t=>th(t)&&ws(t.pipe),aS=t=>{const e="[object FormData]";return t&&(typeof FormData=="function"&&t instanceof FormData||Cv.call(t)===e||ws(t.toString)&&t.toString()===e)},lS=Un("URLSearchParams"),cS=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function _a(t,e,{allOwnKeys:i=!1}={}){if(t===null||typeof t>"u")return;let n,s;if(typeof t!="object"&&(t=[t]),fo(t))for(n=0,s=t.length;n<s;n++)e.call(null,t[n],n,t);else{const r=i?Object.getOwnPropertyNames(t):Object.keys(t),o=r.length;let a;for(n=0;n<o;n++)a=r[n],e.call(null,t[a],a,t)}}function Mv(t,e){e=e.toLowerCase();const i=Object.keys(t);let n=i.length,s;for(;n-- >0;)if(s=i[n],e===s.toLowerCase())return s;return null}const Dv=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Lv=t=>!ta(t)&&t!==Dv;function nd(){const{caseless:t}=Lv(this)&&this||{},e={},i=(n,s)=>{const r=t&&Mv(e,s)||s;bl(e[r])&&bl(n)?e[r]=nd(e[r],n):bl(n)?e[r]=nd({},n):fo(n)?e[r]=n.slice():e[r]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&_a(arguments[n],i);return e}const uS=(t,e,i,{allOwnKeys:n}={})=>(_a(e,(s,r)=>{i&&ws(s)?t[r]=xv(s,i):t[r]=s},{allOwnKeys:n}),t),dS=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),hS=(t,e,i,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),i&&Object.assign(t.prototype,i)},fS=(t,e,i,n)=>{let s,r,o;const a={};if(e=e||{},t==null)return e;do{for(s=Object.getOwnPropertyNames(t),r=s.length;r-- >0;)o=s[r],(!n||n(o,t,e))&&!a[o]&&(e[o]=t[o],a[o]=!0);t=i!==!1&&Jd(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e}
5,gS=(t,e,i)=>{t=String(t),(i===void 0||i>t.length)&&(i=t.length),i-=e.length;const n=t.indexOf(e,i);return n!==-1&&n===i},pS=t=>{if(!t)return null;if(fo(t))return t;let e=t.length;if(!Av(e))return null;const i=new Array(e);for(;e-- >0;)i[e]=t[e];return i},mS=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Jd(Uint8Array)),vS=(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let s;for(;(s=n.next())&&!s.done;){const r=s.value;e.call(t,r[0],r[1])}},_S=(t,e)=>{let i;const n=[];for(;(i=t.exec(e))!==null;)n.push(i);return n},bS=Un("HTMLFormElement"),yS=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,s){return n.toUpperCase()+s}),xg=(({hasOwnProperty:t})=>(e,i)=>t.call(e,i))(Object.prototype),wS=Un("RegExp"),Ov=(t,e)=>{const i=Object.getOwnPropertyDescriptors(t),n={};_a(i,(s,r)=>{e(s,r,t)!==!1&&(n[r]=s)}),Object.defineProperties(t,n)},SS=t=>{Ov(t,(e,i)=>{if(ws(t)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=t[i];if(ws(n)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},ES=(t,e)=>{const i={},n=s=>{s.forEach(r=>{i[r]=!0})};return fo(t)?n(t):n(String(t).split(e)),i},kS=()=>{},TS=(t,e)=>(t=+t,Number.isFinite(t)?t:e),mu="abcdefghijklmnopqrstuvwxyz",Cg="0123456789",Pv={DIGIT:Cg,ALPHA:mu,ALPHA_DIGIT:mu+mu.toUpperCase()+Cg},IS=(t=16,e=Pv.ALPHA_DIGIT)=>{let i="";const{length:n}=e;for(;t--;)i+=e[Math.random()*n|0];return i};function xS(t){return!!(t&&ws(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const CS=t=>{const e=new Array(10),i=(n,s)=>{if(th(n)){if(e.indexOf(n)>=0)return;if(!("toJSON"in n)){e[s]=n;const r=fo(n)?[]:{};return _a(n,(o,a)=>{const c=i(o,s+1);!ta(c)&&(r[a]=c)}),e[s]=void 0,r}}return n};return i(t,0)},q={isArray:fo,isArrayBuffer:Rv,isBuffer:Qw,isFormData:aS,isArrayBufferView:Jw,isString:eS,isNumber:Av,isBoolean:tS,isObject:th,isPlainObject:bl,isUndefined:ta,isDate:iS,isFile:nS,isBlob:sS,isRegExp:wS,isFunction:ws,isStream:oS,isURLSearchParams:lS,isTypedArray:mS,isFileList:rS,forEach:_a,merge:nd,extend:uS,trim:cS,stripBOM:dS,inherits:hS,toFlatObject:fS,kindOf:eh,kindOfTest:Un,endsWith:gS,toArray:pS,forEachEntry:vS,matchAll:_S,isHTMLForm:bS,hasOwnProperty:xg,hasOwnProp:xg,reduceDescriptors:Ov,freezeMethods:SS,toObjectSet:ES,toCamelCase:yS,noop:kS,toFiniteNumber:TS,findKey:Mv,global:Dv,isContextDefined:Lv,ALPHABET:Pv,generateString:IS,isSpecCompliantForm:xS,toJSONObject:CS};function dt(t,e,i,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),n&&(this.request=n),s&&(this.response=s)}q.inherits(dt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Fv=dt.prototype,zv={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{zv[t]={value:t}});Object.defineProperties(dt,zv);Object.defineProperty(Fv,"isAxiosError",{value:!0});dt.from=(t,e,i,n,s,r)=>{const o=Object.create(Fv);return q.toFlatObject(t,o,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),dt.call(o,t.message,e,i,n,s),o.cause=t,o.name=t.name,r&&Object.assign(o,r),o};const RS=null;function sd(t){return q.isPlainObject(t)||q.isArray(t)}function Bv(t){return q.endsWith(t,"[]")?t.slice(0,-2):t}function Rg(t,e,i){return t?t.concat(e).map(function(s,r){return s=Bv(s),!i&&r?"["+s+"]":s}).join(i?".":""):e}function AS(t){return q.isArray(t)&&!t.some(sd)}const MS=q.toFlatObject(q,{},null,function(e){return/^is[A-Z]/.test(e)});function mc(t,e,i){if(!q.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,i=q.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,C){return!q.isUndefined(C[S])});const n=i.metaTokens,s=i.visitor||d,r=i.dots,o=i.indexes,c=(i.Blob||typeof Blob<"u"&&Blob)&&q.isSpecCompliantForm(e);if(!q.isFunction(s))throw new TypeError("visitor must be a function");function u(y){if(y===null)return"";if(q.isDate(y))return y.toISOString();if(!c&&q.isBlob(y))throw new dt("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(y)||q.isTypedArray(y)?c&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function d(y,S,C){let x=y;
5if(y&&!C&&typeof y=="object"){if(q.endsWith(S,"{}"))S=n?S:S.slice(0,-2),y=JSON.stringify(y);else if(q.isArray(y)&&AS(y)||(q.isFileList(y)||q.endsWith(S,"[]"))&&(x=q.toArray(y)))return S=Bv(S),x.forEach(function(R,F){!(q.isUndefined(R)||R===null)&&e.append(o===!0?Rg([S],F,r):o===null?S:S+"[]",u(R))}),!1}return sd(y)?!0:(e.append(Rg(C,S,r),u(y)),!1)}const g=[],v=Object.assign(MS,{defaultVisitor:d,convertValue:u,isVisitable:sd});function _(y,S){if(!q.isUndefined(y)){if(g.indexOf(y)!==-1)throw Error("Circular reference detected in "+S.join("."));g.push(y),q.forEach(y,function(x,I){(!(q.isUndefined(x)||x===null)&&s.call(e,x,q.isString(I)?I.trim():I,S,v))===!0&&_(x,S?S.concat(I):[I])}),g.pop()}}if(!q.isObject(t))throw new TypeError("data must be an object");return _(t),e}function Ag(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(n){return e[n]})}function ih(t,e){this._pairs=[],t&&mc(t,this,e)}const Nv=ih.prototype;Nv.append=function(e,i){this._pairs.push([e,i])};Nv.toString=function(e){const i=e?function(n){return e.call(this,n,Ag)}:Ag;return this._pairs.map(function(s){return i(s[0])+"="+i(s[1])},"").join("&")};function DS(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Gv(t,e,i){if(!e)return t;const n=i&&i.encode||DS,s=i&&i.serialize;let r;if(s?r=s(e,i):r=q.isURLSearchParams(e)?e.toString():new ih(e,i).toString(n),r){const o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+r}return t}class LS{constructor(){this.handlers=[]}use(e,i,n){return this.handlers.push({fulfilled:e,rejected:i,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,function(n){n!==null&&e(n)})}}const Mg=LS,jv={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},OS=typeof URLSearchParams<"u"?URLSearchParams:ih,PS=typeof FormData<"u"?FormData:null,FS=typeof Blob<"u"?Blob:null,zS=(()=>{let t;return typeof navigator<"u"&&((t=navigator.product)==="ReactNative"||t==="NativeScript"||t==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),BS=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),wn={isBrowser:!0,classes:{URLSearchParams:OS,FormData:PS,Blob:FS},isStandardBrowserEnv:zS,isStandardBrowserWebWorkerEnv:BS,protocols:["http","https","file","blob","url","data"]};function NS(t,e){return mc(t,new wn.classes.URLSearchParams,Object.assign({visitor:function(i,n,s,r){return wn.isNode&&q.isBuffer(i)?(this.append(n,i.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}function GS(t){return q.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function jS(t){const e={},i=Object.keys(t);let n;const s=i.length;let r;for(n=0;n<s;n++)r=i[n],e[r]=t[r];return e}function Kv(t){function e(i,n,s,r){let o=i[r++];const a=Number.isFinite(+o),c=r>=i.length;return o=!o&&q.isArray(s)?s.length:o,c?(q.hasOwnProp(s,o)?s[o]=[s[o],n]:s[o]=n,!a):((!s[o]||!q.isObject(s[o]))&&(s[o]=[]),e(i,n,s[o],r)&&q.isArray(s[o])&&(s[o]=jS(s[o])),!a)}if(q.isFormData(t)&&q.isFunction(t.entries)){const i={};return q.forEachEntry(t,(n,s)=>{e(GS(n),s,i,0)}),i}return null}const KS={"Content-Type":void 0};function HS(t,e,i){if(q.isString(t))try{return(e||JSON.parse)(t),q.trim(t)}catch(n){if(n.name!=="SyntaxError")throw n}return(i||JSON.stringify)(t)}const vc={transitional:jv,adapter:["xhr","http"],transformRequest:[function(e,i){const n=i.getContentType()||"",s=n.indexOf("application/json")>-1,r=q.isObject(e);if(r&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return s&&s?JSON.stringify(Kv(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(r){if(n.indexOf("application/x-www-form-urlencoded")>
5-1)return NS(e,this.formSerializer).toString();if((a=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return mc(a?{"files[]":e}:e,c&&new c,this.formSerializer)}}return r||s?(i.setContentType("application/json",!1),HS(e)):e}],transformResponse:[function(e){const i=this.transitional||vc.transitional,n=i&&i.forcedJSONParsing,s=this.responseType==="json";if(e&&q.isString(e)&&(n&&!this.responseType||s)){const o=!(i&&i.silentJSONParsing)&&s;try{return JSON.parse(e)}catch(a){if(o)throw a.name==="SyntaxError"?dt.from(a,dt.ERR_BAD_RESPONSE,this,null,this.response):a}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:wn.classes.FormData,Blob:wn.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};q.forEach(["delete","get","head"],function(e){vc.headers[e]={}});q.forEach(["post","put","patch"],function(e){vc.headers[e]=q.merge(KS)});const nh=vc,WS=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),$S=t=>{const e={};let i,n,s;return t&&t.split(`
6`).forEach(function(o){s=o.indexOf(":"),i=o.substring(0,s).trim().toLowerCase(),n=o.substring(s+1).trim(),!(!i||e[i]&&WS[i])&&(i==="set-cookie"?e[i]?e[i].push(n):e[i]=[n]:e[i]=e[i]?e[i]+", "+n:n)}),e},Dg=Symbol("internals");function Ro(t){return t&&String(t).trim().toLowerCase()}function yl(t){return t===!1||t==null?t:q.isArray(t)?t.map(yl):String(t)}function ZS(t){const e=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(t);)e[n[1]]=n[2];return e}function US(t){return/^[-_a-zA-Z]+$/.test(t.trim())}function vu(t,e,i,n,s){if(q.isFunction(n))return n.call(this,e,i);if(s&&(e=i),!!q.isString(e)){if(q.isString(n))return e.indexOf(n)!==-1;if(q.isRegExp(n))return n.test(e)}}function VS(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,i,n)=>i.toUpperCase()+n)}function YS(t,e){const i=q.toCamelCase(" "+e);["get","set","has"].forEach(n=>{Object.defineProperty(t,n+i,{value:function(s,r,o){return this[n].call(this,e,s,r,o)},configurable:!0})})}class _c{constructor(e){e&&this.set(e)}set(e,i,n){const s=this;function r(a,c,u){const d=Ro(c);if(!d)throw new Error("header name must be a non-empty string");const g=q.findKey(s,d);(!g||s[g]===void 0||u===!0||u===void 0&&s[g]!==!1)&&(s[g||c]=yl(a))}const o=(a,c)=>q.forEach(a,(u,d)=>r(u,d,c));return q.isPlainObject(e)||e instanceof this.constructor?o(e,i):q.isString(e)&&(e=e.trim())&&!US(e)?o($S(e),i):e!=null&&r(i,e,n),this}get(e,i){if(e=Ro(e),e){const n=q.findKey(this,e);if(n){const s=this[n];if(!i)return s;if(i===!0)return ZS(s);if(q.isFunction(i))return i.call(this,s,n);if(q.isRegExp(i))return i.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,i){if(e=Ro(e),e){const n=q.findKey(this,e);return!!(n&&this[n]!==void 0&&(!i||vu(this,this[n],n,i)))}return!1}delete(e,i){const n=this;let s=!1;function r(o){if(o=Ro(o),o){const a=q.findKey(n,o);a&&(!i||vu(n,n[a],a,i))&&(delete n[a],s=!0)}}return q.isArray(e)?e.forEach(r):r(e),s}clear(e){const i=Object.keys(this);let n=i.length,s=!1;for(;n--;){const r=i[n];(!e||vu(this,this[r],r,e,!0))&&(delete this[r],s=!0)}return s}normalize(e){const i=this,n={};return q.forEach(this,(s,r)=>{const o=q.findKey(n,r);if(o){i[o]=yl(s),delete i[r];return}const a=e?VS(r):String(r).trim();a!==r&&delete i[r],i[a]=yl(s),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const i=Object.create(null);return q.forEach(this,(n,s)=>{n!=null&&n!==!1&&(i[s]=e&&q.isArray(n)?n.join(", "):n)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,i])=>e+": "+i).join(`
7`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...i){const n=new this(e);
7return i.forEach(s=>n.set(s)),n}static accessor(e){const n=(this[Dg]=this[Dg]={accessors:{}}).accessors,s=this.prototype;function r(o){const a=Ro(o);n[a]||(YS(s,o),n[a]=!0)}return q.isArray(e)?e.forEach(r):r(e),this}}_c.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);q.freezeMethods(_c.prototype);q.freezeMethods(_c);const jn=_c;function _u(t,e){const i=this||nh,n=e||i,s=jn.from(n.headers);let r=n.data;return q.forEach(t,function(a){r=a.call(i,r,s.normalize(),e?e.status:void 0)}),s.normalize(),r}function Hv(t){return!!(t&&t.__CANCEL__)}function ba(t,e,i){dt.call(this,t??"canceled",dt.ERR_CANCELED,e,i),this.name="CanceledError"}q.inherits(ba,dt,{__CANCEL__:!0});function XS(t,e,i){const n=i.config.validateStatus;!i.status||!n||n(i.status)?t(i):e(new dt("Request failed with status code "+i.status,[dt.ERR_BAD_REQUEST,dt.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}const qS=wn.isStandardBrowserEnv?function(){return{write:function(i,n,s,r,o,a){const c=[];c.push(i+"="+encodeURIComponent(n)),q.isNumber(s)&&c.push("expires="+new Date(s).toGMTString()),q.isString(r)&&c.push("path="+r),q.isString(o)&&c.push("domain="+o),a===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(i){const n=document.cookie.match(new RegExp("(^|;\\s*)("+i+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(i){this.write(i,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function QS(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function JS(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}function Wv(t,e){return t&&!QS(e)?JS(t,e):e}const e1=wn.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");let n;function s(r){let o=r;return e&&(i.setAttribute("href",o),o=i.href),i.setAttribute("href",o),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return n=s(window.location.href),function(o){const a=q.isString(o)?s(o):o;return a.protocol===n.protocol&&a.host===n.host}}():function(){return function(){return!0}}();function t1(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function i1(t,e){t=t||10;const i=new Array(t),n=new Array(t);let s=0,r=0,o;return e=e!==void 0?e:1e3,function(c){const u=Date.now(),d=n[r];o||(o=u),i[s]=c,n[s]=u;let g=r,v=0;for(;g!==s;)v+=i[g++],g=g%t;if(s=(s+1)%t,s===r&&(r=(r+1)%t),u-o<e)return;const _=d&&u-d;return _?Math.round(v*1e3/_):void 0}}function Lg(t,e){let i=0;const n=i1(50,250);return s=>{const r=s.loaded,o=s.lengthComputable?s.total:void 0,a=r-i,c=n(a),u=r<=o;i=r;const d={loaded:r,total:o,progress:o?r/o:void 0,bytes:a,rate:c||void 0,estimated:c&&o&&u?(o-r)/c:void 0,event:s};d[e?"download":"upload"]=!0,t(d)}}const n1=typeof XMLHttpRequest<"u",s1=n1&&function(t){return new Promise(function(i,n){let s=t.data;const r=jn.from(t.headers).normalize(),o=t.responseType;let a;function c(){t.cancelToken&&t.cancelToken.unsubscribe(a),t.signal&&t.signal.removeEventListener("abort",a)}q.isFormData(s)&&(wn.isStandardBrowserEnv||wn.isStandardBrowserWebWorkerEnv)&&r.setContentType(!1);let u=new XMLHttpRequest;if(t.auth){const _=t.auth.username||"",y=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";r.set("Authorization","Basic "+btoa(_+":"+y))}const d=Wv(t.baseURL,t.url);u.open(t.method.toUpperCase(),Gv(d,t.params,t.paramsSerializer),!0),u.timeout=t.timeout;function g(){if(!u)return;const _=jn.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),S={data:!o||o==="text"||o==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:_,config:t,request:u};XS(function(x){i(x),c()},function(x){n(x),c()},S),u=null}if("onloadend"in u?u.onloadend=g:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(g)},u.onabort=function(){u&&(n(new dt("Request aborted",dt.ECONNABORTED,t,u)),u=null)}
7,u.onerror=function(){n(new dt("Network Error",dt.ERR_NETWORK,t,u)),u=null},u.ontimeout=function(){let y=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const S=t.transitional||jv;t.timeoutErrorMessage&&(y=t.timeoutErrorMessage),n(new dt(y,S.clarifyTimeoutError?dt.ETIMEDOUT:dt.ECONNABORTED,t,u)),u=null},wn.isStandardBrowserEnv){const _=(t.withCredentials||e1(d))&&t.xsrfCookieName&&qS.read(t.xsrfCookieName);_&&r.set(t.xsrfHeaderName,_)}s===void 0&&r.setContentType(null),"setRequestHeader"in u&&q.forEach(r.toJSON(),function(y,S){u.setRequestHeader(S,y)}),q.isUndefined(t.withCredentials)||(u.withCredentials=!!t.withCredentials),o&&o!=="json"&&(u.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&u.addEventListener("progress",Lg(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&u.upload&&u.upload.addEventListener("progress",Lg(t.onUploadProgress)),(t.cancelToken||t.signal)&&(a=_=>{u&&(n(!_||_.type?new ba(null,t,u):_),u.abort(),u=null)},t.cancelToken&&t.cancelToken.subscribe(a),t.signal&&(t.signal.aborted?a():t.signal.addEventListener("abort",a)));const v=t1(d);if(v&&wn.protocols.indexOf(v)===-1){n(new dt("Unsupported protocol "+v+":",dt.ERR_BAD_REQUEST,t));return}u.send(s||null)})},wl={http:RS,xhr:s1};q.forEach(wl,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const r1={getAdapter:t=>{t=q.isArray(t)?t:[t];const{length:e}=t;let i,n;for(let s=0;s<e&&(i=t[s],!(n=q.isString(i)?wl[i.toLowerCase()]:i));s++);if(!n)throw n===!1?new dt(`Adapter ${i} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(q.hasOwnProp(wl,i)?`Adapter '${i}' is not available in the build`:`Unknown adapter '${i}'`);if(!q.isFunction(n))throw new TypeError("adapter is not a function");return n},adapters:wl};function bu(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ba(null,t)}function Og(t){return bu(t),t.headers=jn.from(t.headers),t.data=_u.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),r1.getAdapter(t.adapter||nh.adapter)(t).then(function(n){return bu(t),n.data=_u.call(t,t.transformResponse,n),n.headers=jn.from(n.headers),n},function(n){return Hv(n)||(bu(t),n&&n.response&&(n.response.data=_u.call(t,t.transformResponse,n.response),n.response.headers=jn.from(n.response.headers))),Promise.reject(n)})}const Pg=t=>t instanceof jn?t.toJSON():t;function Jr(t,e){e=e||{};const i={};function n(u,d,g){return q.isPlainObject(u)&&q.isPlainObject(d)?q.merge.call({caseless:g},u,d):q.isPlainObject(d)?q.merge({},d):q.isArray(d)?d.slice():d}function s(u,d,g){if(q.isUndefined(d)){if(!q.isUndefined(u))return n(void 0,u,g)}else return n(u,d,g)}function r(u,d){if(!q.isUndefined(d))return n(void 0,d)}function o(u,d){if(q.isUndefined(d)){if(!q.isUndefined(u))return n(void 0,u)}else return n(void 0,d)}function a(u,d,g){if(g in e)return n(u,d);if(g in t)return n(void 0,u)}const c={url:r,method:r,data:r,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(u,d)=>s(Pg(u),Pg(d),!0)};return q.forEach(Object.keys(t).concat(Object.keys(e)),function(d){const g=c[d]||s,v=g(t[d],e[d],d);q.isUndefined(v)&&g!==a||(i[d]=v)}),i}const $v="1.3.4",sh={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{sh[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const Fg={};sh.transitional=function(e,i,n){function s(r,o){return"[Axios v"+$v+"] Transitional option '"+r+"'"+o+(n?". "+n:"")}return(r,o,a)=>{if(e===!1)throw new dt(s(o," has been removed"+(i?" in "+i:"")),dt.ERR_DEPRECATED);return i&&!Fg[o]&&(Fg[o]=!0,console.warn(s(o," has been deprecated since v"+i+" and will be removed in the near future"))),e?e(r,o,a):!0}};function o1(t,e,i){if(typeof t!="object")throw new dt("options must be an object",dt.
7ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let s=n.length;for(;s-- >0;){const r=n[s],o=e[r];if(o){const a=t[r],c=a===void 0||o(a,r,t);if(c!==!0)throw new dt("option "+r+" must be "+c,dt.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new dt("Unknown option "+r,dt.ERR_BAD_OPTION)}}const rd={assertOptions:o1,validators:sh},ts=rd.validators;class Al{constructor(e){this.defaults=e,this.interceptors={request:new Mg,response:new Mg}}request(e,i){typeof e=="string"?(i=i||{},i.url=e):i=e||{},i=Jr(this.defaults,i);const{transitional:n,paramsSerializer:s,headers:r}=i;n!==void 0&&rd.assertOptions(n,{silentJSONParsing:ts.transitional(ts.boolean),forcedJSONParsing:ts.transitional(ts.boolean),clarifyTimeoutError:ts.transitional(ts.boolean)},!1),s!==void 0&&rd.assertOptions(s,{encode:ts.function,serialize:ts.function},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let o;o=r&&q.merge(r.common,r[i.method]),o&&q.forEach(["delete","get","head","post","put","patch","common"],y=>{delete r[y]}),i.headers=jn.concat(o,r);const a=[];let c=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(i)===!1||(c=c&&S.synchronous,a.unshift(S.fulfilled,S.rejected))});const u=[];this.interceptors.response.forEach(function(S){u.push(S.fulfilled,S.rejected)});let d,g=0,v;if(!c){const y=[Og.bind(this),void 0];for(y.unshift.apply(y,a),y.push.apply(y,u),v=y.length,d=Promise.resolve(i);g<v;)d=d.then(y[g++],y[g++]);return d}v=a.length;let _=i;for(g=0;g<v;){const y=a[g++],S=a[g++];try{_=y(_)}catch(C){S.call(this,C);break}}try{d=Og.call(this,_)}catch(y){return Promise.reject(y)}for(g=0,v=u.length;g<v;)d=d.then(u[g++],u[g++]);return d}getUri(e){e=Jr(this.defaults,e);const i=Wv(e.baseURL,e.url);return Gv(i,e.params,e.paramsSerializer)}}q.forEach(["delete","get","head","options"],function(e){Al.prototype[e]=function(i,n){return this.request(Jr(n||{},{method:e,url:i,data:(n||{}).data}))}});q.forEach(["post","put","patch"],function(e){function i(n){return function(r,o,a){return this.request(Jr(a||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:r,data:o}))}}Al.prototype[e]=i(),Al.prototype[e+"Form"]=i(!0)});const Sl=Al;class rh{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(r){i=r});const n=this;this.promise.then(s=>{if(!n._listeners)return;let r=n._listeners.length;for(;r-- >0;)n._listeners[r](s);n._listeners=null}),this.promise.then=s=>{let r;const o=new Promise(a=>{n.subscribe(a),r=a}).then(s);return o.cancel=function(){n.unsubscribe(r)},o},e(function(r,o,a){n.reason||(n.reason=new ba(r,o,a),i(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const i=this._listeners.indexOf(e);i!==-1&&this._listeners.splice(i,1)}static source(){let e;return{token:new rh(function(s){e=s}),cancel:e}}}const a1=rh;function l1(t){return function(i){return t.apply(null,i)}}function c1(t){return q.isObject(t)&&t.isAxiosError===!0}const od={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
7alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(od).forEach(([t,e])=>{od[e]=t});const u1=od;function Zv(t){const e=new Sl(t),i=xv(Sl.prototype.request,e);return q.extend(i,Sl.prototype,e,{allOwnKeys:!0}),q.extend(i,e,null,{allOwnKeys:!0}),i.create=function(s){return Zv(Jr(t,s))},i}const ri=Zv(nh);ri.Axios=Sl;ri.CanceledError=ba;ri.CancelToken=a1;ri.isCancel=Hv;ri.VERSION=$v;ri.toFormData=mc;ri.AxiosError=dt;ri.Cancel=ri.CanceledError;ri.all=function(e){return Promise.all(e)};ri.spread=l1;ri.isAxiosError=c1;ri.mergeConfig=Jr;ri.AxiosHeaders=jn;ri.formToJSON=t=>Kv(q.isHTMLForm(t)?new FormData(t):t);ri.HttpStatusCode=u1;ri.default=ri;const Ci=ri;class d1{constructor(e){this.propagationStopped,this.defaultPrevented,this.type=e,this.target=null}preventDefault(){this.defaultPrevented=!0}stopPropagation(){this.propagationStopped=!0}}function h1(t){t.stopPropagation()}const Cn=d1,eo={PROPERTYCHANGE:"propertychange"};class f1{constructor(){this.disposed=!1}dispose(){this.disposed||(this.disposed=!0,this.disposeInternal())}disposeInternal(){}}const oh=f1;function g1(t,e,i){let n,s;i=i||ar;let r=0,o=t.length,a=!1;for(;r<o;)n=r+(o-r>>1),s=+i(t[n],e),s<0?r=n+1:(o=n,a=!s);return a?r:~r}function ar(t,e){return t>e?1:t<e?-1:0}function ah(t,e,i){const n=t.length;if(t[0]<=e)return 0;if(e<=t[n-1])return n-1;let s;if(i>0){for(s=1;s<n;++s)if(t[s]<e)return s-1}else if(i<0){for(s=1;s<n;++s)if(t[s]<=e)return s}else for(s=1;s<n;++s){if(t[s]==e)return s;if(t[s]<e)return typeof i=="function"?i(e,t[s-1],t[s])>0?s-1:s:t[s-1]-e<e-t[s]?s-1:s}return n-1}function p1(t,e,i){for(;e<i;){const n=t[e];t[e]=t[i],t[i]=n,++e,--i}}function dn(t,e){const i=Array.isArray(e)?e:[e],n=i.length;for(let s=0;s<n;s++)t[t.length]=i[s]}function Ts(t,e){const i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}function m1(t,e,i){const n=e||ar;return t.every(function(s,r){if(r===0)return!0;const o=n(t[r-1],s);return!(o>0||i&&o===0)})}function ia(){return!0}function bc(){return!1}function lr(){}function v1(t){let e=!1,i,n,s;return function(){const r=Array.prototype.slice.call(arguments);return(!e||this!==s||!Ts(r,n))&&(e=!0,s=this,n=r,i=t.apply(this,arguments)),i}}function ya(t){for(const e in t)delete t[e]}function to(t){let e;for(e in t)return!1;return!e}class _1 extends oh{constructor(e){super(),this.eventTarget_=e,this.pendingRemovals_=null,this.dispatching_=null,this.listeners_=null}addEventListener(e,i){if(!e||!i)return;const n=this.listeners_||(this.listeners_={}),s=n[e]||(n[e]=[]);s.includes(i)||s.push(i)}dispatchEvent(e){const i=typeof e=="string",n=i?e:e.type,s=this.listeners_&&this.listeners_[n];if(!s)return;const r=i?new Cn(e):e;r.target||(r.target=this.eventTarget_||this);const o=this.dispatching_||(this.dispatching_={}),a=this.pendingRemovals_||(this.pendingRemovals_={});n in o||(o[n]=0,a[n]=0),++o[n];let c;for(let u=0,d=s.length;u<d;++u)if("handleEvent"in s[u]?c=s[u].handleEvent(r):c=s[u].call(this,r),c===!1||r.propagationStopped){c=!1;break}if(--o[n]===0){let u=a[n];for(delete a[n];u--;)this.removeEventListener(n,lr);delete o[n]}return c}disposeInternal(){this.listeners_&&ya(this.listeners_)}getListeners(e){return this.listeners_&&this.listeners_[e]||void 0}hasListener(e){return this.listeners_?e?e in this.listeners_:Object.keys(this.listeners_).length>0:!1}removeEventListener(e,i){const n=this.listeners_&&this.listeners_[e];if(n){const s=n.indexOf(i);s!==-1&&(this.pendingRemovals_&&e in this.pendingRemovals_?(n[s]=lr,++this.pendingRemovals_[e]):(n.splice(s,1),n.length===0&&delete this.listeners_[e]))}}}const yc=_1,Xe={CHANGE:"change",ERROR:"error",BLUR:"blur",CLEAR:"clear",CONTEXTMENU:"contextmenu",CLICK:"click",DBLCLICK:"dblclick",DRAGENTER:"dragenter",DRAGOVER:"dragover",DROP:"drop",FOCUS:"focus",KEYDOWN:"keydown",KEYPRESS:"keypress",LOAD:"load",RESIZE:"resize",TOUCHMOVE:"touchmove",WHEEL:"wheel"};function ot(t,e,i,n,s){if(n&&n!==t&&(i=i.bind(n)),s){const o=i;i=function(){t.removeEventListener(e,i),o.apply(this,arguments)}}const r={target:t,type:e,listener:i};return t.addEventListener(e,i),r}function Ml(t,e,i,n){return ot(t,e,i,n,!0)}function Rt(t){t&&t.target&&(t.target.removeEventListener(t.type,t.listener),ya(t))}class wc extends yc{constructor(){super(),this.on=this.onInternal,this.once=this.onceInternal,this.un=this.unInternal,this.revision_=0}changed(){++this.revision_,this.dispatchEvent(Xe.CHANGE)}getRevision(){return this.revision_}onInternal(e,i){if(Array.isArray(e)){const n=e.length,s=new Array(n);for(let r=0;r<n;++r)s[r]=ot(this,e[r],i);return s}return ot(this,e,i)}onceInternal(e,i){let n;if(Array.isArray(e)){const s=e.length;n=new Array(s);for(let r=0;r<s;++r)n[r]=Ml(this,e[r],i)}else n=Ml(this,e,i);return i.ol_key=n,n}unInternal(e,i){const n=i.ol_key;if(n)b1(n);else if(Array.isArray(e))for(let s=0,r=e.length;s<r;++s)this.removeEventListener(e[s],i);else this.removeEventListener(e,i)}}wc.prototype.on;wc.prototype.once;wc.prototype.un;function b1(t){if(Array.isArray(t))for(let e=0,i=t.length;e<i;++e)Rt(t[e]);else Rt(t)}const Uv=wc;function je(){throw new Error("Unimplemented abstract method.")}let y1=0;function gt(t){return t.ol_uid||(t.ol_uid=String(++y1))}class zg extends Cn{constructor(e,i,n){super(e),this.key=i,this.oldValue=n}}class w1 extends Uv{constructor(e){super(),this.on,this.once,this.un,gt(this),this.values_=null,e!==void 0&&this.setProperties(e)}get(e){let i;return this.values_&&this.values_.hasOwnProperty(e)&&(i=this.values_[e]),i}getKeys(){return this.values_&&Object.keys(this.values_)||[]}getProperties(){return this.values_&&Object.assign({},this.values_)||{}}hasProperties(){return!!this.values_}notify(e,i){let n;n=`change:${e}`,this.hasListener(n)&&this.dispatchEvent(new zg(n,e,i)),n=eo.PROPERTYCHANGE,this.hasListener(n)&&this.dispatchEvent(new zg(n,e,i))}addChangeListener(e,i){this.addEventListener(`change:${e}`,i)}removeChangeListener(e,i){this.removeEventListener(`change:${e}`,i)}set(e,i,n){const s=this.values_||(this.values_={});if(n)s[e]=i;else{const r=s[e];s[e]=i,r!==i&&this.notify(e,r)}}setProperties(e,i){for(const n in e)this.set(n,e[n],i)}applyProperties(e){e.values_&&Object.assign(this.values_||(this.values_={}),e.values_)}unset(e,i){if(this.values_&&e in this.values_){const n=this.values_[e];delete this.values_[e],to(this.values_)&&(this.values_=null),i||this.notify(e,n)}}}const fn=w1,S1={1:"The view center is not defined",2:"The view resolution is not defined",3:"The view rotation is not defined",4:"`image` and `src` cannot be provided at the same time",5:"`imgSize` must be set when `image` is provided",7:"`format` must be set when `url` is set",8:"Unknown `serverType` configured",9:"`url` must be configured or set using `#setUrl()`",10:"The default `geometryFunction` can only handle `Point` geometries",11:"`options.featureTypes` must be an Array",12:"`options.geometryName` must also be provided when `options.bbox` is set",13:"Invalid corner",14:"Invalid color",15:"Tried to get a value for a key that does not exist in the cache",16:"Tried to set a value for a key that is used already",17:"`resolutions` must be sorted in descending order",18:"Either `origin` or `origins` must be configured, never both",19:"Number of `tileSizes` and `resolutions` must be equal",20:"Number of `origins` and `resolutions` must be equal",22:"Either `tileSize` or `tileSizes` must be configured, never both",24:"Invalid extent or geometry provided as `geometry`",25:"Cannot fit empty extent provided as `geometry`",26:"Features must have an id set",27:"Features must have an id set",28:'`renderMode` must be `"hybrid"` or `"vector"`',30:"The passed `feature` was already added to the source",31:"Tried to enqueue an `element` that was already added to the queue",32:"Transformation matrix cannot be inverted",33:"Invalid units",34:"Invalid geometry layout",36:"Unknown SRS type",37:"Unknown geometry type found",38:"`styleMapValue` has an unknown type",39:"Unknown geometry type",40:"Expected `feature` to have a geometry",41:"Expected an `ol/style/Style` or an array of `ol/style/Style.js`",42:"Question unknown, the answer is 42",43:"Expected `layers` to be an array or a `Collection`",47:"Expected `controls` to be an array or an `ol/Collection`",48:"Expected `interactions` to be an array or an `ol/Collection`",49:"Expected `overlays` to be an array or an `ol/Collection`",50:"`options.featureTypes` should be an Array",51:"Either `url` or `tileJSON` options must be provided",52:"Unknown `serverType` configured",53:"Unknown `tierSizeCalculation` configured",55:"The {-y} placeholder requires a tile grid with extent",56:"mapBrowserEvent must originate from a pointer event",57:"At least 2 conditions are required",59:"Invalid command found in the PBF",60:"Missing or invalid `size`",61:"Cannot determine IIIF Image API version from provided image information JSON",62:"A `WebGLArrayBuffer` must either be of type `ELEMENT_ARRAY_BUFFER` or `ARRAY_BUFFER`",64:"Layer opacity must be a number",66:"`forEac
7hFeatureAtCoordinate` cannot be used on a WebGL layer if the hit detection logic has not been enabled. This is done by providing adequate shaders using the `hitVertexShader` and `hitFragmentShader` properties of `WebGLPointsLayerRenderer`",67:"A layer can only be added to the map once. Use either `layer.setMap()` or `map.addLayer()`, not both",68:"A VectorTile source can only be rendered if it has a projection compatible with the view projection",69:"`width` or `height` cannot be provided together with `scale`"};class E1 extends Error{constructor(e){const i=S1[e];super(i),this.code=e,this.name="AssertionError",this.message=i}}const Vv=E1;function tt(t,e){if(!t)throw new Vv(e)}class lh extends fn{constructor(e){if(super(),this.on,this.once,this.un,this.id_=void 0,this.geometryName_="geometry",this.style_=null,this.styleFunction_=void 0,this.geometryChangeKey_=null,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),e)if(typeof e.getSimplifiedGeometry=="function"){const i=e;this.setGeometry(i)}else{const i=e;this.setProperties(i)}}clone(){const e=new lh(this.hasProperties()?this.getProperties():null);e.setGeometryName(this.getGeometryName());const i=this.getGeometry();i&&e.setGeometry(i.clone());const n=this.getStyle();return n&&e.setStyle(n),e}getGeometry(){return this.get(this.geometryName_)}getId(){return this.id_}getGeometryName(){return this.geometryName_}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}handleGeometryChange_(){this.changed()}handleGeometryChanged_(){this.geometryChangeKey_&&(Rt(this.geometryChangeKey_),this.geometryChangeKey_=null);const e=this.getGeometry();e&&(this.geometryChangeKey_=ot(e,Xe.CHANGE,this.handleGeometryChange_,this)),this.changed()}setGeometry(e){this.set(this.geometryName_,e)}setStyle(e){this.style_=e,this.styleFunction_=e?k1(e):void 0,this.changed()}setId(e){this.id_=e,this.changed()}setGeometryName(e){this.removeChangeListener(this.geometryName_,this.handleGeometryChanged_),this.geometryName_=e,this.addChangeListener(this.geometryName_,this.handleGeometryChanged_),this.handleGeometryChanged_()}}function k1(t){if(typeof t=="function")return t;let e;return Array.isArray(t)?e=t:(tt(typeof t.getZIndex=="function",41),e=[t]),function(){return e}}const Sc=lh,Ss=typeof navigator<"u"&&typeof navigator.userAgent<"u"?navigator.userAgent.toLowerCase():"",T1=Ss.includes("firefox"),I1=Ss.includes("safari")&&!Ss.includes("chrom");I1&&(Ss.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(Ss));const x1=Ss.includes("webkit")&&!Ss.includes("edge"),C1=Ss.includes("macintosh"),Yv=typeof devicePixelRatio<"u"?devicePixelRatio:1,ch=typeof WorkerGlobalScope<"u"&&typeof OffscreenCanvas<"u"&&self instanceof WorkerGlobalScope,R1=typeof Image<"u"&&Image.prototype.decode,Xv=function(){let t=!1;try{const e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch{}return t}();new Array(6);function Tn(){return[1,0,0,1,0,0]}function A1(t,e,i,n,s,r,o){return t[0]=e,t[1]=i,t[2]=n,t[3]=s,t[4]=r,t[5]=o,t}function M1(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function ai(t,e){const i=e[0],n=e[1];return e[0]=t[0]*i+t[2]*n+t[4],e[1]=t[1]*i+t[3]*n+t[5],e}function D1(t,e,i){return A1(t,e,0,0,i,0,0)}function Es(t,e,i,n,s,r,o,a){const c=Math.sin(r),u=Math.cos(r);return t[0]=n*u,t[1]=s*c,t[2]=-n*c,t[3]=s*u,t[4]=o*n*u-a*n*c+e,t[5]=o*s*c+a*s*u+i,t}function uh(t,e){const i=L1(e);tt(i!==0,32);const n=e[0],s=e[1],r=e[2],o=e[3],a=e[4],c=e[5];return t[0]=o/i,t[1]=-s/i,t[2]=-r/i,t[3]=n/i,t[4]=(r*c-o*a)/i,t[5]=-(n*c-s*a)/i,t}function L1(t){return t[0]*t[3]-t[1]*t[2]}let Bg;function qv(t){const e="matrix("+t.join(", ")+")";if(ch)return e;const i=Bg||(Bg=document.createElement("div"));return i.style.transform=e,i.style.transform}const oi={UNKNOWN:0,INTERSECTING:1,ABOVE:2,RIGHT:4,BELOW:8,LEFT:16};function Ng(t){const e=qi();for(let i=0,n=t.length;i<n;++i)Ho(e,t[i]);return e}function dh(t,e,i){return i?(i[0]=t[0]-e,i[1]=t[1]-e,i[2]=t[2]+e,i[3]=t[3]+e,i):[t[0]-e,t[1]-e,t[2]+e,t[3]+e]}function Qv(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t.slice()}function hr(t,e,i){let n,s;return e<t[0]?n=t[0]-e:t[2]<e?n=e-t[2]:n=0,i<t[1]?s=t[1]-i:t[3]<i?s=i-t[3]:s=0,n*n+s*s}function Ec(t,e){return hh(t,e[0],e[1])}function Fr(t,e){return t[0]<=e[0]&&e[2]<=t[2]&&t[1]<=e[1]&&e[3]<=t[3]}function hh(t,e,i){return t[0]<=e&&e<=t[2]&&t[1]<=i&&i<=t[3]}function ad(t,e){const i=t[0],n=t[1],s=t[2],r=t[3],o=e[0],a=e[1];let c=oi.UNKNOWN;return o<i?c=c|oi.LEFT:o>s&&(c=c|oi.RIGHT),a<n?c=c|oi.BELOW:a>r&&(c=c|oi.ABOVE),c===oi.UNKNOWN&&(c=oi.INTERSECTING),c}function qi(){return[1/0,1/0,-1/0,-1/0]}function Wn(t,e,i,n,s){return s?(s[0]=t,s[1]=e,s[2]=i,s[3]=n,s):[t,e,i,n]}function wa(t){return Wn(1/0,1/0,-1/0,-1/0,t)}function O1(t,e){const i=t[0],n=t[1];return Wn(i,n,i,n,e)}function Jv(t,e,i,n,s){const r=wa(s);return t_(r,t,e,i,n)}function na(t,e){return t[0]==e[0]&&t[2]==e[2]&&t[1]==e[1]&&t[3]==e[3]}function e_(t,e){return e[0]<t[0]&&(t[0]=e[0]),e[2]>t[2]&&(t[2]=e[2]),e[1]<t[1]&&(t[1]=e[1]),e[3]>t[3]&&(t[3]=e[3]),t}function Ho(t,e){e[0]<t[0]&&(t[0]=e[0]),e[0]>t[2]&&(t[2]=e[0]),e[1]<t[1]&&(t[1]=e[1]),e[1]>t[3]&&(t[3]=e[1])}function t_(t,e,i,n,s){for(;i<n;i+=s)P1(t,e[i],e[i+1]);return t}function P1(t,e,i){t[0]=Math.min(t[0],e),t[1]=Math.min(t[1],i),t[2]=Math.max(t[2],e),t[3]=Math.max(t[3],i)}function i_(t,e){let i;return i=e(kc(t)),i||(i=e(Tc(t)),i)||(i=e(Ic(t)),i)||(i=e(fr(t)),i)?i:!1}function ld(t){let e=0;return fh(t)||(e=Dt(t)*xn(t)),e}function kc(t){return[t[0],t[1]]}function Tc(t){return[t[2],t[1]]}function cr(t){return[(t[0]+t[2])/2,(t[1]+t[3])/2]}function F1(t,e){let i;return e==="bottom-left"?i=kc(t):e==="bottom-right"?i=Tc(t):e==="top-left"?i=fr(t):e==="top-right"?i=Ic(t):tt(!1,13),i}function cd(t,e,i,n,s){const[r,o,a,c,u,d,g,v]=ud(t,e,i,n);return Wn(Math.min(r,a,u,g),Math.min(o,c,d,v),Math.max(r,a,u,g),Math.max(o,c,d,v),s)}
7function ud(t,e,i,n){const s=e*n[0]/2,r=e*n[1]/2,o=Math.cos(i),a=Math.sin(i),c=s*o,u=s*a,d=r*o,g=r*a,v=t[0],_=t[1];return[v-c+g,_-u-d,v-c-g,_-u+d,v+c-g,_+u+d,v+c+g,_+u-d,v-c+g,_-u-d]}function xn(t){return t[3]-t[1]}function Wo(t,e,i){const n=i||qi();return Ri(t,e)?(t[0]>e[0]?n[0]=t[0]:n[0]=e[0],t[1]>e[1]?n[1]=t[1]:n[1]=e[1],t[2]<e[2]?n[2]=t[2]:n[2]=e[2],t[3]<e[3]?n[3]=t[3]:n[3]=e[3]):wa(n),n}function fr(t){return[t[0],t[3]]}function Ic(t){return[t[2],t[3]]}function Dt(t){return t[2]-t[0]}function Ri(t,e){return t[0]<=e[2]&&t[2]>=e[0]&&t[1]<=e[3]&&t[3]>=e[1]}function fh(t){return t[2]<t[0]||t[3]<t[1]}function z1(t,e){return e?(e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e):t}function B1(t,e,i){let n=!1;const s=ad(t,e),r=ad(t,i);if(s===oi.INTERSECTING||r===oi.INTERSECTING)n=!0;else{const o=t[0],a=t[1],c=t[2],u=t[3],d=e[0],g=e[1],v=i[0],_=i[1],y=(_-g)/(v-d);let S,C;r&oi.ABOVE&&!(s&oi.ABOVE)&&(S=v-(_-u)/y,n=S>=o&&S<=c),!n&&r&oi.RIGHT&&!(s&oi.RIGHT)&&(C=_-(v-c)*y,n=C>=a&&C<=u),!n&&r&oi.BELOW&&!(s&oi.BELOW)&&(S=v-(_-a)/y,n=S>=o&&S<=c),!n&&r&oi.LEFT&&!(s&oi.LEFT)&&(C=_-(v-o)*y,n=C>=a&&C<=u)}return n}function n_(t,e){const i=e.getExtent(),n=cr(t);if(e.canWrapX()&&(n[0]<i[0]||n[0]>=i[2])){const s=Dt(i),o=Math.floor((n[0]-i[0])/s)*s;t[0]-=o,t[2]-=o}return t}function N1(t,e){if(e.canWrapX()){const i=e.getExtent();if(!isFinite(t[0])||!isFinite(t[2]))return[[i[0],t[1],i[2],t[3]]];n_(t,e);const n=Dt(i);if(Dt(t)>n)return[[i[0],t[1],i[2],t[3]]];if(t[0]<i[0])return[[t[0]+n,t[1],i[2],t[3]],[i[0],t[1],t[2],t[3]]];if(t[2]>i[2])return[[t[0],t[1],i[2],t[3]],[i[0],t[1],t[2]-n,t[3]]]}return[t]}const io={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937};class G1{constructor(e){this.code_=e.code,this.units_=e.units,this.extent_=e.extent!==void 0?e.extent:null,this.worldExtent_=e.worldExtent!==void 0?e.worldExtent:null,this.axisOrientation_=e.axisOrientation!==void 0?e.axisOrientation:"enu",this.global_=e.global!==void 0?e.global:!1,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=e.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=e.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||io[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(e){this.global_=e,this.canWrapX_=!!(e&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(e){this.defaultTileGrid_=e}setExtent(e){this.extent_=e,this.canWrapX_=!!(this.global_&&e)}setWorldExtent(e){this.worldExtent_=e}setGetPointResolution(e){this.getPointResolutionFunc_=e}getPointResolutionFunc(){return this.getPointResolutionFunc_}}const s_=G1,Sa=6378137,zr=Math.PI*Sa,j1=[-zr,-zr,zr,zr],K1=[-180,-85,180,85],Za=Sa*Math.log(Math.tan(Math.PI/2));class wr extends s_{constructor(e){super({code:e,units:"m",extent:j1,global:!0,worldExtent:K1,getPointResolution:function(i,n){return i/Math.cosh(n[1]/Sa)}})}}const Gg=[new wr("EPSG:3857"),new wr("EPSG:102100"),new wr("EPSG:102113"),new wr("EPSG:900913"),new wr("http://www.opengis.net/def/crs/EPSG/0/3857"),new wr("http://www.opengis.net/gml/srs/epsg.xml#3857")];function H1(t,e,i){const n=t.length;i=i>1?i:2,e===void 0&&(i>2?e=t.slice():e=new Array(n));for(let s=0;s<n;s+=i){e[s]=zr*t[s]/180;let r=Sa*Math.log(Math.tan(Math.PI*(+t[s+1]+90)/360));r>Za?r=Za:r<-Za&&(r=-Za),e[s+1]=r}return e}function W1(t,e,i){const n=t.length;i=i>1?i:2,e===void 0&&(i>2?e=t.slice():e=new Array(n));for(let s=0;s<n;s+=i)e[s]=180*t[s]/zr,e[s+1]=360*Math.atan(Math.exp(t[s+1]/Sa))/Math.PI-90;return e}const $1=6378137,jg=[-180,-90,180,90],Z1=Math.PI*$1/180;class Gs extends s_{constructor(e,i){super({code:e,units:"degrees",extent:jg,axisOrientation:i,global:!0,metersPerUnit:Z1,worldExtent:jg})}}const Kg=[new Gs("CRS:84"),new Gs("EPSG:4326","neu"),new Gs("urn:ogc:def:crs:OGC:1.3:CRS84"),new Gs("urn:ogc:def:crs:OGC:2:84"),new Gs("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new Gs("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new Gs("http://www.opengis.net/def/crs/EPSG/0/4326","neu")];let dd={};function U1(t){return dd[t]||dd[t.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}function V1(t,e){dd[t]=e}let Zr={};function Dl(t,e,i){const n=t.getCode(),s=e.getCode();n in Zr||(Zr[n]={}),Zr[n][s]=i}function Y1(t,e){let i;return t in Zr&&e in Zr[t]&&(i=Zr[t][e]),i}function Kt(t,e,i){return Math.min(Math.max(t,e),i)}function X1(t,e,i,n,s,r){const o=s-i,a=r-n;if(o!==0||a!==0){const c=((t-i)*o+(e-n)*a)/(o*o+a*a);c>1?(i=s,n=r):c>0&&(i+=o*c,n+=a*c)}return nr(t,e,i,n)}function nr(t,e,i,n){const s=i-t,r=n-e;return s*s+r*r}function q1(t){const e=t.length;for(let n=0;n<e;n++){let s=n,r=Math.abs(t[n][n]);for(let a=n+1;a<e;a++){const c=Math.abs(t[a][n]);c>r&&(r=c,s=a)}if(r===0)return null;const o=t[s];t[s]=t[n],t[n]=o;for(let a=n+1;a<e;a++){const c=-t[a][n]/t[n][n];for(let u=n;u<e+1;u++)n==u?t[a][u]=0:t[a][u]+=c*t[n][u]}}const i=new Array(e);for(let n=e-1;n>=0;n--){i[n]=t[n][e]/t[n][n];for(let s=n-1;s>=0;s--)t[s][e]-=t[s][n]*i[n]}return i}function Hg(t){return t*180/Math.PI}function sr(t){return t*Math.PI/180}function Ur(t,e){const i=t%e;return i*e<0?i+e:i}function Gn(t,e,i){return t+i*(e-t)}function gh(t,e){const i=Math.pow(10,e);return Math.round(t*i)/i}function Ua(t,e){return Math.floor(gh(t,e))}function Va(t,e){return Math.ceil(gh(t,e))}
7function Ao(t,e,i){const n=i!==void 0?t.toFixed(i):""+t;let s=n.indexOf(".");return s=s===-1?n.length:s,s>e?n:new Array(1+e-s).join("0")+n}function Q1(t,e){return t[0]+=+e[0],t[1]+=+e[1],t}function Ll(t,e){let i=!0;for(let n=t.length-1;n>=0;--n)if(t[n]!=e[n]){i=!1;break}return i}function ph(t,e){const i=Math.cos(e),n=Math.sin(e),s=t[0]*i-t[1]*n,r=t[1]*i+t[0]*n;return t[0]=s,t[1]=r,t}function J1(t,e){return t[0]*=e,t[1]*=e,t}function r_(t,e){if(e.canWrapX()){const i=Dt(e.getExtent()),n=eE(t,e,i);n&&(t[0]-=n*i)}return t}function eE(t,e,i){const n=e.getExtent();let s=0;return e.canWrapX()&&(t[0]<n[0]||t[0]>n[2])&&(i=i||Dt(n),s=Math.floor((t[0]-n[0])/i)),s}const o_=63710088e-1;function Wg(t,e,i){i=i||o_;const n=sr(t[1]),s=sr(e[1]),r=(s-n)/2,o=sr(e[0]-t[0])/2,a=Math.sin(r)*Math.sin(r)+Math.sin(o)*Math.sin(o)*Math.cos(n)*Math.cos(s);return 2*i*Math.atan2(Math.sqrt(a),Math.sqrt(1-a))}function tE(t,e,i,n){n=n||o_;const s=sr(t[1]),r=sr(t[0]),o=e/n,a=Math.asin(Math.sin(s)*Math.cos(o)+Math.cos(s)*Math.sin(o)*Math.cos(i)),c=r+Math.atan2(Math.sin(i)*Math.sin(o)*Math.cos(s),Math.cos(o)-Math.sin(s)*Math.sin(a));return[Hg(c),Hg(a)]}const a_={info:1,warn:2,error:3,none:4};let iE=a_.info;function l_(...t){iE>a_.warn||console.warn(...t)}let hd=!0;function c_(t){hd=!(t===void 0?!0:t)}function mh(t,e){if(e!==void 0){for(let i=0,n=t.length;i<n;++i)e[i]=t[i];e=e}else e=t.slice();return e}function vh(t,e){if(e!==void 0&&t!==e){for(let i=0,n=t.length;i<n;++i)e[i]=t[i];t=e}return t}function nE(t){V1(t.getCode(),t),Dl(t,t,mh)}function sE(t){t.forEach(nE)}function Ht(t){return typeof t=="string"?U1(t):t||null}function Ol(t,e,i,n){t=Ht(t);let s;const r=t.getPointResolutionFunc();if(r){if(s=r(e,i),n&&n!==t.getUnits()){const o=t.getMetersPerUnit();o&&(s=s*o/io[n])}}else{const o=t.getUnits();if(o=="degrees"&&!n||n=="degrees")s=e;else{const a=xc(t,Ht("EPSG:4326"));if(a===vh&&o!=="degrees")s=e*t.getMetersPerUnit();else{let u=[i[0]-e/2,i[1],i[0]+e/2,i[1],i[0],i[1]-e/2,i[0],i[1]+e/2];u=a(u,u,2);const d=Wg(u.slice(0,2),u.slice(2,4)),g=Wg(u.slice(4,6),u.slice(6,8));s=(d+g)/2}const c=n?io[n]:t.getMetersPerUnit();c!==void 0&&(s/=c)}}return s}function $g(t){sE(t),t.forEach(function(e){t.forEach(function(i){e!==i&&Dl(e,i,mh)})})}function rE(t,e,i,n){t.forEach(function(s){e.forEach(function(r){Dl(s,r,i),Dl(r,s,n)})})}function _h(t,e){if(t){if(typeof t=="string")return Ht(t)}else return Ht(e);return t}function Sr(t,e){return c_(),u_(t,"EPSG:4326",e!==void 0?e:"EPSG:3857")}function Vs(t,e){if(t===e)return!0;const i=t.getUnits()===e.getUnits();return(t.getCode()===e.getCode()||xc(t,e)===mh)&&i}function xc(t,e){const i=t.getCode(),n=e.getCode();let s=Y1(i,n);return s||(s=vh),s}function Pl(t,e){const i=Ht(t),n=Ht(e);return xc(i,n)}function u_(t,e,i){return Pl(e,i)(t,void 0,t.length)}function fd(t,e){return t}function Fn(t,e){return hd&&!Ll(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(hd=!1,l_("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t}function d_(t,e){return t}function qs(t,e){return t}function oE(){$g(Gg),$g(Kg),rE(Kg,Gg,H1,W1)}oE();function rr(t,e,i,n,s,r){r=r||[];let o=0;for(let a=e;a<i;a+=n){const c=t[a],u=t[a+1];r[o++]=s[0]*c+s[2]*u+s[4],r[o++]=s[1]*c+s[3]*u+s[5]}return r&&r.length!=o&&(r.length=o),r}function h_(t,e,i,n,s,r,o){o=o||[];const a=Math.cos(s),c=Math.sin(s),u=r[0],d=r[1];let g=0;for(let v=e;v<i;v+=n){const _=t[v]-u,y=t[v+1]-d;o[g++]=u+_*a-y*c,o[g++]=d+_*c+y*a;for(let S=v+2;S<v+n;++S)o[g++]=t[S]}return o&&o.length!=g&&(o.length=g),o}function aE(t,e,i,n,s,r,o,a){a=a||[];const c=o[0],u=o[1];let d=0;for(let g=e;g<i;g+=n){const v=t[g]-c,_=t[g+1]-u;a[d++]=c+s*v,a[d++]=u+r*_;for(let y=g+2;y<g+n;++y)a[d++]=t[y]}return a&&a.length!=d&&(a.length=d),a}function lE(t,e,i,n,s,r,o){o=o||[];let a=0;for(let c=e;c<i;c+=n){o[a++]=t[c]+s,o[a++]=t[c+1]+r;for(let u=c+2;u<c+n;++u)o[a++]=t[u]}return o&&o.length!=a&&(o.length=a),o}const Zg=Tn();class cE extends fn{constructor(){super(),this.extent_=qi(),this.extentRevision_=-1,this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=0,this.simplifyTransformedInternal=v1(function(e,i,n){if(!n)return this.get
7SimplifiedGeometry(i);const s=this.clone();return s.applyTransform(n),s.getSimplifiedGeometry(i)})}simplifyTransformed(e,i){return this.simplifyTransformedInternal(this.getRevision(),e,i)}clone(){return je()}closestPointXY(e,i,n,s){return je()}containsXY(e,i){const n=this.getClosestPoint([e,i]);return n[0]===e&&n[1]===i}getClosestPoint(e,i){return i=i||[NaN,NaN],this.closestPointXY(e[0],e[1],i,1/0),i}intersectsCoordinate(e){return this.containsXY(e[0],e[1])}computeExtent(e){return je()}getExtent(e){if(this.extentRevision_!=this.getRevision()){const i=this.computeExtent(this.extent_);(isNaN(i[0])||isNaN(i[1]))&&wa(i),this.extentRevision_=this.getRevision()}return z1(this.extent_,e)}rotate(e,i){je()}scale(e,i,n){je()}simplify(e){return this.getSimplifiedGeometry(e*e)}getSimplifiedGeometry(e){return je()}getType(){return je()}applyTransform(e){je()}intersectsExtent(e){return je()}translate(e,i){je()}transform(e,i){const n=Ht(e),s=n.getUnits()=="tile-pixels"?function(r,o,a){const c=n.getExtent(),u=n.getWorldExtent(),d=xn(u)/xn(c);return Es(Zg,u[0],u[3],d,-d,0,0,0),rr(r,0,r.length,a,Zg,o),Pl(n,i)(r,o,a)}:Pl(n,i);return this.applyTransform(s),this}}const f_=cE;class uE extends f_{constructor(){super(),this.layout="XY",this.stride=2,this.flatCoordinates=null}computeExtent(e){return Jv(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)}getCoordinates(){return je()}getFirstCoordinate(){return this.flatCoordinates.slice(0,this.stride)}getFlatCoordinates(){return this.flatCoordinates}getLastCoordinate(){return this.flatCoordinates.slice(this.flatCoordinates.length-this.stride)}getLayout(){return this.layout}getSimplifiedGeometry(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&e<=this.simplifiedGeometryMaxMinSquaredTolerance)return this;const i=this.getSimplifiedGeometryInternal(e);return i.getFlatCoordinates().length<this.flatCoordinates.length?i:(this.simplifiedGeometryMaxMinSquaredTolerance=e,this)}getSimplifiedGeometryInternal(e){return this}getStride(){return this.stride}setFlatCoordinates(e,i){this.stride=Ug(e),this.layout=e,this.flatCoordinates=i}setCoordinates(e,i){je()}setLayout(e,i,n){let s;if(e)s=Ug(e);else{for(let r=0;r<n;++r){if(i.length===0){this.layout="XY",this.stride=2;return}i=i[0]}s=i.length,e=dE(s)}this.layout=e,this.stride=s}applyTransform(e){this.flatCoordinates&&(e(this.flatCoordinates,this.flatCoordinates,this.stride),this.changed())}rotate(e,i){const n=this.getFlatCoordinates();if(n){const s=this.getStride();h_(n,0,n.length,s,e,i,n),this.changed()}}scale(e,i,n){i===void 0&&(i=e),n||(n=cr(this.getExtent()));const s=this.getFlatCoordinates();if(s){const r=this.getStride();aE(s,0,s.length,r,e,i,n,s),this.changed()}}translate(e,i){const n=this.getFlatCoordinates();if(n){const s=this.getStride();lE(n,0,n.length,s,e,i,n),this.changed()}}}function dE(t){let e;return t==2?e="XY":t==3?e="XYZ":t==4&&(e="XYZM"),e}function Ug(t){let e;return t=="XY"?e=2:t=="XYZ"||t=="XYM"?e=3:t=="XYZM"&&(e=4),e}function hE(t,e,i){const n=t.getFlatCoordinates();if(!n)return null;const s=t.getStride();return rr(n,0,n.length,s,e,i)}const gr=uE;function Vg(t,e,i,n,s,r,o){const a=t[e],c=t[e+1],u=t[i]-a,d=t[i+1]-c;let g;if(u===0&&d===0)g=e;else{const v=((s-a)*u+(r-c)*d)/(u*u+d*d);if(v>1)g=i;else if(v>0){for(let _=0;_<n;++_)o[_]=Gn(t[e+_],t[i+_],v);o.length=n;return}else g=e}for(let v=0;v<n;++v)o[v]=t[g+v];o.length=n}function bh(t,e,i,n,s){let r=t[e],o=t[e+1];for(e+=n;e<i;e+=n){const a=t[e],c=t[e+1],u=nr(r,o,a,c);u>s&&(s=u),r=a,o=c}return s}function yh(t,e,i,n,s){for(let r=0,o=i.length;r<o;++r){const a=i[r];s=bh(t,e,a,n,s),e=a}return s}function fE(t,e,i,n,s){for(let r=0,o=i.length;r<o;++r){const a=i[r];s=yh(t,e,a,n,s),e=a[a.length-1]}return s}function wh(t,e,i,n,s,r,o,a,c,u,d){if(e==i)return u;let g,v;if(s===0){if(v=nr(o,a,t[e],t[e+1]),v<u){for(g=0;g<n;++g)c[g]=t[e+g];return c.length=n,v}return u}d=d||[NaN,NaN];let _=e+n;for(;_<i;)if(Vg(t,_-n,_,n,o,a,d),v=nr(o,a,d[0],d[1]),v<u){for(u=v,g=0;g<n;++g)c[g]=d[g];c.length=n,_+=n}else _+=n*Math.max((Math.sqrt(v)-Math.sqrt(u))/s|0,1);if(r&&(Vg(t,i-n,e,n,o,a,d),v=nr(o,a,d[0],d[1]),v<u)){for(u=v,g=0;g<n;++g)c[g]=d[g];c.length=n}return u}function Sh(t,e,i,n,s,r,o,a,c,u,d){d=d||[NaN,NaN];for(let g=0,v=i.length;g<v;++g){const _=i[g];u=wh(t,e,_,n,s,r,o,a,c,u,d),e=_}return u}function gE(t,e,i,n,s,r,o,a,c,u,d){d=d||[NaN,NaN];for(let g=0,v=i.length;g<v;++g){const _=i[g];u=Sh(t,e,_,n,s,r,o,a,c,u,d),e=_[_.length-1]}return u}function pE(t,e,i,n){for(let s=0,r=i.length;s<r;++s)t[e++]=i[s];return e}function Cc(t,e,i,n){for(let s=0,r=i.length;s<r;++s){const o=i[s];for(let a=0;a<n;++a)t[e++]=o[a]}return e}function Eh(t,e,i,n,s){s=s||[];let r=0;for(let o=0,a=i.length;o<a;
7++o){const c=Cc(t,e,i[o],n);s[r++]=c,e=c}return s.length=r,s}function mE(t,e,i,n,s){s=s||[];let r=0;for(let o=0,a=i.length;o<a;++o){const c=Eh(t,e,i[o],n,s[r]);c.length===0&&(c[0]=e),s[r++]=c,e=c[c.length-1]}return s.length=r,s}function kh(t,e,i,n,s,r,o){const a=(i-e)/n;if(a<3){for(;e<i;e+=n)r[o++]=t[e],r[o++]=t[e+1];return o}const c=new Array(a);c[0]=1,c[a-1]=1;const u=[e,i-n];let d=0;for(;u.length>0;){const g=u.pop(),v=u.pop();let _=0;const y=t[v],S=t[v+1],C=t[g],x=t[g+1];for(let I=v+n;I<g;I+=n){const R=t[I],F=t[I+1],Z=X1(R,F,y,S,C,x);Z>_&&(d=I,_=Z)}_>s&&(c[(d-e)/n]=1,v+n<d&&u.push(v,d),d+n<g&&u.push(d,g))}for(let g=0;g<a;++g)c[g]&&(r[o++]=t[e+g*n],r[o++]=t[e+g*n+1]);return o}function vE(t,e,i,n,s,r,o,a){for(let c=0,u=i.length;c<u;++c){const d=i[c];o=kh(t,e,d,n,s,r,o),a.push(o),e=d}return o}function Ws(t,e){return e*Math.round(t/e)}function _E(t,e,i,n,s,r,o){if(e==i)return o;let a=Ws(t[e],s),c=Ws(t[e+1],s);e+=n,r[o++]=a,r[o++]=c;let u,d;do if(u=Ws(t[e],s),d=Ws(t[e+1],s),e+=n,e==i)return r[o++]=u,r[o++]=d,o;while(u==a&&d==c);for(;e<i;){const g=Ws(t[e],s),v=Ws(t[e+1],s);if(e+=n,g==u&&v==d)continue;const _=u-a,y=d-c,S=g-a,C=v-c;if(_*C==y*S&&(_<0&&S<_||_==S||_>0&&S>_)&&(y<0&&C<y||y==C||y>0&&C>y)){u=g,d=v;continue}r[o++]=u,r[o++]=d,a=u,c=d,u=g,d=v}return r[o++]=u,r[o++]=d,o}function g_(t,e,i,n,s,r,o,a){for(let c=0,u=i.length;c<u;++c){const d=i[c];o=_E(t,e,d,n,s,r,o),a.push(o),e=d}return o}function bE(t,e,i,n,s,r,o,a){for(let c=0,u=i.length;c<u;++c){const d=i[c],g=[];o=g_(t,e,d,n,s,r,o,g),a.push(g),e=d[d.length-1]}return o}function p_(t,e,i,n,s){let r;for(e+=n;e<i;e+=n)if(r=s(t.slice(e-n,e),t.slice(e,e+n)),r)return r;return!1}function gs(t,e,i,n,s){s=s!==void 0?s:[];let r=0;for(let o=e;o<i;o+=n)s[r++]=t.slice(o,o+n);return s.length=r,s}function sa(t,e,i,n,s){s=s!==void 0?s:[];let r=0;for(let o=0,a=i.length;o<a;++o){const c=i[o];s[r++]=gs(t,e,c,n,s[r]),e=c}return s.length=r,s}function gd(t,e,i,n,s){s=s!==void 0?s:[];let r=0;for(let o=0,a=i.length;o<a;++o){const c=i[o];s[r++]=c.length===1&&c[0]===e?[]:sa(t,e,c,n,s[r]),e=c[c.length-1]}return s.length=r,s}function m_(t,e,i,n,s,r,o){let a,c;const u=(i-e)/n;if(u===1)a=e;else if(u===2)a=e,c=s;else if(u!==0){let d=t[e],g=t[e+1],v=0;const _=[0];for(let C=e+n;C<i;C+=n){const x=t[C],I=t[C+1];v+=Math.sqrt((x-d)*(x-d)+(I-g)*(I-g)),_.push(v),d=x,g=I}const y=s*v,S=g1(_,y);S<0?(c=(y-_[-S-2])/(_[-S-1]-_[-S-2]),a=e+(-S-2)*n):a=e+S*n}o=o>1?o:2,r=r||new Array(o);for(let d=0;d<o;++d)r[d]=a===void 0?NaN:c===void 0?t[a+d]:Gn(t[a+d],t[a+n+d],c);return r}function pd(t,e,i,n,s,r){if(i==e)return null;let o;if(s<t[e+n-1])return r?(o=t.slice(e,e+n),o[n-1]=s,o):null;if(t[i-1]<s)return r?(o=t.slice(i-n,i),o[n-1]=s,o):null;if(s==t[e+n-1])return t.slice(e,e+n);let a=e/n,c=i/n;for(;a<c;){const v=a+c>>1;s<t[(v+1)*n-1]?c=v:a=v+1}const u=t[a*n-1];if(s==u)return t.slice((a-1)*n,(a-1)*n+n);const d=t[(a+1)*n-1],g=(s-u)/(d-u);o=[];for(let v=0;v<n-1;++v)o.push(Gn(t[(a-1)*n+v],t[a*n+v],g));return o.push(s),o}
7function yE(t,e,i,n,s,r,o){if(o)return pd(t,e,i[i.length-1],n,s,r);let a;if(s<t[n-1])return r?(a=t.slice(0,n),a[n-1]=s,a):null;if(t[t.length-1]<s)return r?(a=t.slice(t.length-n),a[n-1]=s,a):null;for(let c=0,u=i.length;c<u;++c){const d=i[c];if(e!=d){if(s<t[e+n-1])return null;if(s<=t[d-1])return pd(t,e,d,n,s,!1);e=d}}return null}function wE(t,e,i,n,s){return!i_(s,function(o){return!Qs(t,e,i,n,o[0],o[1])})}function Qs(t,e,i,n,s,r){let o=0,a=t[i-n],c=t[i-n+1];for(;e<i;e+=n){const u=t[e],d=t[e+1];c<=r?d>r&&(u-a)*(r-c)-(s-a)*(d-c)>0&&o++:d<=r&&(u-a)*(r-c)-(s-a)*(d-c)<0&&o--,a=u,c=d}return o!==0}function Th(t,e,i,n,s,r){if(i.length===0||!Qs(t,e,i[0],n,s,r))return!1;for(let o=1,a=i.length;o<a;++o)if(Qs(t,i[o-1],i[o],n,s,r))return!1;return!0}function SE(t,e,i,n,s,r){if(i.length===0)return!1;for(let o=0,a=i.length;o<a;++o){const c=i[o];if(Th(t,e,c,n,s,r))return!0;e=c[c.length-1]}return!1}function Rc(t,e,i,n,s){const r=t_(qi(),t,e,i,n);return Ri(s,r)?Fr(s,r)||r[0]>=s[0]&&r[2]<=s[2]||r[1]>=s[1]&&r[3]<=s[3]?!0:p_(t,e,i,n,function(o,a){return B1(s,o,a)}):!1}function EE(t,e,i,n,s){for(let r=0,o=i.length;r<o;++r){if(Rc(t,e,i[r],n,s))return!0;e=i[r]}return!1}function v_(t,e,i,n,s){return!!(Rc(t,e,i,n,s)||Qs(t,e,i,n,s[0],s[1])||Qs(t,e,i,n,s[0],s[3])||Qs(t,e,i,n,s[2],s[1])||Qs(t,e,i,n,s[2],s[3]))}function __(t,e,i,n,s){if(!v_(t,e,i[0],n,s))return!1;if(i.length===1)return!0;for(let r=1,o=i.length;r<o;++r)if(wE(t,i[r-1],i[r],n,s)&&!Rc(t,i[r-1],i[r],n,s))return!1;return!0}function kE(t,e,i,n,s){for(let r=0,o=i.length;r<o;++r){const a=i[r];if(__(t,e,a,n,s))return!0;e=a[a.length-1]}return!1}function b_(t,e,i,n){let s=t[e],r=t[e+1],o=0;for(let a=e+n;a<i;a+=n){const c=t[a],u=t[a+1];o+=Math.sqrt((c-s)*(c-s)+(u-r)*(u-r)),s=c,r=u}return o}class Fl extends gr{constructor(e,i){super(),this.flatMidpoint_=null,this.flatMidpointRevision_=-1,this.maxDelta_=-1,this.maxDeltaRevision_=-1,i!==void 0&&!Array.isArray(e[0])?this.setFlatCoordinates(i,e):this.setCoordinates(e,i)}appendCoordinate(e){this.flatCoordinates?dn(this.flatCoordinates,e):this.flatCoordinates=e.slice(),this.changed()}clone(){const e=new Fl(this.flatCoordinates.slice(),this.layout);return e.applyProperties(this),e}closestPointXY(e,i,n,s){return s<hr(this.getExtent(),e,i)?s:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(bh(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),wh(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!1,e,i,n,s))}forEachSegment(e){return p_(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)}getCoordinateAtM(e,i){return this.layout!="XYM"&&this.layout!="XYZM"?null:(i=i!==void 0?i:!1,pd(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,i))}getCoordinates(){return gs(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinateAt(e,i){return m_(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,i,this.stride)}getLength(){return b_(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getFlatMidpoint(){return this.flatMidpointRevision_!=this.getRevision()&&(this.flatMidpoint_=this.getCoordinateAt(.5,this.flatMidpoint_),this.flatMidpointRevision_=this.getRevision()),this.flatMidpoint_}getSimplifiedGeometryInternal(e){const i=[];return i.length=kh(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,i,0),new Fl(i,"XY")}getType(){return"LineString"}intersectsExtent(e){return Rc(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e)}setCoordinates(e,i){this.setLayout(i,e,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Cc(this.flatCoordinates,0,e,this.stride),this.changed()}}const zl=Fl;class Bl extends gr{constructor(e,i,n){if(super(),this.ends_=[],this.maxDelta_=-1,this.maxDeltaRevision_=-1,Array.isArray(e[0]))this.setCoordinates(e,i);else if(i!==void 0&&n)this.setFlatCoordinates(i,e),this.ends_=n;else{let s=this.getLayout();const r=e,o=[],a=[];for(let c=0,u=r.length;c<u;++c){const d=r[c];c===0&&(s=d.getLayout()),dn(o,d.getFlatCoordinates()),a.push(o.length)}this.setFlatCoordinates(s,o),this.ends_=a}}appendLineString(e){this.flatCoordinates?dn(this.flatCoordinates,e.getFlatCoordinates().slice()):this.flatCoordinates=e.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const e=new Bl(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return e.applyProperties(this),e}closestPointXY(e,i,n,s){return s<hr(this.getExtent(),e,i)?s:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(yh(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Sh(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!1,e,i,n,s))}getCoordinateAtM(e,i,n){return this.layout!="XYM"&&this.layout!="XYZM"||this.flatCoordinates.length===0?null:(i=i!==void 0?i:!1,n=n!==void 0?n:!1,yE(this.flatCoordinates,0,this.ends_,this.stride,e,i,n))}getCoordinates(){return sa(this.flatCoordinates,0,this.ends_,this.stride)}getEnds(){return this.ends_}getLineString(e){return e<0||this.ends_.length<=e?null:new zl(this.flatCoordinates.slice(e===0?0:this.ends_[e-1],this.ends_[e]),this.layout)}getLineStrings(){const e=this.flatCoordinates,i=this.ends_,n=this.layout,s=[];let r=0;for(let o=0,a=i.length;o<a;++o){const c=i[o],u=new zl(e.slice(r,c),n);s.push(u),r=c}return s}getFlatMidpoints(){const e=[],i=this.flatCoordinates;let n=0;const s=this.ends_,r=this.stride;for(let o=0,a=s.length;o<a;++o){const c=s[o],u=m_(i,n,c,r,.5);dn(e,u),n=c}return e}getSimplifiedGeometryInternal(e){const i=[],n=[];return i.length=vE(this.flatCoordinates,0,this.ends_,this.stride,e,i,0,n),new Bl(i,"XY",n)}getType(){return"MultiLineString"}intersectsExtent(e){return EE(this.flatCoordinates,0,this.ends_,this.stride,e)}setCoordinates(e,i){this.setLayout(i,e,2),this.flatCoordinates||(this.flatCoordinates=[]);const n=Eh(this.flatCoordinates,0,e,this.stride,this.ends_);this.flatCoordinates.length=n.length===0?0:n[n.length-1],this.changed()}}const y_=Bl;class Ih extends gr{constructor(e,i){super(),this.setCoordinates(e,i)}clone(){const e=new Ih(this.flatCoordinates.slice(),this.layout);return e.applyProperties(this),e}closestPointXY(e,i,n,s){const r=this.flatCoordinates,o=nr(e,i,r[0],r[1]);if(o<s){const a=this.stride;for(let c=0;c<a;++c)n[c]=r[c];return n.length=a,o}return s}getCoordinates(){return this.flatCoordinates?this.flatCoordinates.slice():[]}computeExtent(e){return O1(this.flatCoordinates,e)}getType(){return"Point"}intersectsExtent(e){return hh(e,this.flatCoordinates[0],this.flatCoordinates[1])}setCoordinates(e,i){this.setLayout(i,e,0),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=pE(this.flatCoordinates,0,e,this.stride),this.changed()}}const no=Ih;class w_{constructor(){this.dataProjection=void 0,this.defaultFeatureProjection=void 0,this.supportedMediaTypes=null}getReadOptions(e,i){if(i){let n=i.dataProjection?Ht(i.dataProjection):this.readProjection(e);i.extent&&n&&n.getUnits()==="tile-pixels"&&(n=Ht(n),n.setWorldExtent(i.extent)),i={dataProjection:n,featureProjection:i.featureProjection}}return this.adaptOptions(i)}adaptOptions(e){return Object.assign({dataProjection:this.dataProjection,featureProjection:this.defaultFeatureProjection},e)}getType(){return je()}readFeature(e,i){return je()}readFeatures(e,i){return je()}readGeometry(e,i){return je()}readProjection(e){return je()}
7writeFeature(e,i){return je()}writeFeatures(e,i){return je()}writeGeometry(e,i){return je()}}function Is(t,e,i){const n=i?Ht(i.featureProjection):null,s=i?Ht(i.dataProjection):null;let r;if(n&&s&&!Vs(n,s)?r=(e?t.clone():t).transform(e?n:s,e?s:n):r=t,e&&i&&i.decimals!==void 0){const o=Math.pow(10,i.decimals),a=function(c){for(let u=0,d=c.length;u<d;++u)c[u]=Math.round(c[u]*o)/o;return c};r===t&&(r=t.clone()),r.applyTransform(a)}return r}const Yg="http://www.w3.org/2001/XMLSchema-instance";function xh(t,e){return Ea().createElementNS(t,e)}function Ac(t,e){return S_(t,e,[]).join("")}function S_(t,e,i){if(t.nodeType==Node.CDATA_SECTION_NODE||t.nodeType==Node.TEXT_NODE)e?i.push(String(t.nodeValue).replace(/(\r\n|\r|\n)/g,"")):i.push(t.nodeValue);else{let n;for(n=t.firstChild;n;n=n.nextSibling)S_(n,e,i)}return i}function Ya(t){return"documentElement"in t}function Xa(t){return new DOMParser().parseFromString(t,"application/xml")}function yu(t,e){return function(i,n){const s=t.call(e!==void 0?e:this,i,n);s!==void 0&&n[n.length-1].push(s)}}function rt(t,e,i){return function(n,s){const r=t.call(i!==void 0?i:this,n,s);if(r!==void 0){const o=s[s.length-1],a=e!==void 0?e:n.localName;o[a]=r}}}function Je(t,e){return function(i,n,s){t.call(e!==void 0?e:this,i,n,s),s[s.length-1].node.appendChild(i)}}function E_(t,e){let i,n;return function(s,r,o){if(i===void 0){i={};const a={};a[s.localName]=t,i[s.namespaceURI]=a,n=Ch(s.localName)}k_(i,n,r,o)}}function Ch(t,e){return function(i,n,s){const o=n[n.length-1].node;let a=t;a===void 0&&(a=s);const c=e!==void 0?e:o.namespaceURI;return xh(c,a)}}const Mc=Ch();function Rh(t,e){const i=e.length,n=new Array(i);for(let s=0;s<i;++s)n[s]=t[e[s]];return n}function li(t,e,i){i=i!==void 0?i:{};let n,s;for(n=0,s=t.length;n<s;++n)i[t[n]]=e;return i}function Ah(t,e,i,n){let s;for(s=e.firstElementChild;s;s=s.nextElementSibling){const r=t[s.namespaceURI];if(r!==void 0){const o=r[s.localName];o!==void 0&&o.call(n,s,i)}}}function go(t,e,i,n,s){return n.push(t),Ah(e,i,n,s),n.pop()}function k_(t,e,i,n,s,r){const o=(s!==void 0?s:i).length;let a,c;for(let u=0;u<o;++u)a=i[u],a!==void 0&&(c=e.call(r!==void 0?r:this,a,n,s!==void 0?s[u]:void 0),c!==void 0&&t[c.namespaceURI][c.localName].call(r,c,a,n))}function po(t,e,i,n,s,r,o){return s.push(t),k_(e,i,n,s,r,o),s.pop()}let wu;function TE(){return wu===void 0&&typeof XMLSerializer<"u"&&(wu=new XMLSerializer),wu}let Su;function Ea(){return Su===void 0&&typeof document<"u"&&(Su=document.implementation.createDocument("","",null)),Su}class IE extends w_{constructor(){super(),this.xmlSerializer_=TE()}getType(){return"xml"}readFeature(e,i){if(e){if(typeof e=="string"){const n=Xa(e);return this.readFeatureFromDocument(n,i)}else if(Ya(e))return this.readFeatureFromDocument(e,i)}else return null;return this.readFeatureFromNode(e,i)}readFeatureFromDocument(e,i){const n=this.readFeaturesFromDocument(e,i);return n.length>0?n[0]:null}readFeatureFromNode(e,i){return null}readFeatures(e,i){if(e){if(typeof e=="string"){const n=Xa(e);return this.readFeaturesFromDocument(n,i)}else if(Ya(e))return this.readFeaturesFromDocument(e,i)}else return[];return this.readFeaturesFromNode(e,i)}readFeaturesFromDocument(e,i){const n=[];for(let s=e.firstChild;s;s=s.nextSibling)s.nodeType==Node.ELEMENT_NODE&&dn(n,this.readFeaturesFromNode(s,i));return n}readFeaturesFromNode(e,i){return je()}readGeometry(e,i){if(e){if(typeof e=="string"){const n=Xa(e);return this.readGeometryFromDocument(n,i)}else if(Ya(e))return this.readGeometryFromDocument(e,i)}else return null;return this.readGeometryFromNode(e,i)}readGeometryFromDocument(e,i){return null}readGeometryFromNode(e,i){return null}readProjection(e){if(e){if(typeof e=="string"){const i=Xa(e);return this.readProjectionFromDocument(i)}else if(Ya(e))return this.readProjectionFromDocument(e)}else return null;return this.readProjectionFromNode(e)}readProjectionFromDocument(e){return this.dataProjection}readProjectionFromNode(e){return this.dataProjection}writeFeature(e,i){const n=this.writeFeatureNode(e,i);return this.xmlSerializer_.serializeToString(n)}writeFeatureNode(e,i){return null}writeFeatures(e,i){const n=this.writeFeaturesNode(e,i);return this.xmlSerializer_.serializeToString(n)}writeFeaturesNode(e,i){return null}writeGeometry(e,i){const n=this.writeGeometryNode(e,i);return this.xmlSerializer_.serializeToString(n)}writeGeometryNode(e,i){return null}}const xE=IE;function Mh(t){const e=Ac(t,!1),i=Date.parse(e);return isNaN(i)?void 0:i/1e3}function Nn(t){const e=Ac(t,!1);return CE(e)}function CE(t){const e=/^\s*([+\-]?\d*\.?\d+(?:e[+\-]?\d+)?)\s*$/i.exec(t);if(e)return parseFloat(e[1])}function Nl(t){const e=Ac(t,!1);return RE(e)}function RE(t){const e=/^\s*(\d+)\s*$/.exec(t);if(e)return parseInt(e[1],10)}function ii(t){return Ac(t,!1).trim()}function AE(t,e){const i=new Date(e*1e3),n=i.getUTCFullYear()+"-"+Ao(i.getUTCMonth()+1,2)+"-"+Ao(i.getUTCDate(),2)+"T"+Ao(i.getUTCHours(),2)+":"+Ao(i.getUTCMinutes(),2)+":"+Ao(i.getUTCSeconds(),2)+"Z";t.appendChild(Ea().createTextNode(n))}function js(t,e){const i=e.toPrecision();t.appendChild(Ea().createTextNode(i))}function Gl(t,e){const i=e.toString();t.appendChild(Ea().createTextNode(i))}function ni(t,e){t.appendChild(Ea().createTextNode(e))}const qt=[null,"http://www.topografix.com/GPX/1/0","http://www.topografix.com/GPX/1/1"],ME="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd",DE={rte:T_,trk:I_,wpt:x_},LE=li(qt,{rte:yu(T_),trk:yu(I_),wpt:yu(x_)}),OE=li(qt,{text:rt(ii,"linkText"),type:rt(ii,"linkType")}),PE=li(qt,{rte:Je(rk),trk:Je(ok),wpt:Je(lk)});class FE extends xE{constructor(e){super(),e=e||{}
7,this.dataProjection=Ht("EPSG:4326"),this.readExtensions_=e.readExtensions}handleReadExtensions_(e){e||(e=[]);for(let i=0,n=e.length;i<n;++i){const s=e[i];if(this.readExtensions_){const r=s.get("extensionsNode_")||null;this.readExtensions_(s,r)}s.set("extensionsNode_",void 0)}}readFeatureFromNode(e,i){if(!qt.includes(e.namespaceURI))return null;const n=DE[e.localName];if(!n)return null;const s=n(e,[this.getReadOptions(e,i)]);return s?(this.handleReadExtensions_([s]),s):null}readFeaturesFromNode(e,i){if(!qt.includes(e.namespaceURI))return[];if(e.localName=="gpx"){const n=go([],LE,e,[this.getReadOptions(e,i)]);return n?(this.handleReadExtensions_(n),n):[]}return[]}writeFeaturesNode(e,i){i=this.adaptOptions(i);const n=xh("http://www.topografix.com/GPX/1/1","gpx"),s="http://www.w3.org/2000/xmlns/";return n.setAttributeNS(s,"xmlns:xsi",Yg),n.setAttributeNS(Yg,"xsi:schemaLocation",ME),n.setAttribute("version","1.1"),n.setAttribute("creator","OpenLayers"),po({node:n},PE,tk,e,[i]),n}}const zE=li(qt,{name:rt(ii),cmt:rt(ii),desc:rt(ii),src:rt(ii),link:Oh,number:rt(Nl),extensions:Ph,type:rt(ii),rtept:ik}),BE=li(qt,{ele:rt(Nn),time:rt(Mh)}),NE=li(qt,{name:rt(ii),cmt:rt(ii),desc:rt(ii),src:rt(ii),link:Oh,number:rt(Nl),type:rt(ii),extensions:Ph,trkseg:sk}),GE=li(qt,{trkpt:nk}),jE=li(qt,{ele:rt(Nn),time:rt(Mh)}),KE=li(qt,{ele:rt(Nn),time:rt(Mh),magvar:rt(Nn),geoidheight:rt(Nn),name:rt(ii),cmt:rt(ii),desc:rt(ii),src:rt(ii),link:Oh,sym:rt(ii),type:rt(ii),fix:rt(ii),sat:rt(Nl),hdop:rt(Nn),vdop:rt(Nn),pdop:rt(Nn),ageofdgpsdata:rt(Nn),dgpsid:rt(Nl),extensions:Ph}),HE=["text","type"],WE=li(qt,{text:Je(ni),type:Je(ni)}),$E=li(qt,["name","cmt","desc","src","link","number","type","rtept"]),ZE=li(qt,{name:Je(ni),cmt:Je(ni),desc:Je(ni),src:Je(ni),link:Je(Fh),number:Je(Gl),type:Je(ni),rtept:E_(Je(zh))}),UE=li(qt,["ele","time"]),VE=li(qt,["name","cmt","desc","src","link","number","type","trkseg"]),YE=li(qt,{name:Je(ni),cmt:Je(ni),desc:Je(ni),src:Je(ni),link:Je(Fh),number:Je(Gl),type:Je(ni),trkseg:E_(Je(ak))}),XE=Ch("trkpt"),qE=li(qt,{trkpt:Je(zh)}),QE=li(qt,["ele","time","magvar","geoidheight","name","cmt","desc","src","link","sym","type","fix","sat","hdop","vdop","pdop","ageofdgpsdata","dgpsid"]),JE=li(qt,{ele:Je(js),time:Je(AE),magvar:Je(js),geoidheight:Je(js),name:Je(ni),cmt:Je(ni),desc:Je(ni),src:Je(ni),link:Je(Fh),sym:Je(ni),type:Je(ni),fix:Je(ni),sat:Je(Gl),hdop:Je(js),vdop:Je(js),pdop:Je(js),ageofdgpsdata:Je(js),dgpsid:Je(Gl)}),ek={Point:"wpt",LineString:"rte",MultiLineString:"trk"};function tk(t,e,i){const n=t.getGeometry();if(n){const s=ek[n.getType()];if(s){const r=e[e.length-1].node;return xh(r.namespaceURI,s)}}}function Dh(t,e,i,n){return t.push(parseFloat(i.getAttribute("lon")),parseFloat(i.getAttribute("lat"))),"ele"in n?(t.push(n.ele),delete n.ele,e.hasZ=!0):t.push(0),"time"in n?(t.push(n.time),delete n.time,e.hasM=!0):t.push(0),t}function Lh(t,e,i){let n="XY",s=2;if(t.hasZ&&t.hasM?(n="XYZM",s=4):t.hasZ?(n="XYZ",s=3):t.hasM&&(n="XYM",s=3),s!==4){for(let r=0,o=e.length/4;r<o;r++)e[r*s]=e[r*4],e[r*s+1]=e[r*4+1],t.hasZ&&(e[r*s+2]=e[r*4+2]),t.hasM&&(e[r*s+2]=e[r*4+3]);if(e.length=e.length/4*s,i)for(let r=0,o=i.length;r<o;r++)i[r]=i[r]/4*s}return n}function Oh(t,e){const i=e[e.length-1],n=t.getAttribute("href");n!==null&&(i.link=n),Ah(OE,t,e)}function Ph(t,e){const i=e[e.length-1];i.extensionsNode_=t}function ik(t,e){const i=go({},BE,t,e);if(i){const n=e[e.length-1],s=n.flatCoordinates,r=n.layoutOptions;Dh(s,r,t,i)}}function nk(t,e){const i=go({},jE,t,e);if(i){const n=e[e.length-1],s=n.flatCoordinates,r=n.layoutOptions;Dh(s,r,t,i)}}function sk(t,e){const i=e[e.length-1];Ah(GE,t,e);const n=i.flatCoordinates;i.ends.push(n.length)}function T_(t,e){const i=e[0],n=go({flatCoordinates:[],layoutOptions:{}},zE,t,e);if(!n)return;const s=n.flatCoordinates;delete n.flatCoordinates;const r=n.layoutOptions;delete n.layoutOptions;const o=Lh(r,s),a=new zl(s,o);Is(a,!1,i);const c=new Sc(a);return c.setProperties(n,!0),c}function I_(t,e){const i=e[0],n=go({flatCoordinates:[],ends:[],layoutOptions:{}},NE,t,e);if(!n)return;const s=n.flatCoordinates;delete n.flatCoordinates;const r=n.ends;delete n.ends;const o=n.layoutOptions;delete n.layoutOptions;const a=Lh(o,s,r),c=new y_(s,a,r);Is(c,!1,i);const u=new Sc(c);return u.setProperties(n,!0),u}function x_(t,e){const i=e[0],n=go({},KE,t,e);if(!n)return;const s={},r=Dh([],s,t,n),o=Lh(s,r),a=new no(r,o);Is(a,!1,i);const c=new Sc(a);return c.setProperties(n,!0),c}function Fh(t,e,i){t.setAttribute("href",e);const s=i[i.length-1].properties,r=[s.linkText,s.linkType];po({node:t},WE,Mc,r,i,HE)}
7function zh(t,e,i){const n=i[i.length-1],r=n.node.namespaceURI,o=n.properties;switch(t.setAttributeNS(null,"lat",String(e[1])),t.setAttributeNS(null,"lon",String(e[0])),n.geometryLayout){case"XYZM":e[3]!==0&&(o.time=e[3]);case"XYZ":e[2]!==0&&(o.ele=e[2]);break;case"XYM":e[2]!==0&&(o.time=e[2]);break}const c=t.nodeName=="rtept"?UE[r]:QE[r],u=Rh(o,c);po({node:t,properties:o},JE,Mc,u,i,c)}function rk(t,e,i){const n=i[0],s=e.getProperties(),r={node:t};r.properties=s;const o=e.getGeometry();if(o.getType()=="LineString"){const d=Is(o,!0,n);r.geometryLayout=d.getLayout(),s.rtept=d.getCoordinates()}const a=i[i.length-1].node,c=$E[a.namespaceURI],u=Rh(s,c);po(r,ZE,Mc,u,i,c)}function ok(t,e,i){const n=i[0],s=e.getProperties(),r={node:t};r.properties=s;const o=e.getGeometry();if(o.getType()=="MultiLineString"){const d=Is(o,!0,n);s.trkseg=d.getLineStrings()}const a=i[i.length-1].node,c=VE[a.namespaceURI],u=Rh(s,c);po(r,YE,Mc,u,i,c)}function ak(t,e,i){const n={node:t};n.geometryLayout=e.getLayout(),n.properties={},po(n,qE,XE,e.getCoordinates(),i)}function lk(t,e,i){const n=i[0],s=i[i.length-1];s.properties=e.getProperties();const r=e.getGeometry();if(r.getType()=="Point"){const o=Is(r,!0,n);s.geometryLayout=o.getLayout(),zh(t,o.getCoordinates(),i)}}const ck=FE,Ai={ADD:"add",REMOVE:"remove"},Xg={LENGTH:"length"};class qa extends Cn{constructor(e,i,n){super(e),this.element=i,this.index=n}}class uk extends fn{constructor(e,i){if(super(),this.on,this.once,this.un,i=i||{},this.unique_=!!i.unique,this.array_=e||[],this.unique_)for(let n=0,s=this.array_.length;n<s;++n)this.assertUnique_(this.array_[n],n);this.updateLength_()}clear(){for(;this.getLength()>0;)this.pop()}extend(e){for(let i=0,n=e.length;i<n;++i)this.push(e[i]);return this}forEach(e){const i=this.array_;for(let n=0,s=i.length;n<s;++n)e(i[n],n,i)}getArray(){return this.array_}item(e){return this.array_[e]}getLength(){return this.get(Xg.LENGTH)}insertAt(e,i){if(e<0||e>this.getLength())throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(i),this.array_.splice(e,0,i),this.updateLength_(),this.dispatchEvent(new qa(Ai.ADD,i,e))}pop(){return this.removeAt(this.getLength()-1)}push(e){this.unique_&&this.assertUnique_(e);const i=this.getLength();return this.insertAt(i,e),this.getLength()}remove(e){const i=this.array_;for(let n=0,s=i.length;n<s;++n)if(i[n]===e)return this.removeAt(n)}removeAt(e){if(e<0||e>=this.getLength())return;const i=this.array_[e];return this.array_.splice(e,1),this.updateLength_(),this.dispatchEvent(new qa(Ai.REMOVE,i,e)),i}setAt(e,i){const n=this.getLength();if(e>=n){this.insertAt(e,i);return}if(e<0)throw new Error("Index out of bounds: "+e);this.unique_&&this.assertUnique_(i,e);const s=this.array_[e];this.array_[e]=i,this.dispatchEvent(new qa(Ai.REMOVE,s,e)),this.dispatchEvent(new qa(Ai.ADD,i,e))}updateLength_(){this.set(Xg.LENGTH,this.array_.length)}assertUnique_(e,i){for(let n=0,s=this.array_.length;n<s;++n)if(this.array_[n]===e&&n!==i)throw new Vv(58)}}const Sn=uk,_s={PRERENDER:"prerender",POSTRENDER:"postrender",PRECOMPOSE:"precompose",POSTCOMPOSE:"postcompose",RENDERCOMPLETE:"rendercomplete"};class Bh{constructor(e){e=e||{},this.color_=e.color!==void 0?e.color:null}clone(){const e=this.getColor();return new Bh({color:Array.isArray(e)?e.slice():e||void 0})}getColor(){return this.color_}setColor(e){this.color_=e}}const vn=Bh;class Nh{constructor(e){e=e||{},this.color_=e.color!==void 0?e.color:null,this.lineCap_=e.lineCap,this.lineDash_=e.lineDash!==void 0?e.lineDash:null,this.lineDashOffset_=e.lineDashOffset,this.lineJoin_=e.lineJoin,this.miterLimit_=e.miterLimit,this.width_=e.width}clone(){const e=this.getColor();return new Nh({color:Array.isArray(e)?e.slice():e||void 0,lineCap:this.getLineCap(),lineDash:this.getLineDash()?this.getLineDash().slice():void 0,lineDashOffset:this.getLineDashOffset(),lineJoin:this.getLineJoin(),miterLimit:this.getMiterLimit(),width:this.getWidth()})}getColor(){return this.color_}getLineCap(){return this.lineCap_}getLineDash(){return this.lineDash_}getLineDashOffset(){return this.lineDashOffset_}getLineJoin(){return this.lineJoin_}getMiterLimit(){return this.miterLimit_}getWidth(){return this.width_}setColor(e){this.color_=e}setLineCap(e){this.lineCap_=e}setLineDash(e){this.lineDash_=e}setLineDashOffset(e){this.lineDashOffset_=e}setLineJoin(e){this.lineJoin_=e}setMiterLimit(e){this.miterLimit_=e}setWidth(e){this.width_=e}}const mn=Nh,si={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function qg(t){return t[0]>0&&t[1]>0}
7function dk(t,e,i){return i===void 0&&(i=[0,0]),i[0]=t[0]*e+.5|0,i[1]=t[1]*e+.5|0,i}function Bi(t,e){return Array.isArray(t)?t:(e===void 0?e=[t,t]:(e[0]=t,e[1]=t),e)}class Gh{constructor(e){this.opacity_=e.opacity,this.rotateWithView_=e.rotateWithView,this.rotation_=e.rotation,this.scale_=e.scale,this.scaleArray_=Bi(e.scale),this.displacement_=e.displacement,this.declutterMode_=e.declutterMode}clone(){const e=this.getScale();return new Gh({opacity:this.getOpacity(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()})}getOpacity(){return this.opacity_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getDisplacement(){return this.displacement_}getDeclutterMode(){return this.declutterMode_}getAnchor(){return je()}getImage(e){return je()}getHitDetectionImage(){return je()}getPixelRatio(e){return 1}getImageState(){return je()}getImageSize(){return je()}getOrigin(){return je()}getSize(){return je()}setDisplacement(e){this.displacement_=e}setOpacity(e){this.opacity_=e}setRotateWithView(e){this.rotateWithView_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=Bi(e)}listenImageChange(e){je()}load(){je()}unlistenImageChange(e){je()}}const C_=Gh,hk=/^#([a-f0-9]{3}|[a-f0-9]{4}(?:[a-f0-9]{2}){0,2})$/i,fk=/^([a-z]*)$|^hsla?\(.*\)$/i;function R_(t){return typeof t=="string"?t:A_(t)}function gk(t){const e=document.createElement("div");if(e.style.color=t,e.style.color!==""){document.body.appendChild(e);const i=getComputedStyle(e).color;return document.body.removeChild(e),i}return""}const pk=function(){const e={};let i=0;return function(n){let s;if(e.hasOwnProperty(n))s=e[n];else{if(i>=1024){let r=0;for(const o in e)r++&3||(delete e[o],--i)}s=mk(n),e[n]=s,++i}return s}}();function jl(t){return Array.isArray(t)?t:pk(t)}function mk(t){let e,i,n,s,r;if(fk.exec(t)&&(t=gk(t)),hk.exec(t)){const o=t.length-1;let a;o<=4?a=1:a=2;const c=o===4||o===8;e=parseInt(t.substr(1+0*a,a),16),i=parseInt(t.substr(1+1*a,a),16),n=parseInt(t.substr(1+2*a,a),16),c?s=parseInt(t.substr(1+3*a,a),16):s=255,a==1&&(e=(e<<4)+e,i=(i<<4)+i,n=(n<<4)+n,c&&(s=(s<<4)+s)),r=[e,i,n,s/255]}else t.startsWith("rgba(")?(r=t.slice(5,-1).split(",").map(Number),Qg(r)):t.startsWith("rgb(")?(r=t.slice(4,-1).split(",").map(Number),r.push(1),Qg(r)):tt(!1,14);return r}function Qg(t){return t[0]=Kt(t[0]+.5|0,0,255),t[1]=Kt(t[1]+.5|0,0,255),t[2]=Kt(t[2]+.5|0,0,255),t[3]=Kt(t[3],0,1),t}function A_(t){let e=t[0];e!=(e|0)&&(e=e+.5|0);let i=t[1];i!=(i|0)&&(i=i+.5|0);let n=t[2];n!=(n|0)&&(n=n+.5|0);const s=t[3]===void 0?1:Math.round(t[3]*100)/100;return"rgba("+e+","+i+","+n+","+s+")"}function En(t){return Array.isArray(t)?A_(t):t}function Si(t,e,i,n){let s;return i&&i.length?s=i.shift():ch?s=new OffscreenCanvas(t||300,e||300):s=document.createElement("canvas"),t&&(s.width=t),e&&(s.height=e),s.getContext("2d",n)}function Dc(t){const e=t.canvas;e.width=1,e.height=1,t.clearRect(0,0,1,1)}function Jg(t,e){const i=e.parentNode;i&&i.replaceChild(t,e)}function md(t){return t&&t.parentNode?t.parentNode.removeChild(t):null}function vk(t){for(;t.lastChild;)t.removeChild(t.lastChild)}function _k(t,e){const i=t.childNodes;for(let n=0;;++n){const s=i[n],r=e[n];if(!s&&!r)break;if(s!==r){if(!s){t.appendChild(r);continue}if(!r){t.removeChild(s),--n;continue}t.insertBefore(r,s)}}}const Qa="ol-hidden",ur="ol-unselectable",Lc="ol-control",ep="ol-collapsed",bk=new RegExp(["^\\s*(?=(?:(?:[-a-z]+\\s*){0,2}(italic|oblique))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(small-caps))?)","(?=(?:(?:[-a-z]+\\s*){0,2}(bold(?:er)?|lighter|[1-9]00 ))?)","(?:(?:normal|\\1|\\2|\\3)\\s*){0,3}((?:xx?-)?","(?:small|large)|medium|smaller|larger|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx]))","(?:\\s*\\/\\s*(normal|[\\.\\d]+(?:\\%|in|[cem]m|ex|p[ctx])?))",`?\\s*([-,\\"\\'\\sa-z]+?)\\s*$`].join(""),"i"),tp=["style","variant","weight","size","lineHeight","family"],M_=function(t){const e=t.match(bk);if(!e)return null;const i={lineHeight:"normal",size:"1.2em",style:"normal",weight:"normal",variant:"normal"};for(let n=0,s=tp.length;n<s;++n){const r=e[n+1];r!==void 0&&(i[tp[n]]=r)}return i.families=i.family.split(/,\s?/),i}
7,D_="10px sans-serif",Kn="#000",Kl="round",ra=[],oa=0,so="round",aa=10,la="#000",ca="center",Hl="middle",Js=[0,0,0,0],ua=1,zn=new fn;let Ar=null,vd;const _d={},yk=function(){const e="32px ",i=["monospace","serif"],n=i.length,s="wmytzilWMYTZIL@#/&?$%10";let r,o;function a(u,d,g){let v=!0;for(let _=0;_<n;++_){const y=i[_];if(o=Wl(u+" "+d+" "+e+y,s),g!=y){const S=Wl(u+" "+d+" "+e+g+","+y,s);v=v&&S!=o}}return!!v}function c(){let u=!0;const d=zn.getKeys();for(let g=0,v=d.length;g<v;++g){const _=d[g];zn.get(_)<100&&(a.apply(this,_.split(`
8`))?(ya(_d),Ar=null,vd=void 0,zn.set(_,100)):(zn.set(_,zn.get(_)+1,!0),u=!1))}u&&(clearInterval(r),r=void 0)}return function(u){const d=M_(u);if(!d)return;const g=d.families;for(let v=0,_=g.length;v<_;++v){const y=g[v],S=d.style+`
9`+d.weight+`
10`+y;zn.get(S)===void 0&&(zn.set(S,100,!0),a(d.style,d.weight,y)||(zn.set(S,0,!0),r===void 0&&(r=setInterval(c,32))))}}}(),wk=function(){let t;return function(e){let i=_d[e];if(i==null){if(ch){const n=M_(e),s=L_(e,"Žg");i=(isNaN(Number(n.lineHeight))?1.2:Number(n.lineHeight))*(s.actualBoundingBoxAscent+s.actualBoundingBoxDescent)}else t||(t=document.createElement("div"),t.innerHTML="M",t.style.minHeight="0",t.style.maxHeight="none",t.style.height="auto",t.style.padding="0",t.style.border="none",t.style.position="absolute",t.style.display="block",t.style.left="-99999px"),t.style.font=e,document.body.appendChild(t),i=t.offsetHeight,document.body.removeChild(t);_d[e]=i}return i}}();function L_(t,e){return Ar||(Ar=Si(1,1)),t!=vd&&(Ar.font=t,vd=Ar.font),Ar.measureText(e)}function Wl(t,e){return L_(t,e).width}function ip(t,e,i){if(e in i)return i[e];const n=e.split(`
11`).reduce((s,r)=>Math.max(s,Wl(t,r)),0);return i[e]=n,n}function Sk(t,e){const i=[],n=[],s=[];let r=0,o=0,a=0,c=0;for(let u=0,d=e.length;u<=d;u+=2){const g=e[u];if(g===`
12`||u===d){r=Math.max(r,o),s.push(o),o=0,a+=c;continue}const v=e[u+1]||t.font,_=Wl(v,g);i.push(_),o+=_;const y=wk(v);n.push(y),c=Math.max(c,y)}return{width:r,height:a,widths:i,heights:n,lineWidths:s}}function Ek(t,e,i,n,s,r,o,a,c,u,d){t.save(),i!==1&&(t.globalAlpha*=i),e&&t.setTransform.apply(t,e),n.contextInstructions?(t.translate(c,u),t.scale(d[0],d[1]),kk(n,t)):d[0]<0||d[1]<0?(t.translate(c,u),t.scale(d[0],d[1]),t.drawImage(n,s,r,o,a,0,0,o,a)):t.drawImage(n,s,r,o,a,c,u,o*d[0],a*d[1]),t.restore()}function kk(t,e){const i=t.contextInstructions;for(let n=0,s=i.length;n<s;n+=2)Array.isArray(i[n+1])?e[i[n]].apply(e,i[n+1]):e[i[n]]=i[n+1]}class jh extends C_{constructor(e){const i=e.rotateWithView!==void 0?e.rotateWithView:!1;super({opacity:1,rotateWithView:i,rotation:e.rotation!==void 0?e.rotation:0,scale:e.scale!==void 0?e.scale:1,displacement:e.displacement!==void 0?e.displacement:[0,0],declutterMode:e.declutterMode}),this.canvas_=void 0,this.hitDetectionCanvas_=null,this.fill_=e.fill!==void 0?e.fill:null,this.origin_=[0,0],this.points_=e.points,this.radius_=e.radiu
12s!==void 0?e.radius:e.radius1,this.radius2_=e.radius2,this.angle_=e.angle!==void 0?e.angle:0,this.stroke_=e.stroke!==void 0?e.stroke:null,this.size_=null,this.renderOptions_=null,this.render()}clone(){const e=this.getScale(),i=new jh({fill:this.getFill()?this.getFill().clone():void 0,points:this.getPoints(),radius:this.getRadius(),radius2:this.getRadius2(),angle:this.getAngle(),stroke:this.getStroke()?this.getStroke().clone():void 0,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return i.setOpacity(this.getOpacity()),i}getAnchor(){const e=this.size_;if(!e)return null;const i=this.getDisplacement(),n=this.getScaleArray();return[e[0]/2-i[0]/n[0],e[1]/2+i[1]/n[1]]}getAngle(){return this.angle_}getFill(){return this.fill_}setFill(e){this.fill_=e,this.render()}getHitDetectionImage(){return this.hitDetectionCanvas_||this.createHitDetectionCanvas_(this.renderOptions_),this.hitDetectionCanvas_}getImage(e){let i=this.canvas_[e];if(!i){const n=this.renderOptions_,s=Si(n.size*e,n.size*e);this.draw_(n,s,e),i=s.canvas,this.canvas_[e]=i}return i}getPixelRatio(e){return e}getImageSize(){return this.size_}getImageState(){return si.LOADED}getOrigin(){return this.origin_}getPoints(){return this.points_}getRadius(){return this.radius_}getRadius2(){return this.radius2_}getSize(){return this.size_}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e,this.render()}listenImageChange(e){}load(){}unlistenImageChange(e){}calculateLineJoinSize_(e,i,n){if(i===0||this.points_===1/0||e!=="bevel"&&e!=="miter")return i;let s=this.radius_,r=this.radius2_===void 0?s:this.radius2_;if(s<r){const p=s;s=r,r=p}const o=this.radius2_===void 0?this.points_:this.points_*2,a=2*Math.PI/o,c=r*Math.sin(a),u=Math.sqrt(r*r-c*c),d=s-u,g=Math.sqrt(c*c+d*d),v=g/c;if(e==="miter"&&v<=n)return v*i;const _=i/2/v,y=i/2*(d/g),C=Math.sqrt((s+_)*(s+_)+y*y)-s;if(this.radius2_===void 0||e==="bevel")return C*2;const x=s*Math.sin(a),I=Math.sqrt(s*s-x*x),R=r-I,Z=Math.sqrt(x*x+R*R)/x;if(Z<=n){const p=Z*i/2-r-s;return 2*Math.max(C,p)}return C*2}createRenderOptions(){let e=so,i=0,n=null,s=0,r,o=0;this.stroke_&&(r=this.stroke_.getColor(),r===null&&(r=la),r=En(r),o=this.stroke_.getWidth(),o===void 0&&(o=ua),n=this.stroke_.getLineDash(),s=this.stroke_.getLineDashOffset(),e=this.stroke_.getLineJoin(),e===void 0&&(e=so),i=this.stroke_.getMiterLimit(),i===void 0&&(i=aa));const a=this.calculateLineJoinSize_(e,o,i),c=Math.max(this.radius_,this.radius2_||0),u=Math.ceil(2*c+a);return{strokeStyle:r,strokeWidth:o,size:u,lineDash:n,lineDashOffset:s,lineJoin:e,miterLimit:i}}render(){this.renderOptions_=this.createRenderOptions();const e=this.renderOptions_.size;this.canvas_={},this.size_=[e,e]}draw_(e,i,n){if(i.scale(n,n),i.translate(e.size/2,e.size/2),this.createPath_(i),this.fill_){let s=this.fill_.getColor();s===null&&(s=Kn),i.fillStyle=En(s),i.fill()}this.stroke_&&(i.strokeStyle=e.strokeStyle,i.lineWidth=e.strokeWidth,e.lineDash&&(i.setLineDash(e.lineDash),i.lineDashOffset=e.lineDashOffset),i.lineJoin=e.lineJoin,i.miterLimit=e.miterLimit,i.stroke())}createHitDetectionCanvas_(e){if(this.fill_){let i=this.fill_.getColor(),n=0;if(typeof i=="string"&&(i=jl(i)),i===null?n=1:Array.isArray(i)&&(n=i.length===4?i[3]:1),n===0){const s=Si(e.size,e.size);this.hitDetectionCanvas_=s.canvas,this.drawHitDetectionCanvas_(e,s)}}this.hitDetectionCanvas_||(this.hitDetectionCanvas_=this.getImage(1))}createPath_(e){let i=this.points_;const n=this.radius_;if(i===1/0)e.arc(0,0,n,0,2*Math.PI);else{const s=this.radius2_===void 0?n:this.radius2_;this.radius2_!==void 0&&(i*=2);const r=this.angle_-Math.PI/2,o=2*Math.PI/i;for(let a=0;a<i;a++){const c=r+a*o,u=a%2===0?n:s;e.lineTo(u*Math.cos(c),u*Math.sin(c))}e.closePath()}}drawHitDetectionCanvas_(e,i){i.translate(e.size/2,e.size/2),this.createPath_(i),i.fillStyle=Kn,i.fill(),this.stroke_&&(i.strokeStyle=e.strokeStyle,i.lineWidth=e.strokeWidth,e.lineDash&&(i.setLineDash(e.lineDash),i.lineDashOffset=e.lineDashOffset),i.lineJoin=e.lineJoin,i.miterLimit=e.miterLimit,i.stroke())}}const O_=jh;class Kh extends O_{constructor(e){e=e||{radius:5},super({points:1/0,fill:e.fill,radius:e.radius,stroke:e.stroke,scale:e.scale!==void 0?e.scale:1,rotation:e.rotation!==void 0?e.rotation:0,rotateWithView:e.rotateWithView!==void 0?e.rotateWithView:!1,displacement:e.displacement!==void 0?e.displacement:[0,0],declutterMode:e.declutterMode})}clone(){const e=this.getScale(),i=new Kh({fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.get
12Stroke().clone():void 0,radius:this.getRadius(),scale:Array.isArray(e)?e.slice():e,rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode()});return i.setOpacity(this.getOpacity()),i}setRadius(e){this.radius_=e,this.render()}}const $l=Kh;class Oc{constructor(e){e=e||{},this.geometry_=null,this.geometryFunction_=np,e.geometry!==void 0&&this.setGeometry(e.geometry),this.fill_=e.fill!==void 0?e.fill:null,this.image_=e.image!==void 0?e.image:null,this.renderer_=e.renderer!==void 0?e.renderer:null,this.hitDetectionRenderer_=e.hitDetectionRenderer!==void 0?e.hitDetectionRenderer:null,this.stroke_=e.stroke!==void 0?e.stroke:null,this.text_=e.text!==void 0?e.text:null,this.zIndex_=e.zIndex}clone(){let e=this.getGeometry();return e&&typeof e=="object"&&(e=e.clone()),new Oc({geometry:e,fill:this.getFill()?this.getFill().clone():void 0,image:this.getImage()?this.getImage().clone():void 0,renderer:this.getRenderer(),stroke:this.getStroke()?this.getStroke().clone():void 0,text:this.getText()?this.getText().clone():void 0,zIndex:this.getZIndex()})}getRenderer(){return this.renderer_}setRenderer(e){this.renderer_=e}setHitDetectionRenderer(e){this.hitDetectionRenderer_=e}getHitDetectionRenderer(){return this.hitDetectionRenderer_}getGeometry(){return this.geometry_}getGeometryFunction(){return this.geometryFunction_}getFill(){return this.fill_}setFill(e){this.fill_=e}getImage(){return this.image_}setImage(e){this.image_=e}getStroke(){return this.stroke_}setStroke(e){this.stroke_=e}getText(){return this.text_}setText(e){this.text_=e}getZIndex(){return this.zIndex_}setGeometry(e){typeof e=="function"?this.geometryFunction_=e:typeof e=="string"?this.geometryFunction_=function(i){return i.get(e)}:e?e!==void 0&&(this.geometryFunction_=function(){return e}):this.geometryFunction_=np,this.geometry_=e}setZIndex(e){this.zIndex_=e}}function Tk(t){let e;if(typeof t=="function")e=t;else{let i;Array.isArray(t)?i=t:(tt(typeof t.getZIndex=="function",41),i=[t]),e=function(){return i}}return e}let Eu=null;function Ik(t,e){if(!Eu){const i=new vn({color:"rgba(255,255,255,0.4)"}),n=new mn({color:"#3399CC",width:1.25});Eu=[new Oc({image:new $l({fill:i,stroke:n,radius:5}),fill:i,stroke:n})]}return Eu}function np(t){return t.getGeometry()}const wi=Oc,xk="#333";class Hh{constructor(e){e=e||{},this.font_=e.font,this.rotation_=e.rotation,this.rotateWithView_=e.rotateWithView,this.scale_=e.scale,this.scaleArray_=Bi(e.scale!==void 0?e.scale:1),this.text_=e.text,this.textAlign_=e.textAlign,this.justify_=e.justify,this.textBaseline_=e.textBaseline,this.fill_=e.fill!==void 0?e.fill:new vn({color:xk}),this.maxAngle_=e.maxAngle!==void 0?e.maxAngle:Math.PI/4,this.placement_=e.placement!==void 0?e.placement:"point",this.overflow_=!!e.overflow,this.stroke_=e.stroke!==void 0?e.stroke:null,this.offsetX_=e.offsetX!==void 0?e.offsetX:0,this.offsetY_=e.offsetY!==void 0?e.offsetY:0,this.backgroundFill_=e.backgroundFill?e.backgroundFill:null,this.backgroundStroke_=e.backgroundStroke?e.backgroundStroke:null,this.padding_=e.padding===void 0?null:e.padding}clone(){const e=this.getScale();return new Hh({font:this.getFont(),placement:this.getPlacement(),maxAngle:this.getMaxAngle(),overflow:this.getOverflow(),rotation:this.getRotation(),rotateWithView:this.getRotateWithView(),scale:Array.isArray(e)?e.slice():e,text:this.getText(),textAlign:this.getTextAlign(),justify:this.getJustify(),textBaseline:this.getTextBaseline(),fill:this.getFill()?this.getFill().clone():void 0,stroke:this.getStroke()?this.getStroke().clone():void 0,offsetX:this.getOffsetX(),offsetY:this.getOffsetY(),backgroundFill:this.getBackgroundFill()?this.getBackgroundFill().clone():void 0,backgroundStroke:this.getBackgroundStroke()?this.getBackgroundStroke().clone():void 0,padding:this.getPadding()||void 0})}getOverflow(){return this.overflow_}getFont(){return this.font_}getMaxAngle(){return this.maxAngle_}getPlacement(){return this.placement_}getOffsetX(){return this.offsetX_}getOffsetY(){return this.offsetY_}getFill(){return this.fill_}getRotateWithView(){return this.rotateWithView_}getRotation(){return this.rotation_}getScale(){return this.scale_}getScaleArray(){return this.scaleArray_}getStroke(){return this.stroke_}getText(){return this.text_}getTextAlign(){return this.textAlign_}getJustify(){return this.justify_}getTextBaseline(){return this.textBaseline_}
12getBackgroundFill(){return this.backgroundFill_}getBackgroundStroke(){return this.backgroundStroke_}getPadding(){return this.padding_}setOverflow(e){this.overflow_=e}setFont(e){this.font_=e}setMaxAngle(e){this.maxAngle_=e}setOffsetX(e){this.offsetX_=e}setOffsetY(e){this.offsetY_=e}setPlacement(e){this.placement_=e}setRotateWithView(e){this.rotateWithView_=e}setFill(e){this.fill_=e}setRotation(e){this.rotation_=e}setScale(e){this.scale_=e,this.scaleArray_=Bi(e!==void 0?e:1)}setStroke(e){this.stroke_=e}setText(e){this.text_=e}setTextAlign(e){this.textAlign_=e}setJustify(e){this.justify_=e}setTextBaseline(e){this.textBaseline_=e}setBackgroundFill(e){this.backgroundFill_=e}setBackgroundStroke(e){this.backgroundStroke_=e}setPadding(e){this.padding_=e}}const bd=Hh,_t={OPACITY:"opacity",VISIBLE:"visible",EXTENT:"extent",Z_INDEX:"zIndex",MAX_RESOLUTION:"maxResolution",MIN_RESOLUTION:"minResolution",MAX_ZOOM:"maxZoom",MIN_ZOOM:"minZoom",SOURCE:"source",MAP:"map"};class Ck extends fn{constructor(e){super(),this.on,this.once,this.un,this.background_=e.background;const i=Object.assign({},e);typeof e.properties=="object"&&(delete i.properties,Object.assign(i,e.properties)),i[_t.OPACITY]=e.opacity!==void 0?e.opacity:1,tt(typeof i[_t.OPACITY]=="number",64),i[_t.VISIBLE]=e.visible!==void 0?e.visible:!0,i[_t.Z_INDEX]=e.zIndex,i[_t.MAX_RESOLUTION]=e.maxResolution!==void 0?e.maxResolution:1/0,i[_t.MIN_RESOLUTION]=e.minResolution!==void 0?e.minResolution:0,i[_t.MIN_ZOOM]=e.minZoom!==void 0?e.minZoom:-1/0,i[_t.MAX_ZOOM]=e.maxZoom!==void 0?e.maxZoom:1/0,this.className_=i.className!==void 0?i.className:"ol-layer",delete i.className,this.setProperties(i),this.state_=null}getBackground(){return this.background_}getClassName(){return this.className_}getLayerState(e){const i=this.state_||{layer:this,managed:e===void 0?!0:e},n=this.getZIndex();return i.opacity=Kt(Math.round(this.getOpacity()*100)/100,0,1),i.visible=this.getVisible(),i.extent=this.getExtent(),i.zIndex=n===void 0&&!i.managed?1/0:n,i.maxResolution=this.getMaxResolution(),i.minResolution=Math.max(this.getMinResolution(),0),i.minZoom=this.getMinZoom(),i.maxZoom=this.getMaxZoom(),this.state_=i,i}getLayersArray(e){return je()}getLayerStatesArray(e){return je()}getExtent(){return this.get(_t.EXTENT)}getMaxResolution(){return this.get(_t.MAX_RESOLUTION)}getMinResolution(){return this.get(_t.MIN_RESOLUTION)}getMinZoom(){return this.get(_t.MIN_ZOOM)}getMaxZoom(){return this.get(_t.MAX_ZOOM)}getOpacity(){return this.get(_t.OPACITY)}getSourceState(){return je()}getVisible(){return this.get(_t.VISIBLE)}getZIndex(){return this.get(_t.Z_INDEX)}setBackground(e){this.background_=e,this.changed()}setExtent(e){this.set(_t.EXTENT,e)}setMaxResolution(e){this.set(_t.MAX_RESOLUTION,e)}setMinResolution(e){this.set(_t.MIN_RESOLUTION,e)}setMaxZoom(e){this.set(_t.MAX_ZOOM,e)}setMinZoom(e){this.set(_t.MIN_ZOOM,e)}setOpacity(e){tt(typeof e=="number",64),this.set(_t.OPACITY,e)}setVisible(e){this.set(_t.VISIBLE,e)}setZIndex(e){this.set(_t.Z_INDEX,e)}disposeInternal(){this.state_&&(this.state_.layer=null,this.state_=null),super.disposeInternal()}}const P_=Ck;class Rk extends P_{constructor(e){const i=Object.assign({},e);delete i.source,super(i),this.on,this.once,this.un,this.mapPrecomposeKey_=null,this.mapRenderKey_=null,this.sourceChangeKey_=null,this.renderer_=null,this.sourceReady_=!1,this.rendered=!1,e.render&&(this.render=e.render),e.map&&this.setMap(e.map),this.addChangeListener(_t.SOURCE,this.handleSourcePropertyChange_);const n=e.source?e.source:null;this.setSource(n)}getLayersArray(e){return e=e||[],e.push(this),e}getLayerStatesArray(e){return e=e||[],e.push(this.getLayerState()),e}getSource(){return this.get(_t.SOURCE)||null}getRenderSource(){return this.getSource()}getSourceState(){const e=this.getSource();return e?e.getState():"undefined"}handleSourceChange_(){this.changed(),!(this.sourceReady_||this.get
12Source().getState()!=="ready")&&(this.sourceReady_=!0,this.dispatchEvent("sourceready"))}handleSourcePropertyChange_(){this.sourceChangeKey_&&(Rt(this.sourceChangeKey_),this.sourceChangeKey_=null),this.sourceReady_=!1;const e=this.getSource();e&&(this.sourceChangeKey_=ot(e,Xe.CHANGE,this.handleSourceChange_,this),e.getState()==="ready"&&(this.sourceReady_=!0,setTimeout(()=>{this.dispatchEvent("sourceready")},0))),this.changed()}getFeatures(e){return this.renderer_?this.renderer_.getFeatures(e):Promise.resolve([])}getData(e){return!this.renderer_||!this.rendered?null:this.renderer_.getData(e)}render(e,i){const n=this.getRenderer();if(n.prepareFrame(e))return this.rendered=!0,n.renderFrame(e,i)}unrender(){this.rendered=!1}setMapInternal(e){e||this.unrender(),this.set(_t.MAP,e)}getMapInternal(){return this.get(_t.MAP)}setMap(e){this.mapPrecomposeKey_&&(Rt(this.mapPrecomposeKey_),this.mapPrecomposeKey_=null),e||this.changed(),this.mapRenderKey_&&(Rt(this.mapRenderKey_),this.mapRenderKey_=null),e&&(this.mapPrecomposeKey_=ot(e,_s.PRECOMPOSE,function(i){const s=i.frameState.layerStatesArray,r=this.getLayerState(!1);tt(!s.some(function(o){return o.layer===r.layer}),67),s.push(r)},this),this.mapRenderKey_=ot(this,Xe.CHANGE,e.render,e),this.changed())}setSource(e){this.set(_t.SOURCE,e)}getRenderer(){return this.renderer_||(this.renderer_=this.createRenderer()),this.renderer_}hasRenderer(){return!!this.renderer_}createRenderer(){return null}disposeInternal(){this.renderer_&&(this.renderer_.dispose(),delete this.renderer_),this.setSource(null),super.disposeInternal()}}function Wh(t,e){if(!t.visible)return!1;const i=e.resolution;if(i<t.minResolution||i>=t.maxResolution)return!1;const n=e.zoom;return n>t.minZoom&&n<=t.maxZoom}const Pc=Rk;function Ak(t,e,i,n,s){F_(t,e,i||0,n||t.length-1,s||Mk)}function F_(t,e,i,n,s){for(;n>i;){if(n-i>600){var r=n-i+1,o=e-i+1,a=Math.log(r),c=.5*Math.exp(2*a/3),u=.5*Math.sqrt(a*c*(r-c)/r)*(o-r/2<0?-1:1),d=Math.max(i,Math.floor(e-o*c/r+u)),g=Math.min(n,Math.floor(e+(r-o)*c/r+u));F_(t,e,d,g,s)}var v=t[e],_=i,y=n;for(Mo(t,i,e),s(t[n],v)>0&&Mo(t,i,n);_<y;){for(Mo(t,_,y),_++,y--;s(t[_],v)<0;)_++;for(;s(t[y],v)>0;)y--}s(t[i],v)===0?Mo(t,i,y):(y++,Mo(t,y,n)),y<=e&&(i=y+1),e<=y&&(n=y-1)}}function Mo(t,e,i){var n=t[e];t[e]=t[i],t[i]=n}function Mk(t,e){return t<e?-1:t>e?1:0}let z_=class{constructor(e=9){this._maxEntries=Math.max(4,e),this._minEntries=Math.max(2,Math.ceil(this._maxEntries*.4)),this.clear()}all(){return this._all(this.data,[])}search(e){let i=this.data;const n=[];if(!el(e,i))return n;const s=this.toBBox,r=[];for(;i;){for(let o=0;o<i.children.length;o++){const a=i.children[o],c=i.leaf?s(a):a;el(e,c)&&(i.leaf?n.push(a):Tu(e,c)?this._all(a,n):r.push(a))}i=r.pop()}return n}collides(e){let i=this.data;if(!el(e,i))return!1;const n=[];for(;i;){for(let s=0;s<i.children.length;s++){const r=i.children[s],o=i.leaf?this.toBBox(r):r;if(el(e,o)){if(i.leaf||Tu(e,o))return!0;n.push(r)}}i=n.pop()}return!1}load(e){if(!(e&&e.length))return this;if(e.length<this._minEntries){for(let n=0;n<e.length;n++)this.insert(e[n]);return this}let i=this._build(e.slice(),0,e.length-1,0);if(!this.data.children.length)this.data=i;else if(this.data.height===i.height)this._splitRoot(this.data,i);else{if(this.data.height<i.height){const n=this.data;this.data=i,i=n}this._insert(i,this.data.height-i.height-1,!0)}return this}insert(e){return e&&this._insert(e,this.data.height-1),this}clear(){return this.data=Mr([]),this}remove(e,i){if(!e)return this;let n=this.data;const s=this.toBBox(e),r=[],o=[];let a,c,u;for(;n||r.length;){if(n||(n=r.pop(),c=r[r.length-1],a=o.pop(),u=!0),n.leaf){const d=Dk(e,n.children,i);if(d!==-1)return n.children.splice(d,1),r.push(n),this._condense(r),this}!u&&!n.leaf&&Tu(n,s)?(r.push(n),o.push(a),a=0,c=n,n=n.children[0]):c?(a++,n=c.children[a],u=!1):n=null}return this}toBBox(e){return e}compareMinX(e,i){return e.minX-i.minX}compareMinY(e,i){return e.minY-i.minY}toJSON(){return this.data}fromJSON(e){return this.data=e,this}_all(e,i){const n=[];for(;e;)e.leaf?i.push(...e.children):n.push(...e.children),e=n.pop();return i}_build(e,i,n,s){const r=n-i+1;let o=this._maxEntries,a;if(r<=o)return a=Mr(e.slice(i,n+1)),Er(a,this.toBBox),a;s||(s=Math.ceil(Math.log(r)/Math.log(o)),o=Math.ceil(r/Math.pow(o,s-1))),a=Mr([]),a.leaf=!1,a.height=s;const c=Math.ceil(r/o),u=c*Math.ceil(Math.sqrt(o));sp(e,i,n,u,this.compareMinX);for(let d=i;d<=n;d+=u){const g=Math.min(d+u-1,n);sp(e,d,g,c,this.compareMinY);for(let v=d;v<=g;v+=c){const _=Math.min(v+c-1,g);a.children.push(this._build(e,v,_,s-1))}}return Er(a,this.toBBox),a}_chooseSubtree(e,i,n,s){for(;s.push(i),!(i.leaf||s.length-1===n);){let r=1/0,o=1/0,a;for(let c=0;c<i.children.length;c++){const u=i.children[c],d=ku(u),g=Pk(e,u)-d;g<o?(o=g,r=d<r?d:r,a=u):g===o&&d<r&&(r=d,a=u)}i=a||i.children[0]}return i}_insert(e,i,n){const s=n?e:this.toBBox(e),r=[],o=this._chooseSubtree(s,this.data,i,r);for(o.children.push(e),Bo(o,s);i>=0&&r[i].children.length>this._maxEntries;)this._split(r,i),i--;this._adjustParentBBoxes(s,r,i)}_split(e,i){const n=e[i],s=n.children.length,r=this._minEntries;this._chooseSplitAxis(n,r,s);const o=this._chooseSplitIndex(n,r,s),a=Mr(n.children.splice(o,n.children.length-o));a.height=n.height,a.leaf=n.leaf,Er(n,this.toBBox),Er(a,this.toBBox),i?e[i-1].children.push(a):this._splitRoot(n,a)}_splitRoot(e,i){this.data=Mr([e,i]),this.data.height=e.height+1,this.data.leaf=!1,Er(this.data,this.toBBox)}_chooseSplitIndex(e,i,n){let s,r=1/0,o=1/0;for(let a=i;a<=n-i;a++){const c=zo(e,0,a,this.toBBox),u=zo(e,a,n,this.toBBox),d=Fk(c,u),g=ku(c)+ku(u);d<r?(r=d,s=a,o=g<o?g:o):d===r&&g<o&&(o=g,s=a)}return s||n-i}_chooseSplitAxis(e,i,n){const s=e.leaf?this.compareMinX:Lk,r=e.leaf?this.compareMinY:Ok,o=this._allDistMargin(e,i,n,s),a=this._allDistMargin(e,i,n,r);o<a&&e.children.sort(s)}_allDistMargin(e,i,n,s){e.children.sort(s);const r=this.toBBox,o=zo(e,0,i,r),a=zo(e,n-i,n,r);let c=Ja(o)+Ja(a);for(let u=i;u<n-i;u++){const d=e.children[u];Bo(o,e.leaf?r(d):d),c+=Ja(o)}for(let u=n-i-1;u>=i;u--){const d=e.children[u];Bo(a,e.leaf?r(d):d),c+=Ja(a)}return c}_adjustParentBBoxes(e,i,n){for(let s=n;s>=0;s--)Bo(i[s],e)}_condense(e){for(let i=e.length-1,n;i>=0;i--)e[i].children.length===0?i>0?(n=e[i-1].children,n.splice(n.indexOf(e[i]),1)):this.clear():Er(e[i],this.toBBox)}};
12function Dk(t,e,i){if(!i)return e.indexOf(t);for(let n=0;n<e.length;n++)if(i(t,e[n]))return n;return-1}function Er(t,e){zo(t,0,t.children.length,e,t)}function zo(t,e,i,n,s){s||(s=Mr(null)),s.minX=1/0,s.minY=1/0,s.maxX=-1/0,s.maxY=-1/0;for(let r=e;r<i;r++){const o=t.children[r];Bo(s,t.leaf?n(o):o)}return s}function Bo(t,e){return t.minX=Math.min(t.minX,e.minX),t.minY=Math.min(t.minY,e.minY),t.maxX=Math.max(t.maxX,e.maxX),t.maxY=Math.max(t.maxY,e.maxY),t}function Lk(t,e){return t.minX-e.minX}function Ok(t,e){return t.minY-e.minY}function ku(t){return(t.maxX-t.minX)*(t.maxY-t.minY)}function Ja(t){return t.maxX-t.minX+(t.maxY-t.minY)}function Pk(t,e){return(Math.max(e.maxX,t.maxX)-Math.min(e.minX,t.minX))*(Math.max(e.maxY,t.maxY)-Math.min(e.minY,t.minY))}function Fk(t,e){const i=Math.max(t.minX,e.minX),n=Math.max(t.minY,e.minY),s=Math.min(t.maxX,e.maxX),r=Math.min(t.maxY,e.maxY);return Math.max(0,s-i)*Math.max(0,r-n)}function Tu(t,e){return t.minX<=e.minX&&t.minY<=e.minY&&e.maxX<=t.maxX&&e.maxY<=t.maxY}function el(t,e){return e.minX<=t.maxX&&e.minY<=t.maxY&&e.maxX>=t.minX&&e.maxY>=t.minY}function Mr(t){return{children:t,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function sp(t,e,i,n,s){const r=[e,i];for(;r.length;){if(i=r.pop(),e=r.pop(),i-e<=n)continue;const o=e+Math.ceil((i-e)/n/2)*n;Ak(t,o,e,i,s),r.push(e,o,o,i)}}class zk{constructor(){this.cache_={},this.cacheSize_=0,this.maxCacheSize_=32}clear(){this.cache_={},this.cacheSize_=0}canExpireCache(){return this.cacheSize_>this.maxCacheSize_}expire(){if(this.canExpireCache()){let e=0;for(const i in this.cache_){const n=this.cache_[i];!(e++&3)&&!n.hasListener()&&(delete this.cache_[i],--this.cacheSize_)}}}get(e,i,n){const s=rp(e,i,n);return s in this.cache_?this.cache_[s]:null}set(e,i,n,s){const r=rp(e,i,n);this.cache_[r]=s,++this.cacheSize_}setSize(e){this.maxCacheSize_=e,this.expire()}}function rp(t,e,i){const n=i?R_(i):"null";return e+":"+t+":"+n}const Zl=new zk;function B_(t,e,i){const n=t;let s=!0,r=!1,o=!1;const a=[Ml(n,Xe.LOAD,function(){o=!0,r||e()})];return n.src&&R1?(r=!0,n.decode().then(function(){s&&e()}).catch(function(c){s&&(o?e():i())})):a.push(Ml(n,Xe.ERROR,i)),function(){s=!1,a.forEach(Rt)}}let Do=null;class Bk extends yc{constructor(e,i,n,s,r,o){super(),this.hitDetectionImage_=null,this.image_=e,this.crossOrigin_=s,this.canvas_={},this.color_=o,this.unlisten_=null,this.imageState_=r,this.size_=n,this.src_=i,this.tainted_}initializeImage_(){this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)}isTainted_(){if(this.tainted_===void 0&&this.imageState_===si.LOADED){Do||(Do=Si(1,1,void 0,{willReadFrequently:!0})),Do.drawImage(this.image_,0,0);try{Do.getImageData(0,0,1,1),this.tainted_=!1}catch{Do=null,this.tainted_=!0}}return this.tainted_===!0}dispatchChangeEvent_(){this.dispatchEvent(Xe.CHANGE)}handleImageError_(){this.imageState_=si.ERROR,this.unlistenImage_(),this.dispatchChangeEvent_()}handleImageLoad_(){this.imageState_=si.LOADED,this.size_?(this.image_.width=this.size_[0],this.image_.height=this.size_[1]):this.size_=[this.image_.width,this.image_.height],this.unlistenImage_(),this.dispatchChangeEvent_()}getImage(e){return this.image_||this.initializeImage_(),this.replaceColor_(e),this.canvas_[e]?this.canvas_[e]:this.image_}getPixelRatio(e){return this.replaceColor_(e),this.canvas_[e]?e:1}getImageState(){return this.imageState_}getHitDetectionImage(){if(this.image_||this.initializeImage_(),!this.hitDetectionImage_)if(this.isTainted_()){const e=this.size_[0],i=this.size_[1],n=Si(e,i);n.fillRect(0,0,e,i),this.hitDetectionImage_=n.canvas}else this.hitDetectionImage_=this.image_;return this.hitDetectionImage_}getSize(){return this.size_}getSrc(){return this.src_}load(){if(this.imageState_===si.IDLE){this.image_||this.initializeImage_(),this.imageState_=si.LOADING;try{this.image_.src=this.src_}catch{this.handleImageError_()}this.unlisten_=B_(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this))}}replaceColor_(e){if(!this.color_||this.canvas_[e]||this.imageState_!==si.LOADED)return;const i=this.image_,n=document.createElement("canvas");n.width=Math.ceil(i.width*e),n.height=Math.ceil(i.height*e);const s=n.getContext("2d");s.scale(e,e),s.drawImage(i,0,0),s.globalCompositeOperation="multiply",s.fillStyle=R_(this.color_),s.fillRect(0,0,n.width/e,n.height/e),s.globalCompositeOperation="destination-in",s.drawImage(i,0,0),this.canvas_[e]=n}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function Nk(t,e,i,n,s,r){let o=Zl.get(e,n,r);
12return o||(o=new Bk(t,e,i,n,s,r),Zl.set(e,n,r,o)),o}class $h extends C_{constructor(e){e=e||{};const i=e.opacity!==void 0?e.opacity:1,n=e.rotation!==void 0?e.rotation:0,s=e.scale!==void 0?e.scale:1,r=e.rotateWithView!==void 0?e.rotateWithView:!1;super({opacity:i,rotation:n,scale:s,displacement:e.displacement!==void 0?e.displacement:[0,0],rotateWithView:r,declutterMode:e.declutterMode}),this.anchor_=e.anchor!==void 0?e.anchor:[.5,.5],this.normalizedAnchor_=null,this.anchorOrigin_=e.anchorOrigin!==void 0?e.anchorOrigin:"top-left",this.anchorXUnits_=e.anchorXUnits!==void 0?e.anchorXUnits:"fraction",this.anchorYUnits_=e.anchorYUnits!==void 0?e.anchorYUnits:"fraction",this.crossOrigin_=e.crossOrigin!==void 0?e.crossOrigin:null;const o=e.img!==void 0?e.img:null;this.imgSize_=e.imgSize;let a=e.src;tt(!(a!==void 0&&o),4),tt(!o||o&&this.imgSize_,5),(a===void 0||a.length===0)&&o&&(a=o.src||gt(o)),tt(a!==void 0&&a.length>0,6),tt(!((e.width!==void 0||e.height!==void 0)&&e.scale!==void 0),69);const c=e.src!==void 0?si.IDLE:si.LOADED;if(this.color_=e.color!==void 0?jl(e.color):null,this.iconImage_=Nk(o,a,this.imgSize_!==void 0?this.imgSize_:null,this.crossOrigin_,c,this.color_),this.offset_=e.offset!==void 0?e.offset:[0,0],this.offsetOrigin_=e.offsetOrigin!==void 0?e.offsetOrigin:"top-left",this.origin_=null,this.size_=e.size!==void 0?e.size:null,this.width_=e.width,this.height_=e.height,this.width_!==void 0||this.height_!==void 0){const u=this.getImage(1),d=()=>{this.updateScaleFromWidthAndHeight(this.width_,this.height_)};u.width>0?this.updateScaleFromWidthAndHeight(this.width_,this.height_):u.addEventListener("load",d)}}clone(){const e=this.getScale();return new $h({anchor:this.anchor_.slice(),anchorOrigin:this.anchorOrigin_,anchorXUnits:this.anchorXUnits_,anchorYUnits:this.anchorYUnits_,color:this.color_&&this.color_.slice?this.color_.slice():this.color_||void 0,crossOrigin:this.crossOrigin_,imgSize:this.imgSize_,offset:this.offset_.slice(),offsetOrigin:this.offsetOrigin_,opacity:this.getOpacity(),rotateWithView:this.getRotateWithView(),rotation:this.getRotation(),scale:Array.isArray(e)?e.slice():e,size:this.size_!==null?this.size_.slice():void 0,src:this.getSrc(),displacement:this.getDisplacement().slice(),declutterMode:this.getDeclutterMode(),width:this.width_,height:this.height_})}updateScaleFromWidthAndHeight(e,i){const n=this.getImage(1);e!==void 0&&i!==void 0?super.setScale([e/n.width,i/n.height]):e!==void 0?super.setScale([e/n.width,e/n.width]):i!==void 0?super.setScale([i/n.height,i/n.height]):super.setScale([1,1])}getAnchor(){let e=this.normalizedAnchor_;if(!e){e=this.anchor_;const s=this.getSize();if(this.anchorXUnits_=="fraction"||this.anchorYUnits_=="fraction"){if(!s)return null;e=this.anchor_.slice(),this.anchorXUnits_=="fraction"&&(e[0]*=s[0]),this.anchorYUnits_=="fraction"&&(e[1]*=s[1])}if(this.anchorOrigin_!="top-left"){if(!s)return null;e===this.anchor_&&(e=this.anchor_.slice()),(this.anchorOrigin_=="top-right"||this.anchorOrigin_=="bottom-right")&&(e[0]=-e[0]+s[0]),(this.anchorOrigin_=="bottom-left"||this.anchorOrigin_=="bottom-right")&&(e[1]=-e[1]+s[1])}this.normalizedAnchor_=e}const i=this.getDisplacement(),n=this.getScaleArray();return[e[0]-i[0]/n[0],e[1]+i[1]/n[1]]}setAnchor(e){this.anchor_=e,this.normalizedAnchor_=null}getColor(){return this.color_}getImage(e){return this.iconImage_.getImage(e)}getPixelRatio(e){return this.iconImage_.getPixelRatio(e)}getImageSize(){return this.iconImage_.getSize()}getImageState(){return this.iconImage_.getImageState()}getHitDetectionImage(){return this.iconImage_.getHitDetectionImage()}getOrigin(){if(this.origin_)return this.origin_;let e=this.offset_;if(this.offsetOrigin_!="top-left"){const i=this.getSize(),n=this.iconImage_.getSize();if(!i||!n)return null;e=e.slice(),(this.offsetOrigin_=="top-right"||this.offsetOrigin_=="bottom-right")&&(e[0]=n[0]-i[0]-e[0]),(this.offsetOrigin_=="bottom-left"||this.offsetOrigin_=="bottom-right")&&(e[1]=n[1]-i[1]-e[1])}return this.origin_=e,this.origin_}getSrc(){return this.iconImage_.getSrc()}getSize(){return this.size_?this.size_:this.iconImage_.getSize()}getWidth(){return this.width_}getHeight(){return this.height_}setWidth(e){this.width_=e,this.updateScaleFromWidthAndHeight(e,this.height_)}setHeight(e){this.height_=e,this.updateScaleFromWidthAndHeight(this.width_,e)}setScale(e){super.setScale(e);const i=this.getImage(1);if(i){const n=Array.isArray(e)?e[0]:e;n!==void 0&&(this.width_=n*i.width);const s=Array.isArray(e)?e[1]:e;s!==void 0&&(this.height_=s*i.height)}}listenImageChange(e){this.iconImage_.addEventListener(Xe.CHANGE,e)}load(){this.iconImage_.load()}unlistenImageChange(e){this.iconImage_.removeEventListener(Xe.CHANGE,e)}}const Zh=$h;function op(t){return new wi({fill:da(t,""),stroke:ha(t,""),text:Gk(t),image:jk(t)})}function da(t,e){const i=t[e+"fill-color"];if(i)return new vn({color:i})}function ha(t,e){const i=t[e+"stroke-width"],n=t[e+"stroke-color"];if(!(!i&&!n))return new mn({width:i,color:n,lineCap:t[e+"stroke-line-cap"],lineJoin:t[e+"stroke-line-join"],lineDash:t[e+"stroke-line-dash"],lineDashOffset:t[e+"stroke-line-dash-offset"],miterLimit:t[e+"stroke-miter-limit"]})}function Gk(t){const e=t["text-value"];return e?new bd({text:e,font:t["text-font"],maxAngle:t["text-max-angle"],offsetX:t["text-offset-x"],offsetY:t["text-offset-y"],overflow:t["text-overflow"],placement:t["text-placement"],scale:t["text-scale"],rotateWithView:t["text-rotate-with-view"],rotation:t["text-rotation"],textAlign:t["text-align"],justify:t["text-justify"],textBaseline:t["text-baseline"],padding:t["text-padding"],fill:da(t,"text-"),backgroundFill:da(t,"text-background-"),stroke:ha(t,"text-"),backgroundStroke:ha(t,"text-background-")}):void 0}function jk(t){const e=t["icon-src"],i=t["icon-img"];if(e||i)return new Zh({src:e,img:i,imgSize:t["icon-img-size"],anchor:t["icon-anchor"],anchorOrigin:t["icon-anchor-origin"],anch
12orXUnits:t["icon-anchor-x-units"],anchorYUnits:t["icon-anchor-y-units"],color:t["icon-color"],crossOrigin:t["icon-cross-origin"],offset:t["icon-offset"],displacement:t["icon-displacement"],opacity:t["icon-opacity"],scale:t["icon-scale"],rotation:t["icon-rotation"],rotateWithView:t["icon-rotate-with-view"],size:t["icon-size"],declutterMode:t["icon-declutter-mode"]});const n=t["shape-points"];if(n){const r="shape-";return new O_({points:n,fill:da(t,r),stroke:ha(t,r),radius:t["shape-radius"],radius1:t["shape-radius1"],radius2:t["shape-radius2"],angle:t["shape-angle"],displacement:t["shape-displacement"],rotation:t["shape-rotation"],rotateWithView:t["shape-rotate-with-view"],scale:t["shape-scale"],declutterMode:t["shape-declutter-mode"]})}const s=t["circle-radius"];if(s){const r="circle-";return new $l({radius:s,fill:da(t,r),stroke:ha(t,r),displacement:t["circle-displacement"],scale:t["circle-scale"],rotation:t["circle-rotation"],rotateWithView:t["circle-rotate-with-view"],declutterMode:t["circle-declutter-mode"]})}}const ap={RENDER_ORDER:"renderOrder"};class Kk extends Pc{constructor(e){e=e||{};const i=Object.assign({},e);delete i.style,delete i.renderBuffer,delete i.updateWhileAnimating,delete i.updateWhileInteracting,super(i),this.declutter_=e.declutter!==void 0?e.declutter:!1,this.renderBuffer_=e.renderBuffer!==void 0?e.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(e.style),this.updateWhileAnimating_=e.updateWhileAnimating!==void 0?e.updateWhileAnimating:!1,this.updateWhileInteracting_=e.updateWhileInteracting!==void 0?e.updateWhileInteracting:!1}getDeclutter(){return this.declutter_}getFeatures(e){return super.getFeatures(e)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(ap.RENDER_ORDER)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(e){e.declutterTree||(e.declutterTree=new z_(9)),this.getRenderer().renderDeclutter(e)}setRenderOrder(e){this.set(ap.RENDER_ORDER,e)}setStyle(e){let i;if(e===void 0)i=Ik;else if(e===null)i=null;else if(typeof e=="function")i=e;else if(e instanceof wi)i=e;else if(Array.isArray(e)){const n=e.length,s=new Array(n);for(let r=0;r<n;++r){const o=e[r];o instanceof wi?s[r]=o:s[r]=op(o)}i=s}else i=op(e);this.style_=i,this.styleFunction_=e===null?void 0:Tk(this.style_),this.changed()}}const Hk=Kk,ka={BEGIN_GEOMETRY:0,BEGIN_PATH:1,CIRCLE:2,CLOSE_PATH:3,CUSTOM:4,DRAW_CHARS:5,DRAW_IMAGE:6,END_GEOMETRY:7,FILL:8,MOVE_TO_LINE_TO:9,SET_FILL_STYLE:10,SET_STROKE_STYLE:11,STROKE:12},tl=[ka.FILL],ps=[ka.STROKE],er=[ka.BEGIN_PATH],lp=[ka.CLOSE_PATH],Ne=ka;class Wk{drawCustom(e,i,n,s){}drawGeometry(e){}setStyle(e){}drawCircle(e,i){}drawFeature(e,i){}drawGeometryCollection(e,i){}drawLineString(e,i){}drawMultiLineString(e,i){}drawMultiPoint(e,i){}drawMultiPolygon(e,i){}drawPoint(e,i){}drawPolygon(e,i){}drawText(e,i){}setFillStrokeStyle(e,i){}setImageStyle(e,i){}setTextStyle(e,i){}}const N_=Wk;class $k extends N_{constructor(e,i,n,s){super(),this.tolerance=e,this.maxExtent=i,this.pixelRatio=s,this.maxLineWidth=0,this.resolution=n,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_=null,this.bufferedMaxExtent_=null,this.instructions=[],this.coordinates=[],this.tmpCoordinate_=[],this.hitDetectionInstructions=[],this.state={}}applyPixelRatio(e){const i=this.pixelRatio;return i==1?e:e.map(function(n){return n*i})}appendFlatPointCoordinates(e,i){const n=this.getBufferedMaxExtent(),s=this.tmpCoordinate_,r=this.coordinates;let o=r.length;for(let a=0,c=e.length;a<c;a+=i)s[0]=e[a],s[1]=e[a+1],Ec(n,s)&&(r[o++]=s[0],r[o++]=s[1]);return o}appendFlatLineCoordinates(e,i,n,s,r,o){const a=this.coordinates;let c=a.length;const u=this.getBufferedMaxExtent();o&&(i+=s);let d=e[i],g=e[i+1];const v=this.tmpCoordinate_;let _=!0,y,S,C;for(y=i+s;y<n;y+=s)v[0]=e[y],v[1]=e[y+1],C=ad(u,v),C!==S?(_&&(a[c++]=d,a[c++]=g,_=!1),a[c++]=v[0],a[c++]=v[1]):C===oi.INTERSECTING?(a[c++]=v[0],a[c++]=v[1],_=!1):_=!0,d=v[0],g=v[1],S=C;return(r&&_||y===i+s)&&(a[c++]=d,a[c++]=g),c}drawCustomCoordinates_(e,i,n,s,r){for(let o=0,a=n.length;o<a;++o){const c=n[o],u=this.appendFlatLineCoordinates(e,i,c,s,!1,!1);r.push(u),i=c}return i}drawCustom(e,i,n,s){this.beginGeometry(e,i);const r=e.getType(),o=e.getStride(),a=this.coordinates.length;let c,u,d,g,v;switch(r){case"MultiPolygon":c=e.getOrientedFlatCoordinates(),g=[];const _=e.getEndss();v=0;for(let y=0,S=_.length;y<S;++y){const C=[];v=this.drawCustomCoordinates_(c,v,_[y],o,C),g.push(C)}this.instructions.push([Ne.CUSTOM,a,g,e,n,gd]),this.hitDetectionInstructions.push([Ne.CUSTOM,a,g,e,s||n,gd]);break;case"Polygon":case"MultiLineString":d=[],c=r=="Polygon"?e.getOrientedFlatCoordinates():e.getFlatCoordinates(),v=this.drawCustomCoordinates_(c,0,e.getEnds(),o,d),this.instructions.push([Ne.CUSTOM,a,d,e,n,sa]),this.hitDetectionInstructions.push([Ne.CUSTOM,a,d,e,s||n,sa]);break;
12case"LineString":case"Circle":c=e.getFlatCoordinates(),u=this.appendFlatLineCoordinates(c,0,c.length,o,!1,!1),this.instructions.push([Ne.CUSTOM,a,u,e,n,gs]),this.hitDetectionInstructions.push([Ne.CUSTOM,a,u,e,s||n,gs]);break;case"MultiPoint":c=e.getFlatCoordinates(),u=this.appendFlatPointCoordinates(c,o),u>a&&(this.instructions.push([Ne.CUSTOM,a,u,e,n,gs]),this.hitDetectionInstructions.push([Ne.CUSTOM,a,u,e,s||n,gs]));break;case"Point":c=e.getFlatCoordinates(),this.coordinates.push(c[0],c[1]),u=this.coordinates.length,this.instructions.push([Ne.CUSTOM,a,u,e,n]),this.hitDetectionInstructions.push([Ne.CUSTOM,a,u,e,s||n]);break}this.endGeometry(i)}beginGeometry(e,i){this.beginGeometryInstruction1_=[Ne.BEGIN_GEOMETRY,i,0,e],this.instructions.push(this.beginGeometryInstruction1_),this.beginGeometryInstruction2_=[Ne.BEGIN_GEOMETRY,i,0,e],this.hitDetectionInstructions.push(this.beginGeometryInstruction2_)}finish(){return{instructions:this.instructions,hitDetectionInstructions:this.hitDetectionInstructions,coordinates:this.coordinates}}reverseHitDetectionInstructions(){const e=this.hitDetectionInstructions;e.reverse();let i;const n=e.length;let s,r,o=-1;for(i=0;i<n;++i)s=e[i],r=s[0],r==Ne.END_GEOMETRY?o=i:r==Ne.BEGIN_GEOMETRY&&(s[2]=i,p1(this.hitDetectionInstructions,o,i),o=-1)}setFillStrokeStyle(e,i){const n=this.state;if(e){const s=e.getColor();n.fillStyle=En(s||Kn)}else n.fillStyle=void 0;if(i){const s=i.getColor();n.strokeStyle=En(s||la);const r=i.getLineCap();n.lineCap=r!==void 0?r:Kl;const o=i.getLineDash();n.lineDash=o?o.slice():ra;const a=i.getLineDashOffset();n.lineDashOffset=a||oa;const c=i.getLineJoin();n.lineJoin=c!==void 0?c:so;const u=i.getWidth();n.lineWidth=u!==void 0?u:ua;const d=i.getMiterLimit();n.miterLimit=d!==void 0?d:aa,n.lineWidth>this.maxLineWidth&&(this.maxLineWidth=n.lineWidth,this.bufferedMaxExtent_=null)}else n.strokeStyle=void 0,n.lineCap=void 0,n.lineDash=null,n.lineDashOffset=void 0,n.lineJoin=void 0,n.lineWidth=void 0,n.miterLimit=void 0}createFill(e){const i=e.fillStyle,n=[Ne.SET_FILL_STYLE,i];return typeof i!="string"&&n.push(!0),n}applyStroke(e){this.instructions.push(this.createStroke(e))}createStroke(e){return[Ne.SET_STROKE_STYLE,e.strokeStyle,e.lineWidth*this.pixelRatio,e.lineCap,e.lineJoin,e.miterLimit,this.applyPixelRatio(e.lineDash),e.lineDashOffset*this.pixelRatio]}updateFillStyle(e,i){const n=e.fillStyle;(typeof n!="string"||e.currentFillStyle!=n)&&(n!==void 0&&this.instructions.push(i.call(this,e)),e.currentFillStyle=n)}updateStrokeStyle(e,i){const n=e.strokeStyle,s=e.lineCap,r=e.lineDash,o=e.lineDashOffset,a=e.lineJoin,c=e.lineWidth,u=e.miterLimit;(e.currentStrokeStyle!=n||e.currentLineCap!=s||r!=e.currentLineDash&&!Ts(e.currentLineDash,r)||e.currentLineDashOffset!=o||e.currentLineJoin!=a||e.currentLineWidth!=c||e.currentMiterLimit!=u)&&(n!==void 0&&i.call(this,e),e.currentStrokeStyle=n,e.currentLineCap=s,e.currentLineDash=r,e.currentLineDashOffset=o,e.currentLineJoin=a,e.currentLineWidth=c,e.currentMiterLimit=u)}endGeometry(e){this.beginGeometryInstruction1_[2]=this.instructions.length,this.beginGeometryInstruction1_=null,this.beginGeometryInstruction2_[2]=this.hitDetectionInstructions.length,this.beginGeometryInstruction2_=null;const i=[Ne.END_GEOMETRY,e];this.instructions.push(i),this.hitDetectionInstructions.push(i)}getBufferedMaxExtent(){if(!this.bufferedMaxExtent_&&(this.bufferedMaxExtent_=Qv(this.maxExtent),this.maxLineWidth>0)){const e=this.resolution*(this.maxLineWidth+1)/2;dh(this.bufferedMaxExtent_,e,this.bufferedMaxExtent_)}return this.bufferedMaxExtent_}}const Ta=$k;class Zk extends Ta{constructor(e,i,n,s){super(e,i,n,s),this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.anchorX_=void 0,this.anchorY_=void 0,this.height_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.scale_=void 0,this.width_=void 0,this.declutterMode_=void 0,this.declutterImageWithText_=void 0}drawPoint(e,i){if(!this.image_)return;this.beginGeometry(e,i);const n=e.getFlatCoordinates(),s=e.getStride(),r=this.coordinates.length,o=this.appendFlatPointCoordinates(n,s);this.instructions.push([Ne.DRAW_IMAGE,r,o,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.
12ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([Ne.DRAW_IMAGE,r,o,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(i)}drawMultiPoint(e,i){if(!this.image_)return;this.beginGeometry(e,i);const n=e.getFlatCoordinates(),s=e.getStride(),r=this.coordinates.length,o=this.appendFlatPointCoordinates(n,s);this.instructions.push([Ne.DRAW_IMAGE,r,o,this.image_,this.anchorX_*this.imagePixelRatio_,this.anchorY_*this.imagePixelRatio_,Math.ceil(this.height_*this.imagePixelRatio_),this.opacity_,this.originX_*this.imagePixelRatio_,this.originY_*this.imagePixelRatio_,this.rotateWithView_,this.rotation_,[this.scale_[0]*this.pixelRatio/this.imagePixelRatio_,this.scale_[1]*this.pixelRatio/this.imagePixelRatio_],Math.ceil(this.width_*this.imagePixelRatio_),this.declutterMode_,this.declutterImageWithText_]),this.hitDetectionInstructions.push([Ne.DRAW_IMAGE,r,o,this.hitDetectionImage_,this.anchorX_,this.anchorY_,this.height_,this.opacity_,this.originX_,this.originY_,this.rotateWithView_,this.rotation_,this.scale_,this.width_,this.declutterMode_,this.declutterImageWithText_]),this.endGeometry(i)}finish(){return this.reverseHitDetectionInstructions(),this.anchorX_=void 0,this.anchorY_=void 0,this.hitDetectionImage_=null,this.image_=null,this.imagePixelRatio_=void 0,this.height_=void 0,this.scale_=void 0,this.opacity_=void 0,this.originX_=void 0,this.originY_=void 0,this.rotateWithView_=void 0,this.rotation_=void 0,this.width_=void 0,super.finish()}setImageStyle(e,i){const n=e.getAnchor(),s=e.getSize(),r=e.getOrigin();this.imagePixelRatio_=e.getPixelRatio(this.pixelRatio),this.anchorX_=n[0],this.anchorY_=n[1],this.hitDetectionImage_=e.getHitDetectionImage(),this.image_=e.getImage(this.pixelRatio),this.height_=s[1],this.opacity_=e.getOpacity(),this.originX_=r[0],this.originY_=r[1],this.rotateWithView_=e.getRotateWithView(),this.rotation_=e.getRotation(),this.scale_=e.getScaleArray(),this.width_=s[0],this.declutterMode_=e.getDeclutterMode(),this.declutterImageWithText_=i}}const Uk=Zk;class Vk extends Ta{constructor(e,i,n,s){super(e,i,n,s)}drawFlatCoordinates_(e,i,n,s){const r=this.coordinates.length,o=this.appendFlatLineCoordinates(e,i,n,s,!1,!1),a=[Ne.MOVE_TO_LINE_TO,r,o];return this.instructions.push(a),this.hitDetectionInstructions.push(a),n}drawLineString(e,i){const n=this.state,s=n.strokeStyle,r=n.lineWidth;if(s===void 0||r===void 0)return;this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(e,i),this.hitDetectionInstructions.push([Ne.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,ra,oa],er);const o=e.getFlatCoordinates(),a=e.getStride();this.drawFlatCoordinates_(o,0,o.length,a),this.hitDetectionInstructions.push(ps),this.endGeometry(i)}drawMultiLineString(e,i){const n=this.state,s=n.strokeStyle,r=n.lineWidth;if(s===void 0||r===void 0)return;this.updateStrokeStyle(n,this.applyStroke),this.beginGeometry(e,i),this.hitDetectionInstructions.push([Ne.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset],er);const o=e.getEnds(),a=e.getFlatCoordinates(),c=e.getStride();let u=0;for(let d=0,g=o.length;d<g;++d)u=this.drawFlatCoordinates_(a,u,o[d],c);this.hitDetectionInstructions.push(ps),this.endGeometry(i)}finish(){const e=this.state;return e.lastStroke!=null&&e.lastStroke!=this.coordinates.length&&this.instructions.push(ps),this.reverseHitDetectionInstructions(),this.state=null,super.finish()}applyStroke(e){e.lastStroke!=null&&e.lastStroke!=this.coordinates.length&&(this.instructions.push(ps),e.lastStroke=this.coordinates.length),e.lastStroke=0,super.applyStroke(e),this.instructions.push(er)}}const Yk=Vk;class Xk extends Ta{constructor(e,i,n,s){super(e,i,n,s)}drawFlatCoordinatess_(e,i,n,s){const r=this.state,o=r.fillStyle!==void 0,a=r.strokeStyle!==void 0,c=n.length;this.instructions.push(er),this.hitDetectionInstructions.push(er);for(let u=0;u<c;++u){const d=n[u],g=this.coordinates.length,v=this.appendFlatLineCoordinates(e,i,d,s,!0,!a),_=[Ne.MOVE_TO_LINE_TO,g,v];this.instructions.push(_),this.hitDetectionInstructions.push(_),a&&(this.instructions.push(lp),this.hitDetectionInstructions.push(lp)),i=d}return o&&(this.instructions.push(tl),this.hitDetectionInstructions.push(tl)),a&&(this.instructions.push(ps),this.hitDetectionInstructions.push(ps)),i}drawCircle(e,i){const n=this.state,s=n.fillStyle,r=n.strokeStyle;if(s===void 0&&r===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(e,i),n.fillStyle!==void 0&&this.hitDetectionInstructions.push([Ne.SET_FILL_STYLE,Kn]),n.strokeStyle!==void 0&&this.hitDetectionInstructions.push([Ne.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);const o=e.getFlatCoordinates(),a=e.getStride(),c=this.coordinates.length;this.appendFlatLineCoordinates(o,0,o.length,a,!1,!1);const u=[Ne.CIRCLE,c];this.instructions.push(er,u),this.hitDetectionInstructions.push(er,u),n.fillStyle!==void 0&&(this.instructions.push(tl),this.hitDetectionInstructions.push(tl)),n.strokeStyle!==void 0&&(this.instructions.push(ps),this.hitDetectionInstructions.push(ps)),this.endGeometry(i)}drawPolygon(e,i){const n=this.state,s=n.fillStyle,r=n.strokeStyle;if(s===void 0&&r===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(e,i),n.fillStyle!==void 0&&this.hitDetectionInstructions.push([Ne.SET_FILL_STYLE,Kn]),n.strokeStyle!==void 0&&this.hitDetectionInstructions.push([Ne.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);const o=e.getEnds(),a=e.getOrientedFlatCoordinates(),c=e.getStride();this.drawFlatCoordinatess_(a,0,o,c),this.endGeometry(i)}drawMultiPolygon(e,i){const n=this.state,s=n.fillStyle,r=n.strokeStyle;if(s===void 0&&r===void 0)return;this.setFillStrokeStyles_(),this.beginGeometry(e,i),n.fillStyle!==void 0&&this.hitDetectionInstructions.push([Ne.SET_FILL_STYLE,Kn]),n.strokeStyle!==void 0&&this.hitDetectionInstructions.push([Ne.SET_STROKE_STYLE,n.strokeStyle,n.lineWidth,n.lineCap,n.lineJoin,n.miterLimit,n.lineDash,n.lineDashOffset]);const o=e.getEndss(),a=e.getOrientedFlatCoordinates(),c=e.getStride();let u=0;for(let d=0,g=o.length;d<g;++d)u=this.drawFlatCoordinatess_(a,u,o[d],c);this.endGeometry(i)}finish(){this.reverseHitDetectionInstructions(),this.state=null;const e=this.tolerance;if(e!==0){const i=this.coordinates;for(let n=0,s=i.length;n<s;++n)i[n]=Ws(i[n],e)}return super.finish()}setFillStrokeStyles_(){const e=this.state;e.fillStyle!==void 0&&this.updateFillStyle(e,this.createFill),e.strokeStyle!==void 0&&this.updateStrokeStyle(e,this.applyStroke)}}const cp=Xk;
12function qk(t,e,i,n,s){let r=i,o=i,a=0,c=0,u=i,d,g,v,_,y,S,C,x,I,R;for(g=i;g<n;g+=s){const F=e[g],Z=e[g+1];y!==void 0&&(I=F-y,R=Z-S,_=Math.sqrt(I*I+R*R),C!==void 0&&(c+=v,d=Math.acos((C*I+x*R)/(v*_)),d>t&&(c>a&&(a=c,r=u,o=g),c=0,u=g-s)),v=_,C=I,x=R),y=F,S=Z}return c+=_,c>a?[u,g]:[r,o]}const $o={left:0,end:0,center:.5,right:1,start:1,top:0,middle:.5,hanging:.2,alphabetic:.8,ideographic:.8,bottom:1};class Qk extends Ta{constructor(e,i,n,s){super(e,i,n,s),this.labels_=null,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=void 0,this.textRotation_=0,this.textFillState_=null,this.fillStates={},this.textStrokeState_=null,this.strokeStates={},this.textState_={},this.textStates={},this.textKey_="",this.fillKey_="",this.strokeKey_="",this.declutterImageWithText_=void 0}finish(){const e=super.finish();return e.textStates=this.textStates,e.fillStates=this.fillStates,e.strokeStates=this.strokeStates,e}drawText(e,i){const n=this.textFillState_,s=this.textStrokeState_,r=this.textState_;if(this.text_===""||!r||!n&&!s)return;const o=this.coordinates;let a=o.length;const c=e.getType();let u=null,d=e.getStride();if(r.placement==="line"&&(c=="LineString"||c=="MultiLineString"||c=="Polygon"||c=="MultiPolygon")){if(!Ri(this.getBufferedMaxExtent(),e.getExtent()))return;let g;if(u=e.getFlatCoordinates(),c=="LineString")g=[u.length];else if(c=="MultiLineString")g=e.getEnds();else if(c=="Polygon")g=e.getEnds().slice(0,1);else if(c=="MultiPolygon"){const S=e.getEndss();g=[];for(let C=0,x=S.length;C<x;++C)g.push(S[C][0])}this.beginGeometry(e,i);const v=r.textAlign;let _=0,y;for(let S=0,C=g.length;S<C;++S){if(v==null){const I=qk(r.maxAngle,u,_,g[S],d);_=I[0],y=I[1]}else y=g[S];for(let I=_;I<y;I+=d)o.push(u[I],u[I+1]);const x=o.length;_=g[S],this.drawChars_(a,x),a=x}this.endGeometry(i)}else{let g=r.overflow?null:[];switch(c){case"Point":case"MultiPoint":u=e.getFlatCoordinates();break;case"LineString":u=e.getFlatMidpoint();break;case"Circle":u=e.getCenter();break;case"MultiLineString":u=e.getFlatMidpoints(),d=2;break;case"Polygon":u=e.getFlatInteriorPoint(),r.overflow||g.push(u[2]/this.resolution),d=3;break;case"MultiPolygon":const C=e.getFlatInteriorPoints();u=[];for(let x=0,I=C.length;x<I;x+=3)r.overflow||g.push(C[x+2]/this.resolution),u.push(C[x],C[x+1]);if(u.length===0)return;d=2;break}const v=this.appendFlatPointCoordinates(u,d);if(v===a)return;if(g&&(v-a)/2!==u.length/d){let C=a/2;g=g.filter((x,I)=>{const R=o[(C+I)*2]===u[I*d]&&o[(C+I)*2+1]===u[I*d+1];return R||--C,R})}this.saveTextStates_(),(r.backgroundFill||r.backgroundStroke)&&(this.setFillStrokeStyle(r.backgroundFill,r.backgroundStroke),r.backgroundFill&&(this.updateFillStyle(this.state,this.createFill),this.hitDetectionInstructions.push(this.createFill(this.state))),r.backgroundStroke&&(this.updateStrokeStyle(this.state,this.applyStroke),this.hitDetectionInstructions.push(this.createStroke(this.state)))),this.beginGeometry(e,i);let _=r.padding;if(_!=Js&&(r.scale[0]<0||r.scale[1]<0)){let C=r.padding[0],x=r.padding[1],I=r.padding[2],R=r.padding[3];r.scale[0]<0&&(x=-x,R=-R),r.scale[1]<0&&(C=-C,I=-I),_=[C,x,I,R]}const y=this.pixelRatio;this.instructions.push([Ne.DRAW_IMAGE,a,v,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[1,1],NaN,void 0,this.declutterImageWithText_,_==Js?Js:_.map(function(C){return C*y}),!!r.backgroundFill,!!r.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,g]);const S=1/y;this.hitDetectionInstructions.push([Ne.DRAW_IMAGE,a,v,null,NaN,NaN,NaN,1,0,0,this.textRotateWithView_,this.textRotation_,[S,S],NaN,void 0,this.declutterImageWithText_,_,!!r.backgroundFill,!!r.backgroundStroke,this.text_,this.textKey_,this.strokeKey_,this.fillKey_,this.textOffsetX_,this.textOffsetY_,g]),this.endGeometry(i)}}saveTextStates_(){const e=this.textStrokeState_,i=this.textState_,n=this.textFillState_,s=this.strokeKey_;e&&(s in this.strokeStates||(this.strokeStates[s]={strokeStyle:e.strokeStyle,lineCap:e.lineCap,lineDashOffset:e.lineDashOffset,lineWidth:e.lineWidth,lineJoin:e.lineJoin,miterLimit:e.miterLimit,lineDash:e.lineDash}));const r=this.textKey_;r in this.textStates||(this.textStates[r]={font:i.font,textAlign:i.textAlign||ca,justify:i.justify,textBaseline:i.textBaseline||Hl,scale:i.scale});const o=this.fillKey_;n&&(o in this.fillStates||(this.fillStates[o]={fillStyle:n.fillStyle}))}drawChars_(e,i){const n=this.textStrokeState_,s=this.textState_,r=this.strokeKey_,o=this.textKey_,a=this.fillKey_;this.saveTextStates_();const c=this.pixelRatio,u=$o[s.textBaseline],d=this.textOffsetY_*c,g=this.text_,v=n?n.lineWidth*Math.abs(s.scale[0])/2:0;this.instructions.push([Ne.DRAW_CHARS,e,i,u,s.overflow,a,s.maxAngle,c,d,r,v*c,g,o,1]),this.hitDetectionInstructions.push([Ne.DRAW_CHARS,e,i,u,s.overflow,a,s.maxAngle,1,d,r,v,g,o,1/c])}setTextStyle(e,i){let n,s,r;if(!e)this.text_="";
12else{const o=e.getFill();o?(s=this.textFillState_,s||(s={},this.textFillState_=s),s.fillStyle=En(o.getColor()||Kn)):(s=null,this.textFillState_=s);const a=e.getStroke();if(!a)r=null,this.textStrokeState_=r;else{r=this.textStrokeState_,r||(r={},this.textStrokeState_=r);const y=a.getLineDash(),S=a.getLineDashOffset(),C=a.getWidth(),x=a.getMiterLimit();r.lineCap=a.getLineCap()||Kl,r.lineDash=y?y.slice():ra,r.lineDashOffset=S===void 0?oa:S,r.lineJoin=a.getLineJoin()||so,r.lineWidth=C===void 0?ua:C,r.miterLimit=x===void 0?aa:x,r.strokeStyle=En(a.getColor()||la)}n=this.textState_;const c=e.getFont()||D_;yk(c);const u=e.getScaleArray();n.overflow=e.getOverflow(),n.font=c,n.maxAngle=e.getMaxAngle(),n.placement=e.getPlacement(),n.textAlign=e.getTextAlign(),n.justify=e.getJustify(),n.textBaseline=e.getTextBaseline()||Hl,n.backgroundFill=e.getBackgroundFill(),n.backgroundStroke=e.getBackgroundStroke(),n.padding=e.getPadding()||Js,n.scale=u===void 0?[1,1]:u;const d=e.getOffsetX(),g=e.getOffsetY(),v=e.getRotateWithView(),_=e.getRotation();this.text_=e.getText()||"",this.textOffsetX_=d===void 0?0:d,this.textOffsetY_=g===void 0?0:g,this.textRotateWithView_=v===void 0?!1:v,this.textRotation_=_===void 0?0:_,this.strokeKey_=r?(typeof r.strokeStyle=="string"?r.strokeStyle:gt(r.strokeStyle))+r.lineCap+r.lineDashOffset+"|"+r.lineWidth+r.lineJoin+r.miterLimit+"["+r.lineDash.join()+"]":"",this.textKey_=n.font+n.scale+(n.textAlign||"?")+(n.justify||"?")+(n.textBaseline||"?"),this.fillKey_=s?typeof s.fillStyle=="string"?s.fillStyle:"|"+gt(s.fillStyle):""}this.declutterImageWithText_=i}}const Jk={Circle:cp,Default:Ta,Image:Uk,LineString:Yk,Polygon:cp,Text:Qk};class eT{constructor(e,i,n,s){this.tolerance_=e,this.maxExtent_=i,this.pixelRatio_=s,this.resolution_=n,this.buildersByZIndex_={}}finish(){const e={};for(const i in this.buildersByZIndex_){e[i]=e[i]||{};const n=this.buildersByZIndex_[i];for(const s in n){const r=n[s].finish();e[i][s]=r}}return e}getBuilder(e,i){const n=e!==void 0?e.toString():"0";let s=this.buildersByZIndex_[n];s===void 0&&(s={},this.buildersByZIndex_[n]=s);let r=s[i];if(r===void 0){const o=Jk[i];r=new o(this.tolerance_,this.maxExtent_,this.resolution_,this.pixelRatio_),s[i]=r}return r}}const up=eT;class tT extends Uv{constructor(e){super(),this.ready=!0,this.boundHandleImageChange_=this.handleImageChange_.bind(this),this.layer_=e,this.declutterExecutorGroup=null}getFeatures(e){return je()}getData(e){return null}prepareFrame(e){return je()}renderFrame(e,i){return je()}loadedTileCallback(e,i,n){e[i]||(e[i]={}),e[i][n.tileCoord.toString()]=n}createLoadedTileFinder(e,i,n){return(s,r)=>{const o=this.loadedTileCallback.bind(this,n,s);return e.forEachLoadedTile(i,s,r,o)}}forEachFeatureAtCoordinate(e,i,n,s,r){}getLayer(){return this.layer_}handleFontsChanged(){}handleImageChange_(e){e.target.getState()===si.LOADED&&this.renderIfReadyAndVisible()}loadImage(e){let i=e.getState();return i!=si.LOADED&&i!=si.ERROR&&e.addEventListener(Xe.CHANGE,this.boundHandleImageChange_),i==si.IDLE&&(e.load(),i=e.getState()),i==si.LOADED}renderIfReadyAndVisible(){const e=this.getLayer();e&&e.getVisible()&&e.getSourceState()==="ready"&&e.changed()}disposeInternal(){delete this.layer_,super.disposeInternal()}}const iT=tT;class nT extends Cn{constructor(e,i,n,s){super(e),this.inversePixelTransform=i,this.frameState=n,this.context=s}}const G_=nT,dp=[];let Dr=null;function sT(){Dr=Si(1,1,void 0,{willReadFrequently:!0})}class rT extends iT{constructor(e){super(e),this.container=null,this.renderedResolution,this.tempTransform=Tn(),this.pixelTransform=Tn(),this.inversePixelTransform=Tn(),this.context=null,this.containerReused=!1,this.pixelContext_=null,this.frameState=null}getImageData(e,i,n){Dr||sT(),Dr.clearRect(0,0,1,1);let s;try{Dr.drawImage(e,i,n,1,1,0,0,1,1),s=Dr.getImageData(0,0,1,1).data}catch{return Dr=null,null}return s}getBackground(e){let n=this.getLayer().getBackground();return typeof n=="function"&&(n=n(e.viewState.resolution)),n||void 0}useContainer(e,i,n){const s=this.getLayer().getClassName();let r,o;if(e&&e.className===s&&(!n||e&&e.style.backgroundColor&&Ts(jl(e.style.backgroundColor),jl(n)))){const a=e.firstElementChild;a instanceof HTMLCanvasElement&&(o=a.getContext("2d"))}if(o&&o.canvas.style.transform===i?(this.container=e,this.context=o,this.containerReused=!0):this.containerReused&&(this.container=null,this.context=null,this.containerReused=!1),!this.container){r=document.createElement("div"),r.className=s;let a=r.style;a.position="absolute",a.width="100%",a.height="100%",o=Si();const c=o.canvas;r.appendChild(c),a=c.style,a.position="absolute",a.left="0",a.transformOrigin="top left",this.container=r,this.context=o}
12!this.containerReused&&n&&!this.container.style.backgroundColor&&(this.container.style.backgroundColor=n)}clipUnrotated(e,i,n){const s=fr(n),r=Ic(n),o=Tc(n),a=kc(n);ai(i.coordinateToPixelTransform,s),ai(i.coordinateToPixelTransform,r),ai(i.coordinateToPixelTransform,o),ai(i.coordinateToPixelTransform,a);const c=this.inversePixelTransform;ai(c,s),ai(c,r),ai(c,o),ai(c,a),e.save(),e.beginPath(),e.moveTo(Math.round(s[0]),Math.round(s[1])),e.lineTo(Math.round(r[0]),Math.round(r[1])),e.lineTo(Math.round(o[0]),Math.round(o[1])),e.lineTo(Math.round(a[0]),Math.round(a[1])),e.clip()}dispatchRenderEvent_(e,i,n){const s=this.getLayer();if(s.hasListener(e)){const r=new G_(e,this.inversePixelTransform,n,i);s.dispatchEvent(r)}}preRender(e,i){this.frameState=i,this.dispatchRenderEvent_(_s.PRERENDER,e,i)}postRender(e,i){this.dispatchRenderEvent_(_s.POSTRENDER,e,i)}getRenderTransform(e,i,n,s,r,o,a){const c=r/2,u=o/2,d=s/i,g=-d,v=-e[0]+a,_=-e[1];return Es(this.tempTransform,c,u,d,g,-n,v,_)}disposeInternal(){delete this.frameState,super.disposeInternal()}}const j_=rT;function oT(t,e,i,n,s,r,o,a,c,u,d,g){let v=t[e],_=t[e+1],y=0,S=0,C=0,x=0;function I(){y=v,S=_,e+=n,v=t[e],_=t[e+1],x+=C,C=Math.sqrt((v-y)*(v-y)+(_-S)*(_-S))}do I();while(e<i-n&&x+C<r);let R=C===0?0:(r-x)/C;const F=Gn(y,v,R),Z=Gn(S,_,R),p=e-n,le=x,Q=r+a*c(u,s,d);for(;e<i-n&&x+C<Q;)I();R=C===0?0:(Q-x)/C;const ae=Gn(y,v,R),ue=Gn(S,_,R);let Ce;if(g){const be=[F,Z,ae,ue];h_(be,0,4,2,g,be,be),Ce=be[0]>be[2]}else Ce=F>ae;const ee=Math.PI,Te=[],$e=p+n===e;e=p,C=0,x=le,v=t[e],_=t[e+1];let Ee;if($e){I(),Ee=Math.atan2(_-S,v-y),Ce&&(Ee+=Ee>0?-ee:ee);const be=(ae+F)/2,N=(ue+Z)/2;return Te[0]=[be,N,(Q-r)/2,Ee,s],Te}s=s.replace(/\n/g," ");for(let be=0,N=s.length;be<N;){I();let oe=Math.atan2(_-S,v-y);if(Ce&&(oe+=oe>0?-ee:ee),Ee!==void 0){let Ye=oe-Ee;if(Ye+=Ye>ee?-2*ee:Ye<-ee?2*ee:0,Math.abs(Ye)>o)return null}Ee=oe;const Ie=be;let Be=0;for(;be<N;++be){const Ye=Ce?N-be-1:be,W=a*c(u,s[Ye],d);if(e+n<i&&x+C<r+Be+W/2)break;Be+=W}if(be===Ie)continue;const Ze=Ce?s.substring(N-Ie,N-be):s.substring(Ie,be);R=C===0?0:(r+Be/2-x)/C;const te=Gn(y,v,R),pt=Gn(S,_,R);Te.push([te,pt,Be/2,oe,Ze]),r+=Be}return Te}const kr=qi(),is=[],Ln=[],On=[],ns=[];function hp(t){return t[3].declutterBox}const aT=new RegExp("["+String.fromCharCode(1425)+"-"+String.fromCharCode(2303)+String.fromCharCode(64285)+"-"+String.fromCharCode(65023)+String.fromCharCode(65136)+"-"+String.fromCharCode(65276)+String.fromCharCode(67584)+"-"+String.fromCharCode(69631)+String.fromCharCode(124928)+"-"+String.fromCharCode(126975)+"]");function fp(t,e){return(e==="start"||e==="end")&&!aT.test(t)&&(e=e==="start"?"left":"right"),$o[e]}function lT(t,e,i){return i>0&&t.push(`
13`,""),t.push(e,""),t}class cT{constructor(e,i,n,s){this.overlaps=n,this.pixelRatio=i,this.resolution=e,this.alignFill_,this.instructions=s.instructions,this.coordinates=s.coordinates,this.coordinateCache_={},this.renderedTransform_=Tn(),this.hitDetectionInstructions=s.hitDetectionInstructions,this.pixelCoordinates_=null,this.viewRotation_=0,this.fillStates=s.fillStates||{},this.strokeStates=s.strokeStates||{},this.textStates=s.textStates||{},this.widths_={},this.labels_={}}createLabel(e,i,n,s){const r=e+i+n+s;if(this.labels_[r])return this.labels_[r];const o=s?this.strokeStates[s]:null,a=n?this.fillStates[n]:null,c=this.textStates[i],u=this.pixelRatio,d=[c.scale[0]*u,c.scale[1]*u],g=Array.isArray(e),v=c.justify?$o[c.justify]:fp(Array.isArray(e)?e[0]:e,c.textAlign||ca),_=s&&o.lineWidth?o.lineWidth:0,y=g?e:e.split(`
14`).reduce(lT,[]),{width:S,height:C,widths:x,heights:I,lineWidths:R}=Sk(c,y),F=S+_,Z=[],p=(F+2)*d[0],le=(C+_)*d[1],Q={width:p<0?Math.floor(p):Math.ceil(p),height:le<0?Math.floor(le):Math.ceil(le),contextInstructions:Z};(d[0]!=1||d[1]!=1)&&Z.push("scale",d),s&&(Z.push("strokeStyle",o.strokeStyle),Z.push("lineWidth",_),Z.push("lineCap",o.lineCap),Z.push("lineJoin",o.lineJoin),Z.push("miterLimit",o.miterLimit),Z.push("setLineDash",[o.lineDash]),Z.push("lineDashOffset",o.lineDashOffset)),n&&Z.push("fillStyle",a.fillStyle),Z.push("textBaseline","middle"),Z.push("textAlign","center");const ae=.5-v;let ue=v*F+ae*_;const Ce=[],ee=[];let Te=0,$e=0,Ee=0,be=0,N;for(let oe=0,Ie=y.length;oe<Ie;oe+=2){const Be=y[oe];if(Be===`
15`){$e+=Te,Te=0,ue=v*F+ae*_,++be;continue}const Ze=y[oe+1]||c.font;Ze!==N&&(s&&Ce.push("font",Ze),n&&ee.push("font",Ze),N=Ze),Te=Math.max(Te,I[Ee]);const te=[Be,ue+ae*x[Ee]+v*(x[Ee]-R[be]),.5*(_+Te)+$e];ue+=x[Ee],s&&Ce.push("strokeText",te),n&&ee.push("fillText",te),++Ee}return Array.prototype.push.apply(Z,Ce),Array.prototype.push.apply(Z,ee),this.labels_[r]=Q,Q}
15replayTextBackground_(e,i,n,s,r,o,a){e.beginPath(),e.moveTo.apply(e,i),e.lineTo.apply(e,n),e.lineTo.apply(e,s),e.lineTo.apply(e,r),e.lineTo.apply(e,i),o&&(this.alignFill_=o[2],this.fill_(e)),a&&(this.setStrokeStyle_(e,a),e.stroke())}calculateImageOrLabelDimensions_(e,i,n,s,r,o,a,c,u,d,g,v,_,y,S,C){a*=v[0],c*=v[1];let x=n-a,I=s-c;const R=r+u>e?e-u:r,F=o+d>i?i-d:o,Z=y[3]+R*v[0]+y[1],p=y[0]+F*v[1]+y[2],le=x-y[3],Q=I-y[0];(S||g!==0)&&(is[0]=le,ns[0]=le,is[1]=Q,Ln[1]=Q,Ln[0]=le+Z,On[0]=Ln[0],On[1]=Q+p,ns[1]=On[1]);let ae;return g!==0?(ae=Es(Tn(),n,s,1,1,g,-n,-s),ai(ae,is),ai(ae,Ln),ai(ae,On),ai(ae,ns),Wn(Math.min(is[0],Ln[0],On[0],ns[0]),Math.min(is[1],Ln[1],On[1],ns[1]),Math.max(is[0],Ln[0],On[0],ns[0]),Math.max(is[1],Ln[1],On[1],ns[1]),kr)):Wn(Math.min(le,le+Z),Math.min(Q,Q+p),Math.max(le,le+Z),Math.max(Q,Q+p),kr),_&&(x=Math.round(x),I=Math.round(I)),{drawImageX:x,drawImageY:I,drawImageW:R,drawImageH:F,originX:u,originY:d,declutterBox:{minX:kr[0],minY:kr[1],maxX:kr[2],maxY:kr[3],value:C},canvasTransform:ae,scale:v}}replayImageOrLabel_(e,i,n,s,r,o,a){const c=!!(o||a),u=s.declutterBox,d=e.canvas,g=a?a[2]*s.scale[0]/2:0;return u.minX-g<=d.width/i&&u.maxX+g>=0&&u.minY-g<=d.height/i&&u.maxY+g>=0&&(c&&this.replayTextBackground_(e,is,Ln,On,ns,o,a),Ek(e,s.canvasTransform,r,n,s.originX,s.originY,s.drawImageW,s.drawImageH,s.drawImageX,s.drawImageY,s.scale)),!0}fill_(e){if(this.alignFill_){const i=ai(this.renderedTransform_,[0,0]),n=512*this.pixelRatio;e.save(),e.translate(i[0]%n,i[1]%n),e.rotate(this.viewRotation_)}e.fill(),this.alignFill_&&e.restore()}setStrokeStyle_(e,i){e.strokeStyle=i[1],e.lineWidth=i[2],e.lineCap=i[3],e.lineJoin=i[4],e.miterLimit=i[5],e.lineDashOffset=i[7],e.setLineDash(i[6])}drawLabelWithPointPlacement_(e,i,n,s){const r=this.textStates[i],o=this.createLabel(e,i,s,n),a=this.strokeStates[n],c=this.pixelRatio,u=fp(Array.isArray(e)?e[0]:e,r.textAlign||ca),d=$o[r.textBaseline||Hl],g=a&&a.lineWidth?a.lineWidth:0,v=o.width/c-2*r.scale[0],_=u*v+2*(.5-u)*g,y=d*o.height/c+2*(.5-d)*g;return{label:o,anchorX:_,anchorY:y}}execute_(e,i,n,s,r,o,a,c){let u;this.pixelCoordinates_&&Ts(n,this.renderedTransform_)?u=this.pixelCoordinates_:(this.pixelCoordinates_||(this.pixelCoordinates_=[]),u=rr(this.coordinates,0,this.coordinates.length,2,n,this.pixelCoordinates_),M1(this.renderedTransform_,n));let d=0;const g=s.length;let v=0,_,y,S,C,x,I,R,F,Z,p,le,Q,ae=0,ue=0,Ce=null,ee=null;const Te=this.coordinateCache_,$e=this.viewRotation_,Ee=Math.round(Math.atan2(-n[1],n[0])*1e12)/1e12,be={context:e,pixelRatio:this.pixelRatio,resolution:this.resolution,rotation:$e},N=this.instructions!=s||this.overlaps?0:200;let oe,Ie,Be,Ze;for(;d<g;){const te=s[d];switch(te[0]){case Ne.BEGIN_GEOMETRY:oe=te[1],Ze=te[3],oe.getGeometry()?a!==void 0&&!Ri(a,Ze.getExtent())?d=te[2]+1:++d:d=te[2];break;case Ne.BEGIN_PATH:ae>N&&(this.fill_(e),ae=0),ue>N&&(e.stroke(),ue=0),!ae&&!ue&&(e.beginPath(),C=NaN,x=NaN),++d;break;case Ne.CIRCLE:v=te[1];const Ye=u[v],W=u[v+1],pe=u[v+2],de=u[v+3],ve=pe-Ye,Me=de-W,st=Math.sqrt(ve*ve+Me*Me);e.moveTo(Ye+st,W),e.arc(Ye,W,st,0,2*Math.PI,!0),++d;break;case Ne.CLOSE_PATH:e.closePath(),++d;break;case Ne.CUSTOM:v=te[1],_=te[2];const Ge=te[3],A=te[4],O=te.length==6?te[5]:void 0;be.geometry=Ge,be.feature=oe,d in Te||(Te[d]=[]);const K=Te[d];O?O(u,v,_,2,K):(K[0]=u[v],K[1]=u[v+1],K.length=2),A(K,be),++d;break;case Ne.DRAW_IMAGE:v=te[1],_=te[2],F=te[3],y=te[4],S=te[5];let V=te[6];const G=te[7],se=te[8],ye=te[9],ce=te[10];let ge=te[11];const re=te[12];let ke=te[13];const _e=te[14],we=te[15];if(!F&&te.length>=20){Z=te[19],p=te[20],le=te[21],Q=te[22];const _i=this.drawLabelWithPointPlacement_(Z,p,le,Q);F=_i.label,te[3]=F;const gn=te[23];y=(_i.anchorX-gn)*this.pixelRatio,te[4]=y;const ci=te[24];S=(_i.anchorY-ci)*this.pixelRatio,te[5]=S,V=F.height,te[6]=V,ke=F.width,te[13]=ke}let xe;te.length>25&&(xe=te[25]);let Fe,nt,qe;te.length>17?(Fe=te[16],nt=te[17],qe=te[18]):(Fe=Js,nt=!1,qe=!1),ce&&Ee?ge+=$e:!ce&&!Ee&&(ge-=$e);let mt=0;for(;v<_;v+=2){if(xe&&xe[mt++]<ke/this.pixelRatio)continue;const _i=this.calculateImageOrLabelDimensions_(F.width,F.height,u[v],u[v+1],ke,V,y,S,se,ye,ge,re,r,Fe,nt||qe,oe),gn=[e,i,F,_i,G,nt?Ce:null,qe?ee:null];if(c){if(_e==="none")continue;if(_e==="obstacle"){c.insert(_i.declutterBox);continue}else{let ci,Qi;if(we){const bi=_-v;if(!we[bi]){we[bi]=gn;continue}if(ci=we[bi],delete we[bi],Qi=hp(ci),c.collides(Qi))continue}if(c.collides(_i.declutterBox))continue;ci&&(c.insert(Qi),this.replayImageOrLabel_.apply(this,ci)),c.insert(_i.declutterBox)}}this.replayImageOrLabel_.apply(this,gn)}++d;break;case Ne.DRAW_CHARS:const Qt=te[1],Ot=te[2],Di=te[3],Li=te[4];Q=te[5];const xs=te[6],Jt=te[7],It=te[8];le=te[9];
15const Wt=te[10];Z=te[11],p=te[12];const vr=[te[13],te[13]],vo=this.textStates[p],Vn=vo.font,Yn=[vo.scale[0]*Jt,vo.scale[1]*Jt];let Ki;Vn in this.widths_?Ki=this.widths_[Vn]:(Ki={},this.widths_[Vn]=Ki);const An=b_(u,Qt,Ot,2),Ra=Math.abs(Yn[0])*ip(Vn,Z,Ki);if(Li||Ra<=An){const _i=this.textStates[p].textAlign,gn=(An-Ra)*$o[_i],ci=oT(u,Qt,Ot,2,Z,gn,xs,Math.abs(Yn[0]),ip,Vn,Ki,Ee?0:this.viewRotation_);e:if(ci){const Qi=[];let bi,_r,Cs,hi,Ei;if(le)for(bi=0,_r=ci.length;bi<_r;++bi){Ei=ci[bi],Cs=Ei[4],hi=this.createLabel(Cs,p,"",le),y=Ei[2]+(Yn[0]<0?-Wt:Wt),S=Di*hi.height+(.5-Di)*2*Wt*Yn[1]/Yn[0]-It;const Hi=this.calculateImageOrLabelDimensions_(hi.width,hi.height,Ei[0],Ei[1],hi.width,hi.height,y,S,0,0,Ei[3],vr,!1,Js,!1,oe);if(c&&c.collides(Hi.declutterBox))break e;Qi.push([e,i,hi,Hi,1,null,null])}if(Q)for(bi=0,_r=ci.length;bi<_r;++bi){Ei=ci[bi],Cs=Ei[4],hi=this.createLabel(Cs,p,Q,""),y=Ei[2],S=Di*hi.height-It;const Hi=this.calculateImageOrLabelDimensions_(hi.width,hi.height,Ei[0],Ei[1],hi.width,hi.height,y,S,0,0,Ei[3],vr,!1,Js,!1,oe);if(c&&c.collides(Hi.declutterBox))break e;Qi.push([e,i,hi,Hi,1,null,null])}c&&c.load(Qi.map(hp));for(let Hi=0,jc=Qi.length;Hi<jc;++Hi)this.replayImageOrLabel_.apply(this,Qi[Hi])}}++d;break;case Ne.END_GEOMETRY:if(o!==void 0){oe=te[1];const _i=o(oe,Ze);if(_i)return _i}++d;break;case Ne.FILL:N?ae++:this.fill_(e),++d;break;case Ne.MOVE_TO_LINE_TO:for(v=te[1],_=te[2],Ie=u[v],Be=u[v+1],I=Ie+.5|0,R=Be+.5|0,(I!==C||R!==x)&&(e.moveTo(Ie,Be),C=I,x=R),v+=2;v<_;v+=2)Ie=u[v],Be=u[v+1],I=Ie+.5|0,R=Be+.5|0,(v==_-2||I!==C||R!==x)&&(e.lineTo(Ie,Be),C=I,x=R);++d;break;case Ne.SET_FILL_STYLE:Ce=te,this.alignFill_=te[2],ae&&(this.fill_(e),ae=0,ue&&(e.stroke(),ue=0)),e.fillStyle=te[1],++d;break;case Ne.SET_STROKE_STYLE:ee=te,ue&&(e.stroke(),ue=0),this.setStrokeStyle_(e,te),++d;break;case Ne.STROKE:N?ue++:e.stroke(),++d;break;default:++d;break}}ae&&this.fill_(e),ue&&e.stroke()}execute(e,i,n,s,r,o){this.viewRotation_=s,this.execute_(e,i,n,this.instructions,r,void 0,void 0,o)}executeHitDetection(e,i,n,s,r){return this.viewRotation_=n,this.execute_(e,1,i,this.hitDetectionInstructions,!0,s,r)}}const uT=cT,Iu=["Polygon","Circle","LineString","Image","Text","Default"];class dT{constructor(e,i,n,s,r,o){this.maxExtent_=e,this.overlaps_=s,this.pixelRatio_=n,this.resolution_=i,this.renderBuffer_=o,this.executorsByZIndex_={},this.hitDetectionContext_=null,this.hitDetectionTransform_=Tn(),this.createExecutors_(r)}clip(e,i){const n=this.getClipCoords(i);e.beginPath(),e.moveTo(n[0],n[1]),e.lineTo(n[2],n[3]),e.lineTo(n[4],n[5]),e.lineTo(n[6],n[7]),e.clip()}createExecutors_(e){for(const i in e){let n=this.executorsByZIndex_[i];n===void 0&&(n={},this.executorsByZIndex_[i]=n);const s=e[i];for(const r in s){const o=s[r];n[r]=new uT(this.resolution_,this.pixelRatio_,this.overlaps_,o)}}}hasExecutors(e){for(const i in this.executorsByZIndex_){const n=this.executorsByZIndex_[i];for(let s=0,r=e.length;s<r;++s)if(e[s]in n)return!0}return!1}forEachFeatureAtCoordinate(e,i,n,s,r,o){s=Math.round(s);const a=s*2+1,c=Es(this.hitDetectionTransform_,s+.5,s+.5,1/i,-1/i,-n,-e[0],-e[1]),u=!this.hitDetectionContext_;u&&(this.hitDetectionContext_=Si(a,a,void 0,{willReadFrequently:!0}));const d=this.hitDetectionContext_;d.canvas.width!==a||d.canvas.height!==a?(d.canvas.width=a,d.canvas.height=a):u||d.clearRect(0,0,a,a);let g;this.renderBuffer_!==void 0&&(g=qi(),Ho(g,e),dh(g,i*(this.renderBuffer_+s),g));const v=hT(s);let _;function y(Z,p){const le=d.getImageData(0,0,a,a).data;for(let Q=0,ae=v.length;Q<ae;Q++)if(le[v[Q]]>0){if(!o||_!=="Image"&&_!=="Text"||o.includes(Z)){const ue=(v[Q]-3)/4,Ce=s-ue%a,ee=s-(ue/a|0),Te=r(Z,p,Ce*Ce+ee*ee);if(Te)return Te}d.clearRect(0,0,a,a);break}}const S=Object.keys(this.executorsByZIndex_).map(Number);S.sort(ar);let C,x,I,R,F;for(C=S.length-1;C>=0;--C){const Z=S[C].toString();for(I=this.executorsByZIndex_[Z],x=Iu.length-1;x>=0;--x)if(_=Iu[x],R=I[_],R!==void 0&&(F=R.executeHitDetection(d,c,n,y,g),F))return F}}getClipCoords(e){const i=this.maxExtent_;if(!i)return null;const n=i[0],s=i[1],r=i[2],o=i[3],a=[n,s,n,o,r,o,r,s];return rr(a,0,8,2,e,a),a}isEmpty(){return to(this.executorsByZIndex_)}execute(e,i,n,s,r,o,a){const c=Object.keys(this.executorsByZIndex_).map(Number);c.sort(ar),this.maxExtent_&&(e.save(),this.clip(e,n)),o=o||Iu;let u,d,g,v,_,y;for(a&&c.reverse(),u=0,d=c.length;u<d;++u){const S=c[u].toString();for(_=this.executorsByZIndex_[S],g=0,v=o.length;g<v;++g){const C=o[g];y=_[C],y!==void 0&&y.execute(e,i,n,s,r,a)}}
15this.maxExtent_&&e.restore()}}const xu={};function hT(t){if(xu[t]!==void 0)return xu[t];const e=t*2+1,i=t*t,n=new Array(i+1);for(let r=0;r<=t;++r)for(let o=0;o<=t;++o){const a=r*r+o*o;if(a>i)break;let c=n[a];c||(c=[],n[a]=c),c.push(((t+r)*e+(t+o))*4+3),r>0&&c.push(((t-r)*e+(t+o))*4+3),o>0&&(c.push(((t+r)*e+(t-o))*4+3),r>0&&c.push(((t-r)*e+(t-o))*4+3))}const s=[];for(let r=0,o=n.length;r<o;++r)n[r]&&s.push(...n[r]);return xu[t]=s,s}const gp=dT,pi={ANIMATING:0,INTERACTING:1};class fT extends N_{constructor(e,i,n,s,r,o,a){super(),this.context_=e,this.pixelRatio_=i,this.extent_=n,this.transform_=s,this.transformRotation_=s?gh(Math.atan2(s[1],s[0]),10):0,this.viewRotation_=r,this.squaredTolerance_=o,this.userTransform_=a,this.contextFillState_=null,this.contextStrokeState_=null,this.contextTextState_=null,this.fillState_=null,this.strokeState_=null,this.image_=null,this.imageAnchorX_=0,this.imageAnchorY_=0,this.imageHeight_=0,this.imageOpacity_=0,this.imageOriginX_=0,this.imageOriginY_=0,this.imageRotateWithView_=!1,this.imageRotation_=0,this.imageScale_=[0,0],this.imageWidth_=0,this.text_="",this.textOffsetX_=0,this.textOffsetY_=0,this.textRotateWithView_=!1,this.textRotation_=0,this.textScale_=[0,0],this.textFillState_=null,this.textStrokeState_=null,this.textState_=null,this.pixelCoordinates_=[],this.tmpLocalTransform_=Tn()}drawImages_(e,i,n,s){if(!this.image_)return;const r=rr(e,i,n,s,this.transform_,this.pixelCoordinates_),o=this.context_,a=this.tmpLocalTransform_,c=o.globalAlpha;this.imageOpacity_!=1&&(o.globalAlpha=c*this.imageOpacity_);let u=this.imageRotation_;this.transformRotation_===0&&(u-=this.viewRotation_),this.imageRotateWithView_&&(u+=this.viewRotation_);for(let d=0,g=r.length;d<g;d+=2){const v=r[d]-this.imageAnchorX_,_=r[d+1]-this.imageAnchorY_;if(u!==0||this.imageScale_[0]!=1||this.imageScale_[1]!=1){const y=v+this.imageAnchorX_,S=_+this.imageAnchorY_;Es(a,y,S,1,1,u,-y,-S),o.setTransform.apply(o,a),o.translate(y,S),o.scale(this.imageScale_[0],this.imageScale_[1]),o.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,-this.imageAnchorX_,-this.imageAnchorY_,this.imageWidth_,this.imageHeight_),o.setTransform(1,0,0,1,0,0)}else o.drawImage(this.image_,this.imageOriginX_,this.imageOriginY_,this.imageWidth_,this.imageHeight_,v,_,this.imageWidth_,this.imageHeight_)}this.imageOpacity_!=1&&(o.globalAlpha=c)}drawText_(e,i,n,s){if(!this.textState_||this.text_==="")return;this.textFillState_&&this.setContextFillState_(this.textFillState_),this.textStrokeState_&&this.setContextStrokeState_(this.textStrokeState_),this.setContextTextState_(this.textState_);const r=rr(e,i,n,s,this.transform_,this.pixelCoordinates_),o=this.context_;let a=this.textRotation_;for(this.transformRotation_===0&&(a-=this.viewRotation_),this.textRotateWithView_&&(a+=this.viewRotation_);i<n;i+=s){const c=r[i]+this.textOffsetX_,u=r[i+1]+this.textOffsetY_;a!==0||this.textScale_[0]!=1||this.textScale_[1]!=1?(o.translate(c-this.textOffsetX_,u-this.textOffsetY_),o.rotate(a),o.translate(this.textOffsetX_,this.textOffsetY_),o.scale(this.textScale_[0],this.textScale_[1]),this.textStrokeState_&&o.strokeText(this.text_,0,0),this.textFillState_&&o.fillText(this.text_,0,0),o.setTransform(1,0,0,1,0,0)):(this.textStrokeState_&&o.strokeText(this.text_,c,u),this.textFillState_&&o.fillText(this.text_,c,u))}}moveToLineTo_(e,i,n,s,r){const o=this.context_,a=rr(e,i,n,s,this.transform_,this.pixelCoordinates_);o.moveTo(a[0],a[1]);let c=a.length;r&&(c-=2);for(let u=2;u<c;u+=2)o.lineTo(a[u],a[u+1]);return r&&o.closePath(),n}drawRings_(e,i,n,s){for(let r=0,o=n.length;r<o;++r)i=this.moveToLineTo_(e,i,n[r],s,!0);return i}drawCircle(e){if(Ri(this.extent_,e.getExtent())){if(this.fillState_||this.strokeState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const i=hE(e,this.transform_,this.pixelCoordinates_),n=i[2]-i[0],s=i[3]-i[1],r=Math.sqrt(n*n+s*s),o=this.context_;o.beginPath(),o.arc(i[0],i[1],r,0,2*Math.PI),this.fillState_&&o.fill(),this.strokeState_&&o.stroke()}this.text_!==""&&this.drawText_(e.getCenter(),0,2,2)}}
15setStyle(e){this.setFillStrokeStyle(e.getFill(),e.getStroke()),this.setImageStyle(e.getImage()),this.setTextStyle(e.getText())}setTransform(e){this.transform_=e}drawGeometry(e){switch(e.getType()){case"Point":this.drawPoint(e);break;case"LineString":this.drawLineString(e);break;case"Polygon":this.drawPolygon(e);break;case"MultiPoint":this.drawMultiPoint(e);break;case"MultiLineString":this.drawMultiLineString(e);break;case"MultiPolygon":this.drawMultiPolygon(e);break;case"GeometryCollection":this.drawGeometryCollection(e);break;case"Circle":this.drawCircle(e);break}}drawFeature(e,i){const n=i.getGeometryFunction()(e);!n||!Ri(this.extent_,n.getExtent())||(this.setStyle(i),this.drawGeometry(n))}drawGeometryCollection(e){const i=e.getGeometriesArray();for(let n=0,s=i.length;n<s;++n)this.drawGeometry(i[n])}drawPoint(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const i=e.getFlatCoordinates(),n=e.getStride();this.image_&&this.drawImages_(i,0,i.length,n),this.text_!==""&&this.drawText_(i,0,i.length,n)}drawMultiPoint(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const i=e.getFlatCoordinates(),n=e.getStride();this.image_&&this.drawImages_(i,0,i.length,n),this.text_!==""&&this.drawText_(i,0,i.length,n)}drawLineString(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!Ri(this.extent_,e.getExtent())){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const i=this.context_,n=e.getFlatCoordinates();i.beginPath(),this.moveToLineTo_(n,0,n.length,e.getStride(),!1),i.stroke()}if(this.text_!==""){const i=e.getFlatMidpoint();this.drawText_(i,0,2,2)}}}drawMultiLineString(e){this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_));const i=e.getExtent();if(Ri(this.extent_,i)){if(this.strokeState_){this.setContextStrokeState_(this.strokeState_);const n=this.context_,s=e.getFlatCoordinates();let r=0;const o=e.getEnds(),a=e.getStride();n.beginPath();for(let c=0,u=o.length;c<u;++c)r=this.moveToLineTo_(s,r,o[c],a,!1);n.stroke()}if(this.text_!==""){const n=e.getFlatMidpoints();this.drawText_(n,0,n.length,2)}}}drawPolygon(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!Ri(this.extent_,e.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const i=this.context_;i.beginPath(),this.drawRings_(e.getOrientedFlatCoordinates(),0,e.getEnds(),e.getStride()),this.fillState_&&i.fill(),this.strokeState_&&i.stroke()}if(this.text_!==""){const i=e.getFlatInteriorPoint();this.drawText_(i,0,2,2)}}}drawMultiPolygon(e){if(this.squaredTolerance_&&(e=e.simplifyTransformed(this.squaredTolerance_,this.userTransform_)),!!Ri(this.extent_,e.getExtent())){if(this.strokeState_||this.fillState_){this.fillState_&&this.setContextFillState_(this.fillState_),this.strokeState_&&this.setContextStrokeState_(this.strokeState_);const i=this.context_,n=e.getOrientedFlatCoordinates();let s=0;const r=e.getEndss(),o=e.getStride();i.beginPath();for(let a=0,c=r.length;a<c;++a){const u=r[a];s=this.drawRings_(n,s,u,o)}this.fillState_&&i.fill(),this.strokeState_&&i.stroke()}if(this.text_!==""){const i=e.getFlatInteriorPoints();this.drawText_(i,0,i.length,2)}}}setContextFillState_(e){const i=this.context_,n=this.contextFillState_;n?n.fillStyle!=e.fillStyle&&(n.fillStyle=e.fillStyle,i.fillStyle=e.fillStyle):(i.fillStyle=e.fillStyle,this.contextFillState_={fillStyle:e.fillStyle})}setContextStrokeState_(e){const i=this.context_,n=this.contextStrokeState_;n?(n.lineCap!=e.lineCap&&(n.lineCap=e.lineCap,i.lineCap=e.lineCap),Ts(n.lineDash,e.lineDash)||i.setLineDash(n.lineDash=e.lineDash),n.lineDashOffset!=e.lineDashOffset&&(n.lineDashOffset=e.lineDashOffset,i.lineDashOffset=e.lineDashOffset),n.lineJoin!=e.lineJoin&&(n.lineJoin=e.lineJoin,i.lineJoin=e.lineJoin),n.lineWidth!=e.lineWidth&&(n.lineWidth=e.lineWidth,i.lineWidth=e.lineWidth),n.miterLimit!=e.miter
15Limit&&(n.miterLimit=e.miterLimit,i.miterLimit=e.miterLimit),n.strokeStyle!=e.strokeStyle&&(n.strokeStyle=e.strokeStyle,i.strokeStyle=e.strokeStyle)):(i.lineCap=e.lineCap,i.setLineDash(e.lineDash),i.lineDashOffset=e.lineDashOffset,i.lineJoin=e.lineJoin,i.lineWidth=e.lineWidth,i.miterLimit=e.miterLimit,i.strokeStyle=e.strokeStyle,this.contextStrokeState_={lineCap:e.lineCap,lineDash:e.lineDash,lineDashOffset:e.lineDashOffset,lineJoin:e.lineJoin,lineWidth:e.lineWidth,miterLimit:e.miterLimit,strokeStyle:e.strokeStyle})}setContextTextState_(e){const i=this.context_,n=this.contextTextState_,s=e.textAlign?e.textAlign:ca;n?(n.font!=e.font&&(n.font=e.font,i.font=e.font),n.textAlign!=s&&(n.textAlign=s,i.textAlign=s),n.textBaseline!=e.textBaseline&&(n.textBaseline=e.textBaseline,i.textBaseline=e.textBaseline)):(i.font=e.font,i.textAlign=s,i.textBaseline=e.textBaseline,this.contextTextState_={font:e.font,textAlign:s,textBaseline:e.textBaseline})}setFillStrokeStyle(e,i){if(!e)this.fillState_=null;else{const n=e.getColor();this.fillState_={fillStyle:En(n||Kn)}}if(!i)this.strokeState_=null;else{const n=i.getColor(),s=i.getLineCap(),r=i.getLineDash(),o=i.getLineDashOffset(),a=i.getLineJoin(),c=i.getWidth(),u=i.getMiterLimit(),d=r||ra;this.strokeState_={lineCap:s!==void 0?s:Kl,lineDash:this.pixelRatio_===1?d:d.map(g=>g*this.pixelRatio_),lineDashOffset:(o||oa)*this.pixelRatio_,lineJoin:a!==void 0?a:so,lineWidth:(c!==void 0?c:ua)*this.pixelRatio_,miter
15Limit:u!==void 0?u:aa,strokeStyle:En(n||la)}}}setImageStyle(e){let i;if(!e||!(i=e.getSize())){this.image_=null;return}const n=e.getPixelRatio(this.pixelRatio_),s=e.getAnchor(),r=e.getOrigin();this.image_=e.getImage(this.pixelRatio_),this.imageAnchorX_=s[0]*n,this.imageAnchorY_=s[1]*n,this.imageHeight_=i[1]*n,this.imageOpacity_=e.getOpacity(),this.imageOriginX_=r[0],this.imageOriginY_=r[1],this.imageRotateWithView_=e.getRotateWithView(),this.imageRotation_=e.getRotation();const o=e.getScaleArray();this.imageScale_=[o[0]*this.pixelRatio_/n,o[1]*this.pixelRatio_/n],this.imageWidth_=i[0]*n}setTextStyle(e){if(!e)this.text_="";else{const i=e.getFill();if(!i)this.textFillState_=null;else{const _=i.getColor();this.textFillState_={fillStyle:En(_||Kn)}}const n=e.getStroke();if(!n)this.textStrokeState_=null;else{const _=n.getColor(),y=n.getLineCap(),S=n.getLineDash(),C=n.getLineDashOffset(),x=n.getLineJoin(),I=n.getWidth(),R=n.getMiterLimit();this.textStrokeState_={lineCap:y!==void 0?y:Kl,lineDash:S||ra,lineDashOffset:C||oa,lineJoin:x!==void 0?x:so,lineWidth:I!==void 0?I:ua,miterLimit:R!==void 0?R:aa,strokeStyle:En(_||la)}}const s=e.getFont(),r=e.getOffsetX(),o=e.getOffsetY(),a=e.getRotateWithView(),c=e.getRotation(),u=e.getScaleArray(),d=e.getText(),g=e.getTextAlign(),v=e.getTextBaseline();this.textState_={font:s!==void 0?s:D_,textAlign:g!==void 0?g:ca,textBaseline:v!==void 0?v:Hl},this.text_=d!==void 0?Array.isArray(d)?d.reduce((_,y,S)=>_+=S%2?" ":y,""):d:"",this.textOffsetX_=r!==void 0?this.pixelRatio_*r:0,this.textOffsetY_=o!==void 0?this.pixelRatio_*o:0,this.textRotateWithView_=a!==void 0?a:!1,this.textRotation_=c!==void 0?c:0,this.textScale_=[this.pixelRatio_*u[0],this.pixelRatio_*u[1]]}}}const gT=fT,yn=.5;function pT(t,e,i,n,s,r,o){const a=t[0]*yn,c=t[1]*yn,u=Si(a,c);u.imageSmoothingEnabled=!1;const d=u.canvas,g=new gT(u,yn,s,null,o),v=i.length,_=Math.floor((256*256*256-1)/v),y={};for(let C=1;C<=v;++C){const x=i[C-1],I=x.getStyleFunction()||n;if(!n)continue;let R=I(x,r);if(!R)continue;Array.isArray(R)||(R=[R]);const Z=(C*_).toString(16).padStart(7,"#00000");for(let p=0,le=R.length;p<le;++p){const Q=R[p],ae=Q.getGeometryFunction()(x);if(!ae||!Ri(s,ae.getExtent()))continue;const ue=Q.clone(),Ce=ue.getFill();Ce&&Ce.setColor(Z);const ee=ue.getStroke();ee&&(ee.setColor(Z),ee.setLineDash(null)),ue.setText(void 0);const Te=Q.getImage();if(Te&&Te.getOpacity()!==0){const N=Te.getImageSize();if(!N)continue;const oe=Si(N[0],N[1],void 0,{alpha:!1}),Ie=oe.canvas;oe.fillStyle=Z,oe.fillRect(0,0,Ie.width,Ie.height),ue.setImage(new Zh({img:Ie,imgSize:N,anchor:Te.getAnchor(),anchorXUnits:"pixels",anchorYUnits:"pixels",offset:Te.getOrigin(),opacity:1,size:Te.getSize(),scale:Te.getScale(),rotation:Te.getRotation(),rotateWithView:Te.getRotateWithView()}))}const $e=ue.getZIndex()||0;let Ee=y[$e];Ee||(Ee={},y[$e]=Ee,Ee.Polygon=[],Ee.Circle=[],Ee.LineString=[],Ee.Point=[]);const be=ae.getType();if(be==="GeometryCollection"){const N=ae.getGeometriesArrayRecursive();for(let oe=0,Ie=N.length;oe<Ie;++oe){const Be=N[oe];Ee[Be.getType().replace("Multi","")].push(Be,ue)}}else Ee[be.replace("Multi","")].push(ae,ue)}}const S=Object.keys(y).map(Number).sort(ar);for(let C=0,x=S.length;C<x;++C){const I=y[S[C]];for(const R in I){const F=I[R];for(let Z=0,p=F.length;Z<p;Z+=2){g.setStyle(F[Z+1]);for(let le=0,Q=e.length;le<Q;++le)g.setTransform(e[le]),g.drawGeometry(F[Z])}}}return u.getImageData(0,0,d.width,d.height)}function mT(t,e,i){const n=[];if(i){const s=Math.floor(Math.round(t[0])*yn),r=Math.floor(Math.round(t[1])*yn),o=(Kt(s,0,i.width-1)+Kt(r,0,i.height-1)*i.width)*4,a=i.data[o],c=i.data[o+1],d=i.data[o+2]+256*(c+256*a),g=Math.floor((256*256*256-1)/e.length);d&&d%g===0&&n.push(e[d/g-1])}return n}const vT=.5,K_={Point:IT,LineString:ET,Polygon:CT,MultiPoint:xT,MultiLineString:kT,MultiPolygon:TT,GeometryCollection:ST,Circle:yT};function _T(t,e){return parseInt(gt(t),10)-parseInt(gt(e),10)}function bT(t,e){const i=yd(t,e);return i*i}function yd(t,e){return vT*t/e}function yT(t,e,i,n,s){const r=i.getFill(),o=i.getStroke();if(r||o){const c=t.getBuilder(i.getZIndex(),"Circle");c.setFillStrokeStyle(r,o),c.drawCircle(e,n)}const a=i.getText();if(a&&a.getText()){const c=(s||t).getBuilder(i.getZIndex(),"Text");c.setTextStyle(a),c.drawText(e,n)}}function pp(t,e,i,n,s,r,o){let a=!1;const c=i.getImage();if(c){const u=c.getImageState();u==si.LOADED||u==si.ERROR?c.unlistenImageChange(s):(u==si.IDLE&&c.load(),c.listenImageChange(s),a=!0)}return wT(t,e,i,n,r,o),a}function wT(t,e,i,n,s,r){const o=i.getGeometryFunction()(e);if(!o)return;const a=o.simplifyTransformed(n,s);if(i.getRenderer())H_(t,a,i,e);else{const u=K_[a.getType()];u(t,a,i,e,r)}}function H_(t,e,i,n){if(e.getType()=="GeometryCollection"){const r=e.getGeometries();for(let o=0,a=r.length;o<a;++o)H_(t,r[o],i,n);return}t.getBuilder(i.getZIndex(),"Default").drawCustom(e,n,i.getRenderer(),i.getHitDetectionRenderer())}function ST(t,e,i,n,s){const r=e.getGeometriesArray();let o,a;for(o=0,a=r.length;o<a;++o){const c=K_[r[o].getType()];c(t,r[o],i,n,s)}}function ET(t,e,i,n,s){const r=i.getStroke();if(r){const a=t.getBuilder(i.getZIndex(),"LineString");a.setFillStrokeStyle(null,r),a.drawLineString(e,n)}const o=i.getText();if(o&&o.getText()){const a=(s||t).getBuilder(i.getZIndex(),"Text");a.setTextStyle(o),a.drawText(e,n)}}function kT(t,e,i,n,s){const r=i.getStroke();if(r){const a=t.getBuilder(i.getZIndex(),"LineString");a.setFillStrokeStyle(null,r),a.drawMultiLineString(e,n)}const o=i.getText();if(o&&o.getText()){const a=(s||t).getBuilder(i.getZIndex(),"Text");a.setTextStyle(o),a.drawText(e,n)}}function TT(t,e,i,n,s){const r=i.getFill(),o=i.getStroke();if(o||r){const c=t.getBuilder(i.getZIndex(),"Polygon");c.setFillStrokeStyle(r,o),c.drawMultiPolygon(e,n)}const a=i.getText();if(a&&a.getText()){const c=(s||t).getBuilder(i.getZIndex(),"Text");c.setTextStyle(a),c.drawText(e,n)}}function IT(t,e,i,n,s){const r=i.getImage(),o=i.getText();let a;if(r){if(r.getImageState()!=si.LOADED)return;let c=t;if(s){const d=r.getDeclutterMode();if(d!=="none")if(c=s,d==="obstacle"){const g=t.getBuilder(i.getZIndex(),"Image");g.setImageStyle(r,a),g.drawPoint(e,n)}else o&&o.getText()&&(a={})}const u=c.getBuilder(i.getZIndex(),"Image");u.setImageStyle(r,a),u.drawPoint(e,n)}if(o&&o.getText()){let c=t;s&&(c=s);const u=c.getBuilder(i.getZIndex(),"Text");u.setTextStyle(o,a),u.drawText(e,n)}}function xT(t,e,i,n,s){const r=i.getImage(),o=i.getText();let a;if(r){if(r.getImageState()!=si.LOADED)return;let c=t;if(s){const d=r.getDeclutterMode();if(d!=="none")if(c=s,d==="obstacle"){const g=t.getBuilder(i.getZIndex(),"Image");g.setImageStyle(r,a),g.drawMultiPoint(e,n)}else o&&o.getText()&&(a={})}const u=c.getBuilder(i.getZIndex(),"Image");u.setImageStyle(r,a),u.drawMultiPoint(e,n)}if(o&&o.getText()){let c=t;s&&(c=s);const u=c.getBuilder(i.getZIndex(),"Text");u.setTextStyle(o,a),u.drawText(e,n)}}function CT(t,e,i,n,s){const r=i.getFill(),o=i.getStroke();if(r||o){const c=t.getBuilder(i.getZIndex(),"Polygon");c.setFillStrokeStyle(r,o),c.drawPolygon(e,n)}const a=i.getText();if(a&&a.getText()){const c=(s||t).getBuilder(i.getZIndex(),"Text");c.setTextStyle(a),c.drawText(e,n)}}class RT extends j_{constructor(e){super(e),this.boundHandleStyleImageChange_=this.handleStyleImageChange_.bind(this),this.animatingOrInteracting_,this.hitDetectionImageData_=null,this.renderedFeatures_=null,this.renderedRevision_=-1,this.renderedResolution_=NaN,this.renderedExtent_=qi(),this.wrappedRenderedExtent_=qi(),this.renderedRotation_,this.renderedCenter_=null,this.renderedProjection_=null,this.renderedRenderOrder_=null,this.replayGroup_=null,this.replayGroupChanged=!0,this.declutterExecutorGroup=null,this.clipping=!0,this.compositionContext_=null,this.opacity_=1}renderWorlds(e,i,n){const s=i.extent,r=i.viewState,o=r.center,a=r.resolution,c=r.projection,u=r.rotation,d=c.getExtent(),g=this.getLayer().getSource(),v=i.pixelRatio,_=i.viewHints,y=!(_[pi.ANIMATING]||_[pi.INTERACTING]),S=this.compositionContext_,C=Math.round(i.size[0]*v),x=Math.round(i.size[1]*v),I=g.getWrapX()&&c.canWrapX(),R=I?Dt(d):null,F=I?Math.
15ceil((s[2]-d[2])/R)+1:1;let Z=I?Math.floor((s[0]-d[0])/R):0;do{const p=this.getRenderTransform(o,a,u,v,C,x,Z*R);e.execute(S,1,p,u,y,void 0,n)}while(++Z<F)}setupCompositionContext_(){if(this.opacity_!==1){const e=Si(this.context.canvas.width,this.context.canvas.height,dp);this.compositionContext_=e}else this.compositionContext_=this.context}releaseCompositionContext_(){if(this.opacity_!==1){const e=this.context.globalAlpha;this.context.globalAlpha=this.opacity_,this.context.drawImage(this.compositionContext_.canvas,0,0),this.context.globalAlpha=e,Dc(this.compositionContext_),dp.push(this.compositionContext_.canvas),this.compositionContext_=null}}renderDeclutter(e){this.declutterExecutorGroup&&(this.setupCompositionContext_(),this.renderWorlds(this.declutterExecutorGroup,e,e.declutterTree),this.releaseCompositionContext_())}renderFrame(e,i){const n=e.pixelRatio,s=e.layerStatesArray[e.layerIndex];D1(this.pixelTransform,1/n,1/n),uh(this.inversePixelTransform,this.pixelTransform);const r=qv(this.pixelTransform);this.useContainer(i,r,this.getBackground(e));const o=this.context,a=o.canvas,c=this.replayGroup_,u=this.declutterExecutorGroup;if((!c||c.isEmpty())&&(!u||u.isEmpty()))return null;const d=Math.round(e.size[0]*n),g=Math.round(e.size[1]*n);a.width!=d||a.height!=g?(a.width=d,a.height=g,a.style.transform!==r&&(a.style.transform=r)):this.containerReused||o.clearRect(0,0,d,g),this.preRender(o,e);const v=e.viewState;v.projection,this.opacity_=s.opacity,this.setupCompositionContext_();let _=!1,y=!0;if(s.extent&&this.clipping){const S=qs(s.extent);y=Ri(S,e.extent),_=y&&!Fr(S,e.extent),_&&this.clipUnrotated(this.compositionContext_,e,S)}return y&&this.renderWorlds(c,e),_&&this.compositionContext_.restore(),this.releaseCompositionContext_(),this.postRender(o,e),this.renderedRotation_!==v.rotation&&(this.renderedRotation_=v.rotation,this.hitDetectionImageData_=null),this.container}getFeatures(e){return new Promise(i=>{if(!this.hitDetectionImageData_&&!this.animatingOrInteracting_){const n=[this.context.canvas.width,this.context.canvas.height];ai(this.pixelTransform,n);const s=this.renderedCenter_,r=this.renderedResolution_,o=this.renderedRotation_,a=this.renderedProjection_,c=this.wrappedRenderedExtent_,u=this.getLayer(),d=[],g=n[0]*yn,v=n[1]*yn;d.push(this.getRenderTransform(s,r,o,yn,g,v,0).slice());const _=u.getSource(),y=a.getExtent();if(_.getWrapX()&&a.canWrapX()&&!Fr(y,c)){let S=c[0];const C=Dt(y);let x=0,I;for(;S<y[0];)--x,I=C*x,d.push(this.getRenderTransform(s,r,o,yn,g,v,I).slice()),S+=C;for(x=0,S=c[2];S>y[2];)++x,I=C*x,d.push(this.getRenderTransform(s,r,o,yn,g,v,I).slice()),S-=C}this.hitDetectionImageData_=pT(n,d,this.renderedFeatures_,u.getStyleFunction(),c,r,o)}i(mT(e,this.renderedFeatures_,this.hitDetectionImageData_))})}forEachFeatureAtCoordinate(e,i,n,s,r){if(!this.replayGroup_)return;const o=i.viewState.resolution,a=i.viewState.rotation,c=this.getLayer(),u={},d=function(_,y,S){const C=gt(_),x=u[C];if(x){if(x!==!0&&S<x.distanceSq){if(S===0)return u[C]=!0,r.splice(r.lastIndexOf(x),1),s(_,c,y);x.geometry=y,x.distanceSq=S}}else{if(S===0)return u[C]=!0,s(_,c,y);r.push(u[C]={feature:_,layer:c,geometry:y,distanceSq:S,callback:s})}};let g;const v=[this.replayGroup_];return this.declutterExecutorGroup&&v.push(this.declutterExecutorGroup),v.some(_=>g=_.forEachFeatureAtCoordinate(e,o,a,n,d,_===this.declutterExecutorGroup&&i.declutterTree?i.declutterTree.all().map(y=>y.value):null)),g}handleFontsChanged(){const e=this.getLayer();e.getVisible()&&this.replayGroup_&&e.changed()}handleStyleImageChange_(e){this.renderIfReadyAndVisible()}prepareFrame(e){const i=this.getLayer(),n=i.getSource();if(!n)return!1;const s=e.viewHints[pi.ANIMATING],r=e.viewHints[pi.INTERACTING],o=i.getUpdateWhileAnimating(),a=i.getUpdateWhileInteracting();if(this.ready&&!o&&s||!a&&r)return this.animatingOrInteracting_=!0,!0;this.animatingOrInteracting_=!1;const c=e.extent,u=e.viewState,d=u.projection,g=u.resolution,v=e.pixelRatio,_=i.getRevision(),y=i.getRenderBuffer();let S=i.getRenderOrder();S===void 0&&(S=_T);const C=u.center.slice(),x=dh(c,y*g),I=x.slice(),R=[x.slice()],F=d.getExtent();if(n.getWrapX()&&d.canWrapX()&&!Fr(F,e.extent)){const Ee=Dt(F),be=Math.max(Dt(x)
15/2,Ee);x[0]=F[0]-be,x[2]=F[2]+be,r_(C,d);const N=n_(R[0],d);N[0]<F[0]&&N[2]<F[2]?R.push([N[0]+Ee,N[1],N[2]+Ee,N[3]]):N[0]>F[0]&&N[2]>F[2]&&R.push([N[0]-Ee,N[1],N[2]-Ee,N[3]])}if(this.ready&&this.renderedResolution_==g&&this.renderedRevision_==_&&this.renderedRenderOrder_==S&&Fr(this.wrappedRenderedExtent_,x))return Ts(this.renderedExtent_,I)||(this.hitDetectionImageData_=null,this.renderedExtent_=I),this.renderedCenter_=C,this.replayGroupChanged=!1,!0;this.replayGroup_=null;const Z=new up(yd(g,v),x,g,v);let p;this.getLayer().getDeclutter()&&(p=new up(yd(g,v),x,g,v));let le;for(let Ee=0,be=R.length;Ee<be;++Ee)n.loadFeatures(R[Ee],g,d);const Q=bT(g,v);let ae=!0;const ue=Ee=>{let be;const N=Ee.getStyleFunction()||i.getStyleFunction();if(N&&(be=N(Ee,g)),be){const oe=this.renderFeature(Ee,Q,be,Z,le,p);ae=ae&&!oe}},Ce=d_(x),ee=n.getFeaturesInExtent(Ce);S&&ee.sort(S);for(let Ee=0,be=ee.length;Ee<be;++Ee)ue(ee[Ee]);this.renderedFeatures_=ee,this.ready=ae;const Te=Z.finish(),$e=new gp(x,g,v,n.getOverlaps(),Te,i.getRenderBuffer());return p&&(this.declutterExecutorGroup=new gp(x,g,v,n.getOverlaps(),p.finish(),i.getRenderBuffer())),this.renderedResolution_=g,this.renderedRevision_=_,this.renderedRenderOrder_=S,this.renderedExtent_=I,this.wrappedRenderedExtent_=x,this.renderedCenter_=C,this.renderedProjection_=d,this.replayGroup_=$e,this.hitDetectionImageData_=null,this.replayGroupChanged=!0,!0}renderFeature(e,i,n,s,r,o){if(!n)return!1;let a=!1;if(Array.isArray(n))for(let c=0,u=n.length;c<u;++c)a=pp(s,e,n[c],i,this.boundHandleStyleImageChange_,r,o)||a;else a=pp(s,e,n,i,this.boundHandleStyleImageChange_,r,o);return a}}const AT=RT;class MT extends Hk{constructor(e){super(e)}createRenderer(){return new AT(this)}}const il=MT;class DT{constructor(e){this.rbush_=new z_(e),this.items_={}}insert(e,i){const n={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3],value:i};this.rbush_.insert(n),this.items_[gt(i)]=n}load(e,i){const n=new Array(i.length);for(let s=0,r=i.length;s<r;s++){const o=e[s],a=i[s],c={minX:o[0],minY:o[1],maxX:o[2],maxY:o[3],value:a};n[s]=c,this.items_[gt(a)]=c}this.rbush_.load(n)}remove(e){const i=gt(e),n=this.items_[i];return delete this.items_[i],this.rbush_.remove(n)!==null}update(e,i){const n=this.items_[gt(i)],s=[n.minX,n.minY,n.maxX,n.maxY];na(s,e)||(this.remove(i),this.insert(e,i))}getAll(){return this.rbush_.all().map(function(i){return i.value})}getInExtent(e){const i={minX:e[0],minY:e[1],maxX:e[2],maxY:e[3]};return this.rbush_.search(i).map(function(s){return s.value})}forEach(e){return this.forEach_(this.getAll(),e)}forEachInExtent(e,i){return this.forEach_(this.getInExtent(e),i)}forEach_(e,i){let n;for(let s=0,r=e.length;s<r;s++)if(n=i(e[s]),n)return n;return n}isEmpty(){return to(this.items_)}clear(){this.rbush_.clear(),this.items_={}}getExtent(e){const i=this.rbush_.toJSON();return Wn(i.minX,i.minY,i.maxX,i.maxY,e)}concat(e){this.rbush_.load(e.rbush_.all());for(const i in e.items_)this.items_[i]=e.items_[i]}}const mp=DT;class LT extends fn{constructor(e){super(),this.projection=Ht(e.projection),this.attributions_=vp(e.attributions),this.attributionsCollapsible_=e.attributionsCollapsible!==void 0?e.attributionsCollapsible:!0,this.loading=!1,this.state_=e.state!==void 0?e.state:"ready",this.wrapX_=e.wrapX!==void 0?e.wrapX:!1,this.interpolate_=!!e.interpolate,this.viewResolver=null,this.viewRejector=null;const i=this;this.viewPromise_=new Promise(function(n,s){i.viewResolver=n,i.viewRejector=s})}getAttributions(){return this.attributions_}getAttributionsCollapsible(){return this.attributionsCollapsible_}getProjection(){return this.projection}getResolutions(e){return null}getView(){return this.viewPromise_}getState(){return this.state_}getWrapX(){return this.wrapX_}getInterpolate(){return this.interpolate_}refresh(){this.changed()}setAttributions(e){this.attributions_=vp(e),this.changed()}setState(e){this.state_=e,this.changed()}}function vp(t){return t?Array.isArray(t)?function(e){return t}:typeof t=="function"?t:function(e){return[t]}:null}const W_=LT,tn={ADDFEATURE:"addfeature",CHANGEFEATURE:"changefeature",CLEAR:"clear",REMOVE
15FEATURE:"removefeature",FEATURESLOADSTART:"featuresloadstart",FEATURESLOADEND:"featuresloadend",FEATURESLOADERROR:"featuresloaderror"};function OT(t,e){return[[-1/0,-1/0,1/0,1/0]]}let PT=!1;function FT(t,e,i,n,s,r,o){const a=new XMLHttpRequest;a.open("GET",typeof t=="function"?t(i,n,s):t,!0),e.getType()=="arraybuffer"&&(a.responseType="arraybuffer"),a.withCredentials=PT,a.onload=function(c){if(!a.status||a.status>=200&&a.status<300){const u=e.getType();let d;u=="json"||u=="text"?d=a.responseText:u=="xml"?(d=a.responseXML,d||(d=new DOMParser().parseFromString(a.responseText,"application/xml"))):u=="arraybuffer"&&(d=a.response),d?r(e.readFeatures(d,{extent:i,featureProjection:s}),e.readProjection(d)):o()}else o()},a.onerror=o,a.send()}function _p(t,e){return function(i,n,s,r,o){const a=this;FT(t,e,i,n,s,function(c,u){a.addFeatures(c),r!==void 0&&r(c)},o||lr)}}class ss extends Cn{constructor(e,i,n){super(e),this.feature=i,this.features=n}}class zT extends W_{constructor(e){e=e||{},super({attributions:e.attributions,interpolate:!0,projection:void 0,state:"ready",wrapX:e.wrapX!==void 0?e.wrapX:!0}),this.on,this.once,this.un,this.loader_=lr,this.format_=e.format,this.overlaps_=e.overlaps===void 0?!0:e.overlaps,this.url_=e.url,e.loader!==void 0?this.loader_=e.loader:this.url_!==void 0&&(tt(this.format_,7),this.loader_=_p(this.url_,this.format_)),this.strategy_=e.strategy!==void 0?e.strategy:OT;const i=e.useSpatialIndex!==void 0?e.useSpatialIndex:!0;this.featuresRtree_=i?new mp:null,this.loadedExtentsRtree_=new mp,this.loadingExtentsCount_=0,this.nullGeometryFeatures_={},this.idIndex_={},this.uidIndex_={},this.featureChangeKeys_={},this.featuresCollection_=null;let n,s;Array.isArray(e.features)?s=e.features:e.features&&(n=e.features,s=n.getArray()),!i&&n===void 0&&(n=new Sn(s)),s!==void 0&&this.addFeaturesInternal(s),n!==void 0&&this.bindFeaturesCollection_(n)}addFeature(e){this.addFeatureInternal(e),this.changed()}addFeatureInternal(e){const i=gt(e);if(!this.addToIndex_(i,e)){this.featuresCollection_&&this.featuresCollection_.remove(e);return}this.setupChangeEvents_(i,e);const n=e.getGeometry();if(n){const s=n.getExtent();this.featuresRtree_&&this.featuresRtree_.insert(s,e)}else this.nullGeometryFeatures_[i]=e;this.dispatchEvent(new ss(tn.ADDFEATURE,e))}setupChangeEvents_(e,i){this.featureChangeKeys_[e]=[ot(i,Xe.CHANGE,this.handleFeatureChange_,this),ot(i,eo.PROPERTYCHANGE,this.handleFeatureChange_,this)]}addToIndex_(e,i){let n=!0;const s=i.getId();return s!==void 0&&(s.toString()in this.idIndex_?n=!1:this.idIndex_[s.toString()]=i),n&&(tt(!(e in this.uidIndex_),30),this.uidIndex_[e]=i),n}addFeatures(e){this.addFeaturesInternal(e),this.changed()}addFeaturesInternal(e){const i=[],n=[],s=[];for(let r=0,o=e.length;r<o;r++){const a=e[r],c=gt(a);this.addToIndex_(c,a)&&n.push(a)}for(let r=0,o=n.length;r<o;r++){const a=n[r],c=gt(a);this.setupChangeEvents_(c,a);const u=a.getGeometry();if(u){const d=u.getExtent();i.push(d),s.push(a)}else this.nullGeometryFeatures_[c]=a}if(this.featuresRtree_&&this.featuresRtree_.load(i,s),this.hasListener(tn.ADDFEATURE))for(let r=0,o=n.length;r<o;r++)this.dispatchEvent(new ss(tn.ADDFEATURE,n[r]))}bindFeaturesCollection_(e){let i=!1;this.addEventListener(tn.ADDFEATURE,function(n){i||(i=!0,e.push(n.feature),i=!1)}),this.addEventListener(tn.REMOVEFEATURE,function(n){i||(i=!0,e.remove(n.feature),i=!1)}),e.addEventListener(Ai.ADD,n=>{i||(i=!0,this.addFeature(n.element),i=!1)}),e.addEventListener(Ai.REMOVE,n=>{i||(i=!0,this.removeFeature(n.element),i=!1)}),this.featuresCollection_=e}clear(e){if(e){for(const n in this.featureChangeKeys_)this.featureChangeKeys_[n].forEach(Rt);this.featuresCollection_||(this.featureChangeKeys_={},this.idIndex_={},this.uidIndex_={})}else if(this.featuresRtree_){const n=s=>{this.removeFeatureInternal(s)};this.featuresRtree_.forEach(n);for(const s in this.nullGeometryFeatures_)this.removeFeatureInternal(this.nullGeometryFeatures_[s])}this.featuresCollection_&&this.featuresCollection_.clear(),this.featuresRtree_&&this.featuresRtree_.clear(),this.nullGeometryFeatures_={};const i=new ss(tn.CLEAR);this.dispatchEvent(i),this.changed()}forEachFeature(e){if(this.featuresRtree_)return this.featuresRtree_.forEach(e);this.featuresCollection_&&this.featuresCollection_.forEach(e)}forEachFeatureAtCoordinateDirect(e,i){const n=[e[0],e[1],e[0],e[1]];return this.forEachFeatureInExtent(n,function(s){if(s.getGeometry().intersectsCoordinate(e))return i(s)})}forEachFeatureInExtent(e,i){if(this.featuresRtree_)return this.featuresRtree_.forEachInExtent(e,i);this.featuresCollection_&&this.featuresCollection_.forEach(i)}forEachFeatureIntersectingExtent(e,i){return this.forEachFeatureInExtent(e,function(n){if(n.getGeometry().intersectsExtent(e)){const r=i(n);if(r)return r}})}getFeaturesCollection(){return this.featuresCollection_}getFeatures(){let e;return this.featuresCollection_?e=this.featuresCollection_.getArray().slice(0):this.featuresRtree_&&(e=this.featuresRtree_.getAll(),to(this.nullGeometryFeatures_)||dn(e,Object.values(this.nullGeometryFeatures_))),e}getFeaturesAtCoordinate(e){const i=[];return this.forEachFeatureAtCoordinateDirect(e,function(n){i.push(n)}),i}getFeaturesInExtent(e,i){if(this.featuresRtree_){if(!(i&&i.canWrapX()&&this.getWrapX()))return this.featuresRtree_.getInExtent(e);const s=N1(e,i);return[].concat(...s.map(r=>this.featuresRtree_.getInExtent(r)))}else if(this.featuresCollection_)return this.featuresCollection_.getArray().slice(0);return[]}getClosestFeatureToCoordinate(e,i){const n=e[0],s=e[1];let r=null;const o=[NaN,NaN];let a=1/0;const c=[-1/0,-1/0,1/0,1/0];return i=i||ia,this.featuresRtree_.forEachInExtent(c,function(u){if(i(u)){const d=u.getGeometry(),g=a;if(a=d.closestPointXY(n,s,o,a),a<g){r=u;const v=Math.sqrt(a);c[0]=n-v,c[1]=s-v,c[2]=n+v,c[3]=s+v}}}),r}getExtent(e){return this.featuresRtree_.getExtent(e)}getFeatureById(e){const i=this.idIndex_[e.toString()];return i!==void 0?i:null}getFeatureByUid(e){const i=this.uidIndex_[e];return i!==void 0?i:null}getFormat(){return this.format_}getOverlaps(){return this.overlaps_}getUrl(){return this.url_}handleFeatureChange_(e){const i=e.target,n=gt(i),s=i.getGeometry();if(!s)n in this.nullGeometryFeatures_||(this.featuresRtree_&&this.featuresRtree_.remove(i),this.nullGeometryFeatures_[n]=i);else{const o=s.getExtent();n in this.nullGeometryFeatures_?(delete this.nullGeometryFeatures_[n],this.featuresRtree_&&this.featuresRtree_.insert(o,i)):this.featuresRtree_&&this.featuresRtree_.update(o,i)}const r=i.getId();if(r!==void 0){const o=r.toString();this.idIndex_[o]!==i&&(this.removeFromIdIndex_(i),this.idIndex_[o]=i)}else this.removeFromIdIndex_(i),this.uidIndex_[n]=i;this.changed(),this.dispatchEvent(new ss(tn.CHANGEFEATURE,i))}hasFeature(e){const i=e.getId();return i!==void 0?i in this.idIndex_:gt(e)in this.uidIndex_}isEmpty(){return this.featuresRtree_?this.featuresRtree_.isEmpty()&&to(this.nullGeometryFeatures_):this.featuresCollection_?this.featuresCollection_.getLength()===0:!0}loadFeatures(e,i,n){const s=this.loadedExtentsRtree_,r=this.strategy_(e,i,n);for(let o=0,a=r.length;o<a;++o){const c=r[o];
15s.forEachInExtent(c,function(d){return Fr(d.extent,c)})||(++this.loadingExtentsCount_,this.dispatchEvent(new ss(tn.FEATURESLOADSTART)),this.loader_.call(this,c,i,n,d=>{--this.loadingExtentsCount_,this.dispatchEvent(new ss(tn.FEATURESLOADEND,void 0,d))},()=>{--this.loadingExtentsCount_,this.dispatchEvent(new ss(tn.FEATURESLOADERROR))}),s.insert(c,{extent:c.slice()}))}this.loading=this.loader_.length<4?!1:this.loadingExtentsCount_>0}refresh(){this.clear(!0),this.loadedExtentsRtree_.clear(),super.refresh()}removeLoadedExtent(e){const i=this.loadedExtentsRtree_;let n;i.forEachInExtent(e,function(s){if(na(s.extent,e))return n=s,!0}),n&&i.remove(n)}removeFeature(e){if(!e)return;const i=gt(e);i in this.nullGeometryFeatures_?delete this.nullGeometryFeatures_[i]:this.featuresRtree_&&this.featuresRtree_.remove(e),this.removeFeatureInternal(e)&&this.changed()}removeFeatureInternal(e){const i=gt(e),n=this.featureChangeKeys_[i];if(!n)return;n.forEach(Rt),delete this.featureChangeKeys_[i];const s=e.getId();return s!==void 0&&delete this.idIndex_[s.toString()],delete this.uidIndex_[i],this.dispatchEvent(new ss(tn.REMOVEFEATURE,e)),e}removeFromIdIndex_(e){let i=!1;for(const n in this.idIndex_)if(this.idIndex_[n]===e){delete this.idIndex_[n],i=!0;break}return i}setLoader(e){this.loader_=e}setUrl(e){tt(this.format_,7),this.url_=e,this.setLoader(_p(e,this.format_))}}const nl=zT;class us extends Cn{constructor(e,i){super(e),this.layer=i}}const Cu={LAYERS:"layers"};class Uh extends P_{constructor(e){e=e||{};const i=Object.assign({},e);delete i.layers;let n=e.layers;super(i),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(Cu.LAYERS,this.handleLayersChanged_),n?Array.isArray(n)?n=new Sn(n.slice(),{unique:!0}):tt(typeof n.getArray=="function",43):n=new Sn(void 0,{unique:!0}),this.setLayers(n)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(Rt),this.layersListenerKeys_.length=0;const e=this.getLayers();this.layersListenerKeys_.push(ot(e,Ai.ADD,this.handleLayersAdd_,this),ot(e,Ai.REMOVE,this.handleLayersRemove_,this));for(const n in this.listenerKeys_)this.listenerKeys_[n].forEach(Rt);ya(this.listenerKeys_);const i=e.getArray();for(let n=0,s=i.length;n<s;n++){const r=i[n];this.registerLayerListeners_(r),this.dispatchEvent(new us("addlayer",r))}this.changed()}registerLayerListeners_(e){const i=[ot(e,eo.PROPERTYCHANGE,this.handleLayerChange_,this),ot(e,Xe.CHANGE,this.handleLayerChange_,this)];e instanceof Uh&&i.push(ot(e,"addlayer",this.handleLayerGroupAdd_,this),ot(e,"removelayer",this.handleLayerGroupRemove_,this)),this.listenerKeys_[gt(e)]=i}handleLayerGroupAdd_(e){this.dispatchEvent(new us("addlayer",e.layer))}handleLayerGroupRemove_(e){this.dispatchEvent(new us("removelayer",e.layer))}handleLayersAdd_(e){const i=e.element;this.registerLayerListeners_(i),this.dispatchEvent(new us("addlayer",i)),this.changed()}handleLayersRemove_(e){const i=e.element,n=gt(i);this.listenerKeys_[n].forEach(Rt),delete this.listenerKeys_[n],this.dispatchEvent(new us("removelayer",i)),this.changed()}getLayers(){return this.get(Cu.LAYERS)}setLayers(e){const i=this.getLayers();if(i){const n=i.getArray();for(let s=0,r=n.length;s<r;++s)this.dispatchEvent(new us("removelayer",n[s]))}this.set(Cu.LAYERS,e)}getLayersArray(e){return e=e!==void 0?e:[],this.getLayers().forEach(function(i){i.getLayersArray(e)}),e}getLayerStatesArray(e){const i=e!==void 0?e:[],n=i.length;this.getLayers().forEach(function(o){o.getLayerStatesArray(i)});const s=this.getLayerState();let r=s.zIndex;!e&&s.zIndex===void 0&&(r=0);for(let o=n,a=i.length;o<a;o++){const c=i[o];c.opacity*=s.opacity,c.visible=c.visible&&s.visible,c.maxResolution=Math.min(c.maxResolution,s.maxResolution),c.minResolution=Math.max(c.minResolution,s.minResolution),c.minZoom=Math.max(c.minZoom,s.minZoom),c.maxZoom=Math.min(c.maxZoom,s.maxZoom),s.extent!==void 0&&(c.extent!==void 0?c.extent=Wo(c.extent,s.extent):c.extent=s.extent),c.zIndex===void 0&&(c.zIndex=r)}return i}getSourceState(){return"ready"}}const Fc=Uh;var BT=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};class Vh extends gr{constructor(e,i){super(),i&&!Array.isArray(e[0])?this.setFlatCoordinates(i,e):this.setCoordinates(e,i)}appendPoint(e){this.flatCoordinates?dn(this.flatCoordinates,e.getFlatCoordinates()):this.flatCoordinates=e.getFlatCoordinates().slice(),this.changed()}clone(){const e=new Vh(this.flatCoordinates.slice(),this.layout);return e.applyProperties(this),e}closestPointXY(e,i,n,s){if(s<hr(this.getExtent(),e,i))return s;const r=this.flatCoordinates,o=this.stride;for(let a=0,c=r.length;a<c;a+=o){const u=nr(e,i,r[a],r[a+1]);if(u<s){s=u;for(let d=0;d<o;++d)n[d]=r[a+d];n.length=o}}return s}getCoordinates(){return gs(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getPoint(e){const i=this.flatCoordinates?this.flatCoordinates.length/this.stride:0;return e<0||i<=e?null:new no(this.flatCoordinates.slice(e*this.stride,(e+1)*this.stride),this.layout)}getPoints(){const e=this.flatCoordinates,i=this.layout,n=this.stride,s=[];for(let r=0,o=e.length;r<o;r+=n){const a=new no(e.slice(r,r+n),i);s.push(a)}return s}getType(){return"MultiPoint"}intersectsExtent(e){const i=this.flatCoordinates,n=this.stride;for(let s=0,r=i.length;s<r;s+=n){const o=i[s],a=i[s+1];if(hh(e,o,a))return!0}return!1}setCoordinates(e,i){this.setLayout(i,e,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Cc(this.flatCoordinates,0,e,this.stride),this.changed()}}const $_=Vh;function Z_(t,e,i,n){let s=0,r=t[i-n],o=t[i-n+1];for(;e<i;e+=n){const a=t[e],c=t[e+1];s+=o*a-r*c,r=a,o=c}return s/2}function U_(t,e,i,n){let s=0;for(let r=0,o=i.length;r<o;++r){const a=i[r];s+=Z_(t,e,a,n),e=a}return s}function NT(t,e,i,n){let s=0;for(let r=0,o=i.length;r<o;++r){const a=i[r];s+=U_(t,e,a,n),e=a[a.length-1]}return s}class Ul extends gr{constructor(e,i){super(),this.maxDelta_=-1,this.maxDeltaRevision_=-1,i!==void 0&&!Array.isArray(e[0])?this.setFlatCoordinates(i,e):this.setCoordinates(e,i)}clone(){return new Ul(this.flatCoordinates.slice(),this.layout)}closestPointXY(e,i,n,s){return s<hr(this.getExtent(),e,i)?s:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(bh(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),wh(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,this.maxDelta_,!0,e,i,n,s))}getArea(){return Z_(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getCoordinates(){return gs(this.flatCoordinates,0,this.flatCoordinates.length,this.stride)}getSimplifiedGeometryInternal(e){const i=[];return i.length=kh(this.flatCoordinates,0,this.flatCoordinates.length,this.stride,e,i,0),new Ul(i,"XY")}getType(){return"LinearRing"}intersectsExtent(e){return!1}setCoordinates(e,i){this.setLayout(i,e,1),this.flatCoordinates||(this.flatCoordinates=[]),this.flatCoordinates.length=Cc(this.flatCoordinates,0,e,this.stride),this.changed()}}const bp=Ul;function V_(t,e,i,n,s,r,o){let a,c,u,d,g,v,_;
15const y=s[r+1],S=[];for(let I=0,R=i.length;I<R;++I){const F=i[I];for(d=t[F-n],v=t[F-n+1],a=e;a<F;a+=n)g=t[a],_=t[a+1],(y<=v&&_<=y||v<=y&&y<=_)&&(u=(y-v)/(_-v)*(g-d)+d,S.push(u)),d=g,v=_}let C=NaN,x=-1/0;for(S.sort(ar),d=S[0],a=1,c=S.length;a<c;++a){g=S[a];const I=Math.abs(g-d);I>x&&(u=(d+g)/2,Th(t,e,i,n,u,y)&&(C=u,x=I)),d=g}return isNaN(C)&&(C=s[r]),o?(o.push(C,y,x),o):[C,y,x]}function GT(t,e,i,n,s){let r=[];for(let o=0,a=i.length;o<a;++o){const c=i[o];r=V_(t,e,c,n,s,2*o,r),e=c[c.length-1]}return r}function jT(t,e,i,n){for(;e<i-n;){for(let s=0;s<n;++s){const r=t[e+s];t[e+s]=t[i-n+s],t[i-n+s]=r}e+=n,i-=n}}function Y_(t,e,i,n){let s=0,r=t[i-n],o=t[i-n+1];for(;e<i;e+=n){const a=t[e],c=t[e+1];s+=(a-r)*(c+o),r=a,o=c}return s===0?void 0:s>0}function X_(t,e,i,n,s){s=s!==void 0?s:!1;for(let r=0,o=i.length;r<o;++r){const a=i[r],c=Y_(t,e,a,n);if(r===0){if(s&&c||!s&&!c)return!1}else if(s&&!c||!s&&c)return!1;e=a}return!0}function KT(t,e,i,n,s){for(let r=0,o=i.length;r<o;++r){const a=i[r];if(!X_(t,e,a,n,s))return!1;a.length&&(e=a[a.length-1])}return!0}function wd(t,e,i,n,s){s=s!==void 0?s:!1;for(let r=0,o=i.length;r<o;++r){const a=i[r],c=Y_(t,e,a,n);(r===0?s&&c||!s&&!c:s&&!c||!s&&c)&&jT(t,e,a,n),e=a}return e}function yp(t,e,i,n,s){for(let r=0,o=i.length;r<o;++r)e=wd(t,e,i[r],n,s);return e}class ro extends gr{constructor(e,i,n){super(),this.ends_=[],this.flatInteriorPointRevision_=-1,this.flatInteriorPoint_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,i!==void 0&&n?(this.setFlatCoordinates(i,e),this.ends_=n):this.setCoordinates(e,i)}appendLinearRing(e){this.flatCoordinates?dn(this.flatCoordinates,e.getFlatCoordinates()):this.flatCoordinates=e.getFlatCoordinates().slice(),this.ends_.push(this.flatCoordinates.length),this.changed()}clone(){const e=new ro(this.flatCoordinates.slice(),this.layout,this.ends_.slice());return e.applyProperties(this),e}closestPointXY(e,i,n,s){return s<hr(this.getExtent(),e,i)?s:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(yh(this.flatCoordinates,0,this.ends_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),Sh(this.flatCoordinates,0,this.ends_,this.stride,this.maxDelta_,!0,e,i,n,s))}containsXY(e,i){return Th(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e,i)}getArea(){return U_(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride)}getCoordinates(e){let i;return e!==void 0?(i=this.getOrientedFlatCoordinates().slice(),wd(i,0,this.ends_,this.stride,e)):i=this.flatCoordinates,sa(i,0,this.ends_,this.stride)}getEnds(){return this.ends_}getFlatInteriorPoint(){if(this.flatInteriorPointRevision_!=this.getRevision()){const e=cr(this.getExtent());this.flatInteriorPoint_=V_(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e,0),this.flatInteriorPointRevision_=this.getRevision()}return this.flatInteriorPoint_}getInteriorPoint(){return new no(this.getFlatInteriorPoint(),"XYM")}getLinearRingCount(){return this.ends_.length}getLinearRing(e){return e<0||this.ends_.length<=e?null:new bp(this.flatCoordinates.slice(e===0?0:this.ends_[e-1],this.ends_[e]),this.layout)}getLinearRings(){const e=this.layout,i=this.flatCoordinates,n=this.ends_,s=[];let r=0;for(let o=0,a=n.length;o<a;++o){const c=n[o],u=new bp(i.slice(r,c),e);s.push(u),r=c}return s}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const e=this.flatCoordinates;X_(e,0,this.ends_,this.stride)?this.orientedFlatCoordinates_=e:(this.orientedFlatCoordinates_=e.slice(),this.orientedFlatCoordinates_.length=wd(this.orientedFlatCoordinates_,0,this.ends_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(e){const i=[],n=[];return i.length=g_(this.flatCoordinates,0,this.ends_,this.stride,Math.sqrt(e),i,0,n),new ro(i,"XY",n)}getType(){return"Polygon"}intersectsExtent(e){return __(this.getOrientedFlatCoordinates(),0,this.ends_,this.stride,e)}setCoordinates(e,i){this.setLayout(i,e,2),this.flatCoordinates||(this.flatCoordinates=[]);const n=Eh(this.flatCoordinates,0,e,this.stride,this.ends_);this.flatCoordinates.length=n.length===0?0:n[n.length-1],this.changed()}}const Vl=ro;function HT(t,e,i,n){i=i||32;const s=[];for(let r=0;r<i;++r)dn(s,tE(t,e,2*Math.PI*r/i,n));return s.push(s[0],s[1]),new ro(s,"XY",[s.length])}function wp(t){const e=t[0],i=t[1],n=t[2],s=t[3],r=[e,i,e,s,n,s,n,i,e,i];return new ro(r,"XY",[r.length])}function WT(t,e,i,n){const s=[];let r=qi();for(let o=0,a=i.length;o<a;++o){const c=i[o];r=Jv(t,e,c[0],n),s.push((r[0]+r[2])/2,(r[1]+r[3])/2),e=c[c.length-1]}return s}class Yl extends gr{constructor(e,i,n){if(super(),this.endss_=[],this.flatInteriorPointsRevision_=-1,this.flatInteriorPoints_=null,this.maxDelta_=-1,this.maxDeltaRevision_=-1,this.orientedRevision_=-1,this.orientedFlatCoordinates_=null,!n&&!Array.isArray(e[0])){let s=this.getLayout();const r=e,o=[],a=[];for(let c=0,u=r.length;c<u;++c){const d=r[c];c===0&&(s=d.getLayout());const g=o.length,v=d.getEnds();for(let _=0,y=v.length;_<y;++_)v[_]+=g;dn(o,d.getFlatCoordinates()),a.push(v)}i=s,e=o,n=a}i!==void 0&&n?(this.setFlatCoordinates(i,e),this.endss_=n):this.setCoordinates(e,i)}appendPolygon(e){let i;if(!this.flatCoordinates)this.flatCoordinates=e.getFlatCoordinates().slice(),i=e.getEnds().slice(),this.endss_.push();else{const n=this.flatCoordinates.length;dn(this.flatCoordinates,e.getFlatCoordinates()),i=e.getEnds().slice();for(let s=0,r=i.length;s<r;++s)i[s]+=n}this.endss_.push(i),this.changed()}clone(){const e=this.endss_.length,i=new Array(e);for(let s=0;s<e;++s)i[s]=this.endss_[s].slice();const n=new Yl(this.flatCoordinates.slice(),this.layout,i);return n.applyProperties(this),n}closestPointXY(e,i,n,s){return s<hr(this.getExtent(),e,i)?s:(this.maxDeltaRevision_!=this.getRevision()&&(this.maxDelta_=Math.sqrt(fE(this.flatCoordinates,0,this.endss_,this.stride,0)),this.maxDeltaRevision_=this.getRevision()),gE(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,this.maxDelta_,!0,e,i,n,s))}containsXY(e,i){return SE(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,e,i)}getArea(){return NT(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride)}getCoordinates(e){let i;return e!==void 0?(i=this.getOrientedFlatCoordinates().slice(),yp(i,0,this.endss_,this.stride,e)):i=this.flatCoordinates,gd(i,0,this.endss_,this.stride)}getEndss(){return this.endss_}getFlatInteriorPoints(){if(this.flatInteriorPointsRevision_!=this.getRevision()){const e=WT(this.flatCoordinates,0,this.endss_,this.stride);this.flatInteriorPoints_=GT(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,e),this.flatInteriorPointsRevision_=this.getRevision()}return this.flatInteriorPoints_}getInteriorPoints(){return new $_(this.getFlatInteriorPoints().slice(),"XYM")}getOrientedFlatCoordinates(){if(this.orientedRevision_!=this.getRevision()){const e=this.flatCoordinates;KT(e,0,this.endss_,this.stride)?this.orientedFlatCoordinates_=e:(this.orientedFlatCoordinates_=e.slice(),this.orientedFlatCoordinates_.length=yp(this.orientedFlatCoordinates_,0,this.endss_,this.stride)),this.orientedRevision_=this.getRevision()}return this.orientedFlatCoordinates_}getSimplifiedGeometryInternal(e){const i=[],n=[];return i.length=bE(this.flatCoordinates,0,this.endss_,this.stride,Math.sqrt(e),i,0,n),new Yl(i,"XY",n)}getPolygon(e){if(e<0||this.endss_.length<=e)return null;let i;if(e===0)i=0;else{const r=this.endss_[e-1];i=r[r.length-1]}const n=this.endss_[e].slice(),s=n[n.length-1];if(i!==0)for(let r=0,o=n.length;r<o;++r)n[r]-=i;return new Vl(this.flatCoordinates.slice(i,s),this.layout,n)}getPolygons(){const e=this.layout,i=this.flatCoordinates,n=this.endss_,s=[];let r=0;for(let o=0,a=n.length;o<a;++o){const c=n[o].slice(),u=c[c.length-1];if(r!==0)for(let g=0,v=c.length;g<v;++g)c[g]-=r;const d=new Vl(i.slice(r,u),e,c);s.push(d),r=u}return s}getType(){return"MultiPolygon"}intersectsExtent(e){return kE(this.getOrientedFlatCoordinates(),0,this.endss_,this.stride,e)}setCoordinates(e,i){this.setLayout(i,e,3),this.flatCoordinates||(this.flatCoordinates=[]);const n=mE(this.flatCoordinates,0,e,this.stride,this.endss_);if(n.length===0)this.flatCoordinates.length=0;else{const s=n[n.length-1];this.flatCoordinates.length=s.length===0?0:s[s.length-1]}this.changed()}}const $T=Yl;class Xl extends f_{constructor(e){super(),this.geometries_=e||null,this.changeEventsKeys_=[],this.listenGeometriesChange_()}unlistenGeometriesChange_(){this.changeEventsKeys_.forEach(Rt),this.changeEventsKeys_.length=0}listenGeometriesChange_(){if(this.geometries_)for(let e=0,i=this.geometries_.length;e<i;
15++e)this.changeEventsKeys_.push(ot(this.geometries_[e],Xe.CHANGE,this.changed,this))}clone(){const e=new Xl(null);return e.setGeometries(this.geometries_),e.applyProperties(this),e}closestPointXY(e,i,n,s){if(s<hr(this.getExtent(),e,i))return s;const r=this.geometries_;for(let o=0,a=r.length;o<a;++o)s=r[o].closestPointXY(e,i,n,s);return s}containsXY(e,i){const n=this.geometries_;for(let s=0,r=n.length;s<r;++s)if(n[s].containsXY(e,i))return!0;return!1}computeExtent(e){wa(e);const i=this.geometries_;for(let n=0,s=i.length;n<s;++n)e_(e,i[n].getExtent());return e}getGeometries(){return Sp(this.geometries_)}getGeometriesArray(){return this.geometries_}getGeometriesArrayRecursive(){let e=[];const i=this.geometries_;for(let n=0,s=i.length;n<s;++n)i[n].getType()===this.getType()?e=e.concat(i[n].getGeometriesArrayRecursive()):e.push(i[n]);return e}getSimplifiedGeometry(e){if(this.simplifiedGeometryRevision!==this.getRevision()&&(this.simplifiedGeometryMaxMinSquaredTolerance=0,this.simplifiedGeometryRevision=this.getRevision()),e<0||this.simplifiedGeometryMaxMinSquaredTolerance!==0&&e<this.simplifiedGeometryMaxMinSquaredTolerance)return this;const i=[],n=this.geometries_;let s=!1;for(let r=0,o=n.length;r<o;++r){const a=n[r],c=a.getSimplifiedGeometry(e);i.push(c),c!==a&&(s=!0)}if(s){const r=new Xl(null);return r.setGeometriesArray(i),r}return this.simplifiedGeometryMaxMinSquaredTolerance=e,this}getType(){return"GeometryCollection"}intersectsExtent(e){const i=this.geometries_;for(let n=0,s=i.length;n<s;++n)if(i[n].intersectsExtent(e))return!0;return!1}isEmpty(){return this.geometries_.length===0}rotate(e,i){const n=this.geometries_;for(let s=0,r=n.length;s<r;++s)n[s].rotate(e,i);this.changed()}scale(e,i,n){n||(n=cr(this.getExtent()));const s=this.geometries_;for(let r=0,o=s.length;r<o;++r)s[r].scale(e,i,n);this.changed()}setGeometries(e){this.setGeometriesArray(Sp(e))}setGeometriesArray(e){this.unlistenGeometriesChange_(),this.geometries_=e,this.listenGeometriesChange_(),this.changed()}applyTransform(e){const i=this.geometries_;for(let n=0,s=i.length;n<s;++n)i[n].applyTransform(e);this.changed()}translate(e,i){const n=this.geometries_;for(let s=0,r=n.length;s<r;++s)n[s].translate(e,i);this.changed()}disposeInternal(){this.unlistenGeometriesChange_(),super.disposeInternal()}}function Sp(t){const e=[];for(let i=0,n=t.length;i<n;++i)e.push(t[i].clone());return e}const ZT=Xl,Le={IDLE:0,LOADING:1,LOADED:2,ERROR:3,EMPTY:4};function q_(t){return Math.pow(t,3)}function pr(t){return 1-q_(1-t)}function UT(t){return 3*t*t-2*t*t*t}function VT(t){return t}class YT extends yc{constructor(e,i,n){super(),n=n||{},this.tileCoord=e,this.state=i,this.interimTile=null,this.key="",this.transition_=n.transition===void 0?250:n.transition,this.transitionStarts_={},this.interpolate=!!n.interpolate}changed(){this.dispatchEvent(Xe.CHANGE)}release(){this.state===Le.ERROR&&this.setState(Le.EMPTY)}getKey(){return this.key+"/"+this.tileCoord}getInterimTile(){if(!this.interimTile)return this;let e=this.interimTile;do{if(e.getState()==Le.LOADED)return this.transition_=0,e;e=e.interimTile}while(e);return this}refreshInterimChain(){if(!this.interimTile)return;let e=this.interimTile,i=this;do{if(e.getState()==Le.LOADED){e.interimTile=null;break}else e.getState()==Le.LOADING?i=e:e.getState()==Le.IDLE?i.interimTile=e.interimTile:i=e;e=i.interimTile}while(e)}getTileCoord(){return this.tileCoord}getState(){return this.state}setState(e){if(this.state!==Le.ERROR&&this.state>e)throw new Error("Tile load sequence violation");this.state=e,this.changed()}load(){je()}getAlpha(e,i){if(!this.transition_)return 1;let n=this.transitionStarts_[e];if(!n)n=i,this.transitionStarts_[e]=n;else if(n===-1)return 1;const s=i-n+1e3/60;return s>=this.transition_?1:q_(s/this.transition_)}inTransition(e){return this.transition_?this.transitionStarts_[e]!==-1:!1}endTransition(e){this.transition_&&(this.transitionStarts_[e]=-1)}}const Q_=YT;class XT extends Q_{constructor(e,i,n,s,r,o){super(e,i,o),this.crossOrigin_=s,this.src_=n,this.key=n,this.image_=new Image,s!==null&&(this.image_.crossOrigin=s),this.unlisten_=null,this.tileLoadFunction_=r}getImage(){return this.image_}setImage(e){this.image_=e,this.state=Le.LOADED,this.unlistenImage_(),this.changed()}handleImageError_(){this.state=Le.ERROR,this.unlistenImage_(),this.image_=qT(),this.changed()}handleImageLoad_(){const e=this.image_;
15e.naturalWidth&&e.naturalHeight?this.state=Le.LOADED:this.state=Le.EMPTY,this.unlistenImage_(),this.changed()}load(){this.state==Le.ERROR&&(this.state=Le.IDLE,this.image_=new Image,this.crossOrigin_!==null&&(this.image_.crossOrigin=this.crossOrigin_)),this.state==Le.IDLE&&(this.state=Le.LOADING,this.changed(),this.tileLoadFunction_(this,this.src_),this.unlisten_=B_(this.image_,this.handleImageLoad_.bind(this),this.handleImageError_.bind(this)))}unlistenImage_(){this.unlisten_&&(this.unlisten_(),this.unlisten_=null)}}function qT(){const t=Si(1,1);return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),t.canvas}const J_=XT,QT=.5,JT=10,Ep=.25;class eI{constructor(e,i,n,s,r,o){this.sourceProj_=e,this.targetProj_=i;let a={};const c=Pl(this.targetProj_,this.sourceProj_);this.transformInv_=function(I){const R=I[0]+"/"+I[1];return a[R]||(a[R]=c(I)),a[R]},this.maxSourceExtent_=s,this.errorThresholdSquared_=r*r,this.triangles_=[],this.wrapsXInSource_=!1,this.canWrapXInSource_=this.sourceProj_.canWrapX()&&!!s&&!!this.sourceProj_.getExtent()&&Dt(s)==Dt(this.sourceProj_.getExtent()),this.sourceWorldWidth_=this.sourceProj_.getExtent()?Dt(this.sourceProj_.getExtent()):null,this.targetWorldWidth_=this.targetProj_.getExtent()?Dt(this.targetProj_.getExtent()):null;const u=fr(n),d=Ic(n),g=Tc(n),v=kc(n),_=this.transformInv_(u),y=this.transformInv_(d),S=this.transformInv_(g),C=this.transformInv_(v),x=JT+(o?Math.max(0,Math.ceil(Math.log2(ld(n)/(o*o*256*256)))):0);if(this.addQuad_(u,d,g,v,_,y,S,C,x),this.wrapsXInSource_){let I=1/0;this.triangles_.forEach(function(R,F,Z){I=Math.min(I,R.source[0][0],R.source[1][0],R.source[2][0])}),this.triangles_.forEach(R=>{if(Math.max(R.source[0][0],R.source[1][0],R.source[2][0])-I>this.sourceWorldWidth_/2){const F=[[R.source[0][0],R.source[0][1]],[R.source[1][0],R.source[1][1]],[R.source[2][0],R.source[2][1]]];F[0][0]-I>this.sourceWorldWidth_/2&&(F[0][0]-=this.sourceWorldWidth_),F[1][0]-I>this.sourceWorldWidth_/2&&(F[1][0]-=this.sourceWorldWidth_),F[2][0]-I>this.sourceWorldWidth_/2&&(F[2][0]-=this.sourceWorldWidth_);const Z=Math.min(F[0][0],F[1][0],F[2][0]);Math.max(F[0][0],F[1][0],F[2][0])-Z<this.sourceWorldWidth_/2&&(R.source=F)}})}a={}}addTriangle_(e,i,n,s,r,o){this.triangles_.push({source:[s,r,o],target:[e,i,n]})}addQuad_(e,i,n,s,r,o,a,c,u){const d=Ng([r,o,a,c]),g=this.sourceWorldWidth_?Dt(d)/this.sourceWorldWidth_:null,v=this.sourceWorldWidth_,_=this.sourceProj_.canWrapX()&&g>.5&&g<1;let y=!1;if(u>0){if(this.targetProj_.isGlobal()&&this.targetWorldWidth_){const C=Ng([e,i,n,s]);y=Dt(C)/this.targetWorldWidth_>Ep||y}!_&&this.sourceProj_.isGlobal()&&g&&(y=g>Ep||y)}if(!y&&this.maxSourceExtent_&&isFinite(d[0])&&isFinite(d[1])&&isFinite(d[2])&&isFinite(d[3])&&!Ri(d,this.maxSourceExtent_))return;let S=0;if(!y&&(!isFinite(r[0])||!isFinite(r[1])||!isFinite(o[0])||!isFinite(o[1])||!isFinite(a[0])||!isFinite(a[1])||!isFinite(c[0])||!isFinite(c[1]))){if(u>0)y=!0;else if(S=(!isFinite(r[0])||!isFinite(r[1])?8:0)+(!isFinite(o[0])||!isFinite(o[1])?4:0)+(!isFinite(a[0])||!isFinite(a[1])?2:0)+(!isFinite(c[0])||!isFinite(c[1])?1:0),S!=1&&S!=2&&S!=4&&S!=8)return}if(u>0){if(!y){const C=[(e[0]+n[0])/2,(e[1]+n[1])/2],x=this.transformInv_(C);let I;_?I=(Ur(r[0],v)+Ur(a[0],v))/2-Ur(x[0],v):I=(r[0]+a[0])/2-x[0];const R=(r[1]+a[1])/2-x[1];y=I*I+R*R>this.errorThresholdSquared_}if(y){if(Math.abs(e[0]-n[0])<=Math.abs(e[1]-n[1])){const C=[(i[0]+n[0])/2,(i[1]+n[1])/2],x=this.transformInv_(C),I=[(s[0]+e[0])/2,(s[1]+e[1])/2],R=this.transformInv_(I);this.addQuad_(e,i,C,I,r,o,x,R,u-1),this.addQuad_(I,C,n,s,R,x,a,c,u-1)}else{const C=[(e[0]+i[0])/2,(e[1]+i[1])/2],x=this.transformInv_(C),I=[(n[0]+s[0])/2,(n[1]+s[1])/2],R=this.transformInv_(I);this.addQuad_(e,C,I,s,r,x,R,c,u-1),this.addQuad_(C,i,n,I,x,o,a,R,u-1)}return}}if(_){if(!this.canWrapXInSource_)return;this.wrapsXInSource_=!0}S&11||this.addTriangle_(e,n,s,r,a,c),S&14||this.addTriangle_(e,n,i,r,a,o),S&&(S&13||this.addTriangle_(i,s,e,o,c,r),S&7||this.addTriangle_(i,s,n,o,c,a))}calculateSourceExtent(){const e=qi();return this.triangles_.forEach(function(i,n,s){const r=i.source;Ho(e,r[0]),Ho(e,r[1]),Ho(e,r[2])}),e}getTriangles(){return this.triangles_}}const tI=eI;let Ru;const Vr=[];function kp(t,e,i,n,s){t.beginPath(),t.moveTo(0,0),t.lineTo(e,i),t.lineTo(n,s),t.closePath(),t.save(),t.clip(),t.fillRect(0,0,Math.max(e,n)+1,Math.max(i,s)),t.restore(
15)}function Au(t,e){return Math.abs(t[e*4]-210)>2||Math.abs(t[e*4+3]-.75*255)>2}function iI(){if(Ru===void 0){const t=Si(6,6,Vr);t.globalCompositeOperation="lighter",t.fillStyle="rgba(210, 0, 0, 0.75)",kp(t,4,5,4,0),kp(t,4,5,0,5);const e=t.getImageData(0,0,3,3).data;Ru=Au(e,0)||Au(e,4)||Au(e,8),Dc(t),Vr.push(t.canvas)}return Ru}function Tp(t,e,i,n){const s=u_(i,e,t);let r=Ol(e,n,i);const o=e.getMetersPerUnit();o!==void 0&&(r*=o);const a=t.getMetersPerUnit();a!==void 0&&(r/=a);const c=t.getExtent();if(!c||Ec(c,s)){const u=Ol(t,r,s)/r;isFinite(u)&&u>0&&(r/=u)}return r}function nI(t,e,i,n){const s=cr(i);let r=Tp(t,e,s,n);return(!isFinite(r)||r<=0)&&i_(i,function(o){return r=Tp(t,e,o,n),isFinite(r)&&r>0}),r}function sI(t,e,i,n,s,r,o,a,c,u,d,g){const v=Si(Math.round(i*t),Math.round(i*e),Vr);if(g||(v.imageSmoothingEnabled=!1),c.length===0)return v.canvas;v.scale(i,i);function _(F){return Math.round(F*i)/i}v.globalCompositeOperation="lighter";const y=qi();c.forEach(function(F,Z,p){e_(y,F.extent)});const S=Dt(y),C=xn(y),x=Si(Math.round(i*S/n),Math.round(i*C/n),Vr);g||(x.imageSmoothingEnabled=!1);const I=i/n;
15c.forEach(function(F,Z,p){const le=F.extent[0]-y[0],Q=-(F.extent[3]-y[3]),ae=Dt(F.extent),ue=xn(F.extent);F.image.width>0&&F.image.height>0&&x.drawImage(F.image,u,u,F.image.width-2*u,F.image.height-2*u,le*I,Q*I,ae*I,ue*I)});const R=fr(o);return a.getTriangles().forEach(function(F,Z,p){const le=F.source,Q=F.target;let ae=le[0][0],ue=le[0][1],Ce=le[1][0],ee=le[1][1],Te=le[2][0],$e=le[2][1];const Ee=_((Q[0][0]-R[0])/r),be=_(-(Q[0][1]-R[1])/r),N=_((Q[1][0]-R[0])/r),oe=_(-(Q[1][1]-R[1])/r),Ie=_((Q[2][0]-R[0])/r),Be=_(-(Q[2][1]-R[1])/r),Ze=ae,te=ue;ae=0,ue=0,Ce-=Ze,ee-=te,Te-=Ze,$e-=te;const pt=[[Ce,ee,0,0,N-Ee],[Te,$e,0,0,Ie-Ee],[0,0,Ce,ee,oe-be],[0,0,Te,$e,Be-be]],Ye=q1(pt);if(Ye){if(v.save(),v.beginPath(),iI()||!g){v.moveTo(N,oe);const W=4,pe=Ee-N,de=be-oe;for(let ve=0;ve<W;ve++)v.lineTo(N+_((ve+1)*pe/W),oe+_(ve*de/(W-1))),ve!=W-1&&v.lineTo(N+_((ve+1)*pe/W),oe+_((ve+1)*de/(W-1)));v.lineTo(Ie,Be)}else v.moveTo(N,oe),v.lineTo(Ee,be),v.lineTo(Ie,Be);v.clip(),v.transform(Ye[0],Ye[2],Ye[1],Ye[3],Ee,be),v.translate(y[0]-Ze,y[3]-te),v.scale(n/i,-n/i),v.drawImage(x.canvas,0,0),v.restore()}}),Dc(x),Vr.push(x.canvas),d&&(v.save(),v.globalCompositeOperation="source-over",v.strokeStyle="black",v.lineWidth=1,a.getTriangles().forEac
15h(function(F,Z,p){const le=F.target,Q=(le[0][0]-R[0])/r,ae=-(le[0][1]-R[1])/r,ue=(le[1][0]-R[0])/r,Ce=-(le[1][1]-R[1])/r,ee=(le[2][0]-R[0])/r,Te=-(le[2][1]-R[1])/r;v.beginPath(),v.moveTo(ue,Ce),v.lineTo(Q,ae),v.lineTo(ee,Te),v.closePath(),v.stroke()}),v.restore()),v.canvas}class rI extends Q_{constructor(e,i,n,s,r,o,a,c,u,d,g,v){super(r,Le.IDLE,{interpolate:!!v}),this.renderEdges_=g!==void 0?g:!1,this.pixelRatio_=a,this.gutter_=c,this.canvas_=null,this.sourceTileGrid_=i,this.targetTileGrid_=s,this.wrappedTileCoord_=o||r,this.sourceTiles_=[],this.sourcesListenerKeys_=null,this.sourceZ_=0;const _=s.getTileCoordExtent(this.wrappedTileCoord_),y=this.targetTileGrid_.getExtent();let S=this.sourceTileGrid_.getExtent();const C=y?Wo(_,y):_;if(ld(C)===0){this.state=Le.EMPTY;return}const x=e.getExtent();x&&(S?S=Wo(S,x):S=x);const I=s.getResolution(this.wrappedTileCoord_[0]),R=nI(e,n,C,I);if(!isFinite(R)||R<=0){this.state=Le.EMPTY;return}const F=d!==void 0?d:QT;if(this.triangulation_=new tI(e,n,C,S,R*F,I),this.triangulation_.getTriangles().length===0){this.state=Le.EMPTY;return}this.sourceZ_=i.getZForResolution(R);let Z=this.triangulation_.calculateSourceExtent();if(S&&(e.canWrapX()?(Z[1]=Kt(Z[1],S[1],S[3]),Z[3]=Kt(Z[3],S[1],S[3])):Z=Wo(Z,S)),!ld(Z))this.state=Le.EMPTY;else{const p=i.getTileRangeForExtentAndZ(Z,this.sourceZ_);for(let le=p.minX;le<=p.maxX;le++)for(let Q=p.minY;Q<=p.maxY;Q++){const ae=u(this.sourceZ_,le,Q,a);ae&&this.sourceTiles_.push(ae)}this.sourceTiles_.length===0&&(this.state=Le.EMPTY)}}getImage(){return this.canvas_}reproject_(){const e=[];if(this.sourceTiles_.forEach(i=>{i&&i.getState()==Le.LOADED&&e.push({extent:this.sourceTileGrid_.getTileCoordExtent(i.tileCoord),image:i.getImage()})}),this.sourceTiles_.length=0,e.length===0)this.state=Le.ERROR;else{const i=this.wrappedTileCoord_[0],n=this.targetTileGrid_.getTileSize(i),s=typeof n=="number"?n:n[0],r=typeof n=="number"?n:n[1],o=this.targetTileGrid_.getResolution(i),a=this.sourceTileGrid_.getResolution(this.sourceZ_),c=this.targetTileGrid_.getTileCoordExtent(this.wrappedTileCoord_);this.canvas_=sI(s,r,this.pixelRatio_,a,this.sourceTileGrid_.getExtent(),o,c,this.triangulation_,e,this.gutter_,this.renderEdges_,this.interpolate),this.state=Le.LOADED}this.changed()}load(){if(this.state==Le.IDLE){this.state=Le.LOADING,this.changed();let e=0;this.sourcesListenerKeys_=[],this.sourceTiles_.forEach(i=>{const n=i.getState();if(n==Le.IDLE||n==Le.LOADING){e++;const s=ot(i,Xe.CHANGE,function(r){const o=i.getState();(o==Le.LOADED||o==Le.ERROR||o==Le.EMPTY)&&(Rt(s),e--,e===0&&(this.unlistenSources_(),this.reproject_()))},this);this.sourcesListenerKeys_.push(s)}}),e===0?setTimeout(this.reproject_.bind(this),0):this.sourceTiles_.forEach(function(i,n,s){i.getState()==Le.IDLE&&i.load()})}}unlistenSources_(){this.sourcesListenerKeys_.forEach(Rt),this.sourcesListenerKeys_=null}release(){this.canvas_&&(Dc(this.canvas_.getContext("2d")),Vr.push(this.canvas_),this.canvas_=null),super.release()}}const Sd=rI;class eb{constructor(e,i,n,s){this.minX=e,this.maxX=i,this.minY=n,this.maxY=s}contains(e){return this.containsXY(e[1],e[2])}containsTileRange(e){return this.minX<=e.minX&&e.maxX<=this.maxX&&this.minY<=e.minY&&e.maxY<=this.maxY}containsXY(e,i){return this.minX<=e&&e<=this.maxX&&this.minY<=i&&i<=this.maxY}equals(e){return this.minX==e.minX&&this.minY==e.minY&&this.maxX==e.maxX&&this.maxY==e.maxY}extend(e){e.minX<this.minX&&(this.minX=e.minX),e.maxX>this.maxX&&(this.maxX=e.maxX),e.minY<this.minY&&(this.minY=e.minY),e.maxY>this.maxY&&(this.maxY=e.maxY)}
15getHeight(){return this.maxY-this.minY+1}getSize(){return[this.getWidth(),this.getHeight()]}getWidth(){return this.maxX-this.minX+1}intersects(e){return this.minX<=e.maxX&&this.maxX>=e.minX&&this.minY<=e.maxY&&this.maxY>=e.minY}}function Tr(t,e,i,n,s){return s!==void 0?(s.minX=t,s.maxX=e,s.minY=i,s.maxY=n,s):new eb(t,e,i,n)}const tb=eb;class oI extends j_{constructor(e){super(e),this.extentChanged=!0,this.renderedExtent_=null,this.renderedPixelRatio,this.renderedProjection=null,this.renderedRevision,this.renderedTiles=[],this.newTiles_=!1,this.tmpExtent=qi(),this.tmpTileRange_=new tb(0,0,0,0)}isDrawableTile(e){const i=this.getLayer(),n=e.getState(),s=i.getUseInterimTilesOnError();return n==Le.LOADED||n==Le.EMPTY||n==Le.ERROR&&!s}getTile(e,i,n,s){const r=s.pixelRatio,o=s.viewState.projection,a=this.getLayer();let u=a.getSource().getTile(e,i,n,r,o);return u.getState()==Le.ERROR&&a.getUseInterimTilesOnError()&&a.getPreload()>0&&(this.newTiles_=!0),this.isDrawableTile(u)||(u=u.getInterimTile()),u}getData(e){const i=this.frameState;if(!i)return null;const n=this.getLayer(),s=ai(i.pixelToCoordinateTransform,e.slice()),r=n.getExtent();if(r&&!Ec(r,s))return null;const o=i.pixelRatio,a=i.viewState.projection,c=i.viewState,u=n.getRenderSource(),d=u.getTileGridForProjection(c.projection),g=u.getTilePixelRatio(i.pixelRatio);for(let v=d.getZForResolution(c.resolution);v>=d.getMinZoom();--v){const _=d.getTileCoordForCoordAndZ(s,v),y=u.getTile(v,_[1],_[2],o,a);if(!(y instanceof J_||y instanceof Sd)||y instanceof Sd&&y.getState()===Le.EMPTY)return null;if(y.getState()!==Le.LOADED)continue;const S=d.getOrigin(v),C=Bi(d.getTileSize(v)),x=d.getResolution(v),I=Math.floor(g*((s[0]-S[0])/x-_[1]*C[0])),R=Math.floor(g*((S[1]-s[1])/x-_[2]*C[1])),F=Math.round(g*u.getGutterForProjection(c.projection));return this.getImageData(y.getImage(),I+F,R+F)}return null}loadedTileCallback(e,i,n){return this.isDrawableTile(n)?super.loadedTileCallback(e,i,n):!1}prepareFrame(e){return!!this.getLayer().getSource()}renderFrame(e,i){const n=e.layerStatesArray[e.layerIndex],s=e.viewState,r=s.projection,o=s.resolution,a=s.center,c=s.rotation,u=e.pixelRatio,d=this.getLayer(),g=d.getSource(),v=g.getRevision(),_=g.getTileGridForProjection(r),y=_.getZForResolution(o,g.zDirection),S=_.getResolution(y);let C=e.extent;const x=e.viewState.resolution,I=g.getTilePixelRatio(u),R=Math.round(Dt(C)/x*u),F=Math.round(xn(C)/x*u),Z=n.extent&&qs(n.extent);Z&&(C=Wo(C,qs(n.extent)));const p=S*R/2/I,le=S*F/2/I,Q=[a[0]-p,a[1]-le,a[0]+p,a[1]+le],ae=_.getTileRangeForExtentAndZ(C,y),ue={};ue[y]={};const Ce=this.createLoadedTileFinder(g,r,ue),ee=this.tmpExtent,Te=this.tmpTileRange_;this.newTiles_=!1;const $e=c?ud(s.center,x,c,e.size):void 0;for(let pt=ae.minX;pt<=ae.maxX;++pt)for(let Ye=ae.minY;Ye<=ae.maxY;++Ye){if(c&&!_.tileCoordIntersectsViewport([y,pt,Ye],$e))continue;const W=this.getTile(y,pt,Ye,e);if(this.isDrawableTile(W)){const ve=gt(this);if(W.getState()==Le.LOADED){ue[y][W.tileCoord.toString()]=W;let Me=W.inTransition(ve);Me&&n.opacity!==1&&(W.endTransition(ve),Me=!1),!this.newTiles_&&(Me||!this.renderedTiles.includes(W))&&(this.newTiles_=!0)}if(W.getAlpha(ve,e.time)===1)continue}const pe=_.getTileCoordChildTileRange(W.tileCoord,Te,ee);let de=!1;pe&&(de=Ce(y+1,pe)),de||_.forEachTileCoordParentTileRange(W.tileCoord,Ce,Te,ee)}const Ee=S/o*u/I;Es(this.pixelTransform,e.size[0]/2,e.size[1]/2,1/u,1/u,c,-R/2,-F/2);const be=qv(this.pixelTransform);this.useContainer(i,be,this.getBackground(e));const N=this.context,oe=N.canvas;uh(this.inversePixelTransform,this.pixelTransform),Es(this.tempTransform,R/2,F/2,Ee,Ee,0,-R/2,-F/2),oe.width!=R||oe.height!=F?(oe.width=R,oe.height=F):this.containerReused||N.clearRect(0,0,R,F),Z&&this.clipUnrotated(N,e,Z),g.getInterpolate()||(N.imageSmoothingEnabled=!1),this.preRender(N,e),this.renderedTiles.length=0;let Ie=Object.keys(ue).map(Number);Ie.sort(ar);let Be,Ze,te;n.opacity===1&&(!this.containerReused||g.getOpaque(e.viewState.projection))?Ie=Ie.reverse():(Be=[],Ze=[]);for(let pt=Ie.length-1;pt>=0;--pt){const Ye=Ie[pt],W=g.getTilePixelSize(Ye,u,r),de=_.getResolution(Ye)/S,ve=W[0]*de*Ee,Me=W[1]*
15de*Ee,st=_.getTileCoordForCoordAndZ(fr(Q),Ye),Ge=_.getTileCoordExtent(st),A=ai(this.tempTransform,[I*(Ge[0]-Q[0])/S,I*(Q[3]-Ge[3])/S]),O=I*g.getGutterForProjection(r),K=ue[Ye];for(const V in K){const G=K[V],se=G.tileCoord,ye=st[1]-se[1],ce=Math.round(A[0]-(ye-1)*ve),ge=st[2]-se[2],re=Math.round(A[1]-(ge-1)*Me),ke=Math.round(A[0]-ye*ve),_e=Math.round(A[1]-ge*Me),we=ce-ke,xe=re-_e,Fe=y===Ye,nt=Fe&&G.getAlpha(gt(this),e.time)!==1;let qe=!1;if(!nt)if(Be){te=[ke,_e,ke+we,_e,ke+we,_e+xe,ke,_e+xe];for(let mt=0,Qt=Be.length;mt<Qt;++mt)if(y!==Ye&&Ye<Ze[mt]){const Ot=Be[mt];Ri([ke,_e,ke+we,_e+xe],[Ot[0],Ot[3],Ot[4],Ot[7]])&&(qe||(N.save(),qe=!0),N.beginPath(),N.moveTo(te[0],te[1]),N.lineTo(te[2],te[3]),N.lineTo(te[4],te[5]),N.lineTo(te[6],te[7]),N.moveTo(Ot[6],Ot[7]),N.lineTo(Ot[4],Ot[5]),N.lineTo(Ot[2],Ot[3]),N.lineTo(Ot[0],Ot[1]),N.clip())}Be.push(te),Ze.push(Ye)}else N.clearRect(ke,_e,we,xe);this.drawTileImage(G,e,ke,_e,we,xe,O,Fe),Be&&!nt?(qe&&N.restore(),this.renderedTiles.unshift(G)):this.renderedTiles.push(G),this.updateUsedTiles(e.usedTiles,g,G)}}return this.renderedRevision=v,this.renderedResolution=S,this.extentChanged=!this.renderedExtent_||!na(this.renderedExtent_,Q),this.renderedExtent_=Q,this.renderedPixelRatio=u,this.renderedProjection=r,this.manageTilePyramid(e,g,_,u,r,C,y,d.getPreload()),this.scheduleExpireCache(e,g),this.postRender(N,e),n.extent&&N.restore(),N.imageSmoothingEnabled=!0,be!==oe.style.transform&&(oe.style.transform=be),this.container}drawTileImage(e,i,n,s,r,o,a,c){const u=this.getTileImage(e);if(!u)return;const d=gt(this),g=i.layerStatesArray[i.layerIndex],v=g.opacity*(c?e.getAlpha(d,i.time):1),_=v!==this.context.globalAlpha;_&&(this.context.save(),this.context.globalAlpha=v),this.context.drawImage(u,a,a,u.width-2*a,u.height-2*a,n,s,r,o),_&&this.context.restore(),v!==g.opacity?i.animate=!0:c&&e.endTransition(d)}getImage(){const e=this.context;return e?e.canvas:null}getTileImage(e){return e.getImage()}scheduleExpireCache(e,i){if(i.canExpireCache()){const n=(function(s,r,o){const a=gt(s);a in o.usedTiles&&s.expireCache(o.viewState.projection,o.usedTiles[a])}).bind(null,i);e.postRenderFunctions.push(n)}}updateUsedTiles(e,i,n){const s=gt(i);s in e||(e[s]={}),e[s][n.getKey()]=!0}manageTilePyramid(e,i,n,s,r,o,a,c,u){const d=gt(i);d in e.wantedTiles||(e.wantedTiles[d]={});const g=e.wantedTiles[d],v=e.tileQueue,_=n.getMinZoom(),y=e.viewState.rotation,S=y?ud(e.viewState.center,e.viewState.resolution,y,e.size):void 0;let C=0,x,I,R,F,Z,p;for(p=_;p<=a;++p)for(I=n.getTileRangeForExtentAndZ(o,p,I),R=n.getResolution(p),F=I.minX;F<=I.maxX;++F)for(Z=I.minY;Z<=I.maxY;++Z)y&&!n.tileCoordIntersectsViewport([p,F,Z],S)||(a-p<=c?(++C,x=i.getTile(p,F,Z,s,r),x.getState()==Le.IDLE&&(g[x.getKey()]=!0,v.isKeyQueued(x.getKey())||v.enqueue([x,d,n.getTileCoordCenter(x.tileCoord),R])),u!==void 0&&u(x)):i.useTile(p,F,Z,r));i.updateCacheSize(C,r)}}const aI=oI,sl={PRELOAD:"preload",USE_INTERIM_TILES_ON_ERROR:"useInterimTilesOnError"};class lI{constructor(e){this.highWaterMark=e!==void 0?e:2048,this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}canExpireCache(){return this.highWaterMark>0&&this.getCount()>this.highWaterMark}expireCache(e){for(;this.canExpireCache();)this.pop()}clear(){this.count_=0,this.entries_={},this.oldest_=null,this.newest_=null}containsKey(e){return this.entries_.hasOwnProperty(e)}forEach(e){let i=this.oldest_;for(;i;)e(i.value_,i.key_,this),i=i.newer}get(e,i){const n=this.entries_[e];return tt(n!==void 0,15),n===this.newest_||(n===this.oldest_?(this.oldest_=this.oldest_.newer,this.oldest_.older=null):(n.newer.older=n.older,n.older.newer=n.newer),n.newer=null,n.older=this.newest_,this.newest_.newer=n,this.newest_=n),n.value_}remove(e){const i=this.entries_[e];return tt(i!==void 0,15),i===this.newest_?(this.newest_=i.older,this.newest_&&(this.newest_.newer=null)):i===this.oldest_?(this.oldest_=i.newer,this.oldest_&&(this.oldest_.older=null)):(i.newer.older=i.older,i.older.newer=i.newer),delete this.entries_[e],--this.count_,i.value_}getCount(){return this.count_}getKeys(){const e=new Array(this.count_);let i=0,n;for(n=this.newest_;n;n=n.older)e[i++]=n.key_;return e}getValues(){const e=new Array(this.count_);let i=0,n;for(n=this.newest_;n;n=n.older)e[i++]=n.value_;return e}peekLast(){return this.oldest_.value_}peekLastKey(){return this.oldest_.key_}peekFirstKey(){return this.newest_.key_}peek(e){if(this.containsKey(e))return this.entries_[e].value_}pop(){const e=this.oldest_;return delete this.entries_[e.key_],e.newer&&(e.newer.older=null),this.oldest_=e.newer,this.oldest_||(this.newest_=null),--this.count_,e.value_}replace(e,i){this.get(e),this.entries_[e].value_=i}set(e,i){tt(!(e in this.entries_),16);const n={key_:e,newer:null,older:this.newest_,value_:i};this.newest_?this.newest_.newer=n:this.oldest_=n,this.newest_=n,this.entries_[e]=n,++this.count_}setSize(e){this.highWaterMark=e}}const cI=lI;function Ip(t,e,i,n){return n!==void 0?(n[0]=t,n[1]=e,n[2]=i,n):[t,e,i]}function zc(t,e,i){return t+"/"+e+"/"+i}function ib(t){return zc(t[0],t[1],t[2])}function uI(t){return t.split("/").map(Number)}function dI(t){return(t[1]<<t[0])+t[2]}function hI(t,e){const i=t[0],n=t[1],s=t[2];
15if(e.getMinZoom()>i||i>e.getMaxZoom())return!1;const r=e.getFullTileRange(i);return r?r.containsXY(n,s):!0}class fI extends cI{clear(){for(;this.getCount()>0;)this.pop().release();super.clear()}expireCache(e){for(;this.canExpireCache()&&!(this.peekLast().getKey()in e);)this.pop().release()}pruneExceptNewestZ(){if(this.getCount()===0)return;const e=this.peekFirstKey(),n=uI(e)[0];this.forEach(s=>{s.tileCoord[0]!==n&&(this.remove(ib(s.tileCoord)),s.release())})}}const nb=fI,gI=42,Yh=256,Ir=[0,0,0],rs=5;class pI{constructor(e){this.minZoom=e.minZoom!==void 0?e.minZoom:0,this.resolutions_=e.resolutions,tt(m1(this.resolutions_,function(s,r){return r-s},!0),17);let i;if(!e.origins){for(let s=0,r=this.resolutions_.length-1;s<r;++s)if(!i)i=this.resolutions_[s]/this.resolutions_[s+1];else if(this.resolutions_[s]/this.resolutions_[s+1]!==i){i=void 0;break}}this.zoomFactor_=i,this.maxZoom=this.resolutions_.length-1,this.origin_=e.origin!==void 0?e.origin:null,this.origins_=null,e.origins!==void 0&&(this.origins_=e.origins,tt(this.origins_.length==this.resolutions_.length,20));const n=e.extent;n!==void 0&&!this.origin_&&!this.origins_&&(this.origin_=fr(n)),tt(!this.origin_&&this.origins_||this.origin_&&!this.origins_,18),this.tileSizes_=null,e.tileSizes!==void 0&&(this.tileSizes_=e.tileSizes,tt(this.tileSizes_.length==this.resolutions_.length,19)),this.tileSize_=e.tileSize!==void 0?e.tileSize:this.tileSizes_?null:Yh,tt(!this.tileSize_&&this.tileSizes_||this.tileSize_&&!this.tileSizes_,22),this.extent_=n!==void 0?n:null,this.fullTileRanges_=null,this.tmpSize_=[0,0],this.tmpExtent_=[0,0,0,0],e.sizes!==void 0?this.fullTileRanges_=e.sizes.map(function(s,r){const o=new tb(Math.min(0,s[0]),Math.max(s[0]-1,-1),Math.min(0,s[1]),Math.max(s[1]-1,-1));if(n){const a=this.getTileRangeForExtentAndZ(n,r);o.minX=Math.max(a.minX,o.minX),o.maxX=Math.min(a.maxX,o.maxX),o.minY=Math.max(a.minY,o.minY),o.maxY=Math.min(a.maxY,o.maxY)}return o},this):n&&this.calculateTileRanges_(n)}forEachTileCoord(e,i,n){const s=this.getTileRangeForExtentAndZ(e,i);for(let r=s.minX,o=s.maxX;r<=o;++r)for(let a=s.minY,c=s.maxY;a<=c;++a)n([i,r,a])}forEachTileCoordParentTileRange(e,i,n,s){let r,o,a,c=null,u=e[0]-1;for(this.zoomFactor_===2?(o=e[1],a=e[2]):c=this.getTileCoordExtent(e,s);u>=this.minZoom;){if(this.zoomFactor_===2?(o=Math.floor(o/2),a=Math.floor(a/2),r=Tr(o,o,a,a,n)):r=this.getTileRangeForExtentAndZ(c,u,n),i(u,r))return!0;--u}return!1}getExtent(){return this.extent_}getMaxZoom(){return this.maxZoom}getMinZoom(){return this.minZoom}getOrigin(e){return this.origin_?this.origin_:this.origins_[e]}getResolution(e){return this.resolutions_[e]}getResolutions(){return this.resolutions_}getTileCoordChildTileRange(e,i,n){if(e[0]<this.maxZoom){if(this.zoomFactor_===2){const r=e[1]*2,o=e[2]*2;return Tr(r,r+1,o,o+1,i)}const s=this.getTileCoordExtent(e,n||this.tmpExtent_);return this.getTileRangeForExtentAndZ(s,e[0]+1,i)}return null}getTileRangeForTileCoordAndZ(e,i,n){if(i>this.maxZoom||i<this.minZoom)return null;const s=e[0],r=e[1],o=e[2];if(i===s)return Tr(r,o,r,o,n);if(this.zoomFactor_){const c=Math.pow(this.zoomFactor_,i-s),u=Math.floor(r*c),d=Math.floor(o*c);if(i<s)return Tr(u,u,d,d,n);const g=Math.floor(c*(r+1))-1,v=Math.floor(c*(o+1))-1;return Tr(u,g,d,v,n)}const a=this.getTileCoordExtent(e,this.tmpExtent_);return this.getTileRangeForExtentAndZ(a,i,n)}getTileRangeExtent(e,i,n){const s=this.getOrigin(e),r=this.getResolution(e),o=Bi(this.getTileSize(e),this.tmpSize_),a=s[0]+i.minX*o[0]*r,c=s[0]+(i.maxX+1)*o[0]*r,u=s[1]+i.minY*o[1]*r,d=s[1]+(i.maxY+1)*o[1]*r;return Wn(a,u,c,d,n)}getTileRangeForExtentAndZ(e,i,n){this.getTileCoordForXYAndZ_(e[0],e[3],i,!1,Ir);const s=Ir[1],r=Ir[2];this.getTileCoordForXYAndZ_(e[2],e[1],i,!0,Ir);const o=Ir[1],a=Ir[2];return Tr(s,o,r,a,n)}getTileCoordCenter(e){const i=this.getOrigin(e[0]),n=this.getResolution(e[0]),s=Bi(this.getTileSize(e[0]),this.tmpSize_);return[i[0]+(e[1]+.5)*s[0]*n,i[1]-(e[2]+.5)*s[1]*n]}getTileCoordExtent(e,i){const n=this.getOrigin(e[0]),s=this.getResolution(e[0]),r=Bi(this.getTileSize(e[0]),this.tmpSize_),o=n[0]+e[1]*r[0]*s,a=n[1]-(e[2]+1)*r[1]*s,c=o+r[0]*s,u=a+r[1]*s;return Wn(o,a,c,u,i)}getTileCoordForCoordAndResolution(e,i,n){return this.getTileCoordForXYAndResolution_(e[0],e[1],i,!1,n)}getTileCoordForXYAndResolution_(e,i,n,s,r){const o=this.getZForResolution(n),a=n/this.getResolution(o),c=this.getOrigin(o),u=Bi(this.getTileSize(o),this.tmpSize_);let d=a*(e-c[0])/n/u[0],g=a*(c[1]-i)/n/u[1];return s?(d=Va(d,rs)-1,g=Va(g,rs)-1):(d=Ua(d,rs),g=Ua(g,rs)),Ip(o,d,g,r)}getTileCoordForXYAndZ_(e,i,n,s,r){const o=this.getOrigin(n),a=this.getResolution(n),c=Bi(this.getTileSize(n),this.tmpSize_);let u=(e-o[0])/a/c[0],d=(o[1]-i)/a/c[1];return s?(u=Va(u,rs)-1,d=Va(d,rs)-1):(u=Ua(u,rs),d=Ua(d,rs)),Ip(n,u,d,r)}getTileCoordForCoordAndZ(e,i,n){return this.getTileCoordForXYAndZ_(e[0],e[1],i,!1,n)}getTileCoordResolution(e){return this.resolutions_[e[0]]}getTileSize(e){return this.tileSize_?this.tileSize_:this.tileSizes_[e]}getFullTileRange(e){return this.fullTileRanges_?this.fullTileRanges_[e]:this.extent_?this.getTileRangeForExtentAndZ(this.extent_,e):null}getZForResolution(e,i){const n=ah(this.resolutions_,e,i||0);return Kt(n,this.minZoom,this.maxZoom)}tileCoordIntersectsViewport(e,i){return v_(i,0,i.length,2,this.getTileCoordExtent(e))}calculateTileRanges_(e){const i=this.resolutions_.length,n=new Array(i);for(let s=this.minZoom;s<i;++s)n[s]=this.getTileRangeForExtentAndZ(e,s);this.fullTileRanges_=n}}const sb=pI,Mu={TILELOADSTART:"tileloadstart",TILELOADEND:"tileloadend",TILELOADERROR:"tileloaderror"};function rb(t){let e=t.getDefaultTileGrid();return e||(e=bI(t),t.setDefaultTileGrid(e)),e}function mI(t,e,i){const n=e[0],s=t.getTileCoordCenter(e),r=Xh(i);if(!Ec(r,s)){const o=Dt(r),a=Math.ceil((r[0]-s[0])/o);return s[0]+=o*a,t.getTileCoordForCoordAndZ(s,n)}return e}function vI(t,e,i,n){n=n!==void 0?n:"top-left";const s=ob(t,e,i);return new sb({extent:t,origin:F1(t,n),resolutions:s,tileSize:i})}function _I(t){const e=t||{},i=e.extent||Ht("EPSG:3857").getExtent(),n={extent:i,minZoom:e.minZoom,tileSize:e.tileSize,resolutions:ob(i,e.maxZoom,e.tileSize,e.maxResolution)};return new sb(n)}function ob(t,e,i,n){e=e!==void 0?e:gI,i=Bi(i!==void 0?i:Yh);const s=xn(t),r=Dt(t);n=n>0?n:Math.max(r/i[0],s/i[1]);const o=e+1,a=new Array(o);for(let c=0;c<o;++c)a[c]=n/Math.pow(2,c);return a}function bI(t,e,i,n){const s=Xh(t);return vI(s,e,i,n)}function Xh(t){t=Ht(t);let e=t.getExtent();if(!e){const i=180*io.degrees/t.getMetersPerUnit();e=Wn(-i,-i,i,i)}return e}class yI extends W_{constructor(e){super({attributions:e.attributions,attributionsCollapsible:e.attributionsCollapsible,projection:e.projection,state:e.state,wrapX:e.wrapX,interpolate:e.interpolate}),this.on,this.once,this.un,this.opaque_=e.opaque!==void 0?e.opaque:!1,this.tilePixelRatio_=e.tilePixelRatio!==void 0?e.tilePixelRatio:1,this.tileGrid=e.tileGrid!==void 0?e.tileGrid:null;const i=[256,256];this.tileGrid&&Bi(this.tileGrid.getTileSize(this.tileGrid.getMinZoom()),i),this.tileCache=new nb(e.cac
15heSize||0),this.tmpSize=[0,0],this.key_=e.key||"",this.tileOptions={transition:e.transition,interpolate:e.interpolate},this.zDirection=e.zDirection?e.zDirection:0}canExpireCache(){return this.tileCache.canExpireCache()}expireCache(e,i){const n=this.getTileCacheForProjection(e);n&&n.expireCache(i)}forEachLoadedTile(e,i,n,s){const r=this.getTileCacheForProjection(e);if(!r)return!1;let o=!0,a,c,u;for(let d=n.minX;d<=n.maxX;++d)for(let g=n.minY;g<=n.maxY;++g)c=zc(i,d,g),u=!1,r.containsKey(c)&&(a=r.get(c),u=a.getState()===Le.LOADED,u&&(u=s(a)!==!1)),u||(o=!1);return o}getGutterForProjection(e){return 0}getKey(){return this.key_}setKey(e){this.key_!==e&&(this.key_=e,this.changed())}getOpaque(e){return this.opaque_}getResolutions(e){const i=e?this.getTileGridForProjection(e):this.tileGrid;return i?i.getResolutions():null}getTile(e,i,n,s,r){return je()}getTileGrid(){return this.tileGrid}getTileGridForProjection(e){return this.tileGrid?this.tileGrid:rb(e)}getTileCacheForProjection(e){const i=this.getProjection();return tt(i===null||Vs(i,e),68),this.tileCache}getTilePixelRatio(e){return this.tilePixelRatio_}getTilePixelSize(e,i,n){const s=this.getTileGridForProjection(n),r=this.getTilePixelRatio(i),o=Bi(s.getTileSize(e),this.tmpSize);return r==1?o:dk(o,r,this.tmpSize)}getTileCoordForTileUrlFunction(e,i){i=i!==void 0?i:this.getProjection();const n=this.getTileGridForProjection(i);return this.getWrapX()&&i.isGlobal()&&(e=mI(n,e,i)),hI(e,n)?e:null}clear(){this.tileCache.clear()}refresh(){this.clear(),super.refresh()}updateCacheSize(e,i){const n=this.getTileCacheForProjection(i);e>n.highWaterMark&&(n.highWaterMark=e)}useTile(e,i,n,s){}}class wI extends Cn{constructor(e,i){super(e),this.tile=i}}const SI=yI;function EI(t,e){const i=/\{z\}/g,n=/\{x\}/g,s=/\{y\}/g,r=/\{-y\}/g;return function(o,a,c){if(o)return t.replace(i,o[0].toString()).replace(n,o[1].toString()).replace(s,o[2].toString()).replace(r,function(){const u=o[0],d=e.getFullTileRange(u);return tt(d,55),(d.getHeight()-o[2]-1).toString()})}}function kI(t,e){const i=t.length,n=new Array(i);for(let s=0;s<i;++s)n[s]=EI(t[s],e);return TI(n)}function TI(t){return t.length===1?t[0]:function(e,i,n){if(!e)return;const s=dI(e),r=Ur(s,t.length);return t[r](e,i,n)}}function II(t){const e=[];let i=/\{([a-z])-([a-z])\}/.exec(t);if(i){const n=i[1].charCodeAt(0),s=i[2].charCodeAt(0);let r;for(r=n;r<=s;++r)e.push(t.replace(i[0],String.fromCharCode(r)));return e}if(i=/\{(\d+)-(\d+)\}/.exec(t),i){const n=parseInt(i[2],10);for(let s=parseInt(i[1],10);s<=n;s++)e.push(t.replace(i[0],s.toString()));return e}return e.push(t),e}class qh extends SI{constructor(e){super({attributions:e.attributions,cacheSize:e.cacheSize,opaque:e.opaque,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tilePixelRatio:e.tilePixelRatio,wrapX:e.wrapX,transition:e.transition,interpolate:e.interpolate,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.generateTileUrlFunction_=this.tileUrlFunction===qh.prototype.tileUrlFunction,this.tileLoadFunction=e.tileLoadFunction,e.tileUrlFunction&&(this.tileUrlFunction=e.tileUrlFunction),this.urls=null,e.urls?this.setUrls(e.urls):e.url&&this.setUrl(e.url),this.tileLoadingKeys_={}}getTileLoadFunction(){return this.tileLoadFunction}getTileUrlFunction(){return Object.getPrototypeOf(this).tileUrlFunction===this.tileUrlFunction?this.tileUrlFunction.bind(this):this.tileUrlFunction}getUrls(){return this.urls}handleTileChange(e){const i=e.target,n=gt(i),s=i.getState();let r;s==Le.LOADING?(this.tileLoadingKeys_[n]=!0,r=Mu.TILELOADSTART):n in this.tileLoadingKeys_&&(delete this.tileLoadingKeys_[n],r=s==Le.ERROR?Mu.TILELOADERROR:s==Le.LOADED?Mu.TILELOADEND:void 0),r!=null&&this.dispatchEvent(new wI(r,i))}setTileLoadFunction(e){this.tileCache.clear(),this.tileLoadFunction=e,this.changed()}setTileUrlFunction(e,i){this.tileUrlFunction=e,this.tileCache.pruneExceptNewestZ(),typeof i<"u"?this.setKey(i):this.changed()}setUrl(e){const i=II(e);this.urls=i,this.setUrls(i)}setUrls(e){this.urls=e;const i=e.join(`
16`);this.generateTileUrlFunction_?this.setTileUrlFunction(kI(e,this.tileGrid),i):this.setKey(i)}tileUrlFunction(e,i,n){}useTile(e,i,n){const s=zc(e,i,n);this.tileCache.containsKey(s)&&this.tileCache.get(s)}}const xI=qh;class CI extends w_{constructor(){super()}getType(){return"json"}readFeature(e,i){return this.readFeatureFromObject(rl(e),this.getReadOptions(e,i))}readFeatures(e,i){return this.readFeaturesFromObject(rl(e),this.getReadOptions(e,i))}readFeatureFromObject(e,i){return je()}readFeaturesFromObject(e,i){return je()}readGeometry(e,i){return this.readGeometryFromObject(rl(e),this.getReadOptions(e,i))}readGeometryFromObject(e,i){return je()}readProjection(e){return this.readProjectionFromObject(rl(e))}readProjectionFromObject(e){return je()}
16writeFeature(e,i){return JSON.stringify(this.writeFeatureObject(e,i))}writeFeatureObject(e,i){return je()}writeFeatures(e,i){return JSON.stringify(this.writeFeaturesObject(e,i))}writeFeaturesObject(e,i){return je()}writeGeometry(e,i){return JSON.stringify(this.writeGeometryObject(e,i))}writeGeometryObject(e,i){return je()}}function rl(t){if(typeof t=="string"){const e=JSON.parse(t);return e||null}else if(t!==null)return t;return null}const RI=CI;class AI extends RI{constructor(e){e=e||{},super(),this.dataProjection=Ht(e.dataProjection?e.dataProjection:"EPSG:4326"),e.featureProjection&&(this.defaultFeatureProjection=Ht(e.featureProjection)),this.geometryName_=e.geometryName,this.extractGeometryName_=e.extractGeometryName,this.supportedMediaTypes=["application/geo+json","application/vnd.geo+json"]}readFeatureFromObject(e,i){let n=null;e.type==="Feature"?n=e:n={type:"Feature",geometry:e,properties:null};const s=Ed(n.geometry,i),r=new Sc;return this.geometryName_?r.setGeometryName(this.geometryName_):this.extractGeometryName_&&"geometry_name"in n!==void 0&&r.setGeometryName(n.geometry_name),r.setGeometry(s),"id"in n&&r.setId(n.id),n.properties&&r.setProperties(n.properties,!0),r}readFeaturesFromObject(e,i){const n=e;let s=null;if(n.type==="FeatureCollection"){const r=e;s=[];const o=r.features;for(let a=0,c=o.length;a<c;++a)s.push(this.readFeatureFromObject(o[a],i))}else s=[this.readFeatureFromObject(e,i)];return s}readGeometryFromObject(e,i){return Ed(e,i)}readProjectionFromObject(e){const i=e.crs;let n;return i?i.type=="name"?n=Ht(i.properties.name):i.type==="EPSG"?n=Ht("EPSG:"+i.properties.code):tt(!1,36):n=this.dataProjection,n}writeFeatureObject(e,i){i=this.adaptOptions(i);const n={type:"Feature",geometry:null,properties:null},s=e.getId();if(s!==void 0&&(n.id=s),!e.hasProperties())return n;const r=e.getProperties(),o=e.getGeometry();return o&&(n.geometry=kd(o,i),delete r[e.getGeometryName()]),to(r)||(n.properties=r),n}writeFeaturesObject(e,i){i=this.adaptOptions(i);const n=[];for(let s=0,r=e.length;s<r;++s)n.push(this.writeFeatureObject(e[s],i));return{type:"FeatureCollection",features:n}}writeGeometryObject(e,i){return kd(e,this.adaptOptions(i))}}function Ed(t,e){if(!t)return null;let i;switch(t.type){case"Point":{i=DI(t);break}case"LineString":{i=LI(t);break}case"Polygon":{i=zI(t);break}case"MultiPoint":{i=PI(t);break}case"MultiLineString":{i=OI(t);break}case"MultiPolygon":{i=FI(t);break}case"GeometryCollection":{i=MI(t);break}default:throw new Error("Unsupported GeoJSON type: "+t.type)}return Is(i,!1,e)}function MI(t,e){const i=t.geometries.map(function(n){return Ed(n,e)});return new ZT(i)}function DI(t){return new no(t.coordinates)}function LI(t){return new zl(t.coordinates)}function OI(t){return new y_(t.coordinates)}function PI(t){return new $_(t.coordinates)}function FI(t){return new $T(t.coordinates)}function zI(t){return new Vl(t.coordinates)}function kd(t,e){t=Is(t,!0,e);const i=t.getType();let n;switch(i){case"Point":{n=HI(t);break}case"LineString":{n=NI(t);break}case"Polygon":{n=WI(t,e);break}case"MultiPoint":{n=jI(t);break}case"MultiLineString":{n=GI(t);break}case"MultiPolygon":{n=KI(t,e);break}case"GeometryCollection":{n=BI(t,e);break}case"Circle":{n={type:"GeometryCollection",geometries:[]};break}default:throw new Error("Unsupported geometry type: "+i)}return n}function BI(t,e){return e=Object.assign({},e),delete e.featureProjection,{type:"GeometryCollection",geometries:t.getGeometriesArray().map(function(n){return kd(n,e)})}}function NI(t,e){return{type:"LineString",coordinates:t.getCoordinates()}}function GI(t,e){return{type:"MultiLineString",coordinates:t.getCoordinates()}}function jI(t,e){return{type:"MultiPoint",coordinates:t.getCoordinates()}}function KI(t,e){let i;return e&&(i=e.rightHanded),{type:"MultiPolygon",coordinates:t.getCoordinates(i)}}function HI(t,e){return{type:"Point",coordinates:t.getCoordinates()}}function WI(t,e){let i;return e&&(i=e.rightHanded),{type:"Polygon",coordinates:t.getCoordinates(i)}}const Du=AI;class $I extends oh{constructor(e){super(),this.map_=e}dispatchRenderEvent(e,i){je()}calculateMatrices2D(e){const i=e.viewState,n=e.coordinateToPixelTransform,s=e.pixelToCoordinateTransform;Es(n,e.size[0]/2,e.size[1]/2,1/i.resolution,-1/i.resolution,-i.rotation,-i.center[0],-i.center[1]),uh(s,n)}forEachFeatureAtCoordinate(e,i,n,s,r,o,a,c){let u;const d=i.viewState;function g(F,Z,p,le){return r.call(o,Z,F?p:null,le)}const v=d.projection,_=r_(e.slice(),v),y=[[0,0]];if(v.canWrapX()&&s){const F=v.getExtent(),Z=Dt(F);y.push([-Z,0],[Z,0])}const S=i.layerStatesArray,C=S.length,x=[],I=[];for(let F=0;F<y.length;F++)for(let Z=C-1;Z>=0;--Z){const p=S[Z],le=p.layer;if(le.hasRenderer()&&Wh(p,d)&&a.call(c,le)){const Q=le.getRenderer(),ae=le.getSource();if(Q&&ae){const ue=ae.getWrapX()?_:e,Ce=g.bind(null,p.managed);
16I[0]=ue[0]+y[F][0],I[1]=ue[1]+y[F][1],u=Q.forEachFeatureAtCoordinate(I,i,n,Ce,x)}if(u)return u}}if(x.length===0)return;const R=1/x.length;return x.forEach((F,Z)=>F.distanceSq+=Z*R),x.sort((F,Z)=>F.distanceSq-Z.distanceSq),x.some(F=>u=F.callback(F.feature,F.layer,F.geometry)),u}hasFeatureAtCoordinate(e,i,n,s,r,o){return this.forEachFeatureAtCoordinate(e,i,n,s,ia,this,r,o)!==void 0}getMap(){return this.map_}renderFrame(e){je()}scheduleExpireIconCache(e){Zl.canExpireCache()&&e.postRenderFunctions.push(ZI)}}function ZI(t,e){Zl.expire()}const UI=$I;class VI extends UI{constructor(e){super(e),this.fontChangeListenerKey_=ot(zn,eo.PROPERTYCHANGE,e.redrawText.bind(e)),this.element_=document.createElement("div");const i=this.element_.style;i.position="absolute",i.width="100%",i.height="100%",i.zIndex="0",this.element_.className=ur+" ol-layers";const n=e.getViewport();n.insertBefore(this.element_,n.firstChild||null),this.children_=[],this.renderedVisible_=!0}dispatchRenderEvent(e,i){const n=this.getMap();if(n.hasListener(e)){const s=new G_(e,void 0,i);n.dispatchEvent(s)}}disposeInternal(){Rt(this.fontChangeListenerKey_),this.element_.parentNode.removeChild(this.element_),super.disposeInternal()}renderFrame(e){if(!e){this.renderedVisible_&&(this.element_.style.display="none",this.renderedVisible_=!1);return}this.calculateMatrices2D(e),this.dispatchRenderEvent(_s.PRECOMPOSE,e);const i=e.layerStatesArray.sort(function(o,a){return o.zIndex-a.zIndex}),n=e.viewState;this.children_.length=0;const s=[];let r=null;for(let o=0,a=i.length;o<a;++o){const c=i[o];e.layerIndex=o;const u=c.layer,d=u.getSourceState();if(!Wh(c,n)||d!="ready"&&d!="undefined"){u.unrender();continue}const g=u.render(e,r);g&&(g!==r&&(this.children_.push(g),r=g),"getDeclutter"in u&&s.push(u))}for(let o=s.length-1;o>=0;--o)s[o].renderDeclutter(e);_k(this.element_,this.children_),this.dispatchRenderEvent(_s.POSTCOMPOSE,e),this.renderedVisible_||(this.element_.style.display="",this.renderedVisible_=!0),this.scheduleExpireIconCache(e)}}const YI=VI;class XI extends Cn{constructor(e,i,n){super(e),this.map=i,this.frameState=n!==void 0?n:null}}const Lr=XI;class qI extends Lr{constructor(e,i,n,s,r,o){super(e,i,r),this.originalEvent=n,this.pixel_=null,this.coordinate_=null,this.dragging=s!==void 0?s:!1,this.activePointers=o}get pixel(){return this.pixel_||(this.pixel_=this.map.getEventPixel(this.originalEvent)),this.pixel_}set pixel(e){this.pixel_=e}get coordinate(){return this.coordinate_||(this.coordinate_=this.map.getCoordinateFromPixel(this.pixel)),this.coordinate_}set coordinate(e){this.coordinate_=e}preventDefault(){super.preventDefault(),"preventDefault"in this.originalEvent&&this.originalEvent.preventDefault()}stopPropagation(){super.stopPropagation(),"stopPropagation"in this.originalEvent&&this.originalEvent.stopPropagation()}}const as=qI,jt={SINGLECLICK:"singleclick",CLICK:Xe.CLICK,DBLCLICK:Xe.DBLCLICK,POINTERDRAG:"pointerdrag",POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"},hs={POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"};class QI extends yc{constructor(e,i){super(e),this.map_=e,this.clickTimeoutId_,this.emulateClicks_=!1,this.dragging_=!1,this.dragListenerKeys_=[],this.moveTolerance_=i===void 0?1:i,this.down_=null;const n=this.map_.getViewport();this.activePointers_=[],this.trackedTouches_={},this.element_=n,this.pointerdownListenerKey_=ot(n,hs.POINTERDOWN,this.handlePointerDown_,this),this.originalPointerMoveEvent_,this.relayedListenerKey_=ot(n,hs.POINTERMOVE,this.relayMoveEvent_,this),this.boundHandleTouchMove_=this.handleTouchMove_.bind(this),this.element_.addEventListener(Xe.TOUCHMOVE,this.boundHandleTouchMove_,Xv?{passive:!1}:!1)}emulateClick_(e){let i=new as(jt.CLICK,this.map_,e);this.dispatchEvent(i),this.clickTimeoutId_!==void 0?(clearTimeout(this.clickTimeoutId_),this.clickTimeoutId_=void 0,i=new as(jt.DBLCLICK,this.map_,e),this.dispatchEvent(i)):this.clickTimeoutId_=setTimeout(()=>{this.clickTimeoutId_=void 0;const n=new as(jt.SINGLECLICK,this.map_,e);this.dispatchEvent(n)},250)}updateActivePointers_(e){const i=e,n=i.pointerId;if(i.type==jt.POINTERUP||i.type==jt.POINTERCANCEL){delete this.trackedTouches_[n];for(const s in this.trackedTouches_)if(this.trackedTouches_[s].target!==i.target){delete this.trackedTouches_[s];break}}else(i.type==jt.POINTERDOWN||i.type==jt.POINTERMOVE)&&(this.trackedTouches_[n]=i);this.activePointers_=Object.values(this.trackedTouches_)}handlePointerUp_(e){this.updateActivePointers_(e);const i=new as(jt.POINTERUP,this.map_,e,void 0,void 0,this.activePointers_);this.dispatchEvent(i),this.emulateClicks_&&!i.defaultPrevented&&!this.dragging_&&this.isMouseActionButton_(e)&&this.emulateClick_(this.down_),this.activePointers_.length===0&&(this.dragListenerKeys_.forEach(Rt),this.dragListenerKeys_.length=0,this.dragging_=!1,this.down_=null)}isMouseActionButton_(e){return e.button===0}handlePointerDown_(e){this.emulateClicks_=this.activePointers_.length===0,this.updateActivePointers_(e);const i=new as(jt.POINTERDOWN,this.map_,e,void 0,void 0,this.activePointers_);this.dispatchEvent(i),this.down_={};for(const n in e){const s=e[n];this.down_[n]=typeof s=="function"?lr:s}if(this.dragListenerKeys_.length===0){const n=this.map_.getOwnerDocument();
16this.dragListenerKeys_.push(ot(n,jt.POINTERMOVE,this.handlePointerMove_,this),ot(n,jt.POINTERUP,this.handlePointerUp_,this),ot(this.element_,jt.POINTERCANCEL,this.handlePointerUp_,this)),this.element_.getRootNode&&this.element_.getRootNode()!==n&&this.dragListenerKeys_.push(ot(this.element_.getRootNode(),jt.POINTERUP,this.handlePointerUp_,this))}}handlePointerMove_(e){if(this.isMoving_(e)){this.updateActivePointers_(e),this.dragging_=!0;const i=new as(jt.POINTERDRAG,this.map_,e,this.dragging_,void 0,this.activePointers_);this.dispatchEvent(i)}}relayMoveEvent_(e){this.originalPointerMoveEvent_=e;const i=!!(this.down_&&this.isMoving_(e));this.dispatchEvent(new as(jt.POINTERMOVE,this.map_,e,i))}handleTouchMove_(e){const i=this.originalPointerMoveEvent_;(!i||i.defaultPrevented)&&(typeof e.cancelable!="boolean"||e.cancelable===!0)&&e.preventDefault()}isMoving_(e){return this.dragging_||Math.abs(e.clientX-this.down_.clientX)>this.moveTolerance_||Math.abs(e.clientY-this.down_.clientY)>this.moveTolerance_}disposeInternal(){this.relayedListenerKey_&&(Rt(this.relayedListenerKey_),this.relayedListenerKey_=null),this.element_.removeEventListener(Xe.TOUCHMOVE,this.boundHandleTouchMove_),this.pointerdownListenerKey_&&(Rt(this.pointerdownListenerKey_),this.pointerdownListenerKey_=null),this.dragListenerKeys_.forEach(Rt),this.dragListenerKeys_.length=0,this.element_=null,super.disposeInternal()}}const JI=QI,ls={POSTRENDER:"postrender",MOVESTART:"movestart",MOVEEND:"moveend",LOADSTART:"loadstart",LOADEND:"loadend"},gi={LAYERGROUP:"layergroup",SIZE:"size",TARGET:"target",VIEW:"view"},ql=1/0;class ex{constructor(e,i){this.priorityFunction_=e,this.keyFunction_=i,this.elements_=[],this.priorities_=[],this.queuedElements_={}}clear(){this.elements_.length=0,this.priorities_.length=0,ya(this.queuedElements_)}dequeue(){const e=this.elements_,i=this.priorities_,n=e[0];e.length==1?(e.length=0,i.length=0):(e[0]=e.pop(),i[0]=i.pop(),this.siftUp_(0));const s=this.keyFunction_(n);return delete this.queuedElements_[s],n}enqueue(e){tt(!(this.keyFunction_(e)in this.queuedElements_),31);const i=this.priorityFunction_(e);return i!=ql?(this.elements_.push(e),this.priorities_.push(i),this.queuedElements_[this.keyFunction_(e)]=!0,this.siftDown_(0,this.elements_.length-1),!0):!1}getCount(){return this.elements_.length}getLeftChildIndex_(e){return e*2+1}getRightChildIndex_(e){return e*2+2}getParentIndex_(e){return e-1>>1}heapify_(){let e;for(e=(this.elements_.length>>1)-1;e>=0;e--)this.siftUp_(e)}isEmpty(){return this.elements_.length===0}isKeyQueued(e){return e in this.queuedElements_}isQueued(e){return this.isKeyQueued(this.keyFunction_(e))}siftUp_(e){const i=this.elements_,n=this.priorities_,s=i.length,r=i[e],o=n[e],a=e;for(;e<s>>1;){const c=this.getLeftChildIndex_(e),u=this.getRightChildIndex_(e),d=u<s&&n[u]<n[c]?u:c;i[e]=i[d],n[e]=n[d],e=d}i[e]=r,n[e]=o,this.siftDown_(a,e)}siftDown_(e,i){const n=this.elements_,s=this.priorities_,r=n[i],o=s[i];for(;i>e;){const a=this.getParentIndex_(i);if(s[a]>o)n[i]=n[a],s[i]=s[a],i=a;else break}n[i]=r,s[i]=o}reprioritize(){const e=this.priorityFunction_,i=this.elements_,n=this.priorities_;let s=0;const r=i.length;let o,a,c;for(a=0;a<r;++a)o=i[a],c=e(o),c==ql?delete this.queuedElements_[this.keyFunction_(o)]:(n[s]=c,i[s++]=o);i.length=s,n.length=s,this.heapify_()}}const tx=ex;class ix extends tx{constructor(e,i){super(function(n){return e.apply(null,n)},function(n){return n[0].getKey()}),this.boundHandleTileChange_=this.handleTileChange.bind(this),this.tileChangeCallback_=i,this.tilesLoading_=0,this.tilesLoadingKeys_={}}enqueue(e){const i=super.enqueue(e);return i&&e[0].addEventListener(Xe.CHANGE,this.boundHandleTileChange_),i}getTilesLoading(){return this.tilesLoading_}handleTileChange(e){const i=e.target,n=i.getState();if(n===Le.LOADED||n===Le.ERROR||n===Le.EMPTY){n!==Le.ERROR&&i.removeEventListener(Xe.CHANGE,this.boundHandleTileChange_);const s=i.getKey();s in this.tilesLoadingKeys_&&(delete this.tilesLoadingKeys_[s],--this.tilesLoading_),this.tileChangeCallback_()}}loadMoreTiles(e,i){let n=0,s,r,o;for(;this.tilesLoading_<e&&n<i&&this.getCount()>0;)r=this.dequeue()[0],o=r.getKey(),s=r.getState(),s===Le.IDLE&&!(o in this.tilesLoadingKeys_)&&(this.tilesLoadingKeys_[o]=!0,++this.tilesLoading_,++n,r.load())}}const nx=ix;function sx(t,e,i,n,s){if(!t||!(i in t.wantedTiles)||!t.wantedTiles[i][e.getKey()])return ql;const r=t.viewState.center,o=n[0]-r[0],a=n[1]-r[1];return 65536*Math.log(s)+Math.sqrt(o*o+a*a)/s}const nn={CENTER:"center",RESOLUTION:"resolution",ROTATION:"rotation"};function xp(t,e,i){return function(n,s,r,o,a){if(!n)return;if(!s&&!e)return n;const c=e?0:r[0]*s,u=e?0:r[1]*s,d=a?a[0]:0,g=a?a[1]:0;let v=t[0]+c/2+d,_=t[2]-c/2+d,y=t[1]+u/2+g,S=t[3]-u/2+g;v>_&&(v=(_+v)/2,_=v),y>S&&(y=(S+y)/2,S=y);let C=Kt(n[0],v,_),x=Kt(n[1],y,S);if(o&&i&&s){const I=30*s;C+=-I*Math.log(1+Math.max(0,v-n[0])/I)+I*Math.log(1+Math.max(0,n[0]-_)/I),x+=-I*Math.log(1+Math.max(0,y-n[1])/I)+I*Math.log(1+Math.max(0,n[1]-S)/I)}return[C,x]}}function rx(t){return t}function Qh(t,e,i,n){const s=Dt(e)/i[0],r=xn(e)/i[1];return n?Math.min(t,Math.max(s,r)):Math.min(t,Math.min(s,r))}function Jh(t,e,i){let n=Math.min(t,e);const s=50;return n*=Math.log(1+s*Math.max(0,t/e-1))/s+1,i&&(n=Math.max(n,i),n/=Math.log(1+s*Math.max(0,i/t-1))/s+1),Kt(n,i/2,e*2)}function ox(t,e,i,n){return e=e!==void 0?e:!0,function(s,r,o,a){if(s!==void 0){const c=t[0],u=t[t.length-1],d=i?Qh(c,i,o,n):c;if(a)return e?Jh(s,d,u):Kt(s,u,d);const g=Math.min(d,s),v=Math.floor(ah(t,g,r));return t[v]>d&&v<t.length-1?t[v+1]:t[v]}}}function ax(t,e,i,n,s,r){return n=n!==void 0?n:!0,i=i!==void 0?i:0,function(o,a,c,u){if(o!==void 0){const d=s?Qh(e,s,c,r):e;if(u)return n?Jh(o,d,i):Kt(o,i,d);const g=1e-9,v=Math.ceil(Math.log(e/d)/Math.log(t)-g),_=-a*(.5-g)+.5,y=Math.min(d,o),S=Math.floor(Math.log(e/y)/Math.log(t)+_),C=Math.max(v,S),x=e/Math.pow(t,C);return Kt(x,i,d)}}}function Cp(t,e,i,n,s){return i=i!==void 0?i:!0,function(r,o,a,c){if(r!==void 0){const u=n?Qh(t,n,a,s):t;return!i||!c?Kt(r,e,u):Jh(r,u,e)}}}function ef(t){if(t!==void 0)return 0}function Rp(t){if(t!==void 0)return t}function lx(t){const e=2*Math.PI/t;return function(i,n){if(n)return i;if(i!==void 0)return i=Math.floor(i/e+.5)*e,i}}function cx(t){return t=t||sr(5),function(e,i){if(i)return e;if(e!==void 0)return Math.abs(e)<=t?0:e}}const Lu=0;class ux extends fn{constructor(e){super(),this.on,this.once,this.un,e=Object.assign({},e),this.hints_=[0,0],this.animations_=[],this.updateAnimationKey_,this.projection_=_h(e.projection,"EPSG:3857"),this.viewportSize_=[100,100],this.targetCenter_=null,this.targetResolution_,this.targetRotation_,this.nextCenter_=null,this.nextResolution_,this.nextRotation_,this.cancelAnchor_=void 0,e.projection&&c_(),e.center&&(e.center=Fn(e.center,this.projection_)),e.extent&&(e.extent=qs(e.extent,this.projection_)),this.applyOptions_(e)}
16applyOptions_(e){const i=Object.assign({},e);for(const a in nn)delete i[a];this.setProperties(i,!0);const n=hx(e);this.maxResolution_=n.maxResolution,this.minResolution_=n.minResolution,this.zoomFactor_=n.zoomFactor,this.resolutions_=e.resolutions,this.padding_=e.padding,this.minZoom_=n.minZoom;const s=dx(e),r=n.constraint,o=fx(e);this.constraints_={center:s,resolution:r,rotation:o},this.setRotation(e.rotation!==void 0?e.rotation:0),this.setCenterInternal(e.center!==void 0?e.center:null),e.resolution!==void 0?this.setResolution(e.resolution):e.zoom!==void 0&&this.setZoom(e.zoom)}get padding(){return this.padding_}set padding(e){let i=this.padding_;this.padding_=e;const n=this.getCenter();if(n){const s=e||[0,0,0,0];i=i||[0,0,0,0];const r=this.getResolution(),o=r/2*(s[3]-i[3]+i[1]-s[1]),a=r/2*(s[0]-i[0]+i[2]-s[2]);this.setCenterInternal([n[0]+o,n[1]-a])}}getUpdatedOptions_(e){const i=this.getProperties();return i.resolution!==void 0?i.resolution=this.getResolution():i.zoom=this.getZoom(),i.center=this.getCenterInternal(),i.rotation=this.getRotation(),Object.assign({},i,e)}animate(e){this.isDef()&&!this.getAnimating()&&this.resolveConstraints(0);const i=new Array(arguments.length);for(let n=0;n<i.length;++n){let s=arguments[n];s.center&&(s=Object.assign({},s),s.center=Fn(s.center,this.getProjection())),s.anchor&&(s=Object.assign({},s),s.anchor=Fn(s.anchor,this.getProjection())),i[n]=s}this.animateInternal.apply(this,i)}animateInternal(e){let i=arguments.length,n;i>1&&typeof arguments[i-1]=="function"&&(n=arguments[i-1],--i);let s=0;for(;s<i&&!this.isDef();++s){const d=arguments[s];d.center&&this.setCenterInternal(d.center),d.zoom!==void 0?this.setZoom(d.zoom):d.resolution&&this.setResolution(d.resolution),d.rotation!==void 0&&this.setRotation(d.rotation)}if(s===i){n&&ol(n,!0);return}let r=Date.now(),o=this.targetCenter_.slice(),a=this.targetResolution_,c=this.targetRotation_;const u=[];for(;s<i;++s){const d=arguments[s],g={start:r,complete:!1,anchor:d.anchor,duration:d.duration!==void 0?d.duration:1e3,easing:d.easing||UT,callback:n};if(d.center&&(g.sourceCenter=o,g.targetCenter=d.center.slice(),o=g.targetCenter),d.zoom!==void 0?(g.sourceResolution=a,g.targetResolution=this.getResolutionForZoom(d.zoom),a=g.targetResolution):d.resolution&&(g.sourceResolution=a,g.targetResolution=d.resolution,a=g.targetResolution),d.rotation!==void 0){g.sourceRotation=c;const v=Ur(d.rotation-c+Math.PI,2*Math.PI)-Math.PI;g.targetRotation=c+v,c=g.targetRotation}gx(g)?g.complete=!0:r+=g.duration,u.push(g)}this.animations_.push(u),this.setHint(pi.ANIMATING,1),this.updateAnimations_()}getAnimating(){return this.hints_[pi.ANIMATING]>0}getInteracting(){return this.hints_[pi.INTERACTING]>0}cancelAnimations(){this.setHint(pi.ANIMATING,-this.hints_[pi.ANIMATING]);let e;for(let i=0,n=this.animations_.length;i<n;++i){const s=this.animations_[i];if(s[0].callback&&ol(s[0].callback,!1),!e)for(let r=0,o=s.length;r<o;++r){const a=s[r];if(!a.complete){e=a.anchor;break}}}this.animations_.length=0,this.cancelAnchor_=e,this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN}updateAnimations_(){if(this.updateAnimationKey_!==void 0&&(cancelAnimationFrame(this.updateAnimationKey_),this.updateAnimationKey_=void 0),!this.getAnimating())return;const e=Date.now();let i=!1;for(let n=this.animations_.length-1;n>=0;--n){const s=this.animations_[n];let r=!0;for(let o=0,a=s.length;o<a;++o){const c=s[o];if(c.complete)continue;const u=e-c.start;let d=c.duration>0?u/c.duration:1;d>=1?(c.complete=!0,d=1):r=!1;const g=c.easing(d);if(c.sourceCenter){const v=c.sourceCenter[0],_=c.sourceCenter[1],y=c.targetCenter[0],S=c.targetCenter[1];this.nextCenter_=c.targetCenter;const C=v+g*(y-v),x=_+g*(S-_);this.targetCenter_=[C,x]}if(c.sourceResolution&&c.targetResolution){const v=g===1?c.targetResolution:c.sourceResolution+g*(c.targetResolution-c.sourceResolution);if(c.anchor){const _=this.getViewportSize_(this.getRotation()),y=this.constraints_.resolution(v,0,_,!0);this.targetCenter_=this.calculateCenterZoom(y,c.anchor)}this.nextResolution_=c.targetResolution,this.targetResolution_=v,this.applyTargetState_(!0)}if(c.sourceRotation!==void 0&&c.targetRotation!==void 0){const v=g===1?Ur(c.targetRotation+Math.PI,2*Math.PI)-Math.PI:c.sourceRotation+g*(c.targetRotation-c.sourceRotation);if(c.anchor){const _=this.constraints_.rotation(v,!0);this.targetCenter_=this.calculateCenterRotate(_,c.anchor)}this.nextRotation_=c.targetRotation,this.targetRotation_=v}if(this.applyTargetState_(!0),i=!0,!c.complete)break}if(r){this.animations_[n]=null,this.setHint(pi.ANIMATING,-1),this.nextCenter_=null,this.nextResolution_=NaN,this.nextRotation_=NaN;const o=s[0].callback;o&&ol(o,!0)}}this.animations_=this.animations_.filter(Boolean),i&&this.updateAnimationKey_===void 0&&(this.updateAnimationKey_=requestAnimationFrame(this.updateAnimations_.bind(this)))}calculateCenterRotate(e,i){let n;const s=this.getCenterInternal();
16return s!==void 0&&(n=[s[0]-i[0],s[1]-i[1]],ph(n,e-this.getRotation()),Q1(n,i)),n}calculateCenterZoom(e,i){let n;const s=this.getCenterInternal(),r=this.getResolution();if(s!==void 0&&r!==void 0){const o=i[0]-e*(i[0]-s[0])/r,a=i[1]-e*(i[1]-s[1])/r;n=[o,a]}return n}getViewportSize_(e){const i=this.viewportSize_;if(e){const n=i[0],s=i[1];return[Math.abs(n*Math.cos(e))+Math.abs(s*Math.sin(e)),Math.abs(n*Math.sin(e))+Math.abs(s*Math.cos(e))]}return i}setViewportSize(e){this.viewportSize_=Array.isArray(e)?e.slice():[100,100],this.getAnimating()||this.resolveConstraints(0)}getCenter(){const e=this.getCenterInternal();return e&&fd(e,this.getProjection())}getCenterInternal(){return this.get(nn.CENTER)}getConstraints(){return this.constraints_}getConstrainResolution(){return this.get("constrainResolution")}getHints(e){return e!==void 0?(e[0]=this.hints_[0],e[1]=this.hints_[1],e):this.hints_.slice()}calculateExtent(e){const i=this.calculateExtentInternal(e);return d_(i,this.getProjection())}calculateExtentInternal(e){e=e||this.getViewportSizeMinusPadding_();const i=this.getCenterInternal();tt(i,1);const n=this.getResolution();tt(n!==void 0,2);const s=this.getRotation();return tt(s!==void 0,3),cd(i,n,s,e)}getMaxResolution(){return this.maxResolution_}getMinResolution(){return this.minResolution_}getMaxZoom(){return this.getZoomForResolution(this.minResolution_)}setMaxZoom(e){this.applyOptions_(this.getUpdatedOptions_({maxZoom:e}))}getMinZoom(){return this.getZoomForResolution(this.maxResolution_)}setMinZoom(e){this.applyOptions_(this.getUpdatedOptions_({minZoom:e}))}setConstrainResolution(e){this.applyOptions_(this.getUpdatedOptions_({constrainResolution:e}))}getProjection(){return this.projection_}getResolution(){return this.get(nn.RESOLUTION)}getResolutions(){return this.resolutions_}getResolutionForExtent(e,i){return this.getResolutionForExtentInternal(qs(e,this.getProjection()),i)}getResolutionForExtentInternal(e,i){i=i||this.getViewportSizeMinusPadding_();const n=Dt(e)/i[0],s=xn(e)/i[1];return Math.max(n,s)}getResolutionForValueFunction(e){e=e||2;const i=this.getConstrainedResolution(this.maxResolution_),n=this.minResolution_,s=Math.log(i/n)/Math.log(e);return function(r){return i/Math.pow(e,r*s)}}getRotation(){return this.get(nn.ROTATION)}getValueForResolutionFunction(e){const i=Math.log(e||2),n=this.getConstrainedResolution(this.maxResolution_),s=this.minResolution_,r=Math.log(n/s)/i;return function(o){return Math.log(n/o)/i/r}}getViewportSizeMinusPadding_(e){let i=this.getViewportSize_(e);const n=this.padding_;return n&&(i=[i[0]-n[1]-n[3],i[1]-n[0]-n[2]]),i}getState(){const e=this.getProjection(),i=this.getResolution(),n=this.getRotation();let s=this.getCenterInternal();const r=this.padding_;if(r){const o=this.getViewportSizeMinusPadding_();s=Ou(s,this.getViewportSize_(),[o[0]/2+r[3],o[1]/2+r[0]],i,n)}return{center:s.slice(0),projection:e!==void 0?e:null,resolution:i,nextCenter:this.nextCenter_,nextResolution:this.nextResolution_,nextRotation:this.nextRotation_,rotation:n,zoom:this.getZoom()}}getZoom(){let e;const i=this.getResolution();return i!==void 0&&(e=this.getZoomForResolution(i)),e}getZoomForResolution(e){let i=this.minZoom_||0,n,s;if(this.resolutions_){const r=ah(this.resolutions_,e,1);i=r,n=this.resolutions_[r],r==this.resolutions_.length-1?s=2:s=n/this.resolutions_[r+1]}else n=this.maxResolution_,s=this.zoomFactor_;return i+Math.log(n/e)/Math.log(s)}getResolutionForZoom(e){if(this.resolutions_){if(this.resolutions_.length<=1)return 0;const i=Kt(Math.floor(e),0,this.resolutions_.length-2),n=this.resolutions_[i]/this.resolutions_[i+1];return this.resolutions_[i]/Math.pow(n,Kt(e-i,0,1))}return this.maxResolution_/Math.pow(this.zoomFactor_,e-this.minZoom_)}fit(e,i){let n;if(tt(Array.isArray(e)||typeof e.getSimplifiedGeometry=="function",24),Array.isArray(e)){tt(!fh(e),25);const s=qs(e,this.getProjection());n=wp(s)}else if(e.getType()==="Circle"){const s=qs(e.getExtent(),this.getProjection());n=wp(s),n.rotate(this.getRotation(),cr(s))}else n=e;this.fitInternal(n,i)}rotatedExtentForGeometry(e){const i=this.getRotation(),n=Math.cos(i),s=Math.sin(-i),r=e.getFlatCoordinates(),o=e.getStride();let a=1/0,c=1/0,u=-1/0,d=-1/0;for(let g=0,v=r.length;g<v;g+=o){const _=r[g]*n-r[g+1]*s,y=r[g]*s+r[g+1]*n;a=Math.min(a,_),c=Math.min(c,y),u=Math.max(u,_),d=Math.max(d,y)}return[a,c,u,d]}fitInternal(e,i){i=i||{};let n=i.size;n||(n=this.getViewportSizeMinusPadding_());const s=i.padding!==void 0?i.padding:[0,0,0,0],r=i.nearest!==void 0?i.nearest:!1;let o;i.minResolution!==void 0?o=i.minResolution:i.maxZoom!==void 0?o=this.getResolutionForZoom(i.maxZoom):o=0;const a=this.rotatedExtentForGeometry(e);let c=this.getResolutionForExtentInternal(a,[n[0]-s[1]-s[3],n[1]-s[0]-s[2]]);c=isNaN(c)?o:Math.max(c,o),c=this.getConstrainedResolution(c,r?0:1);const u=this.getRotation(),d=Math.sin(u),g=Math.cos(u),v=cr(a);v[0]+=(s[1]-s[3])/2*c,v[1]+=(s[0]-s[2])/2*c;const _=v[0]*g-v[1]*d,y=v[1]*g+v[0]*d,S=this.getConstrainedCenter([_,y],c),C=i.callback?i.callback:lr;i.duration!==void 0?this.animateInternal({resolution:c,center:S,duration:i.duration,easing:i.easing},C):(this.targetResolution_=c,this.targetCenter_=S,this.applyTargetState_(!1,!0),ol(C,!0))}centerOn(e,i,n){this.centerOnInternal(Fn(e,this.getProjection()),i,n)}centerOnInternal(e,i,n){this.setCenterInternal(Ou(e,i,n,this.getResolution(),this.getRotation()))}calculateCenterShift(e,i,n,s){let r;const o=this.padding_;if(o&&e){const a=this.getViewportSizeMinusPadding_(-n),c=Ou(e,s,[a[0]/2+o[3],a[1]/2+o[0]],i,n);r=[e[0]-c[0],e[1]-c[1]]}return r}isDef(){return!!this.getCenterInternal()&&this.getResolution()!==void 0}adjustCenter(e){const i=fd(this.targetCenter_,this.getProjection());this.setCenter([i[0]+e[0],i[1]+e[1]])}adjustCenterInternal(e){const i=this.targetCenter_;this.setCenterInternal([i[0]+e[0],i[1]+e[1]])}adjustResolution(e,i){i=i&&Fn(i,this.getProjection()),this.adjustResolutionInternal(e,i)}adjustResolutionInternal(e,i){const n=this.getAnimating()||this.getInteracting(),s=this.getViewportSize_(this.getRotation()),r=this.constraints_.resolution(this.targetResolution_*e,0,s,n);i&&(this.targetCenter_=this.calculateCenterZoom(r,i)),this.targetResolution_*=e,this.applyTargetState_()}adjustZoom(e,i){this.adjustResolution(Math.pow(this.zoomFactor_,-e),i)}adjustRotation(e,i){i&&(i=Fn(i,this.getProjection())),this.adjustRotationInternal(e,i)}adjustRotationInternal(e,i){const n=this.getAnimating()||this.getInteracting(),s=this.constraints_.rotation(this.targetRotation_+e,n);i&&(this.targetCenter_=this.calculateCenterRotate(s,i)),this.targetRotation_+=e,this.applyTargetState_()}setCenter(e){this.setCenterInternal(e&&Fn(e,this.getProjection()))}setCenterInternal(e){this.targetCenter_=e,this.applyTargetState_()}setHint(e,i){return this.hints_[e]+=i,this.changed(),this.hints_[e]}setResolution(e){this.targetResolution_=e,this.applyTargetState_()}setRotation(e){this.targetRotation_=e,this.applyTargetState_()}setZoom(e){this.setResolution(this.getResolutionForZoom(e))}applyTargetState_(e,i){const n=this.getAnimating()||this.getInteracting()||i,s=this.constraints_.rotation(this.targetRotation_,n),r=this.getViewportSize_(s),o=this.constraints_.resolution(this.targetResolution_,0,r,n),a=this.constraints_.center(this.targetCenter_,o,r,n,this.calculateCenterShift(this.targetCenter_,o,s,r));this.get(nn.ROTATION)!==s&&this.set(nn.ROTATION,s),this.get(nn.RESOLUTION)!==o&&(this.set(nn.RESOLUTION,o),this.set("zoom",this.getZoom(),!0)),(!a||!this.get(nn.CENTER)||!Ll(this.get(nn.CENTER),a))&&this.set(nn.CENTER,a),this.getAnimating()&&!e&&this.cancelAnimations(),this.cancelAnchor_=void 0}resolveConstraints(e,i,n){e=e!==void 0?e:200;const s=i||0,r=this.constraints_.rotation(this.targetRotation_),o=this.getViewportSize_(r),a=this.constraints_.resolution(this.targetResolution_,s,o),c=this.constraints_.center(this.targetCenter_,a,o,!1,this.calculateCenterShift(this.targetCenter_,a,r,o));if(e===0&&!this.cancelAnchor_){this.targetResolution_=a,this.targetRotation_=r,this.targetCenter_=c,this.applyTargetState_();return}n=n||(e===0?this.cancelAnchor_:void 0),this.cancelAnchor_=void 0,(this.getResolution()!==a||this.getRotation()!==r||!this.getCenterInternal()||!Ll(this.getCenterInternal(),c))&&(this.getAnimating()&&this.cancelAnimations(),this.animateInternal({rotation:r,center:c,resolution:a,duration:e,easing:pr,anchor:n}))}beginInteraction(){this.resolveConstraints(0),this.setHint(pi.INTERACTING,1)}endInteraction(e,i,n){n=n&&Fn(n,this.getProjection()),this.endInteractionInternal(e,i,n)}endInteractionInternal(e,i,n){this.setHint(pi.INTERACTING,-1),this.resolveConstraints(e,i,n)}getConstrainedCenter(e,i){const n=this.getViewportSize_(this.getRotation());return this.constraints_.center(e,i||this.getResolution(),n)}getConstrainedZoom(e,i){const n=this.getResolutionForZoom(e);return this.getZoomForResolution(this.getConstrainedResolution(n,i))}getConstrainedResolution(e,i){i=i||0;const n=this.getViewportSize_(this.getRotation());return this.constraints_.resolution(e,i,n)}}function ol(t,e){setTimeout(function(){t(e)},0)}function dx(t){if(t.extent!==void 0){const i=t.smoothExtentConstraint!==void 0?t.smoothExtentConstraint:!0;return xp(t.extent,t.constrainOnlyCenter,i)}const e=_h(t.projection,"EPSG:3857");if(t.multiWorld!==!0&&e.isGlobal()){const i=e.getExtent().slice();return i[0]=-1/0,i[2]=1/0,xp(i,!1,!1)}return rx}function hx(t){let e,i,n,o=t.minZoom!==void 0?t.minZoom:Lu,a=t.maxZoom!==void 0?t.maxZoom:28;const c=t.zoomFactor!==void 0?t.zoomFactor:2,u=t.multiWorld!==void 0?t.multiWorld:!1,d=t.smoothResolutionConstraint!==void 0?t.smoothResolutionConstraint:!0,g=t.showFullExtent!==void 0?t.showFullExtent:!1,v=_h(t.projection,"EPSG:3857"),_=v.getExtent();let y=t.constrainOnlyCenter,S=t.extent;if(!u&&!S&&v.isGlobal()&&(y=!1,S=_),t.resolutions!==void 0){const C=t.resolutions;i=C[o],n=C[a]!==void 0?C[a]:C[C.length-1],t.constrainResolution?e=ox(C,d,!y&&S,g):e=Cp(i,n,d,!y&&S,g)}else{const x=(_?Math.max(Dt(_),xn(_)):360*io.degrees/v.getMetersPerUnit())/Yh/Math.pow(2,Lu),I=x/Math.pow(2,28-Lu);i=t.maxResolution,i!==void 0?o=0:i=x/Math.pow(c,o),n=t.minResolution,n===void 0&&(t.maxZoom!==void 0?t.maxResolution!==void 0?n=i/Math.pow(c,a):n=x/Math.pow(c,a):n=I),a=o+Math.floor(Math.log(i/n)/Math.log(c)),n=i/Math.pow(c,a-o),t.constrainResolution?e=ax(c,i,n,d,!y&&S,g):e=Cp(i,n,d,!y&&S,g)}return{constraint:e,maxResolution:i,minResolution:n,minZoom:o,zoomFactor:c}}function fx(t){if(t.enableRotation!==void 0?t.enableRotation:!0){const i=t.constrainRotation;return i===void 0||i===!0?cx():i===!1?Rp:typeof i=="number"?lx(i):Rp}return ef}function gx(t){return!(t.sourceCenter&&t.targetCenter&&!Ll(t.sourceCenter,t.targetCenter)||t.sourceResolution!==t.targetResolution||t.sourceRotation!==t.targetRotation)}function Ou(t,e,i,n,s){const r=Math.cos(-s);let o=Math.sin(-s),a=t[0]*r-t[1]*o,c=t[1]*r+t[0]*o;a+=(e[0]/2-i[0])*n,c+=(i[1]-e[1]/2)*n,o=-o;const u=a*r-c*o,d=c*r+a*o;return[u,d]}const fs=ux;class px extends fn{constructor(e){super();const i=e.element;i&&!e.target&&!i.style.pointerEvents&&(i.style.pointerEvents="auto"),this.element=i||null,this.target_=null,this.map_=null,this.listenerKeys=[],e.render&&(this.render=e.render),e.target&&this.setTarget(e.target)}disposeInternal(){md(this.element),super.disposeInternal()}getMap(){return this.map_}setMap(e){this.map_&&md(this.element);for(let i=0,n=this.listenerKeys.length;i<n;++i)Rt(this.listenerKeys[i]);this.listenerKeys.length=0,this.map_=e,e&&((this.target_?this.target_:e.getOverlayContainerStopEvent()).appendChild(this.element),this.render!==lr&&this.listenerKeys.push(ot(e,ls.POSTRENDER,this.render,this)),e.render())}render(e){}setTarget(e){this.target_=typeof e=="string"?document.getElementById(e):e}}const Ia=px;class mx extends Ia{constructor(e){e=e||{},super({element:document.createElement("div"),render:e.render,target:e.target}),this.ulElement_=document.createElement("ul"),this.collapsed_=e.collapsed!==void 0?e.collapsed:!0,this.userCollapsed_=this.collapsed_,this.overrideCollapsible_=e.collapsible!==void 0,this.collapsible_=e.collapsible!==void 0?e.collapsible:!0,this.collapsible_||(this.collapsed_=!1);const i=e.className!==void 0?e.className:"ol-attribution",n=e.tipLabel!==void 0?e.tipLabel:"Attributions",s=e.expandClassName!==void 0?e.expandClassName:i+"-expand",r=e.collapseLabel!==void 0?e.collapseLabel:"›",o=e.collapseClassName!==void 0?e.collapseClassName:i+"-collapse";typeof r=="string"?(this.collapseLabel_=document.createElement("span"),this.collapseLabel_.textContent=r,this.collapseLabel_.className=o):this.collapseLabel_=r;const a=e.label!==void 0?e.label:"i";
16typeof a=="string"?(this.label_=document.createElement("span"),this.label_.textContent=a,this.label_.className=s):this.label_=a;const c=this.collapsible_&&!this.collapsed_?this.collapseLabel_:this.label_;this.toggleButton_=document.createElement("button"),this.toggleButton_.setAttribute("type","button"),this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_)),this.toggleButton_.title=n,this.toggleButton_.appendChild(c),this.toggleButton_.addEventListener(Xe.CLICK,this.handleClick_.bind(this),!1);const u=i+" "+ur+" "+Lc+(this.collapsed_&&this.collapsible_?" "+ep:"")+(this.collapsible_?"":" ol-uncollapsible"),d=this.element;d.className=u,d.appendChild(this.toggleButton_),d.appendChild(this.ulElement_),this.renderedAttributions_=[],this.renderedVisible_=!0}collectSourceAttributions_(e){const i={},n=[];let s=!0;const r=e.layerStatesArray;for(let o=0,a=r.length;o<a;++o){const c=r[o];if(!Wh(c,e.viewState))continue;const u=c.layer.getSource();if(!u)continue;const d=u.getAttributions();if(!d)continue;const g=d(e);if(g)if(s=s&&u.getAttributionsCollapsible()!==!1,Array.isArray(g))for(let v=0,_=g.length;v<_;++v)g[v]in i||(n.push(g[v]),i[g[v]]=!0);
16else g in i||(n.push(g),i[g]=!0)}return this.overrideCollapsible_||this.setCollapsible(s),n}updateElement_(e){if(!e){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const i=this.collectSourceAttributions_(e),n=i.length>0;if(this.renderedVisible_!=n&&(this.element.style.display=n?"":"none",this.renderedVisible_=n),!Ts(i,this.renderedAttributions_)){vk(this.ulElement_);for(let s=0,r=i.length;s<r;++s){const o=document.createElement("li");o.innerHTML=i[s],this.ulElement_.appendChild(o)}this.renderedAttributions_=i}}handleClick_(e){e.preventDefault(),this.handleToggle_(),this.userCollapsed_=this.collapsed_}handleToggle_(){this.element.classList.toggle(ep),this.collapsed_?Jg(this.collapseLabel_,this.label_):Jg(this.label_,this.collapseLabel_),this.collapsed_=!this.collapsed_,this.toggleButton_.setAttribute("aria-expanded",String(!this.collapsed_))}getCollapsible(){return this.collapsible_}setCollapsible(e){this.collapsible_!==e&&(this.collapsible_=e,this.element.classList.toggle("ol-uncollapsible"),this.userCollapsed_&&this.handleToggle_())}setCollapsed(e){this.userCollapsed_=e,!(!this.collapsible_||this.collapsed_===e)&&this.handleToggle_()}getCollapsed(){return this.collapsed_}render(e){this.updateElement_(e.frameState)}}const vx=mx;class _x extends Ia{constructor(e){e=e||{},super({element:document.createElement("div"),render:e.render,target:e.target});const i=e.className!==void 0?e.className:"ol-rotate",n=e.label!==void 0?e.label:"⇧",s=e.compassClassName!==void 0?e.compassClassName:"ol-compass";this.label_=null,typeof n=="string"?(this.label_=document.createElement("span"),this.label_.className=s,this.label_.textContent=n):(this.label_=n,this.label_.classList.add(s));const r=e.tipLabel?e.tipLabel:"Reset rotation",o=document.createElement("button");o.className=i+"-reset",o.setAttribute("type","button"),o.title=r,o.appendChild(this.label_),o.addEventListener(Xe.CLICK,this.handleClick_.bind(this),!1);const a=i+" "+ur+" "+Lc,c=this.element;c.className=a,c.appendChild(o),this.callResetNorth_=e.resetNorth?e.resetNorth:void 0,this.duration_=e.duration!==void 0?e.duration:250,this.autoHide_=e.autoHide!==void 0?e.autoHide:!0,this.rotation_=void 0,this.autoHide_&&this.element.classList.add(Qa)}handleClick_(e){e.preventDefault(),this.callResetNorth_!==void 0?this.callResetNorth_():this.resetNorth_()}resetNorth_(){const i=this.getMap().getView();if(!i)return;const n=i.getRotation();n!==void 0&&(this.duration_>0&&n%(2*Math.PI)!==0?i.animate({rotation:0,duration:this.duration_,easing:pr}):i.setRotation(0))}render(e){const i=e.frameState;if(!i)return;const n=i.viewState.rotation;if(n!=this.rotation_){const s="rotate("+n+"rad)";if(this.autoHide_){const r=this.element.classList.contains(Qa);!r&&n===0?this.element.classList.add(Qa):r&&n!==0&&this.element.classList.remove(Qa)}this.label_.style.transform=s}this.rotation_=n}}const bx=_x;class yx extends Ia{constructor(e){e=e||{},super({element:document.createElement("div"),target:e.target});const i=e.className!==void 0?e.className:"ol-zoom",n=e.delta!==void 0?e.delta:1,s=e.zoomInClassName!==void 0?e.zoomInClassName:i+"-in",r=e.zoomOutClassName!==void 0?e.zoomOutClassName:i+"-out",o=e.zoomInLabel!==void 0?e.zoomInLabel:"+",a=e.zoomOutLabel!==void 0?e.zoomOutLabel:"–",c=e.zoomInTipLabel!==void 0?e.zoomInTipLabel:"Zoom in",u=e.zoomOutTipLabel!==void 0?e.zoomOutTipLabel:"Zoom out",d=document.createElement("button");d.className=s,d.setAttribute("type","button"),d.title=c,d.appendChild(typeof o=="string"?document.createTextNode(o):o),d.addEventListener(Xe.CLICK,this.handleClick_.bind(this,n),!1);const g=document.createElement("button");g.className=r,g.setAttribute("type","button"),g.title=u,g.appendChild(typeof a=="string"?document.createTextNode(a):a),g.addEventListener(Xe.CLICK,this.handleClick_.bind(this,-n),!1);const v=i+" "+ur+" "+Lc,_=this.element;_.className=v,_.appendChild(d),_.appendChild(g),this.duration_=e.duration!==void 0?e.duration:250}handleClick_(e,i){i.preventDefault(),this.zoomByDelta_(e)}zoomByDelta_(e){const n=this.getMap().getView();if(!n)return;const s=n.getZoom();if(s!==void 0){const r=n.getConstrainedZoom(s+e);this.duration_>0?(n.getAnimating()&&n.cancelAnimations(),n.animate({zoom:r,duration:this.duration_,easing:pr})):n.setZoom(r)}}}const wx=yx;function ab(t){t=t||{};const e=new Sn;return(t.zoom!==void 0?t.zoom:!0)&&e.push(new wx(t.zoomOptions)),(t.rotate!==void 0?t.rotate:!0)&&e.push(new bx(t.rotateOptions)),(t.attribution!==void 0?t.attribution:!0)&&e.push(new vx(t.attributionOptions)),e}const Ap={ACTIVE:"active"};class Sx extends fn{constructor(e){super(),this.on,this.once,this.un,e&&e.handleEvent&&(this.handleEvent=e.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(Ap.ACTIVE)}getMap(){return this.map_}handleEvent(e){return!0}setActive(e){this.set(Ap.ACTIVE,e)}setMap(e){this.map_=e}}function Ex(t,e,i){const n=t.getCenterInternal();if(n){const s=[n[0]+e[0],n[1]+e[1]];t.animateInternal({duration:i!==void 0?i:250,easing:VT,center:t.getConstrainedCenter(s)})}}function tf(t,e,i,n){const s=t.getZoom();if(s===void 0)return;const r=t.getConstrainedZoom(s+e),o=t.getResolutionForZoom(r);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:o,anchor:i,duration:n!==void 0?n:250,easing:pr})}const xa=Sx;class kx extends xa{constructor(e){super(),e=e||{},this.delta_=e.delta?e.delta:1,this.duration_=e.duration!==void 0?e.duration:250}handleEvent(e){let i=!1;if(e.type==jt.DBLCLICK){const n=e.originalEvent,s=e.map,r=e.coordinate,o=n.shiftKey?-this.delta_:this.delta_,a=s.getView();tf(a,o,r,this.duration_),n.preventDefault(),i=!0}return!i}}const Tx=kx;class Ix extends xa{constructor(e){e=e||{},super(e),e.handleDownEvent&&(this.handleDownEvent=e.handleDownEvent),e.handleDragEvent&&(this.handleDragEvent=e.handleDragEvent),e.handleMoveEvent&&(this.handleMoveEvent=e.handleMoveEvent),e.handleUpEvent&&(this.handleUpEvent=e.handleUpEvent),e.stopDown&&(this.stopDown=e.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(e){return!1}handleDragEvent(e){}handleEvent(e){if(!e.originalEvent)return!0;let i=!1;if(this.updateTrackedPointers_(e),this.handlingDownUpSequence){if(e.type==jt.POINTERDRAG)this.handleDragEvent(e),e.originalEvent.preventDefault();else if(e.type==jt.POINTERUP){const n=this.handleUpEvent(e);this.handlingDownUpSequence=n&&this.targetPointers.length>0}}else if(e.type==jt.POINTERDOWN){const n=this.handleDownEvent(e);this.handlingDownUpSequence=n,i=this.stopDown(n)}else e.type==jt.POINTERMOVE&&this.handleMoveEvent(e);return!i}handleMoveEvent(e){}handleUpEvent(e){return!1}stopDown(e){return e}updateTrackedPointers_(e){e.activePointers&&(this.targetPointers=e.activePointers)}}function nf(t){const e=t.length;let i=0,n=0;for(let s=0;s<e;s++)i+=t[s].clientX,n+=t[s].clientY;return{clientX:i/e,clientY:n/e}}const Ca=Ix;function Td(t){const e=arguments;return function(i){let n=!0;for(let s=0,r=e.length;s<r&&(n=n&&e[s](i),!!n);++s);return n}}const xx=function(t){const e=t.originalEvent;return e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},Cx=function(t){const e=t.map.getTargetElement(),i=t.map.getOwnerDocument().activeElement;return e.contains(i)},lb=function(t){return t.map.getTargetElement().hasAttribute("tabindex")?Cx(t):!0},Rx=ia,cb=function(t){const e=t.originalEvent;return e.button==0&&!(x1&&C1&&e.ctrlKey)},ub=function(t){const e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&!e.shiftKey},Ax=function(t){const e=t.originalEvent;return!e.altKey&&!(e.metaKey||e.ctrlKey)&&e.shiftKey},db=function(t){const e=t.originalEvent,i=e.target.tagName;return i!=="INPUT"&&i!=="SELECT"&&i!=="TEXTAREA"&&!e.target.isContentEditable},Pu=function(t){const e=t.originalEvent;return tt(e!==void 0,56),e.pointerType=="mouse"},Mx=function(t){const e=t.originalEvent;return tt(e!==void 0,56),e.isPrimary&&e.button===0};class Dx extends Ca{constructor(e){super({stopDown:bc}),e=e||{},this.kinetic_=e.kinetic,this.lastCentroid=null,this.lastPointersCount_,this.panning_=!1;const i=e.condition?e.condition:Td(ub,Mx);this.condition_=e.onFocusOnly?Td(lb,i):i,this.noKinetic_=!1}handleDragEvent(e){const i=e.map;this.panning_||(this.panning_=!0,i.getView().beginInteraction());const n=this.targetPointers,s=i.getEventPixel(nf(n));if(n.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(s[0],s[1]),this.lastCentroid){const r=[this.lastCentroid[0]-s[0],s[1]-this.lastCentroid[1]],a=e.map.getView();J1(r,a.getResolution()),ph(r,a.getRotation()),a.adjustCenterInternal(r)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=s,this.lastPointersCount_=n.length,e.originalEvent.preventDefault()}handleUpEvent(e){const i=e.map,n=i.getView();if(this.targetPointers.length===0){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){const s=this.kinetic_.getDistance(),r=this.kinetic_.getAngle(),o=n.getCenterInternal(),a=i.getPixelFromCo
16ordinateInternal(o),c=i.getCoordinateFromPixelInternal([a[0]-s*Math.cos(r),a[1]-s*Math.sin(r)]);n.animateInternal({center:n.getConstrainedCenter(c),duration:500,easing:pr})}return this.panning_&&(this.panning_=!1,n.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0}handleDownEvent(e){if(this.targetPointers.length>0&&this.condition_(e)){const n=e.map.getView();return this.lastCentroid=null,n.getAnimating()&&n.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}}const Lx=Dx;class Ox extends Ca{constructor(e){e=e||{},super({stopDown:bc}),this.condition_=e.condition?e.condition:xx,this.lastAngle_=void 0,this.duration_=e.duration!==void 0?e.duration:250}handleDragEvent(e){if(!Pu(e))return;const i=e.map,n=i.getView();if(n.getConstraints().rotation===ef)return;const s=i.getSize(),r=e.pixel,o=Math.atan2(s[1]/2-r[1],r[0]-s[0]/2);if(this.lastAngle_!==void 0){const a=o-this.lastAngle_;n.adjustRotationInternal(-a)}this.lastAngle_=o}handleUpEvent(e){return Pu(e)?(e.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(e){return Pu(e)&&cb(e)&&this.condition_(e)?(e.map.getView().beginInteraction(),this.lastAngle_=void 0,!0):!1}}const Px=Ox;class Fx extends oh{constructor(e){super(),this.geometry_=null,this.element_=document.createElement("div"),this.element_.style.position="absolute",this.element_.style.pointerEvents="auto",this.element_.className="ol-box "+e,this.map_=null,this.startPixel_=null,this.endPixel_=null}disposeInternal(){this.setMap(null)}render_(){const e=this.startPixel_,i=this.endPixel_,n="px",s=this.element_.style;s.left=Math.min(e[0],i[0])+n,s.top=Math.min(e[1],i[1])+n,s.width=Math.abs(i[0]-e[0])+n,s.height=Math.abs(i[1]-e[1])+n}setMap(e){if(this.map_){this.map_.getOverlayContainer().removeChild(this.element_);const i=this.element_.style;i.left="inherit",i.top="inherit",i.width="inherit",i.height="inherit"}this.map_=e,this.map_&&this.map_.getOverlayContainer().appendChild(this.element_)}setPixels(e,i){this.startPixel_=e,this.endPixel_=i,this.createOrUpdateGeometry(),this.render_()}createOrUpdateGeometry(){const e=this.startPixel_,i=this.endPixel_,s=[e,[e[0],i[1]],i,[i[0],e[1]]].map(this.map_.getCoordinateFromPixelInternal,this.map_);s[4]=s[0].slice(),this.geometry_?this.geometry_.setCoordinates([s]):this.geometry_=new Vl([s])}getGeometry(){return this.geometry_}}const zx=Fx,al={BOXSTART:"boxstart",BOXDRAG:"boxdrag",BOXEND:"boxend",BOXCANCEL:"boxcancel"};class Fu extends Cn{constructor(e,i,n){super(e),this.coordinate=i,this.mapBrowserEvent=n}}class Bx extends Ca{constructor(e){super(),this.on,this.once,this.un,e=e||{},this.box_=new zx(e.className||"ol-dragbox"),this.minArea_=e.minArea!==void 0?e.minArea:64,e.onBoxEnd&&(this.onBoxEnd=e.onBoxEnd),this.startPixel_=null,this.condition_=e.condition?e.condition:cb,this.boxEndCondition_=e.boxEndCondition?e.boxEndCondition:this.defaultBoxEndCondition}defaultBoxEndCondition(e,i,n){const s=n[0]-i[0],r=n[1]-i[1];return s*s+r*r>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(e){this.box_.setPixels(this.startPixel_,e.pixel),this.dispatchEvent(new Fu(al.BOXDRAG,e.coordinate,e))}handleUpEvent(e){this.box_.setMap(null);const i=this.boxEndCondition_(e,this.startPixel_,e.pixel);return i&&this.onBoxEnd(e),this.dispatchEvent(new Fu(i?al.BOXEND:al.BOXCANCEL,e.coordinate,e)),!1}handleDownEvent(e){return this.condition_(e)?(this.startPixel_=e.pixel,this.box_.setMap(e.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new Fu(al.BOXSTART,e.coordinate,e)),!0):!1}onBoxEnd(e){}}const Nx=Bx;class Gx extends Nx{constructor(e){e=e||{};const i=e.condition?e.condition:Ax;super({condition:i,className:e.className||"ol-dragzoom",minArea:e.minArea}),this.duration_=e.duration!==void 0?e.duration:200,this.out_=e.out!==void 0?e.out:!1}onBoxEnd(e){const n=this.getMap().getView();let s=this.getGeometry();if(this.out_){const r=n.rotatedExtentForGeometry(s),o=n.getResolutionForExtentInternal(r),a=n.getResolution()/o;s=s.clone(),s.scale(a*a)}n.fitInternal(s,{duration:this.duration_,easing:pr})}}const jx=Gx,Ks={LEFT:37,UP:38,RIGHT:39,DOWN:40};class Kx extends xa{constructor(e){super(),e=e||{},this.defaultCondition_=function(i){return ub(i)&&db(i)},this.condition_=e.condition!==void 0?e.condition:this.defaultCondition_,this.duration_=e.duration!==void 0?e.duration:100,this.pixelDelta_=e.pixelDelta!==void 0?e.pixelDelta:128}handleEvent(e){let i=!1;if(e.type==Xe.KEYDOWN){const n=e.originalEvent,s=n.keyCode;if(this.condition_(e)&&(s==Ks.DOWN||s==Ks.LEFT||s==Ks.RIGHT||s==Ks.UP)){const o=e.map.getView(),a=o.getResolution()*this.pixelDelta_;let c=0,u=0;
16s==Ks.DOWN?u=-a:s==Ks.LEFT?c=-a:s==Ks.RIGHT?c=a:u=a;const d=[c,u];ph(d,o.getRotation()),Ex(o,d,this.duration_),n.preventDefault(),i=!0}}return!i}}const Hx=Kx;class Wx extends xa{constructor(e){super(),e=e||{},this.condition_=e.condition?e.condition:db,this.delta_=e.delta?e.delta:1,this.duration_=e.duration!==void 0?e.duration:100}handleEvent(e){let i=!1;if(e.type==Xe.KEYDOWN||e.type==Xe.KEYPRESS){const n=e.originalEvent,s=n.charCode;if(this.condition_(e)&&(s=="+".charCodeAt(0)||s=="-".charCodeAt(0))){const r=e.map,o=s=="+".charCodeAt(0)?this.delta_:-this.delta_,a=r.getView();tf(a,o,void 0,this.duration_),n.preventDefault(),i=!0}}return!i}}const $x=Wx;class Zx{constructor(e,i,n){this.decay_=e,this.minVelocity_=i,this.delay_=n,this.points_=[],this.angle_=0,this.initialVelocity_=0}begin(){this.points_.length=0,this.angle_=0,this.initialVelocity_=0}update(e,i){this.points_.push(e,i,Date.now())}end(){if(this.points_.length<6)return!1;const e=Date.now()-this.delay_,i=this.points_.length-3;if(this.points_[i+2]<e)return!1;let n=i-3;for(;n>0&&this.points_[n+2]>e;)n-=3;const s=this.points_[i+2]-this.points_[n+2];if(s<1e3/60)return!1;const r=this.points_[i]-this.points_[n],o=this.points_[i+1]-this.points_[n+1];return this.angle_=Math.atan2(o,r),this.initialVelocity_=Math.sqrt(r*r+o*o)/s,this.initialVelocity_>this.minVelocity_}getDistance(){return(this.minVelocity_-this.initialVelocity_)/this.decay_}getAngle(){return this.angle_}}const Ux=Zx;class Vx extends xa{constructor(e){e=e||{},super(e),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=e.maxDelta!==void 0?e.maxDelta:1,this.duration_=e.duration!==void 0?e.duration:250,this.timeout_=e.timeout!==void 0?e.timeout:80,this.useAnchor_=e.useAnchor!==void 0?e.useAnchor:!0,this.constrainResolution_=e.constrainResolution!==void 0?e.constrainResolution:!1;const i=e.condition?e.condition:Rx;this.condition_=e.onFocusOnly?Td(lb,i):i,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300}endInteraction_(){this.trackpadTimeoutId_=void 0;const e=this.getMap();if(!e)return;e.getView().endInteraction(void 0,this.lastDelta_?this.lastDelta_>0?1:-1:0,this.lastAnchor_)}handleEvent(e){if(!this.condition_(e)||e.type!==Xe.WHEEL)return!0;const n=e.map,s=e.originalEvent;s.preventDefault(),this.useAnchor_&&(this.lastAnchor_=e.coordinate);let r;if(e.type==Xe.WHEEL&&(r=s.deltaY,T1&&s.deltaMode===WheelEvent.DOM_DELTA_PIXEL&&(r/=Yv),s.deltaMode===WheelEvent.DOM_DELTA_LINE&&(r*=40)),r===0)return!1;this.lastDelta_=r;const o=Date.now();this.startTime_===void 0&&(this.startTime_=o),(!this.mode_||o-this.startTime_>this.trackpadEventGap_)&&(this.mode_=Math.abs(r)<4?"trackpad":"wheel");const a=n.getView();if(this.mode_==="trackpad"&&!(a.getConstrainResolution()||this.constrainResolution_))return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(a.getAnimating()&&a.cancelAnimations(),a.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),a.adjustZoom(-r/this.deltaPerZoom_,this.lastAnchor_),this.startTime_=o,!1;this.totalDelta_+=r;const c=Math.max(this.timeout_-(o-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,n),c),!1}handleWheelZoom_(e){const i=e.getView();i.getAnimating()&&i.cancelAnimations();let n=-Kt(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(i.getConstrainResolution()||this.constrainResolution_)&&(n=n?n>0?1:-1:0),tf(i,n,this.lastAnchor_,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(e){this.useAnchor_=e,e||(this.lastAnchor_=null)}}const Yx=Vx;class Xx extends Ca{constructor(e){e=e||{};const i=e;i.stopDown||(i.stopDown=bc),super(i),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=e.threshold!==void 0?e.threshold:.3,this.duration_=e.duration!==void 0?e.duration:250}handleDragEvent(e){let i=0;const n=this.targetPointers[0],s=this.targetPointers[1],r=Math.atan2(s.clientY-n.clientY,s.clientX-n.clientX);if(this.lastAngle_!==void 0){const c=r-this.lastAngle_;this.rotationDelta_+=c,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),i=c}this.lastAngle_=r;const o=e.map,a=o.getView();a.getConstraints().rotation!==ef&&(this.anchor_=o.getCoordinateFromPixelInternal(o.getEventPixel(nf(this.targetPointers))),this.rotating_&&(o.render(),a.adjustRotationInternal(i,this.anchor_)))}handleUpEvent(e){return this.targetPointers.length<2?(e.map.getView().endInteraction(this.duration_),!1):!0}handleDownEvent(e){if(this.targetPointers.length>=2){const i=e.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||i.getView().beginInteraction(),!0}return!1}}const qx=Xx;class Qx extends Ca{constructor(e){e=e||{};const i=e;i.stopDown||(i.stopDown=bc),super(i),this.anchor_=null,this.duration_=e.duration!==void 0?e.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(e){let i=1;const n=this.targetPointers[0],s=this.targetPointers[1],r=n.clientX-s.clientX,o=n.clientY-s.clientY,a=Math.sqrt(r*r+o*o);this.lastDistance_!==void 0&&(i=this.lastDistance_/a),this.lastDistance_=a;const c=e.map,u=c.getView();i!=1&&(this.lastScaleDelta_=i),this.anchor_=c.getCoordinateFromPixelInternal(c.getEventPixel(nf(this.targetPointers))),c.render(),u.adjustResolutionInternal(i,this.anchor_)}handleUpEvent(e){if(this.targetPointers.length<2){const n=e.map.getView(),s=this.lastScaleDelta_>1?1:-1;return n.endInteraction(this.duration_,s),!1}return!0}handleDownEvent(e){if(this.targetPointers.length>=2){const i=e.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||i.getView().beginInteraction(),!0}return!1}}const Jx=Qx;function hb(t){t=t||{};const e=new Sn,i=new Ux(-.005,.05,100);return(t.altShiftDragRotate!==void 0?t.altShiftDragRotate:!0)&&e.push(new Px),(t.doubleClickZoom!==void 0?t.doubleClickZoom:!0)&&e.push(new Tx({delta:t.zoomDelta,duration:t.zoomDuration})),(t.dragPan!==void 0?t.dragPan:!0)&&e.push(new Lx({onFocusOnly:t.onF
16ocusOnly,kinetic:i})),(t.pinchRotate!==void 0?t.pinchRotate:!0)&&e.push(new qx),(t.pinchZoom!==void 0?t.pinchZoom:!0)&&e.push(new Jx({duration:t.zoomDuration})),(t.keyboard!==void 0?t.keyboard:!0)&&(e.push(new Hx),e.push(new $x({delta:t.zoomDelta,duration:t.zoomDuration}))),(t.mouseWheelZoom!==void 0?t.mouseWheelZoom:!0)&&e.push(new Yx({onFocusOnly:t.onFocusOnly,duration:t.zoomDuration})),(t.shiftDragZoom!==void 0?t.shiftDragZoom:!0)&&e.push(new jx({duration:t.zoomDuration})),e}function fb(t){if(t instanceof Pc){t.setMapInternal(null);return}t instanceof Fc&&t.getLayers().forEach(fb)}function gb(t,e){if(t instanceof Pc){t.setMapInternal(e);return}if(t instanceof Fc){const i=t.getLayers().getArray();for(let n=0,s=i.length;n<s;++n)gb(i[n],e)}}let eC=class extends fn{constructor(e){super(),e=e||{},this.on,this.once,this.un;const i=tC(e);this.renderComplete_,this.loaded_=!0,this.boundHandleBrowserEvent_=this.handleBrowserEvent.bind(this),this.maxTilesLoading_=e.maxTilesLoading!==void 0?e.maxTilesLoading:16,this.pixelRatio_=e.pixelRatio!==void 0?e.pixelRatio:Yv,this.postRenderTimeoutHandle_,this.animationDelayKey_,this.animationDelay_=this.animationDelay_.bind(this),this.coordinateToPixelTransform_=Tn(),this.pixelToCoordinateTransform_=Tn(),this.frameIndex_=0,this.frameState_=null,this.previousExtent_=null,this.viewPropertyListenerKey_=null,this.viewChangeListenerKey_=null,this.layerGroupPropertyListenerKeys_=null,this.viewport_=document.createElement("div"),this.viewport_.className="ol-viewport"+("ontouchstart"in window?" ol-touch":""),this.viewport_.style.position="relative",this.viewport_.style.overflow="hidden",this.viewport_.style.width="100%",this.viewport_.style.height="100%",this.overlayContainer_=document.createElement("div"),this.overlayContainer_.style.position="absolute",this.overlayContainer_.style.zIndex="0",this.overlayContainer_.style.width="100%",this.overlayContainer_.style.height="100%",this.overlayContainer_.style.pointerEvents="none",this.overlayContainer_.className="ol-overlaycontainer",this.viewport_.appendChild(this.overlayContainer_),this.overlayContainerStopEvent_=document.createElement("div"),this.overlayContainerStopEvent_.style.position="absolute",this.overlayContainerStopEvent_.style.zIndex="0",this.overlayContainerStopEvent_.style.width="100%",this.overlayContainerStopEvent_.style.height="100%",this.overlayContainerStopEvent_.style.pointerEvents="none",this.overlayContainerStopEvent_.className="ol-overlaycontainer-stopevent",this.viewport_.appendChild(this.overlayContainerStopEvent_),this.mapBrowserEventHandler_=null,this.moveTolerance_=e.moveTolerance,this.keyboardEventTarget_=i.keyboardEventTarget,this.targetChangeHandlerKeys_=null,this.targetElement_=null,this.resizeObserver_=new ResizeObserver(()=>this.updateSize()),this.controls=i.controls||ab(),this.interactions=i.interactions||hb({onFocusOnly:!0}),this.overlays_=i.overlays,this.overlayIdIndex_={},this.renderer_=null,this.postRenderFunctions_=[],this.tileQueue_=new nx(this.getTilePriority.bind(this),this.handleTileChange_.bind(this)),this.addChangeListener(gi.LAYERGROUP,this.handleLayerGroupChanged_),this.addChangeListener(gi.VIEW,this.handleViewChanged_),this.addChangeListener(gi.SIZE,this.handleSizeChanged_),this.addChangeListener(gi.TARGET,this.handleTargetChanged_),this.setProperties(i.values);const n=this;e.view&&!(e.view instanceof fs)&&e.view.then(function(s){n.setView(new fs(s))}),this.controls.addEventListener(Ai.ADD,s=>{s.element.setMap(this)}),this.controls.addEventListener(Ai.REMOVE,s=>{s.element.setMap(null)}),this.interactions.addEventListener(Ai.ADD,s=>{s.element.setMap(this)}),this.interactions.addEventListener(Ai.REMOVE,s=>{s.element.setMap(null)}),this.overlays_.addEventListener(Ai.ADD,s=>{this.addOverlayInternal_(s.element)}),this.overlays_.addEventListener(Ai.REMOVE,s=>{const r=s.element.getId();r!==void 0&&delete this.overlayIdIndex_[r.toString()],s.element.setMap(null)}),this.controls.forEach(s=>{s.setMap(this)}),this.interactions.forEach(s=>{s.setMap(this)}),this.overlays_.forEach(this.addOverlayInternal_.bind(this))}addControl(e){this.getControls().push(e)}addInteraction(e){this.getInteractions().push(e)}addLayer(e){this.getLayerGroup().getLayers().push(e)}handleLayerAdd_(e){gb(e.layer,this)}addOverlay(e){this.getOverlays().push(e)}addOverlayInternal_(e){const i=e.getId();
16i!==void 0&&(this.overlayIdIndex_[i.toString()]=e),e.setMap(this)}disposeInternal(){this.controls.clear(),this.interactions.clear(),this.overlays_.clear(),this.resizeObserver_.disconnect(),this.setTarget(null),super.disposeInternal()}forEachFeatureAtPixel(e,i,n){if(!this.frameState_||!this.renderer_)return;const s=this.getCoordinateFromPixelInternal(e);n=n!==void 0?n:{};const r=n.hitTolerance!==void 0?n.hitTolerance:0,o=n.layerFilter!==void 0?n.layerFilter:ia,a=n.checkWrapped!==!1;return this.renderer_.forEachFeatureAtCoordinate(s,this.frameState_,r,a,i,null,o,null)}getFeaturesAtPixel(e,i){const n=[];return this.forEachFeatureAtPixel(e,function(s){n.push(s)},i),n}getAllLayers(){const e=[];function i(n){n.forEach(function(s){s instanceof Fc?i(s.getLayers()):e.push(s)})}return i(this.getLayers()),e}hasFeatureAtPixel(e,i){if(!this.frameState_||!this.renderer_)return!1;const n=this.getCoordinateFromPixelInternal(e);i=i!==void 0?i:{};const s=i.layerFilter!==void 0?i.layerFilter:ia,r=i.hitTolerance!==void 0?i.hitTolerance:0,o=i.checkWrapped!==!1;return this.renderer_.hasFeatureAtCoordinate(n,this.frameState_,r,o,s,null)}getEventCoordinate(e){return this.getCoordinateFromPixel(this.getEventPixel(e))}getEventCoordinateInternal(e){return this.getCoordinateFromPixelInternal(this.getEventPixel(e))}getEventPixel(e){const n=this.viewport_.getBoundingClientRect(),s=this.getSize(),r=n.width/s[0],o=n.height/s[1],a="changedTouches"in e?e.changedTouches[0]:e;return[(a.clientX-n.left)/r,(a.clientY-n.top)/o]}getTarget(){return this.get(gi.TARGET)}getTargetElement(){return this.targetElement_}getCoordinateFromPixel(e){return fd(this.getCoordinateFromPixelInternal(e),this.getView().getProjection())}getCoordinateFromPixelInternal(e){const i=this.frameState_;return i?ai(i.pixelToCoordinateTransform,e.slice()):null}getControls(){return this.controls}getOverlays(){return this.overlays_}getOverlayById(e){const i=this.overlayIdIndex_[e.toString()];return i!==void 0?i:null}getInteractions(){return this.interactions}getLayerGroup(){return this.get(gi.LAYERGROUP)}setLayers(e){const i=this.getLayerGroup();if(e instanceof Sn){i.setLayers(e);return}const n=i.getLayers();n.clear(),n.extend(e)}getLayers(){return this.getLayerGroup().getLayers()}getLoadingOrNotReady(){const e=this.getLayerGroup().getLayerStatesArray();for(let i=0,n=e.length;i<n;++i){const s=e[i];if(!s.visible)continue;const r=s.layer.getRenderer();if(r&&!r.ready)return!0;const o=s.layer.getSource();if(o&&o.loading)return!0}return!1}getPixelFromCoordinate(e){const i=Fn(e,this.getView().getProjection());return this.getPixelFromCoordinateInternal(i)}getPixelFromCoordinateInternal(e){const i=this.frameState_;return i?ai(i.coordinateToPixelTransform,e.slice(0,2)):null}getRenderer(){return this.renderer_}getSize(){return this.get(gi.SIZE)}getView(){return this.get(gi.VIEW)}getViewport(){return this.viewport_}getOverlayContainer(){return this.overlayContainer_}getOverlayContainerStopEvent(){return this.overlayContainerStopEvent_}getOwnerDocument(){const e=this.getTargetElement();return e?e.ownerDocument:document}getTilePriority(e,i,n,s){return sx(this.frameState_,e,i,n,s)}handleBrowserEvent(e,i){i=i||e.type;const n=new as(i,this,e);this.handleMapBrowserEvent(n)}handleMapBrowserEvent(e){if(!this.frameState_)return;const i=e.originalEvent,n=i.type;if(n===hs.POINTERDOWN||n===Xe.WHEEL||n===Xe.KEYDOWN){const s=this.getOwnerDocument(),r=this.viewport_.getRootNode?this.viewport_.getRootNode():s,o=i.target;if(this.overlayContainerStopEvent_.contains(o)||!(r===s?s.documentElement:r).contains(o))return}if(e.frameState=this.frameState_,this.dispatchEvent(e)!==!1){const s=this.getInteractions().getArray().slice();for(let r=s.length-1;r>=0;r--){const o=s[r];if(o.getMap()!==this||!o.getActive()||!this.getTargetElement())continue;if(!o.handleEvent(e)||e.propagationStopped)break}}}handlePostRender(){const e=this.frameState_,i=this.tileQueue_;if(!i.isEmpty()){let s=this.maxTilesLoading_,r=s;if(e){const o=e.viewHints;if(o[pi.ANIMATING]||o[pi.INTERACTING]){const a=Date.now()-e.time>8;s=a?0:8,r=a?0:2}}i.getTilesLoading()<s&&(i.reprioritize(),i.loadMoreTiles(s,r))}e&&this.renderer_&&!e.animate&&(this.renderComplete_===!0?(this.hasListener(_s.RENDERCOMPLETE)&&this.renderer_.dispatchRenderEvent(_s.RENDERCOMPLETE,e),this.loaded_===!1&&(this.loaded_=!0,this.dispatchEvent(new Lr(ls.LOADEND,this,e)))):this.loaded_===!0&&(this.loaded_=!1,this.dispatchEvent(new Lr(ls.LOADSTART,this,e))));const n=this.postRenderFunctions_;for(let s=0,r=n.length;s<r;++s)n[s](this,e);n.length=0}handleSizeChanged_(){this.getView()&&!this.getView().getAnimating()&&this.getView().resolveConstraints(0),this.render()}handleTargetChanged_(){if(this.mapBrowserEventHandler_){for(let n=0,s=this.targetChangeHandlerKeys_.length;n<s;++n)Rt(this.targetChangeHandlerKeys_[n]);this.targetChangeHandlerKeys_=null,this.viewport_.removeEventListener(Xe.CONTEXTMENU,this.boundHandleBrowserEvent_),this.viewport_.removeEventListener(Xe.WHEEL,this.boundHandleBrowserEvent_),this.mapBrowserEventHandler_.dispose(),this.mapBrowserEventHandler_=null,md(this.viewport_)}if(this.targetElement_){this.resizeObserver_.unobserve(this.targetElement_);const n=this.targetElement_.getRootNode();n instanceof ShadowRoot&&this.resizeObserver_.unobserve(n.host)}const e=this.getTarget(),i=typeof e=="string"?document.getElementById(e):e;if(this.targetElement_=i,!i)this.renderer_&&(clearTimeout(this.postRenderTimeoutHandle_),this.postRenderTimeoutHandle_=void 0,this.postRenderFunctions_.length=0,this.renderer_.dispose(),this.renderer_=null),this.animationDelayKey_&&(cancelAnimationFrame(this.animationDelayKey_),this.animationDelayKey_=void 0);else{i.appendChild(this.viewport_),this.renderer_||(this.renderer_=new YI(this)),this.mapBrowserEventHandler_=new JI(this,this.moveTolerance_);for(const r in jt)this.mapBrowserEventHandler_.addEventListener(jt[r],this.handleMapBrowserEvent.bind(this));this.viewport_.addEventListener(Xe.CONTEXTMENU,this.boundHandleBrowserEvent_,!1),this.viewport_.addEventListener(Xe.WHEEL,this.boundHandleBrowserEvent_,Xv?{passive:!1}:!1);const n=this.keyboardEventTarget_?this.keyboardEventTarget_:i;this.targetChangeHandlerKeys_=[ot(n,Xe.KEYDOWN,this.handleBrowserEvent,this),ot(n,Xe.KEYPRESS,this.handleBrowserEvent,this)];const s=i.getRootNode();s instanceof ShadowRoot&&this.resizeObserver_.observe(s.host),this.resizeObserver_.observe(i)}this.updateSize()}handleTileChange_(){this.render()}handleViewPropertyChanged_(){this.render()}handleViewChanged_(){this.viewPropertyListenerKey_&&(Rt(this.viewPropertyListenerKey_),this.viewPropertyListenerKey_=null),this.viewChangeListenerKey_&&(Rt(this.viewChangeListenerKey_),this.viewChangeListenerKey_=null);const e=this.getView();e&&(this.updateViewportSize_(),this.viewPropertyListenerKey_=ot(e,eo.PROPERTYCHANGE,this.handleViewPropertyChanged_,this),this.viewChangeListenerKey_=ot(e,Xe.CHANGE,this.handleViewPropertyChanged_,this),e.resolve
16Constraints(0)),this.render()}handleLayerGroupChanged_(){this.layerGroupPropertyListenerKeys_&&(this.layerGroupPropertyListenerKeys_.forEach(Rt),this.layerGroupPropertyListenerKeys_=null);const e=this.getLayerGroup();e&&(this.handleLayerAdd_(new us("addlayer",e)),this.layerGroupPropertyListenerKeys_=[ot(e,eo.PROPERTYCHANGE,this.render,this),ot(e,Xe.CHANGE,this.render,this),ot(e,"addlayer",this.handleLayerAdd_,this),ot(e,"removelayer",this.handleLayerRemove_,this)]),this.render()}isRendered(){return!!this.frameState_}animationDelay_(){this.animationDelayKey_=void 0,this.renderFrame_(Date.now())}renderSync(){this.animationDelayKey_&&cancelAnimationFrame(this.animationDelayKey_),this.animationDelay_()}redrawText(){const e=this.getLayerGroup().getLayerStatesArray();for(let i=0,n=e.length;i<n;++i){const s=e[i].layer;s.hasRenderer()&&s.getRenderer().handleFontsChanged()}}render(){this.renderer_&&this.animationDelayKey_===void 0&&(this.animationDelayKey_=requestAnimationFrame(this.animationDelay_))}removeControl(e){return this.getControls().remove(e)}removeInteraction(e){return this.getInteractions().remove(e)}removeLayer(e){return this.getLayerGroup().getLayers().remove(e)}handleLayerRemove_(e){fb(e.layer)}removeOverlay(e){return this.getOverlays().remove(e)}renderFrame_(e){const i=this.getSize(),n=this.getView(),s=this.frameState_;let r=null;if(i!==void 0&&qg(i)&&n&&n.isDef()){const o=n.getHints(this.frameState_?this.frameState_.viewHints:void 0),a=n.getState();if(r={animate:!1,coordinateToPixelTransform:this.coordinateToPixelTransform_,declutterTree:null,extent:cd(a.center,a.resolution,a.rotation,i),index:this.frameIndex_++,layerIndex:0,layerStatesArray:this.getLayerGroup().getLayerStatesArray(),pixelRatio:this.pixelRatio_,pixelToCoordinateTransform:this.pixelToCoordinateTransform_,postRenderFunctions:[],size:i,tileQueue:this.tileQueue_,time:e,usedTiles:{},viewState:a,viewHints:o,wantedTiles:{},mapId:gt(this),renderTargets:{}},a.nextCenter&&a.nextResolution){const c=isNaN(a.nextRotation)?a.rotation:a.nextRotation;r.nextExtent=cd(a.nextCenter,a.nextResolution,c,i)}}this.frameState_=r,this.renderer_.renderFrame(r),r&&(r.animate&&this.render(),Array.prototype.push.apply(this.postRenderFunctions_,r.postRenderFunctions),s&&(!this.previousExtent_||!fh(this.previousExtent_)&&!na(r.extent,this.previousExtent_))&&(this.dispatchEvent(new Lr(ls.MOVESTART,this,s)),this.previousExtent_=wa(this.previousExtent_)),this.previousExtent_&&!r.viewHints[pi.ANIMATING]&&!r.viewHints[pi.INTERACTING]&&!na(r.extent,this.previousExtent_)&&(this.dispatchEvent(new Lr(ls.MOVEEND,this,r)),Qv(r.extent,this.previousExtent_))),this.dispatchEvent(new Lr(ls.POSTRENDER,this,r)),this.renderComplete_=this.hasListener(ls.LOADSTART)||this.hasListener(ls.LOADEND)||this.hasListener(_s.RENDERCOMPLETE)?!this.tileQueue_.getTilesLoading()&&!this.tileQueue_.getCount()&&!this.getLoadingOrNotReady():void 0,this.postRenderTimeoutHandle_||(this.postRenderTimeoutHandle_=setTimeout(()=>{this.postRenderTimeoutHandle_=void 0,this.handlePostRender()},0))}setLayerGroup(e){const i=this.getLayerGroup();i&&this.handleLayerRemove_(new us("removelayer",i)),this.set(gi.LAYERGROUP,e)}setSize(e){this.set(gi.SIZE,e)}setTarget(e){this.set(gi.TARGET,e)}setView(e){if(!e||e instanceof fs){this.set(gi.VIEW,e);return}this.set(gi.VIEW,new fs);const i=this;e.then(function(n){i.setView(new fs(n))})}updateSize(){const e=this.getTargetElement();let i;if(e){const s=getComputedStyle(e),r=e.offsetWidth-parseFloat(s.borderLeftWidth)-parseFloat(s.paddingLeft)-parseFloat(s.paddingRight)-parseFloat(s.borderRightWidth),o=e.offsetHeight-parseFloat(s.borderTopWidth)-parseFloat(s.paddingTop)-parseFloat(s.paddingBottom)-parseFloat(s.borderBottomWidth);!isNaN(r)&&!isNaN(o)&&(i=[r,o],!qg(i)&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)&&l_("No map visible because the map container's width or height are 0."))}const n=this.getSize();i&&(!n||!Ts(i,n))&&(this.setSize(i),this.updateViewportSize_())}updateViewportSize_(){const e=this.getView();if(e){let i;const n=getComputedStyle(this.viewport_);n.width&&n.height&&(i=[parseInt(n.width,10),parseInt(n.height,10)]),e.setViewportSize(i)}}};function tC(t){let e=null;t.keyboardEventTarget!==void 0&&(e=typeof t.keyboardEventTarget=="string"?document.getElementById(t.keyboardEventTarget):t.keyboardEventTarget);const i={},n=t.layers&&typeof t.layers.getLayers=="function"?t.layers:new Fc({layers:t.layers});i[gi.LAYERGROUP]=n,i[gi.TARGET]=t.target,i[gi.VIEW]=t.view instanceof fs?t.view:new fs;let s;t.controls!==void 0&&(Array.isArray(t.controls)?s=new Sn(t.controls.slice()):(tt(typeof t.controls.getArray=="function",47),s=t.controls));let r;t.interactions!==void 0&&(Array.isArray(t.interactions)?r=new Sn(t.
16interactions.slice()):(tt(typeof t.interactions.getArray=="function",48),r=t.interactions));let o;return t.overlays!==void 0?Array.isArray(t.overlays)?o=new Sn(t.overlays.slice()):(tt(typeof t.overlays.getArray=="function",49),o=t.overlays):o=new Sn,{controls:s,interactions:r,keyboardEventTarget:e,overlays:o,values:i}}const Mp=eC;class iC extends Pc{constructor(e){e=e||{};const i=Object.assign({},e);delete i.preload,delete i.useInterimTilesOnError,super(i),this.on,this.once,this.un,this.setPreload(e.preload!==void 0?e.preload:0),this.setUseInterimTilesOnError(e.useInterimTilesOnError!==void 0?e.useInterimTilesOnError:!0)}getPreload(){return this.get(sl.PRELOAD)}setPreload(e){this.set(sl.PRELOAD,e)}getUseInterimTilesOnError(){return this.get(sl.USE_INTERIM_TILES_ON_ERROR)}setUseInterimTilesOnError(e){this.set(sl.USE_INTERIM_TILES_ON_ERROR,e)}getData(e){return super.getData(e)}}const nC=iC;class sC extends nC{constructor(e){super(e)}createRenderer(){return new aI(this)}}const rC=sC;class oC extends xI{constructor(e){super({attributions:e.attributions,cacheSize:e.cacheSize,opaque:e.opaque,projection:e.projection,state:e.state,tileGrid:e.tileGrid,tileLoadFunction:e.tileLoadFunction?e.tileLoadFunction:aC,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX,transition:e.transition,interpolate:e.interpolate!==void 0?e.interpolate:!0,key:e.key,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.crossOrigin=e.crossOrigin!==void 0?e.crossOrigin:null,this.tileClass=e.tileClass!==void 0?e.tileClass:J_,this.tileCacheForProjection={},this.tileGridForProjection={},this.reprojectionErrorThreshold_=e.reprojectionErrorThreshold,this.renderReprojectionEdges_=!1}canExpireCache(){if(this.tileCache.canExpireCache())return!0;for(const e in this.tileCacheForProjection)if(this.tileCacheForProjection[e].canExpireCache())return!0;return!1}expireCache(e,i){const n=this.getTileCacheForProjection(e);this.tileCache.expireCache(this.tileCache==n?i:{});for(const s in this.tileCacheForProjection){const r=this.tileCacheForProjection[s];r.expireCache(r==n?i:{})}}getGutterForProjection(e){return this.getProjection()&&e&&!Vs(this.getProjection(),e)?0:this.getGutter()}getGutter(){return 0}getKey(){let e=super.getKey();return this.getInterpolate()||(e+=":disable-interpolation"),e}getOpaque(e){return this.getProjection()&&e&&!Vs(this.getProjection(),e)?!1:super.getOpaque(e)}getTileGridForProjection(e){const i=this.getProjection();if(this.tileGrid&&(!i||Vs(i,e)))return this.tileGrid;const n=gt(e);return n in this.tileGridForProjection||(this.tileGridForProjection[n]=rb(e)),this.tileGridForProjection[n]}getTileCacheForProjection(e){const i=this.getProjection();if(!i||Vs(i,e))return this.tileCache;
16const n=gt(e);return n in this.tileCacheForProjection||(this.tileCacheForProjection[n]=new nb(this.tileCache.highWaterMark)),this.tileCacheForProjection[n]}createTile_(e,i,n,s,r,o){const a=[e,i,n],c=this.getTileCoordForTileUrlFunction(a,r),u=c?this.tileUrlFunction(c,s,r):void 0,d=new this.tileClass(a,u!==void 0?Le.IDLE:Le.EMPTY,u!==void 0?u:"",this.crossOrigin,this.tileLoadFunction,this.tileOptions);return d.key=o,d.addEventListener(Xe.CHANGE,this.handleTileChange.bind(this)),d}getTile(e,i,n,s,r){const o=this.getProjection();if(!o||!r||Vs(o,r))return this.getTileInternal(e,i,n,s,o||r);const a=this.getTileCacheForProjection(r),c=[e,i,n];let u;const d=ib(c);a.containsKey(d)&&(u=a.get(d));const g=this.getKey();if(u&&u.key==g)return u;const v=this.getTileGridForProjection(o),_=this.getTileGridForProjection(r),y=this.getTileCoordForTileUrlFunction(c,r),S=new Sd(o,v,r,_,c,y,this.getTilePixelRatio(s),this.getGutter(),(C,x,I,R)=>this.getTileInternal(C,x,I,R,o),this.reprojectionErrorThreshold_,this.renderReprojectionEdges_,this.getInterpolate());return S.key=g,u?(S.interimTile=u,S.refreshInterimChain(),a.replace(d,S)):a.set(d,S),S}getTileInternal(e,i,n,s,r){let o=null;const a=zc(e,i,n),c=this.getKey();if(!this.tileCache.containsKey(a))o=this.createTile_(e,i,n,s,r,c),this.tileCache.set(a,o);else if(o=this.tileCache.get(a),o.key!=c){const u=o;o=this.createTile_(e,i,n,s,r,c),u.getState()==Le.IDLE?o.interimTile=u.interimTile:o.interimTile=u,o.refreshInterimChain(),this.tileCache.replace(a,o)}return o}setRenderReprojectionEdges(e){if(this.renderReprojectionEdges_!=e){this.renderReprojectionEdges_=e;for(const i in this.tileCacheForProjection)this.tileCacheForProjection[i].clear();this.changed()}}setTileGridForProjection(e,i){const n=Ht(e);if(n){const s=gt(n);s in this.tileGridForProjection||(this.tileGridForProjection[s]=i)}}clear(){super.clear();for(const e in this.tileCacheForProjection)this.tileCacheForProjection[e].clear()}}function aC(t,e){t.getImage().src=e}const lC=oC,zu="units",cC=[1,2,5],Lo=25.4/.28;class uC extends Ia{constructor(e){e=e||{};const i=document.createElement("div");i.style.pointerEvents="none",super({element:i,render:e.render,target:e.target}),this.on,this.once,this.un;const n=e.className!==void 0?e.className:e.bar?"ol-scale-bar":"ol-scale-line";this.innerElement_=document.createElement("div"),this.innerElement_.className=n+"-inner",this.element.className=n+" "+ur,this.element.appendChild(this.innerElement_),this.viewState_=null,this.minWidth_=e.minWidth!==void 0?e.minWidth:64,this.maxWidth_=e.maxWidth,this.renderedVisible_=!1,this.renderedWidth_=void 0,this.renderedHTML_="",this.addChangeListener(zu,this.handleUnitsChanged_),this.setUnits(e.units||"metric"),this.scaleBar_=e.bar||!1,this.scaleBarSteps_=e.steps||4,this.scaleBarText_=e.text||!1,this.dpi_=e.dpi||void 0}getUnits(){return this.get(zu)}handleUnitsChanged_(){this.updateElement_()}setUnits(e){this.set(zu,e)}setDpi(e){this.dpi_=e}updateElement_(){const e=this.viewState_;if(!e){this.renderedVisible_&&(this.element.style.display="none",this.renderedVisible_=!1);return}const i=e.center,n=e.projection,s=this.getUnits(),r=s=="degrees"?"degrees":"m";let o=Ol(n,e.resolution,i,r);const a=this.minWidth_*(this.dpi_||Lo)/Lo,c=this.maxWidth_!==void 0?this.maxWidth_*(this.dpi_||Lo)/Lo:void 0;let u=a*o,d="";if(s=="degrees"){const R=io.degrees;u*=R,u<R/60?(d="″",o*=3600):u<R?(d="′",o*=60):d="°"}else s=="imperial"?u<.9144?(d="in",o/=.0254):u<1609.344?(d="ft",o/=.3048):(d="mi",o/=1609.344):s=="nautical"?(o/=1852,d="NM"):s=="metric"?u<.001?(d="μm",o*=1e6):u<1?(d="mm",o*=1e3):u<1e3?d="m":(d="km",o/=1e3):s=="us"?u<.9144?(d="in",o*=39.37):u<1609.344?(d="ft",o/=.30480061):(d="mi",o/=1609.3472):tt(!1,33);let g=3*Math.floor(Math.log(a*o)/Math.log(10)),v,_,y,S,C,x;for(;;){y=Math.floor(g/3);const R=Math.pow(10,y);if(v=cC[(g%3+3)%3]*R,_=Math.round(v/o),isNaN(_)){this.element.style.display="none",this.renderedVisible_=!1;return}if(c!==void 0&&_>=c){v=S,_=C,y=x;break}else if(_>=a)break;S=v,C=_,x=y,++g}const I=this.scaleBar_?this.createScaleBar(_,v,d):v.toFixed(y<0?-y:0)+" "+d;this.renderedHTML_!=I&&(this.innerElement_.innerHTML=I,this.renderedHTML_=I),this.renderedWidth_!=_&&(this.innerElement_.style.width=_+"px",this.renderedWidth_=_),this.renderedVisible_||(this.element.style.display="",this.renderedVisible_=!0)}createScaleBar(e,i,n){const s=this.getScaleForResolution(),r=s<1?Math.round(1/s).toLocaleStr
16ing()+" : 1":"1 : "+Math.round(s).toLocaleString(),o=this.scaleBarSteps_,a=e/o,c=[this.createMarker("absolute")];for(let d=0;d<o;++d){const g=d%2===0?"ol-scale-singlebar-odd":"ol-scale-singlebar-even";c.push(`<div><div class="ol-scale-singlebar ${g}" style="width: ${a}px;"></div>`+this.createMarker("relative")+(d%2===0||o===2?this.createStepText(d,e,!1,i,n):"")+"</div>")}return c.push(this.createStepText(o,e,!0,i,n)),(this.scaleBarText_?`<div class="ol-scale-text" style="width: ${e}px;">`+r+"</div>":"")+c.join("")}createMarker(e){return`<div class="ol-scale-step-marker" style="position: ${e}; top: ${e==="absolute"?3:-10}px;"></div>`}createStepText(e,i,n,s,r){const a=(e===0?0:Math.round(s/this.scaleBarSteps_*e*100)/100)+(e===0?"":" "+r),c=e===0?-3:i/this.scaleBarSteps_*-1,u=e===0?0:i/this.scaleBarSteps_*2;return`<div class="ol-scale-step-text" style="margin-left: ${c}px;text-align: ${e===0?"left":"center"};min-width: ${u}px;left: ${n?i+"px":"unset"};">`+a+"</div>"}getScaleForResolution(){const e=Ol(this.viewState_.projection,this.viewState_.resolution,this.viewState_.center,"m"),i=this.dpi_||Lo,n=1e3/25.4;return e*n*i}render(e){const i=e.frameState;i?this.viewState_=i.viewState:this.viewState_=null,this.updateElement_()}}const dC=uC,Oo={VERTICAL:0,HORIZONTAL:1};class hC extends Ia{constructor(e){e=e||{},super({element:document.createElement("div"),render:e.render}),this.dragListenerKeys_=[],this.currentResolution_=void 0,this.direction_=Oo.VERTICAL,this.dragging_,this.heightLimit_=0,this.widthLimit_=0,this.startX_,this.startY_,this.thumbSize_=null,this.sliderInitialized_=!1,this.duration_=e.duration!==void 0?e.duration:200;const i=e.className!==void 0?e.className:"ol-zoomslider",n=document.createElement("button");n.setAttribute("type","button"),n.className=i+"-thumb "+ur;const s=this.element;s.className=i+" "+ur+" "+Lc,s.appendChild(n),s.addEventListener(hs.POINTERDOWN,this.handleDraggerStart_.bind(this),!1),s.addEventListener(hs.POINTERMOVE,this.handleDraggerDrag_.bind(this),!1),s.addEventListener(hs.POINTERUP,this.handleDraggerEnd_.bind(this),!1),s.addEventListener(Xe.CLICK,this.handleContainerClick_.bind(this),!1),n.addEventListener(Xe.CLICK,h1,!1)}setMap(e){super.setMap(e),e&&e.render()}initSlider_(){const e=this.element;let i=e.offsetWidth,n=e.offsetHeight;if(i===0&&n===0)return this.sliderInitialized_=!1;const s=getComputedStyle(e);i-=parseFloat(s.paddingRight)+parseFloat(s.paddingLeft),n-=parseFloat(s.paddingTop)+parseFloat(s.paddingBottom);const r=e.firstElementChild,o=getComputedStyle(r),a=r.offsetWidth+parseFloat(o.marginRight)+parseFloat(o.marginLeft),c=r.offsetHeight+parseFloat(o.marginTop)+parseFloat(o.marginBottom);return this.thumbSize_=[a,c],i>n?(this.direction_=Oo.HORIZONTAL,this.widthLimit_=i-a):(this.direction_=Oo.VERTICAL,this.heightLimit_=n-c),this.sliderInitialized_=!0}handleContainerClick_(e){const i=this.getMap().getView(),n=this.getRelativePosition_(e.offsetX-this.thumbSize_[0]/2,e.offsetY-this.thumbSize_[1]/2),s=this.getResolutionForPosition_(n),r=i.getConstrainedZoom(i.getZoomForResolution(s));i.animateInternal({zoom:r,duration:this.duration_,easing:pr})}handleDraggerStart_(e){if(!this.dragging_&&e.target===this.element.firstElementChild){const i=this.element.firstElementChild;if(this.getMap().getView().beginInteraction(),this.startX_=e.clientX-parseFloat(i.style.left),this.startY_=e.clientY-parseFloat(i.style.top),this.dragging_=!0,this.dragListenerKeys_.length===0){const n=this.handleDraggerDrag_,s=this.handleDraggerEnd_,r=this.getMap().getOwnerDocument();this.dragListenerKeys_.push(ot(r,hs.POINTERMOVE,n,this),ot(r,hs.POINTERUP,s,this))}}}handleDraggerDrag_(e){if(this.dragging_){const i=e.clientX-this.startX_,n=e.clientY-this.startY_,s=this.getRelativePosition_(i,n);this.currentResolution_=this.getResolutionForPosition_(s),this.getMap().getView().setResolution(this.currentResolution_)}}handleDraggerEnd_(e){this.dragging_&&(this.getMap().getView().endInteraction(),this.dragging_=!1,this.startX_=void 0,this.startY_=void 0,this.dragListenerKeys_.forEach(Rt),this.dragListenerKeys_.length=0)}setThumbPosition_(e){const i=this.getPositionForResolution_(e),n=this.element.firstElementChild;this.direction_==Oo.HORIZONTAL?n.style.left=this.widthLimit_*i+"px":n.style.top=this.heightLimit_*i+"px"}
16getRelativePosition_(e,i){let n;return this.direction_===Oo.HORIZONTAL?n=e/this.widthLimit_:n=i/this.heightLimit_,Kt(n,0,1)}getResolutionForPosition_(e){return this.getMap().getView().getResolutionForValueFunction()(1-e)}getPositionForResolution_(e){const i=this.getMap().getView().getValueForResolutionFunction();return Kt(1-i(e),0,1)}render(e){if(!e.frameState||!this.sliderInitialized_&&!this.initSlider_())return;const i=e.frameState.viewState.resolution;this.currentResolution_=i,this.setThumbPosition_(i)}}const fC=hC;class gC extends lC{constructor(e){e=e||{};const i=e.projection!==void 0?e.projection:"EPSG:3857",n=e.tileGrid!==void 0?e.tileGrid:_I({extent:Xh(i),maxResolution:e.maxResolution,maxZoom:e.maxZoom,minZoom:e.minZoom,tileSize:e.tileSize});super({attributions:e.attributions,cacheSize:e.cacheSize,crossOrigin:e.crossOrigin,interpolate:e.interpolate,opaque:e.opaque,projection:i,reprojectionErrorThreshold:e.reprojectionErrorThreshold,tileGrid:n,tileLoadFunction:e.tileLoadFunction,tilePixelRatio:e.tilePixelRatio,tileUrlFunction:e.tileUrlFunction,url:e.url,urls:e.urls,wrapX:e.wrapX!==void 0?e.wrapX:!0,transition:e.transition,attributionsCollapsible:e.attributionsCollapsible,zDirection:e.zDirection}),this.gutter_=e.gutter!==void 0?e.gutter:0}getGutter(){return this.gutter_}}const pC=gC,Bt={ACCURACY:"accuracy",ACCURACY_GEOMETRY:"accuracyGeometry",ALTITUDE:"altitude",ALTITUDE_ACCURACY:"altitudeAccuracy",HEADING:"heading",POSITION:"position",PROJECTION:"projection",SPEED:"speed",TRACKING:"tracking",TRACKING_OPTIONS:"trackingOptions"},mC={ERROR:"error"};class vC extends Cn{constructor(e){super(mC.ERROR),this.code=e.code,this.message=e.message}}class _C extends fn{constructor(e){super(),this.on,this.once,this.un,e=e||{},this.position_=null,this.transform_=vh,this.watchId_=void 0,this.addChangeListener(Bt.PROJECTION,this.handleProjectionChanged_),this.addChangeListener(Bt.TRACKING,this.handleTrackingChanged_),e.projection!==void 0&&this.setProjection(e.projection),e.trackingOptions!==void 0&&this.setTrackingOptions(e.trackingOptions),this.setTracking(e.tracking!==void 0?e.tracking:!1)}disposeInternal(){this.setTracking(!1),super.disposeInternal()}handleProjectionChanged_(){const e=this.getProjection();e&&(this.transform_=xc(Ht("EPSG:4326"),e),this.position_&&this.set(Bt.POSITION,this.transform_(this.position_)))}handleTrackingChanged_(){if("geolocation"in navigator){const e=this.getTracking();e&&this.watchId_===void 0?this.watchId_=navigator.geolocation.watchPosition(this.positionChange_.bind(this),this.positionError_.bind(this),this.getTrackingOptions()):!e&&this.watchId_!==void 0&&(navigator.geolocation.clearWatch(this.watchId_),this.watchId_=void 0)}}positionChange_(e){const i=e.coords;this.set(Bt.ACCURACY,i.accuracy),this.set(Bt.ALTITUDE,i.altitude===null?void 0:i.altitude),this.set(Bt.ALTITUDE_ACCURACY,i.altitudeAccuracy===null?void 0:i.altitudeAccuracy),this.set(Bt.HEADING,i.heading===null?void 0:sr(i.heading)),this.position_?(this.position_[0]=i.longitude,this.position_[1]=i.latitude):this.position_=[i.longitude,i.latitude];const n=this.transform_(this.position_);this.set(Bt.POSITION,n.slice()),this.set(Bt.SPEED,i.speed===null?void 0:i.speed);const s=HT(this.position_,i.accuracy);s.applyTransform(this.transform_),this.set(Bt.ACCURACY_GEOMETRY,s),this.changed()}positionError_(e){this.dispatchEvent(new vC(e))}getAccuracy(){return this.get(Bt.ACCURACY)}getAccuracyGeometry(){return this.get(Bt.ACCURACY_GEOMETRY)||null}getAltitude(){return this.get(Bt.ALTITUDE)}getAltitudeAccuracy(){return this.get(Bt.ALTITUDE_ACCURACY)}getHeading(){return this.get(Bt.HEADING)}getPosition(){return this.get(Bt.POSITION)}getProjection(){return this.get(Bt.PROJECTION)}getSpeed(){return this.get(Bt.SPEED)}getTracking(){return this.get(Bt.TRACKING)}getTrackingOptions(){return this.get(Bt.TRACKING_OPTIONS)}setProjection(e){this.set(Bt.PROJECTION,Ht(e))}setTracking(e){this.set(Bt.TRACKING,e)}setTrackingOptions(e){this.set(Bt.TRACKING_OPTIONS,e)}}const bC=_C,yC=ks({name:"MainContainer",emits:["object","objectPreview","objectView","route","routePreview","routeView","routes","mapView","view","groups","groupPreview","group"],props:{categoryFilter:Array,objectOpacity:Number,showRoutes:Boolean,showGroups:Boolean,showMuseum:Boolean,showArchive:Boolean,zoomToRoute:Number,zoomToGroup:Number,zoomToObject:Array},watch:{categoryFilter:{handler(t){var i;t.filter(n=>n===!0).length>
160?(i=this.categoryFilter)==null||i.forEach((n,s)=>{this.vectorLayers[s+1].setVisible(n)}):this.vectorLayers.forEach(n=>n.setVisible(!0))},deep:!0},objectOpacity(t){this.vectorLayers.forEach(e=>e.setOpacity(t))},showRoutes(t){this.vectorRouteLayers.forEach(e=>e.setVisible(t)),this.hideShowFeatureByFilter()},showGroups(t){this.vectorGroupLayers.forEach(e=>e.setVisible(t)),this.hideShowFeatureByFilter()},showMuseum(t){this.hideShowFeatureByFilter()},showArchive(t){this.hideShowFeatureByFilter()},zoomToRoute(t){var e;if(t!==-1){let i=((e=document.getElementById("app"))==null?void 0:e.offsetHeight)??0,n=this.vectorRouteLayers[t];this.view.fit(n.getSource().getExtent(),{padding:[0,200,i-360+80,0]})}},zoomToGroup(t){var e;if(t!==-1){let i=((e=document.getElementById("app"))==null?void 0:e.offsetHeight)??0,n=this.vectorGroupLayers[t];this.view.fit(n.getSource().getExtent(),{padding:[0,200,i-360+80,0]})}},zoomToObject:{handler(t){let e=this.map.getSize()??[0,0];this.view.setZoom(13),this.view.centerOn(Sr(t),e,[(e[0]-200)/2,186/2])},deep:!0}},data(){return{map:new Mp,view:{},viewChangeTimer:0,vectorSources:new Array,vectorLayers:new Array,vectorRouteLayers:new Array,vectorGroupLayers:new Array,styleCache:{},routeItemIDs:[],groupItemIDs:[],selectedFeature:null}},methods:{loadObjects(){Ci.post("/services/get.php",{action:"objects"}).then(t=>{t.data.results.forEach((e,i)=>{let n=[];e.forEach(a=>{n.push({id:a.ID,type:"Feature",properties:{isSelected:!1,categoryID:i,isMuseum:a.isMuseum,isArchive:a.isArchive,type:"object"},geometry:{type:"Point",coordinates:Sr([parseFloat(a.lon),parseFloat(a.lat)])}})});let s={type:"FeatureCollection",crs:{type:"name",properties:{name:"EPSG:3857"}},features:n},r=new nl({features:new Du().readFeatures(s)}),o=new il({source:r,style:this.styleFunction,zIndex:10});this.vectorSources[i]=r,this.vectorLayers[i]=o,this.map.addLayer(o)})})},styleRoute(t,e){},loadRoutes(){Ci.post("/services/get.php",{action:"routes"}).then(t=>{t.data.results.forEach((e,i)=>{this.routeItemIDs=[...this.routeItemIDs,...e.objects];let n=new nl({url:e.path,format:new ck}),s=new il({source:n,style:r=>new wi({stroke:new mn({color:"#ffda00",width:6}),text:new bd({text:e.code,fill:new vn({color:"#000"}),backgroundFill:new vn({color:"#ffda00"}),backgroundStroke:new mn({color:"#000",width:1}),padding:[4,4,4,4],font:"Normal 10pt / 1.2 Lynstone-SemiBold",textAlign:"center",justify:"center"})}),visible:this.showRoutes,zIndex:5});this.vectorRouteLayers[i]=s,this.map.addLayer(s)}),this.$emit("routes",t.data.results)})},loadGroups(){Ci.post("/services/get.php",{action:"groups"}).then(t=>{t.data.results.forEach((e,i)=>{this.groupItemIDs=[...this.groupItemIDs,...e.objects];let n=[];e.border.forEach(o=>{n.push(Sr(o))});let s=new nl({features:new Du().readFeatures({type:"FeatureCollection",crs:{type:"name",properties:{name:"EPSG:3857"}},features:[{id:e.ID,type:"Feature",properties:{type:"group"},geometry:{type:"Polygon",coordinates:[n]}}]})}),r=new il({source:s,style:o=>new wi({stroke:new mn({color:"#b26ec8",width:3}),fill:new vn({color:"#b26ec83b"}),text:new bd({text:e.code,fill:new vn({color:"#000"}),backgroundFill:new vn({color:"#b26ec8"}),backgroundStroke:new mn({color:"#000",width:1}),padding:[4,4,4,4],font:"Normal 10pt / 1.2 Lynstone-SemiBold",textAlign:"center",justify:"center",overflow:!0})}),visible:this.showGroups,zIndex:5});this.vectorGroupLayers[i]=r,this.map.addLayer(r)}),this.$emit("groups",t.data.results)})},hideShowFeatureByFilter(){let t=this.showMuseum,e=this.showArchive,i=this.view.getZoom()||0,n=this.showRoutes,s=this.showGroups;this.vectorSources.forEach(r=>{r.forEachFeature(o=>{let a=o.getProperties().isMuseum,c=o.getProperties().isArchive;n&&i<12?o.setStyle(new wi):n&&i>=12?this.routeItemIDs.includes(o.getId())&&(!t&&!e||a&&t||c&&e)?o.setStyle(this.styleFunction):o.setStyle(new wi):s&&i<12?o.setStyle(new wi):s&&i>=12?this.groupItemIDs.includes(o.getId())&&(!t&&!e||a&&t||c&&e)?o.setStyle(this.styleFunction):o.setStyle(new wi):!t&&!e||a&&t||c&&e?o.setStyle(this.styleFunction):o.setStyle(new wi)})})},getCategoryIcon(t){return{default:`./src/assets/categories/cat_${t}_map.png`,selected:`./src/assets/categories/cat_${t}_selected.png`,museum:`./src/assets/categories/cat_${t}_museum.png`}},styleFunction(t){let e=t.getProperties().categoryID,i=t.getProperties().isSelected;return t.getProperties().isMuseum,new wi({image:new Zh({anchor:[.5,.5],anchorXUnits:"fraction",anchorYUnits:"fraction",opacity:1,src:i?this.getCategoryIcon(e).selected:this.getCategoryIcon(e).default,scale:.4}),zIndex:i?20:10})},styleFuctionTracker(t){return new wi({image:new $l({radius:6,fill:new vn({color:"#FF3300"}),stroke:new mn({color:"#FFF",width:2})})})},getHTMLElement(t){return document.getElementById(t)??void 0},updateMapByLocation(){let t=!0,e=new bC({trackingOptions:{enableHighAccuracy:!0,maximumAge:0},tracking:!0,projection:this.view.getProjection()}),i=new Du().readFeatures({type:"Feature",crs:{type:"name",properties:{name:"EPSG:3857"}},features:[{type:"Feature",geometry:{type:"Point",coordinates:[0,0]}}]}),n=Sr([5.5,48]),s=Sr([11,45.5]),r=e.on("change:position",()=>{const o=e.getPosition();let a=!0;
16if(o&&(o[0]<n[0]||o[0]>s[0]||o[1]>n[1]||o[1]<s[1])&&(a=!1),a)i[0].setGeometry(o?new no(o):void 0),t&&(t=!1,this.view.setCenter(o),this.view.setZoom(14));else{let c=document.getElementById("unknownLocation");c.style.display="flex",e.removeEventListener("change:position",r.listener)}});new il({map:this.map,source:new nl({features:i}),style:this.styleFuctionTracker})}},mounted(){new wi({image:new $l({fill:new vn({color:"rgba(255,255,0,0.4)"}),radius:5,stroke:new mn({color:"#ff0",width:1})})}),new wi({stroke:new mn({color:"#f00",width:3})}),new wi({stroke:new mn({color:"#fbbd08",width:5})});let t=new dC({units:"metric"});new fC;let e=new fs({center:Sr([8.2318,46.7985]),zoom:9,minZoom:1,maxZoom:19,constrainResolution:!0});this.view=e,this.map=new Mp({target:this.getHTMLElement("map-root"),layers:[new rC({source:new pC({url:"https://wmts.geo.admin.ch/1.0.0/ch.swisstopo.pixelkarte-grau/default/current/3857/{z}/{x}/{y}.jpeg",crossOrigin:"anonymous",attributions:'<div style="font-size: 0.8em; text-align: left;"><a href="https://www.swisstopo.admin.ch/de/home.html">© swisstopo</a> - <a href="http://www.openstreetmap.org/about/"> © OpenStreetMap</a></div>'})})],controls:ab({rotate:!1,attributionOptions:{collapsible:!1}}).extend([t]),interactions:hb({altShiftDragRotate:!1,pinchRotate:!1}),view:e}),this.map.on("singleclick",i=>{var s,r,o;let n=this.map.forEachFeatureAtPixel(i.pixel,a=>a,{hitTolerance:(((s=document.getElementById("app"))==null?void 0:s.offsetWidth)??0)<768?10:0});this.$emit("object",null),this.$emit("objectPreview",null),this.$emit("route",null),this.$emit("routePreview",null),this.$emit("group",null),this.$emit("groupPreview",null),n?(n==null?void 0:n.getProperties().type)=="object"?((o=this.selectedFeature)==null||o.setProperties({isSelected:!1}),this.selectedFeature=n,this.selectedFeature.setProperties({isSelected:!0}),this.$emit("object",n.getId()),this.$emit("view",{action:"touch",origin:"object"})):(n==null?void 0:n.getProperties().type)=="group"?(this.$emit("group",n.getId()),this.$emit("view",{action:"touch",origin:"group"})):(n==null?void 0:n.getProperties().type)=="route"&&(this.$emit("route",n==null?void 0:n.getProperties().cmt),this.$emit("view",{action:"touch",origin:"route"})):((r=this.selectedFeature)==null||r.setProperties({isSelected:!1}),this.$emit("view",{action:"touch",origin:"map"}))}),this.map.on("pointermove",i=>{if(i.dragging)return;let n=this.map.getEventPixel(i.originalEvent),s=this.map.hasFeatureAtPixel(n),r=this.map.getTarget();if(r.style!==void 0&&(r.style.cursor=s?"pointer":""),s){let o=this.map.forEachFeatureAtPixel(i.pixel,a=>a);switch(o==null?void 0:o.getProperties().type){case"object":this.$emit("objectPreview",o.getId()),this.$emit("view",{action:"mouseover",origin:"object"});break;case"group":this.$emit("groupPreview",o.getId()),this.$emit("view",{action:"mouseover",origin:"group"});break;default:this.$emit("routePreview",o==null?void 0:o.getProperties().cmt),this.$emit("view",{action:"mouseover",origin:"route"});break}}else this.$emit("view",{action:"mouseover",origin:"map"})}),this.view.on("change:resolution",i=>{window.clearTimeout(this.viewChangeTimer),this.viewChangeTimer=window.setTimeout(()=>{this.hideShowFeatureByFilter()},500)}),this.updateMapByLocation(),this.loadRoutes(),this.loadGroups(),this.loadObjects()}}),mo=(t,e)=>{const i=t.__vccOpts||t;for(const[n,s]of e)i[n]=s;return i},wC={ref:"map-root",id:"map-root",style:{width:"100%",height:"100%"}};function SC(t,e,i,n,s,r){return he(),fe("div",wC,null,512)}const EC=mo(yC,[["render",SC]]),kC="Industriekultur Schweiz",TC="Leitbild",IC="Publikationen",xC="Partner",CC="Medienspiegel",RC="Links",AC="Kontakt",MC="Newsletter",DC="Impressum",LC="Team / Trägerschaft",OC="Spenden",PC="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Industriekultur Schweiz</h1>  </div></div><div class='row'>  <div class='eight wide column'>    <p>Industriekultur Schweiz macht die wichtigsten Zeugen der industriellen Vergangenheit der Schweiz sichtbar und verzeichnet sie in einem nationalen Online-Inventar. Die Industriekulturobjekte von achtzehn Kantonen sind bereits erfasst und online. Die Objekte der restlichen Kantone folgen. Zu den attraktivsten Industriekulturgütern wurden bisher drei Wanderausstellungen gezeigt und sechs regi
16onale Wanderführer publiziert.</p>    <p>Das Online-Inventar verzeichnet systematisch und flächendeckend alle historisch relevanten Bauten, Maschinen, Transportanlagen und Archivbestände von produzierenden und stillgelegten Betrieben. So erhalten die kantonalen Denkmalpflegen erstmals eine Übersicht über den schweizweiten Bestand der Kulturgüter, welche die 150-jährige Industrie-Geschichte unseres Landes dokumentieren. Dank dem Vergleich lassen sich seltene und einzigartige Objekte ermitteln. Dies ist gerade bei jenen Industrie-Anlagen hilfreich, die brach liegen oder kurz vor dem Abbruch stehen. Es wird deutlich, welche Gebäude Neuem Platz machen können und welche gezielt geschützt werden sollen. So können auch künftige Generationen nachvollziehen, wie die Industrie den Lebensstandard und die Siedlungs- und Verkehrsentwicklung prägte. Es bleibt in lebendiger Erinnerung, dass die Schweiz nach dem Zweiten Weltkrieg zu den führenden Industrienationen gehörte.</p>    <p>Hinter Industriekultur Schweiz steht der Verein Schweizerische Gesellschaft für Technikgeschichte und Industriekultur, www.sgti.ch. Die finanziellen Mittel stammen vom Bund, von Kantonen, Gemeinden, Stiftungen sowie von privater Seite. Für die Realisierung sorgt ein Projektteam in Winterthur, das mit den kantonalen Denkmalpflegen zusammenarbeitet.</p>    <p>Aktuell ist die Inventarisierung von Aargau und Solothurn im Gang. Die Inventarseiten der Kantone Aargau und Solothurn werden Ende 2025 online verfügbar sein.</p>  </div>  <div class='eight wide column'> <img class='ui fluid image' src='src/assets/menu/Industriekultur_Schema_Karte.png' />    <img class='ui fluid image' src='src/assets/menu/Industriekultur_Bestandesaufnahme.jpg' /> </div></div><div class='row hideMobile'>  <div class='column'>    <h2 class='uppercase underline'>Web</h2>  </div></div><div class='row hideMobile'>  <div class='eight wide column'>    <p>Das Online-Inventar verzeichnet die bereits erfassten Industriekulturgüter der Schweiz und lädt zum Stöbern genauso ein wie zum präzisen Suchen.</p>    <p>Es umfasst bis heute rund 5’000 Objekte mit 7’000 Unterkarten. Sie dokumentieren die Industriekulturobjekte der Kantone Bern, Zürich, Appenzell Ausserrhoden und Innerrhoden, Schaffhausen, St. Gallen, Thurgau, Baselstadt und Baselland, Luzern, Obwalden und Nidwalden, Schwyz, Uri, Zug und des Fürstentums Liechtenstein, Glarus, Graubünden und Tessin. 2030 wird das Online-Inventar abgeschlossen sein und aus rund 11’000 Seiten bestehen.</p>    <p>Jedes Objekt ist mindestens mit einem Kurztext und einem Bild dokumentiert und auf der Schweizerkarte verortet. Komplexere oder besonders gut erhaltenen Objekte sind mit Hilfe von maximal sechs zusätzlichen Informationskategorien genauer beschrieben. So ist im ausführlichsten Fall dokumentiert, was das Unternehmen produziert, welche Kräfte seine Maschinen antreiben, wie Bahnen oder andere Transportmittel die Rohstoffe und Produkte transportieren, ob wichtige Hochbauten wie Fabrikgebäude, Direktorenvillen oder Arbeiterhäuser zum Betrieb gehören, ob Tiefbauten wie Kanäle oder Wehre erhalten sind und ob ein Firmenarchiv oder eine firmeneigene Sammlung von Objekten vorhanden ist.</p>  </div>  <div class='eight wide column'> <img class='ui fluid image' src='src/assets/menu/Industriekultur_Zeugen.jpg' /> </div></div><div class='row hideMobile'>  <div class='column'>    <h2 class='uppercase underline'>Ausstellungen</h2>  </div></div><div class='row hideMobile'>  <div class='ten wide column'>    <h3>Sonderausstellung «Von Menschen und Maschinen» Brugg Windisch</h3>    <p>Von März bis Ende Oktober 2021 präsentierte Museum Aargau im Rahmen des Mottojahres «IndustrieWelt Aargau» die      Sonderausstellung «Von Menschen und Maschinen».</p>    <p>Die Ausstellung zeichnet die Lebensrealitäten im Zeitalter der Industrialisierung nach und bietet Einblicke eine      vom Wandel geprägten Gesellschaft. Es treffen Patrons auf Arbeiterfamilien der Aargauer Industrie. Die Ausstellung      thematisiert Vergangenheit, Gegenwart und Zukunft der Arbeit.</p>    <p>industriekultur.ch war Teil der Ausstellung. Das nationale Projekt ist in der Ausstellung über ein eigenes      Computerterminal aufrufbar. Erste Firmen und industriegeschichtlich relevante Baudenkmäler der Region Brugg      verdeutlichen die Inventarisationstätigkeit für den Kanton Aargau.</p>    <h3>Basel</h3>    <p>
16Die Wanderausstellung gastierte 2014/15 in den Museen BL in Liestal, kleines Klingental in Basel und in Lörrach.      Sie thematisierte die Chemie- und Pharmaindustrie in der Stadt Basel, die frühindustrielle Papierherstellung im      St. Alban-Tal, die Infrastruktur-Bauten der Bahn und der Rheinschifffahrt, die Salinen, die obere      Hauenstein-Bahnlinie, die Feinmechanik im Waldenburgertal und die erdverarbeitende Industrie im Laufental.</p>    <h3>Ostschweiz</h3>    <p>Die Wanderausstellung gastierte 2012/13 in der Stahlgiesserei Schaffhausen, in St. Gallen und im Seemuseum      Kornschütte in Kreuzlingen-Hafen. Fotos, Texte und Objekte machten aufmerksam auf Produktionsgebäude, die      Geschichte schrieben oder Orte prägen. Sie erinnerten an den Bau von Bahnlinien, Brücken und Kanälen, an die      Korrektion des Rheins und an den Gütertransport auf dem Bodensee.</p>    <h3>Zürich</h3>    <p>Die Wanderausstellung gastierte 2009/10 im Mühlerama in Zürich, in der Fabrikkirche und im alten Lokdepot in      Winterthur sowie in der Museums-Spinnerei Neuthal. Historische Fotos, Texte und Objekte erzählten von ersten      Fabriken in Uerikon-Stäfa, von der frühen Industriewelt in Wald und von grossen Spinnereien im Tösstal.</p>    <h3> Tour durch die Schweiz <br />150 Jahre Bundesstaat – 150 Jahre Industriekultur </h3>    <p>Die erste Wanderausstellung zum Thema Industriekultur tourte 1998 in drei Sprachen durch die ganze Schweiz. Sie      gastierte in sechzehn historischen Fabrikgebäuden und Museen. Zum Rahmenprogramm gehörten 150 Exkursionen und die      Realisierung von diversen Industriekultur-Projekten. Die Ausstellung zeigte auf, wie die Industrie die Gründung      des Bundestaates begünstigte und die Entwicklung der modernen Schweiz mitgestaltete. Themen waren Wasserkraft,      Dampf und Strom, die Textil- und Maschinenindustrie, der Bau der Alpentransversalen und der Eisenbahn,      Verstädterung, Tourismus, Massenkonsum, Rohstoffe und schliesslich auch die Desindustrialisierung.</p>  </div>  <div class='six wide column'> <img class='ui fluid image' src='src/assets/menu/Ausstellung_Aargau.jpg' /> <span      class='imgLegend'>Ausstellung Brugg: M. Cecilia 2021</span> <br /> <br /> <img class='ui fluid image'      src='src/assets/menu/Ausstellung_Basel_SW_IMG_8022.jpg' /> <span class='imgLegend'>Liestal, BS, Museum.BL, H.      Gervasi 2014</span> </div></div><div class='row hideMobile'>  <div class='column'>    <h2 class='uppercase underline'>Geschichte</h2>  </div></div><div class='row hideMobile'>  <div class='column'> <img class='ui image' src='src/assets/menu/Zeitstrahl_Industriekultur.jpg' /> </div></div>",FC="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Leitbild</h1>  </div></div><div class='row'>  <div class='column'>    <div class='ui relaxed list'>      <div class='item'>        <i class='large pdf file top aligned icon'></i>        <div class='content'>          <a class='bold' href='./medien/Leitbild_Industriekultur.pdf' target='_blank'>            Leitbild industriekultur.ch 2022          </a>          <div class='description'>21MB</div>        </div>      </div>    </div>  </div></div>",zC="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Publikationen</h1>  </div></div><div class='row'>  <div class='ten wide column hideMobile'>    <h4>NUOVA PUBBLICAZIONE / NEUERSCHEINUNG 2024</h4>    <p>Il progetto industriekultur.ch e la Società svizzera di cultura industriale e storia della tecnica SGTI (<a href='https://sgti.ch/' target='_blank'>sgti.ch</a>), sono felici di annunciare l’uscita del nuovo volume sul Patrimonio industriale svizzero, edito dalle Edizioni Casagrande e dedicato al Canton Ticino.</p>    <p>Dalle acciaierie ai cappellifici, dai mulini alle fabbriche di cioccolato, dalle centrali elettriche ai laboratori delle ditte farmaceutiche, dai più complessi impianti ferroviari ai centri logistici dell’economia globale: questo volume invita a scoprire la storia industriale del Canton Ticino attraverso un centinaio di schede che descrivono altrettanti oggetti significativi dal punto di vista storico e architettonico. Suddivise in sette sezioni tematiche, le schede sono accompagnate da oltre duecento fotografie a colori e da approfondimenti sugli sviluppi delle fabbriche, sui diversi rami dell’industria e le rispettive esigenze costruttive.</p>    <p>      <b>Ticino industriale<br />      Una guida architettonica</b><br />      A cura di Valeria Frei<br />      Fotografie di Tonatiuh Ambrosetti<br />      272 pagine | CHF 38.– costi di spedizione / Versandkosten<br />      ISBN 979-12-5559-016-3 | ECA 1574</p>
16    <div class='ui divider' style='border-top: 1px solid #000; border-bottom: 1px solid #000;'></div>    <p>Im Rahmen von Industriekultur Schweiz sind im Rotpunktverlag bisher fünf Wanderbücher erschienen. Sie alle führen auf acht Routen durch Industrielandschaften und lenken den Blick auf produzierende und stillgelegte Fabriken, historische Kanäle, Mühlen und Sägen mit Wasserrädern, ehemalige Arbeiterhäuser, Fabrikantenvillen, Wasserkraftwerke und Museen mit Maschinen. So wird die Produktion von Alltagsgütern nachvollziehbar. Und weil diese Güter auch transportiert werden müssen, gibt es auch Hinweise auf historisch interessante Bahnstrecken, Bahnhöfe, Museumsbahnen, Häfen, frühe Stahl- und Betonbrücken. Die Bücher eignen sich für Kultur-Interessierte, Ausflugsgruppen oder Schulklassen und Familien, welche mit Bahn, Velo, Schiff oder zu Fuss auf Erkundungstour gehen wollen. Übersichtskarten zeigen, wo sich ein Halt lohnt und Bild und Text informieren, was es zu sehen gibt. Im Serviceteil finden sich nützliche Hinweise.</p>    <h4>Zentralschweiz</h4>    <p>Themen sind die Gründerbauten der »Milchsüdi« in Cham, die Geschichte des Nestlé-Konzerns, der Industriepfad an der Lorze, die vielen Bergbahnen, welche die berühmte Bergwelt mit Rigi und Pilatus erschliessen, Stahlwerke, Rüstungsbetriebe und viele andere Produktionsstätten.</p>    <p>Industriekultur der Zentralschweiz. Unterwegs zu 333 Schauplätzen des produktiven Schaffens. 312 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2017. Fr. 20.-</p>    <h4>Basel</h4>    <p>Die Region ist einerseits durch die chemische Industrie geprägt worden und andererseits durch den Ausbau der Basler Rheinhäfen und der Bahn- und Strassenanlagen. Zwischen Pratteln, Basel, Deutschland und Frankreich ist ein ganzes Logistikrevier entstanden.</p>    <p>Industriekultur beider Basel. Unterwegs zu 333 Schauplätzen des produktiven Schaffens. 272 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2014. Fr. 20.-</p>    <h4>Ostschweiz</h4>    <p>Das ländliche Image trügt. Die Ostschweiz ist überdurchschnittlich industrialisiert. In den Kantonen Schaffhausen, Thurgau, St. Gallen, den beiden Appenzell sowie dem Fürstentum Liechtenstein gibt es viele spannende Industriekultur-Objekte zu entdecken.</p>    <p>Industriekultur in der Ostschweiz und im Fürstentum Liechtenstein. Unterwegs zu 333 Schauplätzen des produktiven Schaffens. 318 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2012. Fr. 20.-</p>    <h4>Zürich</h4>    <p>Zur facettenreichen Industrielandschaft gehören urbane Fabrikanlagen in Winterthur und Zürich, Industrie-Täler, Museen mit Maschinen und Bahnen mit historischem Rollmaterial. Erinnerungen an die frühe Produktion finden sich am Zürichsee-Ufer, in Uster, in Wald, im Tösstal und im Sihlwald.</p>    <p>Industriekultur im Kanton Zürich. Unterwegs zu 222 Schauplätzen des produktiven Schaffens, 304 Seiten, 8 Exkursionsrouten, Objekte nach Branchen, über 600 Pläne und Fotos, rotpunktverlag Zürich 2009. Fr. 20.-</p>    <h4>Bern</h4>    <p>Themen sind Uhren und Elektrizität in Biel und an der Schüss, Brückenbau in der Stadt Bern, Dampfschifffahrt auf Thuner- und Brienzersee, die Erschliessung der Jungfrauregion und die Thuner Selve-Metallwerke.</p>    <p>Industriekultur im Kanton Bern. Wegbegleiter zu 333 technischen Sehenswürdigkeiten, 280 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2006. Fr. 20.-</p>  </div>  <div class='six wide column'>    <h4>Bestellung / Ordina il libro</h4>    <p>      <a href='mailto:[email protected]'>[email protected]</a>    </p>    <img class='ui image' src='src/assets/menu/Ticino_industriale.png'>    <img class='ui image' src='src/assets/menu/IKS_Buecher_IMG_9499.jpg' />  </div></div>",BC="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Partner</h1>  </div></div><div class='row'>  <div class='column'>    <p>Industriekultur Schweiz pflegt den Kontakt mit allen Personen und Einrichtungen, die den Aufbau des nationalen Inventars in irgendeiner Form unterstützen. Wichtige Partner sind Geldgeber, Denkmalpflegen sowie öffentliche und private Archive, Bibliotheken und Museen. Ebenfalls hilfreich sind Interessengemeinschaften, die ein bestimmtes Thema im Fokus haben, wie Mühlen-, Bergbau- oder Bahnfreunde oder Gruppen, die einen Industrielehrpfad oder ein Industriekulturobjekt bewirtschaften. Das Team tauscht sich mit Fachpersonen aus, nutzt private Informationsplattformen wie swiss-timber-bridges.ch oder swisstrafo.ch und holt bei Bedarf auch Auskünfte von Personen ein, die im Besitz eines Industrieobjekts sind.</p>    <a href='https://www.bak.admin.ch/bak/de' target='_blank'><img class='ui centered big image' src='src/assets/de/footer/bak.png' style='margin-top: 50px; margin-bottom: 50px;' /></a>    <div class='ui doubling six column grid'>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/Göhner_2_blau.jpeg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/Vontobel Stiftung.png' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/logo_790x177.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/Patrimoinepourtous_Logo_CMYK_Rouge.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/kanton_Luzern_kulturfoederung_swisslos_farbig_400x166.gif' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/NW_Logo_Co-Branding_Swisslos_quer_rgb_png.png' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/OW_SWISSLOS_Kulturfoerderung_farbig.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/Swisslos_Logo_farbig.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/swissfondsbs4f.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/BL_Logo_SWL_r_cmyk.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/Logo_Kanton_St_Gallen_SWISSLOS_1c.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/KTG_Logo_Thurgau Lotteriefonds.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/ARLotteriefondshor.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/stempel_+lotteriefonds.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/Logo-AVINA-Stiftung.jpg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/Logo-Migros-Kulturprozent-1.jpeg' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/OBG_Logo_o
16hne_Claim_RGB.png' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/rhe_kultur_rgb.png' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/ekz_logo_claim.png' />      </div>      <div class='column'>        <img class='ui fluid image' src='src/assets/sponsors/satw.jpeg' />      </div>    </div>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>Finanzielle Unterstützung</h2>  </div></div><div class='row'>  <div class='column'>    <p>Industriekultur Schweiz wird ermöglicht dank Beiträgen von der öffentlichen Hand, Stiftungen, Firmen und Privaten. An sie alle geht ein grosses Dankeschön.</p>  </div></div><div class='row'>  <div class='five wide column'>    <h4>Etappe Südostschweiz</h4>    <p>        <b>Bundesamt für Kultur BAK</b>    </p>    <p>        <b>Swisslos:</b>        <br />        Kantone Glarus    </p>    <p>        <b>Regierungsratsbeschlüsse:</b>        <br />        Kantone Graubünden und Tessin    </p>    <p>        <b>Stiftungen:</b>        <br />        Ernst Göhner Stiftung         <br />        Fondazione Dr. Hans Dietler/Kottmann        <br />        Fondazione Ticino Nostro        <br />        Fondazione Felix Leemann      <br />        Garbef-Stiftung      <br />        Hans-Eggenberger-Stiftung      <br />        Pro Montagna Stiftung      <br />        Stiftung Pro Laax      <br />        Sophie Karl Binding Stiftung      <br />        Vontobel-Stiftung     </p>    <p>        <b>Städte:</b>        <br />        Chur, Bellinzona    </p>    <p>        <b>Gemeinden, Regionen:</b>        <br />        Comune di Balerna, Comune di Blenio, Comune di Chiasso, Comune di Locarno, Comune di Lugano, Comune di Mendrisio, Glarus Nord, Silvaplana, Scuol, Zernez, Region Maloja, Region Viamala    </p>    <p>        <b>Weitere:</b>        <br />        AGE acqua gas elettricità SA, AET Azienda Elettrica Ticinese, AIL Aziende Industriali di Lugano, Ferrovia Monte Generoso SA, MEG Instruments Dr. Markus Meier Aarau, Renatus Hindermann Wolfhausen, Repower AG    </p>    <h4>Etappe Zentralschweiz</h4>    <p>        <b>Bundesamt für Kultur BAK</b>    </p>    <p>        <b>Swisslos:</b>        <br />        Kantone Luzern, Schwyz, Zug    </p>    <p>        <b>Kantone:</b>        <br />        die Kulturpflege des Kantons Obwalden, Kantone Nidwalden und Uri    </p>    <p>        <b>Stiftungen:</b>        <br />        Alfred Richterich Stiftung        <br />        Dätwyler Stiftung        <br />        Stiftung Dorothea und Paul Schwob        <br />        Ernst Göhner Stiftung        <br />        Familien Vontobel-Stiftung        <br />        Stiftung Karl und Elise Elsener        <br />        Landis und Gyr Stiftung        <br />        Otto Gamma Stiftung        <br />        Stiftung F.D. Doron        <br />        Straub-Gyr Fonds    </p>    <p>        <b>Gemeinden:</b>        <br />        Altdorf, Bauen, Bezirk Küssnacht am Rigi, Bezirk Einsiedeln, Bürglen, Eschenbach, Flüelen, Galgenen, Göschenen, Neuenkirch, Oberkirch, Schübelbach, Stans, Steinhausen, Wollerau, Zug    </p>    <p>        <b>Weitere:</b>        <br />        Heimatschutz Zug, MEG Instruments Dr. Markus Meier Aarau, Schmolz + Bickenbach AG Emmen, Schwyzer, Kantonalbank Schwyz, Zentralschweizer Kantonalbanken, Hans-Peter Bärtschi Winterthur, Renatus Hindermann Wolfhausen    </p>  </div>  <div class='six wide column'>    <h4>Etappe Basel</h4>    <p>        <b>Bundesamt für Kultur BAK</b>    </p>    <p>        <b>Swisslos:</b>        <br />        Basel-Stadt und Basel-Landschaft    </p>    <p>        <b>Stiftungen:</b>        <br />        Emil und Rosa Richterich-Beck        <br />        Ernst Göhner Stiftung        <br />        Gerold und Niklaus Schnitter-Fonds für Technikgeschichte ETH-Zürich        <br />        Otto Gamma-Stiftung Zürich        <br />        Sophie und Karl Binding Stiftung        <br />        Vontobel Stiftung    </p>    <p>        <b>Gemeinden:</b>        <br />        Allschwil, Arlesheim, Blauen, Gelterkinden, Pratteln, Laufen    </p>    <p>        <b>Weitere:</b>        <br />        Dreyfuss Söhne + Cie AG Basel, Heimatschutz Basel-Stadt, Industrielle Werke Basel MEG, Instruments Dr. Markus Meier Aarau, Schweizer Rheinsalinen    </p>    <h4>Etappe Ostschweiz</h4>    <p>        <b>Swisslos:</b>        <br />        Kantone Appenzell Ausserrhoden, Schaffhausen, St. Gallen, Thurgau und Fürstentum Liechtenstein    </p>    <p>        <b>Stiftungen:</b>        <br />        Avina Stiftung        <br />        Bertold-Suhner-Stiftung        <br />        Dr. Fred Styger Stiftung        <br />        Dr. Heinrich Mezger-Stiftung        <br />        Ernst Göhner Stiftung        <br />        F. + A. Frey-Bücheler-Stiftung        <br />        Fredy & Regula Lienhard Stiftung        <br />        Gerold und Niklaus Schnitter-Fonds für Technikgeschichte ETH-Zürich        <br />        Huber + Suhner-Stifung        <br />        Karl Mayer Stiftung Triesen (FL)        <br />        Rheintaler Kulturstiftung        <br />        RHW-Stiftung        <br />        Sophie und Karl Binding Stiftung        <br />        Stiftung Dr. med. hc. Margrit Bohren-Hoerni        <br />        Stiftung Fürstl. Kommerzienrat Guido Feger        <br />        Stiftung Schweizerische Landesausstellung 1939    </p>    <p>        <b>Städte:</b>        <br />        Stadt St. Gallen    </p>    <p>        <b>Gemeinden:</b>        <br />
16        Aadorf, Appenzell, Arbon, Balzers, Bischofszell, Bühler, Degersheim, Eschlikon, Felben-Wellhausen, Flawil SG, Frauenfeld, Gais, Gossau, Hefenhofen, Heiden, Herdern, Hofen, Horn, Kradolf-Schönenberg, Krinau, Mels, Münchwilen, Neunkirch, Oberegg, Oberuzwil, Ramsen, Rapperswil-Jona, Rüdlingen, Rüte, Schwende, Silblingen, Stein am Rhein, Stetten, Teufen, Triesen, Triesenberg, Urnäsch, Uzwil, Wartau, Warth-Weinigen, Weinfelden, Wil    </p>    <p>        <b>Weitere:</b>        <br />        Appenzellische Gemeinnützige Gesellschaft, Axpo Holding AG, Cilag AG Schaffhausen, Gemeinnützige Gesellschaft des Kantons St. Gallen, Heimatschutz Appenzell Ausserrhoden, Heimatschutz Schaffhausen, Heimatschutz Thurgau, Hilti Foundation, Liechtenstein Bus Anstalt, Liechtensteinische Landesbank, Migros Kulturprozent, O. Schneider Linienbus EG Ermetswil, Ortsbürgergemeinde St. Gallen, Schaffhauser Kantonalbank, Schweizerische Südostbahn AG, Textilverband Schweiz, Thurbo AG, Thomas Schmidheiny, Verein St. Galler Rheintal, Verein Südkultur St. Gallen, Zürcherische Seidenindustrie-Gesellschaft    </p>  </div>  <div class='five wide column'>    <h4>Etappe Zürich</h4>    <p>        <b>Lotteriefonds:</b>        <br />        Kanton Zürich    </p>    <p>        <b>Stiftungen:</b>        <br />        Baumgarten Stiftung        <br />        Ernst Göhner Stiftung        <br />        Georg und Bertha Schwyzer-Winiker-Stiftung        <br />        Otto Gamma Stiftung        <br />        Paul Schiller Stiftung        <br />        STA Stiftung Streiff AG        <br />        Stiftung Industriekultur        <br />        Vontobel Stiftung    </p>    <p>        <b>Städte:</b>        <br />        Städte Uster, Winterthur, Zürich    </p>    <p>        <b>Gemeinden:</b>        <br />        Altikon, Bäretswil, Bertschikon, Boppelsen, Brütten, Buchs ZH, Bülach, Dinhard, Eglisau, Ellikon a. d. Thur, Erlenbach, Fehraltdorf, Fischenthal, Herrliberg, Hochfelden, Hofstetten, Hüntwangen, Männedorf, Maur, Rüschlikon, Rüti ZH, Schlieren, Stadel, Stäfa, Sternenberg, Trüllikon, Turbenthal, Voketswil, Wald ZH, Wallisellen, Wangen-Brüttisellen, Zollikon    </p>    <p>        <b>Weitere:</b>        <br />        EKZ Elektrizitätswerke des Kantons Zürich, Erdgas Ostschweiz AG, Eskimo Textil AG, Flughafen Zürich AG, Hans-Peter Bärtschi, Hausmann + Moos AG, Hermann Bühler AG, Kibag Management und Logistik Bäch, Kuhn Rikon AG, Luftseilbahn Adliswil-Felsenegg, Migros Kulturprozent, Mühle Balchenstahl AG, Otto & Johann Honegger, Rudolf-Friedrich-Fonds, SATW Schweizerische Akademie der Technischen Wissenschaften, SGTI, Sihltal-Zürich-Uetliberg-Bahn SZU, Sihl, Zürich AG, Stadtbus Winterthur, Stäubli International AG, Wasserversorgung Zürich, Wolfensberger AG, Zürcher Heimatschutz, Zürcher Kantonalbank, Zürcher Seidenindustrie-Gesellschaft, Zürichsee-Schifffahrtsgesellschaft    </p>    <h4>Etappe Bern</h4>    <p>        <b>Stiftungen:</b>        <br />        BLS-Stiftung Bern        <br />        Gerold und Niklaus Schnitter-Fonds für Technikgeschichte ETH-Zürich        <br />        Hasler Stiftung        <br />        Otto-Gamma-Stiftung        <br />        Vontobel Stiftung    </p>    <p>        <b>Gemeinden:</b>        <br />        Brüttelen, Chatelat, Frauenkappeln, Hasle, Heimberg, Ins, Jegenstorf, Konolfingen,, Ittingen ,La Ferrière, Loveresse, Moutier, Mühleberg, Mühlethurnen, Münchenwiler, Nidau, Schwadernau, Schüpfen, Sonceboz-Sombeval Stettlen, Tramelan, Worb    </p>    <p>        <b>Weitere:</b>        <br />        Arias - Hans-Peter Bärtschi und Team, Berner Fachhochschule Burgdorf, Berner Heimatschutz, BKW-FMB Energie AG, Cendres & Métaux SA, Chemins de fer du Jura, Denkmalpflege-Stiftung Bern, Energie Wasser Bern, Genossenschaft Migros Aare Schönbühl, Gitte Naujoks Bern, Jungfraubahnen AG, MOB Montreux, Muller Machines SA, Omega SA, Pro Helvetia, Proma Energie AG, SATW Schweizerische Akademie der Technischen Wissenschaften, Schweizer Heimatschutz, Schweizerische Mobiliar Bern, SGTI, Städtische Verkehrsbetriebe BernMobil, Walter Weiss VMS    </p>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>ETH Bildarchiv</h2>  </div></div><div class='row'>  <div class='ten wide column'>    <p>Dr. Hans-Peter Bärtschi hat seit 1960 eine Fotosammlung aufgebaut, die Industrieobjekte und historische Fahrzeuge aus der ganzen Welt dokumentiert. Diese Sammlung befindet sich seit 2014 im ETH-Bildarchiv. Der bereits erschlossene Teil ist unter e-pics.ethz.ch zugänglich. Die im Zusammenhang mit Industriekultur Schweiz entstehenden Bilder ergänzen die Sammlung laufend und gehen ebenfalls ins ETH-Bildarchiv.</p>    <div class='ui relaxed list'>        <div class='item'>            <i class='large linkify top aligned icon'></i>            <div class='content'>                <a class='bold' href='https://ba.e-pics.ethz.ch/' target='_blank'>
16ETH Zürich, e-pics, Bildarchiv Online, Katalog SIK</a>                <div class='description'>ethz.ch</div>            </div>        </div>    </div>  </div>  <div class='six wide column'>    <img class='ui image' src='src/assets/menu/SIK_01-011824.jpg' />    <span class='imgLegend'>Schlieren, ZH, Gaswerk, Reportagefotografien 1937</span>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>Zuspruch von Institutionen</h2>  </div></div><div class='row'>  <div class='column'>    <p>Industriekultur Schweiz wird bei jeder Arbeitsetappe finanziell unterstützt durch das Bundesamt für Kultur BAK und die kantonalen Lotteriefonds. Ideelle Unterstützung bietet die UNESCO- Kommission, sie begrüsst das Projekt als wichtigen Beitrag zur Weitergabe des Industriekulturerbes an künftige Generationen. Weiteren Zuspruch gibt es von ICOMOS, der Vereinigung der Schweizergruppe für die Bewahrung des Kulturerbes, in der Experten für die Konservierung und Restaurierung von Baudenkmälern tätig sind. 2009 wurde Industriekultur Schweiz mit dem Thurgauer Heimatschutzpreis ausgezeichnet.</p>  </div></div><div class='row hideMobile'>  <div class='column'>    <h2 class='uppercase underline'>Archive und Inventare</h2>  </div></div><div class='row hideMobile'>  <div class='column'>    <table class='ui small celled table'>        <tr>            <td>Bestandesaufnahme historischer Bauten im Kanton Zug</td>            <td>BhBKt.ZG</td>            <td>Hofstr. 15, 6300 Zug</td>        </tr>        <tr>            <td>Bauinventar Kanton Basel-Landschaft</td>            <td>BIB</td>            <td>Rheinstr. 29, 4410 Liestal</td>        </tr>        <tr>            <td>Bauinventar Kanton Bern</td>            <td>BI-BE</td>            <td>Münstergasse 32, 3011 Bern</td>        </tr>        <tr>            <td>Denkmalpflege des Kantons Bern</td>            <td>DP BE</td>            <td>Münstergasse 32, 3011 Bern</td>        </tr>        <tr>            <td>Kantonale Denkmalpflege Basel-Landschaft</td>            <td>DP BL</td>            <td>Rheinstr. 29, 4410 Liestal</td>        </tr>        <tr>            <td>Kantonale Denkmalpflege Basel-Stadt</td>            <td>DP BS</td>            <td>Unterer Rheinweg 26, 4058 Basel</td>        </tr>        <tr>            <td>Denkmalpflege des Fürstentum Liechtensteins</td>            <td>DP FL</td>            <td>Städtle 38, FL-9490 Vaduz</td>        </tr>        <tr>            <td>Kantonale Denkmalpflege Aargau</td>            <td>DP Kt. AG</td>            <td>Bachstrasse 15, 5000 Aarau</td>        </tr>        <tr>            <td>Ufficio Die Beni Culturali</td>            <td>UBC</td>            <td>Viale Stefano Franscini 30a, 6500 Bellinzona</td>        </tr>        <tr>            <td>Denkmalpflege und Ortsbildschutz Kanton Glarus</td>            <td>DP GL</td>            <td>Gerichtshausstrasse 25, 8750 Glarus</td>        </tr>        <tr>            <td>Denkmalpflege Graubünden</td>            <td>DP GR</td>            <td>Gürtelstrasse 89, 7001 Chur</td>        </tr>        <tr>            <td>Fachstelle für Denkmalpflege des Kantons Nidwalden</td>            <td>DP Kt. NW</td>            <td>Mürgstrasse 12, 6371 Stans</td>        </tr>        <tr>            <td>Denkmalpflege und Archäologie des Kantons Obwalden</td>            <td>DP Kt. OW</td>            <td>Brünigstrasse 178, 6061 Sarnen</td>        </tr>        <tr>            <td>Kantonale Denkmalpflege Solothurn</td>            <td>&nbsp;</td>            <td>Werkhofstrasse 55, 4500 Solothurn</td>        </tr>        <tr>            <td>Denkmalpflege des Kantons St. Gallen</td>            <td>DP Kt. SG</td>            <td>Rorschacherstr. 23, 9001 St. Gallen</td>        </tr>        <tr>            <td>Denkmalpflege des Kantons Schaffhausen</td>            <td>DP Kt. SH</td>            <td>Beckenstube 11, 8200 Schaffhausen</td>        </tr>        <tr>            <td>Denkmalpflege des Kantons Thurgau</td>            <td>DP Kt. TG</td>            <td>Ringstr. 16, 8510 Frauenfeld</td>        </tr>        <tr>            <td>Denkmalpflege, Abteilung Natur- und Heimatschutz des Kantons Uri</td>            <td>DP Kt. UR</td>            <td>Rathausplatz 5, 6460 Altdorf</td>        </tr>        <tr>            <td>Amt für Denkmalpflege und Archäologie des Kanton Zug</td>            <td>DP Kt. ZG</td>            <td>Hofstr. 15, 6300 Zug</td>        </tr>        <tr>            <td>Fachstelle für Denkmalpflege der Stadt St. Gallen</td>            <td>DP St. SG</td>            <td>Lindenhofstr. 19, 8021 Zürich</td>        </tr>        <tr>            <td>Kunstdenkmäler der Schweiz </td>            <td>GSK</td>            <td>Pavillonweg 2, 3012 Bern</td>        </tr>        <tr>            <td>Inventar der neueren Schweizer Architektur 1850-1920</td>            <td>INSA</td>            <td>Pavillonweg 2, 3012 Bern</td>        </tr>        <tr>            <td>Inventar der schützenswerten Ortsbilder der Schweiz</td>            <td>ISOS</td>            <td>Limmatquai 24, 8002 Zürich</td>        </tr>        <tr>            <td>Inventar der historischen Verkehrswege der Schweiz</td>            <td>IVS</td>            <td>www.ivs.admin.ch</td>        </tr>        <tr>            <td>Kantonale Denkmalpflege Zürich</td>            <td>KDP</td>            <td>Stettbachstr. 7, 8600 Dübendorf</td>        </tr>        <tr>            <td>
16Kantonales Denkmalverzeichnis Luzern</td>            <td>KDV</td>            <td>Libellenrain 15, 6002 Luzern</td>        </tr>        <tr>            <td>Schweizerisches Inventar der Kulturgüter</td>            <td>KGS</td>            <td>Montbijoustr. 51A, 3003 Bern</td>        </tr>        <tr>            <td>Kantonales Inventar geschützter und schützenswerter Bauten</td>            <td>KIGBO</td>            <td>Kollegiumstr. 30, 6430 Schwyz</td>        </tr>        <tr>            <td>Inventar historischer Bahnhöfe der SBB</td>            <td>Bärtschi SBB</td>            <td>Arias Industriekultur, Lindstr. 35, 8400 Winterthur</td>        </tr>        <tr>            <td>Schweizerische geotechnische Kommission</td>            <td>SGTK</td>            <td>c/o ETHZ, Sonneggstr. 5, 8092 Zürich</td>        </tr>        <tr>            <td>Stiftung Industriekultur, Winterthur</td>            <td>SIK</td>            <td>Rychenbergstr. 69, 8400 Winterthur</td>        </tr>        <tr>            <td>Verband der Museen der Schweiz</td>            <td>VMS</td>            <td>Landesmuseum, Postfach, 8021 Zürich</td>        </tr>    </table>  </div></div>",NC="<div class='row'>    <div class='column'>      <h1 class='uppercase underline'>Medienspiegel</h1>    </div>  </div>  <div class='row'>    <div class='column'>      <div class='ui relaxed list'>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/IKS Jahresbericht 2025.pdf' target='_blank'>              industriekultur.ch - Jahresbericht 2025            </a>            <div class='description'>Bericht aus dem Projekt, 2026 - 0.15MB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Kunstvoll verpackt_Suedostschweiz_20251115_industriekultur.ch.pdf' target='_blank'>              Kunstvoll verpackt: Darum wurden Kraftwerke in Graubünden wie Kathedralen gebaut            </a>            <div class='description'>Südostschweiz, 15.11.2025 - 1.06MB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Medienmitteilung_900Klicks_Helle_Nacht_20251104.pdf' target='_blank'>              Industrieperlen im Aargau entdecken: 900 neue Klicks            </a>            <div class='description'>Medienmitteilung, 04.11.2025 - 0.13MB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/L epoca degli orologi in Ticino - RSI.pdf' target='_blank'>              L’epoca degli orologi in Ticino            </a>            <div class='description'>RSI, 17.06.2025  - 1.48MB - Online: <a href='https://rsi.ch/s/2849360' target='_blank'>https://rsi.ch/s/2849360</a></div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/La forza dell acqua_ i mulini in Ticino - RSI.pdf' target='_blank'>              La forza dell’acqua: i mulini in Ticino            </a>            <div class='description'>RSI, 25.05.2025 - 2.43MB - Online: <a href='https://rsi.ch/s/2831444' target='_blank'>https://rsi.ch/s/2831444</a></div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Saceba_ da ex-cementificio a spazio culturale - RSI.pdf' target='_blank'>              Saceba: da ex-cementificio a spazio culturale            </a>            <div class='description'>RSI, 13.05.2025 - 1.74MB - Online: <a href='https://rsi.ch/s/2811931' target='_blank'>https://rsi.ch/s/2811931</a></div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/L evoluzione dell industria del tabacco in Ticino - RSI.pdf' target='_blank'>
16              L’evoluzione dell’industria del tabacco in Ticino            </a>            <div class='description'>RSI, 06.05.2025 - 1.59MB - Online: <a href='https://rsi.ch/s/2802358' target='_blank'>https://rsi.ch/s/2802358</a></div>          </div>        </div>          <div class='item'>          <i class='large file audio top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Ticino_industriale2.mp3' target='_blank'>              Ticino industrial, Un patrimonio da scoprire            </a>            <div class='description'>RSI, Rete Due, 29.09.2024 - 56MB</div>          </div>        </div>          <div class='item'>          <i class='large file audio top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Ticino_industriale_e_Monteforno.mp3' target='_blank'>              Ticino industriale e Monteforno - Due libri e diversi punti di vista            </a>            <div class='description'>RSI, ALPHAVILLE, 14.10.2024 - 24.1MB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/IKS Jahresbericht 2024.pdf' target='_blank'>              industriekultur.ch - Jahresbericht 2024            </a>            <div class='description'>Bericht aus dem Projekt, 2025 - 2.61MB</div>          </div>        </div>          <div class='item'>          <i class='large file audio top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Perch_interessante_parlare_di_Ticino_industriale_1_5.mp3' target='_blank'>              Perché è interessante parlare di Ticino industriale (1./5)            </a>            <div class='description'>RSI 03.02.2025 - 4.64MB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/TM_II25_ArchitetturaIndustriale.pdf' target='_blank'>              Il patrimonio degli edifici industriali            </a>            <div class='description'>'Ticino management“ Nr. 1-2, Februar 2025 - 4.73MB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Geomatik_industriekultur.ch.pdf' target='_blank'>              Online-Inventar industriekultur.ch            </a>            <div class='description'>Geomatik Schweiz 11–12/2024 - 542KB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/AZ_Artikel_Spinnereibruecke_Helle_Nacht_2024-11-03.pdf' target='_blank'>              Erfolgreiche Brückensanierungen: „Nach Krisensitzungen mit hochroten Köpfen lagen sich zum Schluss alle in den Armen“            </a>            <div class='description'>Aargauer Zeitung 03.11.2024 - 4.4MB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/k+a_online-inventar_industriekultur.ch.pdf' target='_blank'>              Online-Inventar industriekultur.ch            </a>            <div class='description'>“k+a” Kunst + Architektur Nr.3 2024 - 659KB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Kraftwerk im Lorzentobel ist ein Zuger Pionierstück.pdf' target='_blank'>              Das Kraftwerk Lorzentobel: Ein «Pionierstück» der Zuger Industriegeschichte            </a>            <div class='description'>Zuger Zeitung 08.09.2024 - 961KB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Azione_2sett24_Ticino_industriale.pdf' target='_blank'>              Alla scoperta del Ticino industrial            </a>            <div class='description'>“Azione” 02.09.2024 - 399KB</div>          </div>        </div>          <div class='item'>          <i class='large file audio top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Ticino_industriale.mp3' target='_blank'>              Ticino industriale            </a>            <div class='description'>Seidisera Magazine, RSI, Rete Uno 21.07.2024 - 18.5MB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/Solothurner_Zeitung_20240706.pdf' target='_blank'>              Industriebauten werden Teil eines nationalen Inventars            </a>            <div class='description'>Solothurner Zeitung 06.07.2024 - 459KB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/IKS Jahresbericht 2023.pdf' target='_blank'>              industriekultur.ch - Jahresbericht 2023            </a>            <div class='description'>Bericht aus dem Projekt, 2024 - 1.6MB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/IKS Jahresbericht 2022.pdf' target='_blank'>              industriekultur.ch - Jahresbericht 2022            </a>            <div class='description'>Bericht aus dem Projekt, 2023 - 625KB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/IKS Jahresbericht 2021.pdf' target='_blank'>              industriekultur.ch - Jahresbericht 2021            </a>            <div class='description'>Bericht aus dem Projekt, 2022 - 1.6MB</div>          </div>        </div>          <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>            <a class='bold' href='./medien/IKS Jahresbericht 2020.pdf' target='_blank'>              industriekultur.ch - Jahresbericht 2020            </a>            <div class='description'>Bericht aus dem Projekt, 2021 - 5.7MB</div>          </div>        </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/IKS Jahresbericht 2019 logo.pdf' target='_blank'>                      industriekultur.ch - Jahresbericht 2019                  </a>                  <div class='description'>Bericht aus dem Projekt, 2020 - 4MB</div>              </div>          </div>            <div class='item'>              <i class='large file audio top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Treffpunkt_26-11-2020-1003.1606385583269.mp3' target='_blank'>                      Warum ist eine Fabrikhalle schützenswert?                  </a>                  <div class='description'>'Treffpunk' Radio SRF 26.11.2020 - 55MB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/ibb_anschluss_sept_leitartikel-2.pdf' target='_blank'>                      Ein Stück Heimat Innovation über Generationen                  </a>                  <div class='description'>IBB Magazin: Anschluss September 2020 - 4MB</div>              </div>          </div>            <!--          <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/200831_Argovia_132_Inhalt_99-107.pdf' target='_blank'>
16                      Den Strukturwandel erkennen und verstehen                      <br />Das Projekt industriekultur.ch am Beispiel der Birchmeier & Cie. in Künten                  </a>                  <div class='description'>Argovia 132/2020 - 483KB</div>              </div>          </div>          -->            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Transhelvetica 54 2019.pdf' target='_blank'>„Industriekultur“</a>                  <div class='description'>Transhelvetica 54/2019 - 2.2MB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Südostschweiz_26.09.2019.pdf' target='_blank'>„Schütz S02 erzählt Technikgeschichte“</a>                  <div class='description'>Südostschweiz 26.09.2019 - 7.66MB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Südostschweiz 27.08.2019.pdf' target='_blank'>„Erlebbare Zeitzeugen der Industrie“</a>                  <div class='description'>Südostschweiz 27.08.2019 - 12.3MB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Nau 14.08.2019.pdf' target='_blank'>„Glarus unterstützt Inventar bedeutender Industriebauten“</a>                  <div class='description'>Nau 14.08.2019 - 1.25MB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Bundesamt für Kultur BAK 22.12.2018.pdf' target='_blank'>„Projektwettbewerb Kulturerbe für alle“</a>                  <div class='description'>Bundesamt für Kultur BAK 22.12.2018 - 781KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/renova invest 2 2018.pdf' target='_blank'>„Der Erhalt von Industriekultur hat mit Identität zu tun“</a>                  <div class='description'>renova invest 2/2018 - 971KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Architektur Basel 17.11.2017.pdf' target='_blank'>Buchbesprechung „Industriekultur beider Basel“</a>                  <div class='description'>Architektur Basel 17.11.2017 - 252KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Südostschweiz 24.06.2016.pdf' target='_blank'>Letzte Gelegenheit, Industriekultur zu erhalten</a>                  <div class='description'>Südostschweiz 24.06.2016 - 234KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Bote der Urschweiz 13.02.2013.pdf' target='_blank'>Alte Stoosbahn unter Schutz?</a>                  <div class='description'>Bote der Urschweiz 13.02.2013 - 157KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/St. Galler Tagblatt 15.06.2012.pdf' target='_blank'>Streifzüge durch die Industriekultur</a>                  <div class='description'>St. Galler Tagblatt 15.06.2012 - 4.79MB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Zugerbieter 05.05.2010.pdf' target='_blank'>Zeugen der Industriekultur</a>                  <div class='description'>Zugerbieter 05.05.2010 - 522KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Luzerner Nachrichten 21.04.2010.pdf' target='_blank'>Denkmäler sollen erfasst werden</a>                  <div class='description'>Luzerner Nachrichten 21.04.2010 - 163KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Beobachter 17.02.2010.pdf' target='_blank'>Die Retter der Industrie-Nation</a>                  <div class='description'>Beobachter 17.02.2010 - 655KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/St. Galler Tagblatt 23.06.2009.pdf' target='_blank'>Der Zauber von „Nr.9“</a>                  <div class='description'>St. Galler Tagblatt 23.06.2009 - 701KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Schaffhauser Nachrichten 19.05.2008.pdf' target='_blank'>Industriekulturgüter inventarisieren</a>                  <div class='description'>Schaffhauser Nachrichten 19.05.2008 - 214KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Thurgauer Zeitung 17.05.2008.pdf' target='_blank'>„Die Nordostschweiz war die Nummer 2“</a>                  <div class='description'>Thurgauer Zeitung 17.05.2008 - 200KB</div>              </div>          </div>            <div class='item'>              <i class='large pdf file top aligned icon'></i>              <div class='content'>                  <a class='bold' href='./medien/Nike Bulltin 1 1998.pdf' target='_blank'>150 Jahre Bundesstaat – 150 Jahre Industriekultur</a>                  <div class='description'>Nike Bulltin 1/1998 - 2.17MB</div>              </div>          </div>      </div>    </div>  </div>",GC="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Links</h1>  </div></div><div class='row'>  <div class='column'>    <div class='ui relaxed list'>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.sgti.ch/' target='_blank'>SGTI  Schweizerische Gesellschaft für Technikgeschichte und Industriekultur</a>              <div class='description'>sgti.ch</div>          </div>      </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://stiftungindustriekultur.ch' target='_blank'>Stiftung Industriekultur, Archiv mit Bildern, Dokumenten und Objekten</a>                  <div class='description'>stiftungindustriekultur.ch</div>              </div>          </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://industriekulturspot.ch/' target='_blank'>Industriekultur Spot</a>                  <div class='description'>industriekulturspot.ch</div>              </div>          </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://www.nike-kulturerbe.ch' target='_blank'>Nationale Informationsstelle zum Kulturerbe NIKE</a>                  <div class='description'>nike-kulturerbe.ch</div>              </div>          </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='http://www.icomos.ch/' target='_blank'>ICOMOS Schweiz, nationalen Gruppe des internationalen Rats für Denkmäler und historische Stätten</a>                  <div class='description'>icomos.ch</div>              </div>          </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://ba.e-pics.ethz.ch' target='_blank'>ETH Bildarchiv</a>                  <div class='description'>ba.e-pics.ethz.ch</div>              </div>          </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='http://www.heimatschutz.ch/' target='_blank'>Schweizer Heimatschutz</a>                  <div class='description'>heimatschutz.ch</div>              </div>          </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://www.satw.ch/' target='_blank'>Schweizerische Akademie der Technischen Wissenschaften, Expertennetzwerk</a>                  <div class='description'>satw.ch</div>              </div>          </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://industriekultur-winterthur.ch/site/' target='_blank'>
16inbahn, Verein für Industrie und Bahnkultur Winterthur</a>                  <div class='description'>industriekultur-winterthur.ch</div>              </div>          </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://www.museums.ch/' target='_blank'>VMS Verband der Museen Schweiz</a>                  <div class='description'>museums.ch</div>              </div>          </div>          <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://www.industriekultour.ch/' target='_blank'>Industriekultour</a>                  <div class='description'>industriekultour.ch</div>              </div>          </div>          <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://www.ik-kriens.ch/' target='_blank'>App für einen Industrie- und Kulturweg in Kriens</a>                  <div class='description'>ik-kriens.ch</div>              </div>          </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://glarner-industrieweg.ch' target='_blank'>Glarner Industrieweg</a>                  <div class='description'>glarner-industrieweg.ch</div>              </div>          </div>      <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://ipzo.ch/' target='_blank'>Industriepfad Zürcher Oberland</a>                  <div class='description'>ipzo.ch</div>              </div>          </div>					<div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='https://www.dampfzentrum.ch/' target='_blank'>Dampfzentrum Winterthur</a>                  <div class='description'>dampfzentrum.ch/</div>              </div>          </div>          <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='http://www.denkmalaktiv.ch' target='_blank'>Denkmalaktiv</a>                  <div class='description'>denkmalaktiv.ch</div>              </div>          </div>          <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                  <a class='bold' href='http://www.arias-industriekultur.ch' target='_blank'>ARIAS Industriekultur, Gutachten zu Industriekulturgütern</a>                  <div class='description'>arias-industriekultur.ch</div>              </div>          </div>      </div>  </div></div>",jC="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Kontakt</h1>  </div></div><div class='row'>  <div class='column'>    <p>      Projektleiterin Hanna Gervasi      <br />      Marktgasse 37      <br />      8400 Winterthur      <br />      052 202 02 27      <br />      <a href='mailto:[email protected]'>[email protected]</a>      <br />      <br />      Wir nehmen für die Datenbank gerne Korrekturmeldungen entgegen.    </p>  </div></div>",KC="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Newsletter</h1>  </div></div><div class='row'>  <div class='column'>    <!-- Begin Mailchimp Signup Form -->    <link href='//cdn-images.mailchimp.com/embedcode/classic-10_7.css' rel='stylesheet' type='text/css' />    <style type='text/css'>        #mc_embed_signup {            background: #fff;            clear: left;            padding: unset !important;        }            #mc_embed_signup form {                padding: unset !important;            }        /* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.	            We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */    </style>    <div id='mc_embed_signup'>        <form action='https://sgti.us18.list-manage.com/subscribe/post?u=be90e5add823826da9bb9b66e&amp;id=84a99a2264' method='post' id='mc-embedded-subscribe-form' name='mc-embedded-subscribe-form' class='validate' target='_blank' novalidate>            <div id='mc_embed_signup_scroll'>                <p style='font-weight: bold;'>Ich will den SGTI-Newsletter bestellen:</p>                <div class='indicates-required'>
16                    <span class='asterisk'>*</span> erforderlich                </div>                <div class='mc-field-group'>                    <label for='mce-EMAIL'>                        E-Mail-Adresse                        <span class='asterisk'>*</span>                    </label>                    <input type='email' value='' name='EMAIL' class='required email' id='mce-EMAIL' />                </div>                <div class='mc-field-group'>                    <label for='mce-FNAME'>Vorname </label>                    <input type='text' value='' name='FNAME' class='' id='mce-FNAME' />                </div>                <div class='mc-field-group'>                    <label for='mce-LNAME'>Nachname </label>                    <input type='text' value='' name='LNAME' class='' id='mce-LNAME' />                </div>                <div class='mc-field-group'>                    <label for='mce-MMERGE5'>Organisation </label>                    <input type='text' value='' name='MMERGE5' class='' id='mce-MMERGE5' />                </div>                <div id='mce-responses' class='clear'>                    <div class='response' id='mce-error-response' style='display:none'></div>                    <div class='response' id='mce-success-response' style='display:none'></div>                </div><!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->                <div style='position: absolute; left: -5000px;' aria-hidden='true'>                    <input type='text' name='b_be90e5add823826da9bb9b66e_84a99a2264' tabindex='-1' value='' />                </div>                <div class='clear'>                    <input type='submit' value='Abonnieren' name='subscribe' id='mc-embedded-subscribe' class='button' />                </div>            </div>        </form>        <p>            Hinweis: Sie werden auf eine externe Seite weitergeleitet (mailchimp)        </p>    </div>    <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'><\/script>    <script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='MMERGE5';ftypes[5]='text'; /*              * Translated default messages for the $ validation plugin.              * Locale: DE              */            $.extend($.validator.messages, {	            required: 'Dieses Feld ist ein Pflichtfeld.',	            maxlength: $.validator.format('Geben Sie bitte maximal {0} Zeichen ein.'),	            minlength: $.validator.format('Geben Sie bitte mindestens {0} Zeichen ein.'),	            rangelength: $.validator.format('Geben Sie bitte mindestens {0} und maximal {1} Zeichen ein.'),	            email: 'Geben Sie bitte eine gültige E-Mail Adresse ein.',	            url: 'Geben Sie bitte eine gültige URL ein.',	            date: 'Bitte geben Sie ein gültiges Datum ein.',	            number: 'Geben Sie bitte eine Nummer ein.',	            digits: 'Geben Sie bitte nur Ziffern ein.',	            equalTo: 'Bitte denselben Wert wiederholen.',	            range: $.validator.format('Geben Sie bitten einen Wert zwischen {0} und {1}.'),	            max: $.validator.format('Geben Sie bitte einen Wert kleiner oder gleich {0} ein.'),	            min: $.validator.format('Geben Sie bitte einen Wert größer oder gleich {0} ein.'),	            creditcard: 'Geben Sie bitte ein gültige Kreditkarten-Nummer ein.'            });            }(jQuery)); var $mcj = jQuery.noConflict(true);    <\/script>    <!--End mc_embed_signup-->  </div></div>",HC="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Impressum</h1>  </div></div><div class='row'>  <div class='five wide column'>    <h4>Industriekultur Schweiz</h4>    <p>
16Leitung: Hanna Gervasi</p>    <h4>Technik </h4>    <p>cTool GmbH</p>    <h4>Gestaltung</h4>    <p>Simone Vollenweider</p>    <h4>Konzept und Redaktion</h4>    <p>Hanna Gervasi und Helen Girardier</p>    <h4>Fotos</h4>    <p>Hans-Peter Bärtschi, Hanna Gervasi und Industriekultur Schweiz Mitarbeitende</p>  </div>  <div class='six wide column'>    <h4>E-Mail</h4>    <p>Sämtliche E-Mail-Korrespondenz ist aufgrund technischer Unzulänglichkeiten des Internets als nicht vertraulich zu betrachten.</p>    <h4>Links</h4>    <p>Die Verbindung zu verlinkten Webseiten erfolgt auf eigenes Risiko.</p>    <h4>Haftungsausschluss</h4>    <p>Alle Informationen auf dieser Site wurden mit grosser Sorgfalt zusammengestellt. Trotzdem übernehmen Industriekultur Schweiz und die SGTI keine Gewähr für Genauigkeit, Zuverlässigkeit, Aktualität oder Vollständigkeit der Informationen. Industriekultur Schweiz und die SGTI haften in keinem Fall für Schäden oder Folgeschäden irgendwelcher Art, die aus dem Zugriff oder der Benutzung der Webseite entstehen könnten.</p>    <h4>Datenschutz</h4>    <p>Industriekultur Schweiz gibt keine Daten an Drittpersonen oder -parteien weiter. Alle auf dieser Webseite erhobenen Daten werden ausschliesslich für interne Zwecke verwendet.</p>  </div>  <div class='five wide column'>    <h4>Copyright</h4>    <p>Der gesamte Inhalt der Webseite industriekultur.ch samt Konzept, Texten und Bilder ist urheberrechtlich geschützt. Die Fotos dürfen nur mit Angabe des Copyrights verwendet werden.</p>  </div></div>",WC="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Team / Trägerschaft</h1>  </div></div><div class='row'>  <div class='eight wide column'>    <h3>Team</h3>    <p>      Projektleitung Hanna Gervasi<br />      Hanna Gervasi, dipl. Architektin MA ZFH, seit 2013 für Industriekultur Schweiz tätig; Seit 2022 als Dozentin an der ZHAW Winterthur Architekturabteilung für ein Wahlfach für Technikgeschichte zuständig.    </p>    <p>      Helen Girardier, lic. phil. I, Historikerin; langjährige Mitarbeiterin des Büro Arias und der Stiftung Industriekultur, seit 2018 für Industriekultur Schweiz tätig.    </p>    <p>      Valeria Frei, lic. phil. 1, Kunsthistorikerin; seit 2019 für die italienischsprachigen Inventarseiten von Industriekultur Schweiz und Autorin von «Ticino industriale» Una guida architettonica.     </p>    <p>      Sylvia Bärtschi-Baumann, lic. phil. I, Sozialwissenschaftlerin. 2006 - 2017 Web-Projektleiterin von Industriekultur Schweiz, seit 2018 für die Pflege der Datenbank verantwortlich, Präsidentin der Stiftung Industriekultur. 2023 Bearbeitung der Solothurner Inventarblätter.     </p>    <p>      Initiant:<br />      Hans-Peter Bärtschi (* 23. Februar 1950 in Winterthur; † 2. Februar 2022 ebenda), war Dr. sc. tech., dipl. Arch. ETH, Technik- und Wirtschaftshistoriker; 1979 - 2017 Inhaber der Firma Arias-Industriekultur und Autor von über 10’000 Bestandesaufnahmen und Gutachten von Fabriken und Maschinen sowie zahlreicher Publikationen zur Eisenbahn- und Industriekultur; 2008 mit dem Kulturpreis der Stadt Winterthur ausgezeichnet und 2014 mit dem Lebenswerkpreis der Landis & Gyr Stiftung; seit 2018 war er wissenschaftlicher Berater für Industriekultur Schweiz tätig.    </p>    <p>      Ehemalige Mitarbeitende:<br />      Manuel Cecilia, lic. phil. I, (2019-2022 in Co-Leitung mit H. Gervasi), Dr. Franziska Becker, Bettina Mächler, Severin Gut, Viola Müller, Lukas Frei, Bernhard Stickel, Ines Feistner, Peter Leiss.      </p>    <h3>Trägerschaft</h3>    <p>Hinter Industriekultur Schweiz steht die Schweizerische Gesellschaft für Technikgeschichte und Industriekultur (SGTI). Die Organisation engagiert sich seit 1996 für die Erhaltung von Industriekulturgütern. Sie beteiligt sich an der internationalen Zeitschrift «Industrie-Kultur», stellt vierteljährlich im Industriekultur-Bulletin «In.Ku» gefährdete Schweizer Industrieobjekte vor und organisiert für ihre rund 300 Mitglieder Vorträge und Exkursionen.</p>    <div class='ui relaxed list'>      <div class='item'>        <i class='large linkify top aligned icon'></i>        <div class='content'>            <a class='bold' href='https://sgti.ch' target='_blank'>sgti.ch</a>        </div>      </div>    </div>    <h3>Stiftung Industriekultur</h3>    <p>      Industriekultur Schweiz recherchiert in diversen Archiven und Bibliotheken. Besonders hilfreich ist das Archivmaterial des ehemaligen Büros Arias, das der Stiftung Industriekultur gehört. Es besteht aus Fachbüchern, Gutachten, Bestandesaufnahmen und vielen Bildern. Die Stiftung wurde 2005 von Hans-Peter und Sylvia Bärtschi-Baumann gegründet.    </p>    <div class='ui relaxed list'>      <div class='item'>        <i class='large linkify top aligned icon'></i>        <div class='content'>            <a class='bold' href='https://stiftungindustriekultur.ch' target='_blank'>stiftungindustriekultur.ch</a>        </div>      </div>    </div>    <h3>Fundraising</h3>    <p>      2023 bis heute: Valeria Frei<br />      2017 bis heute: Hanna Gervasi<br />      2022: Manuel Cecilia<br />      2005 – 2015: Dr. Hans-Peter Bärtschi, Pascal Troller und Dr. Franziska Becker    </p>  </div>  <div class='eight wide column'>    <img class='ui image' src='src/assets/menu/Gruppenbild_2022.jpg' />  </div></div>",$C="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Spenden</h1>  </div></div><div class='row'>  <div class='column'>    <p>      Wer Industriekultur Schweiz unterstützen möchte, kann dies mit Unterlagen oder Fachwissen tun oder mit einer finanziellen Zuwendung.     </p>    <p>      Industriekultur CH, Marktgasse 37, 8400 Winterthur<br />      IBAN: CH58 0070 0114 8054 6502 4    </p>    <div class='ui relaxed list'>      <div class='item'>        <i class='large pdf file top aligned icon'></i>        <div class='content'>          <a class='bold' href='./medien/QR Einzahlungsschein Industriekultur.ch.pdf' target='_blank'>            QR Code          </a>        </div>      </div>    </div>  </div></div>",Dp={menu_industriekulturSchweiz:kC,menu_leitbild:TC,menu_publikationen:IC,menu_partner:xC,menu_medienspiegel:CC,menu_links:RC,menu_kontakt:AC,menu_newsletter:MC,menu_impressum:DC,menu_team:LC,menu_spenden:OC,content_industriekulturSchweiz:PC,content_leitbild:FC,content_publikationen:zC,content_partner:BC,content_medienspiegel:NC,content_links:GC,content_kontakt:jC,content_newsletter:KC,content_impressum:HC,content_team:WC,content_spenden:$C},ZC="Industriekultur Schweiz",UC="Leitbild",VC="Publikationen",YC="Industriekultur Spot",XC="Partner",qC="Medienspiegel",QC="Links",JC="Kontakt",eR="Newsletter",tR="Impressum",iR="<div class='row'>        <div class='column'>          <h1 class='uppercase underline'>Industriekultur Schweiz</h1>        </div>      </div><div class='row'>        <div class='eight wide column'>          <p>Industriekultur Schweiz macht die wichtigsten Zeugen der industriellen Vergangenheit der Schweiz sichtbar und verzeichnet sie in einem nationalen Online-Inventar. Die Industriekulturobjekte von fünfzehn Kantonen sind bereits erfasst und online. Die Objekte der restlichen Kantone folgen. Zu den attraktivsten Industriekulturgütern wurden bisher drei Wanderausstellungen gezeigt und fünf regionale Wanderführer publiziert.</p>          <p>Das Online-Inventar verzeichnet systematisch und flächendeckend alle historisch relevanten Bauten, Maschinen, Transportanlagen und Archivbestände von produzierenden und stillgelegten Betrieben. So erhalten die kantonalen De
16nkmalpflegen erstmals eine Übersicht über den schweizweiten Bestand der Kulturgüter, welche die 150-jährige Industrie-Geschichte unseres Landes dokumentieren. Dank dem Vergleich lassen sich seltene und einzigartige Objekte ermitteln. Dies ist gerade bei jenen Industrie-Anlagen hilfreich, die brach liegen oder kurz vor dem Abbruch stehen. Es wird deutlich, welche Gebäude Neuem Platz machen können und welche gezielt geschützt werden sollen. So können auch künftige Generationen nachvollziehen, wie die Industrie den Lebensstandard und die Siedlungs- und Verkehrsentwicklung prägte. Es bleibt in lebendiger Erinnerung, dass die Schweiz nach dem Zweiten Weltkrieg zu den führenden Industrienationen gehörte.</p>          <p>Hinter Industriekultur Schweiz steht der Verein Schweizerische Gesellschaft für Technikgeschichte und Industriekultur, www.sgti.ch. Die finanziellen Mittel stammen vom Bund, von Kantonen, Gemeinden, Stiftungen sowie von privater Seite. Für die Realisierung sorgt ein Projektteam in Winterthur, das mit den kantonalen Denkmalpflegen zusammenarbeitet.</p>          <p>Aktuell ist die Inventarisierung der Südostschweiz im Gang. Die Inventarseiten der Kantone Glarus, Graubünden und Tessin werden ab Anfang 2021 online verfügbar sein.</p>        </div>        <div class='eight wide column'>          <img class='ui fluid image' src='src/assets/menu/Industriekultur_Schema_Karte.jpg' />          <img class='ui fluid image' src='src/assets/menu/Industriekultur_Bestandesaufnahme.jpg' />        </div>      </div>      <div class='row'>        <div class='column'>          <h2 class='uppercase underline'>Web</h2>        </div>      </div>      <div class='row'>        <div class='eight wide column'>          <p>Das Online-Inventar verzeichnet die bereits erfassten Industriekulturgüter der Schweiz und lädt zum Stöbern genauso ein wie zum präzisen Suchen.</p>          <p>Es umfasst bis heute rund 5’500 Seiten. Sie dokumentieren die Industriekulturobjekte der Kantone Bern, Zürich, Appenzell Ausserrhoden und Innerrhoden, Schaffhausen, St. Gallen, Thurgau, Baselstadt und Baselland, Luzern, Obwalden und Nidwalden, Schwyz, Uri, Zug und des Fürstentums Liechtenstein. 2030 wird das Online-Inventar abgeschlossen sein und aus rund 11’000 Seiten bestehen.</p>          <p>Jedes Objekt ist mindestens mit einem Kurztext und einem Bild dokumentiert und auf der Schweizerkarte verortet. Komplexere oder besonders gut erhaltenen Objekte sind mit Hilfe von maximal sechs zusätzlichen Informationskategorien genauer beschrieben. So ist im ausführlichsten Fall dokumentiert, was das Unternehmen produziert, welche Kräfte seine Maschinen antreiben, wie Bahnen oder andere Transportmittel die Rohstoffe und Produkte transportieren, ob wichtige Hochbauten wie Fabrikgebäude, Direktorenvillen oder Arbeiterhäuser zum Betrieb gehören, ob Tiefbauten wie Kanäle oder Wehre erhalten sind und ob ein Firmenarchiv oder eine firmeneigene Sammlung von Objekten vorhanden ist.</p>        </div>        <div class='eight wide column'>          <img class='ui fluid image' src='src/assets/menu/Industriekultur_Zeugen.jpg' />        </div>      </div>      <div class='row'>        <div class='column'>          <h2 class='uppercase underline'>Ausstellungen</h2>        </div>      </div>      <div class='row'>        <div class='ten wide column'>          <h3>Brugg Windisch Sonderausstellung «Von Menschen und Maschinen»</h3>          <p>Von März bis Ende Oktober 2021 präsentierte Museum Aargau im Rahmen des Mottojahres «IndustrieWelt Aargau» die Sonderausstellung «Von Menschen und Maschinen».</p>          <p>Die Ausstellung zeichnet die Lebensrealitäten im Zeitalter der Industrialisierung nach und bietet Einblicke eine vom Wandel geprägten Gesellschaft. Es treffen Patrons auf Arbeiterfamilien der Aargauer Industrie. Die Ausstellung thematisiert Vergangenheit, Gegenwart und Zukunft der Arbeit.</p>          <p>industriekultur.ch war Teil der Ausstellung. Das nationale Projekt ist in der Ausstellung über ein eigenes Computerterminal aufrufbar. Erste Firmen und industriegeschichtlich relevante Baudenkmäler der Region Brugg verdeutlichen die Inventarisationstätigkeit für den Kanton Aargau.</p>          <div class='ui relaxed list'>            <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                <a class='bold' href='http://industrieweltaargau.ch' target='_blank'>Verein „Industriewelt Aargau“</a>              </div>            </div>            <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                <a class='bold' href='https://www.museumaargau.ch/menschen-und-maschinen' target='_blank'>Museum Aargau, Ausstellung Menschen und Maschinen</a>              </div>            </div>          </div>          <h3>Basel</h3>          <p>
16Die Wanderausstellung gastierte 2014/15 in den Museen BL in Liestal, kleines Klingental in Basel und in Lörrach. Sie thematisierte die Chemie- und Pharmaindustrie in der Stadt Basel, die frühindustrielle Papierherstellung im St. Alban-Tal, die Infrastruktur-Bauten der Bahn und der Rheinschifffahrt, die Salinen, die obere Hauenstein-Bahnlinie, die Feinmechanik im Waldenburgertal und die erdverarbeitende Industrie im Laufental.</p>          <h3>Ostschweiz</h3>          <p>Die Wanderausstellung gastierte 2012/13 in der Stahlgiesserei Schaffhausen, in St. Gallen und im Seemuseum Kornschütte in Kreuzlingen-Hafen. Fotos, Texte und Objekte machten aufmerksam auf Produktionsgebäude, die Geschichte schrieben oder Orte prägen. Sie erinnerten an den Bau von Bahnlinien, Brücken und Kanälen, an die Korrektion des Rheins und an den Gütertransport auf dem Bodensee.</p>          <h3>Zürich</h3>          <p>Die Wanderausstellung gastierte 2009/10 im Mühlerama in Zürich, in der Fabrikkirche und im alten Lokdepot in Winterthur sowie in der Museums-Spinnerei Neuthal. Historische Fotos, Texte und Objekte erzählten von ersten Fabriken in Uerikon-Stäfa, von der frühen Industriewelt in Wald und von grossen Spinnereien im Tösstal.</p>          <h3>            Tour durch die Schweiz            <br />150 Jahre Bundesstaat – 150 Jahre Industriekultur          </h3>          <p>Die erste Wanderausstellung zum Thema Industriekultur tourte 1998 in drei Sprachen durch die ganze Schweiz. Sie gastierte in sechzehn historischen Fabrikgebäuden und Museen. Zum Rahmenprogramm gehörten 150 Exkursionen und die Realisierung von diversen Industriekultur-Projekten. Die Ausstellung zeigte auf, wie die Industrie die Gründung des Bundestaates begünstigte und die Entwicklung der modernen Schweiz mitgestaltete. Themen waren Wasserkraft, Dampf und Strom, die Textil- und Maschinenindustrie, der Bau der Alpentransversalen und der Eisenbahn, Verstädterung, Tourismus, Massenkonsum, Rohstoffe und schliesslich auch die Desindustrialisierung.</p>        </div>        <div class='six wide column'>          <img class='ui fluid image' src='src/assets/menu/Ausstellung_Aargau.jpg' />          <span class='imgLegend'>Ausstellung Brugg: M. Cecilia 2021</span>          <br />          <br />          <img class='ui fluid image' src='src/assets/menu/Ausstellung_Basel_SW_IMG_8022.jpg' />          <span class='imgLegend'>Liestal, BS, Museum.BL, H. Gervasi 2014</span>        </div>      </div>      <div class='row'>        <div class='column'>          <h2 class='uppercase underline'>Geschichte</h2>        </div>      </div>      <div class='row'>        <div class='column'>          <img class='ui image' src='src/assets/menu/Zeitstrahl_Industriekultur.jpg' />        </div>      </div>      <div class='row'>        <div class='column'>          <h2 class='uppercase underline'>Organisation / Trägerschaft</h2>        </div>      </div>      <div class='row'>        <div class='eight wide column'>          <h3>Idee und Realisierung</h3>          <p>Industriekultur Schweiz wurde initiiert und zwei Jahrzehnte lang geleitet vom Industriearchäologen Dr. Hans-Peter Bärtschi. Für die inhaltliche und technische Umsetzung sorgten im Laufe der Zeit verschiedene langjährige wissenschaftliche Mitarbeitende.</p>          <h3>Aktuelles Team</h3>          <p>            Co-Leitung Hanna Gervasi und Manuel Cecilia.<br />            Hanna Gervasi, dipl. Architektin MA ZFH, seit 2013 für Industriekultur Schweiz tätig; Seit 2022 als Dozentin an der ZHAW Winterthur Architekturabteilung für ein Wahlfach für Technikgeschichte zuständig.<br />            Manuel Cecilia, lic. phil. I, Historiker und Vermittlungsfachmann, seit 2019 für Industriekultur Schweiz tätig. Seit 2021 Präsident des Verbands VAMUS Aargauer Museen und Sammlungen.          </p>          <p>            Helen Girardier, lic. phil. I, Historikerin; langjährige Mitarbeiterin des Büro Arias und der Stiftung Industriekultur, seit 2013 für Industriekultur Schweiz tätig.          </p>          <p>            Valeria Frei, lic. phil. 1, Kunsthistorikerin; seit 2019 für die italienischsprachigen Inventarseiten von Industriekultur Schweiz.          </p>          <p>            Sylvia Bärtschi-Baumann, lic. phil. I, Sozialwissenschaftlerin. 2006 - 2017 Web-Projektleiterin von Industriekultur Schweiz, seit 2018 für die Pflege der Datenbank verantwortlich, Präsidentin der Stiftung Industriekultur.          </p>          <p>            Initiant:<br />            Hans-Peter Bärtschi (* 23. Februar 1950 in Winterthur; † 2. Februar 2022 ebenda), war Dr. sc. tech., dipl. Arch. ETH, Technik- und Wirtschaftshistoriker; 1979 - 2017 Inhaber der Firma Arias-Industriekultur und Autor von über 10’000 Bestandesaufnahmen und Gutachten von Fabriken und Maschinen sowie zahlreicher Publikationen zur Eisenbahn- und Industriekultur; 2008 mit dem Kulturpreis der Stadt Winterthur ausgezeichnet und 2014 mit dem Lebenswerkpreis der Landis & Gyr Stiftung; seit 2018 war er wissenschaftlicher Berater und Buchautor für Industriekultur Schweiz tätig.          </p>          <h3>Trägerschaft</h3>          <p>Hinter Industriekultur Schweiz steht die Schweizerische Gesellschaft für Technikgeschichte und Industriekultur (SGTI). Die Organisation engagiert sich seit 1996 für die Erhaltung von Industriekulturgütern. Sie beteiligt sich an der internationalen Zeitschrift «Industrie-Kultur», stellt vierteljährlich im Industriekultur-Bulletin «In.Ku» gefährdete Schweizer Industrieobjekte vor und organisiert für ihre rund 600 Mitglieder Vorträge und Exkursionen.</p>          <div class='ui relaxed list'>            <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                <a class='bold' href='https://sgti.ch/' target='_blank'>sgti.ch</a>              </div>            </div>          </div>          <h3>Stiftung Industriekultur</h3>          <p>Industriekultur Schweiz recherchiert in diversen Archiven und Bibliotheken. Besonders hilfreich ist das Archivmaterial des ehemaligen Büros Arias, das der Stiftung Industriekultur gehört. Es besteht aus Fachbüchern, Gutachten, Bestandesaufnahmen und vielen Bildern. Die Stiftung wurde 2005 von Hans-Peter und Sylvia Bärtschi-Baumann gegründet.</p>          <div class='ui relaxed list'>            <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                <a class='bold' href='https://stiftungindustriekultur.ch/' target='_blank'>stiftungindustriekultur.ch</a>              </div>            </div>          </div>          <h3>Fundraising</h3>          <p>            Seit 2017: Hanna Gervasi            <br />2005 – 2015: Dr. Hans-Peter Bätschi, Pascal Troller und Dr. Franziska Becker          </p>        </div>        <div class='eight wide column'>          <img class='ui image' src='src/assets/menu/Gruppenbild_2022.jpg' />        </div>      </div>",nR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Leitbild</h1>  </div></div><div class='row'>  <div class='column'>    <div class='ui relaxed list'>      <div class='item'>        <i class='large pdf file top aligned icon'></i>        <div class='content'>          <a class='bold' href='./medien/Leitbild_Industriekultur.pdf' target='_blank'>            Leitbild industriekultur.ch 2022          </a>          <div class='description'>21MB</div>        </div>      </div>    </div>  </div></div>",sR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Publikationen</h1>  </div></div><div class='row'>  <div class='ten wide column'>    <p>
16Im Rahmen von Industriekultur Schweiz sind im Rotpunktverlag bisher fünf Wanderbücher erschienen. Sie alle führen auf acht Routen durch Industrielandschaften und lenken den Blick auf produzierende und stillgelegte Fabriken, historische Kanäle, Mühlen und Sägen mit Wasserrädern, ehemalige Arbeiterhäuser, Fabrikantenvillen, Wasserkraftwerke und Museen mit Maschinen. So wird die Produktion von Alltagsgütern nachvollziehbar. Und weil diese Güter auch transportiert werden müssen, gibt es auch Hinweise auf historisch interessante Bahnstrecken, Bahnhöfe, Museumsbahnen, Häfen, frühe Stahl- und Betonbrücken. Die Bücher eignen sich für Kultur-Interessierte, Ausflugsgruppen oder Schulklassen und Familien, welche mit Bahn, Velo, Schiff oder zu Fuss auf Erkundungstour gehen wollen. Übersichtskarten zeigen, wo sich ein Halt lohnt und Bild und Text informieren, was es zu sehen gibt. Im Serviceteil finden sich nützliche Hinweise.</p>    <h4>Zentralschweiz</h4>    <p>Themen sind die Gründerbauten der »Milchsüdi« in Cham, die Geschichte des Nestlé-Konzerns, der Industriepfad an der Lorze, die vielen Bergbahnen, welche die berühmte Bergwelt mit Rigi und Pilatus erschliessen, Stahlwerke, Rüstungsbetriebe und viele andere Produktionsstätten.</p>    <p>Industriekultur der Zentralschweiz. Unterwegs zu 333 Schauplätzen des produktiven Schaffens. 312 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2017. Fr. 20.-</p>    <h4>Basel</h4>    <p>Die Region ist einerseits durch die chemische Industrie geprägt worden und andererseits durch den Ausbau der Basler Rheinhäfen und der Bahn- und Strassenanlagen. Zwischen Pratteln, Basel, Deutschland und Frankreich ist ein ganzes Logistikrevier entstanden.</p>    <p>Industriekultur beider Basel. Unterwegs zu 333 Schauplätzen des produktiven Schaffens. 272 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2014. Fr. 20.-</p>    <h4>Ostschweiz</h4>    <p>Das ländliche Image trügt. Die Ostschweiz ist überdurchschnittlich industrialisiert. In den Kantonen Schaffhausen, Thurgau, St. Gallen, den beiden Appenzell sowie dem Fürstentum Liechtenstein gibt es viele spannende Industriekultur-Objekte zu entdecken.</p>    <p>Industriekultur in der Ostschweiz und im Fürstentum Liechtenstein. Unterwegs zu 333 Schauplätzen des produktiven Schaffens. 318 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2012. Fr. 20.-</p>    <h4>Zürich</h4>    <p>Zur facettenreichen Industrielandschaft gehören urbane Fabrikanlagen in Winterthur und Zürich, Industrie-Täler, Museen mit Maschinen und Bahnen mit historischem Rollmaterial. Erinnerungen an die frühe Produktion finden sich am Zürichsee-Ufer, in Uster, in Wald, im Tösstal und im Sihlwald.</p>    <p>Industriekultur im Kanton Zürich. Unterwegs zu 222 Schauplätzen des produktiven Schaffens, 304 Seiten, 8 Exkursionsrouten, Objekte nach Branchen, über 600 Pläne und Fotos, rotpunktverlag Zürich 2009. Fr. 20.-</p>    <h4>Bern</h4>    <p>Themen sind Uhren und Elektrizität in Biel und an der Schüss, Brückenbau in der Stadt Bern, Dampfschifffahrt auf Thuner- und Brienzersee, die Erschliessung der Jungfrauregion und die Thuner Selve-Metallwerke.</p>    <p>Industriekultur im Kanton Bern. Wegbegleiter zu 333 technischen Sehenswürdigkeiten, 280 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2006. Fr. 20.-</p>  </div>  <div class='six wide column'>    <img class='ui image' src='src/assets/menu/IKS_Buecher_IMG_9499.jpg' />    <h4>Bestellung</h4>    <p>        <a href='mailto:[email protected]'>[email protected]</a>    </p>  </div></div>",rR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Industriekultur Spot</h1>  </div></div><div class='row'>  <div class='ten wide column'>    <div class='ui relaxed list'>      <div class='item'>        <i class='large linkify top aligned icon'></i>        <div class='content'>          <a class='bold' href='https://industriekulturspot.ch/' target='_blank'>Industriekultur Spot</a>          <div class='description'>industriekulturspot.ch</div>        </div>      </div>    </div>  </div>  <div class='six wide column'>
16    <img class='ui image' src='src/assets/menu/IKSpot_Abbildung_Kraftwerk_Zervreila_GR.jpg' />    <span class='imgLegend'>Vals, GR, Kraftwerk Zervreila AG, Fotomontage basierend auf einer Fotografie von J. Gervasi, 2015</span>  </div></div>",oR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Partner</h1>  </div></div><div class='row'>  <div class='column'>    <p>Industriekultur Schweiz pflegt den Kontakt mit allen Personen und Einrichtungen, die den Aufbau des nationalen Inventars in irgendeiner Form unterstützen. Wichtige Partner sind Geldgeber, Denkmalpflegen sowie öffentliche und private Archive, Bibliotheken und Museen. Ebenfalls hilfreich sind Interessengemeinschaften, die ein bestimmtes Thema im Fokus haben, wie Mühlen-, Bergbau- oder Bahnfreunde oder Gruppen, die einen Industrielehrpfad oder ein Industriekulturobjekt bewirtschaften. Das Team tauscht sich mit Fachpersonen aus, nutzt private Informationsplattformen wie swiss-timber-bridges.ch oder swisstrafo.ch und holt bei Bedarf auch Auskünfte von Personen ein, die im Besitz eines Industrieobjekts sind. Wer Industriekultur Schweiz unterstützen möchte, kann dies mit Unterlagen oder Fachwissen tun oder mit einer finanziellen Zuwendung. SGTI Postkonto PC-89 963160 0, IBAN CH05 0900 0000 8996 3160 0</p>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>Finanzielle Unterstützung</h2>  </div></div><div class='row'>  <div class='column'>    <p>Industriekultur Schweiz wird ermöglicht dank Beiträgen von der öffentlichen Hand, Stiftungen, Firmen und Privaten. An sie alle geht ein grosses Dankeschön.</p>  </div></div><div class='row'>  <div class='five wide column'>    <h4>Etappe Zentralschweiz</h4>    <p>        <b>Bundesamt für Kultur BAK</b>    </p>    <p>        <b>Swisslos:</b>        <br />        Kantone Luzern, Schwyz, Zug    </p>    <p>        <b>Kantone:</b>        <br />        die Kulturpflege des Kantons Obwalden, Kantone Nidwalden und Uri    </p>    <p>        <b>Stiftungen:</b>        <br />        Alfred Richterich Stiftung        <br />        Dätwyler Stiftung        <br />        Stiftung Dorothea und Paul Schwob        <br />        Ernst Göhner Stiftung        <br />        Familien Vontobel-Stiftung        <br />        Stiftung Karl und Elise Elsener        <br />        Landis und Gyr Stiftung        <br />        Otto Gamma Stiftung        <br />        Stiftung F.D. Doron        <br />        Straub-Gyr Fonds    </p>    <p>        <b>Gemeinden:</b>        <br />        Altdorf, Bauen, Bezirk Küssnacht am Rigi, Bezirk Einsiedeln, Bürglen, Eschenbach, Flüelen, Galgenen, Göschenen, Neuenkirch, Oberkirch, Schübelbach, Stans, Steinhausen, Wollerau, Zug    </p>    <p>        <b>Weitere:</b>        <br />        Heimatschutz Zug, MEG Instruments Dr. Markus Meier Aarau, Schmolz + Bickenbach AG Emmen, Schwyzer, Kantonalbank Schwyz, Zentralschweizer Kantonalbanken, Hans-Peter Bärtschi Winterthur, Renatus Hindermann Wolfhausen    </p>    <h4>Etappe Basel</h4>    <p>        <b>Bundesamt für Kultur BAK</b>    </p>    <p>        <b>Swisslos:</b>        <br />        Basel-Stadt und Basel-Landschaft    </p>    <p>        <b>Stiftungen:</b>        <br />        Emil und Rosa Richterich-Beck        <br />        Ernst Göhner Stiftung        <br />        Gerold und Niklaus Schnitter-Fonds für Technikgeschichte ETH-Zürich        <br />        Otto Gamma-Stiftung Zürich        <br />        Sophie und Karl Binding Stiftung        <br />        Vontobel Stiftung    </p>    <p>        <b>Gemeinden:</b>        <br />        Allschwil, Arlesheim, Blauen, Gelterkinden, Pratteln, Laufen    </p>    <p>        <b>Weitere:</b>        <br />        Dreyfuss Söhne + Cie AG Basel, Heimatschutz Basel-Stadt, Industrielle Werke Basel MEG, Instruments Dr. Markus Meier Aarau, Schweizer Rheinsalinen    </p>  </div>  <div class='six wide column'>    <h4>Etappe Ostschweiz</h4>    <p>        <b>Swisslos:</b>        <br />        Kantone Appenzell Ausserrhoden, Schaffhausen, St. Gallen, Thurgau und Fürstentum Liechtenstein    </p>    <p>        <b>Stiftungen:</b>        <br />        Avina Stiftung        <br />        Bertold-Suhner-Stiftung        <br />        Dr. Fred Styger Stiftung        <br />        Dr. Heinrich Mezger-Stiftung        <br />        Ernst Göhner Stiftung        <br />        F. + A. Frey-Bücheler-Stiftung        <br />        Fredy & Regula Lienhard Stiftung        <br />        Gerold und Niklaus Schnitter-Fonds für Technikgeschichte ETH-Zürich        <br />        Huber + Suhner-Stifung        <br />        Karl Mayer Stiftung Triesen (FL)        <br />        Rheintaler Kulturstiftung        <br />        RHW-Stiftung        <br />        Sophie und Karl Binding Stiftung        <br />        Stiftung Dr. med. hc. Margrit Bohren-Hoerni        <br />        Stiftung Fürstl. Kommerzienrat Guido Feger        <br />        Stiftung Schweizerische Landesausstellung 1939    </p>    <p>        <b>Städte:</b>        <br />        Stadt St. Gallen    </p>    <p>        <b>Gemeinden:</b>        <br />
16        Aadorf, Appenzell, Arbon, Balzers, Bischofszell, Bühler, Degersheim, Eschlikon, Felben-Wellhausen, Flawil SG, Frauenfeld, Gais, Gossau, Hefenhofen, Heiden, Herdern, Hofen, Horn, Kradolf-Schönenberg, Krinau, Mels, Münchwilen, Neunkirch, Oberegg, Oberuzwil, Ramsen, Rapperswil-Jona, Rüdlingen, Rüte, Schwende, Silblingen, Stein am Rhein, Stetten, Teufen, Triesen, Triesenberg, Urnäsch, Uzwil, Wartau, Warth-Weinigen, Weinfelden, Wil    </p>    <p>        <b>Weitere:</b>        <br />        Appenzellische Gemeinnützige Gesellschaft, Axpo Holding AG, Cilag AG Schaffhausen, Gemeinnützige Gesellschaft des Kantons St. Gallen, Heimatschutz Appenzell Ausserrhoden, Heimatschutz Schaffhausen, Heimatschutz Thurgau, Hilti Foundation, Liechtenstein Bus Anstalt, Liechtensteinische Landesbank, Migros Kulturprozent, O. Schneider Linienbus EG Ermetswil, Ortsbürgergemeinde St. Gallen, Schaffhauser Kantonalbank, Schweizerische Südostbahn AG, Textilverband Schweiz, Thurbo AG, Thomas Schmidheiny, Verein St. Galler Rheintal, Verein Südkultur St. Gallen, Zürcherische Seidenindustrie-Gesellschaft    </p>  </div>  <div class='five wide column'>    <h4>Etappe Zürich</h4>    <p>        <b>Lotteriefonds:</b>        <br />        Kanton Zürich    </p>    <p>        <b>Stiftungen:</b>        <br />        Baumgarten Stiftung        <br />        Ernst Göhner Stiftung        <br />        Georg und Bertha Schwyzer-Winiker-Stiftung        <br />        Otto Gamma Stiftung        <br />        Paul Schiller Stiftung        <br />        STA Stiftung Streiff AG        <br />        Stiftung Industriekultur        <br />        Vontobel Stiftung    </p>    <p>        <b>Städte:</b>        <br />        Städte Uster, Winterthur, Zürich    </p>    <p>        <b>Gemeinden:</b>        <br />        Altikon, Bäretswil, Bertschikon, Boppelsen, Brütten, Buchs ZH, Bülach, Dinhard, Eglisau, Ellikon a. d. Thur, Erlenbach, Fehraltdorf, Fischenthal, Herrliberg, Hochfelden, Hofstetten, Hüntwangen, Männedorf, Maur, Rüschlikon, Rüti ZH, Schlieren, Stadel, Stäfa, Sternenberg, Trüllikon, Turbenthal, Voketswil, Wald ZH, Wallisellen, Wangen-Brüttisellen, Zollikon    </p>    <p>        <b>Weitere:</b>        <br />        EKZ Elektrizitätswerke des Kantons Zürich, Erdgas Ostschweiz AG, Eskimo Textil AG, Flughafen Zürich AG, Hans-Peter Bärtschi, Hausmann + Moos AG, Hermann Bühler AG, Kibag Management und Logistik Bäch, Kuhn Rikon AG, Luftseilbahn Adliswil-Felsenegg, Migros Kulturprozent, Mühle Balchenstahl AG, Otto & Johann Honegger, Rudolf-Friedrich-Fonds, SATW Schweizerische Akademie der Technischen Wissenschaften, SGTI, Sihltal-Zürich-Uetliberg-Bahn SZU, Sihl, Zürich AG, Stadtbus Winterthur, Stäubli International AG, Wasserversorgung Zürich, Wolfensberger AG, Zürcher Heimatschutz, Zürcher Kantonalbank, Zürcher Seidenindustrie-Gesellschaft, Zürichsee-Schifffahrtsgesellschaft    </p>    <h4>Etappe Bern</h4>    <p>        <b>Stiftungen:</b>        <br />        BLS-Stiftung Bern        <br />        Gerold und Niklaus Schnitter-Fonds für Technikgeschichte ETH-Zürich        <br />        Hasler Stiftung        <br />        Otto-Gamma-Stiftung        <br />        Vontobel Stiftung    </p>    <p>        <b>Gemeinden:</b>        <br />        Brüttelen, Chatelat, Frauenkappeln, Hasle, Heimberg, Ins, Jegenstorf, Konolfingen,, Ittingen ,La Ferrière, Loveresse, Moutier, Mühleberg, Mühlethurnen, Münchenwiler, Nidau, Schwadernau, Schüpfen, Sonceboz-Sombeval Stettlen, Tramelan, Worb    </p>    <p>        <b>Weitere:</b>        <br />        Arias - Hans-Peter Bärtschi und Team, Berner Fachhochschule Burgdorf, Berner Heimatschutz, BKW-FMB Energie AG, Cendres & Métaux SA, Chemins de fer du Jura, Denkmalpflege-Stiftung Bern, Energie Wasser Bern, Genossenschaft Migros Aare Schönbühl, Gitte Naujoks Bern, Jungfraubahnen AG, MOB Montreux, Muller Machines SA, Omega SA, Pro Helvetia, Proma Energie AG, SATW Schweizerische Akademie der Technischen Wissenschaften, Schweizer Heimatschutz, Schweizerische Mobiliar Bern, SGTI, Städtische Verkehrsbetriebe BernMobil, Walter Weiss VMS    </p>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>ETH Bildarchiv</h2>  </div></div><div class='row'>  <div class='ten wide column'>    <p>Dr. Hans-Peter Bärtschi hat seit 1960 eine Fotosammlung aufgebaut, die Industrieobjekte und historische Fahrzeuge aus der ganzen Welt dokumentiert. Diese Sammlung befindet sich seit 2014 im ETH-Bildarchiv. Der bereits erschlossene Teil ist unter e-pics.ethz.ch zugänglich. Die im Zusammenhang mit Industriekultur Schweiz entstehenden Bilder ergänzen die Sammlung laufend und gehen ebenfalls ins ETH-Bildarchiv.</p>    <div class='ui relaxed list'>        <div class='item'>            <i class='large linkify top aligned icon'></i>            <div class='content'>                <a class='bold' href='http://ba.e-pics.ethz.ch/latelogin.jspx?category=2916
167&r=1552977988023#1552977993925_0' target='_blank'>ETH Zürich, e-pics, Bildarchiv Online, Katalog SIK</a>                <div class='description'>ethz.ch</div>            </div>        </div>    </div>  </div>  <div class='six wide column'>    <img class='ui image' src='src/assets/menu/SIK_01-011824.jpg' />    <span class='imgLegend'>Schlieren, ZH, Gaswerk, Reportagefotografien 1937</span>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>Zuspruch von Institutionen</h2>  </div></div><div class='row'>  <div class='column'>    <p>Industriekultur Schweiz wird bei jeder Arbeitsetappe finanziell unterstützt durch das Bundesamt für Kultur BAK und die kantonalen Lotteriefonds. Ideelle Unterstützung bietet die UNESCO- Kommission, sie begrüsst das Projekt als wichtigen Beitrag zur Weitergabe des Industriekulturerbes an künftige Generationen. Weiteren Zuspruch gibt es von ICOMOS, der Vereinigung der Schweizergruppe für die Bewahrung des Kulturerbes, in der Experten für die Konservierung und Restaurierung von Baudenkmälern tätig sind. 2009 wurde Industriekultur Schweiz mit dem Thurgauer Heimatschutzpreis ausgezeichnet.</p>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>Archive und Inventare</h2>  </div></div><div class='row'>  <div class='column'>    <table class='ui small celled table'>      <tr>          <td>Bestandesaufnahme historischer Bauten im Kanton Zug</td>          <td>BhBKt.ZG</td>          <td>Hofstr. 15, 6300 Zug</td>      </tr>      <tr>          <td>Bauinventar Kanton Basel-Landschaft</td>          <td>BIB</td>          <td>Rheinstr. 29, 4410 Liestal</td>      </tr>      <tr>          <td>Bauinventar Kanton Bern</td>          <td>BI-BE</td>          <td>Münstergasse 32, 3011 Bern</td>      </tr>      <tr>          <td>Denkmalpflege des Kantons Bern</td>          <td>DP BE</td>          <td>Münstergasse 32, 3011 Bern</td>      </tr>      <tr>          <td>Kantonale Denkmalpflege Basel-Landschaft</td>          <td>DP BL</td>          <td>Rheinstr. 29, 4410 Liestal</td>      </tr>      <tr>          <td>Kantonale Denkmalpflege Basel-Stadt</td>          <td>DP BS</td>          <td>Unterer Rheinweg 26, 4058 Basel</td>      </tr>      <tr>          <td>Denkmalpflege des Fürstentum Liechtensteins</td>          <td>DP FL</td>          <td>Städtle 38, FL-9490 Vaduz</td>      </tr>      <tr>          <td>Denkmalpflege des Kantons Aargau</td>          <td>DP Kt. AG</td>          <td>Bachstrasse 15, 5001 Aarau</td>      </tr>      <tr>          <td>Fachstelle für Denkmalpflege des Kantons Nidwalden</td>          <td>DP Kt. NW</td>          <td>Mürgstrasse 12, 6371 Stans</td>      </tr>      <tr>          <td>Denkmalpflege und Archäologie des Kantons Obwalden</td>          <td>DP Kt. OW</td>          <td>Brünigstrasse 178, 6061 Sarnen</td>      </tr>      <tr>          <td>Denkmalpflege des Kantons St. Gallen</td>          <td>DP Kt. SG</td>          <td>Rorschacherstr. 23, 9001 St. Gallen</td>      </tr>      <tr>          <td>Denkmalpflege des Kantons Schaffhausen</td>          <td>DP Kt. SH</td>          <td>Beckenstube 11, 8200 Schaffhausen</td>      </tr>      <tr>          <td>Denkmalpflege des Kantons Thurgau</td>          <td>DP Kt. TG</td>          <td>Ringstr. 16, 8510 Frauenfeld</td>      </tr>      <tr>          <td>Denkmalpflege, Abteilung Natur- und Heimatschutz des Kantons Uri</td>          <td>DP Kt. UR</td>          <td>Rathausplatz 5, 6460 Altdorf</td>      </tr>      <tr>          <td>Amt für Denkmalpflege und Archäologie des Kanton Zug</td>          <td>DP Kt. ZG</td>          <td>Hofstr. 15, 6300 Zug</td>      </tr>      <tr>          <td>Fachstelle für Denkmalpflege der Stadt St. Gallen</td>          <td>DP St. SG</td>          <td>Lindenhofstr. 19, 8021 Zürich</td>      </tr>      <tr>          <td>Kunstdenkmäler der Schweiz </td>          <td>GSK</td>          <td>Pavillonweg 2, 3012 Bern</td>      </tr>      <tr>          <td>Inventar der neueren Schweizer Architektur 1850-1920</td>          <td>INSA</td>          <td>Pavillonweg 2, 3012 Bern</td>      </tr>      <tr>          <td>Inventar der schützenswerten Ortsbilder der Schweiz</td>          <td>ISOS</td>          <td>Limmatquai 24, 8002 Zürich</td>      </tr>      <tr>          <td>Inventar der historischen Verkehrswege der Schweiz</td>          <td>IVS</td>          <td>www.ivs.admin.ch</td>      </tr>      <tr>          <td>Kantonale Denkmalpflege Zürich</td>          <td>KDP</td>          <td>Stettbachstr. 7, 8600 Dübendorf</td>      </tr>      <tr>          <td>
16Kantonales Denkmalverzeichnis Luzern</td>          <td>KDV</td>          <td>Libellenrain 15, 6002 Luzern</td>      </tr>      <tr>          <td>Schweizerisches Inventar der Kulturgüter</td>          <td>KGS</td>          <td>Montbijoustr. 51A, 3003 Bern</td>      </tr>      <tr>          <td>Kantonales Inventar geschützter und schützenswerter Bauten</td>          <td>KIGBO</td>          <td>Kollegiumstr. 30, 6430 Schwyz</td>      </tr>      <tr>          <td>Inventar historischer Bahnhöfe der SBB</td>          <td>Bärtschi SBB</td>          <td>Arias Industriekultur, Lindstr. 35, 8400 Winterthur</td>      </tr>      <tr>          <td>Schweizerische geotechnische Kommission</td>          <td>SGTK</td>          <td>c/o ETHZ, Sonneggstr. 5, 8092 Zürich</td>      </tr>      <tr>          <td>Stiftung Industriekultur, Winterthur</td>          <td>SIK</td>          <td>Rychenbergstr. 69, 8400 Winterthur</td>      </tr>      <tr>          <td>Verband der Museen der Schweiz</td>          <td>VMS</td>          <td>Landesmuseum, Postfach, 8021 Zürich</td>      </tr>  </table>  </div></div>",aR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Medienspiegel</h1>  </div></div><div class='row'>  <div class='column'>    <div class='ui relaxed list'>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/IKS Jahresbericht 2019 logo.pdf' target='_blank'>                  industriekultur.ch - Jahresrückblick 2019 / Ausblick 2020              </a>              <div class='description'>Bericht aus dem Projekt, 2020 - 4MB</div>          </div>      </div>      <div class='item'>          <i class='large file audio top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Treffpunkt_26-11-2020-1003.1606385583269.mp3' target='_blank'>                  Warum ist eine Fabrikhalle schützenswert?              </a>              <div class='description'>'Treffpunk' Radio SRF 26.11.2020 - 55MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/ibb_anschluss_sept_leitartikel-2.pdf' target='_blank'>                  Ein Stück Heimat Innovation über Generationen              </a>              <div class='description'>IBB Magazin: Anschluss September 2020 - 4MB</div>          </div>      </div>      <!--      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/200831_Argovia_132_Inhalt_99-107.pdf' target='_blank'>                  Den Strukturwandel erkennen und verstehen                  <br />Das Projekt industriekultur.ch am Beispiel der Birchmeier & Cie. in Künten              </a>              <div class='description'>Argovia 132/2020 - 483KB</div>          </div>      </div>      -->      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Transhelvetica 54 2019.pdf' target='_blank'>„Industriekultur“</a>              <div class='description'>Transhelvetica 54/2019 - 2.2MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Südostschweiz_26.09.2019.pdf' target='_blank'>„Schütz S02 erzählt Technikgeschichte“</a>              <div class='description'>Südostschweiz 26.09.2019 - 7.66MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Südostschweiz 27.08.2019.pdf' target='_blank'>„Erlebbare Zeitzeugen der Industrie“</a>              <div class='description'>Südostschweiz 27.08.2019 - 12.3MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Nau 14.08.2019.pdf' target='_blank'>„Glarus unterstützt Inventar bedeutender Industriebauten“</a>              <div class='description'>Nau 14.08.2019 - 1.25MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Bundesamt für Kultur BAK 22.12.2018.pdf' target='_blank'>„Projektwettbewerb Kulturerbe für alle“</a>              <div class='description'>Bundesamt für Kultur BAK 22.12.2018 - 781KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/renova invest 2 2018.pdf' target='_blank'>„Der Erhalt von Industriekultur hat mit Identität zu tun“</a>              <div class='description'>renova invest 2/2018 - 971KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Architektur Basel 17.11.2017.pdf' target='_blank'>Buchbesprechung „Industriekultur beider Basel“</a>              <div class='description'>Architektur Basel 17.11.2017 - 252KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Südostschweiz 24.06.2016.pdf' target='_blank'>Letzte Gelegenheit, Industriekultur zu erhalten</a>              <div class='description'>Südostschweiz 24.06.2016 - 234KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Bote der Urschweiz 13.02.2013.pdf' target='_blank'>Alte Stoosbahn unter Schutz?</a>              <div class='description'>Bote der Urschweiz 13.02.2013 - 157KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/St. Galler Tagblatt 15.06.2012.pdf' target='_blank'>Streifzüge durch die Industriekultur</a>              <div class='description'>St. Galler Tagblatt 15.06.2012 - 4.79MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Zugerbieter 05.05.2010.pdf' target='_blank'>Zeugen der Industriekultur</a>              <div class='description'>Zugerbieter 05.05.2010 - 522KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Luzerner Nachrichten 21.04.2010.pdf' target='_blank'>Denkmäler sollen erfasst werden</a>              <div class='description'>Luzerner Nachrichten 21.04.2010 - 163KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Beobachter 17.02.2010.pdf' target='_blank'>Die Retter der Industrie-Nation</a>              <div class='description'>Beobachter 17.02.2010 - 655KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/St. Galler Tagblatt 23.06.2009.pdf' target='_blank'>Der Zauber von „Nr.9“</a>              <div class='description'>St. Galler Tagblatt 23.06.2009 - 701KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Schaffhauser Nachrichten 19.05.2008.pdf' target='_blank'>Industriekulturgüter inventarisieren</a>              <div class='description'>Schaffhauser Nachrichten 19.05.2008 - 214KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Thurgauer Zeitung 17.05.2008.pdf' target='_blank'>„Die Nordostschweiz war die Nummer 2“</a>              <div class='description'>Thurgauer Zeitung 17.05.2008 - 200KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Nike Bulltin 1 1998.pdf' target='_blank'>150 Jahre Bundesstaat – 150 Jahre Industriekultur</a>              <div class='description'>Nike Bulltin 1/1998 - 2.17MB</div>          </div>      </div>  </div>  </div></div>",lR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Links</h1>  </div></div><div class='row'>  <div class='column'>    <div class='ui relaxed list'>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.denkmalaktiv.ch' target='_blank'>Denkmalaktiv</a>              <div class='description'>denkmalaktiv.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.nike-kulturerbe.ch' target='_blank'>Nationale Informationsstelle zum Kulturerbe NIKE</a>              <div class='description'>nike-kulturerbe.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.icomos.ch/' target='_blank'>ICOMOS Schweiz, nationalen Gruppe des internationalen Rats für Denkmäler und historische Stätten</a>              <div class='description'>icomos.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.industrie-ensemble.ch/industrie-und-industrielehr-pfade/' target='_blank'>Industrie-Wege, unterwegs zu historischen Produktionsstätten</a>              <div class='description'>industrie-ensemble.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.arias-industriekultur.ch' target='_blank'>ARIAS Industriekultur, Gutachten zu Industriekulturgütern</a>              <div class='description'>arias-industriekultur.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.sgti.ch/' target='_blank'>SGTI  Schweizerische Gesellschaft für Technikgeschichte und Industriekultur</a>              <div class='description'>sgti.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.heimatschutz.ch/' target='_blank'>Schweizer Heimatschutz</a>              <div class='description'>heimatschutz.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://stiftungindustriekultur.ch' target='_blank'>Stiftung Industriekultur, Archiv mit Bildern, Dokumenten und Objekten</a>              <div class='description'>stiftungindustriekultur.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.satw.ch/' target='_blank'>Schweizerische Akademie der Technischen Wissenschaften, Expertennetzwerk</a>              <div class='description'>satw.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://industriekultur-winterthur.ch/site/' target='_blank'>
16inbahn, Verein für Industrie und Bahnkultur Winterthur</a>              <div class='description'>industriekultur-winterthur.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.museums.ch/' target='_blank'>VMS Verband der Museen Schweiz</a>              <div class='description'>museums.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.industriekultour.ch/' target='_blank'>Industriekultour</a>              <div class='description'>industriekultour.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.ik-kriens.ch/' target='_blank'>App für einen Industrie- und Kulturweg in Kriens</a>              <div class='description'>ik-kriens.ch</div>          </div>      </div>    </div>  </div></div>",cR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Kontakt</h1>  </div></div><div class='row'>  <div class='column'>    <p>      Projektleiterin Hanna Gervasi      <br />      Marktgasse 37      <br />      8400 Winterthur      <br />      052 202 02 27      <br />      <a href='mailto:[email protected]'>[email protected]</a>      <br />      <br />      Wir nehmen für die Datenbank gerne Korrekturmeldungen entgegen.    </p>  </div></div>",uR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Newsletter</h1>  </div></div><div class='row'>  <div class='column'>    <!-- Begin Mailchimp Signup Form -->    <link href='//cdn-images.mailchimp.com/embedcode/classic-10_7.css' rel='stylesheet' type='text/css' />    <style type='text/css'>        #mc_embed_signup {            background: #fff;            clear: left;            padding: unset !important;        }            #mc_embed_signup form {                padding: unset !important;            }        /* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.	            We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */    </style>    <div id='mc_embed_signup'>        <form action='https://sgti.us18.list-manage.com/subscribe/post?u=be90e5add823826da9bb9b66e&amp;id=84a99a2264' method='post' id='mc-embedded-subscribe-form' name='mc-embedded-subscribe-form' class='validate' target='_blank' novalidate>            <div id='mc_embed_signup_scroll'>                <p style='font-weight: bold;'>Ich will den SGTI-Newsletter bestellen:</p>                <div class='indicates-required'>                    <span class='asterisk'>*</span> erforderlich                </div>                <div class='mc-field-group'>                    <label for='mce-EMAIL'>                        E-Mail-Adresse                        <span class='asterisk'>*</span>                    </label>                    <input type='email' value='' name='EMAIL' class='required email' id='mce-EMAIL' />                </div>                <div class='mc-field-group'>                    <label for='mce-FNAME'>Vorname </label>                    <input type='text' value='' name='FNAME' class='' id='mce-FNAME' />                </div>                <div class='mc-field-group'>                    <label for='mce-LNAME'>Nachname </label>                    <input type='text' value='' name='LNAME' class='' id='mce-LNAME' />                </div>                <div class='mc-field-group'>                    <label for='mce-MMERGE5'>Organisation </label>                    <input type='text' value='' name='MMERGE5' class='' id='mce-MMERGE5' />                </div>                <div id='mce-responses' class='clear'>                    <div class='response' id='mce-error-response' style='display:none'></div>                    <div class='response' id='mce-success-response' style='display:none'></div>                </div><!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->                <div style='position: absolute; left: -5000px;' aria-hidden='true'>                    <input type='text' name='b_be90e5add823826da9bb9b66e_84a99a2264' tabindex='-1' value='' />                </div>                <div class='clear'>                    <input type='submit' value='Abonnieren' name='subscribe' id='mc-embedded-subscribe' class='button' />                </div>            </div>        </form>        <p>            Hinweis: Sie werden auf eine externe Seite weitergeleitet (mailchimp)        </p>    </div>    <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-vali
16date.js'><\/script>    <script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='MMERGE5';ftypes[5]='text'; /*              * Translated default messages for the $ validation plugin.              * Locale: DE              */            $.extend($.validator.messages, {	            required: 'Dieses Feld ist ein Pflichtfeld.',	            maxlength: $.validator.format('Geben Sie bitte maximal {0} Zeichen ein.'),	            minlength: $.validator.format('Geben Sie bitte mindestens {0} Zeichen ein.'),	            rangelength: $.validator.format('Geben Sie bitte mindestens {0} und maximal {1} Zeichen ein.'),	            email: 'Geben Sie bitte eine gültige E-Mail Adresse ein.',	            url: 'Geben Sie bitte eine gültige URL ein.',	            date: 'Bitte geben Sie ein gültiges Datum ein.',	            number: 'Geben Sie bitte eine Nummer ein.',	            digits: 'Geben Sie bitte nur Ziffern ein.',	            equalTo: 'Bitte denselben Wert wiederholen.',	            range: $.validator.format('Geben Sie bitten einen Wert zwischen {0} und {1}.'),	            max: $.validator.format('Geben Sie bitte einen Wert kleiner oder gleich {0} ein.'),	            min: $.validator.format('Geben Sie bitte einen Wert größer oder gleich {0} ein.'),	            creditcard: 'Geben Sie bitte ein gültige Kreditkarten-Nummer ein.'            });            }(jQuery)); var $mcj = jQuery.noConflict(true);    <\/script>    <!--End mc_embed_signup-->  </div></div>",dR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Impressum</h1>  </div></div><div class='row'>  <div class='five wide column'>    <h4>Industriekultur Schweiz</h4>    <p>
16Leitung: Hanna Gervasi</p>    <h4>Technik </h4>    <p>cTool GmbH</p>    <h4>Gestaltung</h4>    <p>Simone Vollenweider</p>    <h4>Konzept und Redaktion</h4>    <p>Hanna Gervasi und Helen Girardier</p>    <h4>Fotos</h4>    <p>Hans-Peter Bärtschi, Hanna Gervasi und Industriekultur Schweiz Mitarbeitende</p>    <h4>Fotoschau</h4>    <p>        Schlieren, ZH, Gaswerk der Stadt Zürich, HP. Bärtschi 1979        <br />        Bürglen, TG, Thurbrücke, HP. Bärtschi 1992        <br />        Rheinhafen Basel, BS, HP. Bärtschi 2013        <br />        Kriens, LU, Maschinenfabrik Bell-Escher Wyss, HP. Bärtschi 1994        <br />        Glarus, GL, Bleiche, HP. Bärtschi 1982        <br />        © Ammann Unternehmungen, Langenthal, BE, Godi Geiser 1914–2007    </p>  </div>  <div class='six wide column'>    <h4>E-Mail</h4>    <p>Sämtliche E-Mail-Korrespondenz ist aufgrund technischer Unzulänglichkeiten des Internets als nicht vertraulich zu betrachten.</p>    <h4>Links</h4>    <p>Die Verbindung zu verlinkten Webseiten erfolgt auf eigenes Risiko.</p>    <h4>Haftungsausschluss</h4>    <p>Alle Informationen auf dieser Site wurden mit grosser Sorgfalt zusammengestellt. Trotzdem übernehmen Industriekultur Schweiz und die SGTI keine Gewähr für Genauigkeit, Zuverlässigkeit, Aktualität oder Vollständigkeit der Informationen. Industriekultur Schweiz und die SGTI haften in keinem Fall für Schäden oder Folgeschäden irgendwelcher Art, die aus dem Zugriff oder der Benutzung der Webseite entstehen könnten.</p>    <h4>Datenschutz</h4>    <p>Industriekultur Schweiz gibt keine Daten an Drittpersonen oder -parteien weiter. Alle auf dieser Webseite erhobenen Daten werden ausschliesslich für interne Zwecke verwendet.</p>  </div>  <div class='five wide column'>    <h4>Copyright</h4>    <p>Die Webseite www.industriekultur.ch ist Eigentum der SGTI. Der gesamte Inhalt der Webseite samt Konzept, Texten und Bilder ist urheberrechtlich geschützt. Die Fotos dürfen nur mit Angabe des Copyrights verwendet werden.</p>  </div></div>",hR={menu_industriekulturSchweiz:ZC,menu_leitbild:UC,menu_publikationen:VC,menu_industriekulturSpot:YC,menu_partner:XC,menu_medienspiegel:qC,menu_links:QC,menu_kontakt:JC,menu_newsletter:eR,menu_impressum:tR,content_industriekulturSchweiz:iR,content_leitbild:nR,content_publikationen:sR,content_industriekulturSpot:rR,content_partner:oR,content_medienspiegel:aR,content_links:lR,content_kontakt:cR,content_newsletter:uR,content_impressum:dR},fR="Industriekultur Svizzera",gR="Leitbild",pR="Publikationen",mR="Industriekultur Spot",vR="Partner",_R="Medienspiegel",bR="Links",yR="Kontakt",wR="Newsletter",SR="Impressum",ER="<div class='row'>        <div class='column'>          <h1 class='uppercase underline'>Industriekultur Schweiz</h1>        </div>      </div><div class='row'>        <div class='eight wide column'>          <p>Industriekultur Schweiz macht die wichtigsten Zeugen der industriellen Vergangenheit der Schweiz sichtbar und verzeichnet sie in einem nationalen Online-Inventar. Die Industriekulturobjekte von fünfzehn Kantonen sind bereits erfasst und online. Die Objekte der restlichen Kantone folgen. Zu den attraktivsten Industriekulturgütern wurden bisher drei Wanderausstellungen gezeigt und fünf regionale Wanderführer publiziert.</p>          <p>Das Online-Inventar verzeichnet systematisch und flächendeckend alle historisch relevanten Bauten, Maschinen, Transportanlagen und Archivbestände von produzierenden und stillgelegten Betrieben. So erhalten die kantonalen Denkmalpflegen erstmals eine Übersicht über den schweizweiten Bestand der Kulturgüter, welche die 150-jährige Industrie-Geschichte unseres Landes dokumentieren. Dank dem Vergleich lassen sich seltene und einzigartige Objekte ermitteln. Dies ist gerade bei jenen Industrie-Anlagen hilfreich, die brach liegen oder kurz vor dem Abbruch stehen. Es wird deutlich, welche Gebäude Neuem Platz machen können und welche gezielt geschützt werden sollen. So können auch künftige Generationen nachvollziehen, wie die Industrie den Lebensstandard und die Siedlungs- und Verkehrsentwicklung prägte. Es bleibt in lebendiger Erinnerung, dass die Schweiz nach dem Zweiten Weltkrieg zu den führenden Industrienationen gehörte.</p>          <p>Hinter Industriekultur Schweiz steht der Verein Schweizerische Gesellschaft für Technikgeschichte und Industriekultur, www.sgti.ch. Die finanziellen Mittel stammen vom Bund, von Kantonen, Gemeinden, Stiftungen sowie von privater Seite. Für die Realisierung sorgt ein Projektteam in Winterthur, das mit den kantonalen De
16nkmalpflegen zusammenarbeitet.</p>          <p>Aktuell ist die Inventarisierung der Südostschweiz im Gang. Die Inventarseiten der Kantone Glarus, Graubünden und Tessin werden ab Anfang 2021 online verfügbar sein.</p>        </div>        <div class='eight wide column'>          <img class='ui fluid image' src='src/assets/menu/Industriekultur_Schema_Karte.jpg' />          <img class='ui fluid image' src='src/assets/menu/Industriekultur_Bestandesaufnahme.jpg' />        </div>      </div>      <div class='row'>        <div class='column'>          <h2 class='uppercase underline'>Web</h2>        </div>      </div>      <div class='row'>        <div class='eight wide column'>          <p>Das Online-Inventar verzeichnet die bereits erfassten Industriekulturgüter der Schweiz und lädt zum Stöbern genauso ein wie zum präzisen Suchen.</p>          <p>Es umfasst bis heute rund 5’500 Seiten. Sie dokumentieren die Industriekulturobjekte der Kantone Bern, Zürich, Appenzell Ausserrhoden und Innerrhoden, Schaffhausen, St. Gallen, Thurgau, Baselstadt und Baselland, Luzern, Obwalden und Nidwalden, Schwyz, Uri, Zug und des Fürstentums Liechtenstein. 2030 wird das Online-Inventar abgeschlossen sein und aus rund 11’000 Seiten bestehen.</p>          <p>Jedes Objekt ist mindestens mit einem Kurztext und einem Bild dokumentiert und auf der Schweizerkarte verortet. Komplexere oder besonders gut erhaltenen Objekte sind mit Hilfe von maximal sechs zusätzlichen Informationskategorien genauer beschrieben. So ist im ausführlichsten Fall dokumentiert, was das Unternehmen produziert, welche Kräfte seine Maschinen antreiben, wie Bahnen oder andere Transportmittel die Rohstoffe und Produkte transportieren, ob wichtige Hochbauten wie Fabrikgebäude, Direktorenvillen oder Arbeiterhäuser zum Betrieb gehören, ob Tiefbauten wie Kanäle oder Wehre erhalten sind und ob ein Firmenarchiv oder eine firmeneigene Sammlung von Objekten vorhanden ist.</p>        </div>        <div class='eight wide column'>          <img class='ui fluid image' src='src/assets/menu/Industriekultur_Zeugen.jpg' />        </div>      </div>      <div class='row'>        <div class='column'>          <h2 class='uppercase underline'>Ausstellungen</h2>        </div>      </div>      <div class='row'>        <div class='ten wide column'>          <h3>Brugg Windisch Sonderausstellung «Von Menschen und Maschinen»</h3>          <p>Von März bis Ende Oktober 2021 präsentierte Museum Aargau im Rahmen des Mottojahres «IndustrieWelt Aargau» die Sonderausstellung «Von Menschen und Maschinen».</p>          <p>Die Ausstellung zeichnet die Lebensrealitäten im Zeitalter der Industrialisierung nach und bietet Einblicke eine vom Wandel geprägten Gesellschaft. Es treffen Patrons auf Arbeiterfamilien der Aargauer Industrie. Die Ausstellung thematisiert Vergangenheit, Gegenwart und Zukunft der Arbeit.</p>          <p>industriekultur.ch war Teil der Ausstellung. Das nationale Projekt ist in der Ausstellung über ein eigenes Computerterminal aufrufbar. Erste Firmen und industriegeschichtlich relevante Baudenkmäler der Region Brugg verdeutlichen die Inventarisationstätigkeit für den Kanton Aargau.</p>          <div class='ui relaxed list'>            <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                <a class='bold' href='http://industrieweltaargau.ch' target='_blank'>Verein „Industriewelt Aargau“</a>              </div>            </div>            <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                <a class='bold' href='https://www.museumaargau.ch/menschen-und-maschinen' target='_blank'>Museum Aargau, Ausstellung Menschen und Maschinen</a>              </div>            </div>          </div>          <h3>Basel</h3>          <p>Die Wanderausstellung gastierte 2014/15 in den Museen BL in Liestal, kleines Klingental in Basel und in Lörrach. Sie thematisierte die Chemie- und Pharmaindustrie in der Stadt Basel, die frühindustrielle Papierherstellung im St. Alban-Tal, die Infrastruktur-Bauten der Bahn und der Rheinschifffahrt, die Salinen, die obere Hauenstein-Bahnlinie, die Feinmechanik im Waldenburgertal und die erdverarbeitende Industrie im Laufental.</p>          <h3>Ostschweiz</h3>          <p>Die Wanderausstellung gastierte 2012/13 in der Stahlgiesserei Schaffhausen, in St. Gallen und im Seemuseum Kornschütte in Kreuzlingen-Hafen. Fotos, Texte und Objekte machten aufmerksam auf Produktionsgebäude, die Geschichte schrieben oder Orte prägen. Sie erinnerten an den Bau von Bahnlinien, Brücken und 
16Kanälen, an die Korrektion des Rheins und an den Gütertransport auf dem Bodensee.</p>          <h3>Zürich</h3>          <p>Die Wanderausstellung gastierte 2009/10 im Mühlerama in Zürich, in der Fabrikkirche und im alten Lokdepot in Winterthur sowie in der Museums-Spinnerei Neuthal. Historische Fotos, Texte und Objekte erzählten von ersten Fabriken in Uerikon-Stäfa, von der frühen Industriewelt in Wald und von grossen Spinnereien im Tösstal.</p>          <h3>            Tour durch die Schweiz            <br />150 Jahre Bundesstaat – 150 Jahre Industriekultur          </h3>          <p>Die erste Wanderausstellung zum Thema Industriekultur tourte 1998 in drei Sprachen durch die ganze Schweiz. Sie gastierte in sechzehn historischen Fabrikgebäuden und Museen. Zum Rahmenprogramm gehörten 150 Exkursionen und die Realisierung von diversen Industriekultur-Projekten. Die Ausstellung zeigte auf, wie die Industrie die Gründung des Bundestaates begünstigte und die Entwicklung der modernen Schweiz mitgestaltete. Themen waren Wasserkraft, Dampf und Strom, die Textil- und Maschinenindustrie, der Bau der Alpentransversalen und der Eisenbahn, Verstädterung, Tourismus, Massenkonsum, Rohstoffe und schliesslich auch die Desindustrialisierung.</p>        </div>        <div class='six wide column'>          <img class='ui fluid image' src='src/assets/menu/Ausstellung_Aargau.jpg' />          <span class='imgLegend'>Ausstellung Brugg: M. Cecilia 2021</span>          <br />          <br />          <img class='ui fluid image' src='src/assets/menu/Ausstellung_Basel_SW_IMG_8022.jpg' />          <span class='imgLegend'>Liestal, BS, Museum.BL, H. Gervasi 2014</span>        </div>      </div>      <div class='row'>        <div class='column'>          <h2 class='uppercase underline'>Geschichte</h2>        </div>      </div>      <div class='row'>        <div class='column'>          <img class='ui image' src='src/assets/menu/Zeitstrahl_Industriekultur.jpg' />        </div>      </div>      <div class='row'>        <div class='column'>          <h2 class='uppercase underline'>Organisation / Trägerschaft</h2>        </div>      </div>      <div class='row'>        <div class='eight wide column'>          <h3>Idee und Realisierung</h3>          <p>Industriekultur Schweiz wurde initiiert und zwei Jahrzehnte lang geleitet vom Industriearchäologen Dr. Hans-Peter Bärtschi. Für die inhaltliche und technische Umsetzung sorgten im Laufe der Zeit verschiedene langjährige wissenschaftliche Mitarbeitende.</p>          <h3>Aktuelles Team</h3>          <p>            Co-Leitung Hanna Gervasi und Manuel Cecilia.<br />            Hanna Gervasi, dipl. Architektin MA ZFH, seit 2013 für Industriekultur Schweiz tätig; Seit 2022 als Dozentin an der ZHAW Winterthur Architekturabteilung für ein Wahlfach für Technikgeschichte zuständig.<br />            Manuel Cecilia, lic. phil. I, Historiker und Vermittlungsfachmann, seit 2019 für Industriekultur Schweiz tätig. Seit 2021 Präsident des Verbands VAMUS Aargauer Museen und Sammlungen.          </p>          <p>            Helen Girardier, lic. phil. I, Historikerin; langjährige Mitarbeiterin des Büro Arias und der Stiftung Industriekultur, seit 2013 für Industriekultur Schweiz tätig.          </p>          <p>            Valeria Frei, lic. phil. 1, Kunsthistorikerin; seit 2019 für die italienischsprachigen Inventarseiten von Industriekultur Schweiz.          </p>          <p>            Sylvia Bärtschi-Baumann, lic. phil. I, Sozialwissenschaftlerin. 2006 - 2017 Web-Projektleiterin von Industriekultur Schweiz, seit 2018 für die Pflege der Datenbank verantwortlich, Präsidentin der Stiftung Industriekultur.          </p>          <p>            Initiant:<br />            Hans-Peter Bärtschi (* 23. Februar 1950 in Winterthur; † 2. Februar 2022 ebenda), war Dr. sc. tech., dipl. Arch. ETH, Technik- und Wirtschaftshistoriker; 1979 - 2017 Inhaber der Firma Arias-Industriekultur und Autor von über 10’000 Bestandesaufnahmen und Gutachten von Fabriken und Maschinen sowie zahlreicher Publikationen zur Eisenbahn- und Industriekultur; 2008 mit dem Kulturpreis der Stadt Winterthur ausgezeichnet und 2014 mit dem Lebenswerkpreis der Landis & Gyr Stiftung; seit 2018 war er wissenschaftlicher Berater und Buchautor für Industriekultur Schweiz tätig.          </p>          <h3>Trägerschaft</h3>          <p>Hinter Industriekultur Schweiz steht die Schweizerische Gesellschaft für Technikgeschichte und Industriekultur (SGTI). Die Organisation engagiert sich seit 1996 für die Erhaltung von Industriekulturgütern. Sie beteiligt sich an der internationalen Zeitschrift «Industrie-Kultur», stellt vierteljährlich im Industriekultur-Bulletin «In.Ku» gefährdete Schweizer Industrieobjekte vor und organisiert für ihre rund 600 Mitglieder Vorträge und Exkursionen.</p>          <div class='ui relaxed list'>            <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                <a class='bold' href='https://sgti.ch/' target='_blank'>sgti.ch</a>              </div>            </div>          </div>          <h3>Stiftung Industriekultur</h3>          <p>Industriekultur Schweiz recherchiert in diversen Archiven und Bibliotheken. Besonders hilfreich ist das Archivmaterial des ehemaligen Büros Arias, das der Stiftung Industriekultur gehört. Es besteht aus Fachbüchern, Gutachten, Bestandesaufnahmen und vielen Bildern. Die Stiftung wurde 2005 von Hans-Peter und Sylvia Bärtschi-Baumann gegründet.</p>          <div class='ui relaxed list'>            <div class='item'>              <i class='large linkify top aligned icon'></i>              <div class='content'>                <a class='bold' href='https://stiftungindustriekultur.ch/' target='_blank'>stiftungindustriekultur.ch</a>              </div>            </div>          </div>          <h3>Fundraising</h3>          <p>            Seit 2017: Hanna Gervasi            <br />2005 – 2015: Dr. Hans-Peter Bätschi, Pascal Troller und Dr. Franziska Becker          </p>        </div>        <div class='eight wide column'>          <img class='ui image' src='src/assets/menu/Gruppenbild_2022.jpg' />        </div>      </div>",kR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Leitbild</h1>  </div></div><div class='row'>  <div class='column'>    <div class='ui relaxed list'>      <div class='item'>        <i class='large pdf file top aligned icon'></i>        <div class='content'>          <a class='bold' href='./medien/Leitbild_Industriekultur.pdf' target='_blank'>            Leitbild industriekultur.ch 2022          </a>          <div class='description'>21MB</div>        </div>      </div>    </div>  </div></div>",TR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Publikationen</h1>  </div></div><div class='row'>  <div class='ten wide column'>    <p>
16Im Rahmen von Industriekultur Schweiz sind im Rotpunktverlag bisher fünf Wanderbücher erschienen. Sie alle führen auf acht Routen durch Industrielandschaften und lenken den Blick auf produzierende und stillgelegte Fabriken, historische Kanäle, Mühlen und Sägen mit Wasserrädern, ehemalige Arbeiterhäuser, Fabrikantenvillen, Wasserkraftwerke und Museen mit Maschinen. So wird die Produktion von Alltagsgütern nachvollziehbar. Und weil diese Güter auch transportiert werden müssen, gibt es auch Hinweise auf historisch interessante Bahnstrecken, Bahnhöfe, Museumsbahnen, Häfen, frühe Stahl- und Betonbrücken. Die Bücher eignen sich für Kultur-Interessierte, Ausflugsgruppen oder Schulklassen und Familien, welche mit Bahn, Velo, Schiff oder zu Fuss auf Erkundungstour gehen wollen. Übersichtskarten zeigen, wo sich ein Halt lohnt und Bild und Text informieren, was es zu sehen gibt. Im Serviceteil finden sich nützliche Hinweise.</p>    <h4>Zentralschweiz</h4>    <p>Themen sind die Gründerbauten der »Milchsüdi« in Cham, die Geschichte des Nestlé-Konzerns, der Industriepfad an der Lorze, die vielen Bergbahnen, welche die berühmte Bergwelt mit Rigi und Pilatus erschliessen, Stahlwerke, Rüstungsbetriebe und viele andere Produktionsstätten.</p>    <p>Industriekultur der Zentralschweiz. Unterwegs zu 333 Schauplätzen des produktiven Schaffens. 312 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2017. Fr. 20.-</p>    <h4>Basel</h4>    <p>Die Region ist einerseits durch die chemische Industrie geprägt worden und andererseits durch den Ausbau der Basler Rheinhäfen und der Bahn- und Strassenanlagen. Zwischen Pratteln, Basel, Deutschland und Frankreich ist ein ganzes Logistikrevier entstanden.</p>    <p>Industriekultur beider Basel. Unterwegs zu 333 Schauplätzen des produktiven Schaffens. 272 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2014. Fr. 20.-</p>    <h4>Ostschweiz</h4>    <p>Das ländliche Image trügt. Die Ostschweiz ist überdurchschnittlich industrialisiert. In den Kantonen Schaffhausen, Thurgau, St. Gallen, den beiden Appenzell sowie dem Fürstentum Liechtenstein gibt es viele spannende Industriekultur-Objekte zu entdecken.</p>    <p>Industriekultur in der Ostschweiz und im Fürstentum Liechtenstein. Unterwegs zu 333 Schauplätzen des produktiven Schaffens. 318 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2012. Fr. 20.-</p>    <h4>Zürich</h4>    <p>Zur facettenreichen Industrielandschaft gehören urbane Fabrikanlagen in Winterthur und Zürich, Industrie-Täler, Museen mit Maschinen und Bahnen mit historischem Rollmaterial. Erinnerungen an die frühe Produktion finden sich am Zürichsee-Ufer, in Uster, in Wald, im Tösstal und im Sihlwald.</p>    <p>Industriekultur im Kanton Zürich. Unterwegs zu 222 Schauplätzen des produktiven Schaffens, 304 Seiten, 8 Exkursionsrouten, Objekte nach Branchen, über 600 Pläne und Fotos, rotpunktverlag Zürich 2009. Fr. 20.-</p>    <h4>Bern</h4>    <p>Themen sind Uhren und Elektrizität in Biel und an der Schüss, Brückenbau in der Stadt Bern, Dampfschifffahrt auf Thuner- und Brienzersee, die Erschliessung der Jungfrauregion und die Thuner Selve-Metallwerke.</p>    <p>Industriekultur im Kanton Bern. Wegbegleiter zu 333 technischen Sehenswürdigkeiten, 280 Seiten, 500 Pläne und Fotografien, rotpunktverlag Zürich 2006. Fr. 20.-</p>  </div>  <div class='six wide column'>    <img class='ui image' src='src/assets/menu/IKS_Buecher_IMG_9499.jpg' />    <h4>Bestellung</h4>    <p>        <a href='mailto:[email protected]'>[email protected]</a>    </p>  </div></div>",IR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Industriekultur Spot</h1>  </div></div><div class='row'>  <div class='ten wide column'>    <div class='ui relaxed list'>      <div class='item'>        <i class='large linkify top aligned icon'></i>        <div class='content'>          <a class='bold' href='https://industriekulturspot.ch/' target='_blank'>Industriekultur Spot</a>          <div class='description'>industriekulturspot.ch</div>        </div>      </div>    </div>  </div>  <div class='six wide column'>
16    <img class='ui image' src='src/assets/menu/IKSpot_Abbildung_Kraftwerk_Zervreila_GR.jpg' />    <span class='imgLegend'>Vals, GR, Kraftwerk Zervreila AG, Fotomontage basierend auf einer Fotografie von J. Gervasi, 2015</span>  </div></div>",xR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Partner</h1>  </div></div><div class='row'>  <div class='column'>    <p>Industriekultur Schweiz pflegt den Kontakt mit allen Personen und Einrichtungen, die den Aufbau des nationalen Inventars in irgendeiner Form unterstützen. Wichtige Partner sind Geldgeber, Denkmalpflegen sowie öffentliche und private Archive, Bibliotheken und Museen. Ebenfalls hilfreich sind Interessengemeinschaften, die ein bestimmtes Thema im Fokus haben, wie Mühlen-, Bergbau- oder Bahnfreunde oder Gruppen, die einen Industrielehrpfad oder ein Industriekulturobjekt bewirtschaften. Das Team tauscht sich mit Fachpersonen aus, nutzt private Informationsplattformen wie swiss-timber-bridges.ch oder swisstrafo.ch und holt bei Bedarf auch Auskünfte von Personen ein, die im Besitz eines Industrieobjekts sind. Wer Industriekultur Schweiz unterstützen möchte, kann dies mit Unterlagen oder Fachwissen tun oder mit einer finanziellen Zuwendung. SGTI Postkonto PC-89 963160 0, IBAN CH05 0900 0000 8996 3160 0</p>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>Finanzielle Unterstützung</h2>  </div></div><div class='row'>  <div class='column'>    <p>Industriekultur Schweiz wird ermöglicht dank Beiträgen von der öffentlichen Hand, Stiftungen, Firmen und Privaten. An sie alle geht ein grosses Dankeschön.</p>  </div></div><div class='row'>  <div class='five wide column'>    <h4>Etappe Zentralschweiz</h4>    <p>        <b>Bundesamt für Kultur BAK</b>    </p>    <p>        <b>Swisslos:</b>        <br />        Kantone Luzern, Schwyz, Zug    </p>    <p>        <b>Kantone:</b>        <br />        die Kulturpflege des Kantons Obwalden, Kantone Nidwalden und Uri    </p>    <p>        <b>Stiftungen:</b>        <br />        Alfred Richterich Stiftung        <br />        Dätwyler Stiftung        <br />        Stiftung Dorothea und Paul Schwob        <br />        Ernst Göhner Stiftung        <br />        Familien Vontobel-Stiftung        <br />        Stiftung Karl und Elise Elsener        <br />        Landis und Gyr Stiftung        <br />        Otto Gamma Stiftung        <br />        Stiftung F.D. Doron        <br />        Straub-Gyr Fonds    </p>    <p>        <b>Gemeinden:</b>        <br />        Altdorf, Bauen, Bezirk Küssnacht am Rigi, Bezirk Einsiedeln, Bürglen, Eschenbach, Flüelen, Galgenen, Göschenen, Neuenkirch, Oberkirch, Schübelbach, Stans, Steinhausen, Wollerau, Zug    </p>    <p>        <b>Weitere:</b>        <br />        Heimatschutz Zug, MEG Instruments Dr. Markus Meier Aarau, Schmolz + Bickenbach AG Emmen, Schwyzer, Kantonalbank Schwyz, Zentralschweizer Kantonalbanken, Hans-Peter Bärtschi Winterthur, Renatus Hindermann Wolfhausen    </p>    <h4>Etappe Basel</h4>    <p>        <b>Bundesamt für Kultur BAK</b>    </p>    <p>        <b>Swisslos:</b>        <br />        Basel-Stadt und Basel-Landschaft    </p>    <p>        <b>Stiftungen:</b>        <br />        Emil und Rosa Richterich-Beck        <br />        Ernst Göhner Stiftung        <br />        Gerold und Niklaus Schnitter-Fonds für Technikgeschichte ETH-Zürich        <br />        Otto Gamma-Stiftung Zürich        <br />        Sophie und Karl Binding Stiftung        <br />        Vontobel Stiftung    </p>    <p>        <b>Gemeinden:</b>        <br />        Allschwil, Arlesheim, Blauen, Gelterkinden, Pratteln, Laufen    </p>    <p>        <b>Weitere:</b>        <br />        Dreyfuss Söhne + Cie AG Basel, Heimatschutz Basel-Stadt, Industrielle Werke Basel MEG, Instruments Dr. Markus Meier Aarau, Schweizer Rheinsalinen    </p>  </div>  <div class='six wide column'>    <h4>Etappe Ostschweiz</h4>    <p>        <b>Swisslos:</b>        <br />        Kantone Appenzell Ausserrhoden, Schaffhausen, St. Gallen, Thurgau und Fürstentum Liechtenstein    </p>    <p>        <b>Stiftungen:</b>        <br />        Avina Stiftung        <br />        Bertold-Suhner-Stiftung        <br />        Dr. Fred Styger Stiftung        <br />        Dr. Heinrich Mezger-Stiftung        <br />        Ernst Göhner Stiftung        <br />        F. + A. Frey-Bücheler-Stiftung        <br />        Fredy & Regula Lienhard Stiftung        <br />        Gerold und Niklaus Schnitter-Fonds für Technikgeschichte ETH-Zürich        <br />        Huber + Suhner-Stifung        <br />        Karl Mayer Stiftung Triesen (FL)        <br />        Rheintaler Kulturstiftung        <br />        RHW-Stiftung        <br />        Sophie und Karl Binding Stiftung        <br />        Stiftung Dr. med. hc. Margrit Bohren-Hoerni        <br />        Stiftung Fürstl. Kommerzienrat Guido Feger        <br />        Stiftung Schweizerische Landesausstellung 1939    </p>    <p>        <b>Städte:</b>        <br />        Stadt St. Gallen    </p>    <p>        <b>Gemeinden:</b>        <br />
16        Aadorf, Appenzell, Arbon, Balzers, Bischofszell, Bühler, Degersheim, Eschlikon, Felben-Wellhausen, Flawil SG, Frauenfeld, Gais, Gossau, Hefenhofen, Heiden, Herdern, Hofen, Horn, Kradolf-Schönenberg, Krinau, Mels, Münchwilen, Neunkirch, Oberegg, Oberuzwil, Ramsen, Rapperswil-Jona, Rüdlingen, Rüte, Schwende, Silblingen, Stein am Rhein, Stetten, Teufen, Triesen, Triesenberg, Urnäsch, Uzwil, Wartau, Warth-Weinigen, Weinfelden, Wil    </p>    <p>        <b>Weitere:</b>        <br />        Appenzellische Gemeinnützige Gesellschaft, Axpo Holding AG, Cilag AG Schaffhausen, Gemeinnützige Gesellschaft des Kantons St. Gallen, Heimatschutz Appenzell Ausserrhoden, Heimatschutz Schaffhausen, Heimatschutz Thurgau, Hilti Foundation, Liechtenstein Bus Anstalt, Liechtensteinische Landesbank, Migros Kulturprozent, O. Schneider Linienbus EG Ermetswil, Ortsbürgergemeinde St. Gallen, Schaffhauser Kantonalbank, Schweizerische Südostbahn AG, Textilverband Schweiz, Thurbo AG, Thomas Schmidheiny, Verein St. Galler Rheintal, Verein Südkultur St. Gallen, Zürcherische Seidenindustrie-Gesellschaft    </p>  </div>  <div class='five wide column'>    <h4>Etappe Zürich</h4>    <p>        <b>Lotteriefonds:</b>        <br />        Kanton Zürich    </p>    <p>        <b>Stiftungen:</b>        <br />        Baumgarten Stiftung        <br />        Ernst Göhner Stiftung        <br />        Georg und Bertha Schwyzer-Winiker-Stiftung        <br />        Otto Gamma Stiftung        <br />        Paul Schiller Stiftung        <br />        STA Stiftung Streiff AG        <br />        Stiftung Industriekultur        <br />        Vontobel Stiftung    </p>    <p>        <b>Städte:</b>        <br />        Städte Uster, Winterthur, Zürich    </p>    <p>        <b>Gemeinden:</b>        <br />        Altikon, Bäretswil, Bertschikon, Boppelsen, Brütten, Buchs ZH, Bülach, Dinhard, Eglisau, Ellikon a. d. Thur, Erlenbach, Fehraltdorf, Fischenthal, Herrliberg, Hochfelden, Hofstetten, Hüntwangen, Männedorf, Maur, Rüschlikon, Rüti ZH, Schlieren, Stadel, Stäfa, Sternenberg, Trüllikon, Turbenthal, Voketswil, Wald ZH, Wallisellen, Wangen-Brüttisellen, Zollikon    </p>    <p>        <b>Weitere:</b>        <br />        EKZ Elektrizitätswerke des Kantons Zürich, Erdgas Ostschweiz AG, Eskimo Textil AG, Flughafen Zürich AG, Hans-Peter Bärtschi, Hausmann + Moos AG, Hermann Bühler AG, Kibag Management und Logistik Bäch, Kuhn Rikon AG, Luftseilbahn Adliswil-Felsenegg, Migros Kulturprozent, Mühle Balchenstahl AG, Otto & Johann Honegger, Rudolf-Friedrich-Fonds, SATW Schweizerische Akademie der Technischen Wissenschaften, SGTI, Sihltal-Zürich-Uetliberg-Bahn SZU, Sihl, Zürich AG, Stadtbus Winterthur, Stäubli International AG, Wasserversorgung Zürich, Wolfensberger AG, Zürcher Heimatschutz, Zürcher Kantonalbank, Zürcher Seidenindustrie-Gesellschaft, Zürichsee-Schifffahrtsgesellschaft    </p>    <h4>Etappe Bern</h4>    <p>        <b>Stiftungen:</b>        <br />        BLS-Stiftung Bern        <br />        Gerold und Niklaus Schnitter-Fonds für Technikgeschichte ETH-Zürich        <br />        Hasler Stiftung        <br />        Otto-Gamma-Stiftung        <br />        Vontobel Stiftung    </p>    <p>        <b>Gemeinden:</b>        <br />        Brüttelen, Chatelat, Frauenkappeln, Hasle, Heimberg, Ins, Jegenstorf, Konolfingen,, Ittingen ,La Ferrière, Loveresse, Moutier, Mühleberg, Mühlethurnen, Münchenwiler, Nidau, Schwadernau, Schüpfen, Sonceboz-Sombeval Stettlen, Tramelan, Worb    </p>    <p>        <b>Weitere:</b>        <br />        Arias - Hans-Peter Bärtschi und Team, Berner Fachhochschule Burgdorf, Berner Heimatschutz, BKW-FMB Energie AG, Cendres & Métaux SA, Chemins de fer du Jura, Denkmalpflege-Stiftung Bern, Energie Wasser Bern, Genossenschaft Migros Aare Schönbühl, Gitte Naujoks Bern, Jungfraubahnen AG, MOB Montreux, Muller Machines SA, Omega SA, Pro Helvetia, Proma Energie AG, SATW Schweizerische Akademie der Technischen Wissenschaften, Schweizer Heimatschutz, Schweizerische Mobiliar Bern, SGTI, Städtische Verkehrsbetriebe BernMobil, Walter Weiss VMS    </p>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>ETH Bildarchiv</h2>  </div></div><div class='row'>  <div class='ten wide column'>    <p>Dr. Hans-Peter Bärtschi hat seit 1960 eine Fotosammlung aufgebaut, die Industrieobjekte und historische Fahrzeuge aus der ganzen Welt dokumentiert. Diese Sammlung befindet sich seit 2014 im ETH-Bildarchiv. Der bereits erschlossene Teil ist unter e-pics.ethz.ch zugänglich. Die im Zusammenhang mit Industriekultur Schweiz entstehenden Bilder ergänzen die Sammlung laufend und gehen ebenfalls ins ETH-Bildarchiv.</p>    <div class='ui relaxed list'>        <div class='item'>            <i class='large linkify top aligned icon'></i>            <div class='content'>                <a class='bold' href='http://ba.e-pics.ethz.ch/latelogin.jspx?category=2916
167&r=1552977988023#1552977993925_0' target='_blank'>ETH Zürich, e-pics, Bildarchiv Online, Katalog SIK</a>                <div class='description'>ethz.ch</div>            </div>        </div>    </div>  </div>  <div class='six wide column'>    <img class='ui image' src='src/assets/menu/SIK_01-011824.jpg' />    <span class='imgLegend'>Schlieren, ZH, Gaswerk, Reportagefotografien 1937</span>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>Zuspruch von Institutionen</h2>  </div></div><div class='row'>  <div class='column'>    <p>Industriekultur Schweiz wird bei jeder Arbeitsetappe finanziell unterstützt durch das Bundesamt für Kultur BAK und die kantonalen Lotteriefonds. Ideelle Unterstützung bietet die UNESCO- Kommission, sie begrüsst das Projekt als wichtigen Beitrag zur Weitergabe des Industriekulturerbes an künftige Generationen. Weiteren Zuspruch gibt es von ICOMOS, der Vereinigung der Schweizergruppe für die Bewahrung des Kulturerbes, in der Experten für die Konservierung und Restaurierung von Baudenkmälern tätig sind. 2009 wurde Industriekultur Schweiz mit dem Thurgauer Heimatschutzpreis ausgezeichnet.</p>  </div></div><div class='row'>  <div class='column'>    <h2 class='uppercase underline'>Archive und Inventare</h2>  </div></div><div class='row'>  <div class='column'>    <table class='ui small celled table'>      <tr>          <td>Bestandesaufnahme historischer Bauten im Kanton Zug</td>          <td>BhBKt.ZG</td>          <td>Hofstr. 15, 6300 Zug</td>      </tr>      <tr>          <td>Bauinventar Kanton Basel-Landschaft</td>          <td>BIB</td>          <td>Rheinstr. 29, 4410 Liestal</td>      </tr>      <tr>          <td>Bauinventar Kanton Bern</td>          <td>BI-BE</td>          <td>Münstergasse 32, 3011 Bern</td>      </tr>      <tr>          <td>Denkmalpflege des Kantons Bern</td>          <td>DP BE</td>          <td>Münstergasse 32, 3011 Bern</td>      </tr>      <tr>          <td>Kantonale Denkmalpflege Basel-Landschaft</td>          <td>DP BL</td>          <td>Rheinstr. 29, 4410 Liestal</td>      </tr>      <tr>          <td>Kantonale Denkmalpflege Basel-Stadt</td>          <td>DP BS</td>          <td>Unterer Rheinweg 26, 4058 Basel</td>      </tr>      <tr>          <td>Denkmalpflege des Fürstentum Liechtensteins</td>          <td>DP FL</td>          <td>Städtle 38, FL-9490 Vaduz</td>      </tr>      <tr>          <td>Denkmalpflege des Kantons Aargau</td>          <td>DP Kt. AG</td>          <td>Bachstrasse 15, 5001 Aarau</td>      </tr>      <tr>          <td>Fachstelle für Denkmalpflege des Kantons Nidwalden</td>          <td>DP Kt. NW</td>          <td>Mürgstrasse 12, 6371 Stans</td>      </tr>      <tr>          <td>Denkmalpflege und Archäologie des Kantons Obwalden</td>          <td>DP Kt. OW</td>          <td>Brünigstrasse 178, 6061 Sarnen</td>      </tr>      <tr>          <td>Denkmalpflege des Kantons St. Gallen</td>          <td>DP Kt. SG</td>          <td>Rorschacherstr. 23, 9001 St. Gallen</td>      </tr>      <tr>          <td>Denkmalpflege des Kantons Schaffhausen</td>          <td>DP Kt. SH</td>          <td>Beckenstube 11, 8200 Schaffhausen</td>      </tr>      <tr>          <td>Denkmalpflege des Kantons Thurgau</td>          <td>DP Kt. TG</td>          <td>Ringstr. 16, 8510 Frauenfeld</td>      </tr>      <tr>          <td>Denkmalpflege, Abteilung Natur- und Heimatschutz des Kantons Uri</td>          <td>DP Kt. UR</td>          <td>Rathausplatz 5, 6460 Altdorf</td>      </tr>      <tr>          <td>Amt für Denkmalpflege und Archäologie des Kanton Zug</td>          <td>DP Kt. ZG</td>          <td>Hofstr. 15, 6300 Zug</td>      </tr>      <tr>          <td>Fachstelle für Denkmalpflege der Stadt St. Gallen</td>          <td>DP St. SG</td>          <td>Lindenhofstr. 19, 8021 Zürich</td>      </tr>      <tr>          <td>Kunstdenkmäler der Schweiz </td>          <td>GSK</td>          <td>Pavillonweg 2, 3012 Bern</td>      </tr>      <tr>          <td>Inventar der neueren Schweizer Architektur 1850-1920</td>          <td>INSA</td>          <td>Pavillonweg 2, 3012 Bern</td>      </tr>      <tr>          <td>Inventar der schützenswerten Ortsbilder der Schweiz</td>          <td>ISOS</td>          <td>Limmatquai 24, 8002 Zürich</td>      </tr>      <tr>          <td>Inventar der historischen Verkehrswege der Schweiz</td>          <td>IVS</td>          <td>www.ivs.admin.ch</td>      </tr>      <tr>          <td>Kantonale Denkmalpflege Zürich</td>          <td>KDP</td>          <td>Stettbachstr. 7, 8600 Dübendorf</td>      </tr>      <tr>          <td>
16Kantonales Denkmalverzeichnis Luzern</td>          <td>KDV</td>          <td>Libellenrain 15, 6002 Luzern</td>      </tr>      <tr>          <td>Schweizerisches Inventar der Kulturgüter</td>          <td>KGS</td>          <td>Montbijoustr. 51A, 3003 Bern</td>      </tr>      <tr>          <td>Kantonales Inventar geschützter und schützenswerter Bauten</td>          <td>KIGBO</td>          <td>Kollegiumstr. 30, 6430 Schwyz</td>      </tr>      <tr>          <td>Inventar historischer Bahnhöfe der SBB</td>          <td>Bärtschi SBB</td>          <td>Arias Industriekultur, Lindstr. 35, 8400 Winterthur</td>      </tr>      <tr>          <td>Schweizerische geotechnische Kommission</td>          <td>SGTK</td>          <td>c/o ETHZ, Sonneggstr. 5, 8092 Zürich</td>      </tr>      <tr>          <td>Stiftung Industriekultur, Winterthur</td>          <td>SIK</td>          <td>Rychenbergstr. 69, 8400 Winterthur</td>      </tr>      <tr>          <td>Verband der Museen der Schweiz</td>          <td>VMS</td>          <td>Landesmuseum, Postfach, 8021 Zürich</td>      </tr>  </table>  </div></div>",CR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Medienspiegel</h1>  </div></div><div class='row'>  <div class='column'>    <div class='ui relaxed list'>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/IKS Jahresbericht 2019 logo.pdf' target='_blank'>                  industriekultur.ch - Jahresrückblick 2019 / Ausblick 2020              </a>              <div class='description'>Bericht aus dem Projekt, 2020 - 4MB</div>          </div>      </div>      <div class='item'>          <i class='large file audio top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Treffpunkt_26-11-2020-1003.1606385583269.mp3' target='_blank'>                  Warum ist eine Fabrikhalle schützenswert?              </a>              <div class='description'>'Treffpunk' Radio SRF 26.11.2020 - 55MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/ibb_anschluss_sept_leitartikel-2.pdf' target='_blank'>                  Ein Stück Heimat Innovation über Generationen              </a>              <div class='description'>IBB Magazin: Anschluss September 2020 - 4MB</div>          </div>      </div>      <!--      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/200831_Argovia_132_Inhalt_99-107.pdf' target='_blank'>                  Den Strukturwandel erkennen und verstehen                  <br />Das Projekt industriekultur.ch am Beispiel der Birchmeier & Cie. in Künten              </a>              <div class='description'>Argovia 132/2020 - 483KB</div>          </div>      </div>      -->      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Transhelvetica 54 2019.pdf' target='_blank'>„Industriekultur“</a>              <div class='description'>Transhelvetica 54/2019 - 2.2MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Südostschweiz_26.09.2019.pdf' target='_blank'>„Schütz S02 erzählt Technikgeschichte“</a>              <div class='description'>Südostschweiz 26.09.2019 - 7.66MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Südostschweiz 27.08.2019.pdf' target='_blank'>„Erlebbare Zeitzeugen der Industrie“</a>              <div class='description'>Südostschweiz 27.08.2019 - 12.3MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Nau 14.08.2019.pdf' target='_blank'>„Glarus unterstützt Inventar bedeutender Industriebauten“</a>              <div class='description'>Nau 14.08.2019 - 1.25MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Bundesamt für Kultur BAK 22.12.2018.pdf' target='_blank'>„Projektwettbewerb Kulturerbe für alle“</a>              <div class='description'>Bundesamt für Kultur BAK 22.12.2018 - 781KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/renova invest 2 2018.pdf' target='_blank'>„Der Erhalt von Industriekultur hat mit Identität zu tun“</a>              <div class='description'>renova invest 2/2018 - 971KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Architektur Basel 17.11.2017.pdf' target='_blank'>Buchbesprechung „Industriekultur beider Basel“</a>              <div class='description'>Architektur Basel 17.11.2017 - 252KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Südostschweiz 24.06.2016.pdf' target='_blank'>Letzte Gelegenheit, Industriekultur zu erhalten</a>              <div class='description'>Südostschweiz 24.06.2016 - 234KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Bote der Urschweiz 13.02.2013.pdf' target='_blank'>Alte Stoosbahn unter Schutz?</a>              <div class='description'>Bote der Urschweiz 13.02.2013 - 157KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/St. Galler Tagblatt 15.06.2012.pdf' target='_blank'>Streifzüge durch die Industriekultur</a>              <div class='description'>St. Galler Tagblatt 15.06.2012 - 4.79MB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Zugerbieter 05.05.2010.pdf' target='_blank'>Zeugen der Industriekultur</a>              <div class='description'>Zugerbieter 05.05.2010 - 522KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Luzerner Nachrichten 21.04.2010.pdf' target='_blank'>Denkmäler sollen erfasst werden</a>              <div class='description'>Luzerner Nachrichten 21.04.2010 - 163KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Beobachter 17.02.2010.pdf' target='_blank'>Die Retter der Industrie-Nation</a>              <div class='description'>Beobachter 17.02.2010 - 655KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/St. Galler Tagblatt 23.06.2009.pdf' target='_blank'>Der Zauber von „Nr.9“</a>              <div class='description'>St. Galler Tagblatt 23.06.2009 - 701KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Schaffhauser Nachrichten 19.05.2008.pdf' target='_blank'>Industriekulturgüter inventarisieren</a>              <div class='description'>Schaffhauser Nachrichten 19.05.2008 - 214KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Thurgauer Zeitung 17.05.2008.pdf' target='_blank'>„Die Nordostschweiz war die Nummer 2“</a>              <div class='description'>Thurgauer Zeitung 17.05.2008 - 200KB</div>          </div>      </div>      <div class='item'>          <i class='large pdf file top aligned icon'></i>          <div class='content'>              <a class='bold' href='./medien/Nike Bulltin 1 1998.pdf' target='_blank'>150 Jahre Bundesstaat – 150 Jahre Industriekultur</a>              <div class='description'>Nike Bulltin 1/1998 - 2.17MB</div>          </div>      </div>  </div>  </div></div>",RR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Links</h1>  </div></div><div class='row'>  <div class='column'>    <div class='ui relaxed list'>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.denkmalaktiv.ch' target='_blank'>Denkmalaktiv</a>              <div class='description'>denkmalaktiv.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.nike-kulturerbe.ch' target='_blank'>Nationale Informationsstelle zum Kulturerbe NIKE</a>              <div class='description'>nike-kulturerbe.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.icomos.ch/' target='_blank'>ICOMOS Schweiz, nationalen Gruppe des internationalen Rats für Denkmäler und historische Stätten</a>              <div class='description'>icomos.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.industrie-ensemble.ch/industrie-und-industrielehr-pfade/' target='_blank'>Industrie-Wege, unterwegs zu historischen Produktionsstätten</a>              <div class='description'>industrie-ensemble.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.arias-industriekultur.ch' target='_blank'>ARIAS Industriekultur, Gutachten zu Industriekulturgütern</a>              <div class='description'>arias-industriekultur.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.sgti.ch/' target='_blank'>SGTI  Schweizerische Gesellschaft für Technikgeschichte und Industriekultur</a>              <div class='description'>sgti.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='http://www.heimatschutz.ch/' target='_blank'>Schweizer Heimatschutz</a>              <div class='description'>heimatschutz.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://stiftungindustriekultur.ch' target='_blank'>Stiftung Industriekultur, Archiv mit Bildern, Dokumenten und Objekten</a>              <div class='description'>stiftungindustriekultur.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.satw.ch/' target='_blank'>Schweizerische Akademie der Technischen Wissenschaften, Expertennetzwerk</a>              <div class='description'>satw.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://industriekultur-winterthur.ch/site/' target='_blank'>
16inbahn, Verein für Industrie und Bahnkultur Winterthur</a>              <div class='description'>industriekultur-winterthur.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.museums.ch/' target='_blank'>VMS Verband der Museen Schweiz</a>              <div class='description'>museums.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.industriekultour.ch/' target='_blank'>Industriekultour</a>              <div class='description'>industriekultour.ch</div>          </div>      </div>      <div class='item'>          <i class='large linkify top aligned icon'></i>          <div class='content'>              <a class='bold' href='https://www.ik-kriens.ch/' target='_blank'>App für einen Industrie- und Kulturweg in Kriens</a>              <div class='description'>ik-kriens.ch</div>          </div>      </div>    </div>  </div></div>",AR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Kontakt</h1>  </div></div><div class='row'>  <div class='column'>    <p>      Projektleiterin Hanna Gervasi      <br />      Marktgasse 37      <br />      8400 Winterthur      <br />      052 202 02 27      <br />      <a href='mailto:[email protected]'>[email protected]</a>      <br />      <br />      Wir nehmen für die Datenbank gerne Korrekturmeldungen entgegen.    </p>  </div></div>",MR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Newsletter</h1>  </div></div><div class='row'>  <div class='column'>    <!-- Begin Mailchimp Signup Form -->    <link href='//cdn-images.mailchimp.com/embedcode/classic-10_7.css' rel='stylesheet' type='text/css' />    <style type='text/css'>        #mc_embed_signup {            background: #fff;            clear: left;            padding: unset !important;        }            #mc_embed_signup form {                padding: unset !important;            }        /* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.	            We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */    </style>    <div id='mc_embed_signup'>        <form action='https://sgti.us18.list-manage.com/subscribe/post?u=be90e5add823826da9bb9b66e&amp;id=84a99a2264' method='post' id='mc-embedded-subscribe-form' name='mc-embedded-subscribe-form' class='validate' target='_blank' novalidate>            <div id='mc_embed_signup_scroll'>                <p style='font-weight: bold;'>Ich will den SGTI-Newsletter bestellen:</p>                <div class='indicates-required'>                    <span class='asterisk'>*</span> erforderlich                </div>                <div class='mc-field-group'>                    <label for='mce-EMAIL'>                        E-Mail-Adresse                        <span class='asterisk'>*</span>                    </label>                    <input type='email' value='' name='EMAIL' class='required email' id='mce-EMAIL' />                </div>                <div class='mc-field-group'>                    <label for='mce-FNAME'>Vorname </label>                    <input type='text' value='' name='FNAME' class='' id='mce-FNAME' />                </div>                <div class='mc-field-group'>                    <label for='mce-LNAME'>Nachname </label>                    <input type='text' value='' name='LNAME' class='' id='mce-LNAME' />                </div>                <div class='mc-field-group'>                    <label for='mce-MMERGE5'>Organisation </label>                    <input type='text' value='' name='MMERGE5' class='' id='mce-MMERGE5' />                </div>                <div id='mce-responses' class='clear'>                    <div class='response' id='mce-error-response' style='display:none'></div>                    <div class='response' id='mce-success-response' style='display:none'></div>                </div><!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->                <div style='position: absolute; left: -5000px;' aria-hidden='true'>                    <input type='text' name='b_be90e5add823826da9bb9b66e_84a99a2264' tabindex='-1' value='' />                </div>                <div class='clear'>                    <input type='submit' value='Abonnieren' name='subscribe' id='mc-embedded-subscribe' class='button' />                </div>            </div>        </form>        <p>            Hinweis: Sie werden auf eine externe Seite weitergeleitet (mailchimp)        </p>    </div>    <script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-vali
16date.js'><\/script>    <script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='MMERGE5';ftypes[5]='text'; /*              * Translated default messages for the $ validation plugin.              * Locale: DE              */            $.extend($.validator.messages, {	            required: 'Dieses Feld ist ein Pflichtfeld.',	            maxlength: $.validator.format('Geben Sie bitte maximal {0} Zeichen ein.'),	            minlength: $.validator.format('Geben Sie bitte mindestens {0} Zeichen ein.'),	            rangelength: $.validator.format('Geben Sie bitte mindestens {0} und maximal {1} Zeichen ein.'),	            email: 'Geben Sie bitte eine gültige E-Mail Adresse ein.',	            url: 'Geben Sie bitte eine gültige URL ein.',	            date: 'Bitte geben Sie ein gültiges Datum ein.',	            number: 'Geben Sie bitte eine Nummer ein.',	            digits: 'Geben Sie bitte nur Ziffern ein.',	            equalTo: 'Bitte denselben Wert wiederholen.',	            range: $.validator.format('Geben Sie bitten einen Wert zwischen {0} und {1}.'),	            max: $.validator.format('Geben Sie bitte einen Wert kleiner oder gleich {0} ein.'),	            min: $.validator.format('Geben Sie bitte einen Wert größer oder gleich {0} ein.'),	            creditcard: 'Geben Sie bitte ein gültige Kreditkarten-Nummer ein.'            });            }(jQuery)); var $mcj = jQuery.noConflict(true);    <\/script>    <!--End mc_embed_signup-->  </div></div>",DR="<div class='row'>  <div class='column'>    <h1 class='uppercase underline'>Impressum</h1>  </div></div><div class='row'>  <div class='five wide column'>    <h4>Industriekultur Schweiz</h4>    <p>
16Leitung: Hanna Gervasi</p>    <h4>Technik </h4>    <p>cTool GmbH</p>    <h4>Gestaltung</h4>    <p>Simone Vollenweider</p>    <h4>Konzept und Redaktion</h4>    <p>Hanna Gervasi und Helen Girardier</p>    <h4>Fotos</h4>    <p>Hans-Peter Bärtschi, Hanna Gervasi und Industriekultur Schweiz Mitarbeitende</p>    <h4>Fotoschau</h4>    <p>        Schlieren, ZH, Gaswerk der Stadt Zürich, HP. Bärtschi 1979        <br />        Bürglen, TG, Thurbrücke, HP. Bärtschi 1992        <br />        Rheinhafen Basel, BS, HP. Bärtschi 2013        <br />        Kriens, LU, Maschinenfabrik Bell-Escher Wyss, HP. Bärtschi 1994        <br />        Glarus, GL, Bleiche, HP. Bärtschi 1982        <br />        © Ammann Unternehmungen, Langenthal, BE, Godi Geiser 1914–2007    </p>  </div>  <div class='six wide column'>    <h4>E-Mail</h4>    <p>Sämtliche E-Mail-Korrespondenz ist aufgrund technischer Unzulänglichkeiten des Internets als nicht vertraulich zu betrachten.</p>    <h4>Links</h4>    <p>Die Verbindung zu verlinkten Webseiten erfolgt auf eigenes Risiko.</p>    <h4>Haftungsausschluss</h4>    <p>Alle Informationen auf dieser Site wurden mit grosser Sorgfalt zusammengestellt. Trotzdem übernehmen Industriekultur Schweiz und die SGTI keine Gewähr für Genauigkeit, Zuverlässigkeit, Aktualität oder Vollständigkeit der Informationen. Industriekultur Schweiz und die SGTI haften in keinem Fall für Schäden oder Folgeschäden irgendwelcher Art, die aus dem Zugriff oder der Benutzung der Webseite entstehen könnten.</p>    <h4>Datenschutz</h4>    <p>Industriekultur Schweiz gibt keine Daten an Drittpersonen oder -parteien weiter. Alle auf dieser Webseite erhobenen Daten werden ausschliesslich für interne Zwecke verwendet.</p>  </div>  <div class='five wide column'>    <h4>Copyright</h4>    <p>Die Webseite www.industriekultur.ch ist Eigentum der SGTI. Der gesamte Inhalt der Webseite samt Konzept, Texten und Bilder ist urheberrechtlich geschützt. Die Fotos dürfen nur mit Angabe des Copyrights verwendet werden.</p>  </div></div>",LR={menu_industriekulturSchweiz:fR,menu_leitbild:gR,menu_publikationen:pR,menu_industriekulturSpot:mR,menu_partner:vR,menu_medienspiegel:_R,menu_links:bR,menu_kontakt:yR,menu_newsletter:wR,menu_impressum:SR,content_industriekulturSchweiz:ER,content_leitbild:kR,content_publikationen:TR,content_industriekulturSpot:IR,content_partner:xR,content_medienspiegel:CR,content_links:RR,content_kontakt:AR,content_newsletter:MR,content_impressum:DR},OR=ks({name:"Information",emits:["next","prev"],props:{selectedLanguage:String,scrollToID:String},watch:{selectedLanguage(t){switch(console.log(t),t){case"fr":this.language=hR;break;case"it":this.language=LR;break;default:this.language=Dp;break}this.updateMenu()},scrollToID(t){ji(()=>{this.scrollTo(t)})}},data(){return{ticking:!1,language:Dp,menu:[{ID:"industriekulturSchweiz",label:""},{ID:"publikationen",label:""},{ID:"leitbild",label:""},{ID:"team",label:""},{ID:"partner",label:""},{ID:"medienspiegel",label:""},{ID:"links",label:""},{ID:"spenden",label:""},{ID:"newsletter",label:""},{ID:"impressum",label:""},{ID:"kontakt",label:""}]}},mounted(){var t,e;(t=document.querySelector("div.information"))==null||t.addEventListener("scroll",this.checkScroll),(e=document.querySelector(".rightMenu > .item:first-child"))==null||e.classList.add("selected"),this.updateMenu()},unmounted(){var t;(t=document.querySelector("div.information"))==null||t.removeEventListener("scroll",this.checkScroll)},methods:{scrollTo(t){var e;(e=document.getElementById(t))==null||e.scrollIntoView({behavior:"smooth"})},checkScroll(){this.ticking||(window.requestAnimationFrame(()=>{var e;let t=0;document.querySelectorAll("a.anchorInfo").forEach((i,n)=>{let s=100;i.getBoundingClientRect().top<=s&&(t=n)}),document.querySelectorAll(".rightMainMenu > .item").forEach(i=>i.classList.remove("selected")),(e=document.querySelector(".rightMainMenu > .item:nth-child("+(t+1)+")"))==null||e.classList.add("selected"),this.ticking=!1}),this.ticking=!0)},updateMenu(){this.menu.forEach(t=>{let e="menu_"+t.ID;t.label=this.language[e]})},getContent(t){let e="content_"+t;return this.language[e]}}});const PR={class:"scrolling content"},FR={class:"ui celled list rightMainMenu"},zR=["onClick"],BR=["id"],NR=["innerHTML"];function GR(t,e,i,n,s,r){return he(),fe("div",PR,[k("div",FR,[(he(!0),fe(Tt,null,ui(t.menu,o=>(he(),fe("a",{class:"item",key:o.ID,onClick:a=>t.scrollTo(o.ID)},U(o.label),9,zR))),128))]),(he(!0),fe(Tt,null,ui(t.menu,o=>(he(),fe("div",{key:o.ID,class:"sub",style:{"padding-bottom":"2em"}}
16,[k("a",{class:"anchorInfo",id:o.ID},null,8,BR),k("div",{class:"ui stackable grid",innerHTML:t.getContent(o.ID)},null,8,NR)]))),128))])}const jR=mo(OR,[["render",GR],["__scopeId","data-v-786732b6"]]);/*!
17 * Viewer.js v1.11.5
18 * https://fengyuanchen.github.io/viewerjs
19 *
20 * Copyright 2015-present Chen Fengyuan
21 * Released under the MIT license
22 *
23 * Date: 2023-08-26T07:33:16.755Z
24 */function Lp(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(t,s).enumerable})),i.push.apply(i,n)}return i}function sf(t){for(var e=1;e<arguments.length;e++){var i=arguments[e]!=null?arguments[e]:{};e%2?Lp(Object(i),!0).forEach(function(n){WR(t,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Lp(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))})}return t}function Id(t){"@babel/helpers - typeof";return Id=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Id(t)}function KR(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Op(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,pb(n.key),n)}}function HR(t,e,i){return e&&Op(t.prototype,e),i&&Op(t,i),Object.defineProperty(t,"prototype",{writable:!1}),t}function WR(t,e,i){return e=pb(e),e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function $R(t,e){if(typeof t!="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var n=i.call(t,e||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function pb(t){var e=$R(t,"string");return typeof e=="symbol"?e:String(e)}var Pp={backdrop:!0,button:!0,navbar:!0,title:!0,toolbar:!0,className:"",container:"body",filter:null,fullscreen:!0,inheritedAttributes:["crossOrigin","decoding","isMap","loading","referrerPolicy","sizes","srcset","useMap"],initialCoverage:.9,initialViewIndex:0,inline:!1,interval:5e3,keyboard:!0,focus:!0,loading:!0,loop:!0,minWidth:200,minHeight:100,movable:!0,rotatable:!0,scalable:!0,zoomable:!0,zoomOnTouch:!0,zoomOnWheel:!0,slideOnTouch:!0,toggleOnDblclick:!0,tooltip:!0,transition:!0,zIndex:2015,zIndexInline:0,zoomRatio:.1,minZoomRatio:.01,maxZoomRatio:100,url:"src",ready:null,show:null,shown:null,hide:null,hidden:null,view:null,viewed:null,move:null,moved:null,rotate:null,rotated:null,scale:null,scaled:null,zoom:null,zoomed:null,play:null,stop:null},ZR='<div class="viewer-container" tabindex="-1" touch-action="none"><div class="viewer-canvas"></div><div class="viewer-footer"><div class="viewer-title"></div><div class="viewer-toolbar"></div><div class="viewer-navbar"><ul class="viewer-list" role="navigation"></ul></div></div><div class="viewer-tooltip" role="alert" aria-hidden="true"></div><div class="viewer-button" data-viewer-action="mix" role="button"></div><div class="viewer-player"></div></div>',Bc=typeof window<"u"&&typeof window.document<"u",$n=Bc?window:{},Yr=Bc&&$n.document.documentElement?"ontouchstart"in $n.document.documentElement:!1,rf=Bc?"PointerEvent"in $n:!1,et="viewer",El="move",mb="switch",No="zoom",ll="".concat(et,"-active"),UR="".concat(et,"-close"),kl="".concat(et,"-fade"),xd="".concat(et,"-fixed"),VR="".concat(et,"-fullscreen"),Fp="".concat(et,"-fullscreen-exit"),Ys="".concat(et,"-hide"),YR="".concat(et,"-hide-md-down"),XR="".concat(et,"-hide-sm-down"),qR="".concat(et,"-hide-xs-down"),Ui="".concat(et,"-in"),Zo="".concat(et,"-invisible"),Xr="".concat(et,"-loading"),QR="".concat(et,"-move"),zp="".concat(et,"-open"),xr="".concat(et,"-show"),Gt="".concat(et,"-transition"),oo="click",Cd="dblclick",Bp="dragstart",Np="focusin",Gp="keydown",Yi="load",or="error",JR=Yr?"touchend touchcancel":"mouseup",eA=Yr?"touchmove":"mousemove",tA=Yr?"touchstart":"mousedown",jp=rf?"pointerdown":tA,Kp=rf?"pointermove":eA,Hp=rf?"pointerup pointercancel":JR,Wp="resize",rn="transitionend",$p="wheel",Zp="ready",Up="show",Vp="shown",Yp="hide",Xp="hidden",qp="view",fa="viewed",Qp="move",Jp="moved",em="rotate",tm="rotated",im="scale",nm="scaled",sm="zoom",rm="zoomed",om="play",am="stop",Ql="".concat(et,"Action"),of=/\s\s*/,cl=["zoom-in","zoom-out","one-to-one","reset","prev","play","next","rotate-left","rotate-right","flip-horizontal","flip-vert
24ical"];function ga(t){return typeof t=="string"}var iA=Number.isNaN||$n.isNaN;function Nt(t){return typeof t=="number"&&!iA(t)}function Br(t){return typeof t>"u"}function ao(t){return Id(t)==="object"&&t!==null}var nA=Object.prototype.hasOwnProperty;function Nr(t){if(!ao(t))return!1;try{var e=t.constructor,i=e.prototype;return e&&i&&nA.call(i,"isPrototypeOf")}catch{return!1}}function Et(t){return typeof t=="function"}function Ct(t,e){if(t&&Et(e))if(Array.isArray(t)||Nt(t.length)){var i=t.length,n;for(n=0;n<i&&e.call(t,t[n],n,t)!==!1;n+=1);}else ao(t)&&Object.keys(t).forEach(function(s){e.call(t,t[s],s,t)});return t}var Gi=Object.assign||function(e){for(var i=arguments.length,n=new Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];return ao(e)&&n.length>0&&n.forEach(function(r){ao(r)&&Object.keys(r).forEach(function(o){e[o]=r[o]})}),e},sA=/^(?:width|height|left|top|marginLeft|marginTop)$/;function ln(t,e){var i=t.style;Ct(e,function(n,s){sA.test(s)&&Nt(n)&&(n+="px"),i[s]=n})}function rA(t){return ga(t)?t.replace(/&(?!amp;|quot;|#39;|lt;|gt;)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;"):t}function Or(t,e){return!t||!e?!1:t.classList?t.classList.contains(e):t.className.indexOf(e)>-1}function Ke(t,e){if(!(!t||!e)){if(Nt(t.length)){Ct(t,function(n){Ke(n,e)});return}if(t.classList){t.classList.add(e);return}var i=t.className.trim();i?i.indexOf(e)<0&&(t.className="".concat(i," ").concat(e)):t.className=e}}function ft(t,e){if(!(!t||!e)){if(Nt(t.length)){Ct(t,function(i){ft(i,e)});return}if(t.classList){t.classList.remove(e);return}t.className.indexOf(e)>=0&&(t.className=t.className.replace(e,""))}}function pa(t,e,i){if(e){if(Nt(t.length)){Ct(t,function(n){pa(n,e,i)});return}i?Ke(t,e):ft(t,e)}}var oA=/([a-z\d])([A-Z])/g;function af(t){return t.replace(oA,"$1-$2").toLowerCase()}function Gr(t,e){return ao(t[e])?t[e]:t.dataset?t.dataset[e]:t.getAttribute("data-".concat(af(e)))}function Rd(t,e,i){ao(i)?t[e]=i:t.dataset?t.dataset[e]=i:t.setAttribute("data-".concat(af(e)),i)}var vb=function(){var t=!1;if(Bc){var e=!1,i=function(){},n=Object.defineProperty({},"once",{get:function(){return t=!0,e},set:function(r){e=r}});$n.addEventListener("test",i,n),$n.removeEventListener("test",i,n)}return t}();function kt(t,e,i){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=i;e.trim().split(of).forEach(function(r){if(!vb){var o=t.listeners;o&&o[r]&&o[r][i]&&(s=o[r][i],delete o[r][i],Object.keys(o[r]).length===0&&delete o[r],Object.keys(o).length===0&&delete t.listeners)}t.removeEventListener(r,s,n)})}function Ve(t,e,i){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=i;e.trim().split(of).forEach(function(r){if(n.once&&!vb){var o=t.listeners,a=o===void 0?{}:o;s=function(){delete a[r][i],t.removeEventListener(r,s,n);for(var u=arguments.length,d=new Array(u),g=0;g<u;g++)d[g]=arguments[g];i.apply(t,d)},a[r]||(a[r]={}),a[r][i]&&t.removeEventListener(r,a[r][i],n),a[r][i]=s,t.listeners=a}t.addEventListener(r,s,n)})}function $t(t,e,i,n){var s;return Et(Event)&&Et(CustomEvent)?s=new CustomEvent(e,sf({bubbles:!0,cancelable:!0,detail:i},n)):(s=document.createEvent("CustomEvent"),s.initCustomEvent(e,!0,!0,i)),t.dispatchEvent(s)}function aA(t){var e=t.getBoundingClientRect();return{left:e.left+(window.pageXOffset-document.documentElement.clientLeft),top:e.top+(window.pageYOffset-document.documentElement.clientTop)}}function Tl(t){var e=t.rotate,i=t.scaleX,n=t.scaleY,s=t.translateX,r=t.translateY,o=[];Nt(s)&&s!==0&&o.push("translateX(".concat(s,"px)")),Nt(r)&&r!==0&&o.push("translateY(".concat(r,"px)")),Nt(e)&&e!==0&&o.push("rotate(".concat(e,"deg)")),Nt(i)&&i!==1&&o.push("scaleX(".concat(i,")")),Nt(n)&&n!==1&&o.push("scaleY(".concat(n,")"));var a=o.length?o.join(" "):"none";return{WebkitTransform:a,msTransform:a,transform:a}}function lA(t){return ga(t)?decodeURIComponent(t.replace(/^.*\//,"").replace(/[?&#].*$/,"")):""}var Bu=$n.navigator&&/Version\/\d+(\.\d+)+?\s+Safari/i.test($n.navigator.userAgent);function _b(t,e,i){var n=document.createElement("img");
24if(t.naturalWidth&&!Bu)return i(t.naturalWidth,t.naturalHeight),n;var s=document.body||document.documentElement;return n.onload=function(){i(n.width,n.height),Bu||s.removeChild(n)},Ct(e.inheritedAttributes,function(r){var o=t.getAttribute(r);o!==null&&n.setAttribute(r,o)}),n.src=t.src,Bu||(n.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",s.appendChild(n)),n}function ul(t){switch(t){case 2:return qR;case 3:return XR;case 4:return YR;default:return""}}function cA(t){var e=sf({},t),i=[];return Ct(t,function(n,s){delete e[s],Ct(e,function(r){var o=Math.abs(n.startX-r.startX),a=Math.abs(n.startY-r.startY),c=Math.abs(n.endX-r.endX),u=Math.abs(n.endY-r.endY),d=Math.sqrt(o*o+a*a),g=Math.sqrt(c*c+u*u),v=(g-d)/d;i.push(v)})}),i.sort(function(n,s){return Math.abs(n)<Math.abs(s)}),i[0]}function dl(t,e){var i=t.pageX,n=t.pageY,s={endX:i,endY:n};return e?s:sf({timeStamp:Date.now(),startX:i,startY:n},s)}function uA(t){var e=0,i=0,n=0;return Ct(t,function(s){var r=s.startX,o=s.startY;e+=r,i+=o,n+=1}),e/=n,i/=n,{pageX:e,pageY:i}}var dA={render:function(){this.initContainer(),this.initViewer(),this.initList(),this.renderViewer()},initBody:function(){var e=this.element.ownerDocument,i=e.body||e.documentElement;this.body=i,this.scrollbarWidth=window.innerWidth-e.documentElement.clientWidth,this.initialBodyPaddingRight=i.style.paddingRight,this.initialBodyComputedPaddingRight=window.getComputedStyle(i).paddingRight},initContainer:function(){this.containerData={width:window.innerWidth,height:window.innerHeight}},initViewer:function(){var e=this.options,i=this.parent,n;e.inline&&(n={width:Math.max(i.offsetWidth,e.minWidth),height:Math.max(i.offsetHeight,e.minHeight)},this.parentData=n),(this.fulled||!n)&&(n=this.containerData),this.viewerData=Gi({},n)},renderViewer:function(){this.options.inline&&!this.fulled&&ln(this.viewer,this.viewerData)},initList:function(){var e=this,i=this.element,n=this.options,s=this.list,r=[];s.innerHTML="",Ct(this.images,function(o,a){var c=o.src,u=o.alt||lA(c),d=e.getImageURL(o);if(c||d){var g=document.createElement("li"),v=document.createElement("img");Ct(n.inheritedAttributes,function(_){var y=o.getAttribute(_);y!==null&&v.setAttribute(_,y)}),n.navbar&&(v.src=c||d),v.alt=u,v.setAttribute("data-original-url",d||c),g.setAttribute("data-index",a),g.setAttribute("data-viewer-action","view"),g.setAttribute("role","button"),n.keyboard&&g.setAttribute("tabindex",0),g.appendChild(v),s.appendChild(g),r.push(g)}}),this.items=r,Ct(r,function(o){var a=o.firstElementChild,c,u;Rd(a,"filled",!0),n.loading&&Ke(o,Xr),Ve(a,Yi,c=function(g){kt(a,or,u),n.loading&&ft(o,Xr),e.loadImage(g)},{once:!0}),Ve(a,or,u=function(){kt(a,Yi,c),n.loading&&ft(o,Xr)},{once:!0})}),n.transition&&Ve(i,fa,function(){Ke(s,Gt)},{once:!0})},renderList:function(){var e=this.index,i=this.items[e];if(i){var n=i.nextElementSibling,s=parseInt(window.getComputedStyle(n||i).marginLeft,10),r=i.offsetWidth,o=r+s;ln(this.list,Gi({width:o*this.length-s},Tl({translateX:(this.viewerData.width-r)/2-o*e})))}},resetList:function(){var e=this.list;e.innerHTML="",ft(e,Gt),ln(e,Tl({translateX:0}))},initImage:function(e){var i=this,n=this.options,s=this.image,r=this.viewerData,o=this.footer.offsetHeight,a=r.width,c=Math.max(r.height-o,o),u=this.imageData||{},d;this.imageInitializing={abort:function(){d.onload=null}},d=_b(s,n,function(g,v){var _=g/v,y=Math.max(0,Math.min(1,n.initialCoverage)),S=a,C=c;i.imageInitializing=!1,c*_>a?C=a/_:S=c*_,y=Nt(y)?y:.9,S=Math.min(S*y,g),C=Math.min(C*y,v);var x=(a-S)/2,I=(c-C)/2,R={left:x,top:I,x,y:I,width:S,height:C,oldRatio:1,ratio:S/g,aspectRatio:_,naturalWidth:g,naturalHeight:v},F=Gi({},R);n.rotatable&&(R.rotate=u.rotate||0,F.rotate=0),n.scalable&&(R.scaleX=u.scaleX||1,R.scaleY=u.scaleY||1,F.scaleX=1,F.scaleY=1),i.imageData=R,i.initialImageData=F,e&&e()})},renderImage:function(e){var i=this,n=this.image,s=this.imageData;if(ln(n,Gi({width:s.width,height:s.height,marginLeft:s.x,marginTop:s.y},Tl(s))),e)if((this.viewing||this.moving||this.rotating||this.scaling||this.zooming)&&this.options.transition&&Or(n,Gt)){var r=function(){i.imageRendering=!1,e()};this.imageRendering={abort:function(){kt(n,rn,r)}},Ve(n,rn,r,{once:!0})}else e()},resetImage:function(){var e=this.image;e&&(this.viewing&&this.viewing.abort(),e.parentNode.removeChild(e),this.image=null,this.title.innerHTML="")}},hA={bind:function(){var e=this.options,i=this.viewer,n=this.canvas,s=this.element.ownerDocument;Ve(i,oo,this.onClick=this.click.bind(this)),Ve(i,Bp,this.onDragStart=this.dragstart.bind(this)),Ve(n,jp,this.onPointerDown=this.pointerdown.bind(this)),Ve(s,Kp,this.onPointerMove=this.pointermove.bind(this)),Ve(s,Hp,this.onPointerUp=this.pointerup.bind(this)),Ve(s,Gp,this.onKeyDown=this.keydown.bind(this)),Ve(window,Wp,this.onResize=this.resize.bind(this)),e.zoomable&&e.zoomOnWheel&&Ve(i,$p,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),e.toggleOnDblclick&&Ve(n,Cd,this.onDblclick=this.dblclick.bind(this))},unbind:function(){var e=this.options,i=this.viewer,n=this.canvas,s=this.element.ownerDocument;kt(i,oo,this.onClick),kt(i,Bp,this.onDragStart),kt(n,jp,this.onPointerDown),kt(s,Kp,this.onPointerMove),kt(s,Hp,this.onPointerUp),kt(s,Gp,this.onKeyDown),kt(window,Wp,this.onResize),e.zoomable&&e.zoomOnWheel&&kt(i,$p,this.onWheel,{passive:!1,capture:!0}),e.toggleOnDblclick&&kt(n,Cd,this.onDblclick)}},fA={click:function(e){var i=this.options,n=this.imageData,s=e.target,r=Gr(s,Ql);switch(!r&&s.localName==="img"&&s.parentElement.localName==="li"&&(s=s.parentElement,r=Gr(s,Ql)),Yr&&e.isTrusted&&s===this.canvas&&clearTimeout(this.clickCanvasTimeout),r){case"mix":this.played?this.stop():i.inline?this.fulled?this.exit():this.full():this.hide();break;case"hide":this.pointerMoved||this.hide();break;case"view":this.view(Gr(s,"index"));break;case"zoom-in":this.zoom(.1,!0);break;case"zoom-out":this.zoom(-.1,!0);break;case"one-to-one":this.toggle();break;case"reset":this.reset();break;case"prev":this.prev(i.loop);break;case"play":this.play(i.fullscreen);break;case"next":this.next(i.loop);break;case"rotate-left":this.rotate(-90);break;case"rotate-right":this.rotate(90);break;case"flip-horizontal":this.scaleX(-n.scaleX||-1);break;
24case"flip-vertical":this.scaleY(-n.scaleY||-1);break;default:this.played&&this.stop()}},dblclick:function(e){e.preventDefault(),this.viewed&&e.target===this.image&&(Yr&&e.isTrusted&&clearTimeout(this.doubleClickImageTimeout),this.toggle(e.isTrusted?e:e.detail&&e.detail.originalEvent))},load:function(){var e=this;this.timeout&&(clearTimeout(this.timeout),this.timeout=!1);var i=this.element,n=this.options,s=this.image,r=this.index,o=this.viewerData;ft(s,Zo),n.loading&&ft(this.canvas,Xr),s.style.cssText="height:0;"+"margin-left:".concat(o.width/2,"px;")+"margin-top:".concat(o.height/2,"px;")+"max-width:none!important;position:relative;width:0;",this.initImage(function(){pa(s,QR,n.movable),pa(s,Gt,n.transition),e.renderImage(function(){e.viewed=!0,e.viewing=!1,Et(n.viewed)&&Ve(i,fa,n.viewed,{once:!0}),$t(i,fa,{originalImage:e.images[r],index:r,image:s},{cancelable:!1})})})},loadImage:function(e){var i=e.target,n=i.parentNode,s=n.offsetWidth||30,r=n.offsetHeight||50,o=!!Gr(i,"filled");_b(i,this.options,function(a,c){var u=a/c,d=s,g=r;r*u>s?o?d=r*u:g=s/u:o?g=s/u:d=r*u,ln(i,Gi({width:d,height:g},Tl({translateX:(s-d)/2,translateY:(r-g)/2})))})},keydown:function(e){var i=this.options;if(i.keyboard){var n=e.keyCode||e.which||e.charCode;switch(n){case 13:this.viewer.contains(e.target)&&this.click(e);break}if(this.fulled)switch(n){case 27:this.played?this.stop():i.inline?this.fulled&&this.exit():this.hide();break;case 32:this.played&&this.stop();break;case 37:this.played&&this.playing?this.playing.prev():this.prev(i.loop);break;case 38:e.preventDefault(),this.zoom(i.zoomRatio,!0);break;case 39:this.played&&this.playing?this.playing.next():this.next(i.loop);break;case 40:e.preventDefault(),this.zoom(-i.zoomRatio,!0);break;case 48:case 49:e.ctrlKey&&(e.preventDefault(),this.toggle());break}}},dragstart:function(e){e.target.localName==="img"&&e.preventDefault()},pointerdown:function(e){var i=this.options,n=this.pointers,s=e.buttons,r=e.button;if(this.pointerMoved=!1,!(!this.viewed||this.showing||this.viewing||this.hiding||(e.type==="mousedown"||e.type==="pointerdown"&&e.pointerType==="mouse")&&(Nt(s)&&s!==1||Nt(r)&&r!==0||e.ctrlKey))){e.preventDefault(),e.changedTouches?Ct(e.changedTouches,function(a){n[a.identifier]=dl(a)}):n[e.pointerId||0]=dl(e);var o=i.movable?El:!1;i.zoomOnTouch&&i.zoomable&&Object.keys(n).length>1?o=No:i.slideOnTouch&&(e.pointerType==="touch"||e.type==="touchstart")&&this.isSwitchable()&&(o=mb),i.transition&&(o===El||o===No)&&ft(this.image,Gt),this.action=o}},pointermove:function(e){var i=this.pointers,n=this.action;!this.viewed||!n||(e.preventDefault(),e.changedTouches?Ct(e.changedTouches,function(s){Gi(i[s.identifier]||{},dl(s,!0))}):Gi(i[e.pointerId||0]||{},dl(e,!0)),this.change(e))},pointerup:function(e){var i=this,n=this.options,s=this.action,r=this.pointers,o;e.changedTouches?Ct(e.changedTouches,function(a){o=r[a.identifier],delete r[a.identifier]}):(o=r[e.pointerId||0],delete r[e.pointerId||0]),s&&(e.preventDefault(),n.transition&&(s===El||s===No)&&Ke(this.image,Gt),this.action=!1,Yr&&s!==No&&o&&Date.now()-o.timeStamp<500&&(clearTimeout(this.clickCanvasTimeout),clearTimeout(this.doubleClickImageTimeout),n.toggleOnDblclick&&this.viewed&&e.target===this.image?this.imageClicked?(this.imageClicked=!1,this.doubleClickImageTimeout=setTimeout(function(){$t(i.image,Cd,{originalEvent:e})},50)):(this.imageClicked=!0,this.doubleClickImageTimeout=setTimeout(function(){i.imageClicked=!1},500)):(this.imageClicked=!1,n.backdrop&&n.backdrop!=="static"&&e.target===this.canvas&&(this.clickCanvasTimeout=setTimeout(function(){$t(i.canvas,oo,{originalEvent:e})},50)))))},resize:function(){var e=this;if(!(!this.isShown||this.hiding)&&(this.fulled&&(this.close(),this.initBody(),this.open()),this.initContainer(),this.initViewer(),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage()}),this.played)){if(this.options.fullscreen&&this.fulled&&!(document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement)){this.stop();return}Ct(this.player.getElementsByTagName("img"),function(i){Ve(i,Yi,e.loadImage.bind(e),{once:!0}),$t(i,Yi)})}},wheel:function(e){var i=this;if(this.viewed&&(e.preventDefault(),!this.wheeling)){this.wheeling=!0,setTimeout(function(){i.wheeling=!1},50);var n=Number(this.options.zoomRatio)||.1,s=1;e.deltaY?s=e.deltaY>0?1:-1:e.wheelDelta?s=-e.wheelDelta/120:e.detail&&(s=e.detail>0?1:-1),this.zoom(-s*n,!0,null,e)}}},gA={show:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=this.element,n=this.options;if(n.inline||this.showing||this.isShown||this.showing)return this;if(!this.ready)return this.build(),this.ready&&this.show(e),this;if(Et(n.show)&&Ve(i,Up,n.show,{once:!0}),$t(i,Up)===!1||!this.ready)return this;this.hiding&&this.transitioning.abort(),this.showing=!0,this.open();var s=this.viewer;if(ft(s,Ys),s.setAttribute("role","dialog"),s.setAttribute("aria-labelledby",this.title.id),s.setAttribute("aria-modal",!0),s.removeAttribute("aria-hidden"),n.transition&&!e){var r=this.shown.bind(this);this.transitioning={abort:function(){kt(s,rn,r),ft(s,Ui)}},Ke(s,Gt),s.initialOffsetWidth=s.offsetWidth,Ve(s,rn,r,{once:!0}),Ke(s,Ui)}else Ke(s,Ui),this.shown();return this},hide:function(){var e=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,n=this.element,s=this.options;if(s.inline||this.hiding||!(this.isShown||this.showing))return this;if(Et(s.hide)&&Ve(n,Yp,s.hide,{once:!0}),$t(n,Yp)===!1)return this;this.showing&&this.transitioning.abort(),this.hiding=!0,this.played?this.stop():this.viewing&&this.viewing.abort();var r=this.viewer,o=this.image,a=function(){ft(r,Ui),e.hidden()};if(s.transition&&!i){var c=function d(g){g&&g.target===r&&(kt(r,rn,d),e.hidden())},u=function(){Or(r,Gt)?(Ve(r,rn,c),ft(r,Ui)):a()};
24this.transitioning={abort:function(){e.viewed&&Or(o,Gt)?kt(o,rn,u):Or(r,Gt)&&kt(r,rn,c)}},this.viewed&&Or(o,Gt)?(Ve(o,rn,u,{once:!0}),this.zoomTo(0,!1,null,null,!0)):u()}else a();return this},view:function(){var e=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.initialViewIndex;if(i=Number(i)||0,this.hiding||this.played||i<0||i>=this.length||this.viewed&&i===this.index)return this;if(!this.isShown)return this.index=i,this.show();this.viewing&&this.viewing.abort();var n=this.element,s=this.options,r=this.title,o=this.canvas,a=this.items[i],c=a.querySelector("img"),u=Gr(c,"originalUrl"),d=c.getAttribute("alt"),g=document.createElement("img");if(Ct(s.inheritedAttributes,function(C){var x=c.getAttribute(C);x!==null&&g.setAttribute(C,x)}),g.src=u,g.alt=d,Et(s.view)&&Ve(n,qp,s.view,{once:!0}),$t(n,qp,{originalImage:this.images[i],index:i,image:g})===!1||!this.isShown||this.hiding||this.played)return this;var v=this.items[this.index];v&&(ft(v,ll),v.removeAttribute("aria-selected")),Ke(a,ll),a.setAttribute("aria-selected",!0),s.focus&&a.focus(),this.image=g,this.viewed=!1,this.index=i,this.imageData={},Ke(g,Zo),s.loading&&Ke(o,Xr),o.innerHTML="",o.appendChild(g),this.renderList(),r.innerHTML="";var _=function(){var x=e.imageData,I=Array.isArray(s.title)?s.title[1]:s.title;r.innerHTML=rA(Et(I)?I.call(e,g,x):"".concat(d," (").concat(x.naturalWidth," × ").concat(x.naturalHeight,")"))},y,S;return Ve(n,fa,_,{once:!0}),this.viewing={abort:function(){kt(n,fa,_),g.complete?e.imageRendering?e.imageRendering.abort():e.imageInitializing&&e.imageInitializing.abort():(g.src="",kt(g,Yi,y),e.timeout&&clearTimeout(e.timeout))}},g.complete?this.load():(Ve(g,Yi,y=function(){kt(g,or,S),e.load()},{once:!0}),Ve(g,or,S=function(){kt(g,Yi,y),e.timeout&&(clearTimeout(e.timeout),e.timeout=!1),ft(g,Zo),s.loading&&ft(e.canvas,Xr)},{once:!0}),this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(function(){ft(g,Zo),e.timeout=!1},1e3)),this},prev:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=this.index-1;return i<0&&(i=e?this.length-1:0),this.view(i),this},next:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,i=this.length-1,n=this.index+1;return n>i&&(n=e?0:i),this.view(n),this},move:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,n=this.imageData;return this.moveTo(Br(e)?e:n.x+Number(e),Br(i)?i:n.y+Number(i)),this},moveTo:function(e){var i=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=this.element,o=this.options,a=this.imageData;if(e=Number(e),n=Number(n),this.viewed&&!this.played&&o.movable){var c=a.x,u=a.y,d=!1;if(Nt(e)?d=!0:e=c,Nt(n)?d=!0:n=u,d){if(Et(o.move)&&Ve(r,Qp,o.move,{once:!0}),$t(r,Qp,{x:e,y:n,oldX:c,oldY:u,originalEvent:s})===!1)return this;
24a.x=e,a.y=n,a.left=e,a.top=n,this.moving=!0,this.renderImage(function(){i.moving=!1,Et(o.moved)&&Ve(r,Jp,o.moved,{once:!0}),$t(r,Jp,{x:e,y:n,oldX:c,oldY:u,originalEvent:s},{cancelable:!1})})}}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e)),this},rotateTo:function(e){var i=this,n=this.element,s=this.options,r=this.imageData;if(e=Number(e),Nt(e)&&this.viewed&&!this.played&&s.rotatable){var o=r.rotate;if(Et(s.rotate)&&Ve(n,em,s.rotate,{once:!0}),$t(n,em,{degree:e,oldDegree:o})===!1)return this;r.rotate=e,this.rotating=!0,this.renderImage(function(){i.rotating=!1,Et(s.rotated)&&Ve(n,tm,s.rotated,{once:!0}),$t(n,tm,{degree:e,oldDegree:o},{cancelable:!1})})}return this},scaleX:function(e){return this.scale(e,this.imageData.scaleY),this},scaleY:function(e){return this.scale(this.imageData.scaleX,e),this},scale:function(e){var i=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,s=this.element,r=this.options,o=this.imageData;if(e=Number(e),n=Number(n),this.viewed&&!this.played&&r.scalable){var a=o.scaleX,c=o.scaleY,u=!1;if(Nt(e)?u=!0:e=a,Nt(n)?u=!0:n=c,u){if(Et(r.scale)&&Ve(s,im,r.scale,{once:!0}),$t(s,im,{scaleX:e,scaleY:n,oldScaleX:a,oldScaleY:c})===!1)return this;o.scaleX=e,o.scaleY=n,this.scaling=!0,this.renderImage(function(){i.scaling=!1,Et(r.scaled)&&Ve(s,nm,r.scaled,{once:!0}),$t(s,nm,{scaleX:e,scaleY:n,oldScaleX:a,oldScaleY:c},{cancelable:!1})})}}return this},zoom:function(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,r=this.imageData;return e=Number(e),e<0?e=1/(1-e):e=1+e,this.zoomTo(r.width*e/r.naturalWidth,i,n,s),this},zoomTo:function(e){var i=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,a=this.element,c=this.options,u=this.pointers,d=this.imageData,g=d.x,v=d.y,_=d.width,y=d.height,S=d.naturalWidth,C=d.naturalHeight;if(e=Math.max(0,e),Nt(e)&&this.viewed&&!this.played&&(o||c.zoomable)){if(!o){var x=Math.max(.01,c.minZoomRatio),I=Math.min(100,c.maxZoomRatio);e=Math.min(Math.max(e,x),I)}if(r)switch(r.type){case"wheel":c.zoomRatio>=.055&&e>.95&&e<1.05&&(e=1);break;case"pointermove":case"touchmove":case"mousemove":e>.99&&e<1.01&&(e=1);break}var R=S*e,F=C*e,Z=R-_,p=F-y,le=d.ratio;if(Et(c.zoom)&&Ve(a,sm,c.zoom,{once:!0}),$t(a,sm,{ratio:e,oldRatio:le,originalEvent:r})===!1)return this;if(this.zooming=!0,r){var Q=aA(this.viewer),ae=u&&Object.keys(u).length>0?uA(u):{pageX:r.pageX,pageY:r.pageY};d.x-=Z*((ae.pageX-Q.left-g)/_),d.y-=p*((ae.pageY-Q.top-v)/y)}else Nr(s)&&Nt(s.x)&&Nt(s.y)?(d.x-=Z*((s.x-g)/_),d.y-=p*((s.y-v)/y)):(d.x-=Z/2,d.y-=p/2);d.left=d.x,d.top=d.y,d.width=R,d.height=F,d.oldRatio=le,d.ratio=e,this.renderImage(function(){i.zooming=!1,Et(c.zoomed)&&Ve(a,rm,c.zoomed,{once:!0}),$t(a,rm,{ratio:e,oldRatio:le,originalEvent:r},{cancelable:!1})}),n&&this.tooltip()}return this},play:function(){var e=this,i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.isShown||this.played)return this;var n=this.element,s=this.options;if(Et(s.play)&&Ve(n,om,s.play,{once:!0}),$t(n,om)===!1)return this;var r=this.player,o=this.loadImage.bind(this),a=[],c=0,u=0;if(this.played=!0,this.onLoadWhenPlay=o,i&&this.requestFullscreen(i),Ke(r,xr),Ct(this.items,function(v,_){var y=v.querySelector("img"),S=document.createElement("img");S.src=Gr(y,"originalUrl"),S.alt=y.getAttribute("alt"),S.referrerPolicy=y.referrerPolicy,c+=1,Ke(S,kl),pa(S,Gt,s.transition),Or(v,ll)&&(Ke(S,Ui),u=_),a.push(S),Ve(S,Yi,o,{once:!0}),r.appendChild(S)}),Nt(s.interval)&&s.interval>0){var d=function v(){clearTimeout(e.playing.timeout),ft(a[u],Ui),u-=1,u=u>=0?u:c-1,Ke(a[u],Ui),e.playing.timeout=setTimeout(v,s.interval)},g=function v(){clearTimeout(e.playing.timeout),ft(a[u],Ui),u+=1,u=u<c?u:0,Ke(a[u],Ui),e.playing.timeout=setTimeout(v,s.interval)};c>1&&(this.playing={prev:d,next:g,timeout:setTimeout(g,s.interval)})}return this},stop:function(){var e=this;if(!this.played)return this;var i=this.element,n=this.options;
24if(Et(n.stop)&&Ve(i,am,n.stop,{once:!0}),$t(i,am)===!1)return this;var s=this.player;return clearTimeout(this.playing.timeout),this.playing=!1,this.played=!1,Ct(s.getElementsByTagName("img"),function(r){kt(r,Yi,e.onLoadWhenPlay)}),ft(s,xr),s.innerHTML="",this.exitFullscreen(),this},full:function(){var e=this,i=this.options,n=this.viewer,s=this.image,r=this.list;return!this.isShown||this.played||this.fulled||!i.inline?this:(this.fulled=!0,this.open(),Ke(this.button,Fp),i.transition&&(ft(r,Gt),this.viewed&&ft(s,Gt)),Ke(n,xd),n.setAttribute("role","dialog"),n.setAttribute("aria-labelledby",this.title.id),n.setAttribute("aria-modal",!0),n.removeAttribute("style"),ln(n,{zIndex:i.zIndex}),i.focus&&this.enforceFocus(),this.initContainer(),this.viewerData=Gi({},this.containerData),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage(function(){i.transition&&setTimeout(function(){Ke(s,Gt),Ke(r,Gt)},0)})}),this)},exit:function(){var e=this,i=this.options,n=this.viewer,s=this.image,r=this.list;return!this.isShown||this.played||!this.fulled||!i.inline?this:(this.fulled=!1,this.close(),ft(this.button,Fp),i.transition&&(ft(r,Gt),this.viewed&&ft(s,Gt)),i.focus&&this.clearEnforceFocus(),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),ft(n,xd),ln(n,{zIndex:i.zIndexInline}),this.viewerData=Gi({},this.parentData),this.renderViewer(),this.renderList(),this.viewed&&this.initImage(function(){e.renderImage(function(){i.transition&&setTimeout(function(){Ke(s,Gt),Ke(r,Gt)},0)})}),this)},tooltip:function(){var e=this,i=this.options,n=this.tooltipBox,s=this.imageData;return!this.viewed||this.played||!i.tooltip?this:(n.textContent="".concat(Math.round(s.ratio*100),"%"),this.tooltipping?clearTimeout(this.tooltipping):i.transition?(this.fading&&$t(n,rn),Ke(n,xr),Ke(n,kl),Ke(n,Gt),n.removeAttribute("aria-hidden"),n.initialOffsetWidth=n.offsetWidth,Ke(n,Ui)):(Ke(n,xr),n.removeAttribute("aria-hidden")),this.tooltipping=setTimeout(function(){i.transition?(Ve(n,rn,function(){ft(n,xr),ft(n,kl),ft(n,Gt),n.setAttribute("aria-hidden",!0),e.fading=!1},{once:!0}),ft(n,Ui),e.fading=!0):(ft(n,xr),n.setAttribute("aria-hidden",!0)),e.tooltipping=!1},1e3),this)},toggle:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return this.imageData.ratio===1?this.zoomTo(this.imageData.oldRatio,!0,null,e):this.zoomTo(1,!0,null,e),this},reset:function(){return this.viewed&&!this.played&&(this.imageData=Gi({},this.initialImageData),this.renderImage()),this},update:function(){var e=this,i=this.element,n=this.options,s=this.isImg;if(s&&!i.parentNode)return this.destroy();var r=[];if(Ct(s?[i]:i.querySelectorAll("img"),function(u){Et(n.filter)?n.filter.call(e,u)&&r.push(u):e.getImageURL(u)&&r.push(u)}),!r.length)return this;if(this.images=r,this.length=r.length,this.ready){var o=[];if(Ct(this.items,function(u,d){var g=u.querySelector("img"),v=r[d];v&&g?(v.src!==g.src||v.alt!==g.alt)&&o.push(d):o.push(d)}),ln(this.list,{width:"auto"}),this.initList(),this.isShown)if(this.length){if(this.viewed){var a=o.indexOf(this.index);if(a>=0)this.viewed=!1,this.view(Math.max(Math.min(this.index-a,this.length-1),0));else{var c=this.items[this.index];Ke(c,ll),c.setAttribute("aria-selected",!0)}}}else this.image=null,this.viewed=!1,this.index=0,this.imageData={},this.canvas.innerHTML="",this.title.innerHTML=""}else this.build();return this},destroy:function(){var e=this.element,i=this.options;return e[et]?(this.destroyed=!0,this.ready?(this.played&&this.stop(),i.inline?(this.fulled&&this.exit(),this.unbind()):this.isShown?(this.viewing&&(this.imageRendering?this.imageRendering.abort():this.imageInitializing&&this.imageInitializing.abort()),this.hiding&&this.transitioning.abort(),this.hidden()):this.showing&&(this.transitioning.abort(),this.hidden()),this.ready=!1,this.viewer.parentNode.removeChild(this.viewer)):i.inline&&(this.delaying?this.delaying.abort():this.initializing&&this.initializing.abort()),i.inline||kt(e,oo,this.onStart),e[et]=void 0,this):this}},pA={getImageURL:function(e){var i=this.options.url;return ga(i)?i=e.getAttribute(i):Et(i)?i=i.call(this,e):i="",i},enforceFocus:function(){var e=this;this.clearEnforceFocus(),Ve(document,Np,this.onFocusin=function(i){var n=e.viewer,s=i.target;if(!(s===document||s===n||n.contains(s))){for(;s;){if(s.getAttribute("tabindex")!==null||s.getAttribute("aria-modal")==="true")return;s=s.parentElement}n.focus()}})},clearEnforceFocus:function(){this.onFocusin&&(kt(document,Np,this.onFocusin),this.onFocusin=null)},open:function(){var e=this.body;Ke(e,zp),this.scrollbarWidth>0&&(e.style.paddingRight="".concat(this.scrollbarWidth+(parseFloat(this.initialBodyComputedPaddingRight)||0),"px"))},close:function(){var e=this.body;ft(e,zp),this.scrollbarWidth>0&&(e.style.paddingRight=this.initialBodyPaddingRight)},shown:function(){var e=this.element,i=this.options,n=this.viewer;this.fulled=!0,this.isShown=!0,this.render(),this.bind(),this.showing=!1,i.focus&&(n.focus(),this.enforceFocus()),Et(i.shown)&&Ve(e,Vp,i.shown,{once:!0}),$t(e,Vp)!==!1&&this.ready&&this.isShown&&!this.hiding&&this.view(this.index)},hidden:function(){var e=this.element,i=this.options,n=this.viewer;i.fucus&&this.clearEnforceFocus(),this.close(),this.unbind(),Ke(n,Ys),n.removeAttribute("role"),n.removeAttribute("aria-labelledby"),n.removeAttribute("aria-modal"),n.setAttribute("aria-hidden",!0),this.resetList(),this.resetImage(),this.fulled=!1,this.viewed=!1,this.isShown=!1,this.hiding=!1,this.destroyed||(Et(i.hidden)&&Ve(e,Xp,i.hidden,{once:!0}),$t(e,Xp,null,{cancelable:!1}))},requestFullscreen:function(e){var i=this.element.ownerDocument;if(this.fulled&&!(i.fullscreenElement||i.webkitFullscreenElement||i.mozFullScreenElement||i.msFullscreenElement)){var n=i.documentElement;n.requestFullscreen?Nr(e)?n.requestFullscreen(e):n.requestFullscreen():n.webkitRequestFullscreen?n.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):n.mozRequestFullScreen?n.mozRequestFullScreen():n.msRequestFullscreen&&n.msRequestFullscreen()}},exitFullscreen:function(){var e=this.element.ownerDocument;this.fulled&&(e.fullscreenElement||e.webkitFullscreenElement||e.mozFullScreenElement||e.msFullscreenElement)&&(e.exitFullscreen?e.exitFullscreen():e.webkitExitFullscreen?e.webkitExitFullscreen():e.mozCancelFullScreen?e.mozCancelFullScreen():e.msExitFullscreen&&e.msExitFullscreen())},change:function(e){var i=this.options,n=this.pointers,s=n[Object.keys(n)[0]];if(s){var r=s.endX-s.startX,o=s.endY-s.startY;switch(this.action){case El:(r!==0||o!==0)&&(this.pointerMoved=!0,this.move(r,o,e));break;case No:this.zoom(cA(n),!1,null,e);break;case mb:{this.action="switched";var a=Math.abs(r);a>1&&a>Math.abs(o)&&(this.pointers={},r>1?this.prev(i.loop):r<-1&&this.next(i.loop));break}}Ct(n,function(c){c.startX=c.endX,c.startY=c.endY})}},isSwitchable:function(){var e=this.imageData,i=this.viewerData;return this.length>1&&e.x>=0&&e.y>=0&&e.width<=i.width&&e.height<=i.height}},mA=$n.Viewer,vA=function(t){return function(){return t+=1,t}}(-1),bb=function(){function t(e){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(KR(this,t),!e||e.nodeType!==1)throw new Error("The first argument is required and must be an element.");this.element=e,this.options=Gi({},Pp,Nr(i)&&i),this.action=!1,this.fading=!1,this.fulled=!1,this.hiding=!1,this.imageClicked=!1,this.imageData={},this.index=this.options.initialViewIndex,this.isImg=!1,this.isShown=!1,this.length=0,this.moving=!1,this.played=!1,this.playing=!1,this.pointers={},this.ready=!1,this.rotating=!1,this.scaling=!1,this.showing=!1,this.timeout=!1,this.tooltipping=!1,this.viewed=!1,this.viewing=!1,this.wheeling=!1,this.zooming=!1,this.pointerMoved=!1,this.id=vA(),this.init()}return HR(t,[{key:"init",value:function(){var i=this,n=this.element,s=this.options;if(!n[et]){n[et]=this,s.focus&&!s.keyboard&&(s.focus=!1);var r=n.localName==="img",o=[];if(Ct(r?[n]:n.querySelectorAll("img"),function(u){Et(s.filter)?s.filter.call(i,u)&&o.push(u):i.getImageURL(u)&&o.push(u)}),this.isImg=r,this.length=o.length,this.images=o,this.initBody(),Br(document.createElement(et).style.transition)&&(s.transition=!1),s.inline){var a=0,c=function(){if(a+=1,a===i.length){var d;i.initializing=!1,i.delaying={abort:function(){clearTimeout(d)}},d=setTimeout(function(){i.delaying=!1,i.build()},0)}};this.initializing={abort:function(){Ct(o,function(d){d.complete||(kt(d,Yi,c),kt(
24d,or,c))})}},Ct(o,function(u){if(u.complete)c();else{var d,g;Ve(u,Yi,d=function(){kt(u,or,g),c()},{once:!0}),Ve(u,or,g=function(){kt(u,Yi,d),c()},{once:!0})}})}else Ve(n,oo,this.onStart=function(u){var d=u.target;d.localName==="img"&&(!Et(s.filter)||s.filter.call(i,d))&&i.view(i.images.indexOf(d))})}}},{key:"build",value:function(){if(!this.ready){var i=this.element,n=this.options,s=i.parentNode,r=document.createElement("div");r.innerHTML=ZR;var o=r.querySelector(".".concat(et,"-container")),a=o.querySelector(".".concat(et,"-title")),c=o.querySelector(".".concat(et,"-toolbar")),u=o.querySelector(".".concat(et,"-navbar")),d=o.querySelector(".".concat(et,"-button")),g=o.querySelector(".".concat(et,"-canvas"));if(this.parent=s,this.viewer=o,this.title=a,this.toolbar=c,this.navbar=u,this.button=d,this.canvas=g,this.footer=o.querySelector(".".concat(et,"-footer")),this.tooltipBox=o.querySelector(".".concat(et,"-tooltip")),this.player=o.querySelector(".".concat(et,"-player")),this.list=o.querySelector(".".concat(et,"-list")),o.id="".concat(et).concat(this.id),a.id="".concat(et,"Title").concat(this.id),Ke(a,n.title?ul(Array.isArray(n.title)?n.title[0]:n.title):Ys),Ke(u,n.navbar?ul(n.navbar):Ys),pa(d,Ys,!n.button),n.keyboard&&d.setAttribute("tabindex",0),n.backdrop&&(Ke(o,"".concat(et,"-backdrop")),!n.inline&&n.backdrop!=="static"&&Rd(g,Ql,"hide")),ga(n.className)&&n.className&&n.className.split(of).forEach(function(R){Ke(o,R)}),n.toolbar){var v=document.createElement("ul"),_=Nr(n.toolbar),y=cl.slice(0,3),S=cl.slice(7,9),C=cl.slice(9);_||Ke(c,ul(n.toolbar)),Ct(_?n.toolbar:cl,function(R,F){var Z=_&&Nr(R),p=_?af(F):R,le=Z&&!Br(R.show)?R.show:R;if(!(!le||!n.zoomable&&y.indexOf(p)!==-1||!n.rotatable&&S.indexOf(p)!==-1||!n.scalable&&C.indexOf(p)!==-1)){var Q=Z&&!Br(R.size)?R.size:R,ae=Z&&!Br(R.click)?R.click:R,ue=document.createElement("li");n.keyboard&&ue.setAttribute("tabindex",0),ue.setAttribute("role","button"),Ke(ue,"".concat(et,"-").concat(p)),Et(ae)||Rd(ue,Ql,p),Nt(le)&&Ke(ue,ul(le)),["small","large"].indexOf(Q)!==-1?Ke(ue,"".concat(et,"-").concat(Q)):p==="play"&&Ke(ue,"".concat(et,"-large")),Et(ae)&&Ve(ue,oo,ae),v.appendChild(ue)}}),c.appendChild(v)}else Ke(c,Ys);if(!n.rotatable){var x=c.querySelectorAll('li[class*="rotate"]');Ke(x,Zo),Ct(x,function(R){c.appendChild(R)})}if(n.inline)Ke(d,VR),ln(o,{zIndex:n.zIndexInline}),window.getComputedStyle(s).position==="static"&&ln(s,{position:"relative"}),s.insertBefore(o,i.nextSibling);else{Ke(d,UR),Ke(o,xd),Ke(o,kl),Ke(o,Ys),ln(o,{zIndex:n.zIndex});var I=n.container;ga(I)&&(I=i.ownerDocument.querySelector(I)),I||(I=this.body),I.appendChild(o)}if(n.inline&&(this.render(),this.bind(),this.isShown=!0),this.ready=!0,Et(n.ready)&&Ve(i,Zp,n.ready,{once:!0}),$t(i,Zp)===!1){this.ready=!1;return}this.ready&&n.inline&&this.view(this.index)}}}],[{key:"noConflict",value:function(){return window.Viewer=mA,t}},{key:"setDefaults",value:function(i){Gi(Pp,Nr(i)&&i)}}]),t}();Gi(bb.prototype,dA,hA,fA,gA,pA);const _A="Adresse",bA="PLZ Ort",yA="Koordinaten",wA="Objektnummer",SA="Wirtschaftszweig",EA="Betrieb",kA="Zugang",TA="Datierung",IA="Erklärung Datierung",xA="Hersteller",CA="Hauptquellen",RA="Weitere Quellen",AA="Inventare",MA="Copyright",DA="Erfassung/Letzte Nachführung",LA="Wanderweg",OA="Gruppe",lm={address:_A,city:bA,coordinates:yA,objectNumber:wA,economy:SA,application:EA,access:kA,date:TA,dateDescription:IA,producer:xA,mainSources:CA,additionalSources:RA,inventory:AA,copyright:MA,creationLastUpdate:DA,route:LA,group:OA},PA="Adresse",FA="PLZ Ort",zA="Koordinaten",BA="Objektnummer",NA="Wirtschaftszweig",GA="Betrieb",jA="Zugang",KA="Datierung",HA="Erklärung Datierung",WA="Hersteller",$A="Hauptquellen",ZA="Weitere Quellen",UA="Inventare",VA="Copyright",YA="Erfassung/Letzte Nachführung",XA={address:PA,city:FA,coordinates:zA,objectNumber:BA,economy:NA,application:GA,access:jA,date:KA,dateDescription:HA,producer:WA,mainSources:$A,additionalSources:ZA,inventory:UA,copyright:VA,creationLastUpdate:YA},qA="Adresse",QA="PLZ Ort",JA="Koordinaten",eM="Objektnummer",tM="Wirtschaftszweig",iM="Betrieb",nM="Zugang",sM="Datierung",rM="Erklärung Datierung",oM="Hersteller",aM="Hauptquellen",lM="Weitere Quellen",cM="Inventare",uM="Copyright",dM="Erfassung/Letzte Nachführung",hM={address:qA,city:QA,coordinates:JA,objectNumber:eM,economy:tM,application:iM,access:nM,date:sM,dateDescription:rM,producer:oM,mainSources:aM,additionalSources:lM,inventory:cM,copyright:uM,creationLastUpdate:dM},fM=ks({name:"ObjectInformation",emits:["close","route","group"],props:{objectData:Object,selectedLanguage:String,showOptions:Boolean,scrollToID:String},watch:{selectedLanguage(t){switch(t){case"fr":this.language=XA;break;case"it":this.language=hM;break;default:this.language=lm;break}},scrollToID(t){this.scrollTo(t)},objectData(){ji(()=>{this.checkResize();let t=document.querySelector(".object");t.scrollTop=0,this.viewer!==null&&this.viewer.destroy();let e=document.getElementById("viewerContent"),i={navbar:!1,title:!1,toolbar:!1,rotatable:!1,scalable:!1,tooltip:!1,url(n){return n.src.replace("_prev","")}};this.viewer=new bb(e,i)})},showOptions(){ji(()=>{this.updateView()})},titleHeight(t){ji(()=>{this.updateView()})},appHeight(t,e){(e<500&&t>=500||e>=500&&t<500)&&this.updateView()}},data(){return{ticking:!1,viewer:null,language:lm,titleHeight:0,appHeight:0,appWidth:0}},mounted(){var t;this.checkResize(),window.addEventListener("resize",this.checkResize),(t=document.querySelector("div.object"))==null||t.addEventListener("scroll",this.checkScroll)},unmounted(){var t;window.removeEventListener("resize",this.checkResize),(t=document.querySelector("div.object"))==null||t.removeEventListener("scroll",this.checkScroll)},methods:{scrollTo(t){var e;if(t==0){let i=document.querySelector(".object");i.scrollTop=0}else(e=document.getElementById(`sub${t}`))==null||e.scrollIntoView({behavior:"smooth"})},checkScroll(){this.ticking||(window.requestAnimationFrame(()=>{var e,i;let t=0;document.querySelectorAll("a.anchor").forEach((n,s)=>{let r=this.titleHeight+10+260;n.getBoundingClientRect().top<=r&&(t=s)}),document.querySelectorAll(".rightMenu > .item").forEach(n=>n.classList.remove("selected")),(e=document.querySelector(".rightMenu > .item:nth-child("+(t+1)+")"))==null||e.classList.add("selected"),document.querySelectorAll(".titleMenu > .item").forEach(n=>n.classList.remove("selected")),(i=document.querySelector(".titleMenu > .item:nth-child("+(t+1)+")"))==null||i.classList.add("selected"),this.ticking=!1}),this.ticking=!0)},checkResize(){var t,e,i;this.titleHeight=((t=document.getElementById("objectTitle"))==null?void 0:t.offsetHeight)??0,this.appHeight=((e=document.getElementById("app"))==null?void 0:e.offsetHeight)??0,this.appWidth=((i=document.getElementById("app"))==null?void 0:i.offsetWidth)??0},updateView(){let t=document.querySelector("div.object"),e=document.querySelector("div.rightMenu"),i=this.titleHeight+80;t.style.top=`${i}px`;let n=i-12;e.style.top=`${n}px`},load(t,e){this.$emit(e,t)}}});const yb=t=>(lc("data-v-bda7fcf3"),t=t(),cc(),t),gM={id:"contentObject",class:"scrolling content"},pM={class:"ui celled list rightMenu"},mM=["data-ID","onClick"],vM={key:0,style:{display:"block","margin-bottom":"0.25em",color:"#000","font-size":"9pt"}},_M={key:1,style:{display:"block","margin-bottom":"0.25em",color:"#000","font-size":"9pt"}},bM=["data-ID","onClick"],yM=["onClick"],wM=["id"],SM={class:"ui slide masked reveal image",style:{"margin-bottom":"0px !important"}},EM=["src"],kM={class:"content"},TM={class:"header"},IM={class:"description"},xM=["innerHTML"],CM={id:"viewerContent"},RM=["id"],AM={class:"ui header"},MM={class:"subImagesSmallDevices"},DM={class:"ui fluid image"},LM=["src"],OM=["innerHTML"],PM={class:"ui stackable grid"},FM={class:"six wide column subImagesNormalDevices"},zM={class:"ui fluid image"},BM=["src"],NM={class:"ten wide column"},GM={class:"ui small celled table"},jM={class:"objectDetailLabel"},KM={key:0},HM=yb(()=>k("td",null,"VAMUS",-1)),WM=yb(()=>k("td",null,[k("a",{href:"mailto:[email protected]"},"Zugang auf Anfrage")],-1)),$M=[HM,WM];function ZM(t,e,i,n,s,r){var o,a,c,u;return he(),fe("div",gM,[k("div",pM,[(he(!0),fe(Tt,null,ui((o=t.objectData)==null?void 0:o.links,d=>(he(),fe("a",{class:"item",key:d.type+d.ID,"data-ID":d.type+d.ID,onClick:g=>t.scrollTo(d.type+d.ID)},[d.type=="route"?(he(),fe("span",vM,U(t.language.route),1)):ct("",!0),d.type=="group"?(he(),fe("span",_M,U(t.language.group),1)):ct("",!0),Yt(" "+U(d.name),1)],8,mM))),128)),(he(!0),fe(Tt,null,ui((a=t.objectData)==null?void 0:a.objectSubs,d=>(he(),fe("a",{class:"item",key:d.ID,"data-ID":d.ID,onClick:g=>t.scrollTo(d.ID)},U(d.categoryName),9,bM))),128))]),(he(!0),fe(Tt,null,ui((c=t.objectData)==null?void 0:c.links,d=>(he(),fe("div",{class:at(["ui horizontal fluid card subCard",{subCardYellow:d.type=="route"},{subCardPurple:d.type=="group"}]),key:d.ID,onClick:g=>t.load(d.ID,d.type)},[k("a",{class:"anchor",id:"sub"+d.type+d.ID},null,8,wM),k("a",{class:at(["ui right corner label",{yellow:d.type=="route"},{purple:d.type=="group"}])},[k("i",{class:at(["icon",{route:d.type=="route"},{"layer group":d.type=="group"}])},null,2)],2),k("div",SM,[k("img",{src:d.img,class:"content"},null,8,EM)]),k("div",kM,[k("div",TM,U(d.name),1),k("div",IM,[k("p",{innerHTML:d.lead},null,8,xM)])])],10,yM))),128)),k("div",CM,[(he(!0),fe(Tt,null,ui((u=t.objectData)==null?void 0:u.objectSubs,d=>{var g;return he(),fe("div",{class:"sub",key:d.ID},[k("a",{class:"anchor",id:"sub"+d.ID},null,8,RM),k("div",AM,U(d.categoryName),1),k("div",MM,[(he(!0),fe(Tt,null,ui(d.images,v=>(he(),fe("a",DM,[k("img",{src:v.prev,onClick:e[0]||(e[0]=_=>{var y;return(y=t.viewer)==null?void 0:y.show()})},null,8,LM)]))),256))]),k("div",{class:"description",innerHTML:d.description},null,8,OM),k("div",PM,[k("div",FM,[(he(!0),fe(Tt,null,ui(d.images,v=>(he(),fe("a",zM,[k("img",{src:v.prev,onClick:e[1]||(e[1]=_=>{var y;return(y=t.viewer)==null?void 0:y.show()})},null,8,BM)]))),256))]),k("div",NM,[k("table",GM,[k("tbody",null,[k("tr",null,[k("td",jM,U(t.language.address),1),k("td",null,U(d.address),1)]),k("tr",null,[k("td",null,U(t.language.city),1),k("td",null,U(d.zip)+" "+U(d.city),1)]),k("tr",null,[k("td",null,U(t.language.coordinates),1),k("td",null,U(d.coordinates),1)]),k("tr",null,[k("td",null,U(t.language.objectNumber),1),k("td",null,U(d.objectID),1)]),k("tr",null,[k("td",null,U(t.language.economy),1),k("td",null,U(d.economyName),1)]),k("tr",null,[k("td",null,U(t.language.application),1),k("td",null,U(d.applicationName),1)]),k("tr",null,[k("td",null,U(t.language.access),1),k("td",null,U(d.accessName),1)]),k("tr",null,[k("td",null,U(t.language.date),1),k("td",null,U(d.dateStamp),1)]),k("tr",null,[k("td",null,U(t.language.dateDescription),1),k("td",null,U(d.dateStampDescription),1)]),k("tr",null,[k("td",null,U(t.language.producer),1),k("td",null,U(d.architect),1)]),k("tr",null,[k("td",null,U(t.language.mainSources),1),k("td",null,U(d.mainSource),1)]),k("tr",null,[k("td",null,U(t.language.additionalSources),1),k("td",null,U(d.additionalSource),1)]),k("tr",null,[k("td",null,U(t.language.inventory),1),k("td",null,U(d.inventory),1)]),((g=t.objectData)==null?void 0:g.cantonCode)=="AG"?(he(),fe("tr",KM,$M)):ct("",!0),k("tr",null,[k("td",null,U(t.language.copyright),1),k("td",null,U(d.copyright),1)]),k("tr",null,[k("td",null,U(t.language.creationLastUpdate),1),k("td",null,U(d.lastUpdateDate),1)])])])])])])}),128))])])}
24const UM=mo(fM,[["render",ZM],["__scopeId","data-v-bda7fcf3"]]),VM="Objekte",YM="Objekt",XM="Datierung",qM="Hauptquellen",QM="Vereine",JM="Zum Objekt",cm={objects:VM,object:YM,date:XM,mainSources:qM,associations:QM,goToObject:JM},e2="Objekte",t2="Objekt",i2={objects:e2,object:t2},n2="Objekte",s2="Objekt",r2="mehr Infomrationen",o2="weniger",a2={objects:n2,object:s2,moreInformation:r2,lessInformation:o2},l2=ks({name:"GroupInformation",emits:["close","object"],props:{groupData:Object,selectedLanguage:String,showOptions:Boolean},watch:{selectedLanguage(t){switch(t){case"fr":this.language=i2;break;case"it":this.language=a2;break;default:this.language=cm;break}},groupData(){ji(()=>{this.checkResize();let t=document.querySelector("div.object");t.scrollTop=0})},showOptions(){ji(()=>{this.updateView()})},titleHeight(t){ji(()=>{this.updateView()})},appHeight(t,e){(e<500&&t>=500||e>=500&&t<500)&&this.updateView()}},data(){return{language:cm,titleHeight:0,appHeight:0}},mounted(){this.checkResize(),window.addEventListener("resize",this.checkResize)},unmounted(){window.removeEventListener("resize",this.checkResize)},methods:{checkResize(){var t,e;this.titleHeight=((t=document.getElementById("groupTitle"))==null?void 0:t.offsetHeight)??0,this.appHeight=((e=document.getElementById("app"))==null?void 0:e.offsetHeight)??0},updateView(){let t=document.querySelector("div.group"),e=this.titleHeight+80;t.style.top=`${e}px`}}}),Nc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAA6CAYAAADybArcAAAACXBIWXMAABcRAAAXEQHKJvM/AAACmUlEQVRoQ+2av2rcQBDGB98LXPoQVBpXJpAuhSoXaeIihRuDUwVSHelCmiMp3RhcJoULP4AfwY+QRzB+A+cFNvt59We1Uu5brSR7CCv4YZ1utJoPz7eImxFjjCyFPdaWi4o1i58CDUjFHhvZ23uwf80j7vyM3ZcKDRiLPUrLXSNg/8DIy1em+SzyGzFsnbHQgFjsUVhumoTXL4x8/GTk57UD57jWCkJswdaNhQYwKh9svQSNvP9g5PJXK6IG1/CdH+vunewfGkBEnHV88PqNkfPLvoCQH+cutr5vtbqXif6hAf8QUIqrdZcIPPDtOxcQ8uVr6J9bSfQPDQgEFJar5sGo+ZNTnjADa3T9g2cULJ/RQqT2wWr1p3nY0bthH6SCtbBmvb4r2S3LLVqIwAeuhlsfoMZZYqmgRH3/uK38mOa5Q8ChuJptfYCaZonMxefNkH8Oo4VUZXTVLFD7YM4yigXPHPZPb7sORWw72ylqNmY7XRrk8LYM/bPpCUENiv9agRpN2U6XBjnhlafrn7LS4PkA/0LUJlvwuUGO3XKDhurDc/kgldo/rZjqhN2olSxEG1mINrIQbWQh2shCtJGFaCML0UYWoo0sRBtZiDayEG1kIdr4f4Vo/NGagZwbIRrbCIzhNoOixg6j/8M1eJxz2d1q09RiIK24odZbv+mzZPOTEdkcHW4s1u3o0D9PWW7wwYh29eBFT1AhSwwIMCIboNFCPEGlPEWresJIBw0IBKUN0TBmGLKhAQNi4seaGOHYhhsR2bIymkWIJ6iQXYNmjJkH0WgAQ8aOPOG7BUYDaUAsEg5j4hXC9w/OfR/MPKxJA8Yg7XhsmzC20oXG/zrPZgEpiPPPbZC8qa4V7P4UaMAUpB2dBSWLn8JfDoot2j8/29gAAAAASUVORK5CYII=";const Rn=t=>(lc("data-v-b20d30c2"),t=t(),cc(),t),c2={class:"scrolling content"},u2={key:0,class:"ui relaxed list subImagesSmallDevices"},d2={class:"item"},h2=Rn(()=>k("i",{class:"large linkify middle aligned icon"},null,-1)),f2={class:"content"},g2=["href"],p2=["innerHTML"],m2={class:"ui stackable grid subImagesNormalDevices"},v2={class:"eight wide column"},_2={id:"groupObjects"},b2=["onClick"],y2={class:"image"},w2=["src"],S2={class:"content"},E2={class:"header cutText"},k2={class:"meta cutText"},T2={class:"description cutText"},I2={class:"right floated"},x2=Rn(()=>k("i",{class:"angle down icon"},null,-1)),C2=Rn(()=>k("img",{src:Nc,style:{width:"12px"}},null,-1)),R2={class:"description",style:{position:"absolute","margin-top":"20px","margin-left":"-148px","z-index":"100",padding:"20px","background-color":"white"}},A2=["innerHTML"],M2=["onClick"],D2=Rn(()=>k("span",{class:"right floated"},[k("i",{class:"angle up icon"})],-1)),L2={class:"description",style:{"margin-top":"20px","margin-left":"-148px",padding:"20px",color:"white"}},O2=["innerHTML"],P2=Rn(()=>k("span",{class:"right floated"},[k("i",{class:"angle up icon"})],-1)),F2={class:"eight wide column"},z2={key:0,class:"ui relaxed list"},B2={class:"item"},N2=Rn(()=>k("i",{class:"large linkify middle aligned icon"},null,-1)),G2={class:"content"},j2=["href"],K2=["innerHTML"],H2={class:"ui header subImagesSmallDevices"},W2={id:"groupObjects",class:"subImagesSmallDevices"},$2=["onClick"],Z2={class:"image"},U2=["src"],V2={class:"content"},Y2={class:"header cutText"},X2={class:"meta cutText"},q2={class:"description cutText"},Q2={class:"right floated"},J2=Rn(()=>k("i",{class:"angle down icon"},null,-1)),eD=Rn(()=>k("img",{src:Nc,style:{width:"12px"}},null,-1)),tD={class:"description",style:{position:"absolute","margin-top":"20px","margin-left":"-148px","z-index":"100",padding:"20px","background-color":"white"}},iD=["innerHTML"],nD=["onClick"],sD=Rn(()=>k("span",{class:"right floated"},[k("i",{class:"angle up icon"})],-1)),rD={class:"description",style:{"margin-top":"20px","margin-left":"-148px",padding:"20px",color:"white"}},oD=["innerHTML"],aD=Rn(()=>k("span",{class:"right floated"},[k("i",{class:"angle up icon"})],-1));function lD(t,e,i,n,s,r){var o,a,c,u,d,g,v,_,y,S,C,x,I;return he(),fe("div",c2,[(o=t.groupData)!=null&&o.linkPath?(he(),fe("div",u2,[k("div",d2,[h2,k("div",f2,[k("a",{class:"bold",href:(a=t.groupData)==null?void 0:a.linkPath,target:"_blank"},U(((c=t.groupData)==null?void 0:c.linkName)||((u=t.groupData)==null?void 0:u.linkPath)),9,g2)])])])):ct("",!0),((d=t.groupData)==null?void 0:d.description)!=null?(he(),fe("div",{key:1,class:"description subImagesSmallDevices",innerHTML:(g=t.groupData)==null?void 0:g.description},null,8,p2)):ct("",!0),k("div",m2,[k("div",v2,[k("div",_2,[(he(!0),fe(Tt,null,ui((v=t.groupData)==null?void 0:v.objects,R=>
24(he(),fe("div",{class:at(["ui fluid horizontal card",{compact:!R.showDetails}]),onClick:F=>R.showDetails=!R.showDetails},[k("div",y2,[k("img",{src:R.img},null,8,w2)]),k("div",S2,[k("div",E2,U(R.name),1),k("div",k2,[k("span",null,U(t.language.object)+": "+U(R.objectID)+" | "+U(R.address)+", "+U(R.zip)+" "+U(R.city),1)]),k("div",T2,[xt(k("span",I2,[Yt(U(t.language.moreInformation)+" ",1),x2],512),[[Ft,!R.showDetails]]),C2,Yt(" "+U(R.economy),1)]),xt(k("div",R2,[k("p",{innerHTML:R.description},null,8,A2),k("span",null,[k("a",{onClick:F=>t.$emit("object",R.ID)},U(t.language.goToObject),9,M2)]),D2],512),[[Ft,R.showDetails]]),xt(k("div",L2,[k("p",{innerHTML:R.description},null,8,O2),k("span",null,U(t.language.goToObject),1),P2],512),[[Ft,R.showDetails]])])],10,b2))),256))])]),k("div",F2,[(_=t.groupData)!=null&&_.linkPath?(he(),fe("div",z2,[k("div",B2,[N2,k("div",G2,[k("a",{class:"bold",href:(y=t.groupData)==null?void 0:y.linkPath,target:"_blank"},U(((S=t.groupData)==null?void 0:S.linkName)||((C=t.groupData)==null?void 0:C.linkPath)),9,j2)])])])):ct("",!0),k("p",{innerHTML:(x=t.groupData)==null?void 0:x.description},null,8,K2)])]),k("div",H2,U(t.language.objects),1),k("div",W2,[(he(!0),fe(Tt,null,ui((I=t.groupData)==null?void 0:I.objects,R=>(he(),fe("div",{class:at(["ui fluid horizontal card",{compact:!R.showDetails}]),onClick:F=>R.showDetails=!R.showDetails},[k("div",Z2,[k("img",{src:R.img},null,8,U2)]),k("div",V2,[k("div",Y2,U(R.name),1),k("div",X2,[k("span",null,U(t.language.object)+": "+U(R.objectID)+" | "+U(R.address)+", "+U(R.zip)+" "+U(R.city),1)]),k("div",q2,[xt(k("span",Q2,[Yt(U(t.language.moreInformation)+" ",1),J2],512),[[Ft,!R.showDetails]]),eD,Yt(" "+U(R.economy),1)]),xt(k("div",tD,[k("p",{innerHTML:R.description},null,8,iD),k("span",null,[k("a",{onClick:F=>t.$emit("object",R.ID)}
24,U(t.language.goToObject),9,nD)]),sD],512),[[Ft,R.showDetails]]),xt(k("div",rD,[k("p",{innerHTML:R.description},null,8,oD),k("span",null,U(t.language.goToObject),1),aD],512),[[Ft,R.showDetails]])])],10,$2))),256))])])}const cD=mo(l2,[["render",lD],["__scopeId","data-v-b20d30c2"]]),uD="Zum Objekt",dD="Objekte",hD="Objekt",fD="Fuss",gD="Velo",pD="Bus",mD="Zug",vD="Distanz",_D="Aufstieg",bD="Abstieg",yD="Min. Höhe",wD="Max. Höhe",SD="Wanderzeit",ED="Velozeit",kD="Datierung",TD="Hauptquellen",ID="Vereine",xD="mehr Informationen",CD="weniger",um={goToObject:uD,objects:dD,object:hD,walk:fD,bicycle:gD,bus:pD,train:mD,distance:vD,ascent:_D,descent:bD,minAltitude:yD,maxAltitude:wD,walkTime:SD,bikeTime:ED,date:kD,mainSources:TD,associations:ID,moreInformation:xD,lessInformation:CD},RD="Zum Objekt",AD={goToObject:RD},MD="Zum Objekt",DD="Objekte",LD="Objekt",OD={goToObject:MD,objects:DD,object:LD},PD=ks({name:"RouteInformation",emits:["close","object"],props:{routeData:Object,selectedLanguage:String,showOptions:Boolean},watch:{selectedLanguage(t){switch(t){case"fr":this.language=AD;break;case"it":this.language=OD;break;default:this.language=um;break}},routeData(){ji(()=>{this.checkResize();let t=document.querySelector("div.object");t.scrollTop=0})},showOptions(){ji(()=>{this.updateView()})},titleHeight(t){ji(()=>{this.updateView()})},appHeight(t,e){(e<500&&t>=500||e>=500&&t<500)&&this.updateView()}},data(){return{language:um,titleHeight:0,appHeight:0}},mounted(){this.checkResize(),window.addEventListener("resize",this.checkResize)},unmounted(){window.removeEventListener("resize",this.checkResize)},updated(){this.checkResize(),this.updateView()},methods:{checkResize(){var t,e;this.titleHeight=((t=document.getElementById("routeTitle"))==null?void 0:t.offsetHeight)??0,this.appHeight=((e=document.getElementById("app"))==null?void 0:e.offsetHeight)??0},updateView(){let t=document.querySelector("div.route");document.querySelector("div.rightMenuRoute");let e=this.titleHeight+80;t.style.top=`${e}px`}}}),FD="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOYAAAEJCAYAAACAD1tYAAAACXBIWXMAAHUwAAB1MAHdM3LNAAAHuWlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgOS4xLWMwMDEgNzkuMTQ2Mjg5OTc3NywgMjAyMy8wNi8yNS0yMzo1NzoxNCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpwaG90b3Nob3A9Imh0dHA6Ly9ucy5hZG9iZS5jb20vcGhvdG9zaG9wLzEuMC8iIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIiB4bWxuczpleGlmPSJodHRwOi8vbnMuYWRvYmUuY29tL2V4aWYvMS4wLyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMTgtMTItMThUMTY6MjM6NDQrMDE6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjQtMDktMTFUMTE6Mjg6NTcrMDI6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDI0LTA5LTExVDExOjI4OjU3KzAyOjAwIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjlmMzg2M2MzLTQyNzgtNDhmOS05MTU1LTQxMGIxZTQzZWE2MiIgeG1wTU06RG9jdW1lbnRJRD0iYWRvYmU6ZG9jaWQ6cGhvdG9zaG9wOjY0YTBhY2FmLTJhMTEtNWI0ZS05OTYyLTMxMzY1NWVkYjQ2NyIgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmUxMGM2NmY3LTc3ZDAtNDY1MS05NzNlLTVhOWRiZGIxMmU0ZSIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHRpZmY6T3JpZW50YXRpb249IjEiIHRpZmY6WFJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6WVJlc29sdXRpb249IjMwMDAwMDAvMTAwMDAiIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjMiIGV4aWY6Q29sb3JTcGFjZT0iMSIgZXhpZjpQaXhlbFhEaW1lbnNpb249IjIzMCIgZXhpZjpQaXhlbFlEaW1lbnNpb249IjI2NSI+IDx4bXBNTTpIaXN0b3J5PiA8cmRmOlNlcT4gPHJkZjpsaSBzdEV2dDphY3Rpb249ImNyZWF0ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ZTEwYzY2ZjctNzdkMC00NjUxLTk3M2UtNWE5ZGJkYjEyZTRlIiBzdEV2dDp3aGVuPSIyMDE4LTEyLTE4VDE2OjIzOjQ0KzAxOjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKSIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6NDIyNDFmMWYtNGRlMC00OGRlLTg3NzctODIyYTlmZDE4ZDU1IiBzdEV2dDp3aGVuPSIyMDE4LTEyLTE4VDE2OjIzOjQ0KzAxOjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxNSAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0ic2F2ZWQiIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6OWYzODYzYzMtNDI3OC00OGY5LTkxNTUtNDEwYjFlNDNlYTYyIiBzdEV2dDp3aGVuPSIyMDI0LTA5LTExVDExOjI4OjU3KzAyOjAwIiBzdEV2dDpzb2Z0d2FyZUFnZW50PSJBZG9iZSBQaG90b3Nob3AgMjUuMSAoTWFjaW50b3NoKSIgc3RFdnQ6Y2hhbmdlZD0iLyIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7qcDqTAAAGY0lEQVR4nO3cTZbTOACF0cCp/W+gp71PmCBIuZJUbMvSk3TviH+C7e88qw/Nj9t//98Y3q/N1390+RRU89H7A3DKNsjttwt0UMIc07Mgn/04gQ7mZ+8PwG7vRnn259CRxRzH2bis50CEma/22gl0AMLMdfXrp0CDOWNmankmdP4MZDGz9IrEeoYRZoaU1RJoCGH2lRLklkA7c8bsJzXKeyN8xilZzPZGe9itZwfCbGe0ILcE2pAwrzd6kFsCbcAZ81qzRXlv5j9bdxbzGqs8tNbzIsKsa5UgtwRamVfZelaN8p5rUInFPM/D+Jn1rECYxwnyNYGeIMz9BLmPQA9wxtxHlMe5djtYzPd4qOqwnm8S5muCvIZAvyHMxwTZhkCfcMb8SpTtueYbFvMfD0df1vOOMAWZRqC3tcMUZLalA131jCnKcSx5r1ZbzCVv8gSWW89VwhTkHJYJdPYwBTmn6QOd+YwpyvlNe49nXMxpbxYPTbmeM4UpyLVNFegsr7KipJjiWRh9Mae4CVQ3/HqOGqYgecewgY4WpiA5YrhARzpjipKzhnmGRljMYS4mQxhiPZPDFCRXig40MUxB0lJkoGlnTFHSS9Szl7KYUReFZcWsZ+8wBUmi7oH2ClOQjKBboD3OmKJkNM2f2ZaLKUhG1nQ9W4QpSGbSJNArwxQkM7s00KvOmKJkFZc867UXU5CsqPp61gpTkFAx0BqvsqKEz043cWYxBQnPnVrPI2EKEt53KNA9YQoSjtsV6LtnTFFCHW+19N1iChLq+3Y9n4UpSLje00C3YQoS2vsS6M8H3wn08bfBj5sgIcmv2y3vH+MCbsKESMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQMKEQB+32+3Hny//6vlBgNvt9qfHn9tvALr52+DHk++wntDOl1Hchrn9gQKF6zx9S30W5vYnChTq+fbY+O5/lXX+hDreaum7xXz0C1pP2G/XuO0Jc/sbCBS+d+ht80iY299QoPDVqeNfjb/54/wJn51u4sxi3rOeUHGkaoVZCJQVVX9rvOovsXu9ZRW
24XPOu1F/Oe9WRml47PlWEWAmUmTd4GW4RZCJSRNT2e9fgfpZ0/GU3zZ7blYt6znoyg24j0CrMQKIm6v9X1DrMQKAm6B1mk/WNcMReG5UQ9eymLec960lJUkEVimIVAuVJkkEVymIVAqSk6yCLtjPnKEBeUaMM8QyMs5j3ryRHDBFmMFmYhUN4xXJDFqGEWAuWRYYMsRjpjvjL8jaCaKZ6F0RfznvVc2xRBFjOFWQh0LVMFWczyKvvIlDeMT6a9xzMu5j3rOadpgyxmD7MQ6BymD7JYJcxCoGNaJshi5jPmK8vd6IEtea9WW8x71jPbkkEWK4dZCDTL0kEWwvxHoH0J8s6qZ8xXPCDtueYbFvMx69mGIJ8Q5msCvYYgvyHM9wi0DkG+yRlzHw/Wca7dDhZzP+u5jyAPEOZxAn1NkCcI8zyBfibICpwx6/FAugbVWMy6Vl1PQVYmzGusEqggL+JV9lozP7gz/9m6s5jXm209BdmAMNsZPVBBNiTM9kYLVJAdOGP2M8IDP8JnnJLF7Ct1PQXZmTAzpAQqyBDCzNIrUEGGccbM1DIUUQaymLmuXk9BBhNmvtqBCnIAwhzH2UAFORBnzPEcCUyUg7GYY3p3PQU5KGGO7Vmgghzcb35ttxDjGTNvAAAAAElFTkSuQmCC";const mr=t=>(lc("data-v-dba4bcae"),t=t(),cc(),t),zD={id:"contentRoute",class:"scrolling content"},BD={key:0,class:"ui relaxed list subImagesSmallDevices"},ND={class:"item"},GD=mr(()=>k("i",{class:"large linkify middle aligned icon"},null,-1)),jD={class:"content"},KD=["href"],HD=["innerHTML"],WD=["innerHTML"],$D={class:"ui stackable grid subImagesNormalDevices"},ZD={class:"eight wide column"},UD={id:"routeObjects"},VD=["onClick"],YD={class:"image",style:{"background-color":"unset"}},XD=["src"],qD={class:"content"},QD={class:"header cutText"},JD={class:"meta cutText"},eL={key:0},tL={key:1},iL={class:"description cutText"},nL={class:"right floated"},sL=mr(()=>k("i",{class:"angle down icon"},null,-1)),rL=[sL],oL={key:0,src:FD,style:{position:"relative","margin-top":"-4px",width:"12px","margin-right":"5px"}},aL={key:1},lL={key:2},cL=["innerHTML"],uL={key:0},dL=["onClick"],hL={key:1},fL=mr(()=>k("span",{class:"right floated"},[k("i",{class:"angle up icon"})],-1)),gL=["innerHTML"],pL={key:0},mL=["onClick"],vL={key:1},_L=mr(()=>k("span",{class:"right floated"},[k("i",{class:"angle up icon"})],-1)),bL={class:"eight wide column"},yL=["innerHTML"],wL=["innerHTML"],SL={class:"ui header subImagesSmallDevices"},EL={id:"routeObjects",class:"subImagesSmallDevices"},kL=["onClick"],TL={class:"image",style:{"background-color":"unset"}},IL=["src"],xL={class:"content"},CL={class:"header cutText"},RL={class:"meta cutText"},AL={key:0},ML={key:1},DL={class:"description cutText"},LL={class:"right floated"},OL=mr(()=>k("i",{class:"angle down icon"},null,-1)),PL=[OL],FL={key:0,src:Nc,style:{width:"12px","margin-right":"5px"}},zL={key:1},BL={key:2},NL=["innerHTML"],GL={key:0},jL=["onClick"],KL={key:1},HL=mr(()=>k("span",{class:"right floated"},[k("i",{class:"angle up icon"})],-1)),WL=["innerHTML"],$L={key:0},ZL=["onClick"],UL={key:1},VL=mr(()=>k("span",{class:"right floated"},[k("i",{class:"angle up icon"})],-1));function YL(t,e,i,n,s,r){var o,a,c,u,d,g,v,_,y,S,C,x;return he(),fe("div",zD,[(o=t.routeData)!=null&&o.linkPath?(he(),fe("div",BD,[k("div",ND,[GD,k("div",jD,[k("a",{class:"bold",href:(a=t.routeData)==null?void 0:a.linkPath,target:"_blank"},U(((c=t.routeData)==null?void 0:c.linkName)||((u=t.routeData)==null?void 0:u.linkPath)),9,KD)])])])):ct("",!0),((d=t.routeData)==null?void 0:d.description)!=null?(he(),fe("div",{key:1,class:"description subImagesSmallDevices",innerHTML:(g=t.routeData)==null?void 0:g.description},null,8,HD)):ct("",!0),((v=t.routeData)==null?void 0:v.associations)!=null?(he(),fe("div",{key:2,class:"description subImagesSmallDevices",innerHTML:(_=t.routeData)==null?void 0:_.associations},null,8,WD)):ct("",!0),k("div",$D,[k("div",ZD,[k("div",UD,[(he(!0),fe(Tt,null,ui((y=t.routeData)==null?void 0:y.items,I=>(he(),fe("div",{class:at(["ui fluid horizontal card",{compact:!I.showDetails},{"basic cardBGText":I.refID==null||I.refID==0}]),onClick:R=>I.showDetails=!I.showDetails},[k("div",YD,[k("img",{src:I.img},null,8,XD)]),k("div",qD,[k("div",QD,U(I.title),1),k("div",JD,[I.refID!=null&&I.refID!=0?(he(),fe("span",eL,U(t.language.object)+": "+U(I.objectID)+" | "+U(I.address)+", "+U(I.zip)+" "+U(I.city),1)):(he(),fe("span",tL," "))]),k("div",iL,[xt(k("span",nL,rL,512),[[Ft,!I.showDetails]]),I.refID!=null&&I.refID!=0?(he(),fe("img",oL)):ct("",!0),I.refID!=null&&I.refID!=0?(he(),fe("span",aL,U(I.economy),1)):(he(),fe("span",lL," "))]),xt(k("div",{class:at(["description",{BGText1:I.refID==null||I.refID==0},{BGObject1:I.refID!=null&&I.refID!=0}])},[k("p",{innerHTML:I.value},null,8,cL),I.refID!=null&&I.refID!=0?(he(),fe("span",uL,[k("a",{onClick:R=>t.$emit("object",I.refID)},U(t.language.goToObject),9,dL)])):(he(),fe("span",hL," ")),fL],2),[[Ft,I.showDetail
24s]]),xt(k("div",{class:at(["description",{BGText2:I.refID==null||I.refID==0},{BGObject2:I.refID!=null&&I.refID!=0}])},[k("p",{innerHTML:I.value},null,8,gL),I.refID!=null&&I.refID!=0?(he(),fe("span",pL,[k("a",{onClick:R=>t.$emit("object",I.refID)},U(t.language.goToObject),9,mL)])):(he(),fe("span",vL," ")),_L],2),[[Ft,I.showDetails]])])],10,VD))),256))])]),k("div",bL,[k("p",{innerHTML:(S=t.routeData)==null?void 0:S.description},null,8,yL),k("p",{innerHTML:(C=t.routeData)==null?void 0:C.associations},null,8,wL)])]),k("div",SL,U(t.language.objects),1),k("div",EL,[(he(!0),fe(Tt,null,ui((x=t.routeData)==null?void 0:x.items,I=>(he(),fe("div",{class:at(["ui fluid horizontal card",{compact:!I.showDetails},{"basic cardBGText":I.refID==null||I.refID==0}]),onClick:R=>I.showDetails=!I.showDetails},[k("div",TL,[k("img",{src:I.img},null,8,IL)]),k("div",xL,[k("div",CL,U(I.title),1),k("div",RL,[I.refID!=null&&I.refID!=0?(he(),fe("span",AL,U(t.language.object)+": "+U(I.objectID)+" | "+U(I.address)+", "+U(I.zip)+" "+U(I.city),1)):(he(),fe("span",ML," "))]),k("div",DL,[xt(k("span",LL,PL,512),[[Ft,!I.showDetails]]),I.refID!=null&&I.refID!=0?(he(),fe("img",FL)):ct("",!0),I.refID!=null&&I.refID!=0?(he(),fe("span",zL,U(I.economy),1)):(he(),fe("span",BL," "))]),xt(k("div",{class:at(["description",{BGText1:I.refID==null||I.refID==0},{BGObject1:I.refID!=null&&I.refID!=0}])},[k("p",{innerHTML:I.value},null,8,NL),I.refID!=null&&I.refID!=0?(he(),fe("span",GL,[k("a",{onClick:R=>t.$emit("object",I.refID)},U(t.language.goToObject),9,jL)])):(he(),fe("span",KL," ")),HL],2),[[Ft,I.showDetail
vendor: 53,346 bytes, lines 24-36
24s]]),xt(k("div",{class:at(["description",{BGText2:I.refID==null||I.refID==0},{BGObject2:I.refID!=null&&I.refID!=0}])},[k("p",{innerHTML:I.value},null,8,WL),I.refID!=null&&I.refID!=0?(he(),fe("span",$L,[k("a",{onClick:R=>t.$emit("object",I.refID)},U(t.language.goToObject),9,ZL)])):(he(),fe("span",UL," ")),VL],2),[[Ft,I.showDetails]])])],10,kL))),256))])])}const XL=mo(PD,[["render",YL],["__scopeId","data-v-dba4bcae"]]);var qL={exports:{}};/*!
25 * jQuery JavaScript Library v3.6.3
26 * https://jquery.com/
27 *
28 * Includes Sizzle.js
29 * https://sizzlejs.com/
30 *
31 * Copyright OpenJS Foundation and other contributors
32 * Released under the MIT license
33 * https://jquery.org/license
34 *
35 * Date: 2022-12-20T21:28Z
36 */(function(t){(function(e,i){t.exports=e.document?i(e,!0):function(n){if(!n.document)throw new Error("jQuery requires a window with a document");return i(n)}})(typeof window<"u"?window:BT,function(e,i){var n=[],s=Object.getPrototypeOf,r=n.slice,o=n.flat?function(l){return n.flat.call(l)}:function(l){return n.concat.apply([],l)},a=n.push,c=n.indexOf,u={},d=u.toString,g=u.hasOwnProperty,v=g.toString,_=v.call(Object),y={},S=function(h){return typeof h=="function"&&typeof h.nodeType!="number"&&typeof h.item!="function"},C=function(h){return h!=null&&h===h.window},x=e.document,I={type:!0,src:!0,nonce:!0,noModule:!0};function R(l,h,f){f=f||x;var m,b,w=f.createElement("script");if(w.text=l,h)for(m in I)b=h[m]||h.getAttribute&&h.getAttribute(m),b&&w.setAttribute(m,b);f.head.appendChild(w).parentNode.removeChild(w)}function F(l){return l==null?l+"":typeof l=="object"||typeof l=="function"?u[d.call(l)]||"object":typeof l}var Z="3.6.3",p=function(l,h){return new p.fn.init(l,h)};p.fn=p.prototype={jquery:Z,constructor:p,length:0,toArray:function(){return r.call(this)},get:function(l){return l==null?r.call(this):l<0?this[l+this.length]:this[l]},pushStack:function(l){var h=p.merge(this.constructor(),l);return h.prevObject=this,h},each:function(l){return p.each(this,l)},map:function(l){return this.pushStack(p.map(this,function(h,f){return l.call(h,f,h)}))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(p.grep(this,function(l,h){return(h+1)%2}))},odd:function(){return this.pushStack(p.grep(this,function(l,h){return h%2}))},eq:function(l){var h=this.length,f=+l+(l<0?h:0);return this.pushStack(f>=0&&f<h?[this[f]]:[])},end:function(){return this.prevObject||this.constructor()},push:a,sort:n.sort,splice:n.splice},p.extend=p.fn.extend=function(){var l,h,f,m,b,w,E=arguments[0]||{},L=1,M=arguments.length,B=!1;for(typeof E=="boolean"&&(B=E,E=arguments[L]||{},L++),typeof E!="object"&&!S(E)&&(E={}),L===M&&(E=this,L--);L<M;L++)if((l=arguments[L])!=null)for(h in l)m=l[h],!(h==="__proto__"||E===m)&&(B&&m&&(p.isPlainObject(m)||(b=Array.isArray(m)))?(f=E[h],b&&!Array.isArray(f)?w=[]:!b&&!p.isPlainObject(f)?w={}:w=f,b=!1,E[h]=p.extend(B,w,m)):m!==void 0&&(E[h]=m));return E},p.extend({expando:"jQuery"+(Z+Math.random()).replace(/\D/g,""),isReady:!0,error:function(l){throw new Error(l)},noop:function(){},isPlainObject:function(l){var h,f;return!l||d.call(l)!=="[object Object]"?!1:(h=s(l),h?(f=g.call(h,"constructor")&&h.constructor,typeof f=="function"&&v.call(f)===_):!0)},isEmptyObject:function(l){var h;for(h in l)return!1;return!0},globalEval:function(l,h,f){R(l,{nonce:h&&h.nonce},f)},each:function(l,h){var f,m=0;if(le(l))for(f=l.length;m<f&&h.call(l[m],m,l[m])!==!1;m++);else for(m in l)if(h.call(l[m],m,l[m])===!1)break;return l},makeArray:function(l,h){var f=h||[];return l!=null&&(le(Object(l))?p.merge(f,typeof l=="string"?[l]:l):a.call(f,l)),f},inArray:function(l,h,f){return h==null?-1:c.call(h,l,f)},merge:function(l,h){for(var f=+h.length,m=0,b=l.length;m<f;m++)l[b++]=h[m];return l.length=b,l},grep:function(l,h,f){for(var m,b=[],w=0,E=l.length,L=!f;w<E;w++)m=!h(l[w],w),m!==L&&b.push(l[w]);return b},map:function(l,h,f){var m,b,w=0,E=[];if(le(l))for(m=l.length;w<m;w++)b=h(l[w],w,f),b!=null&&E.push(b);else for(w in l)b=h(l[w],w,f),b!=null&&E.push(b);return o(E)},guid:1,support:y}),typeof Symbol=="function"&&(p.fn[Symbol.iterator]=n[Symbol.iterator]),p.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(l,h){u["[object "+h+"]"]=h.toLowerCase()});function le(l){var h=!!l&&"length"in l&&l.length,f=F(l);return S(l)||C(l)?!1:f==="array"||h===0||typeof h=="number"&&h>0&&h-1 in l}var Q=function(l){var h,f,m,b,w,E,L,M,B,H,ie,j,Y,Ae,Ue,Re,ei,Vt,Oi,yt="sizzle"+1*new Date,We=l.document,Ti=0,lt=0,zt=Fa(),So=Fa(),La=Fa(),Pi=Fa(),Ms=function(T,D){return T===D&&(ie=!0),0},Ds={}.hasOwnProperty,Ii=[],Xn=Ii.pop,Wi=Ii.push,qn=Ii.push,Of=Ii.slice,Ls=function(T,D){for(var P=0,X=T.length;P<X;P++)if(T[P]===D)return P;return-1},eu="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",vt="[\\x20\\t\\r\\n\\f]",Os="(?:\\\\[\\da-fA-F]{1,6}"+vt+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",Pf="\\["+vt+"*("+Os+")(?:"+vt+"*([*^$|!~]?=)"+vt+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+Os+"))|)"+vt+"*\\]",tu=":("+Os+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+Pf+")*)|.*)\\)|)",ry=new RegExp(vt+"+","g"),Oa=new RegExp("^"+vt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+vt+"+$","g"),oy=new RegExp("^"+vt+"*,"+vt+"*"),Ff=new RegExp("^"+vt+"*([>+~]|"+vt+")"+vt+"*"),ay=new RegExp(vt+"|>"),ly=new RegExp(tu),cy=new RegExp("^"+Os+"$"),Pa={ID:new RegExp("^#("+Os+")"),CLASS:new RegExp("^\\.("+Os+")"),TAG:new RegExp("^("+Os+"|[*])"),ATTR:new RegExp("^"+Pf),PSEUDO:new RegExp("^"+tu),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+vt+"*(even|odd|(([+-]|)(\\d*)n|)"+vt+"*(?:([+-]|)"+vt+"*(\\d+)|))"+vt+"*\\)|)","i"),bool:new RegExp("^(?:"+eu+")$","i"),needsContext:new RegExp("^"+vt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+vt+"*((?:-\\d)?\\d*)"+vt+"*\\)|)(?=[^-]|$)","i")},uy=/HTML$/i,dy=/^(?:input|select|textarea|button)$/i,hy=/^h\d$/i,Eo=/^[^{]+\{\s*\[native \w/,fy=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,iu=/[+~]/,Mn=new RegExp("\\\\[\\da-fA-F]{1,6}"+vt+"?|\\\\([^\\r\\n\\f])","g"),Dn=function(T,D){var P="0x"+T.slice(1)-65536;return D||(P<0?String.fromCharCode(P+65536):String.fromCharCode(P>>10|55296,P&1023|56320))},zf=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Bf=function(T,D){return D?T==="\0"?"�":T.slice(0,-1)+"\\"+T.charCodeAt(T.length-1).toString(16)+" ":"\\"+T},Nf=function(){j()},gy=Ba(function(T){return T.disabled===!0&&T.nodeName.toLowerCase()==="fieldset"},{dir:"parentNode",next:"legend"});try{qn.apply(Ii=Of.call(We.childNodes),We.childNodes),Ii[We.childNodes.length].nodeType}catch{qn={apply:Ii.length?function(D,P){Wi.apply(D,Of.call(P))}:function(D,P){for(var X=D.length,z=0;D[X++]=P[z++];);D.length=X-1}}}function wt(T,D,P,X){var z,J,ne,me,Se,Oe,De,ze=D&&D.ownerDocument,it=D?D.nodeType:9;if(P=P||[],typeof T!="string"||!T||it!==1&&it!==9&&it!==11)return P;if(!X&&(j(D),D=D||Y,Ue)){if(it!==11&&(Se=fy.exec(T)))if(z=Se[1]){if(it===9)if(ne=D.getElementById(z)){if(ne.id===z)return P.push(ne),P}else return P;else if(ze&&(ne=ze.getElementById(z))&&Oi(D,ne)&&ne.id===z)return P.push(ne),P}else{if(Se[2])return qn.apply(P,D.getElementsByTagName(T)),P;if((z=Se[3])&&f.getElementsByClassName&&D.getElementsByClassName)return qn.apply(P,D.getElementsByClassName(z)),P}if(f.qsa&&!Pi[T+" "]&&(!Re||!Re.test(T))&&(it!==1||D.nodeName.toLowerCase()!=="object")){if(De=T,ze=D,it===1&&(ay.test(T)||Ff.test(T))){for(ze=iu.test(T)&&su(D.parentNode)||D,(ze!==D||!f.scope)&&((me=D.getAttribute("id"))?me=me.replace(zf,Bf):D.setAttribute("id",me=yt)),Oe=E(T),J=Oe.length;J--;)Oe[J]=(me?"#"+me:":scope")+" "+za(Oe[J]);De=Oe.join(",")}try{if(f.cssSupportsSelector&&!CSS.supports("selector(:is("+De+"))"))throw new Error;return qn.apply(P,ze.querySelectorAll(De)),P}catch{Pi(T,!0)}finally{me===yt&&D.removeAttribute("id")}}}return M(T.replace(Oa,"$1"),D,P,X)}function Fa(){var T=[];function D(P,X){return T.push(P+" ")>m.cacheLength&&delete D[T.shift()],D[P+" "]=X}return D}function en(T){return T[yt]=!0,T}function $i(T){var D=Y.createElement("fieldset");try{return!!T(D)}catch{return!1}finally{D.parentNode&&D.parentNode.removeChild(D),D=null}}function nu(T,D){for(var P=T.split("|"),X=P.length;X--;)m.attrHandle[P[X]]=D}function Gf(T,D){var P=D&&T,X=P&&T.nodeType===1&&D.nodeType===1&&T.sourceIndex-D.sourceIndex;if(X)return X;if(P){for(;P=P.nextSibling;)if(P===D)return-1}return T?1:-1}function py(T){return function(D){var P=D.nodeName.toLowerCase();return P==="input"&&D.type===T}}function my(T){return function(D){var P=D.nodeName.toLowerCase();return(P==="input"||P==="button")&&D.type===T}}function jf(T){return function(D){return"form"in D?D.parentNode&&D.disabled===!1?"label"in D?"label"in D.parentNode?D.parentNode.disabled===T:D.disabled===T:D.isDisabled===T||D.isDisabled!==!T&&gy(D)===T:D.disabled===T:"label"in D?D.disabled===T:!1}}function Ps(T){return en(function(D){return D=+D,en(function(P,X){for(var z,J=T([],P.length,D),ne=J.length;ne--;)P[z=J[ne]]&&(P[z]=!(X[z]=P[z]))})})}function su(T){return T&&typeof T.getElementsByTagName<"u"&&T}f=wt.support={},w=wt.isXML=function(T){var D=T&&T.namespaceURI,P=T&&(T.ownerDocument||T).documentElement;return!uy.test(D||P&&P.nodeName||"HTML")},j=wt.setDocument=function(T){var D,P,X=T?T.ownerDocument||T:We;return X==Y||X.nodeType!==9||!X.documentElement||(Y=X,Ae=Y.documentElement,Ue=!w(Y),We!=Y&&(P=Y.defaultView)&&P.top!==P&&(P.addEventListener?P.addEventListener("unload",Nf,!1):P.attachEvent&&P.attachEvent("onunload",Nf)),f.scope=$i(function(z){return Ae.appendChild(z).appendChild(Y.createElement("div")),typeof z.querySelectorAll<"u"&&!z.querySelectorAll(":scope fieldset div").length}),f.cssSupportsSelector=$i(function(){return CSS.supports("selector(*)")&&Y.querySelectorAll(":is(:jqfake)")&&!CSS.supports("selector(:is(*,:jqfake))")}),f.attributes=$i(function(z){return z.className="i",!z.getAttribute("className")}),f.getElementsByTagName=$i(function(z){return z.appendChild(Y.createComment("")),!z.getElementsByTagName("*").length}),f.getElementsByClassName=Eo.test(Y.getElementsByClassName),f.getById=$i(function(z){return Ae.appendChild(z).id=yt,!Y.getElementsByName||!Y.getElementsByName(yt).length}),f.getById?(m.filter.ID=function(z){var J=z.replace(Mn,Dn);return function(ne){return ne.getAttribute("id")===J}},m.find.ID=function(z,J){if(typeof J.getElementById<"u"&&Ue){var ne=J.getElementById(z);return ne?[ne]:[]}}):(m.filter.ID=function(z){var J=z.replace(Mn,Dn);return function(ne){var me=typeof ne.getAttributeNode<"u"&&ne.getAttributeNode("id");return me&&me.value===J}},m.find.ID=function(z,J){if(typeof J.getElementById<"u"&&Ue){var ne,me,Se,Oe=J.getElementById(z);if(Oe){if(ne=Oe.getAttributeNode("id"),ne&&ne.value===z)return[Oe];for(Se=J.getElementsByName(z),me=0;Oe=Se[me++];)if(ne=Oe.getAttributeNode("id"),ne&&ne.value===z)return[Oe]}return[]}}),m.find.TAG=f.getElementsByTagName?function(z,J){if(typeof J.getElementsByTagName<"u")return J.getElementsByTagName(z);if(f.qsa)return J.querySelectorAll(z)}:function(z,J){var ne,me=[],Se=0,Oe=J.getElementsByTagName(z);if(z==="*"){for(;ne=Oe[Se++];)ne.nodeType===1&&me.push(ne);return me}return Oe},m.find.CLASS=f.getElementsByClassName&&function(z,J){if(typeof J.getElementsByClassName<"u"&&Ue)return J.getElementsByClassName(z)},ei=[],Re=[],(f.qsa=Eo.test(Y.querySelectorAll))&&($i(function(z){var J;Ae.appendChild(z).innerHTML="<a id='"+yt+"'></a><select id='"+yt+"-\r\\' msallowcapture=''><option selected=''></option></select>",z.querySelectorAll("[msallowcapture^='']").length&&Re.push("[*^$]="+vt+`*(?:''|"")`),z.querySelectorAll("[selected]").length||Re.push("\\["+vt+"*(?:value|"+eu+")"),z.querySelectorAll("[id~="+yt+"-]").length||Re.push("~="),J=Y.createElement("input"),J.setAttribute("name",""),z.appendChild(J),z.querySelectorAll("[name='']").length||Re.push("\\["+vt+"*name"+vt+"*="+vt+`*(?:''|"")`),z.querySelectorAll(":checked").length||Re.push(":checked"),z.querySelectorAll("a#"+yt+"+*").length||Re.push(".#.+[+~]"),z.querySelectorAll("\\\f"),Re.push("[\\r\\n\\f]")}),$i(function(z){z.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var J=Y.createElement("input");J.setAttribute("type","hidden"),z.appendChild(J).setAttribute("name","D"),z.querySelectorAll("[name=d]").length&&Re.push("name"+vt+"*[*^$|!~]?="),z.querySelectorAll(":enabled").length!==2&&Re.push(":enabled",":disabled"),Ae.appendChild(z).disabled=!0,z.querySelectorAll(":disabled").length!==2&&Re.push(":enabled",":disabled"),z.querySelectorAll("*,:x"),Re.push(",.*:")})),(f.matchesSelector=Eo.test(Vt=Ae.matches||Ae.webkitMatchesSelector||Ae.mozMatchesSelector||Ae.oMatchesSelector||Ae.msMatchesSelector))&&$i(function(z){f.disconnectedMatch=Vt.call(z,"*"),Vt.call(z,"[s!='']:x"),ei.push("!=",tu)}),f.cssSupportsSelector||Re.push(":has"),Re=Re.length&&new RegExp(Re.join("|")),ei=ei.length&&new RegExp(ei.join("|")),D=Eo.test(Ae.compareDocumentPosition),Oi=D||Eo.test(Ae.contains)?function(z,J){var ne=z.nodeType===9&&z.documentElement||z,me=J&&J.parentNode;return z===me||!!(me&&me.nodeType===1&&(ne.contains?ne.contains(me):z.compareDocumentPosition&&z.compareDocumentPosition(me)&16))}:function(z,J){if(J){for(;J=J.parentNode;)if(J===z)return!0}return!1},Ms=D?function(z,J){if(z===J)return ie=!0,0;var ne=!z.compareDocumentPosition-!J.compareDocumentPosition;return ne||(ne=(z.ownerDocument||z)==(J.ownerDocument||J)?z.compareDocumentPosition(J):1,ne&1||!f.sortDetached&&J.compareDocumentPosition(z)===ne?z==Y||z.ownerDocument==We&&Oi(We,z)?-1:J==Y||J.ownerDocument==We&&Oi(We,J)?1:H?Ls(H,z)-Ls(H,J):0:ne&4?-1:1)}:function(z,J){if(z===J)return ie=!0,0;var ne,me=0,Se=z.parentNode,Oe=J.parentNode,De=[z],ze=[J];if(!Se||!Oe)return z==Y?-1:J==Y?1:Se?-1:Oe?1:H?Ls(H,z)-Ls(H,J):0;if(Se===Oe)return Gf(z,J);for(ne=z;ne=ne.parentNode;)De.unshift(ne);for(ne=J;ne=ne.parentNode;)ze.unshift(ne);for(;De[me]===ze[me];)me++;return me?Gf(De[me],ze[me]):De[me]==We?-1:ze[me]==We?1:0}),Y},wt.matches=function(T,D){return wt(T,null,null,D)},wt.matchesSelector=function(T,D){if(j(T),f.matchesSelector&&Ue&&!Pi[D+" "]&&(!ei||!ei.test(D))&&(!Re||!Re.test(D)))try{var P=Vt.call(T,D);if(P||f.disconnectedMatch||T.document&&T.document.nodeType!==11)return P}catch{Pi(D,!0)}return wt(D,Y,null,[T]).length>0},wt.contains=function(T,D){return(T.ownerDocument||T)!=Y&&j(T),Oi(T,D)},wt.attr=function(T,D){(T.ownerDocument||T)!=Y&&j(T);var P=m.attrHandle[D.toLowerCase()],X=P&&Ds.call(m.attrHandle,D.toLowerCase())?P(T,D,!Ue):void 0;return X!==void 0?X:f.attributes||!Ue?T.getAttribute(D):(X=T.getAttributeNode(D))&&X.specified?X.value:null},wt.escape=function(T){return(T+"").replace(zf,Bf)},wt.error=function(T){throw new Error("Syntax error, unrecognized expression: "+T)},wt.uniqueSort=function(T){var D,P=[],X=0,z=0;if(ie=!f.detectDuplicates,H=!f.sortStable&&T.slice(0),T.sort(Ms),ie){for(;D=T[z++];)D===T[z]&&(X=P.push(z));for(;X--;)T.splice(P[X],1)}return H=null,T},b=wt.getText=function(T){var D,P="",X=0,z=T.nodeType;if(z){if(z===1||z===9||z===11){if(typeof T.textContent=="string")return T.textContent;for(T=T.firstChild;T;T=T.nextSibling)P+=b(T)}else if(z===3||z===4)return T.nodeValue}else for(;D=T[X++];)P+=b(D);return P},m=wt.selectors={cacheLength:50,createPseudo:en,match:Pa,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(T){return T[1]=T[1].replace(Mn,Dn),T[3]=(T[3]||T[4]||T[5]||"").replace(Mn,Dn),T[2]==="~="&&(T[3]=" "+T[3]+" "),T.slice(0,4)},CHILD:function(T){return T[1]=T[1].toLowerCase(),T[1].slice(0,3)==="nth"?(T[3]||wt.error(T[0]),T[4]=+(T[4]?T[5]+(T[6]||1):2*(T[3]==="even"||T[3]==="odd")),T[5]=+(T[7]+T[8]||T[3]==="odd")):T[3]&&wt.error(T[0]),T},PSEUDO:function(T){var D,P=!T[6]&&T[2];return Pa.CHILD.test(T[0])?null:(T[3]?T[2]=T[4]||T[5]||"":P&&ly.test(P)&&(D=E(P,!0))&&(D=P.indexOf(")",P.length-D)-P.length)&&(T[0]=T[0].slice(0,D),T[2]=P.slice(0,D)),T.slice(0,3))}},filter:{TAG:function(T){var D=T.replace(Mn,Dn).toLowerCase();return T==="*"?function(){return!0}:function(P){return P.nodeName&&P.nodeName.toLowerCase()===D}},CLASS:function(T){var D=zt[T+" "];return D||(D=new RegExp("(^|"+vt+")"+T+"("+vt+"|$)"))&&zt(T,function(P){return D.test(typeof P.className=="string"&&P.className||typeof P.getAttribute<"u"&&P.getAttribute("class")||"")})},ATTR:function(T,D,P){return function(X){var z=wt.attr(X,T);return z==null?D==="!=":D?(z+="",D==="="?z===P:D==="!="?z!==P:D==="^="?P&&z.indexOf(P)===0:D==="*="?P&&z.indexOf(P)>-1:D==="$="?P&&z.slice(-P.length)===P:D==="~="?(" "+z.replace(ry," ")+" ").indexOf(P)>-1:D==="|="?z===P||z.slice(0,P.length+1)===P+"-":!1):!0}},CHILD:function(T,D,P,X,z){var J=T.slice(0,3)!=="nth",ne=T.slice(-4)!=="last",me=D==="of-type";return X===1&&z===0?function(Se){return!!Se.parentNode}:function(Se,Oe,De){var ze,it,St,Pe,ti,fi,Fi=J!==ne?"nextSibling":"previousSibling",Pt=Se.parentNode,ko=me&&Se.nodeName.toLowerCase(),To=!De&&!me,zi=!1;if(Pt){if(J){for(;Fi;){for(Pe=Se;Pe=Pe[Fi];)if(me?Pe.nodeName.toLowerCase()===ko:Pe.nodeType===1)return!1;fi=Fi=T==="only"&&!fi&&"nextSibling"}return!0}if(fi=[ne?Pt.firstChild:Pt.lastChild],ne&&To){for(Pe=Pt,St=Pe[yt]||(Pe[yt]={}),it=St[Pe.uniqueID]||(St[Pe.uniqueID]={}),ze=it[T]||[],ti=ze[0]===Ti&&ze[1],zi=ti&&ze[2],Pe=ti&&Pt.childNodes[ti];Pe=++ti&&Pe&&Pe[Fi]||(zi=ti=0)||fi.pop();)if(Pe.nodeType===1&&++zi&&Pe===Se){it[T]=[Ti,ti,zi];break}}else if(To&&(Pe=Se,St=Pe[yt]||(Pe[yt]={}),it=St[Pe.uniqueID]||(St[Pe.uniqueID]={}),ze=it[T]||[],ti=ze[0]===Ti&&ze[1],zi=ti),zi===!1)for(;(Pe=++ti&&Pe&&Pe[Fi]||(zi=ti=0)||fi.pop())&&!((me?Pe.nodeName.toLowerCase()===ko:Pe.nodeType===1)&&++zi&&(To&&(St=Pe[yt]||(Pe[yt]={}),it=St[Pe.uniqueID]||(St[Pe.uniqueID]={}),it[T]=[Ti,zi]),Pe===Se)););return zi-=z,zi===X||zi%X===0&&zi/X>=0}}},PSEUDO:function(T,D){var P,X=m.pseudos[T]||m.setFilters[T.toLowerCase()]||wt.error("unsupported pseudo: "+T);return X[yt]?X(D):X.length>1?(P=[T,T,"",D],m.setFilters.hasOwnProperty(T.toLowerCase())?en(function(z,J){for(var ne,me=X(z,D),Se=me.length;Se--;)ne=Ls(z,me[Se]),z[ne]=!(J[ne]=me[Se])}):function(z){return X(z,0,P)}):X}},pseudos:{not:en(function(T){var D=[],P=[],X=L(T.replace(Oa,"$1"));return X[yt]?en(function(z,J,ne,me){for(var Se,Oe=X(z,null,me,[]),De=z.length;De--;)(Se=Oe[De])&&(z[De]=!(J[De]=Se))}):function(z,J,ne){return D[0]=z,X(D,null,ne,P),D[0]=null,!P.pop()}}),has:en(function(T){return function(D){return wt(T,D).length>0}}),contains:en(function(T){return T=T.replace(Mn,Dn),function(D){return(D.textContent||b(D)).indexOf(T)>-1}}),lang:en(function(T){return cy.test(T||"")||wt.error("unsupported lang: "+T),T=T.replace(Mn,Dn).toLowerCase(),function(D){var P;do if(P=Ue?D.lang:D.getAttribute("xml:lang")||D.getAttribute("lang"))return P=P.toLowerCase(),P===T||P.indexOf(T+"-")===0;while((D=D.parentNode)&&D.nodeType===1);return!1}}),target:function(T){var D=l.location&&l.location.hash;return D&&D.slice(1)===T.id},root:function(T){return T===Ae},focus:function(T){return T===Y.activeElement&&(!Y.hasFocus||Y.hasFocus())&&!!(T.type||T.href||~T.tabIndex)},enabled:jf(!1),disabled:jf(!0),checked:function(T){var D=T.nodeName.toLowerCase();return D==="input"&&!!T.checked||D==="option"&&!!T.selected},selected:function(T){return T.parentNode&&T.parentNode.selectedIndex,T.selected===!0},empty:function(T){for(T=T.firstChild;T;T=T.nextSibling)if(T.nodeType<6)return!1;return!0},parent:function(T){return!m.pseudos.empty(T)},header:function(T){return hy.test(T.nodeName)},input:function(T){return dy.test(T.nodeName)},button:function(T){var D=T.nodeName.toLowerCase();return D==="input"&&T.type==="button"||D==="button"},text:function(T){var D;return T.nodeName.toLowerCase()==="input"&&T.type==="text"&&((D=T.getAttribute("type"))==null||D.toLowerCase()==="text")},first:Ps(function(){return[0]}),last:Ps(function(T,D){return[D-1]}),eq:Ps(function(T,D,P){return[P<0?P+D:P]}),even:Ps(function(T,D){for(var P=0;P<D;P+=2)T.push(P);return T}),odd:Ps(function(T,D){for(var P=1;P<D;P+=2)T.push(P);return T}),lt:Ps(function(T,D,P){for(var X=P<0?P+D:P>D?D:P;--X>=0;)T.push(X);return T}),gt:Ps(function(T,D,P){for(var X=P<0?P+D:P;++X<D;)T.push(X);return T})}},m.pseudos.nth=m.pseudos.eq;for(h in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})m.pseudos[h]=py(h);for(h in{submit:!0,reset:!0})m.pseudos[h]=my(h);function Kf(){}Kf.prototype=m.filters=m.pseudos,m.setFilters=new Kf,E=wt.tokenize=function(T,D){var P,X,z,J,ne,me,Se,Oe=So[T+" "];if(Oe)return D?0:Oe.slice(0);for(ne=T,me=[],Se=m.preFilter;ne;){(!P||(X=oy.exec(ne)))&&(X&&(ne=ne.slice(X[0].length)||ne),me.push(z=[])),P=!1,(X=Ff.exec(ne))&&(P=X.shift(),z.push({value:P,type:X[0].replace(Oa," ")}),ne=ne.slice(P.length));for(J in m.filter)(X=Pa[J].exec(ne))&&(!Se[J]||(X=Se[J](X)))&&(P=X.shift(),z.push({value:P,type:J,matches:X}),ne=ne.slice(P.length));if(!P)break}return D?ne.length:ne?wt.error(T):So(T,me).slice(0)};function za(T){for(var D=0,P=T.length,X="";D<P;D++)X+=T[D].value;return X}function Ba(T,D,P){var X=D.dir,z=D.next,J=z||X,ne=P&&J==="parentNode",me=lt++;return D.first?function(Se,Oe,De){for(;Se=Se[X];)if(Se.nodeType===1||ne)return T(Se,Oe,De);return!1}:function(Se,Oe,De){var ze,it,St,Pe=[Ti,me];if(De){for(;Se=Se[X];)if((Se.nodeType===1||ne)&&T(Se,Oe,De))return!0}else for(;Se=Se[X];)if(Se.nodeType===1||ne)if(St=Se[yt]||(Se[yt]={}),it=St[Se.uniqueID]||(St[Se.uniqueID]={}),z&&z===Se.nodeName.toLowerCase())Se=Se[X]||Se;else{if((ze=it[J])&&ze[0]===Ti&&ze[1]===me)return Pe[2]=ze[2];if(it[J]=Pe,Pe[2]=T(Se,Oe,De))return!0}return!1}}function ru(T){return T.length>1?function(D,P,X){for(var z=T.length;z--;)if(!T[z](D,P,X))return!1;return!0}:T[0]}function vy(T,D,P){for(var X=0,z=D.length;X<z;X++)wt(T,D[X],P);return P}function Na(T,D,P,X,z){for(var J,ne=[],me=0,Se=T.length,Oe=D!=null;me<Se;me++)(J=T[me])&&(!P||P(J,X,z))&&(ne.push(J),Oe&&D.push(me));return ne}function ou(T,D,P,X,z,J){return X&&!X[yt]&&(X=ou(X)),z&&!z[yt]&&(z=ou(z,J)),en(function(ne,me,Se,Oe){var De,ze,it,St=[],Pe=[],ti=me.length,fi=ne||vy(D||"*",Se.nodeType?[Se]:Se,[]),Fi=T&&(ne||!D)?Na(fi,St,T,Se,Oe):fi,Pt=P?z||(ne?T:ti||X)?[]:me:Fi;if(P&&P(Fi,Pt,Se,Oe),X)for(De=Na(Pt,Pe),X(De,[],Se,Oe),ze=De.length;ze--;)(it=De[ze])&&(Pt[Pe[ze]]=!(Fi[Pe[ze]]=it));if(ne){if(z||T){if(z){for(De=[],ze=Pt.length;ze--;)(it=Pt[ze])&&De.push(Fi[ze]=it);z(null,Pt=[],De,Oe)}for(ze=Pt.length;ze--;)(it=Pt[ze])&&(De=z?Ls(ne,it):St[ze])>-1&&(ne[De]=!(me[De]=it))}}else Pt=Na(Pt===me?Pt.splice(ti,Pt.length):Pt),z?z(null,me,Pt,Oe):qn.apply(me,Pt)})}function au(T){for(var D,P,X,z=T.length,J=m.relative[T[0].type],ne=J||m.relative[" "],me=J?1:0,Se=Ba(function(ze){return ze===D},ne,!0),Oe=Ba(function(ze){return Ls(D,ze)>-1},ne,!0),De=[function(ze,it,St){var Pe=!J&&(St||it!==B)||((D=it).nodeType?Se(ze,it,St):Oe(ze,it,St));return D=null,Pe}];me<z;me++)if(P=m.relative[T[me].type])De=[Ba(ru(De),P)];else{if(P=m.filter[T[me].type].apply(null,T[me].matches),P[yt]){for(X=++me;X<z&&!m.relative[T[X].type];X++);return ou(me>1&&ru(De),me>1&&za(T.slice(0,me-1).concat({value:T[me-2].type===" "?"*":""})).replace(Oa,"$1"),P,me<X&&au(T.slice(me,X)),X<z&&au(T=T.slice(X)),X<z&&za(T))}De.push(P)}return ru(De)}function _y(T,D){var P=D.length>0,X=T.length>0,z=function(J,ne,me,Se,Oe){var De,ze,it,St=0,Pe="0",ti=J&&[],fi=[],Fi=B,Pt=J||X&&m.find.TAG("*",Oe),ko=Ti+=Fi==null?1:Math.random()||.1,To=Pt.length;for(Oe&&(B=ne==Y||ne||Oe);Pe!==To&&(De=Pt[Pe])!=null;Pe++){if(X&&De){for(ze=0,!ne&&De.ownerDocument!=Y&&(j(De),me=!Ue);it=T[ze++];)if(it(De,ne||Y,me)){Se.push(De);break}Oe&&(Ti=ko)}P&&((De=!it&&De)&&St--,J&&ti.push(De))}if(St+=Pe,P&&Pe!==St){for(ze=0;it=D[ze++];)it(ti,fi,ne,me);if(J){if(St>0)for(;Pe--;)ti[Pe]||fi[Pe]||(fi[Pe]=Xn.call(Se));fi=Na(fi)}qn.apply(Se,fi),Oe&&!J&&fi.length>0&&St+D.length>1&&wt.uniqueSort(Se)}return Oe&&(Ti=ko,B=Fi),ti};return P?en(z):z}return L=wt.compile=function(T,D){var P,X=[],z=[],J=La[T+" "];if(!J){for(D||(D=E(T)),P=D.length;P--;)J=au(D[P]),J[yt]?X.push(J):z.push(J);J=La(T,_y(z,X)),J.selector=T}return J},M=wt.select=function(T,D,P,X){var z,J,ne,me,Se,Oe=typeof T=="function"&&T,De=!X&&E(T=Oe.selector||T);if(P=P||[],De.length===1){if(J=De[0]=De[0].slice(0),J.length>2&&(ne=J[0]).type==="ID"&&D.nodeType===9&&Ue&&m.relative[J[1].type]){if(D=(m.find.ID(ne.matches[0].replace(Mn,Dn),D)||[])[0],D)Oe&&(D=D.parentNode);else return P;T=T.slice(J.shift().value.length)}for(z=Pa.needsContext.test(T)?0:J.length;z--&&(ne=J[z],!m.relative[me=ne.type]);)if((Se=m.find[me])&&(X=Se(ne.matches[0].replace(Mn,Dn),iu.test(J[0].type)&&su(D.parentNode)||D))){if(J.splice(z,1),T=X.length&&za(J),!T)return qn.apply(P,X),P;break}}return(Oe||L(T,De))(X,D,!Ue,P,!D||iu.test(T)&&su(D.parentNode)||D),P},f.sortStable=yt.split("").sort(Ms).join("")===yt,f.detectDuplicates=!!ie,j(),f.sortDetached=$i(function(T){return T.compareDocumentPosition(Y.createElement("fieldset"))&1}),$i(function(T){return T.innerHTML="<a href='#'></a>",T.firstChild.getAttribute("href")==="#"})||nu("type|href|height|width",function(T,D,P){if(!P)return T.getAttribute(D,D.toLowerCase()==="type"?1:2)}),(!f.attributes||!$i(function(T){return T.innerHTML="<input/>",T.firstChild.setAttribute("value",""),T.firstChild.getAttribute("value")===""}))&&nu("value",function(T,D,P){if(!P&&T.nodeName.toLowerCase()==="input")return T.defaultValue}),$i(function(T){return T.getAttribute("disabled")==null})||nu(eu,function(T,D,P){var X;if(!P)return T[D]===!0?D.toLowerCase():(X=T.getAttributeNode(D))&&X.specified?X.value:null}),wt}(e);p.find=Q,p.expr=Q.selectors,p.expr[":"]=p.expr.pseudos,p.uniqueSort=p.unique=Q.uniqueSort,p.text=Q.getText,p.isXMLDoc=Q.isXML,p.contains=Q.contains,p.escapeSelector=Q.escape;var ae=function(l,h,f){for(var m=[],b=f!==void 0;(l=l[h])&&l.nodeType!==9;)if(l.nodeType===1){if(b&&p(l).is(f))break;m.push(l)}return m},ue=function(l,h){for(var f=[];l;l=l.nextSibling)l.nodeType===1&&l!==h&&f.push(l);return f},Ce=p.expr.match.needsContext;function ee(l,h){return l.nodeName&&l.nodeName.toLowerCase()===h.toLowerCase()}var Te=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function $e(l,h,f){return S(h)?p.grep(l,function(m,b){return!!h.call(m,b,m)!==f}):h.nodeType?p.grep(l,function(m){return m===h!==f}):typeof h!="string"?p.grep(l,function(m){return c.call(h,m)>-1!==f}):p.filter(h,l,f)}p.filter=function(l,h,f){var m=h[0];return f&&(l=":not("+l+")"),h.length===1&&m.nodeType===1?p.find.matchesSelector(m,l)?[m]:[]:p.find.matches(l,p.grep(h,function(b){return b.nodeType===1}))},p.fn.extend({find:function(l){var h,f,m=this.length,b=this;if(typeof l!="string")return this.pushStack(p(l).filter(function(){for(h=0;h<m;h++)if(p.contains(b[h],this))return!0}));for(f=this.pushStack([]),h=0;h<m;h++)p.find(l,b[h],f);return m>1?p.uniqueSort(f):f},filter:function(l){return this.pushStack($e(this,l||[],!1))},not:function(l){return this.pushStack($e(this,l||[],!0))},is:function(l){return!!$e(this,typeof l=="string"&&Ce.test(l)?p(l):l||[],!1).length}});var Ee,be=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,N=p.fn.init=function(l,h,f){var m,b;if(!l)return this;if(f=f||Ee,typeof l=="string")if(l[0]==="<"&&l[l.length-1]===">"&&l.length>=3?m=[null,l,null]:m=be.exec(l),m&&(m[1]||!h))if(m[1]){if(h=h instanceof p?h[0]:h,p.merge(this,p.parseHTML(m[1],h&&h.nodeType?h.ownerDocument||h:x,!0)),Te.test(m[1])&&p.isPlainObject(h))for(m in h)S(this[m])?this[m](h[m]):this.attr(m,h[m]);return this}else return b=x.getElementById(m[2]),b&&(this[0]=b,this.length=1),this;else return!h||h.jquery?(h||f).find(l):this.constructor(h).find(l);else{if(l.nodeType)return this[0]=l,this.length=1,this;if(S(l))return f.ready!==void 0?f.ready(l):l(p)}return p.makeArray(l,this)};N.prototype=p.fn,Ee=p(x);var oe=/^(?:parents|prev(?:Until|All))/,Ie={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({has:function(l){var h=p(l,this),f=h.length;return this.filter(function(){for(var m=0;m<f;m++)if(p.contains(this,h[m]))return!0})},closest:function(l,h){var f,m=0,b=this.length,w=[],E=typeof l!="string"&&p(l);if(!Ce.test(l)){for(;m<b;m++)for(f=this[m];f&&f!==h;f=f.parentNode)if(f.nodeType<11&&(E?E.index(f)>-1:f.nodeType===1&&p.find.matchesSelector(f,l))){w.push(f);break}}return this.pushStack(w.length>1?p.uniqueSort(w):w)},index:function(l){return l?typeof l=="string"?c.call(p(l),this[0]):c.call(this,l.jquery?l[0]:l):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(l,h){return this.pushStack(p.uniqueSort(p.merge(this.get(),p(l,h))))},addBack:function(l){return this.add(l==null?this.prevObject:this.prevObject.filter(l))}});function Be(l,h){for(;(l=l[h])&&l.nodeType!==1;);return l}p.each({parent:function(l){var h=l.parentNode;return h&&h.nodeType!==11?h:null},parents:function(l){return ae(l,"parentNode")},parentsUntil:function(l,h,f){return ae(l,"parentNode",f)},next:function(l){return Be(l,"nextSibling")},prev:function(l){return Be(l,"previousSibling")},nextAll:function(l){return ae(l,"nextSibling")},prevAll:function(l){return ae(l,"previousSibling")},nextUntil:function(l,h,f){return ae(l,"nextSibling",f)},prevUntil:function(l,h,f){return ae(l,"previousSibling",f)},siblings:function(l){return ue((l.parentNode||{}).firstChild,l)},children:function(l){return ue(l.firstChild)},contents:function(l){return l.contentDocument!=null&&s(l.contentDocument)?l.contentDocument:(ee(l,"template")&&(l=l.content||l),p.merge([],l.childNodes))}},function(l,h){p.fn[l]=function(f,m){var b=p.map(this,h,f);return l.slice(-5)!=="Until"&&(m=f),m&&typeof m=="string"&&(b=p.filter(m,b)),this.length>1&&(Ie[l]||p.uniqueSort(b),oe.test(l)&&b.reverse()),this.pushStack(b)}});var Ze=/[^\x20\t\r\n\f]+/g;function te(l){var h={};return p.each(l.match(Ze)||[],function(f,m){h[m]=!0}),h}p.Callbacks=function(l){l=typeof l=="string"?te(l):p.extend({},l);var h,f,m,b,w=[],E=[],L=-1,M=function(){for(b=b||l.once,m=h=!0;E.length;L=-1)for(f=E.shift();++L<w.length;)w[L].apply(f[0],f[1])===!1&&l.stopOnFalse&&(L=w.length,f=!1);l.memory||(f=!1),h=!1,b&&(f?w=[]:w="")},B={add:function(){return w&&(f&&!h&&(L=w.length-1,E.push(f)),function H(ie){p.each(ie,function(j,Y){S(Y)?(!l.unique||!B.has(Y))&&w.push(Y):Y&&Y.length&&F(Y)!=="string"&&H(Y)})}(arguments),f&&!h&&M()),this},remove:function(){return p.each(arguments,function(H,ie){for(var j;(j=p.inArray(ie,w,j))>-1;)w.splice(j,1),j<=L&&L--}),this},has:function(H){return H?p.inArray(H,w)>-1:w.length>0},empty:function(){return w&&(w=[]),this},disable:function(){return b=E=[],w=f="",this},disabled:function(){return!w},lock:function(){return b=E=[],!f&&!h&&(w=f=""),this},locked:function(){return!!b},fireWith:function(H,ie){return b||(ie=ie||[],ie=[H,ie.slice?ie.slice():ie],E.push(ie),h||M()),this},fire:function(){return B.fireWith(this,arguments),this},fired:function(){return!!m}};return B};function pt(l){return l}function Ye(l){throw l}function W(l,h,f,m){var b;try{l&&S(b=l.promise)?b.call(l).done(h).fail(f):l&&S(b=l.then)?b.call(l,h,f):h.apply(void 0,[l].slice(m))}catch(w){f.apply(void 0,[w])}}p.extend({Deferred:function(l){var h=[["notify","progress",p.Callbacks("memory"),p.Callbacks("memory"),2],["resolve","done",p.Callbacks("once memory"),p.Callbacks("once memory"),0,"resolved"],["reject","fail",p.Callbacks("once memory"),p.Callbacks("once memory"),1,"rejected"]],f="pending",m={state:function(){return f},always:function(){return b.done(arguments).fail(arguments),this},catch:function(w){return m.then(null,w)},pipe:function(){var w=arguments;return p.Deferred(function(E){p.each(h,function(L,M){var B=S(w[M[4]])&&w[M[4]];b[M[1]](function(){var H=B&&B.apply(this,arguments);H&&S(H.promise)?H.promise().progress(E.notify).done(E.resolve).fail(E.reject):E[M[0]+"With"](this,B?[H]:arguments)})}),w=null}).promise()},then:function(w,E,L){var M=0;function B(H,ie,j,Y){return function(){var Ae=this,Ue=arguments,Re=function(){var Vt,Oi;if(!(H<M)){if(Vt=j.apply(Ae,Ue),Vt===ie.promise())throw new TypeError("Thenable self-resolution");Oi=Vt&&(typeof Vt=="object"||typeof Vt=="function")&&Vt.then,S(Oi)?Y?Oi.call(Vt,B(M,ie,pt,Y),B(M,ie,Ye,Y)):(M++,Oi.call(Vt,B(M,ie,pt,Y),B(M,ie,Ye,Y),B(M,ie,pt,ie.notifyWith))):(j!==pt&&(Ae=void 0,Ue=[Vt]),(Y||ie.resolveWith)(Ae,Ue))}},ei=Y?Re:function(){try{Re()}catch(Vt){p.Deferred.exceptionHook&&p.Deferred.exceptionHook(Vt,ei.stackTrace),H+1>=M&&(j!==Ye&&(Ae=void 0,Ue=[Vt]),ie.rejectWith(Ae,Ue))}};H?ei():(p.Deferred.getStackHook&&(ei.stackTrace=p.Deferred.getStackHook()),e.setTimeout(ei))}}return p.Deferred(function(H){h[0][3].add(B(0,H,S(L)?L:pt,H.notifyWith)),h[1][3].add(B(0,H,S(w)?w:pt)),h[2][3].add(B(0,H,S(E)?E:Ye))}).promise()},promise:function(w){return w!=null?p.extend(w,m):m}},b={};return p.each(h,function(w,E){var L=E[2],M=E[5];m[E[1]]=L.add,M&&L.add(function(){f=M},h[3-w][2].disable,h[3-w][3].disable,h[0][2].lock,h[0][3].lock),L.add(E[3].fire),b[E[0]]=function(){return b[E[0]+"With"](this===b?void 0:this,arguments),this},b[E[0]+"With"]=L.fireWith}),m.promise(b),l&&l.call(b,b),b},when:function(l){var h=arguments.length,f=h,m=Array(f),b=r.call(arguments),w=p.Deferred(),E=function(L){return function(M){m[L]=this,b[L]=arguments.length>1?r.call(arguments):M,--h||w.resolveWith(m,b)}};if(h<=1&&(W(l,w.done(E(f)).resolve,w.reject,!h),w.state()==="pending"||S(b[f]&&b[f].then)))return w.then();for(;f--;)W(b[f],E(f),w.reject);return w.promise()}});var pe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;p.Deferred.exceptionHook=function(l,h){e.console&&e.console.warn&&l&&pe.test(l.name)&&e.console.warn("jQuery.Deferred exception: "+l.message,l.stack,h)},p.readyException=function(l){e.setTimeout(function(){throw l})};var de=p.Deferred();p.fn.ready=function(l){return de.then(l).catch(function(h){p.readyException(h)}),this},p.extend({isReady:!1,readyWait:1,ready:function(l){(l===!0?--p.readyWait:p.isReady)||(p.isReady=!0,!(l!==!0&&--p.readyWait>0)&&de.resolveWith(x,[p]))}}),p.ready.then=de.then;function ve(){x.removeEventListener("DOMContentLoaded",ve),e.removeEventListener("load",ve),p.ready()}x.readyState==="complete"||x.readyState!=="loading"&&!x.documentElement.doScroll?e.setTimeout(p.ready):(x.addEventListener("DOMContentLoaded",ve),e.addEventListener("load",ve));var Me=function(l,h,f,m,b,w,E){var L=0,M=l.length,B=f==null;if(F(f)==="object"){b=!0;for(L in f)Me(l,h,L,f[L],!0,w,E)}else if(m!==void 0&&(b=!0,S(m)||(E=!0),B&&(E?(h.call(l,m),h=null):(B=h,h=function(H,ie,j){return B.call(p(H),j)})),h))for(;L<M;L++)h(l[L],f,E?m:m.call(l[L],L,h(l[L],f)));return b?l:B?h.call(l):M?h(l[0],f):w},st=/^-ms-/,Ge=/-([a-z])/g;function A(l,h){return h.toUpperCase()}function O(l){return l.replace(st,"ms-").replace(Ge,A)}var K=function(l){return l.nodeType===1||l.nodeType===9||!+l.nodeType};function V(){this.expando=p.expando+V.uid++}V.uid=1,V.prototype={cache:function(l){var h=l[this.expando];return h||(h={},K(l)&&(l.nodeType?l[this.expando]=h:Object.defineProperty(l,this.expando,{value:h,configurable:!0}))),h},set:function(l,h,f){var m,b=this.cache(l);if(typeof h=="string")b[O(h)]=f;else for(m in h)b[O(m)]=h[m];return b},get:function(l,h){return h===void 0?this.cache(l):l[this.expando]&&l[this.expando][O(h)]},access:function(l,h,f){return h===void 0||h&&typeof h=="string"&&f===void 0?this.get(l,h):(this.set(l,h,f),f!==void 0?f:h)},remove:function(l,h){var f,m=l[this.expando];if(m!==void 0){if(h!==void 0)for(Array.isArray(h)?h=h.map(O):(h=O(h),h=h in m?[h]:h.match(Ze)||[]),f=h.length;f--;)delete m[h[f]];(h===void 0||p.isEmptyObject(m))&&(l.nodeType?l[this.expando]=void 0:delete l[this.expando])}},hasData:function(l){var h=l[this.expando];return h!==void 0&&!p.isEmptyObject(h)}};var G=new V,se=new V,ye=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ce=/[A-Z]/g;function ge(l){return l==="true"?!0:l==="false"?!1:l==="null"?null:l===+l+""?+l:ye.test(l)?JSON.parse(l):l}function re(l,h,f){var m;if(f===void 0&&l.nodeType===1)if(m="data-"+h.replace(ce,"-$&").toLowerCase(),f=l.getAttribute(m),typeof f=="string"){try{f=ge(f)}catch{}se.set(l,h,f)}else f=void 0;return f}p.extend({hasData:function(l){return se.hasData(l)||G.hasData(l)},data:function(l,h,f){return se.access(l,h,f)},removeData:function(l,h){se.remove(l,h)},_data:function(l,h,f){return G.access(l,h,f)},_removeData:function(l,h){G.remove(l,h)}}),p.fn.extend({data:function(l,h){var f,m,b,w=this[0],E=w&&w.attributes;if(l===void 0){if(this.length&&(b=se.get(w),w.nodeType===1&&!G.get(w,"hasDataAttrs"))){for(f=E.length;f--;)E[f]&&(m=E[f].name,m.indexOf("data-")===0&&(m=O(m.slice(5)),re(w,m,b[m])));G.set(w,"hasDataAttrs",!0)}return b}return typeof l=="object"?this.each(function(){se.set(this,l)}):Me(this,function(L){var M;if(w&&L===void 0)return M=se.get(w,l),M!==void 0||(M=re(w,l),M!==void 0)?M:void 0;this.each(function(){se.set(this,l,L)})},null,h,arguments.length>1,null,!0)},removeData:function(l){return this.each(function(){se.remove(this,l)})}}),p.extend({queue:function(l,h,f){var m;if(l)return h=(h||"fx")+"queue",m=G.get(l,h),f&&(!m||Array.isArray(f)?m=G.access(l,h,p.makeArray(f)):m.push(f)),m||[]},dequeue:function(l,h){h=h||"fx";var f=p.queue(l,h),m=f.length,b=f.shift(),w=p._queueHooks(l,h),E=function(){p.dequeue(l,h)};b==="inprogress"&&(b=f.shift(),m--),b&&(h==="fx"&&f.unshift("inprogress"),delete w.stop,b.call(l,E,w)),!m&&w&&w.empty.fire()},_queueHooks:function(l,h){var f=h+"queueHooks";return G.get(l,f)||G.access(l,f,{empty:p.Callbacks("once memory").add(function(){G.remove(l,[h+"queue",f])})})}}),p.fn.extend({queue:function(l,h){var f=2;return typeof l!="string"&&(h=l,l="fx",f--),arguments.length<f?p.queue(this[0],l):h===void 0?this:this.each(function(){var m=p.queue(this,l,h);p._queueHooks(this,l),l==="fx"&&m[0]!=="inprogress"&&p.dequeue(this,l)})},dequeue:function(l){return this.each(function(){p.dequeue(this,l)})},clearQueue:function(l){return this.queue(l||"fx",[])},promise:function(l,h){var f,m=1,b=p.Deferred(),w=this,E=this.length,L=function(){--m||b.resolveWith(w,[w])};for(typeof l!="string"&&(h=l,l=void 0),l=l||"fx";E--;)f=G.get(w[E],l+"queueHooks"),f&&f.empty&&(m++,f.empty.add(L));return L(),b.promise(h)}});var ke=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,_e=new RegExp("^(?:([+-])=|)("+ke+")([a-z%]*)$","i"),we=["Top","Right","Bottom","Left"],xe=x.documentElement,Fe=function(l){return p.contains(l.ownerDocument,l)},nt={composed:!0};xe.getRootNode&&(Fe=function(l){return p.contains(l.ownerDocument,l)||l.getRootNode(nt)===l.ownerDocument});var qe=function(l,h){return l=h||l,l.style.display==="none"||l.style.display===""&&Fe(l)&&p.css(l,"display")==="none"};function mt(l,h,f,m){var b,w,E=20,L=m?function(){return m.cur()}:function(){return p.css(l,h,"")},M=L(),B=f&&f[3]||(p.cssNumber[h]?"":"px"),H=l.nodeType&&(p.cssNumber[h]||B!=="px"&&+M)&&_e.exec(p.css(l,h));if(H&&H[3]!==B){for(M=M/2,B=B||H[3],H=+M||1;E--;)p.style(l,h,H+B),(1-w)*(1-(w=L()/M||.5))<=0&&(E=0),H=H/w;H=H*2,p.style(l,h,H+B),f=f||[]}return f&&(H=+H||+M||0,b=f[1]?H+(f[1]+1)*f[2]:+f[2],m&&(m.unit=B,m.start=H,m.end=b)),b}var Qt={};function Ot(l){var h,f=l.ownerDocument,m=l.nodeName,b=Qt[m];return b||(h=f.body.appendChild(f.createElement(m)),b=p.css(h,"display"),h.parentNode.removeChild(h),b==="none"&&(b="block"),Qt[m]=b,b)}function Di(l,h){for(var f,m,b=[],w=0,E=l.length;w<E;w++)m=l[w],m.style&&(f=m.style.display,h?(f==="none"&&(b[w]=G.get(m,"display")||null,b[w]||(m.style.display="")),m.style.display===""&&qe(m)&&(b[w]=Ot(m))):f!=="none"&&(b[w]="none",G.set(m,"display",f)));for(w=0;w<E;w++)b[w]!=null&&(l[w].style.display=b[w]);return l}p.fn.extend({show:function(){return Di(this,!0)},hide:function(){return Di(this)},toggle:function(l){return typeof l=="boolean"?l?this.show():this.hide():this.each(function(){qe(this)?p(this).show():p(this).hide()})}});var Li=/^(?:checkbox|radio)$/i,xs=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Jt=/^$|^module$|\/(?:java|ecma)script/i;(function(){var l=x.createDocumentFragment(),h=l.appendChild(x.createElement("div")),f=x.createElement("input");f.setAttribute("type","radio"),f.setAttribute("checked","checked"),f.setAttribute("name","t"),h.appendChild(f),y.checkClone=h.cloneNode(!0).cloneNode(!0).lastChild.checked,h.innerHTML="<textarea>x</textarea>",y.noCloneChecked=!!h.cloneNode(!0).lastChild.defaultValue,h.innerHTML="<option></option>",y.option=!!h.lastChild})();var It={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};It.tbody=It.tfoot=It.colgroup=It.caption=It.thead,It.th=It.td,y.option||(It.optgroup=It.option=[1,"<select multiple='multiple'>","</select>"]);function Wt(l,h){var f;return typeof l.getElementsByTagName<"u"?f=l.getElementsByTagName(h||"*"):typeof l.querySelectorAll<"u"?f=l.querySelectorAll(h||"*"):f=[],h===void 0||h&&ee(l,h)?p.merge([l],f):f}function vr(l,h){for(var f=0,m=l.length;f<m;f++)G.set(l[f],"globalEval",!h||G.get(h[f],"globalEval"))}var vo=/<|&#?\w+;/;function Vn(l,h,f,m,b){for(var w,E,L,M,B,H,ie=h.createDocumentFragment(),j=[],Y=0,Ae=l.length;Y<Ae;Y++)if(w=l[Y],w||w===0)if(F(w)==="object")p.merge(j,w.nodeType?[w]:w);else if(!vo.test(w))j.push(h.createTextNode(w));else{for(E=E||ie.appendChild(h.createElement("div")),L=(xs.exec(w)||["",""])[1].toLowerCase(),M=It[L]||It._default,E.innerHTML=M[1]+p.htmlPrefilter(w)+M[2],H=M[0];H--;)E=E.lastChild;p.merge(j,E.childNodes),E=ie.firstChild,E.textContent=""}for(ie.textContent="",Y=0;w=j[Y++];){if(m&&p.inArray(w,m)>-1){b&&b.push(w);continue}if(B=Fe(w),E=Wt(ie.appendChild(w),"script"),B&&vr(E),f)for(H=0;w=E[H++];)Jt.test(w.type||"")&&f.push(w)}return ie}var Yn=/^([^.]*)(?:\.(.+)|)/;function Ki(){return!0}function An(){return!1}function Ra(l,h){return l===_i()==(h==="focus")}function _i(){try{return x.activeElement}catch{}}function gn(l,h,f,m,b,w){var E,L;if(typeof h=="object"){typeof f!="string"&&(m=m||f,f=void 0);for(L in h)gn(l,L,f,m,h[L],w);return l}if(m==null&&b==null?(b=f,m=f=void 0):b==null&&(typeof f=="string"?(b=m,m=void 0):(b=m,m=f,f=void 0)),b===!1)b=An;else if(!b)return l;return w===1&&(E=b,b=function(M){return p().off(M),E.apply(this,arguments)},b.guid=E.guid||(E.guid=p.guid++)),l.each(function(){p.event.add(this,h,b,m,f)})}p.event={global:{},add:function(l,h,f,m,b){var w,E,L,M,B,H,ie,j,Y,Ae,Ue,Re=G.get(l);if(K(l))for(f.handler&&(w=f,f=w.handler,b=w.selector),b&&p.find.matchesSelector(xe,b),f.guid||(f.guid=p.guid++),(M=Re.events)||(M=Re.events=Object.create(null)),(E=Re.handle)||(E=Re.handle=function(ei){return typeof p<"u"&&p.event.triggered!==ei.type?p.event.dispatch.apply(l,arguments):void 0}),h=(h||"").match(Ze)||[""],B=h.length;B--;)L=Yn.exec(h[B])||[],Y=Ue=L[1],Ae=(L[2]||"").split(".").sort(),Y&&(ie=p.event.special[Y]||{},Y=(b?ie.delegateType:ie.bindType)||Y,ie=p.event.special[Y]||{},H=p.extend({type:Y,origType:Ue,data:m,handler:f,guid:f.guid,selector:b,needsContext:b&&p.expr.match.needsContext.test(b),namespace:Ae.join(".")},w),(j=M[Y])||(j=M[Y]=[],j.delegateCount=0,(!ie.setup||ie.setup.call(l,m,Ae,E)===!1)&&l.addEventListener&&l.addEventListener(Y,E)),ie.add&&(ie.add.call(l,H),H.handler.guid||(H.handler.guid=f.guid)),b?j.splice(j.delegateCount++,0,H):j.push(H),p.event.global[Y]=!0)},remove:function(l,h,f,m,b){var w,E,L,M,B,H,ie,j,Y,Ae,Ue,Re=G.hasData(l)&&G.get(l);if(!(!Re||!(M=Re.events))){for(h=(h||"").match(Ze)||[""],B=h.length;B--;){if(L=Yn.exec(h[B])||[],Y=Ue=L[1],Ae=(L[2]||"").split(".").sort(),!Y){for(Y in M)p.event.remove(l,Y+h[B],f,m,!0);continue}for(ie=p.event.special[Y]||{},Y=(m?ie.delegateType:ie.bindType)||Y,j=M[Y]||[],L=L[2]&&new RegExp("(^|\\.)"+Ae.join("\\.(?:.*\\.|)")+"(\\.|$)"),E=w=j.length;w--;)H=j[w],(b||Ue===H.origType)&&(!f||f.guid===H.guid)&&(!L||L.test(H.namespace))&&(!m||m===H.selector||m==="**"&&H.selector)&&(j.splice(w,1),H.selector&&j.delegateCount--,ie.remove&&ie.remove.call(l,H));E&&!j.length&&((!ie.teardown||ie.teardown.call(l,Ae,Re.handle)===!1)&&p.removeEvent(l,Y,Re.handle),delete M[Y])}p.isEmptyObject(M)&&G.remove(l,"handle events")}},dispatch:function(l){var h,f,m,b,w,E,L=new Array(arguments.length),M=p.event.fix(l),B=(G.get(this,"events")||Object.create(null))[M.type]||[],H=p.event.special[M.type]||{};for(L[0]=M,h=1;h<arguments.length;h++)L[h]=arguments[h];if(M.delegateTarget=this,!(H.preDispatch&&H.preDispatch.call(this,M)===!1)){for(E=p.event.handlers.call(this,M,B),h=0;(b=E[h++])&&!M.isPropagationStopped();)for(M.currentTarget=b.elem,f=0;(w=b.handlers[f++])&&!M.isImmediatePropagationStopped();)(!M.rnamespace||w.namespace===!1||M.rnamespace.test(w.namespace))&&(M.handleObj=w,M.data=w.data,m=((p.event.special[w.origType]||{}).handle||w.handler).apply(b.elem,L),m!==void 0&&(M.result=m)===!1&&(M.preventDefault(),M.stopPropagation()));return H.postDispatch&&H.postDispatch.call(this,M),M.result}},handlers:function(l,h){var f,m,b,w,E,L=[],M=h.delegateCount,B=l.target;if(M&&B.nodeType&&!(l.type==="click"&&l.button>=1)){for(;B!==this;B=B.parentNode||this)if(B.nodeType===1&&!(l.type==="click"&&B.disabled===!0)){for(w=[],E={},f=0;f<M;f++)m=h[f],b=m.selector+" ",E[b]===void 0&&(E[b]=m.needsContext?p(b,this).index(B)>-1:p.find(b,this,null,[B]).length),E[b]&&w.push(m);w.length&&L.push({elem:B,handlers:w})}}return B=this,M<h.length&&L.push({elem:B,handlers:h.slice(M)}),L},addProp:function(l,h){Object.defineProperty(p.Event.prototype,l,{enumerable:!0,configurable:!0,get:S(h)?function(){if(this.originalEvent)return h(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[l]},set:function(f){Object.defineProperty(this,l,{enumerable:!0,configurable:!0,writable:!0,value:f})}})},fix:function(l){return l[p.expando]?l:new p.Event(l)},special:{load:{noBubble:!0},click:{setup:function(l){var h=this||l;return Li.test(h.type)&&h.click&&ee(h,"input")&&ci(h,"click",Ki),!1},trigger:function(l){var h=this||l;return Li.test(h.type)&&h.click&&ee(h,"input")&&ci(h,"click"),!0},_default:function(l){var h=l.target;return Li.test(h.type)&&h.click&&ee(h,"input")&&G.get(h,"click")||ee(h,"a")}},beforeunload:{postDispatch:function(l){l.result!==void 0&&l.originalEvent&&(l.originalEvent.returnValue=l.result)}}}};function ci(l,h,f){if(!f){G.get(l,h)===void 0&&p.event.add(l,h,Ki);return}G.set(l,h,!1),p.event.add(l,h,{namespace:!1,handler:function(m){var b,w,E=G.get(this,h);if(m.isTrigger&1&&this[h]){if(E.length)(p.event.special[h]||{}).delegateType&&m.stopPropagation();else if(E=r.call(arguments),G.set(this,h,E),b=f(this,h),this[h](),w=G.get(this,h),E!==w||b?G.set(this,h,!1):w={},E!==w)return m.stopImmediatePropagation(),m.preventDefault(),w&&w.value}else E.length&&(G.set(this,h,{value:p.event.trigger(p.extend(E[0],p.Event.prototype),E.slice(1),this)}),m.stopImmediatePropagation())}})}p.removeEvent=function(l,h,f){l.removeEventListener&&l.removeEventListener(h,f)},p.Event=function(l,h){if(!(this instanceof p.Event))return new p.Event(l,h);l&&l.type?(this.originalEvent=l,this.type=l.type,this.isDefaultPrevented=l.defaultPrevented||l.defaultPrevented===void 0&&l.returnValue===!1?Ki:An,this.target=l.target&&l.target.nodeType===3?l.target.parentNode:l.target,this.currentTarget=l.currentTarget,this.relatedTarget=l.relatedTarget):this.type=l,h&&p.extend(this,h),this.timeStamp=l&&l.timeStamp||Date.now(),this[p.expando]=!0},p.Event.prototype={constructor:p.Event,isDefaultPrevented:An,isPropagationStopped:An,isImmediatePropagationStopped:An,isSimulated:!1,preventDefault:function(){var l=this.originalEvent;this.isDefaultPrevented=Ki,l&&!this.isSimulated&&l.preventDefault()},stopPropagation:function(){var l=this.originalEvent;this.isPropagationStopped=Ki,l&&!this.isSimulated&&l.stopPropagation()},stopImmediatePropagation:function(){var l=this.originalEvent;this.isImmediatePropagationStopped=Ki,l&&!this.isSimulated&&l.stopImmediatePropagation(),this.stopPropagation()}},p.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},p.event.addProp),p.each({focus:"focusin",blur:"focusout"},function(l,h){p.event.special[l]={setup:function(){return ci(this,l,Ra),!1},trigger:function(){return ci(this,l),!0},_default:function(f){return G.get(f.target,l)},delegateType:h}}),p.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(l,h){p.event.special[l]={delegateType:h,bindType:h,handle:function(f){var m,b=this,w=f.relatedTarget,E=f.handleObj;return(!w||w!==b&&!p.contains(b,w))&&(f.type=E.origType,m=E.handler.apply(this,arguments),f.type=h),m}}}),p.fn.extend({on:function(l,h,f,m){return gn(this,l,h,f,m)},one:function(l,h,f,m){return gn(this,l,h,f,m,1)},off:function(l,h,f){var m,b;if(l&&l.preventDefault&&l.handleObj)return m=l.handleObj,p(l.delegateTarget).off(m.namespace?m.origType+"."+m.namespace:m.origType,m.selector,m.handler),this;if(typeof l=="object"){for(b in l)this.off(b,h,l[b]);return this}return(h===!1||typeof h=="function")&&(f=h,h=void 0),f===!1&&(f=An),this.each(function(){p.event.remove(this,l,f,h)})}});var Qi=/<script|<style|<link/i,bi=/checked\s*(?:[^=]|=\s*.checked.)/i,_r=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Cs(l,h){return ee(l,"table")&&ee(h.nodeType!==11?h:h.firstChild,"tr")&&p(l).children("tbody")[0]||l}function hi(l){return l.type=(l.getAttribute("type")!==null)+"/"+l.type,l}function Ei(l){return(l.type||"").slice(0,5)==="true/"?l.type=l.type.slice(5):l.removeAttribute("type"),l}function Hi(l,h){var f,m,b,w,E,L,M;if(h.nodeType===1){if(G.hasData(l)&&(w=G.get(l),M=w.events,M)){G.remove(h,"handle events");for(b in M)for(f=0,m=M[b].length;f<m;f++)p.event.add(h,b,M[b][f])}se.hasData(l)&&(E=se.access(l),L=p.extend({},E),se.set(h,L))}}function jc(l,h){var f=h.nodeName.toLowerCase();f==="input"&&Li.test(l.type)?h.checked=l.checked:(f==="input"||f==="textarea")&&(h.defaultValue=l.defaultValue)}function br(l,h,f,m){h=o(h);var b,w,E,L,M,B,H=0,ie=l.length,j=ie-1,Y=h[0],Ae=S(Y);if(Ae||ie>1&&typeof Y=="string"&&!y.checkClone&&bi.test(Y))return l.each(function(Ue){var Re=l.eq(Ue);Ae&&(h[0]=Y.call(this,Ue,Re.html())),br(Re,h,f,m)});if(ie&&(b=Vn(h,l[0].ownerDocument,!1,l,m),w=b.firstChild,b.childNodes.length===1&&(b=w),w||m)){for(E=p.map(Wt(b,"script"),hi),L=E.length;H<ie;H++)M=b,H!==j&&(M=p.clone(M,!0,!0),L&&p.merge(E,Wt(M,"script"))),f.call(l[H],M,H);if(L)for(B=E[E.length-1].ownerDocument,p.map(E,Ei),H=0;H<L;H++)M=E[H],Jt.test(M.type||"")&&!G.access(M,"globalEval")&&p.contains(B,M)&&(M.src&&(M.type||"").toLowerCase()!=="module"?p._evalUrl&&!M.noModule&&p._evalUrl(M.src,{nonce:M.nonce||M.getAttribute("nonce")},B):R(M.textContent.replace(_r,""),M,B))}return l}function hf(l,h,f){for(var m,b=h?p.filter(h,l):l,w=0;(m=b[w])!=null;w++)!f&&m.nodeType===1&&p.cleanData(Wt(m)),m.parentNode&&(f&&Fe(m)&&vr(Wt(m,"script")),m.parentNode.removeChild(m));return l}p.extend({htmlPrefilter:function(l){return l},clone:function(l,h,f){var m,b,w,E,L=l.cloneNode(!0),M=Fe(l);if(!y.noCloneChecked&&(l.nodeType===1||l.nodeType===11)&&!p.isXMLDoc(l))for(E=Wt(L),w=Wt(l),m=0,b=w.length;m<b;m++)jc(w[m],E[m]);if(h)if(f)for(w=w||Wt(l),E=E||Wt(L),m=0,b=w.length;m<b;m++)Hi(w[m],E[m]);else Hi(l,L);return E=Wt(L,"script"),E.length>0&&vr(E,!M&&Wt(l,"script")),L},cleanData:function(l){for(var h,f,m,b=p.event.special,w=0;(f=l[w])!==void 0;w++)if(K(f)){if(h=f[G.expando]){if(h.events)for(m in h.events)b[m]?p.event.remove(f,m):p.removeEvent(f,m,h.handle);f[G.expando]=void 0}f[se.expando]&&(f[se.expando]=void 0)}}}),p.fn.extend({detach:function(l){return hf(this,l,!0)},remove:function(l){return hf(this,l)},text:function(l){return Me(this,function(h){return h===void 0?p.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=h)})},null,l,arguments.length)},append:function(){return br(this,arguments,function(l){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var h=Cs(this,l);h.appendChild(l)}})},prepend:function(){return br(this,arguments,function(l){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var h=Cs(this,l);h.insertBefore(l,h.firstChild)}})},before:function(){return br(this,arguments,function(l){this.parentNode&&this.parentNode.insertBefore(l,this)})},after:function(){return br(this,arguments,function(l){this.parentNode&&this.parentNode.insertBefore(l,this.nextSibling)})},empty:function(){for(var l,h=0;(l=this[h])!=null;h++)l.nodeType===1&&(p.cleanData(Wt(l,!1)),l.textContent="");return this},clone:function(l,h){return l=l??!1,h=h??l,this.map(function(){return p.clone(this,l,h)})},html:function(l){return Me(this,function(h){var f=this[0]||{},m=0,b=this.length;if(h===void 0&&f.nodeType===1)return f.innerHTML;if(typeof h=="string"&&!Qi.test(h)&&!It[(xs.exec(h)||["",""])[1].toLowerCase()]){h=p.htmlPrefilter(h);try{for(;m<b;m++)f=this[m]||{},f.nodeType===1&&(p.cleanData(Wt(f,!1)),f.innerHTML=h);f=0}catch{}}f&&this.empty().append(h)},null,l,arguments.length)},replaceWith:function(){var l=[];return br(this,arguments,function(h){var f=this.parentNode;p.inArray(this,l)<0&&(p.cleanData(Wt(this)),f&&f.replaceChild(h,this))},l)}}),p.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(l,h){p.fn[l]=function(f){for(var m,b=[],w=p(f),E=w.length-1,L=0;L<=E;
36L++)m=L===E?this:this.clone(!0),p(w[L])[h](m),a.apply(b,m.get());return this.pushStack(b)}});var Kc=new RegExp("^("+ke+")(?!px)[a-z%]+$","i"),Hc=/^--/,Aa=function(l){var h=l.ownerDocument.defaultView;return(!h||!h.opener)&&(h=e),h.getComputedStyle(l)},ff=function(l,h,f){var m,b,w={};for(b in h)w[b]=l.style[b],l.style[b]=h[b];m=f.call(l);for(b in h)l.style[b]=w[b];return m},Mb=new RegExp(we.join("|"),"i"),gf="[\\x20\\t\\r\\n\\f]",Db=new RegExp("^"+gf+"+|((?:^|[^\\\\])(?:\\\\.)*)"+gf+"+$","g");(function(){function l(){if(B){M.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",B.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",xe.appendChild(M).appendChild(B);var H=e.getComputedStyle(B);f=H.top!=="1%",L=h(H.marginLeft)===12,B.style.right="60%",w=h(H.right)===36,m=h(H.width)===36,B.style.position="absolute",b=h(B.offsetWidth/3)===12,xe.removeChild(M),B=null}}function h(H){return Math.round(parseFloat(H))}var f,m,b,w,E,L,M=x.createElement("div"),B=x.createElement("div");B.style&&(B.style.backgroundClip="content-box",B.cloneNode(!0).style.backgroundClip="",y.clearCloneStyle=B.style.backgroundClip==="content-box",p.extend(y,{boxSizingReliable:function(){return l(),m},pixelBoxStyles:function(){return l(),w},pixelPosition:function(){return l(),f},reliableMarginLeft:function(){return l(),L},scrollboxSize:function(){return l(),b},reliableTrDimensions:function(){var H,ie,j,Y;return E==null&&(H=x.createElement("table"),ie=x.createElement("tr"),j=x.createElement("div"),H.style.cssText="position:absolute;left:-11111px;border-collapse:separate",ie.style.cssText="border:1px solid",ie.style.height="1px",j.style.height="9px",j.style.display="block",xe.appendChild(H).appendChild(ie).appendChild(j),Y=e.getComputedStyle(ie),E=parseInt(Y.height,10)+parseInt(Y.borderTopWidth,10)+parseInt(Y.borderBottomWidth,10)===ie.offsetHeight,xe.removeChild(H)),E}}))})();function _o(l,h,f){var m,b,w,E,L=Hc.test(h),M=l.style;return f=f||Aa(l),f&&(E=f.getPropertyValue(h)||f[h],L&&E&&(E=E.replace(Db,"$1")||void 0),E===""&&!Fe(l)&&(E=p.style(l,h)),!y.pixelBoxStyles()&&Kc.test(E)&&Mb.test(h)&&(m=M.width,b=M.minWidth,w=M.maxWidth,M.minWidth=M.maxWidth=M.width=E,E=f.width,M.width=m,M.minWidth=b,M.maxWidth=w)),E!==void 0?E+"":E}function pf(l,h){return{get:function(){if(l()){delete this.get;return}return(this.get=h).apply(this,arguments)}}}var mf=["Webkit","Moz","ms"],vf=x.createElement("div").style,_f={};
vendor: 1,980 bytes, line 36
36function Lb(l){for(var h=l[0].toUpperCase()+l.slice(1),f=mf.length;f--;)if(l=mf[f]+h,l in vf)return l}function Wc(l){var h=p.cssProps[l]||_f[l];return h||(l in vf?l:_f[l]=Lb(l)||l)}var Ob=/^(none|table(?!-c[ea]).+)/,Pb={position:"absolute",visibility:"hidden",display:"block"},bf={letterSpacing:"0",fontWeight:"400"};function yf(l,h,f){var m=_e.exec(h);return m?Math.max(0,m[2]-(f||0))+(m[3]||"px"):h}function $c(l,h,f,m,b,w){var E=h==="width"?1:0,L=0,M=0;if(f===(m?"border":"content"))return 0;for(;E<4;E+=2)f==="margin"&&(M+=p.css(l,f+we[E],!0,b)),m?(f==="content"&&(M-=p.css(l,"padding"+we[E],!0,b)),f!=="margin"&&(M-=p.css(l,"border"+we[E]+"Width",!0,b))):(M+=p.css(l,"padding"+we[E],!0,b),f!=="padding"?M+=p.css(l,"border"+we[E]+"Width",!0,b):L+=p.css(l,"border"+we[E]+"Width",!0,b));return!m&&w>=0&&(M+=Math.max(0,Math.ceil(l["offset"+h[0].toUpperCase()+h.slice(1)]-w-M-L-.5))||0),M}function wf(l,h,f){var m=Aa(l),b=!y.boxSizingReliable()||f,w=b&&p.css(l,"boxSizing",!1,m)==="border-box",E=w,L=_o(l,h,m),M="offset"+h[0].toUpperCase()+h.slice(1);if(Kc.test(L)){if(!f)return L;L="auto"}return(!y.boxSizingReliable()&&w||!y.reliableTrDimensions()&&ee(l,"tr")||L==="auto"||!parseFloat(L)&&p.css(l,"display",!1,m)==="inline")&&l.getClientRects().length&&(w=p.css(l,"boxSizing",!1,m)==="border-box",E=M in l,E&&(L=l[M])),L=parseFloat(L)||0,L+$c(l,h,f||(w?"border":"content"),E,m,L)+"px"}p.extend({cssHooks:{opacity:{get:function(l,h){if(h){var f=_o(l,"opacity");return f===""?"1":f}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(l,h,f,m){if(!(!l||l.nodeType===3||l.nodeType===8||!l.style)){var b,w,E,L=O(h),M=Hc.test(h),B=l.style;if(M||(h=Wc(L)),E=p.cssHooks[h]||p.cssHooks[L],f!==void 0){if(w=typeof f,w==="str
36ing"&&(b=_e.exec(f))&&b[1]&&(f=mt(l,h,b),w="number"),f==null||f!==f)return;w==="number"&&!M&&(f+=b&&b[3]||(p.cssNumber[L]?"":"px")),!y.clearCloneStyle&&f===""&&h.indexOf("background")===0&&(B[h]="inherit"),(!E||!("set"in E)||(f=E.set(l,f,m))!==void 0)&&(M?B.setProperty(h,f):B[h]=f)}else return E&&"get"in E&&(b=E.get(l,!1,m))!==void 0?b:B[h]}},css:function(l,h,f,m){var b,w,E,L=O(h),M=Hc.test(h);return M||(h=Wc(L)),E=p.cssHooks[h]||p.cssHooks[L],E&&"get"in E&&(b=E.get(l,!0,f)),b===void 0&&(b=_o(l,h,m)),b==="normal"&&h in bf&&(b=bf[h]),f===""||f?(w=parseFloat(b),f===!0||isFinite(w)?w||0:b):b}}),p.each(["height","width"],function(l,h){p.cssHooks[h]={get:function(f,m,b){if(m)return Ob.test(p.css(f,"display"))&&(!f.getClientRects().length||!f.getBoundingClientRect().width)?ff(f,Pb,function(){return wf(f,h,b)}):wf(f,h,b)},set:function(f,m,b){var w,E=Aa(f),L=!y.scrollboxSize()&&E.position==="absolute",M=L||b,B=M&&p.css(f,"boxSizing",!1,E)==="border-box",H=b?$c(f,h,b,B,E):0;return B&&L&&(H-=Math.ceil(f["offset"+h[0].toUpperCase()+h.slice(1)]-parseFloat(E[h])-$c(f,h,"border",!1,E)-.5)),H&&(w=_e.exec(m))&&(w[3]||"px")!=="px"&&(f.style[h]=m,m=p.css(f,h)),yf(f,m,H)}}}),p.cssHooks.marginLeft=pf(y.reliableMarginLeft,function(l,h){if(h)return(parseFloat(_o(l,"marginLeft"))||l.getBoundingClientRect().left-ff(l,{marginLeft:0},function(){return l.getBoundingClientRect().left}))+"px"}),p.each({margin:"",padding:"",border:"Width"},function(l,h){p.cssHooks[l+h]={expand:function(f){for(var m=0,b={},w=typeof f=="string"?f.split(" "):[f];m<4;m++)b[l+we[m]+h]=w[m]||w[m-2]||w[0];return b}},l!=="margin"&&(p.cssHooks[l+h].set=yf)}),p.fn.extend({css:function(l,h){return Me(this,function(f,m,b){var w,E,L={},M=0;if(Array.isArray(m)){for(w=Aa(f),E=m.length;M<E;M++)L[m[M]]=p.css(f,m[M],!1,w);return L}return b!==void 0?p.style(f,m,b):p.css(f,m)},l,h,arguments.length>1)}});function ki(l,h,f,m,b){return new ki.prototype.init(l,h,f,m,b)}p.Tween=ki,ki.prototype={constructor:ki,init:function(l,h,f,m,b,w){this.elem=l,this.prop=f,this.easing=b||p.easing._default,this.options=h,this.start=this.now=this.cur(),this.end=m,this.unit=w||(p.cssNumber[f]?"":"px")},cur:function(){var l=ki.propHooks[this.prop];return l&&l.get?l.get(this):ki.propHooks._default.get(this)},run:function(l){var h,f=ki.propHooks[this.prop];return this.options.duration?this.pos=h=p.easing[this.easing](l,this.options.duration*l,0,1,this.options.duration):this.pos=h=l,this.now=(this.end-this.start)*h+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),f&&f.set?f.set(this):ki.propHooks._default.set(this),this}},ki.prototype.init.prototype=ki.prototype,ki.propHooks={_default:{get:function(l){var h;return l.elem.nodeType!==1||l.elem[l.prop]!=null&&l.elem.style[l.prop]==null?l.elem[l.prop]:(h=p.css(l.elem,l.prop,""),!h||h==="auto"?0:h)},set:function(l){p.fx.step[l.prop]?p.fx.step[l.prop](l):l.elem.nodeType===1&&(p.cssHooks[l.prop]||l.elem.style[Wc(l.prop)]!=null)?p.style(l.elem,l.prop,l.now+l.unit):l.elem[l.prop]=l.now}}},ki.propHooks.scrollTop=ki.propHooks.scrollLeft={set:function(l){l.elem.nodeType&&l.elem.parentNode&&(l.elem[l.prop]=l.now)}},p.easing={linear:function(l){return l},swing:function(l){return .5-Math.cos(l*Math.PI)/2},_default:"swing"},p.fx=ki.prototype.init,p.fx.step={};var yr,Ma,Fb=/^(?:toggle|show|hide)$/,zb=/queueHooks$/;function Zc(){Ma&&(x.hidden===!1&&e.requestAnimationFrame?e.requestAnimationFrame(Zc):e.setTimeout(Zc,p.fx.interval),p.fx.tick())}function Sf(){return e.setTimeout(function(){yr=void 0}),yr=Date.now()}function Da(l,h){var f,m=0,b={height:l};for(h=h?1:0;m<4;m+=2-h)f=we[m],b["margin"+f]=b["padding"+f]=l;return h&&(b.opacity=b.width=l),b}function Ef(l,h,f){for(var m,b=(Ji.tweeners[h]||[]).concat(Ji.tweeners["*"]),w=0,E=b.length;w<E;w++)if(m=b[w].call(f,h,l))return m}function Bb(l,h,f){var m,b,w,E,L,M,B,H,ie="width"in h||"height"in h,j=this,Y={},Ae=l.style,Ue=l.nodeType&&qe(l),Re=G.get(l,"fxshow");f.queue||(E=p._queueHooks(l,"fx"),E.unqueued==null&&(E.unqueued=0,L=E.empty.fire,E.empty.fire=function(){E.unqueued||L()}),E.unqueued++,j.always(function(){j.always(function(){E.unqueued--,p.queue(l,"fx").length||E.empty.fire()})}));for(m in h)if(b=h[m],Fb.test(b)){if(delete h[m],w=w||b==="toggle",b===(Ue?"hide":"show"))if(b==="show"&&Re&&Re[m]!==void 0)Ue=!0;else continue;Y[m]=Re&&Re[m]||p.style(l,m)}if(M=!p.isEmptyObject(h),!(!M&&p.isEmptyObject(Y))){ie&&l.nodeType===1&&(f.overflow=[Ae.overflow,Ae.overflowX,Ae.overflowY],B=Re&&Re.display,B==null&&(B=G.get(l,"display")),H=p.css(l,"display"),H==="none"&&(B?H=B:(Di([l],!0),B=l.style.display||B,H=p.css(l,"display"),Di([l]))),(H==="inline"||H==="inline-block"&&B!=null)&&p.css(l,"float")==="none"&&(M||(j.done(function(){Ae.display=B}),B==null&&(H=Ae.display,B=H==="none"?"":H)),Ae.display="inline-block")),f.overflow&&(Ae.overflow="hidden",j.always(function(){Ae.overflow=f.overflow[0],Ae.overflowX=f.overflow[1],Ae.overflowY=f.overflow[2]})),M=!1;for(m in Y)M||(Re?"hidden"in Re&&(Ue=Re.hidden):Re=G.access(l,"fxshow",{display:B}),w&&(Re.hidden=!Ue),Ue&&Di([l],!0),j.done(function(){Ue||Di([l]),G.remove(l,"fxshow");for(m in Y)p.style(l,m,Y[m])})),M=Ef(Ue?Re[m]:0,m,j),m in Re||(Re[m]=M.start,Ue&&(M.end=M.start,M.start=0))}}function Nb(l,h){var f,m,b,w,E;for(f in l)if(m=O(f),b=h[m],w=l[f],Array.isArray(w)&&(b=w[1],w=l[f]=w[0]),f!==m&&(l[m]=w,delete l[f]),E=p.cssHooks[m],E&&"expand"in E){w=E.expand(w),delete l[m];for(f in w)f in l||(l[f]=w[f],h[f]=b)}else h[m]=b}function Ji(l,h,f){var m,b,w=0,E=Ji.prefilters.length,L=p.Deferred().always(function(){delete M.elem}),M=function(){if(b)return!1;for(var ie=yr||Sf(),j=Math.max(0,B.startTime+B.duration-ie),Y=j/B.duration||0,Ae=1-Y,Ue=0,Re=B.tweens.length;Ue<Re;Ue++)B.tweens[Ue].run(Ae);return L.notifyWith(l,[B,Ae,j]),Ae<1&&Re?j:(Re||L.notifyWith(l,[B,1,0]),L.resolveWith(l,[B]),!1)},B=L.promise({elem:l,props:p.extend({},h),opts:p.extend(!0,{specialEasing:{},easing:p.easing._default},f),originalProperties:h,originalOptions:f,startTime:yr||Sf(),duration:f.duration,tweens:[],createTween:function(ie,j
vendor: 17,047 bytes, lines 36-39
36){var Y=p.Tween(l,B.opts,ie,j,B.opts.specialEasing[ie]||B.opts.easing);return B.tweens.push(Y),Y},stop:function(ie){var j=0,Y=ie?B.tweens.length:0;if(b)return this;for(b=!0;j<Y;j++)B.tweens[j].run(1);return ie?(L.notifyWith(l,[B,1,0]),L.resolveWith(l,[B,ie])):L.rejectWith(l,[B,ie]),this}}),H=B.props;for(Nb(H,B.opts.specialEasing);w<E;w++)if(m=Ji.prefilters[w].call(B,l,H,B.opts),m)return S(m.stop)&&(p._queueHooks(B.elem,B.opts.queue).stop=m.stop.bind(m)),m;return p.map(H,Ef,B),S(B.opts.start)&&B.opts.start.call(l,B),B.progress(B.opts.progress).done(B.opts.done,B.opts.complete).fail(B.opts.fail).always(B.opts.always),p.fx.timer(p.extend(M,{elem:l,anim:B,queue:B.opts.queue})),B}p.Animation=p.extend(Ji,{tweeners:{"*":[function(l,h){var f=this.createTween(l,h);return mt(f.elem,l,_e.exec(h),f),f}]},tweener:function(l,h){S(l)?(h=l,l=["*"]):l=l.match(Ze);for(var f,m=0,b=l.length;m<b;m++)f=l[m],Ji.tweeners[f]=Ji.tweeners[f]||[],Ji.tweeners[f].unshift(h)},prefilters:[Bb],prefilter:function(l,h){h?Ji.prefilters.unshift(l):Ji.prefilters.push(l)}}),p.speed=function(l,h,f){var m=l&&typeof l=="object"?p.extend({},l):{complete:f||!f&&h||S(l)&&l,duration:l,easing:f&&h||h&&!S(h)&&h};return p.fx.off?m.duration=0:typeof m.duration!="number"&&(m.duration in p.fx.speeds?m.duration=p.fx.speeds[m.duration]:m.duration=p.fx.speeds._default),(m.queue==null||m.queue===!0)&&(m.queue="fx"),m.old=m.complete,m.complete=function(){S(m.old)&&m.old.call(this),m.queue&&p.dequeue(this,m.queue)},m},p.fn.extend({fadeTo:function(l,h,f,m){return this.filter(qe).css("opacity",0).show().end().animate({opacity:h},l,f,m)},animate:function(l,h,f,m){var b=p.isEmptyObject(l),w=p.speed(h,f,m),E=function(){var L=Ji(this,p.extend({},l),w);(b||G.get(this,"finish"))&&L.stop(!0)};return E.finish=E,b||w.queue===!1?this.each(E):this.queue(w.queue,E)},stop:function(l,h,f){var m=function(b){var w=b.stop;delete b.stop,w(f)};return typeof l!="string"&&(f=h,h=l,l=void 0),h&&this.queue(l||"fx",[]),this.each(function(){var b=!0,w=l!=null&&l+"queueHooks",E=p.timers,L=G.get(this);if(w)L[w]&&L[w].stop&&m(L[w]);else for(w in L)L[w]&&L[w].stop&&zb.test(w)&&m(L[w]);for(w=E.length;w--;)E[w].elem===this&&(l==null||E[w].queue===l)&&(E[w].anim.stop(f),b=!1,E.splice(w,1));(b||!f)&&p.dequeue(this,l)})},finish:function(l){return l!==!1&&(l=l||"fx"),this.each(function(){var h,f=G.get(this),m=f[l+"queue"],b=f[l+"queueHooks"],w=p.timers,E=m?m.length:0;for(f.finish=!0,p.queue(this,l,[]),b&&b.stop&&b.stop.call(this,!0),h=w.length;h--;)w[h].elem===this&&w[h].queue===l&&(w[h].anim.stop(!0),w.splice(h,1));for(h=0;h<E;h++)m[h]&&m[h].finish&&m[h].finish.call(this);delete f.finish})}}),p.each(["toggle","show","hide"],function(l,h){var f=p.fn[h];p.fn[h]=function(m,b,w){return m==null||typeof m=="boolean"?f.apply(this,arguments):this.animate(Da(h,!0),m,b,w)}}),p.each({slideDown:Da("show"),slideUp:Da("hide"),slideToggle:Da("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(l,h){p.fn[l]=function(f,m,b){return this.animate(h,f,m,b)}}),p.timers=[],p.fx.tick=function(){var l,h=0,f=p.timers;for(yr=Date.now();h<f.length;h++)l=f[h],!l()&&f[h]===l&&f.splice(h--,1);f.length||p.fx.stop(),yr=void 0},p.fx.timer=function(l){p.timers.push(l),p.fx.start()},p.fx.interval=13,p.fx.start=function(){Ma||(Ma=!0,Zc())},p.fx.stop=function(){Ma=null},p.fx.speeds={slow:600,fast:200,_default:400},p.fn.delay=function(l,h){return l=p.fx&&p.fx.speeds[l]||l,h=h||"fx",this.queue(h,function(f,m){var b=e.setTimeout(f,l);m.stop=function(){e.clearTimeout(b)}})},function(){var l=x.createElement("input"),h=x.createElement("select"),f=h.appendChild(x.createElement("option"));l.type="checkbox",y.checkOn=l.value!=="",y.optSelected=f.selected,l=x.createElement("input"),l.value="t",l.type="radio",y.radioValue=l.value==="t"}();var kf,bo=p.expr.attrHandle;p.fn.extend({attr:function(l,h){return Me(this,p.attr,l,h,arguments.length>1)},removeAttr:function(l){return this.each(function(){p.removeAttr(this,l)})}}),p.extend({attr:function(l,h,f){var m,b,w=l.nodeType;if(!(w===3||w===8||w===2)){if(typeof l.getAttribute>"u")return p.prop(l,h,f);if((w!==1||!p.isXMLDoc(l))&&(b=p.attrHooks[h.toLowerCase()]||(p.expr.match.bool.test(h)?kf:void 0)),f!==void 0){if(f===null){p.removeAttr(l,h);return}return b&&"set"in b&&(m=b.set(l,f,h))!==void 0?m:(l.setAttribute(h,f+""),f)}return b&&"get"in b&&(m=b.get(l,h))!==null?m:(m=p.find.attr(l,h),m??void 0)}},attrHooks:{type:{set:function(l,h){if(!y.radioValue&&h==="radio"&&ee(l,"input")){var f=l.value;return l.setAttribute("type",h),f&&(l.value=f),h}}}},removeAttr:function(l,h){var f,m=0,b=h&&h.match(Ze);if(b&&l.nodeType===1)for(;f=b[m++];)l.removeAttribute(f)}}),kf={set:function(l,h,f){return h===!1?p.removeAttr(l,f):l.setAttribute(f,f),f}},p.each(p.expr.match.bool.source.match(/\w+/g),function(l,h){var f=bo[h]||p.find.attr;bo[h]=function(m,b,w){var E,L,M=b.toLowerCase();return w||(L=bo[M],bo[M]=E,E=f(m,b,w)!=null?M:null,bo[M]=L),E}});var Gb=/^(?:input|select|textarea|button)$/i,jb=/^(?:a|area)$/i;p.fn.extend({prop:function(l,h){return Me(this,p.prop,l,h,arguments.length>1)},removeProp:function(l){return this.each(function(){delete this[p.propFix[l]||l]})}}),p.extend({prop:function(l,h,f){var m,b,w=l.nodeType;if(!(w===3||w===8||w===2))return(w!==1||!p.isXMLDoc(l))&&(h=p.propFix[h]||h,b=p.propHooks[h]),f!==void 0?b&&"set"in b&&(m=b.set(l,f,h))!==void 0?m:l[h]=f:b&&"get"in b&&(m=b.get(l,h))!==null?m:l[h]},propHooks:{tabIndex:{get:function(l){var h=p.find.attr(l,"tabindex");return h?parseInt(h,10):Gb.test(l.nodeName)||jb.test(l.nodeName)&&l.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),y.optSelected||(p.propHooks.selected={get:function(l){var h=l.parentNode;return h&&h.parentNode&&h.parentNode.selectedIndex,null},set:function(l){var h=l.parentNode;h&&(h.selectedIndex,h.parentNode&&h.parentNode.selectedIndex)}}),p.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){p.propFix[this.toLowerCase()]=this});function Rs(l){var h=l.match(Ze)||[];return h.join(" ")}function As(l){return l.getAttribute&&l.getAttribute("class")||""}function Uc(l){return Array.isArray(l)?l:typeof l=="string"?l.match(Ze)||[]:[]}p.fn.extend({addClass:function(l){var h,f,m,b,w,E;return S(l)?this.each(function(L){p(this).addClass(l.call(this,L,As(this)))}):(h=Uc(l),h.length?this.each(function(){if(m=As(this),f=this.nodeType===1&&" "+Rs(m)+" ",f){for(w=0;w<h.length;w++)b=h[w],f.indexOf(" "+b+" ")<0&&(f+=b+" ");E=Rs(f),m!==E&&this.setAttribute("class",E)}}):this)},removeClass:function(l){var h,f,m,b,w,E;return S(l)?this.each(function(L){p(this).removeClass(l.call(this,L,As(this)))}):arguments.length?(h=Uc(l),h.length?this.each(function(){if(m=As(this),f=this.nodeType===1&&" "+Rs(m)+" ",f){for(w=0;w<h.length;w++)for(b=h[w];f.indexOf(" "+b+" ")>-1;)f=f.replace(" "+b+" "," ");E=Rs(f),m!==E&&this.setAttribute("class",E)}}):this):this.attr("class","")},toggleClass:function(l,h){var f,m,b,w,E=typeof l,L=E==="string"||Array.isArray(l);return S(l)?this.each(function(M){p(this).toggleClass(l.call(this,M,As(this),h),h)}):typeof h=="boolean"&&L?h?this.addClass(l):this.removeClass(l):(f=Uc(l),this.each(function(){if(L)for(w=p(this),b=0;b<f.length;b++)m=f[b],w.hasClass(m)?w.removeClass(m):w.addClass(m);else(l===void 0||E==="boolean")&&(m=As(this),m&&G.set(this,"__className__",m),this.setAttribute&&this.setAttribute("class",m||l===!1?"":G.get(this,"__className__")||""))}))},hasClass:function(l){var h,f,m=0;for(h=" "+l+" ";f=this[m++];)if(f.nodeType===1&&(" "+Rs(As(f))+" ").indexOf(h)>-1)return!0;return!1}});var Kb=/\r/g;p.fn.extend({val:function(l){var h,f,m,b=this[0];return arguments.length?(m=S(l),this.each(function(w){var E;this.nodeType===1&&(m?E=l.call(this,w,p(this).val()):E=l,E==null?E="":typeof E=="number"?E+="":Array.isArray(E)&&(E=p.map(E,function(L){return L==null?"":L+""})),h=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()],(!h||!("set"in h)||h.set(this,E,"value")===void 0)&&(this.value=E))})):b?(h=p.valHooks[b.type]||p.valHooks[b.nodeName.toLowerCase()],h&&"get"in h&&(f=h.get(b,"value"))!==void 0?f:(f=b.value,typeof f=="string"?f.replace(Kb,""):f??"")):void 0}}),p.extend({valHooks:{option:{get:function(l){var h=p.find.attr(l,"value");return h??Rs(p.text(l))}},select:{get:function(l){var h,f,m,b=l.options,w=l.selectedIndex,E=l.type==="select-one",L=E?null:[],M=E?w+1:b.length;for(w<0?m=M:m=E?w:0;m<M;m++)if(f=b[m],(f.selected||m===w)&&!f.disabled&&(!f.parentNode.disabled||!ee(f.parentNode,"optgroup"))){if(h=p(f).val(),E)return h;L.push(h)}return L},set:function(l,h){for(var f,m,b=l.options,w=p.makeArray(h),E=b.length;E--;)m=b[E],(m.selected=p.inArray(p.valHooks.option.get(m),w)>-1)&&(f=!0);return f||(l.selectedIndex=-1),w}}}}),p.each(["radio","checkbox"],function(){p.valHooks[this]={set:function(l,h){if(Array.isArray(h))return l.checked=p.inArray(p(l).val(),h)>-1}},y.checkOn||(p.valHooks[this].get=function(l){return l.getAttribute("value")===null?"on":l.value})}),y.focusin="onfocusin"in e;var Tf=/^(?:focusinfocus|focusoutblur)$/,If=function(l){l.stopPropagation()};p.extend(p.event,{trigger:function(l,h,f,m){var b,w,E,L,M,B,H,ie,j=[f||x],Y=g.call(l,"type")?l.type:l,Ae=g.call(l,"namespace")?l.namespace.split("."):[];if(w=ie=E=f=f||x,!(f.nodeType===3||f.nodeType===8)&&!Tf.test(Y+p.event.triggered)&&(Y.indexOf(".")>-1&&(Ae=Y.split("."),Y=Ae.shift(),Ae.sort()),M=Y.indexOf(":")<0&&"on"+Y,l=l[p.expando]?l:new p.Event(Y,typeof l=="object"&&l),l.isTrigger=m?2:3,l.namespace=Ae.join("."),l.rnamespace=l.namespace?new RegExp("(^|\\.)"+Ae.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,l.result=void 0,l.target||(l.target=f),h=h==null?[l]:p.makeArray(h,[l]),H=p.event.special[Y]||{},!(!m&&H.trigger&&H.trigger.apply(f,h)===!1))){if(!m&&!H.noBubble&&!C(f)){for(L=H.delegateType||Y,Tf.test(L+Y)||(w=w.parentNode);w;w=w.parentNode)j.push(w),E=w;E===(f.ownerDocument||x)&&j.push(E.defaultView||E.parentWindow||e)}for(b=0;(w=j[b++])&&!l.isPropagationStopped();)ie=w,l.type=b>1?L:H.bindType||Y,B=(G.get(w,"events")||Object.create(null))[l.type]&&G.get(w,"handle"),B&&B.apply(w,h),B=M&&w[M],B&&B.apply&&K(w)&&(l.result=B.apply(w,h),l.result===!1&&l.preventDefault());return l.type=Y,!m&&!l.isDefaultPrevented()&&(!H._default||H._default.apply(j.pop(),h)===!1)&&K(f)&&M&&S(f[Y])&&!C(f)&&(E=f[M],E&&(f[M]=null),p.event.triggered=Y,l.isPropagationStopped()&&ie.addEventListener(Y,If),f[Y](),l.isPropagationStopped()&&ie.removeEventListener(Y,If),p.event.triggered=void 0,E&&(f[M]=E)),l.result}},simulate:function(l,h,f){var m=p.extend(new p.Event,f,{type:l,isSimulated:!0});p.event.trigger(m,null,h)}}),p.fn.extend({trigger:function(l,h){return this.each(function(){p.event.trigger(l,h,this)})},triggerHandler:function(l,h){var f=this[0];if(f)return p.event.trigger(l,h,f,!0)}}),y.focusin||p.each({focus:"focusin",blur:"focusout"},function(l,h){var f=function(m){p.event.simulate(h,m.target,p.event.fix(m))};p.event.special[h]={setup:function(){var m=this.ownerDocument||this.document||this,b=G.access(m,h);b||m.addEventListener(l,f,!0),G.access(m,h,(b||0)+1)},teardown:function(){var m=this.ownerDocument||this.document||this,b=G.access(m,h)-1;b?G.access(m,h,b):(m.removeEventListener(l,f,!0),G.remove(m,h))}}});var yo=e.location,xf={guid:Date.now()},Vc=/\?/;p.parseXML=function(l){var h,f;if(!l||typeof l!="string")return null;try{h=new e.DOMParser().parseFromString(l,"text/xml")}catch{}return f=h&&h.getElementsByTagName("parsererror")[0],(!h||f)&&p.error("Invalid XML: "+(f?p.map(f.childNodes,function(m){return m.textContent}).join(`
37`):l)),h};var Hb=/\[\]$/,Cf=/\r?\n/g,Wb=/^(?:submit|button|image|reset|file)$/i,$b=/^(?:input|select|textarea|keygen)/i;function Yc(l,h,f,m){var b;if(Array.isArray(h))p.each(h,function(w,E){f||Hb.test(l)?m(l,E):Yc(l+"["+(typeof E=="object"&&E!=null?w:"")+"]",E,f,m)});else if(!f&&F(h)==="object")for(b in h)Yc(l+"["+b+"]",h[b],f,m);else m(l,h)}p.param=function(l,h){var f,m=[],b=function(w,E){var L=S(E)?E():E;m[m.length]=encodeURIComponent(w)+"="+encodeURIComponent(L??"")};if(l==null)return"";if(Array.isArray(l)||l.jquery&&!p.isPlainObject(l))p.each(l,function(){b(this.name,this.value)});else for(f in l)Yc(f,l[f],h,b);return m.join("&")},p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var l=p.prop(this,"elements");return l?p.makeArray(l):this}).filter(function(){var l=this.type;return this.name&&!p(this).is(":disabled")&&$b.test(this.nodeName)&&!Wb.test(l)&&(this.checked||!Li.test(l))}).map(function(l,h){var f=p(this).val();return f==null?null:Array.isArray(f)?p.map(f,function(m){return{name:h.name,value:m.replace(Cf,`\r
38`)}}):{name:h.name,value:f.replace(Cf,`\r
39`)}}).get()}});var Zb=/%20/g,Ub=/#.*$/,Vb=/([?&])_=[^&]*/,Yb=/^(.*?):[ \t]*([^\r\n]*)$/mg,Xb=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qb=/^(?:GET|HEAD)$/,Qb=/^\/\//,Rf={},Xc={},Af="*/".concat("*"),qc=x.createElement("a");qc.href=yo.href;function Mf(l){return function(h,f){typeof h!="string"&&(f=h,h="*");var m,b=0,w=h.toLowerCase().match(Ze)||[];if(S(f))for(;m=w[b++];)m[0]==="+"?(m=m.slice(1)||"*",(l[m]=l[m]||[]).unshift(f)):(l[m]=l[m]||[]).push(f)}}function Df(l,h,f,m){var b={},w=l===Xc;function E(L){var M;return b[L]=!0,p.each(l[L]||[],function(B,H){var ie=H(h,f,m);if(typeof ie=="string"&&!w&&!b[ie])return h.dataTypes.unshift(ie),E(ie),!1;if(w)return!(M=ie)}),M}return E(h.dataTypes[0])||!b["*"]&&E("*")}function Qc(l,h){var f,m,b=p.ajaxSettings.flatOptions||{};for(f in h)h[f]!==void 0&&((b[f]?l:m||(m={}))[f]=h[f]);return m&&p.extend(!0,l,m),l}function Jb(l,h,f){for(var m,b,w,E,L=l.contents,M=l.dataTypes;M[0]==="*";)M.shift(),m===void 0&&(m=l.mimeType||h.getResponseHeader("Content-Type"));if(m){for(b in L)if(L[b]&&L[b].test(m)){M.unshift(b);break}}if(M[0]in f)w=M[0];else{for(b in f){if(!M[0]||l.converters[b+" "+M[0]]){w=b;break}E||(E=b)}w=w||E}if(w)return w!==M[0]&&M.unshift(w),f[w]}function ey(l,h,f,m){var b,w,E,L,M,B={},H=l.dataTypes.slice();if(H[1])for(E in l.converters)B[E.toLowerCase()]=l.converters[E];for(w=H.shift();w;)if(l.responseFields[w]&&(f[l.responseFields[w]]=h),!M&&m&&l.dataFilter&&(h=l.dataFilter(h,l.dataType)),M=w,w=H.shift(),w){if(w==="*")w=M;else if(M!=="*"&&M!==w){if(E=B[M+" "+w]||B["* "+w],!E){for(b in B)if(L=b.split(" "),L[1]===w&&(E=B[M+" "+L[0]]||B["* "+L[0]],E)){E===!0?E=B[b]:B[b]!==!0&&(w=L[0],H.unshift(L[1]));break}}if(E!==!0)if(E&&l.throws)h=E(h);else try{h=E(h)}catch(ie){return{state:"parsererror",error:E?ie:"No conversion from "+M+" to "+w}}}}return{state:"success",data:h}}p.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yo.href,type:"GET",isLocal:Xb.test(yo.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Af,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":p.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(l,h){return h?Qc(Qc(l,p.ajaxSettings),h):Qc(p.ajaxSettings,l)},ajaxPrefilter:Mf(Rf),ajaxTransport:Mf(Xc),ajax:function(l,h){typeof l=="object"&&(h=l,l=void 0),h=h||{};var f,m,b,w,E,L,M,B,H,ie,j=p.ajaxSetup({},h),Y=j.context||j,Ae=j.context&&(Y.nodeType||Y.jquery)?p(Y):p.event,Ue=p.Deferred(),Re=p.Callbacks("once memory"),ei=j.statusCode||{},Vt={},Oi={},yt="canceled",We={readyState:0,getResponseHeader:function(lt){var zt;if(M){if(!w)for(w={};zt=Yb.exec(b);)w[zt[1].toLowerCase()+" "]=(w[zt[1].toLowerCase()+" "]||[]).concat(zt[2]);zt=w[lt.toLowerCase()+" "]}return zt==null?null:zt.join(", ")},getAllResponseHeaders:function(){return M?b:null},setRequestHeader:function(lt,zt){return M==null&&(lt=Oi[lt.toLowerCase()]=Oi[lt.toLowerCase()]||lt,Vt[lt]=zt),this},overrideMimeType:function(lt){return M==null&&(j.mimeType=lt),this},statusCode:function(lt){var zt;if(lt)if(M)We.always(lt[We.status]);else for(zt in lt)ei[zt]=[ei[zt],lt[zt]];return this},abort:function(lt){var zt=lt||yt;return f&&f.abort(zt),Ti(0,zt),this}};if(Ue.promise(We),j.url=((l||j.url||yo.href)+"").replace(Qb,yo.protocol+"//"),j.type=h.method||h.type||j.method||j.type,j.dataTypes=(j.dataType||"*").toLowerCase().match(Ze)||[""],j.crossDomain==null){L=x.createElement("a");try{L.href=j.url,L.href=L.href,j.crossDomain=qc.protocol+"//"+qc.host!=L.protocol+"//"+L.host}catch{j.crossDomain=!0}}if(j.data&&j.processData&&typeof j.data!="string"&&(j.data=p.param(j.data,j.traditional)),Df(Rf,j,h,We),M)return We;B=p.event&&j.global,B&&p.active++===0&&p.event.trigger("ajaxStart"),j.type=j.type.toUpperCase(),j.hasContent=!qb.test(j.type),m=j.url.replace(Ub,""),j.hasContent?j.data&&j.processData&&(j.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(j.data=j.data.replace(Zb,"+")):(ie=j.url.slice(m.length),j.data&&(j.processData||typeof j.data=="str
39ing")&&(m+=(Vc.test(m)?"&":"?")+j.data,delete j.data),j.cache===!1&&(m=m.replace(Vb,"$1"),ie=(Vc.test(m)?"&":"?")+"_="+xf.guid+++ie),j.url=m+ie),j.ifModified&&(p.lastModified[m]&&We.setRequestHeader("If-Modified-Since",p.lastModified[m]),p.etag[m]&&We.setRequestHeader("If-None-Match",p.etag[m])),(j.data&&j.hasContent&&j.contentType!==!1||h.contentType)&&We.setRequestHeader("Content-Type",j.contentType),We.setRequestHeader("Accept",j.dataTypes[0]&&j.accepts[j.dataTypes[0]]?j.accepts[j.dataTypes[0]]+(j.dataTypes[0]!=="*"?", "+Af+"; q=0.01":""):j.accepts["*"]);for(H in j.headers)We.setRequestHeader(H,j.headers[H]);if(j.beforeSend&&(j.beforeSend.call(Y,We,j)===!1||M))return We.abort();if(yt="abort",Re.add(j.complete),We.done(j.success),We.fail(j.error),f=Df(Xc,j,h,We),!f)Ti(-1,"No Transport");else{if(We.readyState=1,B&&Ae.trigger("ajaxSend",[We,j]),M)return We;j.async&&j.timeout>0&&(E=e.setTimeout(function(){We.abort("timeout")},j.timeout));try{M=!1,f.send(Vt,Ti)}catch(lt){if(M)throw lt;Ti(-1,lt)}}function Ti(lt,zt,So,La){var Pi,Ms,Ds,Ii,Xn,Wi=zt;M||(M=!0,E&&e.clearTimeout(E),f=void 0,b=La||"",We.readyState=lt>0?4:0,Pi=lt>=200&&lt<300||lt===304,So&&(Ii=Jb(j,We,So)),!Pi&&p.inArray("script",j.dataTypes)>-1&&p.inArray("json",j.dataTypes)<0&&(j.converters["text script"]=function(){}),Ii=ey(j,Ii,We,Pi),Pi?(j.ifModified&&(Xn=We.getResponseHeader("Last-Modified"),Xn&&(p.lastModified[m]=Xn),Xn=We.getResponseHeader("etag"),Xn&&(p.etag[m]=Xn)),lt===204||j.type==="HEAD"?Wi="nocontent":lt===304?Wi="notmodified":(Wi=Ii.state,Ms=Ii.data,Ds=Ii.error,Pi=!Ds)):(Ds=Wi,(lt||!Wi)&&(Wi="error",lt<0&&(lt=0))),We.status=lt,We.statusText=(zt||Wi)+"",Pi?Ue.resolveWith(Y,[Ms,Wi,We]):Ue.rejectWith(Y,[We,Wi,Ds]),We.statusCode(ei),ei=void 0,B&&Ae.trigger(Pi?"ajaxSuccess":"ajaxError",[We,j,Pi?Ms:Ds]),Re.fireWith(Y,[We,Wi]),B&&(Ae.trigger("ajaxComplete",[We,j]),--p.active||p.event.trigger("ajaxStop")))}return We},getJSON:function(l,h,f){return p.get(l,h,f,"json")},getScript:function(l,h){return p.get(l,void 0,h,"script")}}),p.each(["get","post"],function(l,h){p[h]=function(f,m,b,w){return S(m)&&(w=w||b,b=m,m=void 0),p.ajax(p.extend({url:f,type:h,dataType:w,data:m,success:b},p.isPlainObject(f)&&f))}}),p.ajaxPrefilter(function(l){var h;for(h in l.headers)h.toLowerCase()==="content-type"&&(l.contentType=l.headers[h]||"")}),p._evalUrl=function(l,h,f){return p.ajax({url:l,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(m){p.globalEval(m,h,f)}})},p.fn.extend({wrapAll:function(l){var h;return this[0]&&(S(l)&&(l=l.call(this[0])),h=p(l,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&h.insertBefore(this[0]),h.map(function(){for(var f=this;f.firstElementChild;)f=f.firstElementChild;return f}).append(this)),this},wrapInner:function(l){return S(l)?this.each(function(h){p(this).wrapInner(l.call(this,h))}):this.each(function(){var h=p(this),f=h.contents();f.length?f.wrapAll(l):h.append(l)})},wrap:function(l){var h=S(l);return this.each(function(f){p(this).wrapAll(h?l.call(this,f):l)})},unwrap:function(l){return this.parent(l).not("body").each(function(){p(this).replaceWith(this.childNodes)}),this}}),p.expr.pseudos.hidden=function(l){return!p.expr.pseudos.visible(l)},p.expr.pseudos.visible=function(l){return!!(l.offsetWidth||l.offsetHeight||l.getClientRects().length)},p.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch{}};var ty={0:200,1223:204},wo=p.ajaxSettings.xhr();y.cors=!!wo&&"withCredentials"in wo,y.ajax=wo=!!wo,p.ajaxTransport(function(l){var h,f;if(y.cors||wo&&!l.crossDomain)return{send:function(m,b){var w,E=l.xhr();if(E.open(l.type,l.url,l.async,l.username,l.password),l.xhrFields)for(w in l.xhrFields)E[w]=l.xhrFields[w];l.mimeType&&E.overrideMimeType&&E.overrideMimeType(l.mimeType),!l.crossDomain&&!m["X-Requested-With"]&&(m["X-Requested-With"]="XMLHttpRequest");for(w in m)E.setRequestHeader(w,m[w]);h=function(L){return function(){h&&(h=f=E.onload=E.onerror=E.onabort=E.ontimeout=E.onreadystatechange=null,L==="abort"?E.abort():L==="error"?typeof E.status!="number"?b(0,"error"):b(E.status,E.statusText):b(ty[E.status]||E.status,E.statusText,(E.responseType||"text")!=="text"||typeof E.responseText!="string"?{binary:E.response}:{text:E.responseText},E.getAllResponseHeaders()))}},E.onload=h(),f=E.onerror=E.ontimeout=h("error"),E.onabort!==void 0?E.onabort=f:E.onreadystatechange=function(){E.readyState===4&&e.setTimeout(function(){h&&f()})},h=h("abort");try{E.send(l.hasContent&&l.data||null)}catch(L){if(h)throw L}},abort:function(){h&&h()}}}),p.ajaxPrefilter(function(l){l.crossDomain&&(l.contents.script=!1)}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(l){return p.globalEval(l),l}}}
vendor: 6,016 bytes, line 39
39),p.ajaxPrefilter("script",function(l){l.cache===void 0&&(l.cache=!1),l.crossDomain&&(l.type="GET")}),p.ajaxTransport("script",function(l){if(l.crossDomain||l.scriptAttrs){var h,f;return{send:function(m,b){h=p("<script>").attr(l.scriptAttrs||{}).prop({charset:l.scriptCharset,src:l.url}).on("load error",f=function(w){h.remove(),f=null,w&&b(w.type==="error"?404:200,w.type)}),x.head.appendChild(h[0])},abort:function(){f&&f()}}}});var Lf=[],Jc=/(=)\?(?=&|$)|\?\?/;p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var l=Lf.pop()||p.expando+"_"+xf.guid++;return this[l]=!0,l}}),p.ajaxPrefilter("json jsonp",function(l,h,f){var m,b,w,E=l.jsonp!==!1&&(Jc.test(l.url)?"url":typeof l.data=="string"&&(l.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Jc.test(l.data)&&"data");if(E||l.dataTypes[0]==="jsonp")return m=l.jsonpCallback=S(l.jsonpCallback)?l.jsonpCallback():l.jsonpCallback,E?l[E]=l[E].replace(Jc,"$1"+m):l.jsonp!==!1&&(l.url+=(Vc.test(l.url)?"&":"?")+l.jsonp+"="+m),l.converters["script json"]=function(){return w||p.error(m+" was not called"),w[0]},l.dataTypes[0]="json",b=e[m],e[m]=function(){w=arguments},f.always(function(){b===void 0?p(e).removeProp(m):e[m]=b,l[m]&&(l.jsonpCallback=h.jsonpCallback,Lf.push(m)),w&&S(b)&&b(w[0]),w=b=void 0}),"script"}),y.createHTMLDocument=function(){var l=x.implementation.createHTMLDocument("").body;return l.innerHTML="<form></form><form></form>",l.childNodes.length===2}(),p.parseHTML=function(l,h,f){if(typeof l!="string")return[];typeof h=="boolean"&&(f=h,h=!1);var m,b,w;return h||(y.createHTMLDocument?(h=x.implementation.createHTMLDocument(""),m=h.createElement("base"),m.href=x.location.href,h.head.appendChild(m)):h=x),b=Te.exec(l),w=!f&&[],b?[h.createElement(b[1])]:(b=Vn([l],h,w),w&&w.length&&p(w).remove(),p.merge([],b.childNodes))},p.fn.load=function(l,h,f){var m,b,w,E=this,L=l.indexOf(" ");return L>-1&&(m=Rs(l.slice(L)),l=l.slice(0,L)),S(h)?(f=h,h=void 0):h&&typeof h=="object"&&(b="POST"),E.length>0&&p.ajax({url:l,type:b||"GET",dataType:"html",data:h}).done(function(M){w=arguments,E.html(m?p("<div>").append(p.parseHTML(M)).find(m):M)}).always(f&&function(M,B){E.each(function(){f.apply(this,w||[M.responseText,B,M])})}),this},p.expr.pseudos.animated=function(l){return p.grep(p.timers,function(h){return l===h.elem}).length},p.offset={setOffset:function(l,h,f){var m,b,w,E,L,M,B,H=p.css(l,"position"),ie=p(l),j={};H==="static"&&(l.style.position="relative"),L=ie.offset(),w=p.css(l,"top"),M=p.css(l,"left"),B=(H==="absolute"||H==="fixed")&&(w+M).indexOf("auto")>-1,B?(m=ie.position(),E=m.top,b=m.left):(E=parseFloat(w)||0,b=parseFloat(M)||0),S(h)&&(h=h.call(l,f,p.extend({},L))),h.top!=null&&(j.top=h.top-L.top+E),h.left!=null&&(j.left=h.left-L.left+b),"using"in h?h.using.call(l,j):ie.css(j)}},p.fn.extend({offset:function(l){if(arguments.length)return l===void 0?this:this.each(function(b){p.offset.setOffset(this,l,b)});var h,f,m=this[0];if(m)return m.getClientRects().length?(h=m.getBoundingClientRect(),f=m.ownerDocument.defaultView,{top:h.top+f.pageYOffset,left:h.left+f.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var l,h,f,m=this[0],b={top:0,left:0};if(p.css(m,"position")==="fixed")h=m.getBoundingClientRect();else{for(h=this.offset(),f=m.ownerDocument,l=m.offsetParent||f.documentElement;l&&(l===f.body||l===f.documentElement)&&p.css(l,"position")==="static";)l=l.parentNode;l&&l!==m&&l.nodeType===1&&(b=p(l).offset(),b.top+=p.css(l,"borderTopWidth",!0),b.left+=p.css(l,"borderLeftWidth",!0))}return{top:h.top-b.top-p.css(m,"marginTop",!0),left:h.left-b.left-p.css(m,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var l=this.offsetParent;l&&p.css(l,"position")==="static";)l=l.offsetParent;return l||xe})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(l,h){var f=h==="pageYOffset";p.fn[l]=function(m){return Me(this,function(b,w,E){var L;if(C(b)?L=b:b.nodeType===9&&(L=b.defaultView),E===void 0)return L?L[h]:b[w];L?L.scrollTo(f?L.pageXOffset:E,f?E:L.pageYOffset):b[w]=E},l,m,arguments.length)}}),p.each(["top","left"],function(l,h){p.cssHooks[h]=pf(y.pixelPosition,function(f,m){if(m)return m=_o(f,h),Kc.test(m)?p(f).position()[h]+"px":m})}),p.each({Height:"height",Width:"width"},function(l,h){p.each({padding:"inner"+l,content:h,"":"outer"+l},function(f,m){p.fn[m]=function(b,w){var E=arguments.length&&(f||typeof b!="boolean"),L=f||(b===!0||w===!0?"margin":"border");return Me(this,function(M,B,H){var ie;return C(M)?m.indexOf("outer")===0?M["inner"+l]:M.document.documentElement["client"+l]:M.nodeType===9?(ie=M.documentElement,Math.max(M.body["scroll"+l],ie["scroll"+l],M.body["offset"+l],ie["offset"+l],ie["client"+l])):H===void 0?p.css(M,B,L):p.style(M,B,H,L)},h,E?b:void 0,E)}})}),p.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(l,h){p.fn[h]=function(f){return this.on(h,f)}}),p.fn.extend({bind:function(l,h,f){return this.on(l,null,h,f)},unbind:function(l,h){return this.off(l,null,h)},delegate:function(l,h,f,m){return this.on(h,l,f,m)},undelegate:function(l,h,f){return arguments.length===1?this.off(l,"**"):this.off(h,l||"**",f)},hover:function(l,h){return this.mouseenter(l).mouseleave(h||l)}}),p.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(l,h){p.fn[h]=function(f,m){return arguments.length>0?this.on(h,null,f,m):this.trigger(h)}});var iy=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;p.proxy=function(l,h){var f,m,b;if(typeof h=="string"&&(f=l[h],h=l,l=f),!!S(l))return m=r.call(arguments,2),b=function(){return l.apply(h||this,m.concat(r.call(arguments)))},b.guid=l.guid=l.guid||p.guid++,b},p.holdReady=function(l){l?p.readyWait++:p.ready(!0)},p.isArray=Array.isArray,p.parseJSON=JSON.parse,p.nodeName=ee,p.isFunction=S,p.isWindow=C,p.camelCase=O,p.type=F,p.now=Date.now,p.isNumeric=function(l){var h=p.type(l);
39return(h==="number"||h==="string")&&!isNaN(l-parseFloat(l))},p.trim=function(l){return l==null?"":(l+"").replace(iy,"$1")};var ny=e.jQuery,sy=e.$;return p.noConflict=function(l){return e.$===p&&(e.$=sy),l&&e.jQuery===p&&(e.jQuery=ny),p},typeof i>"u"&&(e.jQuery=e.$=p),p})})(qL);const QL="BAK",JL="https://www.bak.admin.ch/bak/de/home.html",eO="./src/assets/de/top/logo.png",tO="./src/assets/de/footer/bak.png",iO="Sprachen",nO="Museum",sO="Schaubetrieb",rO="Archiv",oO="Wanderwege",aO="Gruppen",lO="Wirtschaftszweige",cO="Transparenz",uO="Kanton",dO="Gemeinde",hO="Einträge",fO="Objekt",gO="Zurück",pO="Inhalt wird geladen",mO="Fuss",vO="Velo",_O="Bus",bO="Zug",yO="Distanz",wO="Aufstieg",SO="Abstieg",EO="min. Höhe",kO="max. Höhe",TO="Wanderzeit",IO="Velozeit",xO="Industriekultur Schweiz",CO="Kontakt",RO="weitere Informationen",dm={bak:QL,bak_link:JL,obj_logo:eO,footer_bak:tO,language:iO,museum:nO,showRoom:sO,archive:rO,routes:oO,groups:aO,economies:lO,opacity:cO,selectCanton:uO,selectCommune:dO,searchResults:hO,object:fO,back:gO,contentLoading:pO,walk:mO,bicycle:vO,bus:_O,train:bO,distance:yO,ascent:wO,descent:SO,minAltitude:EO,maxAltitude:kO,walkTime:TO,bikeTime:IO,menu_industriekulturSchweiz:xO,menu_kontakt:CO,moreInformation:RO},AO="BAK",MO="https://www.bak.admin.ch/bak/de/home.html",DO="./src/assets/fr/top/logo.png",LO="./src/assets/fr/footer/bak.png",OO="Sprachen",PO="Museum",FO="Archiv",zO="Wanderwege",BO="Wirtschaftszweige",NO="Transparenz",GO="Kanton auswählen",jO="Gemeinde auswählen",KO="Einträge",HO="Objekt",WO="Zurück",$O="Inhalt wird geladen",ZO="Fuss",UO="Velo",VO="Bus",YO="Zug",XO="Distanz",qO="Aufstieg",QO="Abstieg",JO="Min. Höhe",eP="Max. Höhe",tP="Wanderzeit",iP="Velozeit",nP={bak:AO,bak_link:MO,obj_logo:DO,footer_bak:LO,language:OO,museum:PO,archive:FO,routes:zO,economies:BO,opacity:NO,selectCanton:GO,selectCommune:jO,searchResults:KO,object:HO,back:WO,contentLoading:$O,walk:ZO,bicycle:UO,bus:VO,train:YO,distance:XO,ascent:qO,descent:QO,minAltitude:JO,maxAltitude:eP,walkTime:tP,bikeTime:iP},sP="BAK",rP="https://www.bak.admin.ch/bak/de/home.html",oP="./src/assets/it/top/logo.png",aP="./src/assets/it/footer/bak.png",lP="Sprachen",cP="Museum",uP="Archiv",dP="Wanderwege",hP="Wirtschaftszweige",fP="Transparenz",gP="Kanton auswählen",pP="Gemeinde auswählen",mP="Einträge",vP="Objekt",_P="Zurück",bP="Inhalt wird geladen",yP="Fuss",wP="Velo",SP="Bus",EP="Zug",kP="Distanz",TP="Aufstieg",IP="Abstieg",xP="Min. Höhe",CP="Max. Höhe",RP="Wanderzeit",AP="Velozeit",MP={bak:sP,bak_link:rP,obj_logo:oP,footer_bak:aP,language:lP,museum:cP,archive:uP,routes:dP,economies:hP,opacity:fP,selectCanton:gP,selectCommune:pP,searchResults:mP,object:vP,back:_P,contentLoading:bP,walk:yP,bicycle:wP,bus:SP,train:EP,distance:kP,ascent:TP,descent:IP,minAltitude:xP,maxAltitude:CP,walkTime:RP,bikeTime:AP};/*!
40  * vue-router v4.1.6
41  * (c) 2022 Eduardo San Martin Morote
42  * @license MIT
43  */const Pr=typeof window<"u";function DP(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const bt=Object.assign;function Nu(t,e){const i={};for(const n in e){const s=e[n];i[n]=hn(s)?s.map(t):t(s)}return i}const Uo=()=>{},hn=Array.isArray,LP=/\/$/,OP=t=>t.replace(LP,"");function Gu(t,e,i="/"){let n,s={},r="",o="";const a=e.indexOf("#");let c=e.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(n=e.slice(0,c),r=e.slice(c+1,a>-1?a:e.length),s=t(r)),a>-1&&(n=n||e.slice(0,a),o=e.slice(a,e.length)),n=BP(n??e,i),{fullPath:n+(r&&"?")+r+o,path:n,query:s,hash:o}}function PP(t,e){const i=e.query?t(e.query):"";return e.path+(i&&"?")+i+(e.hash||"")}function hm(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function FP(t,e,i){const n=e.matched.length-1,s=i.matched.length-1;return n>-1&&n===s&&lo(e.matched[n],i.matched[s])&&wb(e.params,i.params)&&t(e.query)===t(i.query)&&e.hash===i.hash}function lo(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function wb(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const i in t)if(!zP(t[i],e[i]))return!1;return!0}function zP(t,e){return hn(t)?fm(t,e):hn(e)?fm(e,t):t===e}function fm(t,e){return hn(e)?t.length===e.length&&t.every((i,n)=>i===e[n]):t.length===1&&t[0]===e}function BP(t,e){if(t.startsWith("/"))return t;if(!t)return e;const i=e.split("/"),n=t.split("/");let s=i.length-1,r,o;for(r=0;r<n.length;r++)if(o=n[r],o!==".")if(o==="..")s>1&&s--;else break;return i.slice(0,s).join("/")+"/"+n.slice(r-(r===n.length?1:0)).join("/")}var ma;(function(t){t.pop="pop",t.push="push"})(ma||(ma={}));var Vo;(function(t){t.back="back",t.forward="forward",t.unknown=""})(Vo||(Vo={}));function NP(t){if(!t)if(Pr){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),OP(t)}
43const GP=/^[^#]+#/;function jP(t,e){return t.replace(GP,"#")+e}function KP(t,e){const i=document.documentElement.getBoundingClientRect(),n=t.getBoundingClientRect();return{behavior:e.behavior,left:n.left-i.left-(e.left||0),top:n.top-i.top-(e.top||0)}}const Gc=()=>({left:window.pageXOffset,top:window.pageYOffset});function HP(t){let e;if("el"in t){const i=t.el,n=typeof i=="string"&&i.startsWith("#"),s=typeof i=="string"?n?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!s)return;e=KP(s,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.pageXOffset,e.top!=null?e.top:window.pageYOffset)}function gm(t,e){return(history.state?history.state.position-e:-1)+t}const Ad=new Map;function WP(t,e){Ad.set(t,e)}function $P(t){const e=Ad.get(t);return Ad.delete(t),e}let ZP=()=>location.protocol+"//"+location.host;function Sb(t,e){const{pathname:i,search:n,hash:s}=e,r=t.indexOf("#");if(r>-1){let a=s.includes(t.slice(r))?t.slice(r).length:1,c=s.slice(a);return c[0]!=="/"&&(c="/"+c),hm(c,"")}return hm(i,t)+n+s}function UP(t,e,i,n){let s=[],r=[],o=null;const a=({state:v})=>{const _=Sb(t,location),y=i.value,S=e.value;let C=0;if(v){if(i.value=_,e.value=v,o&&o===y){o=null;return}C=S?v.position-S.position:0}else n(_);s.forEach(x=>{x(i.value,y,{delta:C,type:ma.pop,direction:C?C>0?Vo.forward:Vo.back:Vo.unknown})})};function c(){o=i.value}function u(v){s.push(v);const _=()=>{const y=s.indexOf(v);y>-1&&s.splice(y,1)};return r.push(_),_}function d(){const{history:v}=window;v.state&&v.replaceState(bt({},v.state,{scroll:Gc()}),"")}function g(){for(const v of r)v();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:c,listen:u,destroy:g}}function pm(t,e,i,n=!1,s=!1){return{back:t,current:e,forward:i,replaced:n,position:window.history.length,scroll:s?Gc():null}}function VP(t){const{history:e,location:i}=window,n={value:Sb(t,i)},s={value:e.state};s.value||r(n.value,{back:null,current:n.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function r(c,u,d){const g=t.indexOf("#"),v=g>-1?(i.host&&document.querySelector("base")?t:t.slice(g))+c:ZP()+t+c;try{e[d?"replaceState":"pushState"](u,"",v),s.value=u}catch(_){console.error(_),i[d?"replace":"assign"](v)}}function o(c,u){const d=bt({},e.state,pm(s.value.back,c,s.value.forward,!0),u,{position:s.value.position});r(c,d,!0),n.value=c}function a(c,u){const d=bt({},s.value,e.state,{forward:c,scroll:Gc()});r(d.current,d,!0);const g=bt({},pm(n.value,c,null),{position:d.position+1},u);r(c,g,!1),n.value=c}return{location:n,state:s,push:a,replace:o}}function YP(t){t=NP(t);const e=VP(t),i=UP(t,e.state,e.location,e.replace);function n(r,o=!0){o||i.pauseListeners(),history.go(r)}const s=bt({location:"",base:t,go:n,createHref:jP.bind(null,t)},e,i);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>e.state.value}),s}function XP(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),YP(t)}function qP(t){return typeof t=="string"||t&&typeof t=="object"}function Eb(t){return typeof t=="string"||typeof t=="symbol"}const os={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},kb=Symbol("");var mm;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(mm||(mm={}));function co(t,e){return bt(new Error,{type:t,[kb]:!0},e)}function Pn(t,e){return t instanceof Error&&kb in t&&(e==null||!!(t.type&e))}const vm="[^/]+?",QP={sensitive:!1,strict:!1,start:!0,end:!0},JP=/[.+*?^${}()[\]/\\]/g;function eF(t,e){const i=bt({},QP,e),n=[];let s=i.start?"^":"";const r=[];for(const u of t){const d=u.length?[]:[90];i.strict&&!u.length&&(s+="/");for(let g=0;g<u.length;g++){const v=u[g];let _=40+(i.sensitive?.25:0);if(v.type===0)g||(s+="/"),s+=v.value.replace(JP,"\\$&"),_+=40;else if(v.type===1){const{value:y,repeatable:S,optional:C,regexp:x}=v;r.push({name:y,repeatable:S,optional:C});const I=x||vm;if(I!==vm){_+=10;try{new RegExp(`(${I})`)}catch(F){throw new Error(`Invalid custom RegExp for param "${y}" (${I}): `+F.message)}}let R=S?`((?:${I})(?:/(?:${I}))*)`:`(${I})`;g||(R=C&&u.length<2?`(?:/${R})`:"/"+R),C&&(R+="?"),s+=R,_+=20,C&&(_+=-8),S&&(_+=-20),I===".*"&&(_+=-50)}d.push(_)}n.push(d)}if(i.strict&&i.end){const u=n.length-1;n[u][n[u].length-1]+=.7000000000000001}i.strict||(s+="/?"),i.end?s+="$":i.strict&&(s+="(?:/|$)");const o=new RegExp(s,i.sensitive?"":"i");function a(u){const d=u.match(o),g={};if(!d)return null;for(let v=1;v<d.length;v++){const _=d[v]||"",y=r[v-1];g[y.name]=_&&y.repeatable?_.split("/"):_}return g}function c(u){let d="",g=!1;for(const v of t){(!g||!d.endsWith("/"))&&(d+="/"),g=!1;for(const _ of v)if(_.type===0)d+=_.value;else if(_.type===1){const{value:y,repeatable:S,optional:C}=_,x=y in u?u[y]:"";if(hn(x)&&!S)throw new Error(`Provided param "${y}" is an array but it is not repeatable (* or + modifiers)`);const I=hn(x)?x.join("/"):x;if(!I)if(C)v.length<2&&(d.endsWith("/")?d=d.slice(0,-1):g=!0);else throw new Error(`Missing required param "${y}"`);d+=I}}return d||"/"}return{re:o,score:n,keys:r,parse:a,stringify:c}
43}function tF(t,e){let i=0;for(;i<t.length&&i<e.length;){const n=e[i]-t[i];if(n)return n;i++}return t.length<e.length?t.length===1&&t[0]===40+40?-1:1:t.length>e.length?e.length===1&&e[0]===40+40?1:-1:0}function iF(t,e){let i=0;const n=t.score,s=e.score;for(;i<n.length&&i<s.length;){const r=tF(n[i],s[i]);if(r)return r;i++}if(Math.abs(s.length-n.length)===1){if(_m(n))return 1;if(_m(s))return-1}return s.length-n.length}function _m(t){const e=t[t.length-1];return t.length>0&&e[e.length-1]<0}const nF={type:0,value:""},sF=/[a-zA-Z0-9_]/;function rF(t){if(!t)return[[]];if(t==="/")return[[nF]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(_){throw new Error(`ERR (${i})/"${u}": ${_}`)}let i=0,n=i;const s=[];let r;function o(){r&&s.push(r),r=[]}let a=0,c,u="",d="";function g(){u&&(i===0?r.push({type:0,value:u}):i===1||i===2||i===3?(r.length>1&&(c==="*"||c==="+")&&e(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:u,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):e("Invalid state to consume buffer"),u="")}function v(){u+=c}for(;a<t.length;){if(c=t[a++],c==="\\"&&i!==2){n=i,i=4;continue}switch(i){case 0:c==="/"?(u&&g(),o()):c===":"?(g(),i=1):v();break;case 4:v(),i=n;break;case 1:c==="("?i=2:sF.test(c)?v():(g(),i=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:i=3:d+=c;break;case 3:g(),i=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,d="";break;default:e("Unknown state");break}}return i===2&&e(`Unfinished custom RegExp for param "${u}"`),g(),o(),s}function oF(t,e,i){const n=eF(rF(t.path),i),s=bt(n,{record:t,parent:e,children:[],alias:[]});return e&&!s.record.aliasOf==!e.record.aliasOf&&e.children.push(s),s}function aF(t,e){const i=[],n=new Map;e=wm({strict:!1,end:!0,sensitive:!1},e);function s(d){return n.get(d)}function r(d,g,v){const _=!v,y=lF(d);y.aliasOf=v&&v.record;const S=wm(e,d),C=[y];if("alias"in d){const R=typeof d.alias=="string"?[d.alias]:d.alias;for(const F of R)C.push(bt({},y,{components:v?v.record.components:y.components,path:F,aliasOf:v?v.record:y}))}let x,I;for(const R of C){const{path:F}=R;if(g&&F[0]!=="/"){const Z=g.record.path,p=Z[Z.length-1]==="/"?"":"/";R.path=g.record.path+(F&&p+F)}if(x=oF(R,g,S),v?v.alias.push(x):(I=I||x,I!==x&&I.alias.push(x),_&&d.name&&!ym(x)&&o(d.name)),y.children){const Z=y.children;for(let p=0;p<Z.length;p++)r(Z[p],x,v&&v.children[p])}v=v||x,(x.record.components&&Object.keys(x.record.components).length||x.record.name||x.record.redirect)&&c(x)}return I?()=>{o(I)}:Uo}function o(d){if(Eb(d)){const g=n.get(d);g&&(n.delete(d),i.splice(i.indexOf(g),1),g.children.forEach(o),g.alias.forEach(o))}else{const g=i.indexOf(d);g>-1&&(i.splice(g,1),d.record.name&&n.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function a(){return i}function c(d){let g=0;for(;g<i.length&&iF(d,i[g])>=0&&(d.record.path!==i[g].record.path||!Tb(d,i[g]));)g++;i.splice(g,0,d),d.record.name&&!ym(d)&&n.set(d.record.name,d)}function u(d,g){let v,_={},y,S;if("name"in d&&d.name){if(v=n.get(d.name),!v)throw co(1,{location:d});S=v.record.name,_=bt(bm(g.params,v.keys.filter(I=>!I.optional).map(I=>I.name)),d.params&&bm(d.params,v.keys.map(I=>I.name))),y=v.stringify(_)}else if("path"in d)y=d.path,v=i.find(I=>I.re.test(y)),v&&(_=v.parse(y),S=v.record.name);else{if(v=g.name?n.get(g.name):i.find(I=>I.re.test(g.path)),!v)throw co(1,{location:d,currentLocation:g});S=v.record.name,_=bt({},g.params,d.params),y=v.stringify(_)}const C=[];let x=v;for(;x;)C.unshift(x.record),x=x.parent;return{name:S,path:y,params:_,matched:C,meta:uF(C)}}return t.forEach(d=>r(d)),{addRoute:r,resolve:u,removeRoute:o,getRoutes:a,getRecordMatcher:s}}function bm(t,e){const i={};for(const n of e)n in t&&(i[n]=t[n]);return i}function lF(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:cF(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function cF(t){const e={},i=t.props||!1;if("component"in t)e.default=i;else for(const n in t.components)e[n]=typeof i=="boolean"?i:i[n];return e}function ym(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function uF(t){return t.reduce((e,i)=>bt(e,i.meta),{})}function wm(t,e){const i={};for(const n in t)i[n]=n in e?e[n]:t[n];return i}function Tb(t,e){return e.children.some(i=>i===t||Tb(t,i))}const Ib=/#/g,dF=/&/g,hF=/\//g,fF=/=/g,gF=/\?/g,xb=/\+/g,pF=/%5B/g,mF=/%5D/g,Cb=/%5E/g,vF=/%60/g,Rb=/%7B/g,_F=/%7C/g,Ab=/%7D/g,bF=/%20/g;function lf(t){return encodeURI(""+t).replace(_F,"|").replace(pF,"[").replace(mF,"]")}function yF(t){return lf(t).replace(Rb,"{").replace(Ab,"}").replace(Cb,"^")}function Md(t){return lf(t).replace(xb,"%2B").replace(bF,"+").replace(Ib,"%23").replace(dF,"%26").replace(vF,"`").replace(Rb,"{").replace(Ab,"}").replace(Cb,"^")}function wF(t){return Md(t).replace(fF,"%3D")}function SF(t){return lf(t).replace(Ib,"%23").replace(gF,"%3F")}function EF(t){return t==null?"":SF(t).replace(hF,"%2F")}function Jl(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function kF(t){const e={};if(t===""||t==="?")return e;const n=(t[0]==="?"?t.slice(1):t).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(xb," "),o=r.indexOf("="),a=Jl(o<0?r:r.slice(0,o)),c=o<0?null:Jl(r.slice(o+1));if(a in e){let u=e[a];hn(u)||(u=e[a]=[u]),u.push(c)}else e[a]=c}return e}function Sm(t){let e="";for(let i in t){const n=t[i];if(i=wF(i),n==null){n!==void 0&&(e+=(e.length?"&":"")+i);continue}(hn(n)?n.map(r=>
vendor: 4,804 bytes, line 43
43r&&Md(r)):[n&&Md(n)]).forEach(r=>{r!==void 0&&(e+=(e.length?"&":"")+i,r!=null&&(e+="="+r))})}return e}function TF(t){const e={};for(const i in t){const n=t[i];n!==void 0&&(e[i]=hn(n)?n.map(s=>s==null?null:""+s):n==null?n:""+n)}return e}const IF=Symbol(""),Em=Symbol(""),cf=Symbol(""),uf=Symbol(""),Dd=Symbol("");function Po(){let t=[];function e(n){return t.push(n),()=>{const s=t.indexOf(n);s>-1&&t.splice(s,1)}}function i(){t=[]}return{add:e,list:()=>t,reset:i}}function ds(t,e,i,n,s){const r=n&&(n.enterCallbacks[s]=n.enterCallbacks[s]||[]);return()=>new Promise((o,a)=>{const c=g=>{g===!1?a(co(4,{from:i,to:e})):g instanceof Error?a(g):qP(g)?a(co(2,{from:e,to:g})):(r&&n.enterCallbacks[s]===r&&typeof g=="function"&&r.push(g),o())},u=t.call(n&&n.instances[s],e,i,c);let d=Promise.resolve(u);t.length<3&&(d=d.then(c)),d.catch(g=>a(g))})}function ju(t,e,i,n){const s=[];for(const r of t)for(const o in r.components){let a=r.components[o];if(!(e!=="beforeRouteEnter"&&!r.instances[o]))if(xF(a)){const u=(a.__vccOpts||a)[e];u&&s.push(ds(u,i,n,r,o))}else{let c=a();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${r.path}"`));const d=DP(u)?u.default:u;r.components[o]=d;const v=(d.__vccOpts||d)[e];return v&&ds(v,i,n,r,o)()}))}}return s}function xF(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function km(t){const e=kn(cf),i=kn(uf),n=Vi(()=>e.resolve(Wr(t.to))),s=Vi(()=>{const{matched:c}=n.value,{length:u}=c,d=c[u-1],g=i.matched;if(!d||!g.length)return-1;const v=g.findIndex(lo.bind(null,d));if(v>-1)return v;const _=Tm(c[u-2]);return u>1&&Tm(d)===_&&g[g.length-1].path!==_?g.findIndex(lo.bind(null,c[u-2])):v}),r=Vi(()=>s.value>-1&&MF(i.params,n.value.params)),o=Vi(()=>s.value>-1&&s.value===i.matched.length-1&&wb(i.params,n.value.params));function a(c={}){return AF(c)?e[Wr(t.replace)?"replace":"push"](Wr(t.to)).catch(Uo):Promise.resolve()}return{route:n,href:Vi(()=>n.value.href),isActive:r,isExactActive:o,navigate:a}}const CF=ks({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:km,setup(t,{slots:e}){const i=va(km(t)),{options:n}=kn(cf),s=Vi(()=>({[Im(t.activeClass,n.linkActiveClass,"router-link-active")]:i.isActive,[Im(t.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const r=e.default&&e.default(i);return t.custom?r:Qd("a",{"aria-current":i.isExactActive?t.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:s.value},r)}}}),RF=CF;function AF(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function MF(t,e){for(const i in e){const n=e[i],s=t[i];if(typeof n=="string"){if(n!==s)return!1}else if(!hn(s)||s.length!==n.length||n.some((r,o)=>r!==s[o]))return!1}return!0}function Tm(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Im=(t,e,i)=>t??e??i,DF=ks({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:i}){const n=kn(Dd),s=Vi(()=>t.route||n.value),r=kn(Em,0),o=Vi(()=>{let u=Wr(r);const{matched:d}=s.value;let g;for(;(g=d[u])&&!g.components;)u++;return u}),a=Vi(()=>s.value.matched[o.value]);pl(Em,Vi(()=>o.value+1)),pl(IF,a),pl(Dd,s);const c=Ym();return ml(()=>[c.value,a.value,t.name],([u,d,g],[v,_,y])=>{d&&(d.instances[g]=u,_&&_!==d&&u&&u===v&&(d.leaveGuards.size||(d.leaveGuards=_.leaveGuards),d.updateGuards.size||(d.updateGuards=_.updateGuards))),u&&d&&(!_||!lo(d,_)||!v)&&(d.enterCallbacks[g]||[]).forEach(S=>S(u))},{flush:"post"}),()=>{const u=s.value,d=t.name,g=a.value,v=g&&g.components[d];if(!v)return xm(i.default,{Component:v,route:u});const _=g.props[d],y=_?_===!0?u.params:typeof _=="function"?_(u):_:null,C=Qd(v,bt({},y,e,{onVnodeUnmounted:x=>{x.component.isUnmounted&&(g.instances[d]=null)},ref:c}));return xm(i.default,{Component:C,route:u})||C}}});function xm(t,e){if(!t)return null;const i=t(e);return i.length===1?i[0]:i}const LF=DF;function OF(t){const e=aF(t.routes,t),i=t.parseQuery||kF,n=t.stringifyQuery||Sm,s=t.history,r=Po(),o=Po(),a=Po(),c=c0(os);let u=os;Pr&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Nu.bind(null,W=>""+W),g=Nu.bind(null,EF),v=Nu.bind(null,Jl);function _(W,pe){let de,ve;return Eb(W)?(de=e.getRecordMatcher(W),ve=pe):ve=W,e.addRoute(ve,de)}function y(W){const pe=e.getRecordMatcher(W);pe&&e.removeRoute(pe)}function S(){return e.getRoutes().map(W=>
43W.record)}function C(W){return!!e.getRecordMatcher(W)}function x(W,pe){if(pe=bt({},pe||c.value),typeof W=="string"){const A=Gu(i,W,pe.path),O=e.resolve({path:A.path},pe),K=s.createHref(A.fullPath);return bt(A,O,{params:v(O.params),hash:Jl(A.hash),redirectedFrom:void 0,href:K})}let de;if("path"in W)de=bt({},W,{path:Gu(i,W.path,pe.path).path});else{const A=bt({},W.params);for(const O in A)A[O]==null&&delete A[O];de=bt({},W,{params:g(W.params)}),pe.params=g(pe.params)}const ve=e.resolve(de,pe),Me=W.hash||"";ve.params=d(v(ve.params));const st=PP(n,bt({},W,{hash:yF(Me),path:ve.path})),Ge=s.createHref(st);return bt({fullPath:st,hash:Me,query:n===Sm?TF(W.query):W.query||{}},ve,{redirectedFrom:void 0,href:Ge})}function I(W){return typeof W=="string"?Gu(i,W,c.value.path):bt({},W)}function R(W,pe){if(u!==W)return co(8,{from:pe,to:W})}function F(W){return le(W)}function Z(W){return F(bt(I(W),{replace:!0}))}function p(W){const pe=W.matched[W.matched.length-1];if(pe&&pe.redirect){const{redirect:de}=pe;let ve=typeof de=="function"?de(W):de;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=I(ve):{path:ve},ve.params={}),bt({query:W.query,hash:W.hash,params:"path"in ve?{}:W.params},ve)}}function le(W,pe){const de=u=x(W),ve=c.value,Me=W.state,st=W.force,Ge=W.replace===!0,A=p(de);if(A)return le(bt(I(A),{state:typeof A=="object"?bt({},Me,A.state):Me,force:st,replace:Ge}),pe||de);const O=de;O.redirectedFrom=pe;let K;return!st&&FP(n,ve,de)&&(K=co(16,{to:O,from:ve}),Be(ve,ve,!0,!1)),(K?Promise.resolve(K):ae(O,ve)).catch(V=>Pn(V)?Pn(V,2)?V:Ie(V):N(V,O,ve)).then(V=>{if(V){if(Pn(V,2))return le(bt({replace:Ge},I(V.to),{state:typeof V.to=="object"?bt({},Me,V.to.state):Me,force:st}),pe||O)}else V=Ce(O,ve,!0,Ge,Me);return ue(O,ve,V),V})}function Q(W,pe){const de=R(W,pe);return de?Promise.reject(de):Promise.resolve()}function ae(W,pe){let de;const[ve,Me,st]=PF(W,pe);de=ju(ve.reverse(),"beforeRouteLeave",W,pe);for(const A of ve)A.leaveGuards.forEach(O=>{de.push(ds(O,W,pe))});const Ge=Q.bind(null,W,pe);return de.push(Ge),Cr(de).then(()=>{de=[];for(const A of r.list())de.push(ds(A,W,pe));return de.push(Ge),Cr(de)}).then(()=>{de=ju(Me,"beforeRouteUpdate",W,pe);for(const A of Me)A.updateGuards.forEach(O=>{de.push(ds(O,W,pe))});return de.push(Ge),Cr(de)}).then(()=>{de=[];for(const A of W.matched)if(A.beforeEnter&&!pe.matched.includes(A))if(hn(A.beforeEnter))for(const O of A.beforeEnter)de.push(ds(O,W,pe));else de.push(ds(A.beforeEnter,W,pe));return de.push(Ge),Cr(de)}).then(()=>(W.matched.forEach(A=>A.enterCallbacks={}),de=ju(st,"beforeRouteEnter",W,pe),de.push(Ge),Cr(de))).then(()=>{de=[];for(const A of o.list())de.push(ds(A,W,pe));return de.push(Ge),Cr(de)}).catch(A=>Pn(A,8)?A:Promise.reject(A))}function ue(W,pe,de){for(const ve of a.list())ve(W,pe,de)}function Ce(W,pe,de,ve,Me){const st=R(W,pe);if(st)return st;const Ge=pe===os,A=Pr?history.state:{};de&&(ve||Ge?s.replace(W.fullPath,bt({scroll:Ge&&A&&A.scroll},Me)):s.push(W.fullPath,Me)),c.value=W,Be(W,pe,de,Ge),Ie()}let ee;function Te(){ee||(ee=s.listen((W,pe,de)=>{if(!Ye.listening)return;const ve=x(W),Me=p(ve);if(Me){le(bt(Me,{replace:!0}),ve).catch(Uo);return}u=ve;const st=c.value;Pr&&WP(gm(st.fullPath,de.delta),Gc()),ae(ve,st).catch(Ge=>Pn(Ge,12)?Ge:Pn(Ge,2)?(le(Ge.to,ve).then(A=>{Pn(A,20)&&!de.delta&&de.type===ma.pop&&s.go(-1,!1)}).catch(Uo),Promise.reject()):(de.delta&&s.go(-de.delta,!1),N(Ge,ve,st))).then(Ge=>{Ge=Ge||Ce(ve,st,!1),Ge&&(de.delta&&!Pn(Ge,8)?s.go(-de.delta,!1):de.type===ma.pop&&Pn(Ge,20)&&s.go(-1,!1)),ue(ve,st,Ge)}).catch(Uo)}))}let $e=Po(),Ee=Po(),be;function N(W,pe,de){Ie(W);const ve=Ee.list();return ve.length?ve.forEach(Me=>Me(W,pe,de)):console.error(W),Promise.reject(W)}function oe(){return be&&c.value!==os?Promise.resolve():new Promise((W,pe)=>{$e.add([W,pe])})}function Ie(W){return be||(be=!W,Te(),$e.list().forEach(([pe,de])=>W?de(W):pe()),$e.reset()),W}function Be(W,pe,de,ve){const{scrollBehavior:Me}=t;if(!Pr||!Me)return Promise.resolve();const st=!de&&$P(gm(W.fullPath,0))||(ve||!de)&&history.state&&history.state.scroll||null;return ji().then(()=>Me(W,pe,st)).then(Ge=>Ge&&HP(Ge)).catch(Ge=>N(Ge,W,pe))}const Ze=W=>s.go(W);let te;const pt=new Set,Ye={currentRoute:c,listening:!0,addRoute:_,removeRoute:y,hasRoute:C,getRoutes:S,resolve:x,options:t,push:F,replace:Z,go:Ze,back:()=>Ze(-1),forward:()=>Ze(1),beforeEach:r.add,beforeResolve:o.add,afterEach:a.add,onError:Ee.add,isReady:oe,install(W){const pe=this;W.component("RouterLink",RF),W.component("RouterView",LF),W.config.globalProperties.$router=pe,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>Wr(c)}),Pr&&!te&&c.value===os&&(te=!0,F(s.location).catch(Me=>{}));const de={};for(const Me in os)de[Me]=Vi(()=>c.value[Me]);W.provide(cf,pe),W.provide(uf,va(de)),W.provide(Dd,c);const ve=W.unmount;pt.add(W),W.unmount=function(){pt.delete(W),pt.size<1&&(u=os,ee&&ee(),ee=null,c.value=os,te=!1,be=!1),ve()}}};return Ye}function Cr(t){return t.reduce((e,i)=>e.then(()=>i()),Promise.resolve())}function PF(t,e){const i=[],n=[],s=[],r=Math.max(e.matched.length,t.matched.length);for(let o=0;o<r;o++){const a=e.matched[o];a&&(t.matched.find(u=>lo(u,a))?n.push(a):i.push(a));const c=t.matched[o];c&&(e.matched.find(u=>lo(u,c))||s.push(c))}return[i,n,s]}function FF(){return kn(uf)}const zF=ks({components:{MapContainer:EC,Information:jR,ObjectInformation:UM,GroupInformation:cD,RouteInformation:XL},data(){return{categoryInfo:"",categories:[],categoryFilter:Array(10).fill(!1),routes:[],groups:[],zoomToRoute:-1,zoomToObject:[0,0],zoomToGroup:-1,view:"map",currentContentView:"industriekulturSchweiz",currentObjectPreview:null,currentObjectPreviewObj:{ID:0,objectID:"",longitude:0,latitude:0,name:"",description:"",img:"",isMuseum:!1,isArchive:!1,objectSubs:[],links:[]},currentObject:null,currentObjectObj:{ID:0,objectID:"",longitude:0,latitude:0,name:"",description:"",img:"",isMuseum:!1,isArchive:!1,objectSubs:[],links:[]},currentGroupPreview:null,currentGroupPreviewObj:{},currentGroup:null,currentGroupObj:{},currentRoutePreview:null,currentRoutePreviewObj:{},currentRoute:null,currentRouteObj:{},language:dm,selectedLanguage:"de",showFilters:!0,showLanguageSelection:!1,showInformation:!1,showCategoryFilter:!1,showSearchMobile:!1,showLanguageFilterMobile:!1,selectedCategoryName:"",sponsors:new Array,searchValue:"",searchResults:new Array,timerSearch:0,timerSearchRunning:!1,numberRomans:["I","II","III","IV","V","VI","VII","VIII","IX","X"],shareLink:"",shareActionResult:"",isLoadingPDF:!1,showRoutes:!1,showGroups:!1,showMuseum:!1,showArchive:!1,showCategories:!1,isLoadingObjectPreview:!1,isLoadingRoutePreview:!1,isLoadingGroupPreview:!1,isLoadingObject:!1,isLoadingGroup:!1,isLoadingRoute:!1,objectView:"hidden",routeView:"hidden",groupView:"hidden",scrollTo:0,scrollToID:"industriekulturSchweiz",searchFilter:{museum:!1,archive:!1,canton:"",community:""},searchLimit:"25",searchItemCount:"",economyMainFilter:""}},watch:{selectedLanguage(t){switch(t){case"fr":this.language=nP;break;case"it":this.language=MP;break;default:this.language=dm;break}this.loadCategories(),$(".dropdown").dropdown("refresh")},economyMainFilter(t){let e=t.split(",");
43this.categories.forEach((i,n)=>{this.categoryFilter[n]=e.indexOf(""+n)>=0})},showSearchMobile(t){t===!0&&ji(()=>{document.querySelector("#searchMobile > .input > input").focus()})},currentObjectPreview(t){t!==null&&this.objectView!="lead"&&(this.isLoadingObjectPreview=!0,Ci.post("/services/get.php",{action:"objectMainPreview",ID:t,language:this.selectedLanguage}).then(e=>{this.currentObjectPreviewObj=e.data.results,this.isLoadingObjectPreview=!1}))},currentObject(t){t!==null?(this.isLoadingObject=!0,this.showFilters=!1,this.showCategoryFilter=!1,Ci.post("/services/get.php",{action:"objectMain",ID:t,language:this.selectedLanguage}).then(e=>{this.currentObjectObj=e.data.results,this.shareLink=`https://industriekultur.ch/#/object/${t}`,this.isLoadingObject=!1,this.zoomToObject=[this.currentObjectObj.longitude,this.currentObjectObj.latitude]})):(this.currentObjectObj={},this.showFilters=!0)},currentGroupPreview(t){t!==null&&this.groupView!="lead"?(this.isLoadingGroupPreview=!0,Ci.post("/services/get.php",{action:"groupPreview",ID:t,language:this.selectedLanguage}).then(e=>{this.currentGroupPreviewObj=e.data.results,this.isLoadingGroupPreview=!1})):this.currentGroupObj={}},currentGroup(t){t!==null?(this.isLoadingGroup=!0,this.showFilters=!1,this.showCategoryFilter=!1,Ci.post("/services/get.php",{action:"group",ID:t,language:this.selectedLanguage}).then(e=>{this.currentGroupObj=e.data.results,this.shareLink=`https://industriekultur.ch/#/group/${t}`,this.isLoadingGroup=!1})):(this.currentGroupObj={},this.showFilters=!0)},currentRoutePreview(t){t!==null&&this.routeView!="lead"?(this.isLoadingRoutePreview=!0,Ci.post("/services/get.php",{action:"routePreview",ID:t,language:this.selectedLanguage}).then(e=>{this.currentRoutePreviewObj=e.data.results,this.isLoadingRoutePreview=!1})):this.currentRoutePreviewObj={}},currentRoute(t){t!==null?(this.isLoadingRoute=!0,this.showFilters=!1,this.showCategoryFilter=!1,Ci.post("/services/get.php",{action:"route",ID:t,language:this.selectedLanguage}).then(e=>{this.currentRouteObj=e.data.results,this.shareLink=`https://industriekultur.ch/#/route/${t}`,this.isLoadingRoute=!1})):(this.currentRouteObj={},this.showFilters=!0)}},computed:{isCategorySelected(){return this.categoryFilter.reduce((t,e)=>t||e,!1)},routeIconCount(){var t,e,i,n;return((t=this.currentRouteObj)!=null&&t.withWalk?1:0)+((e=this.currentRouteObj)!=null&&e.withBike?1:0)+((i=this.currentRouteObj)!=null&&i.withBus?1:0)+((n=this.currentRouteObj)!=null&&n.withTrain?1:0)},routePreviewIconCount(){var t,e,i,n;return((t=this.currentRoutePreviewObj)!=null&&t.withWalk?1:0)+((e=this.currentRoutePreviewObj)!=null&&e.withBike?1:0)+((i=this.currentRoutePreviewObj)!=null&&i.withBus?1:0)+((n=this.currentRoutePreviewObj)!=null&&n.withTrain?1:0)}},methods:{loadCategories(){Ci.post("/services/get.php",{action:"economyMain",language:this.selectedLanguage}).then(t=>{this.categories=t.data.results})},loadSponsors(){Ci.post("/services/get.php",{action:"sponsors"}).then(t=>{this.sponsors=t.data.results})},updateSearch(){window.clearTimeout(this.timerSearch),this.timerSearch=window.setTimeout(()=>{this.timerSearchRunning=!0,Ci.post("/services/get.php",{action:"listByFilter2",language:this.selectedLanguage,filter:{search:this.searchValue,...this.searchFilter,page:1,limit:this.searchLimit}}).then(t=>{this.searchResults=t.data.results,this.searchItemCount=t.data.itemCount,this.timerSearchRunning=!1,this.updateDropdown("searchCommunity","community"),this.updateDropdown("searchCanton","canton")})},250)},updateDropdown(t,e){let i={},n=s=>{};switch(e){case"canton":i={community:this.searchFilter.community,museum:this.searchFilter.museum,archive:this.searchFilter.archive,search:this.searchValue},n=s=>{this.searchFilter.canton=s,this.updateSearch()};break;case"community":i={canton:this.searchFilter.canton,museum:this.searchFilter.museum,archive:this.searchFilter.archive,search:this.searchValue},n=s=>{this.searchFilter.community=s,this.updateSearch()};break}$(`.dropdown.${t}`).dropdown({apiSettings:{url:`/services/getDropdown.php?action=${e}&q={query}`,cache:!1,method:"POST",data:i},message:{noResults:"Keine Einträge"},onChange:n})},updateViewByObj(t){this.updateView(t.action,t.origin,t.state)},updateView(t,e,i){let n=this.objectView,s=this.groupView,r=this.routeView;if(i)switch(i=="hidden"&&(this.currentObject=null,this.currentGroup=null,this.currentRoute=null),n="hidden",s="hidden",r="hidden",e){case"object":n=i;break;case"group":s=i;break;case"route":r=i;break}else switch(e){case"map":(t=="click"||t=="touch")&&(n="hidden",s="hidden",r="hidden",this.showCategoryFilter=!1),t=="mouseover"&&(n=="title"&&(n="hidden"),r=="title"&&(r="hidden"),s=="title"&&(s="hidden"));break;case"object":(t=="touch"||t=="click")&&(n="full"),t=="mouseover"&&r=="hidden"&&n!="lead"&&n!="full"&&(n="title");break;case"route":(t=="touch"||t=="click")&&(r="full",this.routes.forEac
43h((o,a)=>{o.ID==this.currentRoute&&(this.zoomToRoute=a)}),this.resetZoomToRoute()),t=="mouseover"&&n=="hidden"&&r!="lead"&&r!="full"&&(r="title");break;case"group":(t=="touch"||t=="click")&&(s="full",this.groups.forEach((o,a)=>{o.ID==this.currentGroup&&(this.zoomToGroup=a)}),this.resetZoomToGroup()),t=="mouseover"&&n=="hidden"&&s!="lead"&&s!="full"&&(s="title");break}this.objectView=n,this.groupView=s,this.routeView=r},resetZoomToRoute(){setTimeout(()=>this.zoomToRoute=-1,100)},resetZoomToGroup(){setTimeout(()=>this.zoomToGroup=-1,100)},showByType(t,e="object",i=[]){switch(i.includes("search")||(this.showSearchMobile=!1),this.currentObjectPreview=e=="objectPreview"?t:null,this.currentObject=e=="object"?t:null,this.currentGroup=e=="group"?t:null,this.currentRoute=e=="route"?t:null,e){case"map":this.view="map";break;case"information":this.view="information",this.scrollToID="industriekulturSchweiz";break;case"contact":this.view="information",this.scrollToID="kontakt";break}},share(){navigator.clipboard.writeText(this.shareLink).then(()=>{this.shareActionResult="Kopiert"},()=>{this.shareActionResult="Fehler"}),setTimeout(()=>{$("#share").popup("hide")},5e3)},pdf(){this.isLoadingPDF=!0,Ci.post("/services/getPDF.php",{ID:this.currentObject,language:this.selectedLanguage}).then(t=>{window.open(t.data.results,"_blank")}).finally(()=>{this.isLoadingPDF=!1})},closeUnknownLocationMessage(){let t=document.getElementById("unknownLocation");t.style.display="none"},updateSearchKeyword(t){Ci.post("/services/update.php",{action:"searchKeyword",ID:this.currentObject,search:this.searchValue})}},mounted(){$(".dropdown").dropdown(),$(".dropdown.searchLimit").dropdown({onChange:e=>{this.searchLimit=e,this.updateSearch()}}),$(".dropdown.economyMainFilter").dropdown({onChange:e=>{this.economyMainFilter=e}}),$(".objectPreview").on("wheel",e=>{e.preventDefault(),this.currentObject=this.currentObjectPreviewObj.ID,this.updateView("click","object","full")}),$(".objectPreview").on("touchmove",e=>{e.preventDefault(),this.currentObject=this.currentObjectPreviewObj.ID,this.updateView("click","object","full")}),$(".routePreview").on("wheel",e=>{e.preventDefault(),this.currentRoute=this.currentRoutePreviewObj.ID,this.updateView("click","route","full")}),$(".routePreview").on("touchmove",e=>{e.preventDefault(),this.currentRoute=this.currentRoutePreviewObj.ID,this.updateView("click","route","full")}),this.updateDropdown("searchCanton","canton"),this.updateDropdown("searchCommunity","community"),$("#shareObject, #shareGroup, #shareRoute").popup({on:"click",position:"left center"}),this.loadCategories(),this.loadSponsors();let t=FF();setTimeout(()=>{if(t.query.objectID!==void 0){let e=t.query.objectID;this.currentObject=parseInt(e),this.updateView("click","object","full")}else if(t.query.groupID!==void 0){let e=t.query.groupID;this.currentGroup=parseInt(e),this.updateView("click","group","full")}else if(t.query.routeID!==void 0){let e=t.query.routeID;this.currentRoute=parseInt(e),this.updateView("click","route","full")}else if(t.query.infoID!==void 0){let e=t.query.infoID;this.showInformation=!0,this.scrollToID=e}},1e3)}});const At=t=>(lc("data-v-57b3c69a"),t=t(),cc(),t),BF={id:"app"},NF={class:"headerIndustriekultur"},GF={class:"logo"},jF=["src"],KF={id:"unknownLocation",class:"ui icon tiny message",style:{position:"absolute",top:"10px",left:"50%",transform:"translateX(-50%)","z-index":"1000",width:"50%",display:"none"}},HF=At(()=>k("i",{class:"compass outline icon"},null,-1)),WF=At(()=>k("div",{class:"content"},[k("div",{class:"header"}," Probleme Lokalisation "),k("p",null,"Wir haben keine korrekten Standortinformationen erhalten oder Sie befinden sich ausserhalb der Schweiz.")],-1)),$F={class:"map"},ZF={id:"mainMenu"},UF={id:"filters"},VF={id:"categories"},YF=["onClick"],XF=["src"],qF={id:"searchResults"},QF=["onClick"],JF={class:"image"},ez=["src"],tz={class:"content"},iz={class:"header cutText"},nz={class:"meta cutText"},sz={class:"description cutText"},rz=At(()=>k("img",{src:Nc,style:{width:"12px"}},null,-1)),oz={id:"searchMobile"},az=At(()=>k("i",{class:"search icon"},null,-1)),lz={class:"ui basic label"},cz={class:"ui small form",style:{"margin-top":"5px"}},uz={class:"inline fields"},dz={class:"field"},hz={class:"field"},fz={class:"field",style:{width:"180px"}},gz={class:"ui fluid search clearable selection dropdown searchCanton"},pz=At(()=>k("input",{type:"hidden",name:"searchCanton"},null,-1)),mz=At(()=>k("i",{class:"dropdown icon"},null,-1)),vz={class:"default text"},_z=At(()=>k("div",{class:"menu"},null,-1)),bz={class:"field",style:{width:"180px"}},yz={class:"ui fluid search clearable selection dropdown searchCommunity"},wz=At(()=>k("input",{type:"hidden",name:"searchCommunity"},null,-1)),Sz=At(()=>k("i",{class:"dropdown icon"},null,-1)),Ez={class:"default text"},kz=At(()=>k("div",{class:"menu"},null,-1)),Tz={class:"field"},Iz={class:"ui selection dropdown searchLimit"},xz=At(()=>k("i",{class:"dropdown icon"},null,-1)),Cz=At(()=>k("div",{class:"default text"},"25",-1)),Rz={class:"menu"},Az={class:"item","data-value":"25"},Mz={class:"item","data-value":"50"},Dz={class:"item","data-value":"100"},Lz={class:"item","data-value":"500"},Oz={class:"image"},Pz=["src"],Fz={class:"content"},zz={class:"header"},Bz={class:"meta"},Nz={class:"ui horizontal list"},Gz={key:0,class:"item teal"},jz={key:1,class:"item teal"},Kz=["innerHTML"],Hz={key:0,class:"ui teal button"},Wz=At(()=>k("i",{class:"angle double up icon"},null,-1)),$z={class:"image"},Zz=["src"],Uz={class:"content"},Vz={class:"header"},Yz={key:0,class:"small hiking icon"},Xz={key:1,class:"small biking icon"},qz={key:2,class:"small bus alternate icon"},Qz={key:3,class:"small subway icon"},Jz=["innerHTML"],eB=["innerHTML"],tB={class:"image"},iB=["src"],nB={class:"content"},sB={class:"header"},rB=["innerHTML"],oB=["innerHTML"],aB={key:0,class:"ui teal button"},lB=At(()=>k("i",{class:"angle double up icon"},null,-1)),cB={class:"object"},uB={class:"ui text loader"},dB={id:"objectTitle",class:"ui grid"},hB={class:"row"},fB={class:"subControl"},gB=At(()=>k("i",{class:"share alternate icon"},null,-1)),pB=[gB],mB={id:"shareObjectPopup",class:"ui popup"},vB=At(()=>k("i",{class:"times icon"},null,-1)),_B=[vB],bB={class:"subTitle"},yB={class:"ui large header"},wB={class:"content"},SB={class:"sub header",style:{"margin-bottom":"15px"}},EB={class:"ui horizontal divided link list"},kB={key:0,class:"item"},TB={class:"middle aligned content teal"},IB={key:1,class:"item"},xB={class:"middle aligned content teal"},CB={class:"ui horizontal divided link list titleMenu"},RB=["onClick"],AB=["onClick"],MB=At(()=>
43k("div",{class:"row smallDevices",style:{"padding-top":"0px"}},[k("div",{class:"column",style:{"padding-right":"0px"}},[k("div",{class:"ui divider clear"})])],-1)),DB={class:"group"},LB={class:"ui text loader"},OB={id:"groupTitle",class:"ui grid"},PB={class:"row"},FB={class:"subControl bgPurple"},zB=At(()=>k("i",{class:"share alternate icon"},null,-1)),BB=[zB],NB={id:"shareGroupPopup",class:"ui popup"},GB=At(()=>k("i",{class:"times icon"},null,-1)),jB=[GB],KB={class:"subTitle"},HB={class:"ui large header"},WB={class:"content"},$B=["innerHTML"],ZB={class:"route"},UB={class:"ui text loader"},VB={id:"routeTitle",class:"ui grid"},YB={class:"row"},XB={class:"subControl bgYellow"},qB=At(()=>k("i",{class:"share alternate icon"},null,-1)),QB=[qB],JB={id:"shareRoutePopup",class:"ui popup"},eN=At(()=>k("i",{class:"times icon"},null,-1)),tN=[eN],iN={class:"subTitle"},nN={class:"ui large header"},sN={class:"content"},rN={key:0,class:"small hiking icon"},oN={key:1,class:"small biking icon"},aN={key:2,class:"small bus alternate icon"},lN={key:3,class:"small subway icon"},cN=["innerHTML"],uN={class:"routIconsDetails"},dN={key:0},hN=At(()=>k("i",{class:"hiking icon"},null,-1)),fN={key:1},gN=At(()=>k("i",{class:"biking icon"},null,-1)),pN={key:2},mN=At(()=>k("i",{class:"arrows alternate horizontal icon"},null,-1)),vN={key:3},_N=At(()=>k("i",{class:"level up alternate icon"},null,-1)),bN={key:4},yN=At(()=>k("i",{class:"level down alternate icon"},null,-1)),wN={class:"information"};function SN(t,e,i,n,s,r){var g,v,_,y,S,C,x,I,R,F,Z,p,le,Q,ae,ue,Ce,ee,Te,$e,Ee,be;const o=Io("MapContainer"),a=Io("ObjectInformation"),c=Io("GroupInformation"),u=Io("RouteInformation"),d=Io("Information");return he(),fe("div",BF,[k("div",NF,[k("div",GF,[k("img",{src:(g=t.language)==null?void 0:g.obj_logo,alt:"Industriekultur",onClick:e[0]||(e[0]=N=>{t.showByType(null,"map"),t.showInformation=!1})},null,8,jF)])]),k("div",KF,[k("i",{class:"close icon",onClick:e[1]||(e[1]=N=>t.closeUnknownLocationMessage())}),HF,WF]),xt(k("div",$F,[Zt(o,{onObjectPreview:e[2]||(e[2]=N=>t.currentObjectPreview=N),onObject:e[3]||(e[3]=N=>t.currentObject=N),onRoutePreview:e[4]||(e[4]=N=>t.currentRoutePreview=N),onGroupPreview:e[5]||(e[5]=N=>t.currentGroupPreview=N),onRoute:e[6]||(e[6]=N=>t.currentRoute=N),onRoutes:e[7]||(e[7]=N=>t.routes=N),onGroup:e[8]||(e[8]=N=>t.currentGroup=N),onGroups:e[9]||(e[9]=N=>t.groups=N),onView:e[10]||(e[10]=N=>t.updateViewByObj(N)),categoryFilter:t.categoryFilter,showMuseum:t.showMuseum,showArchive:t.showArchive,showRoutes:t.showRoutes,showGroups:t.showGroups,zoomToRoute:t.zoomToRoute,zoomToGroup:t.zoomToGroup,zoomToObject:t.zoomToObject},null,8,["categoryFilter","showMuseum","showArchive","showRoutes","showGroups","zoomToRoute","zoomToGroup","zoomToObject"])],512),[[Ft,["map","headerMobile"].includes(t.view)]]),k("div",ZF,[k("div",{onClick:e[11]||(e[11]=N=>{t.showByType(null,"map",["search","options"]),t.showSearchMobile=!t.showSearchMobile}),class:at(["search",{active:t.showSearchMobile}])}," ",2),k("div",{onClick:e[12]||(e[12]=N=>{t.showInformation=!t.showInformation}),class:at(["info",{active:t.showInformation}])}," ",2)]),xt(k("div",UF,[k("div",{class:at(["ui fluid button",{"active teal":t.isCategorySelected},{basic:!t.isCategorySelected}]),onClick:e[13]||(e[13]=N=>t.showCategoryFilter=!t.showCategoryFilter)},U(t.language.economies)+" I–X ",3),k("div",{class:at(["ui fluid button",{"active teal":t.showMuseum},{basic:!t.showMuseum}]),onClick:e[14]||(e[14]=N=>t.showMuseum=!t.showMuseum)},U(t.language.museum)+" / "+U(t.language.showRoom),3),k("div",{class:at(["ui fluid button",{"active teal":t.showArchive},{basic:!t.showArchive}]),onClick:e[15]||(e[15]=N=>t.showArchive=!t.showArchive)},U(t.language.archive),3),k("div",{class:at(["ui fluid button",{"active yellow":t.showRoutes},{basic:!t.showRoutes}]),onClick:e[16]||(e[16]=N=>t.showRoutes=!t.showRoutes)},U(t.language.routes),3),k("div",{class:at(["ui fluid button",{"active purple":t.showGroups},{basic:!t.showGroups}]),onClick:e[17]||(e[17]=N=>t.showGroups=!t.showGroups)},U(t.language.groups),3)],512),[[Ft,t.showFilters]]),k("div",VF,[xt(k("div",null,[(he(!0),fe(Tt,null,ui(t.categories,(N,oe)=>(he(),fe("div",{class:at(["ui fluid button",{"active teal":t.categoryFilter[oe]},{basic:!t.categoryFilter[oe]}]),key:N.position,onClick:Ie=>t.categoryFilter[oe]=!t.categoryFilter[oe],style:{"text-align":"left","padding-left":"35px"}},[k("img",{src:"./src/assets/categories/cat_"+N.position+(t.categoryFilter[oe]?"_black":"")+".png",style:{position:"absolute",width:"15px",margin:"-3px 5px 0px -25px"}},null,8,XF),Yt(" "+U(N.name),1)],10,YF))),128))],512),[[Ft,t.showCategoryFilter]])]),xt(k("div",qF,[(he(!0),fe(Tt,null,ui(t.searchResults,N=>(he(),fe("div",{class:"ui fluid horizontal card",onClick:oe=>{t.showSearchMobile=!1,t.currentObject=N.ID,t.objectView="full",t.updateSearchKeyword(N.objectID)}},[k("div",JF,[k("img",{src:N.img},null,8,ez)]),k("div",tz,[k("div",iz,U(N.description),1),k("div",nz,[k("span",null,U(t.language.object)+": "+U(N.objectID)+" | "+U(N.address)+", "+U(N.zip)+" "+U(N.city),1)]),k("div",sz,[rz,Yt(" "+U(N.economy),1)])])],8,QF))),256))],512),[[Ft,t.showSearchMobile]]),xt(k("div",oz,[k("div",{class:at(["ui left icon right labeled fluid input",{loading:t.timerSearchRunning}])},[az,xt(k("input",{type:"text","onUpdate:modelValue":e[18]||(e[18]=N=>t.searchValue=N),onInput:e[19]||(e[19]=N=>t.updateSearch()),onKeydown:[e[20]||(e[20]=kg(N=>{t.searchValue==""?t.showSearchMobile=!1:t.searchValue="",t.updateSearch()},["esc"])),e[21]||(e[21]=kg(N=>t.searchResults.length>
430?t.showByType(t.searchResults[0].ID,"object"):null,["enter"]))]},null,544),[[Eg,t.searchValue]]),k("div",lz,"Objekte: "+U(t.searchItemCount||0),1)],2),k("div",cz,[k("div",uz,[k("div",dz,[k("div",{class:at(["ui button",{"active teal":t.searchFilter.museum}]),onClick:e[22]||(e[22]=N=>{t.searchFilter.museum=!t.searchFilter.museum,t.updateSearch()})},U(t.language.museum)+" / "+U(t.language.showRoom),3)]),k("div",hz,[k("div",{class:at(["ui button",{"active teal":t.searchFilter.archive}]),onClick:e[23]||(e[23]=N=>{t.searchFilter.archive=!t.searchFilter.archive,t.updateSearch()})},U(t.language.archive),3)]),k("div",fz,[k("div",gz,[pz,mz,k("div",vz,U(t.language.selectCanton),1),_z])]),k("div",bz,[k("div",yz,[wz,Sz,k("div",Ez,U(t.language.selectCommune),1),kz])]),k("div",Tz,[k("div",Iz,[xt(k("input",{type:"hidden",name:"searchLimit","onUpdate:modelValue":e[24]||(e[24]=N=>t.searchLimit=N)},null,512),[[Eg,t.searchLimit]]),xz,Cz,k("div",Rz,[k("div",Az,"25 "+U(t.language.searchResults),1),k("div",Mz,"50 "+U(t.language.searchResults),1),k("div",Dz,"100 "+U(t.language.searchResults),1),k("div",Lz,"500 "+U(t.language.searchResults),1)])])])])])],512),[[Ft,t.showSearchMobile]]),xt(k("div",{class:"objectPreview",onClick:e[25]||(e[25]=N=>{var oe;t.currentObject=(oe=t.currentObjectPreviewObj)==null?void 0:oe.ID,t.updateView("click","object")})},[k("div",{class:at(["ui horizontal fluid card",{loading:t.isLoadingObjectPreview}])},[k("div",Oz,[k("img",{src:(v=t.currentObjectPreviewObj)==null?void 0:v.img},null,8,Pz)]),k("div",Fz,[k("div",zz,U((y=(_=t.currentObjectPreviewObj)==null?void 0:_.name)==null?void 0:y.toUpperCase()),1),k("div",Bz,[k("div",Nz,[(S=t.currentObjectPreviewObj)!=null&&S.isMuseum?(he(),fe("div",Gz,U(t.language.museum)+" / "+U(t.language.showRoom),1)):ct("",!0),(C=t.currentObjectPreviewObj)!=null&&C.isArchive?(he(),fe("div",jz,U(t.language.archive),1)):ct("",!0),(he(!0),fe(Tt,null,ui((x=t.currentObjectPreviewObj)==null?void 0:x.links,N=>(he(),fe("div",{key:N.type+"_"+N.ID,class:"item"},U(N.name),1))),128))])]),t.objectView=="lead"||t.objectView=="leadTouch"?(he(),fe("div",{key:0,class:"description",innerHTML:(I=t.currentObjectPreviewObj)==null?void 0:I.description},null,8,Kz)):ct("",!0)]),t.objectView=="lead"||t.objectView=="leadTouch"?(he(),fe("div",Hz,[Wz,Yt(" "+U(t.language.moreInformation),1)])):ct("",!0)],2)],512),[[Ft,t.objectView!="hidden"&&t.objectView!="full"]]),xt(k("div",{class:"routePreview",onClick:e[26]||(e[26]=N=>{var oe;t.currentRoute=(oe=t.currentRoutePreviewObj)==null?void 0:oe.ID,t.updateView("click","route")})},[k("div",{class:at(["ui horizontal fluid card",{loading:t.isLoadingRoutePreview}])},[k("div",$z,[k("img",{src:(R=t.currentRoutePreviewObj)==null?void 0:R.img},null,8,Zz)]),k("div",Uz,[k("div",Vz,[Yt(U((Z=(F=t.currentRoutePreviewObj)==null?void 0:F.name)==null?void 0:Z.toUpperCase())+" ",1),k("div",{class:at(["routeIcons","routeIconsBG"+t.routePreviewIconCount])},[(p=t.currentRoutePreviewObj)!=null&&p.withWalk?(he(),fe("i",Yz)):ct("",!0),(le=t.currentRoutePreviewObj)!=null&&le.withBike?(he(),fe("i",Xz)):ct("",!0),(Q=t.currentRoutePreviewObj)!=null&&Q.withBus?(he(),fe("i",qz)):ct("",!0),(ae=t.currentRoutePreviewObj)!=null&&ae.withTrain?(he(),fe("i",Qz)):ct("",!0)],2),k("div",{class:"sub header",innerHTML:(ue=t.currentRoutePreviewObj)==null?void 0:ue.lead,style:{"font-size":"12pt",color:"#000","font-weight":"normal"}},null,8,Jz)]),t.routeView=="lead"||t.routeView=="leadTouch"?(he(),fe("div",{key:0,class:"description",innerHTML:(Ce=t.currentRoutePreviewObj)==null?void 0:Ce.lead},null,8,eB)):ct("",!0)])],2)],512),[[Ft,t.routeView!="hidden"&&t.routeView!="full"]]),xt(k("div",{class:"groupPreview",onClick:e[27]||(e[27]=N=>{var oe;t.currentGroup=(oe=t.currentGroupPreviewObj)==null?void 0:oe.ID,t.updateView("click","group")})},[k("div",{class:at(["ui horizontal fluid card",{loading:t.isLoadingGroupPreview}])},[k("div",tB,[k("img",{src:(ee=t.currentGroupPreviewObj)==null?void 0:ee.img},null,8,iB)]),k("div",nB,[k("div",sB,[Yt(U(($e=(Te=t.currentGroupPreviewObj)==null?void 0:Te.name)==null?void 0:$e.toUpperCase())+" ",1),k("div",{class:"sub header",innerHTML:(Ee=t.currentGroupPreviewObj)==null?void 0:Ee.lead,style:{"font-size":"12pt",color:"#000","font-weight":"normal"}},null,8,rB)]),t.groupView=="lead"||t.groupView=="leadTouch"?(he(),fe("div",{key:0,class:"description",innerHTML:(be=t.currentGroupPreviewObj)==null?void 0:be.lead},null,8,oB)):ct("",!0)]),t.groupView=="lead"||t.groupView=="leadTouch"?(he(),fe("div",aB,[lB,Yt(" "+U(t.language.moreInformation),1)])):ct("",!0)],2)],512),[[Ft,t.groupView!="hidden"&&t.groupView!="full"]]),Zt(Ko,{name:"fade"},{default:gl(()=>{var N,oe;return[xt(k("div",cB,[k("div",{class:at(["ui inverted dimmer",{active:t.isLoadingObject}])},[k("div",uB,U(t.language.contentLoading),1)],2),Zt(a,{selectedLanguage:t.selectedLanguage,objectData:t.currentObjectObj,scrollToID:t.scrollToID,onRoute:e[28]||(e[28]=Ie=>{t.currentRoute=Ie,t.updateView("click","route","full")}),onGroup:e[29]||(e[29]=Ie=>{t.currentGroup=Ie,t.updateView("click","group","full")})},null,8,["selectedLanguage","objectData","scrollToID"]),k("div",dB,[k("div",hB,[k("div",fB,[k("a",{onClick:e[30]||(e[30]=Ie=>t.pdf())},[k("i",{class:at(["icon",{"pdf file":!t.isLoadingPDF},{"notched circle loading":t.isLoadingPDF}])},null,2)]),k("a",{id:"shareObject",onClick:e[31]||(e[31]=Ie=>t.share())},pB),k("div",mB,U(t.shareActionResult),1),k("a",{onClick:e[32]||(e[32]=Ie=>t.updateView("click","object","hidden"))},_B)]),k("div",bB,[k("div",yB,[k("div",wB,[Yt(U((oe=(N=t.currentObjectObj)==null?void 0:N.name)==null?void 0:oe.toUpperCase())+" ",1),k("div",SB,[k("div",EB,[t.currentObjectObj.isMuseum?(he(),fe("div",kB,[k("div",TB,U(t.language.museum)+" / "+U(t.language.showRoom),1)])):ct("",!0),t.currentObjectObj.isArchive?(he(),fe("div",IB,[k("div",xB,U(t.language.archive),1)])):ct("",!0)])])])])])]),k("div",CB,[(he(!0),fe(Tt,null,ui(t.currentObjectObj.links,Ie=>(he(),fe("a",{class:"item",onClick:Be=>t.scrollToID="sub"+Ie.type+Ie.ID},U(Ie.name),9,RB))),256)),(he(!0),fe(Tt,null,ui(t.currentObjectObj.objectSubs,Ie=>(he(),fe("a",{class:"item",onClick:Be=>t.scrollToID="sub"+Ie.ID},U(Ie.categoryName),9,AB))),256))]),MB])],512),[[Ft,t.objectView=="full"&&t.currentObject!==null]])]}),_:1}),Zt(Ko,{name:"fade"},{default:gl(()=>{var N,oe,Ie;return[xt(k("div",DB,[k("div",{class:at(["ui inverted dimmer",{active:t.isLoadingGroup}])},[k("div",LB,U(t.language.contentLoading),1)],2),Zt(c,{selectedLanguage:t.selectedLanguage,groupData:t.currentGroupObj,onObject:e[33]||(e[33]=Be=>{t.currentObject=Be,t.updateView("click","object","full")})},null,8,["selectedLanguage","groupData"]),k("div",OB,[k("div",PB,[k("div",FB,[k("a",{id:"shareGroup",onClick:e[34]||(e[34]=Be=>t.share()),style:{cursor:"pointer",color:"#000","margin-right":"10px"}},BB),k("div",NB,U(t.shareActionResult),1),k("a",{onClick:e[35]||(e[35]=Be=>t.updateView("click","group","hidden")),style:{cursor:"pointer",color:"#000","margin-right":"10px"}},jB)]),k("div",KB,[k("div",HB,[k("div",WB,[Yt(U((oe=(N=t.currentGroupObj)==null?void 0:N.name)==null?void 0:oe.toUpperCase())+" ",1),k("div",{class:"sub header",innerHTML:(Ie=t.currentGroupObj)==null?void 0:Ie.lead,style:{"font-size":"12pt",color:"#000"}},null,8,$B)])])])])])],512),[[Ft,t.groupView=="full"&&t.currentGroup!==null]])]}),_:1}),Zt(Ko,{name:"fade"},{default:gl(()=>{var N,oe,Ie,Be,Ze,te,pt,Ye,W,pe,de,ve,Me,st,Ge,A,O;return[xt(k("div",ZB,[k("div",{class:at(["ui inverted dimmer",{active:t.isLoadingRoute}])},[k("div",UB,U(t.language.contentLoading),1)],2),Zt(u,{selectedLanguage:t.selectedLanguage,routeData:t.currentRouteObj,onObject:e[36]||(e[36]=K=>{t.currentObject=K,t.updateView("click","object","full")})},null,8,["selectedLanguage","routeData"]),k("div",VB,[k("div",YB,[k("div",XB,[k("a",{id:"shareRoute",onClick:e[37]||(e[37]=K=>t.share())},QB),k("div",JB,U(t.shareActionResult),1),k("a",{onClick:e[38]||(e[38]=K=>t.updateView("click","route","hidden"))},tN)]),k("div",iN,[k("div",nN,[k("div",sN,[Yt(U((oe=(N=t.currentRouteObj)==null?void 0:N.name)==null?void 0:oe.toUpperCase())+" ",1),k("div",{class:at(["routeIcons","routeIconsBG"+t.routeIconCount])},[(Ie=t.currentRouteObj)!=null&&Ie.withWalk?(he(),fe("i",rN)):ct("",!0),(Be=t.currentRouteObj)!=null&&Be.withBike?(he(),fe("i",oN)):ct("",!0),(Ze=t.currentRouteObj)!=null&&Ze.withBus?(he(),fe("i",aN)):ct("",!0),(te=t.currentRouteObj)!=null&&te.withTrain?(he(),fe("i",lN)):ct("",!0)],2),k("div",{class:"sub header",innerHTML:(pt=t.currentRouteObj)==null?void 0:pt.lead,style:{"font-size":"12pt",color:"#000"}},null,8,cN)])]),k("div",uN,[((Ye=t.currentRouteObj)==null?void 0:Ye.walkTime)!=null?(he(),fe("div",dN,[hN,Yt(" "+U((W=t.currentRouteObj)==null?void 0:W.walkTime),1)])):ct("",!0),((pe=t.currentRouteObj)==null?void 0:pe.bikeTime)!=null?(he(),fe("div",fN,[gN,Yt(" "+U((de=t.currentRouteObj)==null?void 0:de.bikeTime),1)])):ct("",!0),((ve=t.currentRouteObj)==null?void 0:ve.distance)!=null?(he(),fe("div",pN,[mN,Yt(" "+U((Me=t.currentRouteObj)==null?void 0:Me.distance),1)])):ct("",!0),((st=t.currentRouteObj)==null?void 0:st.ascent)!=null?(he(),fe("div",vN,[_N,Yt(" "+U((Ge=t.currentRouteObj)==null?void 0:Ge.ascent),1)])):ct("",!0),((A=t.currentRouteObj)==null?void 0:A.desce
43nt)!=null?(he(),fe("div",bN,[yN,Yt(" "+U((O=t.currentRouteObj)==null?void 0:O.descent),1)])):ct("",!0)])])])])],512),[[Ft,t.routeView=="full"&&t.currentRoute!==null]])]}),_:1}),xt(k("div",wN,[Zt(d,{selectedLanguage:t.selectedLanguage,scrollToID:t.scrollToID},null,8,["selectedLanguage","scrollToID"])],512),[[Ft,t.showInformation]])])}const EN=mo(zF,[["render",SN],["__scopeId","data-v-57b3c69a"]]),kN=OF({history:XP("/"),routes:[{path:"/object/:shareID",redirect:t=>({path:"/",query:{objectID:t.params.shareID}})},{path:"/group/:shareID",redirect:t=>({path:"/",query:{groupID:t.params.shareID}})},{path:"/route/:shareID",redirect:t=>({path:"/",query:{routeID:t.params.shareID}})},{path:"/info/:shareID",redirect:t=>({path:"/",query:{infoID:t.params.shareID}})}]});const df=Uw(EN);df.use(qw());df.use(kN);df.mount("#app");

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.