PageSourceSearch

https://www.oeamtc.at/_nuxt/Cn0BH7Z_.js

js oeamtc.at collected 2026-10-01 10:36:37 UTC 976,086 bytes, 159 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./KFWhZnhs.js","./DXHVfl53.js","./entry.D-hsZGnJ.css","./DtRgGXi9.js","./ContactPerson.B5dTLYvS.css","./Mu5rPdn8.js","./BzX0V-lE.js","./BP5pIa4H.js","./Ch0Q9Sy6.js","./9fW06Jd-.js","./PickerlRechner.B8NuGg9d.css","./GenericCta.Bdfe0i4l.css","./CqAOijfX.js","./MarketingTable.C5pT79HM.css","./CGlyqL9c.js","./MembershipCta.Dhz_Djf2.css"])))=>i.map(i=>d[i]);
2import{d as G,D as qo,l as ri,Z as Ke,a1 as t1,a2 as Wc,C as ee,a3 as Gi,a4 as qc,a5 as je,a6 as Xa,z as _e,a7 as Zc,a8 as Zo,a9 as Kc,n as M,aa as Jc,ab as i1,ac as Qc,e as yi,ad as eh,ae as th,af as ih,H as rh,ag as r1,_ as ui,j,o as y,S as mt,s as k,a as R,x as H,t as W,ah as nh,ai as sh,L as qt,aj as ga,ak as n1,al as s1,Y as At,am as a1,an as ei,g as _,c as E,f as V,F as q,v as D,r as ne,m as De,k as mi,ao as o1,ap as ks,W as l1,X as Mi,Q as le,B as Ue,aq as ah,ar as u1,as as oh,at as Ga,au as ir,av as Ts,q as vr,aw as mn,E as Ht,ax as lh,ay as uh,y as Yr,az as ch,aA as hh,aB as Mt,aC as dh,aD as bn,A as oe,aE as Ti,aF as fh,J as or,K as gh,N as ph,U as pa,T as Co,aG as mh,P as Je,aH as c1,aI as re,M as ht,aJ as bh,aK as _h,aL as Hr,aM as vh,aN as Xr,aO as Ua,aP as h1,aQ as d1,aR as Ne,R as _n,aS as Ko,aT as f1,u as vn,aU as ma,aV as yh,aW as wh,aX as g1,aY as xh,aZ as Ph,a_ as p1,a0 as kh,a$ as Th,b0 as m1,b1 as Ji,b2 as Dh,b3 as Sh,b4 as Oh,b5 as Ah,b6 as Ch,b7 as b1,b8 as Eh,p as Aa,b9 as Mh,ba as _1,bb as v1,bc as Lh,bd as Rh,be as Ih,I as Bh,bf as jh,bg as Fh,bh as zh}from"./DXHVfl53.js";import{A as $t,h as Re,i as Nh,f as $h,j as pt,G as ba,k as _a,a as et,l as Vh,m as y1,o as Eo,b as Yh,c as Es,M as Jo,d as Hh,Y as Xh,p as w1}from"./DtRgGXi9.js";import{a as Qo}from"./Mu5rPdn8.js";import{u as x1}from"./BP5pIa4H.js";import{_ as Gh}from"./9fW06Jd-.js";function Uh(s){return new URL(window.location.href)}const Wh=(...s)=>s.find(e=>e!==void 0);function qh(s){const e=s.componentName||"NuxtLink";function t(n){return typeof n=="string"&&n.startsWith("#")}function i(n,a,o){const l=o??s.trailingSlash;if(!n||l!=="append"&&l!=="remove")return n;if(typeof n=="string")return On(n,l);const u="path"in n&&n.path!==void 0?n.path:a(n).path;return{...n,name:void 0,path:On(u,l)}}function r(n){const a=qo(),o=yi(),l=M(()=>!!n.target&&n.target!=="_self"),u=M(()=>{const b=n.to||n.href||"";return typeof b=="string"&&i1(b,{acceptRelative:!0})}),c=_e("RouterLink"),h=c&&typeof c!="string"?c.useLink:void 0,f=M(()=>{if(n.external)return!0;const b=n.to||n.href||"";return typeof b=="object"?!1:b===""||u.value}),d=M(()=>{const b=n.to||n.href||"";return f.value?b:i(b,a.resolve,n.trailingSlash)}),p=f.value||h==null?void 0:h({...n,to:d}),g=M(()=>{var m;const b=n.trailingSlash??s.trailingSlash;if(!d.value||u.value||t(d.value))return d.value;if(f.value){const v=typeof d.value=="object"&&"path"in d.value?Zo(d.value):d.value,x=typeof v=="object"?a.resolve(v).href:v;return On(x,b)}return typeof d.value=="object"?((m=a.resolve(d.value))==null?void 0:m.href)??null:On(Qc(o.app.baseURL,d.value),b)});return{to:d,hasTarget:l,isAbsoluteUrl:u,isExternal:f,href:g,isActive:(p==null?void 0:p.isActive)??M(()=>d.value===a.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??M(()=>d.value===a.currentRoute.value.path),route:(p==null?void 0:p.route)??M(()=>a.resolve(d.value)),async navigate(b){await Jc(g.value,{replace:n.replace,external:f.value||l.value})}}}return G({name:e,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,default:void 0,required:!1}},useLink:r,setup(n,{slots:a}){const o=qo(),{to:l,href:u,navigate:c,isExternal:h,hasTarget:f,isAbsoluteUrl:d}=r(n),p=je(!1),g=ee(null),b=x=>{var w;g.value=n.custom?(w=x==null?void 0:x.$el)==null?void 0:w.nextElementSibling:x==null?void 0:x.$el};function m(x){var w,P;
2return!p.value&&(typeof n.prefetchOn=="string"?n.prefetchOn===x:((w=n.prefetchOn)==null?void 0:w[x])??((P=s.prefetchOn)==null?void 0:P[x]))&&(n.prefetch??s.prefetch)!==!1&&n.noPrefetch!==!0&&n.target!=="_blank"&&!Qh()}async function v(x=ri()){if(p.value)return;p.value=!0;const w=typeof l.value=="string"?l.value:h.value?Zo(l.value):o.resolve(l.value).fullPath,P=h.value?new URL(w,window.location.href).href:w;await Promise.all([x.hooks.callHook("link:prefetch",P).catch(()=>{}),!h.value&&!f.value&&Kc(l.value,o).catch(()=>{})])}if(m("visibility")){const x=ri();let w,P=null;Ke(()=>{const T=Kh();t1(()=>{w=Wc(()=>{var O;(O=g==null?void 0:g.value)!=null&&O.tagName&&(P=T.observe(g.value,async()=>{P==null||P(),P=null,await v(x)}))})})}),Gi(()=>{w&&qc(w),P==null||P(),P=null})}return()=>{var P;if(!h.value&&!f.value&&!t(l.value)){const T={ref:b,to:l.value,activeClass:n.activeClass||s.activeClass,exactActiveClass:n.exactActiveClass||s.exactActiveClass,replace:n.replace,ariaCurrentValue:n.ariaCurrentValue,custom:n.custom};return n.custom||(m("interaction")&&(T.onPointerenter
2=v.bind(null,void 0),T.onFocus=v.bind(null,void 0)),p.value&&(T.class=n.prefetchedClass||s.prefetchedClass),T.rel=n.rel||void 0),Xa(_e("RouterLink"),T,a.default)}const x=n.target||null,w=Wh(n.noRel?"":n.rel,s.externalRelAttribute,d.value||f.value?"noopener noreferrer":"")||null;return n.custom?a.default?a.default({href:u.value,navigate:c,prefetch:v,get route(){if(!u.value)return;const T=new URL(u.value,window.location.href);return{path:T.pathname,fullPath:T.pathname,get query(){return Zc(T.search)},hash:T.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u.value}},rel:w,target:x,isExternal:h.value||f.value,isActive:!1,isExactActive:!1}):null:Xa("a",{ref:g,href:u.value||null,rel:w,target:x,onClick:T=>{if(!(h.value||f.value))return T.preventDefault(),n.replace?o.replace(u.value):o.push(u.value)}},(P=a.default)==null?void 0:P.call(a))}}})}const Zh=qh(eh);function On(s,e){const t=e==="append"?th:ih;return i1(s)&&!s.startsWith("http")?s:t(s,!0)}function Kh(){const s=ri();if(s._observer)return s._observer;let e=null;const t=new Map,i=(n,a)=>(e||(e=new IntersectionObserver(o=>{for(const l of o){const u=t.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&u&&u()}})),t.set(n,a),e.observe(n),()=>{t.delete(n),e==null||e.unobserve(n),t.size===0&&(e==null||e.disconnect(),e=null)});return s._observer={observe:i}}const Jh=/2g/;function Qh(){const s=navigator.connection;return!!(s&&(s.saveData||Jh.test(s.effectiveType)))}const ed=/[\p{Lu}]/u,td=/[\p{Ll}]/u,el=/^[\p{Lu}](?![\p{Lu}])/gu,P1=/([\p{Alpha}\p{N}_]|$)/u,Mo=/[_.\- ]+/,id=new RegExp("^"+Mo.source),tl=new RegExp(Mo.source+P1.source,"gu"),il=new RegExp("\\d+"+P1.source,"gu"),rd=(s,e,t,i)=>{let r=!1,n=!1,a=!1,o=!1;for(let l=0;l<s.length;l++){const u=s[l];o=l>2?s[l-3]==="-":!0,r&&ed.test(u)?(s=s.slice(0,l)+"-"+s.slice(l),r=!1,a=n,n=!0,l++):n&&a&&td.test(u)&&(!o||i)?(s=s.slice(0,l-1)+"-"+s.slice(l-1),a=n,n=!1,r=!0):(r=e(u)===u&&t(u)!==u,a=n,n=t(u)===u&&e(u)!==u)}return s},nd=(s,e)=>(el.lastIndex=0,s.replaceAll(el,t=>e(t))),sd=(s,e)=>(tl.lastIndex=0,il.lastIndex=0,s.replaceAll(il,(t,i,r)=>["_","-"].includes(s.charAt(r+t.length))?t:e(t)).replaceAll(tl,(t,i)=>e(i)));function k1(s,e){if(!(typeof s=="string"||Array.isArray(s)))throw new TypeError("Expected the input to be `string | string[]`");if(e={pascalCase:!1,preserveConsecutiveUppercase:!1,...e},Array.isArray(s)?s=s.map(n=>n.trim()).filter(n=>n.length).join("-"):s=s.trim(),s.length===0)return"";const t=e.locale===!1?n=>n.toLowerCase():n=>n.toLocaleLowerCase(e.locale),i=e.locale===!1?n=>n.toUpperCase():n=>n.toLocaleUpperCase(e.locale);return s.length===1?Mo.test(s)?"":e.pascalCase?i(s):t(s):(s!==t(s)&&(s=rd(s,t,i,e.preserveConsecutiveUppercase)),s=s.replace(id,""),s=e.preserveConsecutiveUppercase?nd(s,t):t(s),e.pascalCase&&(s=i(s.charAt(0))+s.slice(1)),sd(s,i))}const ad={components:{OeamtcCardTeaser:r1,OeamtcLinkButton:rh,BodyText:Re,ArtDirectedImageWrapper:$t},props:{headline:{type:String,required:!0},headlineTag:{type:String,required:!1,default:"h2",validator:function(s){return["h1","h2","h3","h4","h5","h6"].includes(s)}},description:{type:String,required:!0},buttonLink:{type:String,required:!0},buttonText:{type:String,required:!0},linkTarget:{type:String,required:!1,default:"_self",validator:function(s){return["_self","_blank","_parent","_top"].includes(s)}},image:{type:Object,required:!1,default:null},lazy:{type:Boolean,required:!1,default:!0},datePublished:{type:String,required:!1,default:""},hasVideo:{type:Boolean,required:!1,default:!1}}};function od(s,e,t,i,r,n){const a=_e("ArtDirectedImageWrapper"),o=_e("BodyText"),l=_e("OeamtcLinkButton"),u=_e("OeamtcCardTeaser");return y(),j(u,{headline:t.headline,"headline-tag":t.headlineTag,"date-published":t.datePublished,"has-video":t.hasVideo},mt({description:k(()=>[R(o,{text:t.description,"headline-offset":3,"outer-html-tag":"p",class:"oeamtc-card-teaser__content-description oeamtc-flex__item--grow"},null,8,["text"])]),footer:k(()=>[R(l,{class:"oeamtc-card-teaser__content-button",href:t.buttonLink,target:t.linkTarget},{default:k(()=>[H(W(t.buttonText),1)]),_:1},8,["href","target"])]),_:2},[t.image?{name:"image",fn:k(()=>[R(a,{class:"oeamtc-card-teaser__image",alt:t.image.altText,copyright:t.image.copyright,"min-width":769,"max-width":768,lazy:t.lazy,image:t.image,widths:[300,500,500],"mobile-widths":[300,500,500],crop:"","data-size":"16/9",size:"16/9","mobile-size":"16/9"},null,8,["alt","copyright","lazy","image"])]),key:"0"}:void 0]),1032,["headline","headline-tag","date-published","has-video"])}const ld=ui(ad,[["render",od]]),ud=(s,e,t)=>{const i=s[e];return i?typeof i=="function"?i():Promise.resolve(i):new Promise((r,n)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==t?". Note that variables only represent file names one level deep.":""))))})};function T1(s){return nh()?(sh(s),!0):!1}const Ca=new WeakMap,cd=(...s)=>{var e;const t=s[0],i=(e=ga())==null?void 0:e.proxy;if(i==null&&!n1())throw new Error("injectLocal must be called in setup");return i&&Ca.has(i)&&t in Ca.get(i)?Ca.get(i)[t]:s1(...s)},hd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const dd=s=>s!=null,fd=Object.prototype.toString,gd=s=>fd.call(s)==="[object Object]",Ea=()=>{};function pd(s,e){var t;if(typeof s=="number")return s+e;
2const i=((t=s.match(/^-?\d+\.?\d*/))==null?void 0:t[0])||"",r=s.slice(i.length),n=Number.parseFloat(i)+e;return Number.isNaN(n)?s:n+r}function Gr(s){return s.endsWith("rem")?Number.parseFloat(s)*16:Number.parseFloat(s)}function md(s){return ga()}function Ds(s){return Array.isArray(s)?s:[s]}function bd(s,e=!0,t){md()?Ke(s,t):e?s():qt(s)}function _d(s,e,t){return At(s,e,{...t,immediate:!0})}const va=hd?window:void 0;function Ss(s){var e;const t=ei(s);return(e=t==null?void 0:t.$el)!=null?e:t}function vd(...s){const e=[],t=()=>{e.forEach(o=>o()),e.length=0},i=(o,l,u,c)=>(o.addEventListener(l,u,c),()=>o.removeEventListener(l,u,c)),r=M(()=>{const o=Ds(ei(s[0])).filter(l=>l!=null);return o.every(l=>typeof l!="string")?o:void 0}),n=_d(()=>{var o,l;return[(l=(o=r.value)==null?void 0:o.map(u=>Ss(u)))!=null?l:[va].filter(u=>u!=null),Ds(ei(r.value?s[1]:s[0])),Ds(_(r.value?s[2]:s[1])),ei(r.value?s[3]:s[2])]},([o,l,u,c])=>{if(t(),!(o!=null&&o.length)||!(l!=null&&l.length)||!(u!=null&&u.length))return;const h=gd(c)?{...c}:c;e.push(...o.flatMap(f=>l.flatMap(d=>u.map(p=>i(f,d,p,h)))))},{flush:"post"}),a=()=>{n(),t()};return T1(t),a}function yd(){const s=je(!1),e=ga();return e&&Ke(()=>{s.value=!0},e),s}function D1(s){const e=yd();return M(()=>(e.value,!!s()))}const wd=Symbol("vueuse-ssr-width");function S1(){const s=n1()?cd(wd,null):null;return typeof s=="number"?s:void 0}function pi(s,e={}){const{window:t=va,ssrWidth:i=S1()}=e,r=D1(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function"),n=je(typeof i=="number"),a=je(),o=je(!1),l=u=>{o.value=u.matches};return a1(()=>{if(n.value){n.value=!r.value;const u=ei(s).split(",");o.value=u.some(c=>{const h=c.includes("not all"),f=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),d=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let p=!!(f||d);return f&&p&&(p=i>=Gr(f[1])),d&&p&&(p=i<=Gr(d[1])),h?!p:p});return}r.value&&(a.value=t.matchMedia(ei(s)),o.value=a.value.matches)}),vd(a,"change",l,{passive:!0}),M(()=>o.value)}function xd(s,e={}){function t(d,p){let g=ei(s[ei(d)]);return p!=null&&(g=pd(g,p)),typeof g=="number"&&(g=`${g}px`),g}const{window:i=va,strategy:r="min-width",ssrWidth:n=S1()}=e,a=typeof n=="number",o=a?je(!1):{value:!0};a&&bd(()=>o.value=!!i);function l(d,p){return!o.value&&a?d==="min"?n>=Gr(p):n<=Gr(p):i?i.matchMedia(`(${d}-width: ${p})`).matches:!1}const u=d=>pi(()=>`(min-width: ${t(d)})`,e),c=d=>pi(()=>`(max-width: ${t(d)})`,e),h=Object.keys(s).reduce((d,p)=>(Object.defineProperty(d,p,{get:()=>r==="min-width"?u(p):c(p),enumerable:!0,configurable:!0}),d),{});function f(){const d=Object.keys(s).map(p=>[p,h[p],Gr(t(p))]).sort((p,g)=>p[2]-g[2]);return M(()=>d.filter(([,p])=>p.value).map(([p])=>p))}return Object.assign(h,{greaterOrEqual:u,smallerOrEqual:c,greater(d){return pi(()=>`(min-width: ${t(d,.1)})`,e)},smaller(d){return pi(()=>`(max-width: ${t(d,-.1)})`,e)},between(d,p){return pi(()=>`(min-width: ${t(d)}) and (max-width: ${t(p,-.1)})`,e)},isGreater(d){return l("min",t(d,.1))},isGreaterOrEqual(d){return l("min",t(d))},isSmaller(d){return l("max",t(d,-.1))},isSmallerOrEqual(d){return l("max",t(d))},isInBetween(d,p){return l("min",t(d))&&l("max",t(p,-.1))},current:f,active(){const d=f();return M(()=>d.value.length===0?"":d.value.at(r==="min-width"?-1:0))}})}function rl(s,e,t={}){const{root:i,rootMargin:r="0px",threshold:n=0,window:a=va,immediate:o=!0}=t,l=D1(()=>a&&"IntersectionObserver"in a),u=M(()=>{const p=ei(s);return Ds(p).map(Ss).filter(dd)});let c=Ea;const h=je(o),f=l.value?At(()=>[u.value,Ss(i),h.value],([p,g])=>{if(c(),!h.value||!p.length)return;const b=new IntersectionObserver(e,{root:Ss(g),rootMargin:r,threshold:n});p.forEach(m=>m&&b.observe(m)),c=()=>{b.disconnect(),c=Ea}},{immediate:o,flush:"post"}):Ea,d=()=>{c(),f(),h.value=!1};return T1(d),{isSupported:l,isActive:h,pause(){c(),h.value=!1},resume(){h.value=!0},stop:d}}const Pd={key:0,class:"oeamtc-hero-element__author"},kd={class:"oeamtc-hero-element__author-name"},Td={key:1},Dd={key:2},Sd=["datetime"],Od=G({__name:"HeroAuthorDate",props:{authors:{default:()=>[]},showAuthor:{type:Boolean,default:!1},date:{default:""},showArticleDate:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>{var a;return(a=e.authors)!=null&&a.length?e.authors.map(o=>({name:$h(o),path:o.hasAuthorPage?Nh(o):"",hasAuthorPage:!!o.hasAuthorPage})):[]}),i=M(()=>e.showAuthor&&t.value.length>0),r=M(()=>new Date(e.date)),n=M(()=>r.value.toLocaleDateString("de-AT",{day:"2-digit",month:"2-digit",year:"numeric"}));return(a,o)=>{const l=Zh;return i.value||s.showArticleDate?(y(),E("div",Pd,[i.value?(y(),E(q,{key:0}
2,[o[0]||(o[0]=H(" Von ",-1)),D("span",kd,[(y(!0),E(q,null,ne(t.value,(u,c)=>(y(),E(q,{key:`${u.name}-${c}`},[u.hasAuthorPage?(y(),j(l,{key:0,class:"oeamtc-hero-element__author-link",to:u.path},{default:k(()=>[H(W(u.name),1)]),_:2},1032,["to"])):(y(),E("span",Td,W(u.name),1)),c<t.value.length-1?(y(),E("span",Dd,", ")):V("",!0)],64))),128))])],64)):V("",!0),i.value&&s.showArticleDate?(y(),E(q,{key:1},[H(", ")],64)):V("",!0),s.showArticleDate?(y(),E("time",{key:2,datetime:r.value.toISOString()},W(n.value),9,Sd)):V("",!0)])):V("",!0)}}}),O1=G({__name:"HeroElement",props:{shareUrl:{},shareTitle:{},images:{},link:{default:""},linkTarget:{default:"_self"},headline:{default:""},headlineLevel:{default:1},leadtext:{default:""},infobar:{default:null},showInfobar:{type:Boolean,default:!1},showShareButton:{type:Boolean,default:!1},showPrintButton:{type:Boolean,default:!1},showSocialMedia:{type:Boolean,default:!1},showAuthor:{type:Boolean,default:!1},showArticleDate:{type:Boolean,default:!1},liSharingEnabled:{type:Boolean,default:!1},fbSharingEnabled:{type:Boolean,default:!0},twSharingEnabled:{type:Boolean,default:!0},wsSharingEnabled:{type:Boolean,default:!1},dateDisplay:{type:Boolean,default:!1},date:{default:""},large:{type:Boolean,default:!1},infobarAlignmentMode:{default:"default"},authors:{default:()=>[]},showCopyright:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>e.images.length?e.images.length>1:!1),i=M(()=>new Date(e.date)),r=M(()=>i.value.getDate()),n=["Jänner","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],a=M(()=>{const S=i.value.getMonth();return n[S]}),o=M(()=>i.value.getFullYear()),l=S=>{const B=k1(S,{pascalCase:!0});return o1(()=>ud(Object.assign({
2"../infobar/GenericCta.vue":()=>ks(()=>import("./KFWhZnhs.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]),import.meta.url),
2"../infobar/MarketingTable.vue":()=>ks(()=>import("./CqAOijfX.js"),__vite__mapDeps([12,1,2,13]),import.meta.url),
2"../infobar/MembershipCta.vue":()=>ks(()=>import("./CGlyqL9c.js"),__vite__mapDeps([14,1,2,15]),import.meta.url)
2}),`../infobar/${B}.vue`,3))},u=ee(null),c=ee(null),h=ee(!0),f=ee(!1),d=M(()=>e.large?"1440/540":"1440/350");Ke(()=>{c.value=document.querySelector(".oeamtc-footer")});const p=ee("0px");function g(){var S;if(e.infobar&&((S=e.infobar)!=null&&S.isSticky)){const B=document.querySelector(".oeamtc-hero-element__infobar");B&&(p.value=`${B.offsetHeight}px`)}}Ke(()=>{c.value=document.querySelector(".oeamtc-footer"),g(),window.addEventListener("resize",g)}),Gi(()=>{window.removeEventListener("resize",g)}),rl(u,([S])=>{h.value=(S==null?void 0:S.isIntersecting)||!1},{}),rl(c,([S])=>{f.value=(S==null?void 0:S.isIntersecting)||!1},{});const b=M(()=>h.value||f.value),m=M(()=>e.infobarAlignmentMode),v=M(()=>e.showSocialMedia),x=M(()=>e.showShareButton),w=M(()=>e.showPrintButton),P=M(()=>v.value&&!w.value&&!x.value),T=M(()=>x.value&&!w.value&&!v.value),O=M(()=>w.value&&!x.value&&!v.value),L=M(()=>w.value&&x.value&&!v.value);return(S,B)=>{var $,A,N;const C=Ue;return y(),E(q,null,[D("div",De({ref_key:"herotarget",ref:u},S.$attrs,{class:["oeamtc-hero-container",{"is-slider":t.value,"oeamtc-hero-container--membership-alignment":e.infobarAlignmentMode==="membership","oeamtc-hero-container--show-social-media":P.value,"oeamtc-hero-container--show-share-button":T.value,"oeamtc-hero-container--show-print-button":O.value,"oeamtc-hero-container--show-sharing":L.value}],style:($=s.infobar)!=null&&$.isSticky?{paddingBottom:`${p.value}`}:{}}),[R(_(oh),{"headline-level":s.headlineLevel,link:s.link,target:s.linkTarget,"date-display":s.dateDisplay,"date-day":r.value.toString(),"date-month":a.value.toString(),"date-year":o.value.toString(),large:s.large,headline:s.headline},mt({headline:k(()=>[H(W(s.headline),1)]),"side-controls":k(()=>[R(C,null,{default:k(()=>[v.value?(y(),j(_(ah),{key:0})):(y(),j(_(u1),{key:1,"share-url":s.shareUrl,"share-title":s.shareTitle,"li-enabled":!0,"fb-enabled":!0,"tw-enabled":!0,"ws-enabled":!0,"show-print":w.value,"show-sharing":x.value,expandable:""},null,8,["share-url","share-title","show-print","show-sharing"]))]),_:1})]),_:2},[s.leadtext?{name:"subheadline",fn:k(()=>[R(Re,{text:s.leadtext,"headline-offset":2,"outer-html-tag":"span"},null,8,["text"])]),key:"0"}:void 0,s.images.length?{name:"media",fn:k(()=>[t.value?(y(),j(C,{key:0},{fallback:k(()=>[R(_(le),{class:"oeamtc-hero__loader"})]),default:k(()=>[R(_(l1),{class:"oeamtc-hero-container__carousel",navigation:!0,"navigation-outside":!0,"slides-per-view":1,shadow:!1,"mobile-slide-peek":!1,"slide-to-clicked-slide":!1,"round-corners":!1,"mobile-optimised-buttons":!0},{default:k(()=>[(y(!0),E(q,null,ne(s.images,(z,te)=>(y(),j(_(Mi),{key:te},{default:k(()=>[R($t,{class:"oeamtc-hero-container__carousel",alt:z.altText,copyright:z.copyright,"show-copyright":s.showCopyright,"min-width":769,"max-width":768,lazy:!1,image:z,widths:[1440,2e3,2e3],"mobile-widths":[600,800,1200],crop:"","data-size":"square",size:d.value,"mobile-size":"600/265"},null,8,["alt","copyright","show-copyright","image","size"])]),_:2},1024))),128))]),_:1})]),_:1})):s.images[0]?(y(),j($t,{key:1,alt:s.images[0].altText,copyright:s.images[0].copyright,"show-copyright":s.showCopyright,"min-width":769,"max-width":768,lazy:!1,image:s.images[0],widths:[1440,2e3,2e3],"mobile-widths":[600,800,1200],crop:"","data-size":"square",size:d.value,"mobile-size":"600/265","enable-lightbox":!0},null,8,["alt","copyright","show-copyright","image","size"])):V("",!0)]),key:"1"}:void 0,s.showAuthor&&s.authors.length||s.showArticleDate?{name:"info-extra",fn:k(()=>[R(Od,{authors:s.authors,"show-author":s.showAuthor,date:s.date,"show-article-date":s.showArticleDate},null,8,["authors","show-author","date","show-article-date"])]),key:"2"}:void 0]),1032,["headline-level","link","target","date-display","date-day","date-month","date-year","large","headline"])],16),s.infobar&&s.showInfobar?(y(),j(mi(l(s.infobar.type)),De({key:0},s.infobar,{"alignment-mode":m.value,class:{"oeamtc-hero-element__infobar--bottom":!b.value&&((A=s.infobar)==null?void 0:A.isSticky),"oeamtc-infobar--membership-aligned":m.value==="membership","oeamtc-hero-element__infobar":(N=s.infobar)==null?void 0:N.isSticky},style:s.infobar.isSticky?{marginTop:`-${p.value}`}:{}}),null,16,["alignment-mode","class","style"])):V("",!0)],64)}}});function Ug(s){if(!s)return"";const e=s.channelName.toLowerCase().replace(/ /g,"-"),t=s.id;let i="";return s.parents&&(i=s.parents.map(r=>r.channelName.toLowerCase().replace(/ /g,"-").replace(/ä/g,"ae").replace(/ö/g,"oe").replace(/ü/g,"ue").replace(/ß/g,"ss")),i=i.join("-"),i=i+"-"),"channel-"+i+e+" channel-"+t}const Ad={class:"karriere-filter-dropdowns oeamtc-grid oeamtc-grid-equal-columns"},Cd=["value"],Ed=["value"],Md=["value"],A1=G({__name:"FilterDropdowns",props:Ga({regions:{},categories:{},occupations:{},loading:{type:Boolean,default:!1},idPrefix:{default:"karriere-filter-dropdowns-"}},{selectedRegion:{},selectedRegionModifiers:{},selectedCategory:{},selectedCategoryModifiers:{},selectedOccupation:{},selectedOccupationModifiers:{}}),emits:["update:selectedRegion","update:selectedCategory","update:selectedOccupation"],setup(s){const e=ir(s,"selectedRegion"),t=ir(s,"selectedCategory"),i=ir(s,"selectedOccupation"),r=s;return(n,a)=>(y(),E("div",Ad,[R(_(Ts),{id:`${r.idPrefix}region`,modelValue:e.value,"onUpdate:modelValue":a[0]||(a[0]=o=>e.value=o),required:"",disabled:s.loading,"aria-disabled":s.loading?"true":"false"},{label:k(()=>[...a[3]||(a[3]=[D("span",null,"Bundesland",-1)])]),validation:k(()=>[...a[4]||(a[4]=[D("span",{class:"oeamtc-text__color--danger"},"Bitte wählen Sie ein Bundesland aus",-1)])]),options:k(()=>[a[5]||(a[5]=D("option",{value:"",selected:""}
2,"Bundesland",-1)),(y(!0),E(q,null,ne(r.regions,o=>(y(),E("option",{key:o,value:o},W(o),9,Cd))),128))]),_:1},8,["id","modelValue","disabled","aria-disabled"]),R(_(Ts),{id:`${r.idPrefix}category`,modelValue:t.value,"onUpdate:modelValue":a[1]||(a[1]=o=>t.value=o),required:"",disabled:s.loading,"aria-disabled":s.loading?"true":"false"},{label:k(()=>[...a[6]||(a[6]=[D("span",null,"Bereich",-1)])]),validation:k(()=>[...a[7]||(a[7]=[D("span",{class:"oeamtc-text__color--danger"},"Bitte wählen Sie einen Bereich aus",-1)])]),options:k(()=>[a[8]||(a[8]=D("option",{value:"",selected:""},"Bereich",-1)),(y(!0),E(q,null,ne(r.categories,o=>(y(),E("option",{key:o,value:o},W(o),9,Ed))),128))]),_:1},8,["id","modelValue","disabled","aria-disabled"]),R(_(Ts),{id:`${r.idPrefix}type`,modelValue:i.value,"onUpdate:modelValue":a[2]||(a[2]=o=>i.value=o),required:"",disabled:s.loading,"aria-disabled":s.loading?"true":"false"},{label:k(()=>[...a[9]||(a[9]=[D("span",null,"Vollzeit / Teilzeit",-1)])]),validation:k(()=>[...a[10]||(a[10]=[D("span",{class:"oeamtc-text__color--danger"},"Bitte wählen Sie Voll- oder Teilzeit aus",-1)])]),options:k(()=>[(y(!0),E(q,null,ne(r.occupations,o=>(y(),E("option",{key:o,value:o},W(o),9,Md))),128))]),_:1},8,["id","modelValue","disabled","aria-disabled"])]))}}),Ld=vr`
3  mutation CreateJobAlarm($data: JobAlarmInput!) {
4    createJobAlarm(data: $data) {
5      data {
6        id
7        attributes {
8          email
9          region
10          category
11          occupation
12          recaptchaResponse
13        }
14      }
15    }
16  }
17`,Rd=["data-sitekey"],Id=G({__name:"RecaptchaCheckbox",emits:["recaptchaResolved"],setup(s,{emit:e}){const{hasVendorConsent:t}=mn(),r=yi().public.recaptcha.v2SiteKey,n=e,a=l=>{n("recaptchaResolved",l)},o=()=>{window.onRecaptchaLoad=()=>{grecaptcha.render("recaptcha",{sitekey:r,callback:a})};const l=document.createElement("script");l.src="https://www.google.com/recaptcha/api.js?onload=onRecaptchaLoad&render=explicit",l.async=!0,l.defer=!0,document.head.appendChild(l)};return At(t("reCAPTCHA"),l=>{l&&o()}),Ke(()=>{t("reCAPTCHA")&&o()}),(l,u)=>(y(),E("div",{id:"recaptcha",class:"g-recaptcha","data-sitekey":_(r)},null,8,Rd))}}),Bd=o1(()=>ks(()=>import("./DXHVfl53.js").then(s=>s.bx),__vite__mapDeps([1,2]),import.meta.url).then(s=>s.default||s)),jd={class:"oeamtc-panel__indent"},Fd={class:"oeamtc-panel__indent"},zd={"aria-live":"polite",class:"oeamtc-sr-only"},Nd=G({__name:"JobAlarm",props:Ga({regions:{},categories:{},occupations:{}},{selectedRegion:{},selectedRegionModifiers:{},selectedCategory:{},selectedCategoryModifiers:{},selectedOccupation:{},selectedOccupationModifiers:{}}),emits:Ga(["close"],["update:selectedRegion","update:selectedCategory","update:selectedOccupation"]),setup(s,{emit:e}){const t=ir(s,"selectedRegion"),i=ir(s,"selectedCategory"),r=ir(s,"selectedOccupation"),n=s,{status:a,giveVendorConsent:o,hasVendorConsent:l}=mn(),{result:u,loading:c,error:h}=Ht(ba,{name:"UsercentricsKonfiguration"}),f=M(()=>u.value?_a("reCAPTCHA",u):null),d=ee({email:"",termsChecked:!1,recaptchaResponse:""}),p=ee(null),g=ee(null),b=ee(""),m=e,{mutate:v,loading:x,error:w,called:P}=lh(Ld),T=M(()=>x.value||c.value?"loading":w.value||h.value?"error":P.value?"success":"default"),O=async()=>{var A,N;await qt();const $=(N=(A=p.value)==null?void 0:A.$el)==null?void 0:N.querySelector("button.oeamtc-modal__close");$==null||$.focus()};At(()=>T.value,$=>{($==="success"||$==="error")&&O()});const L=M(()=>!n.selectedRegion||!n.selectedCategory||!d.value.email.match(/^[^\s@]+@[^\s@]+\.[^\s@]+$/)||!d.value.termsChecked||!d.value.recaptchaResponse),S=$=>{d.value.recaptchaResponse=$,b.value="CAPTCHA erfolgreich gelöst"},B=async()=>{const{email:$,recaptchaResponse:A}=d.value;await v({data:{region:n.selectedRegion,category:n.selectedCategory,occupation:n.selectedOccupation,email:$,recaptchaResponse:A}}),qt(()=>{g.value&&g.value.focus()})},C=()=>{m("close")};return($,A)=>{const N=A1,z=_e("UsercentricsInlineWrapper"),te=Ue,Y=Bd;return y(),j(Y,null,{default:k(()=>[R(_(dh),null,{default:k(()=>[R(_(uh),{ref_key:"modalRef",ref:p,class:"oeamtc-job-alarm",role:"dialog","aria-modal":"true","aria-labelledby":"job-alarm-title",tabindex:"-1",onClose:C},{headlineSlot:k(()=>
17[...A[5]||(A[5]=[D("span",{id:"job-alarm-title"},"Job-Alarm aktivieren",-1)])]),contentSlot:k(()=>[D("div",jd,[_(T)==="loading"?(y(),j(_(Yr),{key:0,state:"loading","aria-live":"polite"},{headline:k(()=>[...A[6]||(A[6]=[H("Job Alarm",-1)])]),loadingText:k(()=>[...A[7]||(A[7]=[H("Wird geladen",-1)])]),_:1})):_(T)==="error"?(y(),j(_(Yr),{key:1,state:"error","aria-live":"assertive"},{headline:k(()=>[...A[8]||(A[8]=[H("Job Alarm",-1)])]),text:k(()=>[...A[9]||(A[9]=[H("Es ist ein Fehler aufgetreten",-1)])]),_:1})):_(T)==="success"?(y(),j(_(Yr),{key:2,ref_key:"successMessageRef",ref:g,state:"success","aria-live":"assertive",tabindex:"-1"},{headline:k(()=>[...A[10]||(A[10]=[H("Job Alarm",-1)])]),text:k(()=>[...A[11]||(A[11]=[D("p",{class:"oeamtc-text--center"},[D("strong",null,"Vielen Dank für Ihr Interesse!")],-1),D("p",{class:"oeamtc-text--center"},"Sie erhalten in Kürze eine E-Mail mit einem Bestätigungslink.",-1)])]),_:1},512)):(y(),j(te,{key:3},{default:k(()=>[R(z,{status:_(a),"give-vendor-consent":_(o),"has-vendor-consent":_(l),"vendor-name":_(f).name},{"inline-headline":k(()=>[...A[12]||(A[12]=[H(" Um den Job Alarm nutzen zu können wird eine Einwilligung benötigt ",-1)])]),"inline-text":k(()=>[R(pt,{"html-content":_(f).text},null,8,["html-content"])]),"inline-generaltext":k(()=>[R(pt,{"html-content":_(f).generalText},null,8,["html-content"])]),content:k(()=>[D("div",Fd,[A[17]||(A[17]=D("p",{class:"oeamtc-text__size"},"Ich möchte für folgende Kriterien Job-Angebote erhalten",-1)),A[18]||(A[18]=D("p",{class:"oeamtc-panel__panel-info"},"Die mit * gekennzeichneten Felder sind Pflichtfelder",-1)),R(N,{"selected-category":i.value,"onUpdate:selectedCategory":A[0]||(A[0]=Q=>i.value=Q),"selected-occupation":r.value,"onUpdate:selectedOccupation":A[1]||(A[1]=Q=>r.value=Q),"selected-region":t.value,"onUpdate:selectedRegion":A[2]||(A[2]=Q=>t.value=Q),regions:s.regions,categories:s.categories,occupations:s.occupations,"id-prefix":"job-alarm-"},null,8,["selected-category","selected-occupation","selected-region","regions","categories","occupations"]),R(_(ch),{id:"job-alarm-email",modelValue:_(d).email,"onUpdate:modelValue":A[3]||(A[3]=Q=>_(d).email=Q),class:"oeamtc-job-alarm__email",type:"email",required:!0,"aria-required":!0,autocomplete:"email"},{label:k(()=>[...A[13]||(A[13]=[D("span",null,"E-Mail Adresse",-1)])]),validation:k(()=>[...A[14]||(A[14]=[D("span",{class:"oeamtc-text__color--danger"},"Bitte geben Sie eine gültige E-Mail Adresse ein",-1)])]),_:1},8,["modelValue"]),R(_(hh),{id:"job-alarm-terms",modelValue:_(d).termsChecked,"onUpdate:modelValue":A[4]||(A[4]=Q=>_(d).termsChecked=Q),class:"oeamtc-job-alarm__terms",required:!0,"aria-required":!0},{label:k(()=>[...A[15]||(A[15]=[H(" Ich willige ausdrücklich ein, dass der ÖAMTC meine personenbezogenen Daten (E-Mail Adresse, ausgewählte Kriterien [ alle Bereiche, Voll/Teilzeit ] und Bundesländer) automatisiert zum Zweck der gewünschten Zusendung des Jobalarm-Newsletters verarbeitet. Widerruf: Diese ausdrückliche Einwilligung kann ich/können Sie jederzeit per E-Mail an [email protected] oder Brief an die Adresse ÖAMTC Baumgasse 129, 1030 Wien widerrufen. Durch den Widerruf der ausdrücklichen Einwilligung wird die Rechtmäßigkeit der bis zum Widerruf erfolgten Verarbeitung nicht berührt. ",-1)])]),_:1},8,["modelValue"]),D("div",zd,W(_(b)),1),R(Id,{class:"oeamtc-margin--top-large","aria-label":"CAPTCHA-Prüfung",onRecaptchaResolved:S}),R(_(Mt),{class:"oeamtc-margin--top-large",disabled:_(L),"aria-disabled":_(L)?"true":"false",onClick:B},{default:k(()=>[...A[16]||(A[16]=[H(" Jetzt aktivieren ",-1)])]),_:1},8,["disabled","aria-disabled"])])]),_:1},8,["status","give-vendor-consent","has-vendor-consent","vendor-name"])]),_:1}))])]),closeSlot:k(()=>[D("button",{class:"oeamtc-close-button","aria-label":"Job-Alarm schließen",onClick:C},[...A[19]||(A[19]=[D("span",{class:"oeamtc-sr-only"},"Schließen",-1)])])]),_:1},512)]),_:1})]),_:1})}}}),$d={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function Vd(s,e){return y(),E("svg",$d,[...e[0]||(e[0]=[D("path",{d:"M26.08 22.46a.92.92 0 1 1 0 1.85h-7.49A2.78 2.78 0 0 1 16 28a2.76 2.76 0 0 1-2.6-3.7H5.93a.92.92 0 1 1 0-1.84h20.16ZM16 4a1.84 1.84 0 0 1 1.82 2.08 7.38 7.38 0 0 1 5.51 7.15v.7l.02.67.02.63.02.3.03.59.05.54.05.51.06.48c.27 1.9.77 2.89 1.5 2.96h.09H6.83c.78 0 1.3-.98 1.6-2.96l.05-.48.05-.5.05-.55.03-.58.03-.62v-.32l.02-.67v-.7a7.38 7.38 0 0 1 5.52-7.15A1.84 1.84 0 0 1 16 4"},null,-1)])])}const Yd={render:Vd},Hd=vr`
18  query jobFilters {
19    JobFilters {
20      regions
21      categories
22      occupations
23    }
24  }
25`,Xd=vr`
26  query jobOffers($region: String, $category: String, $occupation: String, $limit: Int, $offset: Int) {
27    JobOffers(region: $region, category: $category, occupation: $occupation, limit: $limit, offset: $offset) {
28      data {
29        id
30        title
31        isExternalOffer
32        url
33        applyUrl
34        category
35        freeText
36        regionsText
37      }
38      amount
39    }
40  }
41`,Gd={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function Ud(s,e){return y(),E("svg",Gd,[...e[0]||(e[0]=[D("g",{fill:"none","fill-rule":"nonzero"},[D("path",{fill:"#000",d:"M30.95 22.51c-.35-.71-1.13-.3-1.13-.3-.18.48-.65.66-.65.66-1.43.71-2.32.53-2.32.53v-1.36c2.91-.36 3.8-2.2 3.8-2.2C31.8 18 29 15.2 29 15.2c-4.05-4.16-8.58-4.1-8.58-4.1l-1.13-2.2c-.24-.7-1.07-.53-1.
4107-.53h-1.6c-.48-.12-.84.47-.84.47l-2.27 2.26H6.12C5.94 10.5 5 10.03 5 10.03l-1.25-2.5c-.42-.77-1.07-.35-1.07-.35l-1.13.48c-.96.41-.3 1.42-.3 1.42l.48 1.49C.94 11.34 1 12.4 1 12.4c-.06 1.6 1.37 2.38 1.37 2.38v1.19c.12.65.9.53.9.53.83.06.89-.18.89-.18.3-.3.83-1.48.83-1.48.66-.24 1.07-1.01 1.07-1.01 3.34-.12 4.65 2.9 4.65 2.9.36.9 1.55 2.68 1.55 2.68 1.9 2.85 4.1 2.56 4.1 2.56h3.52v1.36h-6.13c-.72.06-.66.66-.66.66.12.71.6.65.6.65h13.87c.3 0 1.2-.3 1.2-.3 2.73-.83 2.2-1.84 2.2-1.84Zm-9.17-6.6-1-3.32s5 .24 8.39 5.4h-5.24s-1.5.18-2.15-2.07Z"}),D("path",{fill:"#FFE700",d:"M17.68 14.18v-1.3a.62.62 0 0 0-.65-.64.62.62 0 0 0-.64.65v1.29h-1.3a.62.62 0 0 0-.64.65c0 .37.27.64.64.64h1.3v1.3c0 .37.27.64.64.64.38 0 .65-.27.65-.64v-1.3h1.3c.37 0 .64-.27.64-.64a.62.62 0 0 0-.65-.65h-1.3Z"}),D("path",{fill:"#000",d:"M27.23 6.52h-9.35v-.8c0-.43-.3-.72-.6-.72h-.12c-.36 0-.6.36-.6.72v.8H7.81c-.36 0-.6.36-.6.72v.14c0 .43.3.72.6.72h19.48c.36 0 .6-.36.6-.72v-.14c0-.44-.3-.72-.66-.72"})],-1)])])}const Wd={render:Ud},qd={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function Zd(s,e){return y(),E("svg",qd,[...e[0]||(e[0]=[D("g",{fill:"none","fill-rule":"nonzero"},[D("path",{fill:"#1D1D1B",d:"M26.17 1.74c0-.4-.34-.74-.74-.74H8.56C6.41 1 4.72 2.26 4.72 3.8v21.77a2.78 2.78 0 0 0 2.77 2.57h.16v2.4c0 .11.06.23.17.34a.7.7 0 0 0 .34.06l1.64-.69 1.64.69c.05 0 .1.06.17.06.05 0 .17 0 .22-.06.11-.06.17-.17.17-.34v-2.52h13.55c.4 0 .73-.34.73-.74zm-19.98 2c0-.45.67-1.03 1.58-1.2l-.12 19.94h-.16c-.46 0-.9.12-1.3.35zM24.7 26.6H11.94v-.69c0-.23-.16-.4-.4-.4H8a.4.4 0 0 0-.4.4v.69h-.16c-.68 0-1.24-.57-1.24-1.26v-.17c.11-.57.96-1.14 2.2-1.2h16.31v2.63Z"}),D("path",{fill:"#FFE700",d:"m22.4 9.65-.4-.1c0-.23-.11-.4-.17-.61l.28-.33a.16.16 0 0 0 0-.22l-.62-.55a.18.18 0 0 0-.23 0l-.28.33c-.17-.06-.4-.11-.62-.11l-.11-.39c0-.05-.12-.1-.23-.1l-.85.27c-.06 0-.11.1-.11.22l.11.38a.44.44 0 0 0-.23.22c-.05.06-.1.17-.17.22l-.4-.1c-.1 0-.16.05-.16.1l-.17.83c0 .1.06.16.11.16l.4.11c0 .22.11.44.17.6l-.34.28a.16.16 0 0 0 0 .22l.62.55c.06.06.17.06.23 0l.28-.27c.23.11.45.11.62.16l.12.39c0 .06.1.11.22.11l.85-.28c.06 0 .11-.1.11-.22l-.1-.38c.05-.06.16-.11.22-.22.05-.11.17-.17.22-.28l.4.11c.11 0 .17-.05.17-.1l.17-.83c.06-.06 0-.17-.11-.17m-1.48.72c-.33.38-.9.38-1.3.05s-.4-.88-.05-1.26c.34-.39.9-.39 1.3-.06s.4.94.05 1.27m-1.75 2.53c-.06-.16-.17-.27-.4-.27l-.84.16a4.1 4.1 0 0 0-.8-.93l.29-.78c.05-.16 0-.33-.17-.38l-1.59-.55c-.17-.06-.34 0-.4.16l-.28.77c-.4 0-.84.06-1.24.22l-.57-.66c-.11-.1-.34-.16-.45-.05l-1.3 1.04c-.11.11-.17.34-.06.45l.51.6a2 2 0 0 0-.28.6c-.06.17-.11.4-.17.56l-.8.1c-.16.06-.28.17-.28.4l.29 1.64c.05.17.17.28.4.28l.79-.11q.33.57.84.99l-.28.71c-.06.17 0 .33.17.39l1.59.55c.16.06.33 0 .4-.16l.27-.72c.46 0 .9-.06 1.3-.22l.51.6c.12.11.34.17.46.06l1.3-1.05c.11-.1.17-.33.06-.44l-.51-.6c.1-.17.17-.33.28-.55l.17-.66.85-.11c.17-.06.28-.17.28-.39zm-2.55 2.2c-.33.94-1.41 1.38-2.37 1.05a1.78 1.78 0 0 1-1.08-2.31c.34-.94 1.42-1.38 2.38-1.05a1.82 1.82 0 0 1 1.07 2.31"})],-1)])])}const Kd={render:Zd},Jd={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function Qd(s,e){return y(),E("svg",Jd,[...e[0]||(e[0]=[bn('<g fill="none" fill-rule="nonzero" transform="translate(1 4)"><path fill="#000" d="M9.2 2.67s.68.77.24 1.36L8.01 6.9s-.13.77-.94.77l-1.88.36s-2 4.89 1.94 9.43l1.88-.35s.68-.24 1.06.3l2.44 2.17s.69.36.44 1.18c0 0-.38 2.71-3.32 3.19 0 0-1.19.17-2-.18 0 0-1-.12-3.69-2.83 0 0-4.12-3.83-3.93-10.2 0 0-.25-4.01 2.5-7.84 0 0 1-2.13 3.87-1.9-.06 0 1.5-.11 2.81 1.66Z"></path><circle cx="16" cy="7" r="1" fill="#FFE700"></circle><circle cx="20" cy="7" r="1" fill="#FFE700"></circle><circle cx="23" cy="7" r="1" fill="#FFE700"></circle><path fill="#FFE700" d="M20.35 0c-5.34 0-9.7 3.37-9.7 7.47 0 .8.17 1.6.52 2.39l-2.03 2.87a.9.9 0 0 0-.06.86c.18.25.47.43.76.37l3.95-.67C15.4 14.45 17.5 15 20.29 15 25.65 15 30 11.63 30 7.53S25.7 0 20.35 0m0 13.4c-2.67 0-4.53-.48-5.92-1.58a.64.64 0 0 0-.47-.19h-.11l-2.56.43 1.22-1.71a.79.79 0 0 0 .06-.8 4.4 4.4 0 0 1-.53-2.08c0-3.3 3.72-5.94 8.26-5.94 4.53 0 8.25 2.7 8.25 5.94.06 3.3-3.66 5.94-8.2 5.94Z"></path></g>',1)])])}const e0={render:Qd},t0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function i0(s,e){return y(),E("svg",t0,[...e[0]||(e[0]=[bn('<g fill="none" fill-rule="nonzero" transform="translate(1 3)"><path fill="#1D1D1B" d="M9.22 12.18c0 1.75-1.5 3.19-3.32 3.19a3.27 3.27 0 0 1-3.31-3.19C2.59 10.44 4.09 9 5.9 9c1.88.06 3.32 1.44 3.32 3.18M.96 25.95c.63.12 9.95 0 10.01 0 .63-.12 1-.66.94-1.27-.06-.54-.88-5.4-1.06-6.25-.5-2.04-2.32-2.04-3.38-2.04h-3c-1 0-2.88 0-3.38 2.04-.2.85-1 5.71-1.07 6.25-.12.6.31 1.15.94 1.27m26.4-13.77c0 1.75-1.5 3.19-3.3
411 3.19a3.27 3.27 0 0 1-3.32-3.19c0-1.74 1.5-3.18 3.32-3.18 1.81.06 3.32 1.44 3.32 3.18m-8.33 13.77c.63.12 9.95 0 10.01 0 .63-.12 1-.66.94-1.27-.06-.54-.87-5.4-1.06-6.25-.5-2.04-2.32-2.04-3.38-2.04h-3c-1 0-2.88 0-3.38 2.04-.19.85-1 5.71-1.07 6.25-.12.6.32 1.15.94 1.27"></path><circle cx="16.5" cy="9.5" r="1" fill="#1D1D1B"></circle><circle cx="14.5" cy="9.5" r="1" fill="#1D1D1B"></circle><circle cx="12.5" cy="9.5" r="1" fill="#1D1D1B"></circle><path fill="#1D1D1B" d="M18.18 12.42A2.5 2.5 0 0 0 19 10.6c0-1.13-.88-2.1-2.16-2.6-.23.17-.53.4-.82.5 1.29.3 2.16 1.14 2.16 2.05 0 .5-.29 1.02-.82 1.41-.17.12-.17.34-.05.51v.06l.29.5-1.17-.39c-.12-.06-.17-.06-.3-.06-.4.12-.75.17-1.16.17-1.8 0-3.21-.96-3.21-2.2 0-.46.23-.9.58-1.25-.29 0-.58-.05-.87-.11-.3.4-.47.85-.47 1.36 0 1.64 1.81 2.94 4.03 2.94.4 0 .82-.06 1.23-.17l2.04.68h.12a.5.5 0 0 0 .29-.11.34.34 0 0 0 .06-.4z"></path><path fill="#FFE700" d="M8.69 8a.5.5 0 0 1-.31-.11.31.31 0 0 1-.07-.39l.88-1.56A2.9 2.9 0 0 1 8 3.67C8 1.67 10.44 0 13.5 0S19 1.67 19 3.67s-2.44 3.66-5.5 3.66c-.63 0-1.19-.05-1.75-.22L8.87 8H8.7Zm1.25-1.89-.5.89 1.94-.61c.06-.06.18-.06.3-.06.57.11 1.13.23 1.7.23 2.56 0 4.68-1.34 4.68-2.95S15.94.67 13.38.67C10.8.67 8.68 2 8.68 3.6c0 .72.45 1.39 1.2 1.95.18.1.18.33.06.5.06 0 .06 0 0 .05Z"></path><circle cx="12.5" cy="4.5" r="1" fill="#FFE700"></circle><circle cx="10.5" cy="4.5" r="1" fill="#FFE700"></circle><circle cx="13.5" cy="4.5" r="1" fill="#FFE700"></circle></g>',1)])])}const r0={render:i0},n0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function s0(s,e){return y(),E("svg",n0,[...e[0]||(e[0]=[bn('<g fill="none" fill-rule="nonzero"><path fill="#1D1D1B" d="M29.95 22.82c-.54-2.5-4.65-4.52-8.02-5.77h-.06L20.16 17c-.05 0-.16.05-.16.1 0 .06 0 .16.1.16l1.02.42c.06.05 7.06 2.85 7.12 5.3 0 .67-.48 1.24-1.55 1.76-.06.05-.11.1-.06.16 0 .05.06.1.16.1h2.46c.06 0 .06 0 .11-.05 0 0 .86-.78.59-2.13"></path><path fill="#FFE700" d="M17.4 23.16h-1.18c0-.05 0-.05-.06-.1l-5-15.26a1.22 1.22 0 0 0-1.15-.8c-.48 0-.97.32-1.13.81l-5 15.24c0 .06 0 .06-.06.11H2.65a.66.66 0 0 0-.65.65v.54c0 .38.32.65.65.65h14.7c.37 0 .64-.32.64-.65v-.54c.06-.32-.21-.65-.59-.65M8.57 11.11h2.9l1.08 3.35H7.44l1.13-3.36ZM5.28 21.38l1.35-4.16h6.79l1.34 4.16z"></path><path fill="#1D1D1B" d="M22.95 22.74C22.5 20.33 19 18.3 16 17l.4 1.29c1.95 1.07 4.95 2.95 5 4.62 0 .7-.45 1.28-1.45 1.82-.05.06-.1.1-.05.16 0 .06.05.11.15.11h2.3c.05 0 .05 0 .1-.05-.05 0 .75-.8.5-2.2Z"></path><path fill="#000001" d="m19.93 10.36-.5-1.76c-.3-.96-1.37-1.6-2.55-1.6h-3.15a3.2 3.2 0 0 0-1.74.53l.34 1.07c.28-.38.78-.59 1.35-.59h3.14c.74 0 1.35.37 1.52.9l.34 1.18v.1c0 .11-.11.17-.22.17-.57-.11-1.64-.16-3.2-.16-1.02 0-1.8 0-2.37.05l.63 1.75a.5.5 0 0 1 .4-.16h2.75c.28 0 .56.2.56.53 0 .26-.23.53-.56.53h-2.81l.61 1.76h4.73v.42c0 .48.39.91.9.91.5 0 .9-.43.9-.9V12c.05-.74-.4-1.38-1.07-1.64m-.5 2.55a.6.6 0 0 1-.51-.27.46.46 0 0 1 0-.53.6.6 0 0 1 .5-.26c.28 0 .56.26.56.53 0 .26-.22.48-.56.53Z"></path></g>',1)])])}const a0={render:s0},o0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function l0(s,e){return y(),E("svg",o0,[...e[0]||(e[0]=[D("g",{fill:"none","fill-rule":"nonzero"},[D("path",{fill:"#FFDE03",d:"m20.82 11.87-.32-.07c0-.2-.06-.33-.13-.53l.26-.26c.06-.06.
4106-.13 0-.2l-.51-.52c-.06-.07-.13-.07-.19 0l-.24.26c-.2-.07-.32-.13-.5-.13l-.13-.33c0-.07-.13-.13-.2-.07l-.69.2c-.06 0-.12.13-.06.2l.12.33-.18.2c-.07.06-.13.13-.13.2l-.32-.07c-.06 0-.12 0-.12.13l-.13.72c0 .07 0 .14.13.14l.31.06c0 .2.07.4.13.53l-.2.26c-.05.07-.05.13 0 .2l.51.53c.07.06.13.06.2 0l.18-.27c.2.07.32.13.5.13l.14.33c0 .07.12.14.19.07l.69-.2c.06 0 .13-.13.06-.2l-.12-.32.19-.2.19-.2.31.07c.07 0 .13 0 .13-.14l.12-.72c-.06-.07-.12-.13-.18-.13Zm-1.2.66c-.26.33-.76.33-1.08.06-.32-.26-.32-.79-.06-1.12.25-.33.76-.33 1.07-.06.32.26.32.79.06 1.12Zm-1.46 2.17c0-.13-.19-.26-.31-.2l-.7.13a2.7 2.7 0 0 0-.63-.79l.25-.65a.25.25 0 0 0-.12-.33l-1.33-.53c-.13-.07-.25 0-.32.13l-.25.66c-.32 0-.7.07-1.01.2l-.44-.53c-.07-.13-.26-.13-.38-.07l-1.08.93c-.12.06-.12.26-.06.4l.44.52c-.06.13-.19.33-.25.53-.06.13-.13.32-.13.52l-.63.13c-.13 0-.25.2-.19.33l.25 1.45c0 .13.2.27.32.2l.63-.13c.2.33.38.6.7.85l-.26.66c-.06.14 0 .27.13.33l1.33.53c.12.07.25 0 .31-.13l.26-.66c.38 0 .7-.07 1.07-.2l.44.53c.07.13.26.13.38.06l1.08-.92c.12-.06.12-.26.06-.4l-.44-.52c.06-.13.12-.33.19-.46.06-.2.12-.4.12-.53l.7-.13c.12 0 .25-.2.19-.33zm-2.02 1.91c-.32.8-1.14 1.25-1.9.92-.75-.33-1.2-1.18-.88-1.97.32-.8 1.14-1.26 1.9-.93.75.33 1.13 1.19.88 1.98"}),D("path",{fill:"#1D1D1B",d:"M30.84 22.47h-11.7c-.06 0-.12.05-.12.17s-.06.3-.12.3h-5.85c-.06 0-.12-.18-.12-.3a.13.13 0 0 0-.12-.12H1.11a.13.13 0 0 0-.12.12v.42c0 .78.6 1.38 1.37 1.38h27.29c.77 0 1.37-.6 1.37-1.38v-.42c-.06-.12-.12-.17-.18-.17m-4.9-14.92H5.89c-.66 0-1.2.54-1.2 1.2v11.86c0 .66.54 1.2 1.2 1.2h20.1c.66 0 1.2-.54 1.2-1.2V8.75c0-.6-.54-1.2-1.25-1.2M26 20.61H5.83V8.81h20.16v11.8Z"})],-1)])])}const u0={render:l0},c0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function h0(s,e){return y(),E("svg",c0,[...e[0]||(e[0]=[D("g",{fill:"none","fill-rule":"nonzero"},[D("path",{fill:"#FFDE03",d:"M10.27 25a.58.58 0 0 1-.5-.25l-1.62-2.13c-.25-.31-.18-.69.13-.94s.68-.18.93.13l1.19 1.5 4.49-4.13a.63.63 0 0 1 .93.06c.25.25.25.7-.06.94l-4.99 4.63a.7.7 0 0 1-.5.19"}),D("path",{fill:"#000",d:"M19.93 16.28a1.78 1.78 0 0 0-1.31-1.4c-1.44-.6-5.08-2.06-6.33-2.7a1.8 1.8 0 0 0-1.56 0 89 89 0 0 1-6.33 2.7c-.36.11-1.31.46-1.31 1.4-.06.59-.42 5.75.9 8.8 1.55 3.7 5.73 5.4 6.92 5.8.18.06.36.12.54.12s.36-.06.54-.12c1.25-.47 5.37-2.17 6.92-5.8 1.26-2.64 1.14-7.04 1.02-8.8m-1.5.18c.19 3.63-.11 6.45-.83 8.15-1.31 3.1-4.96 4.57-6.03 4.98h-.07c-1.08-.4-4.78-1.93-6.1-4.98-1-2.29-.95-6.1-.83-8.15 0 0 .06-.06.36-.18l.6-.23c1.79-.7 4.78-1.94 5.91-2.58h.06s.06 0 .12.05c1.31.7 4.96 2.17 6.5 2.76.19.06.3.12.3.18Z"}),D("path",{fill:"#1D1D1B",d:"M25.05 19.35A4.63 4.63 0 0 0 28 14.88c0-2.47-1.54-3.88-4.37-5.3L21.15 8.3c-1.07-.53-2.72-1.11-2.72-2.64 0-.89.7-1.89 2.36-1.89 3.13 0 2.25 3.18 4.32 3.18.94 0 1.65-.76 1.65-1.7C26.76 3.53 24.69 1 20.9 1c-3.25 0-6.14 1.76-6.14 5.35 0 1.18.65 2.41 1.77 3.12-1.12.59-2 1.3-2.54 2.18.77.35 1.77.82 2.78 1.23.23-.94 1.06-1.47 1.7-1.88l4.32 2.3c1.36.7 1.83 1.29 1.83 2.35 0 1.3-.94 2.17-1.83 2.4l-1.3-.7c.06 1.12.06 2.47-.06 3.94 1 .6 1.6 1.12 1.6 2 0 1.36-1.24 1.83-2.25 1.89a7 7 0 0 1-.41 1.17c-.24.6-.53 1.06-.83 1.6.36.05.77.05 1.18.05 3.08 0 5.97-1.76 5.97-5.12a3.71 3.71 0 0 0-1.65-3.53Z"})],-1)])])}const d0={render:h0},f0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function g0(s,e){return y(),E("svg",f0,[...e[0]||(e[0]=[D("g",{fill:"none","fill-rule":"evenodd"},[D("path",{fill:"#FFE700",d:"M9.14 31.1c1.86 0 3.4-1.64 3.4-3.62V14.52a7.39 7.39 0 0 0 2.75-9.22l-4.08 3.97c-.16.12-.33.23-.49.23H8.37a.39.39 0 0 1-.39-.4V6.64c0-.23.11-.46.28-.58l4.17-4.03a6.34 6.34 0 0 0-3.35-.93 6.6 6.6 0 0 0-5.87 3.62 7.43 7.43 0 0 0 2.52 9.8v13.02a3.48 3.48 0 0 0 3.4 3.56Zm-.03-6.56c.7 0 1.36.61 1.36 1.44 0 .82-.65 1.37-1.36 1.37-.72 0-1.37-.62-1.37-1.44 0-.83.59-1.37 1.37-1.37"}),D("path",{fill:"#1D1D1B","fill-rule":"nonzero",d:"M30.01 28.07c-.18-1.07-1.67-10.35-1.97-11.9-.84-3.86-4.3-3.86-6.15-3.86h-5.38a9.4 9.4 0 0 1-2.57 2.97h-.06V31.1h10.28V17.9c.42 2.38 1.37 8.38 1.79 10.82a2.05 2.05 0 0 0 2.03 1.72h.3a2.1 2.1 0 0 0 1.73-2.37M19.45 1.04c-1.47 0-2.81.65-3.67 1.65a8.67 8.67 0 0 1 1.96 7.45c.55.18 1.1.3 1.7.3a4.82 4.82 0 0 0 4.9-4.73 4.81 4.81 0 0 0-4.9-4.67Z"})],-1)])])}const p0={render:g0},m0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function b0(s,e){return y(),E("svg",m0,[...e[0]||(e[0]=[D("g",{fill:"none","fill-rule":"evenodd",transform:"translate(1.
4102 1.02)"},[D("path",{fill:"#FFE700",d:"M30 7.4V5.67l-1.31-.3a8 8 0 0 0-.48-1.31l.78-1.08-1.14-1.31-1.2.6c-1.06-.84-2.08-.96-2.08-.96L24.27 0h-1.73l-.3 1.31c-1.43.3-1.96.9-1.96.9l-1.2-.66-1.13 1.25.77 1.14c-.47.77-.53 1.43-.53 1.43l-1.32.3V7.4l1.32.36c.18.95.47 1.3.47 1.3l-.77 1.08 1.07 1.31 1.2-.6c.9.72 2.08.96 2.08.96l.3 1.31h1.73l.36-1.3c1.25-.25 1.97-.9 1.97-.9l1.2.65 1.13-1.25-.78-1.13c.3-.48.54-1.43.54-1.43zm-6.56 2.15a3 3 0 0 1-2.99-2.99 3 3 0 0 1 2.99-2.98 3 3 0 0 1 2.98 2.98 2.95 2.95 0 0 1-2.98 2.99"}),D("circle",{cx:"9.84",cy:"8.91",r:"5.16",fill:"#000","fill-rule":"nonzero"}),D("path",{fill:"#000","fill-rule":"nonzero",d:"M28.7 16.52s-1.23-1.69-3-.47l-5.36 3.97-2.47-3.1S16.34 14.9 13.63 15h-8.3c-.06 0-.42 0-.89.12-1.12.3-2.82 1.28-3.06 4.6L.08 27.6S-.5 29.58 1.44 30c0 0 1.47.17 1.88-1.12l1.42-8.22v9.27H15.1V19.85l3.24 3.9s1.18 1.81 3.07.41l7-5.19s1.24-1 .3-2.45Z"})],-1)])])}const _0={render:b0},v0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function y0(s,e){return y(),E("svg",v0,[...e[0]||(e[0]=[D("g",{fill:"none","fill-rule":"evenodd"},[D("path",{fill:"#000","fill-rule":"nonzero",d:"M28.88 8.56h-6.74V5.52c-.3-1.7-2.04-1.51-2.04-1.51h-8.24C10.11 4 9.92 5.59 9.92 5.59v3.03h-6.8C1.94 8.62 1 9.53 1 10.7v13.97h30v1.1H1v.17C1 27.1 1.94 28 3.12 28h25.76c1.18 0 2.12-.91 2.12-2.07V10.7a2.17 2.17 0 0 0-2.12-2.13Zm-8.73 0h-8.36V5.9h8.36v2.67Z"}),D("path",{fill:"#FFE700",d:"M8.4 16.42s.44-.3.8-.06l3.03 1.47 8.68-4.3s.92-.53 1.66-.41c0 0 1.73-.36 2.28.17 0 0 .86.77-1.54 1.89l-3.7 1.83-3.2 3.24-1.35.71s-.12.12-.25-.06c0 0-.3-.23-.12-.41l1.05-1.65-5.67 1.83s-.3.11-.5-.24c0 0-.11-.3.25-.53l.44-.24-2.16-2.53s-.37-.3.3-.71"})],-1)])])}const w0={render:y0},x0={class:"oeamtc-listitem-teaser__icon"},P0={key:1,class:"oeamtc-stellenangebote-filterbox__icon-container"},k0={key:1,class:"oeamtc-stellenangebote-filterbox__icon-content"},T0={class:"oeamtc-listitem__content oeamtc-listitem--flex oeamtc-listitem--left-margin"},D0={class:"oeamtc-listitem__content-texts"},S0=["href","target"],O0=["href","target"],A0=G({__name:"FilterboxListItem",props:{icon:{},title:{},subtitle:{},link:{default:null},applyUrl:{default:null},linkTarget:{default:"_blank"},bottomLine:{type:Boolean,default:!0},loading:{type:Boolean,default:!0},tag:{default:"li"},headlineLevel:{default:"h3"}},setup(s){const e=s,t={Callcenter:e0,Fahrtechnik:a0,Informationstechnologie:u0,Lehre:Kd,Reisebüro:w0,"Beratung und Verkauf":r0,"Flugrettung und Luftfahrttechnik":Wd,"KFZ-Technik":p0,"Organisation und Projekte":_0,"Recht und Versicherung":d0},i=M(()=>t[e.icon]||null);return(r,n)=>(y(),j(mi(s.tag),{class:oe(["oeamtc-listitem-special oeamtc-stellenangebote-filterbox__element oeamtc-listitem-teaser",{"oeamtc-listitem-special--bottom-line":s.bottomLine&&!s.loading}])},{default:k(()=>[D("div",x0,[s.loading?(y(),j(_(le),{key:0,class:"oeamtc-stellenangebote-filterbox__loader--icon"})):(y(),E("div",P0,[i.value?(y(),j(mi(i.value),{key:0,class:"oeamtc-stellenangebote-filterbox__icon-content"})):(y(),E("div",k0))]))]),D("div",T0,[D("div",D0,[(y(),j(mi(s.headlineLevel),{class:"oeamtc-flex oeamtc-text__weight--bold oeamtc-text__size--large"},{default:k(()=>[s.loading?(y(),j(_(le),{key:0,class:"oeamtc-stellenangebote-filterbox__loader--headline"})):s.link?(y(),E("a",{key:1,href:s.link,target:s.linkTarget,class:"oeamtc-link--black"},W(s.title),9,S0)):(y(),E(q,{key:2},[H(W(s.title),1)],64))]),_:1})),s.loading?(y(),j(_(le),{key:0,class:"oeamtc-stellenangebote-filterbox__loader--text"})):(y(),E(q,{key:1},[H(W(s.subtitle),1)],64))]),!s.loading&&s.applyUrl?(y(),E("a",{key:0,href:s.applyUrl,target:s.linkTarget,class:"oeamtc-link oeamtc-stellenangebote-filterbox__element-link"}," Online bewerben » ",8,O0)):V("",!0)])]),_:1},8,["class"]))}}),C0={key:1,class:"oeamtc-modal__content oeamtc-panel__indent"},E0={class:"oeamtc-alert__container oeamtc-grid"},M0={class:"oeamtc-stellenangebote-filterbox__ergebnisse"},L0=["href","target"],R0={class:"oeamtc-stellenangebote-filterbox__jobalarm"},I0=G({__name:"StellenangeboteFilterbox",props:{jobOffersFetchLimit:{default:5},showAllJobOffers:{type:Boolean,default:!1},allJobOffersLink:{default:"https://www.oeamtc.at/karriere-portal/job-angebote/"},linkTarget:{default:null},jobRegion:{default:null},jobField:{default:null},jobTime:{default:null},hideFilter:{type:Boolean},hideJobAlarm:{type:Boolean}},setup(s){const e=s,t=ee(!1),i=ee(0),r=ee([]),n=Uh(),a=new URL(n).searchParams,o=ee(a.get("region")??""),l=ee(a.get("category")??""),u=ee(a.get("occupationType")??"Vollzeit / Teilzeit"),c={"Vollzeit-Teilzeit":"Vollzeit / Teilzeit","Beratung-und-Verkauf":"Beratung und Verkauf","Flugrettung-und-Luftfahrttechnik":"Flugrettung und Luftfahrttechnik","Organisation-und-Projekte":"Organisation und Projekte"};e.jobRegion&&e.jobRegion!=="Bundesland"&&(o.value=e.jobRegion),e.jobField&&e.jobField!=="Bereich"&&(l.value=c[e.jobField]??e.jobField),e.jobTime&&e.jobTime!=="Vollzeit / Teilzeit"&&(u.value=c[e.jobTime]??e.jobTime);const h=ee([]),f=ee([]),d=ee([]),{loading:p,error:g,onResult:b}=Ht(Hd,{},{prefetch:!1});b(A=>{A.data&&(h.value=A.data.JobFilters.regions,f.value=A.data.JobFilters.categories,d.value=A.data.JobFilters.occupations)});const{loading:m,error:v,refetch:x,onResult:w}=Ht(Xd,{region:o.value,category:l.value,occupation:u.value,limit:e.jobOffersFetchLimit,offset:0},{prefetch:!1}),P=M(()=>i.value>e.jobOffersFetchLimit),T=M(()=>{const A=new URL(e.allJobOffersLink);return o.value&&A.searchParams.set("region",o.value),l.value&&A.searchParams.set("category",l.value),u.value&&A.searchParams.set("occupationType",u.value),A.toString()}),O=M(()=>p.value||m.value||h.value.length===0?"loading":g.value||v.value?"error":"default");w(A=>{A.data&&(r.value=A.data.JobOffers.data,i.value=A.data.JobOffers.amount)}),At([o,l,u],()=>{t.value||$(1)});const L=()=>{t.value=!0},S=()=>{x({region:o.value,category:l.value,occupation:u.value,limit:e.jobOffersFetchLimit,offset:0}),t.value=!1},B=ee(1),C=M(()=>Math.ceil(i.value/e.jobOffersFetchLimit)),$=A=>{B.value=A;const N=(A-1)*e.jobOffersFetchLimit;x({region:o.value,category:l.value,occupation:u.value,limit:e.jobOffersFetchLimit,offset:N})};return(A,N)=>{const z=Ue,te=Nd;return y(),E(q,null,[D("div",De(A.$attrs,{class:"oeamtc-stellenangebote-filterbox oeamtc-modal oeamtc-panel"}),[_(O)==="error"?(y(),j(_(Yr),{key:0,state:"error"},{headline:k(()=>[...N[6]||(N[6]=[H("Stellenabgebote Filterbox",-1)])]),text:k(()=>[...N[7]||(N[7]=[H("Es ist ein Fehler aufgetreten",-1)])]),_:1})):(y(),E("div",C0,[s.hideFilter?V("",!0):(y(),j(A1,{key:0,"selected-region":_(o),"onUpdate:selectedRegion":N[0]||(N[0]=Y=>Ti(o)?o.value=Y:null),"selected-category":_(l),"onUpdate:selectedCategory":N[1]||(N[1]=Y=>Ti(l)?l.value=Y:null),"selected-occupation":_(u),"onUpdate:selectedOccupation":N[2]||(N[2]=Y=>Ti(u)?u.value=Y:null),regions:_(h),categories:_(f),occupations:_(d),loading:_(O)==="loading","id-prefix":"stellenangebote-filterbox-"},null,8,["selected-region","selected-category","selected-occupation","regions","categories","occupations","loading"])),s.hideJobAlarm?V("",!0):(y(),j(_(or),{key:1,class:oe(["oeamtc-margin--top-primary",{"oeamtc-alert--loading":_(O)==="loading"}]),icon:!0},{contentSlot:k(()=>[D("div",E0,[N[9]||(N[9]=D("span",{class:"oeamtc-alert__text"}," Erhalten Sie zukünftig konkrete Jobangebote in Ihrem Wunschbereich per E-Mail! ",-1)),R(z,null,{default:k(()=>[R(_(Mt),{class:"oeamtc-alert__button",modifier:"info",disabled:_(O)==="loading","aria-disabled":_(O)==="loading"?"true":"false",onClick:L},{prefix:k(()=>[R(_(Yd),{class:"oeamtc-alert__button-icon",width:"24",viewBox:"0 0 32 32",fill:_(O)==="loading"?"#3a3842":"#fff"},null,8,["fill"])]),default:k(()=>[N[8]||(N[8]=H(" Job-Alarm aktivieren ",-1))]),_:1},8,["disabled","aria-disabled"])]),_:1})])]),_:1},8,["class"])),_(r).length!==0||_(r).length===0&&_(O)==="loading"?(y(),E(q,{key:2},[D("ul",M0,[(y(!0),E(q,null,ne(_(r),Y=>(y(),j(A0,{key:Y.id,title:Y.title,subtitle:Y.category,link:Y.url,"bottom-line":_(P)||!_(P)&&Y!==_(r)[_(r).length-1],"apply-url":Y.applyUrl,loading:_(O)==="loading",icon:Y.category},null,8,["title","subtitle","link","bottom-line","apply-url","loading","icon"]))),128))]),_(P)&&!s.showAllJobOffers?(y(),E("a",{key:0,href:_(T),target:s.linkTarget,class:"oeamtc-stellenangebote-filterbox__show-all-offers"}," Alle "+W(_(i))+" offenen Stellen anzeigen » ",9,L0)):s.showAllJobOffers&&_(O)!=="loading"&&_(C)>1?(y(),j(_(gh),{key:1,class:"oeamtc-stellenangebote-filterbox__paging","amount-pages":_(C),"current-page":_(B),"pages-to-show":1,onPaginate:$},null,8,["amount-pages","current-page"])):V("",!0)],64)):(y(),j(_(or),{key:3,class:oe({"oeamtc-margin--top-primary":!s.hideFilter&&!s.hideJobAlarm}),modifier:"warning"},{contentSlot:k(()=>[...N[10]||(N[10]=[H(" Zu dieser Auswahl wurden keine Job Angebote gefunden. ",-1)])]),_:1},8,["class"]))]))],16),_(t)?(y(),j(fh,{key:0,to:".oeamtc"},[D("div",R0,[R(te,{"selected-region":_(o),"onUpdate:selectedRegion":N[3]||(N[3]=Y=>Ti(o)?o.value=Y:null),"selected-category":_(l),"onUpdate:selectedCategory":N[4]||(N[4]=Y=>Ti(l)?l.value=Y:null),"selected-occupation":_(u),"onUpdate:selectedOccupation":N[5]||(N[5]=Y=>Ti(u)?u.value=Y:null),regions:_(h),categories:_(f),occupations:_(d),onClose:S},null,8,["selected-region","selected-category","selected-occupation","regions","categories","occupations"])])])):V("",!0)],64)}}}),B0=G({__name:"CardDateTeaser",props:{headline:{},description:{},datePublished:{},link:{},showShareCount:{type:Boolean,default:!1},showLikeCount:{type:Boolean,default:!1},headlineTag:{default:"h2"},image:{default:void 0},lazy:{type:Boolean,default:!0},linkTarget:{default:"_self"}},setup(s){return(e,t)=>(y(),j(_(ph),{headline:s.headline,"date-published":s.datePublished,link:s.link,"show-share-count":s.showShareCount,"show-like-count":s.showLikeCount,"headline-tag":s.headlineTag,target:s.linkTarget},{image:k(()=>[s.image?(y(),j($t,{key:0,class:"oeamtc-card-date-teaser__image",alt:s.image.altText,copyright:s.image.copyright,"min-width":769,"max-width":768,lazy:s.lazy,image:s.image,widths:[400,500,500],"mobile-widths":[400,500,500],crop:"","data-size":"16/9",size:"16/9","mobile-size":"16/9"},null,8,["alt","copyright","lazy","image"])):V("",!0)]),description:k(()=>[R(Re,{text:s.description,"headline-offset":3,"outer-html-tag":"p",class:"oeamtc-card-teaser__content-description oeamtc-flex__item--grow"},null,8,["text"])]),_:1},8,["headline","date-published","link","show-share-count","show-like-count","headline-tag","target"]))}});function j0(s){return s==="Sicherheit"?"reddish":s==="Menschen"?"azure":s==="Technik"?"peach":s==="Reise"?"aquamarine":s==="Diversität"?"amethyst":s==="Nothilfe"?"sunflower":s==="Nachhaltigkeit"?"shamrock":s==="Recht"?"twilight":s==="Fahrtechnik"?"tomato":s==="Innovation"?"mint":s==="Mobilität"?"seafoam":""}const F0={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function z0(s,e){return y(),E("svg",F0,[...e[0]||(e[0]=[D("path",{d:"m18.09 15.98-7.92-8.03a1.5 1.5 0 0 1 0-2.1c.58-.59 1.51-.6 2.1-.02l7.9 8.03 2.1 2.12-2.08 2.13-7.94 8.05c-.58.58-1.51.59-2.1.01a1.51 1.51 0 0 1-.01-2.13z"},null,-1)])])}const nl={render:z0};function C1(s){let e=[];return/<\/?[a-z][\s\S]*>/i.test(s)===!0?e=s.split(/(<\/?[a-z]+>)/g):e=s.split(/\s{2,20}/),e.filter(function(i){return i.replace(/(<\/?[a-z]+>)/,"")}).filter(i=>i.trim().length>0)}const rr=G({__name:"ProductTeaser",props:{title:{},titleTag:{default:"h2"},lazy:{type:Boolean,default:!0},orderLink:{},productLink:{},datePublished:{default:void 0},image:{default:void 0},price:{},contractKey:{default:null},footerProducts:{default:null},footerText:{default:""},feature:{},description:{default:void 0},target:{default:"_self"},hasVideo:{type:Boolean,default:!1},widths:{default:()=>[300,500,500]},mobileWidths:{default:()=>[300,500,500]}},setup(s){const e=s,t=M(()=>{var c,h,f,d;const a=(c=e.contractKey)==null?void 0:c.includes("SB"),o=Number.parseFloat(((h=e.price)==null?void 0:h.price)??"0"),l=Number.parseFloat(((d=(f=e.price)==null?void 0:f.schutzbrief)==null?void 0:d.price)??"0"),u=a?o+l:o;return u>0?u:null}),i=M(()=>{var a;return(a=e.feature)==null?void 0:a.find(o=>o.type==="BENEFIT_LIST_ITEM")}),r=M(()=>{var a,o;return(a=i.value)!=null&&a.bodyText?C1((o=i.value)==null?void 0:o.bodyText):""}),n=M(()=>!1);return(a,o)=>(y(),j(_(mh),{"title-tag":s.titleTag,"detail-link":s.productLink,"product-link":s.orderLink,"date-published":s.datePublished,"has-video":s.hasVideo,"user-has-product":_(n),target:s.target},mt({image:k(()=>[s.image?(y(),j($t,{key:0,alt:s.image.altText,copyright:s.image.copyright,"min-width":769,"max-width":768,lazy:s.lazy,image:s.image,widths:s.widths,"mobile-widths":s.mobileWidths,crop:"","data-size":"16/9",size:"250/150","mobile-size":"250/150"},null,8,["alt","copyright","lazy","image","widths","mobile-widths"])):V("",!0)]),title:k(()=>[H(W(s.title),1)]),producttext:k(()=>
41[H(W(s.footerText),1)]),price:k(()=>[_(t)?(y(),j(_(Co),{key:0,value:_(t),size:"small",class:"oeamtc-padding--top-primary"},null,8,["value"])):V("",!0)]),_:2},[s.description?{name:"description",fn:k(()=>[H(W(s.description),1)]),key:"0"}:void 0,_(r)?{name:"listitems",fn:k(()=>[(y(!0),E(q,null,ne(_(r),(l,u)=>(y(),j(_(pa),{key:u,small:"","is-special":!1},{text:k(()=>[H(W(l),1)]),_:2},1024))),128))]),key:"1"}:void 0]),1032,["title-tag","detail-link","product-link","date-published","has-video","user-has-product","target"]))}}),N0={key:0,class:"oeamtc-benefitlist-banner oeamtc-decoration__radius--primary"},$0={class:"oeamtc-benefitlist-banner__content"},V0={class:"oeamtc-benefitlist-banner__teaser"},Y0={class:"oeamtc-benefitlist-banner__benefits"},H0=G({__name:"SpecialProductTeaser",props:{id:{},title:{},text:{},teaser:{}},setup(s){const e=s,t=M(()=>e.text?C1(e.text):"");return(i,r)=>{var n,a,o,l,u,c,h,f,d;return s.teaser?(y(),E("div",N0,[D("div",$0,[D("div",V0,[R(rr,{"title-tag":"h2",title:s.teaser.title,"order-link":(n=s.teaser)==null?void 0:n.membershipInfo.orderLink,"product-link":_(et)(s.teaser),"date-published":(a=s.teaser)==null?void 0:a.frontendDate,image:(o=s.teaser)==null?void 0:o.image,price:(l=s.teaser)==null?void 0:l.membershipInfo.price,"contract-key":(u=s.teaser)==null?void 0:u.membershipInfo.contractKey,"footer-products":(c=s.teaser)==null?void 0:c.membershipInfo.footerProducts,"footer-text":(h=s.teaser)==null?void 0:h.membershipInfo.mainFooterText,feature:(f=s.teaser)==null?void 0:f.membershipInfo.features,target:(d=s.teaser)==null?void 0:d.linkTarget,widths:[300,700,700],"mobile-widths":[300,700,700]},null,8,["title","order-link","product-link","date-published","image","price","contract-key","footer-products","footer-text","feature","target"])]),D("div",Y0,[e.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium oeamtc-benefitlist-banner__benefit-headline","headline-level":"h3","unique-id":s.id},{default:k(()=>[H(W(e.title),1)]),_:1},8,["unique-id"])):V("",!0),_(t)?(y(),j(_(c1),{key:1,"list-tag":"ul",class:"oeamtc-padding--top-primary"},{default:k(()=>[(y(!0),E(q,null,ne(_(t),(p,g)=>(y(),j(_(pa),{key:g,small:"","is-special":!1},{text:k(()=>[H(W(p),1)]),_:2},1024))),128))]),_:1})):V("",!0)])])])):V("",!0)}}});function X0(s){if(!s.length)return[];if(s.length===1)return s;const e=s.map(r=>JSON.parse(JSON.stringify(r)));let t=e[0];const i=[];return e.forEach((r,n)=>{if(n===0&&r.structureLevel===0){t=r,i.push(r);return}if(r.structureLevel<=t.structureLevel&&r.structureLevel!==0){t=r,i.push(r);return}if(r.structureLevel>=0&&t.structureLevel===0){t=r,i.push(r);return}typeof t.children>"u"&&(t.children=[]),t.children.push(r)}),i}const G0={props:{id:{type:String,required:!0},type:{type:String,required:!0},structureLevel:{type:Number,required:!0}}};function U0(s,e,t,i,r,n){return null}const W0=ui(G0,[["render",U0]]),Tt=G({__name:"ImageCaption",props:{title:{type:String,required:!1,default:null},description:{type:String,required:!1,default:null},copyright:{type:String,required:!1,default:null}},setup(s){const e=s,t=M(()=>{let i=e.title?e.title.trim():"";return e.description&&(i.length&&(i+=" - "),i+=e.description),e.copyright&&(i&&(i+="&nbsp;"),i+=`<b>&copy; ${e.copyright}</b>`),i});return(i,r)=>(y(),j(pt,{"html-content":t.value},null,8,["html-content"]))}}),q0={components:{ImageCaption:Tt},props:{images:{type:Array,required:!0},grayBackground:{type:Boolean,default:!1}},computed:{sectionImage(){return this.images[0]}}},Z0={class:"oeamtc-article-section--content-width"};function K0(s,e,t,i,r,n){const a=Tt,o=ht;return n.sectionImage?(y(),E("section",De({key:0},s.$attrs,{class:["oeamtc-article-section","oeamtc-one-image-section",{"oeamtc-article-section--grey-bg":t.grayBackground}]}),[D("div",Z0,[R(o,{component:"Caption","enable-lightbox":!0,image:n.sectionImage,widths:[338,777,1e3],type:"jpeg","type-edge":"webp",lazy:"",alt:n.sectionImage.altText,size:"16/9"},{default:k(()=>[R(a,{title:n.sectionImage.title,description:n.sectionImage.description,copyright:n.sectionImage.copyright},null,8,["title","description","copyright"])]),_:1},8,["image","alt"])]),re(s.$slots,"default")],16)):V("",!0)}const J0=ui(q0,[["render",K0]]),Q0={components:{ImageCaption:Tt},props:{images:{type:Array,required:!0}
41,grayBackground:{type:Boolean,default:!1}},computed:{sectionImage(){return this.images[0]}}};function e4(s,e,t,i,r,n){const a=Tt,o=ht;return n.sectionImage?(y(),E("section",De({key:0},s.$attrs,{class:["oeamtc-article-section","oeamtc-article-section--fullwidth",{"oeamtc-article-section--grey-bg":t.grayBackground}]}),[R(o,{class:"oeamtc-article-section--wide",component:"Caption","enable-lightbox":!0,image:n.sectionImage,widths:[720,1e3,1440],type:"jpeg","type-edge":"webp",alt:n.sectionImage.altText,lazy:"",size:"16/9"},{default:k(()=>[R(a,{title:n.sectionImage.title,description:n.sectionImage.description,copyright:n.sectionImage.copyright},null,8,["title","description","copyright"])]),_:1},8,["image","alt"]),re(s.$slots,"default")],16)):V("",!0)}const t4=ui(Q0,[["render",e4]]),i4={components:{OeamtcThreeItemsBlock:_h,OeamtcList:c1,OeamtcListItem:bh,ImageCaption:Tt},props:{id:{type:String,required:!0},images:{type:Array,required:!0},grayBackground:{type:Boolean,default:!1}},computed:{sectionImageBig(){return this.images[0]},sectionImageSmallLeft(){return this.images[1]},sectionImageSmallRight(){return this.images[2]}},methods:{formatImageTitle(s){return s!=null&&s.title?"&nbsp;"+s.title:""}}},r4={class:"oeamtc-article-section--content-width"};function n4(s,e,t,i,r,n){const a=ht,o=Tt,l=_e("OeamtcListItem"),u=_e("OeamtcList"),c=_e("OeamtcThreeItemsBlock");return n.sectionImageBig&&n.sectionImageSmallLeft&&n.sectionImageSmallRight?(y(),E("section",De({key:0},s.$attrs,{class:["oeamtc-article-section__three-images-block","oeamtc-article-section",{"oeamtc-article-section--grey-bg":t.grayBackground}]}),[D("div",r4,[R(c,null,{top:k(()=>[R(a,{class:"oeamtc-decoration__radius--primary","enable-lightbox":!0,"aria-describedby":t.id+"-"+n.sectionImageBig.id,size:"16/9",lazy:"",alt:n.sectionImageBig.altText,image:n.sectionImageBig,type:"jpeg","type-edge":"webp",widths:[400,800,1200],crop:""},null,8,["aria-describedby","alt","image"])]),left:k(()=>[R(a,{class:"oeamtc-decoration__radius--primary","enable-lightbox":!0,"aria-describedby":t.id+"-"+n.sectionImageSmallLeft.id,size:"16/9",lazy:"",alt:n.sectionImageSmallLeft.altText,image:n.sectionImageSmallLeft,type:"jpeg","type-edge":"webp",widths:[200,400,800],crop:""},null,8,["aria-describedby","alt","image"])]),right:k(()=>[R(a,{class:"oeamtc-decoration__radius--primary","enable-lightbox":!0,"aria-describedby":t.id+"-"+n.sectionImageSmallRight.id,size:"16/9",lazy:"",alt:n.sectionImageSmallRight.altText,image:n.sectionImageSmallRight,type:"jpeg","type-edge":"webp",widths:[200,400,800],crop:""},null,8,["aria-describedby","alt","image"])]),caption:k(()=>[R(u,{tag:"ul",type:"numeric"},{default:k(()=>[R(l,{id:t.id+"-"+n.sectionImageBig.id,class:"oeamtc-listitem-special oeamtc-listitem--noline"},{default:k(()=>[D("span",null,[R(o,{title:n.formatImageTitle(n.sectionImageBig),description:n.sectionImageBig.description,copyright:n.sectionImageBig.copyright},null,8,["title","description","copyright"])])]),_:1},8,["id"]),R(l,{id:t.id+"-"+n.sectionImageSmallLeft.id,class:"oeamtc-listitem-special oeamtc-listitem--noline"},{default:k(()=>[D("span",null,[R(o,{title:n.formatImageTitle(n.sectionImageSmallLeft),description:n.sectionImageSmallLeft.description,copyright:n.sectionImageSmallLeft.copyright},null,8,["title","description","copyright"])])]),_:1},8,["id"]),R(l,{id:t.id+"-"+n.sectionImageSmallRight.id,class:"oeamtc-listitem-special oeamtc-listitem--noline"},{default:k(()=>[D("span",null,[R(o,{title:n.formatImageTitle(n.sectionImageSmallRight),description:n.sectionImageSmallRight.description,copyright:n.sectionImageSmallRight.copyright},null,8,["title","description","copyright"])])]),_:1},8,["id"])]),_:1})]),_:1})]),re(s.$slots,"default")],16)):V("",!0)}const s4=ui(i4,[["render",n4]]),a4={components:{OeamtcEqualColumnGrid:Hr,ImageCaption:Tt},props:{images:{type:Array,required:!0},grayBackground:{type:Boolean,default:!1}},computed:{sectionImageLeft(){return this.images[0]},sectionImageMiddle(){return this.images[1]},sectionImageRight(){return this.images[2]}}};function o4(s,e,t,i,r,n){const a=Tt,o=ht,l=_e("OeamtcEqualColumnGrid");return n.sectionImageLeft&&n.sectionImageMiddle&&n.sectionImageRight?(y(),E("section",De({key:0},s.$attrs,{class:["oeamtc-article-section","oeamtc-three-images-inline-section",{"oeamtc-article-section--grey-bg":t.grayBackgroun
41d}]}),[R(l,{class:"oeamtc-article-section--wide"},{default:k(()=>[R(o,{component:"Caption","enable-lightbox":!0,class:"oeamtc-article-section--slider-slide",image:n.sectionImageLeft,widths:[233,466,932],type:"jpeg","type-edge":"webp",lazy:"",size:"16/9",crop:"",alt:n.sectionImageLeft.altText},{default:k(()=>[R(a,{title:n.sectionImageLeft.title,description:n.sectionImageLeft.description,copyright:n.sectionImageLeft.copyright},null,8,["title","description","copyright"])]),_:1},8,["image","alt"]),R(o,{component:"Caption","enable-lightbox":!0,class:"oeamtc-article-section--slider-slide",image:n.sectionImageMiddle,widths:[233,466,932],type:"jpeg","type-edge":"webp",lazy:"",size:"16/9",crop:"",alt:n.sectionImageMiddle.altText},{default:k(()=>[R(a,{title:n.sectionImageMiddle.title,description:n.sectionImageMiddle.description,copyright:n.sectionImageMiddle.copyright},null,8,["title","description","copyright"])]),_:1},8,["image","alt"]),R(o,{component:"Caption","enable-lightbox":!0,class:"oeamtc-article-section--slider-slide",image:n.sectionImageRight,widths:[233,466,932],type:"jpeg","type-edge":"webp",lazy:"",size:"16/9",crop:"",alt:n.sectionImageRight.altText},{default:k(()=>[R(a,{title:n.sectionImageRight.title,description:n.sectionImageRight.description,copyright:n.sectionImageRight.copyright},null,8,["title","description","copyright"])]),_:1},8,["image","alt"])]),_:1}),re(s.$slots,"default")],16)):V("",!0)}const l4=ui(a4,[["render",o4]]),u4={components:{OeamtcQuote:vh},props:{quote:{type:String,required:!0},source:{type:String,required:!1,default:null},cite:{type:String,required:!1,default:null},grayBackground:{type:Boolean,default:!1}}};function c4(s,e,t,i,r,n){const a=_e("OeamtcQuote");return y(),E("section",De(s.$attrs,{class:["oeamtc-article-section","oeamtc-quote-fullwidth-section","oeamtc-article-section--fullwidth",{"oeamtc-article-section--grey-bg":t.grayBackground}]}),[R(a,{class:"oeamtc-article-section--content-width"},{quote:k(()=>[H(W(t.quote),1)]),source:k(()=>[H(W(t.source),1)]),cite:k(()=>[t.cite?(y(),E(q,{key:0},[H(", ")],64)):V("",!0),H(W(t.cite),1)]),_:1}),re(s.$slots,"default")],16)}const h4=ui(u4,[["render",c4]]),d4=G({__name:"TableDefault",props:{tableHeader:{type:Boolean,default:!1},tableFooter:{type:Boolean,default:!1},headerData:{},footerData:{},tableRows:{},mobileUnresponsive:{type:Boolean}},setup(s){return(e,t)=>(y(),E("div",{class:oe(["oeamtc-default-table",{"oeamtc-default-table--responsive":!s.mobileUnresponsive}])},[R(_(d1),{class:"oeamtc-default-table"},{header:k(()=>[s.tableHeader?(y(),j(_(Xr),{key:0},{default:k(()=>[(y(!0),E(q,null,ne(s.headerData,(i,r)=>(y(),j(_(h1),{key:`${r} - ${i.value}`},{default:k(()=>[R(pt,{"html-content":i.formattedValue},null,8,["html-content"])]),_:2},1024))),128))]),_:1})):V("",!0)]),footer:k(()=>[s.tableFooter?(y(),j(_(Xr),{key:0},{default:k(()=>[(y(!0),E(q,null,ne(s.footerData,(i,r)=>(y(),j(_(Ua),{key:`${r} - ${i.value}`},{default:k(()=>[R(pt,{"html-content":i.formattedValue},null,8,["html-content"])]),_:2},1024))),128))]),_:1})):V("",!0)]),default:k(()=>[(y(!0),E(q,null,ne(s.tableRows,i=>(y(),j(_(Xr),{key:i},{default:k(()=>[(y(!0),E(q,null,ne(i,(r,n)=>(y(),j(_(Ua),{key:`${n} - ${r.value}`},{default:k(()=>[R(pt,{"html-content":r.formattedValue},null,8,["html-content"])]),_:2},1024))),128))]),_:2},1024))),128))]),_:1})],2))}}),f4={class:"oeamtc-simple-comparison-table__cell"},g4=G({__name:"TableSimpleComparison",props:{tableData:{},tableHeader:{type:Boolean,default:!0},mobileUnresponsive:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>{const n={};return e.tableData.forEach(a=>{n[a.row]||(n[a.row]=[]),n[a.row].push(a)}),Object.keys(n).map(Number).sort((a,o)=>a-o).map(a=>n[a].slice().sort((o,l)=>o.column-l.column))}),i=M(()=>e.tableHeader&&t.value.length?t.value[0]:[]),r=M(()=>e.tableHeader?t.value.slice(1):t.value);return(n,a)=>(y(),E("div",{class:oe(["oeamtc-simple-comparison-table oeamtc-panel oeamtc-padding--large",{"oeamtc-simple-comparison-table--responsive":!s.mobileUnresponsive}])},[R(_(d1),{class:"oeamtc-simple-comparison-table__table"},mt({default:k(()=>[(y(!0),E(q,null,ne(_(r),(o,l)=>(y(),j(_(Xr),{key:l},{default:k(()=>[(y(!0),E(q,null,ne(o,(u,c)=>(y(),j(_(Ua),{key:`${c}-${u.value}`},{default:k(()=>[D("div",f4,[R(pt,{"html-content":u.formattedValue},null,8,["html-content"])])]),_:2},1024))),128))]),_:2},1024))),128))]),_:2},[s.tableHeader&&_(i).length?{name:"header",fn:k(()=>[R(_(Xr),null,{default:k(()=>[(y(!0),E(q,null,ne(_(i),(o,l)=>(y(),j(_(h1),{key:`${l}-${o.value}`,style:{"text-align":"center"},class:"oeamtc-text__size--large"},{default:k(()=>[R(pt,{"html-content":o.formattedValue},null,8,["html-content"])]),_:2},1024))),128))]),_:1})]),key:"0"}:void 0]),1024)],2))}}),p4="FeatureCollection",m4="laender_999_geo",b4=JSON.parse('[{"type":"Feature","properties":{"name":"Tirol","id":"AT-7"},"id":"AT-7","geometry":{"type":"MultiPolygon","coordinates":[[[[12.708906048803351,46.736370258232114],[12.687814998391627,46.657687939565015],[12.62821625546327,46.66210597394938],[12.548422273560332,46.65947484467683],[12.424214927277898,46.69980654007058],[12.374798258989214,46.72301852722734],[12.35460834340331,46.77568491587727],[12.306142163751153,46.785705936866705],[12.289024792646087,46.865910021407046],[12.27107091505439,46.88493797950103],[12.215309947954404,46.87446771907225],[12.165533736965445,46.93900115687934],[12.135444934530662,46.95718551698287],[12.118351563502069,47.006780453973406],[12.144589646846239,47.02561613327365],[12.202045768383902,47.02769206781959],[12.237924613286085,47.069884004190115],[12.280957414203254,47.09326480647793],[12.342795704847681,47.10998476028861],[12.360454539252105,47.142098997698724],[12.396701690532645,47.15351595995203],[12.462736611250595,47.14506846369805],[12.48070043046074,47.15855964154146],[12.563556470390875,47.136739497405685],[12.5894168444659,47.12558674595656],[12.654016066248188,47.100231353836485],[12.707697515119014,47.04914786384203],[12.752064972756102,47.02557638523418],[12.73826593135879,46.96970298983289],[12.756752974781406,46.95732550566128],[12.78359041430831,46.940276760811784],[12.790855801946638,46.92719618819176],[12.805634318053574,46.92331374882672],[12.819009511450858,46.917531662989035],[12.838340668011002,46.86169424249905],[12.89278121589817,46.82652148783386],[12.90264695172511,46.82334499490438],[12.904298041316295,46.82338779024406],[12.960670629253963,46.79936335184976],[12.928609757041915,46.76475736834992],[12.896567448024967,46.777562323716694],[12.854022169611744,46.76088408544631],[12.83840776878861,46.75005145771911],[12.807097813753057,46.75699830816364],[12.793001465389452,46.75605573563165],[12.745381295751143,46.74816493301869],[12.708906048803351,46.736370258232114]]],[[[10.621446193557658,46.865129833771505],[10.567670311638754,46.84312600058576],[10.466817101807274,46.855637310325
4154],[10.461859818510101,46.88500413143552],[10.486513742396113,46.938512613423626],[10.453920431976055,46.952130725004864],[10.386480665215979,47.00124676440322],[10.346141472622726,46.991333955227006],[10.294046176153982,46.92067957879495],[10.2388600019946,46.93235848521496],[10.229100082545589,46.8674600446882],[10.142134531334351,46.85173310139351],[10.095380369809417,46.92808123012872],[10.15696699113046,46.98447380186136],[10.131710106273683,47.03007593651905],[10.130705085035299,47.07861162544421],[10.210157276244534,47.15830616955267],[10.208581427535876,47.172052842700865],[10.194909802163204,47.23730371456389],[10.175515804959819,47.27083541340971],[10.229522455336305,47.27124282735078],[10.263139502469024,47.28879731342489],[10.345967022921542,47.31822954598765],[10.39470273530341,47.37759933682062],[10.433934189600418,47.38108326198349],[10.435717385282741,47.414262298769295],[10.467386132281675,47.449250152438665],[10.460930568529879,47.48345976455217],[10.432896912747138,47.496085759022996],[10.451606268660269,47.5565158960459],[10.48608214882319,47.541123345902896],[10.49494077517394,47.53982185422103],[10.52170443832089,47.53588526029041],[10.560017708085406,47.53677717184118],[10.59512557590957,47.57045868150772],[10.675179690462913,47.55695507424351],[10.73755124416664,47.5392501933462],[10.760934072815889,47.5203156477209],[10.887521284279195,47.53800568248985],[10.883706183927114,47.480880951846565],[10.929652859498093,47.46875195999207],[10.9807847401356,47.43073584204067],[10.988373470002166,47.396849160997995],[11.013671491602462,47.397086133818576],[11.0525460169938,47.39668393224864],[11.097869829078155,47.39511051066365],[11.202656984421157,47.43460935986391],[11.219479238422403,47.398065066527415],[11.269703523772494,47.398689996725146],[11.288177067823016,47.42777621575619],[11.333259151212076,47.449348710557736],[11.418602198400968,47.44556864007676],[11.388716308988093,47.483158994288885],[11.446498747299188,47.50794729087614],[11.569583796482195,47.5152212776142],[11.597829189077459,47.56857334499714],[11.655378728105196,47.58483975499621],[11.772244891055076,47.59111923429204],[11.844538310587,47.58302152110163],[11.891469151198377,47.60916262349546],[12.009937678897424,47.623915322063155],[12.079529921310117,47.6104586736182],[12.14662968633101,47.609353336492454],[12.175320951558362,47.60160342259396],[12.195595985396162,47.64285407432214],[12.184026980293938,47.65804441718302],[12.180651314626534,47.70120062762335],[12.240330224610581,47.69238467703806],[12.254361683792434,47.679812739802],[12.324310078465027,47.69608147950925],[12.33717443056712,47.6910781928758],[12.437252407684086,47.695932457970244],[12.437942165400903,47.67460365242248],[12.496355889630921,47.62581036913322],[12.522425020996293,47.631461509939584],[12.572213000152678,47.63302734283744],[12.571713210946912,47.60570124217504],[12.650732825987651,47.588739771087816],[12.62535195417081,47.55025842621544],[12.651318336612611,47.53748228560774],[12.662316157261458,47.506781030711906],[12.696777382304528,47.47859809099986],[12.629463336415112,47.465777514603346],[12.629478377239565,47.432807492676346],[12.621757739986972,47.42322767010251],[12.575794307927712,47.39321028987878],[12.542482549397553,47.39875406995694],[12.503274276420276,47.394842678075356],[12.476154094388688,47.368943885527884],[12.492393544557732,47.33812330074012],[12.47549976642619,47.32710774589435],[12.37177067497208,47.31202262451423],[12.33243725497615,47.32923161071505],[12.29368730421171,47.32880364491527],[12.261297429832275,47.302924956931115],[12.25187573191091,47.30867861955565],[12.21616138062162,47.31184493836425],[12.161804090720976,47.30225548421314],[12.11172562405633,47.307158890850715],[12.075754696908119,47.27589522045737],[12.107262767387029,47.24110464334159],[12.0799689120931,47.196434418696505],[12.090447365445778,47.14676824315532],[12.133192576151718,47.08138357679902],[12.017121405985966,47.04778411332054],[11.976302948360514,47.05071756822536],[11.871221080459375,47.010795853416134],[11.761502559228102,46.973467443400445],[11.708564156894194,46.99396640682449],[11.661565928376545,46.99265408144388],[11.62437336198879,47.014017249269244],[11.58707436084756,47.006113145263335
41],[11.535699669879767,46.9847991350959],[11.475939460574509,47.0116969716107],[11.43205135015384,46.974812456332245],[11.398692874663546,46.96569498502723],[11.356262359666182,46.99091703234566],[11.317672499645997,46.993090697138044],[11.24645582377226,46.97489913417677],[11.161450501034402,46.966442235048454],[11.152137670378973,46.93474335229433],[11.112563878850608,46.93220792675269],[11.069056213028512,46.85672201174444],[11.080594534498601,46.82325010558045],[11.033221878969464,46.79460921420747],[11.01914495199923,46.76662828387846],[10.915267525310016,46.77569752888964],[10.880113888722828,46.76356772659452],[10.793090242425658,46.792036941378946],[10.761011171375584,46.823350473631386],[10.69127276896304,46.85287124599388],[10.664533079139378,46.876212266836106],[10.621446193557658,46.865129833771505]]],[[[10.451606268660269,47.5565158960459],[10.43211614062269,47.58434362891172],[10.466845068726881,47.58784816659636],[10.451606268660269,47.5565158960459]]]]}},{"type":"Feature","properties":{"name":"Vorarlberg","id":"AT-8"},"id":"AT-8","geometry":{"type":"MultiPolygon","coordinates":[[[[10.131710106273683,47.03007593651905],[10.15696699113046,46.98447380186136],[10.095380369809417,46.92808123012872],[10.142134531334351,46.85173310139351],[10.084607822663017,46.861924493419814],[9.975045857897188,46.91661377194212],[9.943300382180304,46.91308046235146],[9.873472458173548,46.9358597522813],[9.88595733270574,47.00145701328279],[9.790312411237773,47.03197639952213],[9.705314358299798,47.05355071067595],[9.674611092605879,47.06213107256141],[9.604234693994679,47.06149897975254],[9.63155980599962,47.10181666977854],[9.617737867746301,47.15236918432538],[9.57029884553658,47.17642945369458],[9.581966650939734,47.20529419545041],[9.527906274165764,47.27130446534194],[9.556383781335274,47.30091465843335],[9.585446891637062,47.3182672826373],[9.593511040008812,47.338242925141124],[9.616832692245142,47.363157550504276],[9.646704609417956,47.368168576420665],[9.670737857835704,47.39201317736705],[9.649039609013167,47.409514420679024],[9.656608880410563,47.45210456370628],[9.604408048327947,47.47105056049308],[9.590053123568174,47.4666961752656],[9.559020177329709,47.49735265730645],[9.575891483429718,47.508236233244844],[9.61378241176977,47.514851178860454],[9.637723710860172,47.51902358905906],[9.665000937735615,47.523770376211125],[9.729273360385836,47.53444768379634],[9.752841469113573,47.57288534772455],[9.773109717594943,47.594125549008055],[9.817471623702062,47.588360957551934],[9.826928505743602,47.54525343563684],[9.871652054892266,47.52925971450445],[9.877395933603122,47.54863554637214],[9.962190659269536,47.523721220675526],[9.996688566113756,47.483737773966546],[10.034595458307908,47.489898611763174],[10.101056495934124,47.43122557134696],[10.070795318012706,47.41515218607402],[10.094800257756095,47.360579545574325],[10.097013498573132,47.355482519485925],[10.11650965136806,47.376335070568906],[10.166753684278076,47.3720218050919],[10.19215131666309,47.39008974130895],[10.234189635234534,47.37437608647386],[10.169250645198016,47.279800065458026],[10.175515804959819,47.27083541340971],[10.194909802163204,47.23730371456389],[10.208581427535876,47.172052842700865],[10.210157276244534,47.15830616955267],[10.130705085035299,47.07861162544421],[10.131710106273683,47.03007593651905]]]]}},{"type":"Feature","properties":{"name":"Wien","id":"AT-9"},"id":"AT-9","geometry":{"type":"MultiPolygon","coordinates":[[[[16.362860914712996,48.12936740383815],[16.309429782935833,48.12022714306248],[16.29577743156106,48.126017999864594],[16.226346919323102,48.12784698736299],[16.222751181809326,48.12616536751681],[16.215319946458333,48.12876260702782],[16.22042735257546,48.15387843224085],[16.195198488648696,48.155241722116926],[16.179122869495856,48.17172505807664],[16.20461564491174,48.20303439441751],[16.18239186839708,48.22390134272117],[16.205295593469874,48.264791213360155],[16.253842706615437,48.24057601187154],[16.282784673675316,48.25901822523876],[16.353184316827658,48.284042653322786],[16.360411753940745,48.28299603442784],[16.39239950424916,48.323256351480374],[16.425226930412876,48.32107384619422],[16.471936075452582,48.276008516001454],[16.4994138251528,48.291052237931495],[16.512124331592528,48.28622670147884],[16.54420825354776,48.26369178826104],[16.549971211397587,48.23969285403885],[16.533509707881418,48.177768384145324],[16.574217561105915,48.14513007099916],[16.57325705011586,48.13591277512623],[16.511013602174128,48.1596215500773],[16.43344804359402,48.13867258550262],[16.434246243952863,48.12062596106924],[16.410046375913776,48.118937473447055],[16.38556577135256,48.12606494554488],[16.363113841196046,48.129094678210095],[16.362860914712996,48.12936740383815]]]]}},{"type":"Feature","properties":{"name":"Burgenland","id":"AT-1"},"id":"AT-1","geometry":{"type":"MultiPolygon","coordinates":[[[[16.06292885586225,46.85059656895981],[15.993444557407093,46.8361010228545],[15.999889799681938,46.84759547874293],[16.02063565181343,46.88863061392031],[16.032607364588106,46.893565782674635],[16.051258370533
41102,46.911077148922466],[16.0920023328516,46.93504614362515],[16.092612098137973,46.95473777555299],[16.104969698078822,46.966031480721185],[16.151740961122126,46.99151535103217],[16.142810831509557,47.00050122374456],[16.12793859490346,47.01282713383637],[16.0955744934835,47.061767746088016],[16.08379119127893,47.088540159123625],[16.09200488331858,47.112900947470955],[16.11223706808718,47.13389169512108],[16.106498791610996,47.16748643081477],[16.099793329518068,47.18435125977481],[16.08870982183728,47.199163592268384],[16.090014113418867,47.200610938367774],[16.083734166890213,47.23424160111403],[16.07348043721224,47.27232749291293],[16.071944319118813,47.275387030187574],[16.055664585847495,47.31082316246469],[16.05673238140275,47.315391460800434],[16.031718176228672,47.356307783280435],[16.027430487596547,47.37210245401324],[16.031256102645052,47.372894344310296],[16.02732620577123,47.37998987335984],[16.055967976466043,47.384506814206084],[16.05763297797225,47.38493882757068],[16.081326072415987,47.40985517946214],[16.113357185217723,47.41457019243507],[16.138900969886,47.41820793584231],[16.16225508757511,47.421446209348034],[16.168984537359943,47.42309851780552],[16.204232454542808,47.42534545906766],[16.250379469394755,47.44879197302711],[16.27829728927083,47.45583072325187],[16.31803676050826,47.49440856379773],[16.33689793466329,47.51686862264116],[16.31343312313319,47.54302902159353],[16.310899424541972,47.54343328881605],[16.310379184086287,47.56604267323226],[16.328181570547695,47.59020133838872],[16.34157804623995,47.603496687062126],[16.36972106462448,47.643182430568785],[16.353910123786463,47.680223516491566],[16.32098198217421,47.684020871094084],[16.30626007036071,47.68786961112027],[16.30633345433366,47.69610853538658],[16.292270048199715,47.71600852539431],[16.292853913209843,47.74298347359984],[16.296561008927558,47.76188094970652],[16.29560707465297,47.762426246673286],[16.26596696179286,47.79177241507691],[16.283111982106668,47.812154047917055],[16.312839520214343,47.78528870451298],[16.35197571862428,47.82140801243818],[16.359575179437723,47.82395074491146],[16.374408353813276,47.82801619560718],[16.371726354412612,47.85318242791672],[16.345205623935428,47.86884180661631],[16.379864999603505,47.87697313029638],[16.386112966164124,47.88229641225812],[16.42002654599533,47.90262218974607],[16.449579415505003,47.934958462722626],[16.515899532448145,47.944264537338306],[16.538264510538703,47.920369002731974],[16.571232259949394,47.88696873231212],[16.577502815389312,47.889302841196105],[16.59453528022339,47.90458679138213],[16.605575246026643,47.913049268193646],[16.629303767916955,47.93410193548187],[16.629113866608552,47.934487523744856],[16.637013055109616,47.94663617645925],[16.662417861038595,47.95776385758359],[16.698409667384464,47.974499943912654],[16.699325155015398,48.01234541497467],[16.8224484323827,48.029842217267436],[16.825388139976685,48.029851275277565],[16.871311734331908,48.07304320397352],[16.901505578559604,48.07170756911927],[16.912439984108136,48.0573978763389],[16.966191013958028,48.02688375933133],[16.990966118475157,48.04615674102818],[17.013523461741293,48.07421258671947],[16.995991166528455,48.084821275472564],[16.968312239323314,48.10126385975401],[16.98377462656014,48.112100974566474],[16.99508675688021,48.109778326838715],[17.00437190427233,48.09215768227161],[17.033224294610196,48.0849940261275],[17.0639703389668,48.119372977795],[17.067390953142212,48.05770374615449],[17.072854908075506,48.02824246222237],[17.10728240058563,48.03192458486286],[17.15786908837973,48.00722705356292],[17.09188970442628,47.9715637746233],[17.114213572049977,47.96159564440019],[17.10139670289824,47.899952847634395],[17.075026504657576,47.878239703521594],[17.008422643118024,47.85809103152148],[17.04414003527141,47.82904489461225],[17.067988587955945,47.75064893321053],[17.068491944686123,47.70734546518337],[17.037366782040753,47.70501681009862],[16.956554676862233,47.6934040684487],[16.86885591602544,47.69079982555234],[16.864127728652694,47.72233776522754],[16.825550790348405,47.68343003857542],[16.746249931218795,47.68212465361253],[16.737020305371466,47.69594609890398],[16.718164802359098,47.736029476109195],[16.654397498250383,47.74225112165735],[16.631485811337217,47.75974811334682],[16.61935403324121,47.75793646235263],[16.588171540535217,47.758657291005036],[16.539944205865016,47.74304196274296],[16.534788735311388,47.74069163948882],[16.5336858091214,47.73733785616481],[16.494986821815136,47.70411003711086],[16.44454765373676,47.69700515540072],[16.418762235075995,47.66599463668965],[16.419065734321073,47.66540076884538],[16.447440481309574,47.65649513553265],[16.49504641447893,47.
41640047784040384],[16.513624617929747,47.64607168961034],[16.587467933694693,47.61815920186904],[16.650150250037502,47.622933043767326],[16.660368296847604,47.569398933656224],[16.70282078270522,47.52388678306067],[16.649559959279543,47.50103285908685],[16.6592441398403,47.45639763988556],[16.609024577645982,47.43232726685147],[16.585114694932837,47.423478381971535],[16.572966932473676,47.40705896891354],[16.455909694105863,47.413685371410274],[16.45421358162934,47.367931263774615],[16.430978378251755,47.35361641726944],[16.460229585514284,47.33650737722064],[16.47536651328228,47.27580197324926],[16.42769378317476,47.25105269418027],[16.41411312421021,47.20603833787363],[16.418314416059623,47.197824486953344],[16.45046806412569,47.18882085596126],[16.451514619913517,47.14300862345645],[16.497089227248306,47.12411363545492],[16.461827485158516,47.09965089474552],[16.48450167558544,47.06953996729686],[16.4484602172117,47.04078654143369],[16.489742666748867,47.010867066630965],[16.424683505828202,46.9938368845392],[16.38373849435677,47.00112410683754],[16.34015105970244,46.999794818816234],[16.319681953878646,47.003264715475744],[16.29948484882968,46.999134689026306],[16.29595589732107,47.00677492785637],[16.286511552627722,47.01412270172017],[16.252534754682205,46.96490969573436],[16.20724352130954,46.94320062412089],[16.19475542672988,46.940658521397594],[16.176434891954955,46.907343743319686],[16.089141127913905,46.86528228567972],[16.06292885586225,46.85059656895981]]]]}},{"type":"Feature","properties":{"name":"Kärnten","id":"AT-2"},"id":"AT-2","geometry":{"type":"MultiPolygon","coordinates":[[[[14.431692925911257,46.44365425302772],[14.305342799404816,46.431338016743794],[14.28039112325805,46.444209047511066],[14.234377009537496,46.43292966140553],[14.188290480159955,46.44463875719028],[14.151832852705116,46.43638612801249],[14.108624532282356,46.479516018884404],[14.047936696941981,46.49390231330789],[14.003683669933451,46.482070900703945],[13.972825007641028,46.498978509036355],[13.909152198216141,46.52184892138495],[13.796129488432994,46.50725382920029],[13.6883135349986,46.52171292062461],[13.619081134351674,46.542909931771035],[13.511982045177659,46.54952811507516],[13.50143526403357,46.56701736426058],[13.420670044436319,46.55928901690671],[13.369421917320153,46.57998709766953],[13.319276323709943,46.55392028719338],[13.249993269013684,46.5611940504026],[13.165783664211574,46.589614349290045],[13.084789000801713,46.60197302792549],[13.06781896006076,46.600231131949634],[13.029760059273684,46.596731636449576],[12.93075056680859,46.6104151416533],[12.887392948554197,46.607939085915575],[12.830858429966487,46.61060259950278],[12.773114549599189,46.647408684654124],[12.728569302262331,46.635007776264885],[12.687814998391627,46.657687939565015],[12.708906048803351,46.736370258232114],[12.745381295751143,46.74816493301869],[12.793001465389452,46.75605573563165],[12.807097813753057,46.75699830816364],[12.83840776878861,46.75005145771911],[12.854022169611744,46.76088408544631],[12.896567448024967,46.777562323716694],[12.928609757041915,46.76475736834992],[12.960670629253963,46.79936335184976],[12.904298041316295,46.82338779024406],[12.90264695172511,46.82334499490438],[12.89278121589817,46.82652148783386],[12.838340668011002,46.86169424249905],[12.819009511450858,46.917531662989035],[12.805634318053574,46.92331374882672],[12.790855801946638,46.92719618819176],[12.78359041430831,46.940276760811784],[12.756752974781406,46.95732550566128],[12.73826593135879,46.96970298983289],[12.752064972756102,47.02557638523418],[12.707697515119014,47.04914786384203],[12.654016066248188,47.100231353836485],[12.663320495046412,47.12354691699273],[12.728080438914334,47.13170610856031],[12.736033033360467,47.10102981945141],[12.817464537284497,47.09837715608704],[12.934473141851598,47.07671988824226],[12.950189502492924,47.0499694167178],[12.982537409143534,47.036315422559284],[13.000275721836859,47.04458431950818],[13.070207373241482,47.01412404171541],[13.077521976587828,47.02752186224722],[13.245313561168297,47.05128768878815],[13.274503599910444,47.095862267896415],[13.35170799917132,47.09781536481606],[13.403554866604855,47.06996352363297],[13.424763290456012,47.0820862928719],[13.591419662691269,47.056673264809525],[13.634826979627563,47.056210337271956],[13.683729312368797,47.04052982514287],[13.696406737061356,47.00399643062416],[13.768931487558667,46.97779355575246],[13.781858253483055,46.944566726240176],[13.812548725751137,46.91922079716213],[13.879060825088889,46.91852569455783],[13.94391568309175,46.941339953575834],[13.965353819946968,46.96375750198801],[14.013625887190985,46.989780922491505],[14.07633828851
415274,47.02273881391121],[14.129757610613044,47.06305077344774],[14.158799840554162,47.05312008248935],[14.19962181928544,47.0766044867391],[14.232236104985565,47.02653071848637],[14.234893334266026,47.02906133305401],[14.327397088037056,47.02984590762905],[14.42739604891257,47.00118650442543],[14.4690500355669,47.00841794284422],[14.583124270383646,47.0124232984338],[14.612463774440057,46.998655758835234],[14.624948149152406,47.01428298253796],[14.695861526766844,47.01698773271139],[14.771524903004831,47.04001782848264],[14.841676489061658,47.048805304818195],[14.84417882509954,47.03364454740318],[14.882741006492154,47.01187740670246],[14.964149997281826,46.982472194636294],[15.024207631891255,46.910440804398895],[15.012112493120615,46.881946353479314],[15.005425055975238,46.880570359407294],[15.016832434338669,46.844960815216176],[14.973464266422333,46.785491239529],[14.993871884429375,46.78153279916539],[15.028749900382708,46.746421499326736],[15.039478767649438,46.72158463624366],[15.021723960006229,46.67044019676584],[15.062313842013335,46.65277657493685],[15.013368241990358,46.641529001273476],[14.976576037392586,46.60210463029701],[14.952874555691627,46.63343538070825],[14.920242590075713,46.60395521961447],[14.87686361624382,46.61195597427698],[14.819946564830833,46.53525123161495],[14.815810830087,46.51009850020857],[14.756288397793044,46.50515144573579],[14.711967345197497,46.50065880758124],[14.696326755027028,46.4643026251442],[14.537070079808835,46.41230158735734],[14.443957445302393,46.42230367767151],[14.431692925911257,46.44365425302772]]]]}},{"type":"Feature","properties":{"name":"Niederösterreich","id":"AT-3"},"id":"AT-3","geometry":{"type":"MultiPolygon","coordinates":[[[[16.250379469394755,47.44879197302711],[16.204232454542808,47.42534545906766],[16.168984537359943,47.42309851780552],[16.13519069023434,47.46213595254102],[16.108419408036877,47.52267217535619],[16.084613735772102,47.50785604821462],[16.062303772060602,47.487035116629556],[15.997287113811915,47.516538148561374],[15.955735933816998,47.518553434992604],[15.917716205195124,47.53071767551388],[15.911075331820498,47.53112632814445],[15.902627080805715,47.56050479117799],[15.844224479544629,47.56848860973404],[15.85778105484603,47.617376268322836],[15.837512602790229,47.61880014884725],[15.778544678678688,47.64299940448292],[15.739522772636551,47.642908508568475],[15.72231622717731,47.6471548134285],[15.716360145031679,47.71058281328566],[15.675945114743612,47.69969487804562],[15.63317312259398,47.716120757997125],[15.608925525753648,47.75178605106096],[15.51100145314899,47.74725153227008],[15.503824297663224,47.76849707072922],[15.458173341840908,47.770446655783324],[15.376750891518832,47.82424031724305],[15.343100790488187,47.826458307274905],[15.342419192626412,47.8263742451942],[15.297045639104294,47.8217441428425],[15.286082617985503,47.79187864761831],[15.214516325735632,47.79672841493683],[15.196587995010171,47.75412792009144],[15.132045631353076,47.75870100875711],[15.086457681336192,47.74217222908681],[15.031926069993437,47.75344200233826],[14.970044350325894,47.744303408961784],[14.898419706847834,47.711530267676075],[14.85526693611768,47.7411939788452],[14.815521484791581,47.74490961049843],[14.764254891795062,47.7270126926241],[14.73566808338259,47.749426793777985],[14.70908265136549,47.7907888318586],[14.707199855307106,47.85134395356477],[14.759948034358755,47.87294189127239],[14.766758218261662,47.88031598057858],[14.725084760353196,47.935665590452615],[14.667816193597279,47.93544154897088],[14.646271824385098,47.942846942149735],[14.613423048698143,47.94880206559831],[14.552335912421619,47.98056368741308],[14.489303378556682,48.01155203960905],[14.453328788357997,48.04373968089135],[14.456054223911236,48.07471409261751],[14.45511611401903,48.08939123399559],[14.476249613684136,48.10511664536289],[14.490160602378694,48.11066844412551],[14.46511946673231,48.148296658581444],[14.480047265119381,48.172261697684455],[14.479323305252938,48.17919735664716],[14.47815826291343,48.202624776750156],[14.512754675251516,48.23476123119458],[14.518386993837433,48.238310752577775],[14.55807323829416,48.231687424757496],[14.620464597522956,48.191385824204254],[14.640839520032836,48.17594383171885],[14.685579357914088,48.15799181197546],[14.71249549298957,48.17936993754109],[14.75880317196169,48.178278333262355],[14.7662172367989,48.179814509183586],[14.837515898992754,48.19443533879205],[14.853860494650831,48.21202671893576],[14.882880860379144,48.23345935719385],[14.941654295692935,48.227976825078045],[14.959655590894204,48.2030813602234],[14.9713677938265,48.199533558138796],[14.9493765953804,48.21983256245666],[14.967176679359643,48.246454313680665],[14.989257710600386,48.25662772166145],[14.98229724223215,48.299809064582774],[14.940899818669662,48.324346429341],[14.944696456681836,48.334060909925796],[14.961661862276186,48.37921100464351],[14.95359394767566,48.392005112113246],[14.925412208947593,48.424502749993884],[14.908937674498883,48.43537910048248],[14.874229757250031,48.46507772877569],[14.91817106851184,48.506423610629525],[14.872313402415301,48.528442462549
4101],[14.808355569985297,48.55445214731674],[14.733512866405684,48.553484172246414],[14.688226952664776,48.58500109238852],[14.718354997522574,48.603076705437715],[14.719335904651496,48.63908058379089],[14.720672548060689,48.67639835335183],[14.738011793297394,48.70201358776005],[14.80535366479332,48.734578392881396],[14.826505263821442,48.78118462355596],[14.878515393980718,48.78080325481152],[14.96095802937347,48.76384768746768],[14.96696038109277,48.824599254268456],[14.985075129117067,48.895943317304145],[14.973715380388786,48.956519350294435],[14.995047359971757,48.99265310857604],[15.018951011986436,49.021160570100974],[15.102862904426933,48.996901065404224],[15.15585995053525,48.990604496273136],[15.157467543278031,48.94238199302791],[15.221669314475886,48.960834559976554],[15.258669983287632,48.95461799799502],[15.288251143314094,48.98500701379043],[15.318956553726645,48.97681832333384],[15.364197726131652,48.98257139274837],[15.42675608545628,48.95188253615465],[15.465710717754735,48.95250650920895],[15.510610351038196,48.914811254519044],[15.584317685813051,48.89668056387212],[15.616816384821187,48.896298413540016],[15.68979805612949,48.85622182399376],[15.750881335199988,48.85286553641451],[15.776751556907506,48.87557410899057],[15.824799733754151,48.87173809257282],[15.967289442397114,48.79600999173755],[16.06189523534486,48.75554032964282],[16.086203511193652,48.748515658553934],[16.100111483084625,48.74608853301508],[16.14711359989114,48.74388583401482],[16.220728389706213,48.74079591508512],[16.270246299768875,48.74196866816831],[16.35699545719752,48.72875891866815],[16.425453394516435,48.76333870658652],[16.432228250167324,48.76632072783392],[16.445926809612626,48.80006951889997],[16.53128201340749,48.811517501346984],[16.59046297544054,48.78348303632656],[16.6486497365074,48.78583664445341],[16.679775730542573,48.72877701111707],[16.679817776884818,48.728482535918694],[16.744512212590028,48.73280794703052],[16.757694009288155,48.71748037802902],[16.90288051310717,48.71465362866254],[16.90771280899858,48.67938070352061],[16.925637128813538,48.63957995053511],[16.932088347684548,48.602928166820696],[16.935745550204242,48.5660678099936],[16.918697640430135,48.51646483655429],[16.877946595193354,48.47817228864426],[16.84837565916137,48.43932234589058],[16.859357845974603,48.41826107204193],[16.8394258681644,48.36082317296454],[16.904578010832964,48.327419832777174],[16.897937963088,48.298573169937285],[16.949336383327477,48.25837219940928],[16.959323827464573,48.21818137235134],[16.97334065223632,48.17295812671726],[16.99678075091509,48.15929581523624],[17.059408008536607,48.12371991846312],[17.0639703389668,48.119372977795],[17.033224294610196,48.0849940261275],[17.00437190427233,48.09215768227161],[16.99508675688021,48.109778326838715],[16.98377462656014,48.112100974566474],[16.968312239323314,48.10126385975401],[16.995991166528455,48.084821275472564],[17.013523461741293,48.07421258671947],[16.990966118475157,48.04615674102818],[16.966191013958028,48.02688375933133],[16.912439984108136,48.0573978763389],[16.901505578559604,48.07170756911927],[16.871311734331908,48.07304320397352],[16.825388139976685,48.029851275277565],[16.8224484323827,48.029842217267436],[16.699325155015398,48.01234541497467],[16.698409667384464,47.974499943912654],[16.662417861038595,47.95776385758359],[16.637013055109616,47.94663617645925],[16.629113866608552,47.934487523744856],[16.629303767916955,47.93410193548187],[16.605575246026643,47.913049268193646],[16.59453528022339,47.90458679138213],[16.577502815389312,47.889302841196105],[16.571232259949394,47.88696873231212],[16.538264510538703,47.920369002731974],[16.515899532448145,47.944264537338306],[16.449579415505003,47.934958462722626],[16.42002654599533,47.90262218974607],[16.386112966164124,47.88229641225812],[16.379864999603505,47.87697313029638],[16.345205623935428,47.86884180661631],[16.371726354412612,47.85318242791672],[16.374408353813276,47.82801619560718],[16.359575179437723,47.82395074491146],[16.35197571862428,47.82140801243818],[16.312839520214343,47.78528870451298],[16.283111982106668,47.812154047917055],[16.26596696179286,47.79177241507691],[16.29560707465297,47.762426246673286],[16.296561008927558,47.76188094970652],[16.292853913209843,47.74298347359984],[16.292270048199715,47.71600852539431],[16.30633345433366,47.69610853538658],[16.30626007036071,47.68786961112027],[16.32098198217421,47.684020871094084],[16.353910123786463,47.680223516491566],[16.36972106462448,47.643182430568785],[16.34157804623995,47.603496687062126],[16.328181570547695,47.59020133838872],[16.310379184086287,47.56604267323226],[16.310899424541972,47.54343328881605],[16.31343312313319,47.543029
4102159353],[16.33689793466329,47.51686862264116],[16.31803676050826,47.49440856379773],[16.27829728927083,47.45583072325187],[16.250379469394755,47.44879197302711]],[[16.205295593469874,48.264791213360155],[16.18239186839708,48.22390134272117],[16.20461564491174,48.20303439441751],[16.179122869495856,48.17172505807664],[16.195198488648696,48.155241722116926],[16.22042735257546,48.15387843224085],[16.215319946458333,48.12876260702782],[16.222751181809326,48.12616536751681],[16.226346919323102,48.12784698736299],[16.29577743156106,48.126017999864594],[16.309429782935833,48.12022714306248],[16.362860914712996,48.12936740383815],[16.363113841196046,48.129094678210095],[16.38556577135256,48.12606494554488],[16.410046375913776,48.118937473447055],[16.434246243952863,48.12062596106924],[16.43344804359402,48.13867258550262],[16.511013602174128,48.1596215500773],[16.57325705011586,48.13591277512623],[16.574217561105915,48.14513007099916],[16.533509707881418,48.177768384145324],[16.549971211397587,48.23969285403885],[16.54420825354776,48.26369178826104],[16.512124331592528,48.28622670147884],[16.4994138251528,48.291052237931495],[16.471936075452582,48.276008516001454],[16.425226930412876,48.32107384619422],[16.39239950424916,48.323256351480374],[16.360411753940745,48.28299603442784],[16.353184316827658,48.284042653322786],[16.282784673675316,48.25901822523876],[16.253842706615437,48.24057601187154],[16.205295593469874,48.264791213360155]]]]}},{"type":"Feature","properties":{"name":"Oberösterreich","id":"AT-4"},"id":"AT-4","geometry":{"type":"MultiPolygon","coordinates":[[[[13.691787532748462,47.57998041592989],[13.732654022442613,47.57773034335252],[13.757865107283767,47.5210073854116],[13.74632626158727,47.50232005685372],[13.719754990487411,47.46281999761018],[13.605942430202054,47.47584573560712],[13.602876972006017,47.475896454616894],[13.582856450628059,47.47550827496876],[13.51336171370177,47.49721345287628],[13.47393478304975,47.531024630060806],[13.478469659926446,47.562433763605],[13.51747441347207,47.62388895672504],[13.487057210977767,47.63103549735677],[13.514140817579701,47.67624104126502],[13.548063967268417,47.71482345429212],[13.433469015572669,47.73925871047796],[13.462474874718307,47.7868595313544],[13.532580670419073,47.77684447891034],[13.5266703981245,47.797732246245786],[13.44761088071781,47.804451135674846],[13.395275767028675,47.79860057191996],[13.348156258606874,47.810649045104206],[13.309401296692693,47.8135364131342],[13.290325527302539,47.86446689504523],[13.267308525551996,47.89213552582762],[13.278323565236123,47.90534293936875],[13.27748367233546,47.95542212434089],[13.30473321992954,47.96472179538623],[13.355740647248055,47.940468302241094],[13.360320994161707,47.94478873157334],[13.368852912648117,47.9726880695492],[13.301126898814976,48.00857637935583],[13.209901470411149,47.98317470618085],[13.20707267531659,47.979650150038374],[13.195874250533201,47.974880264576974],[13.142370975421642,47.97505273345684],[13.12144503777586,47.99688921221891],[13.101131942650055,47.997459459925935],[13.09995818793229,47.99826928865161],[13.054856938977494,48.01399941780563],[13.044399891734093,48.027968838524316],[13.044189302795095,48.03806907306838],[13.009492383988002,48.03721884633031],[12.986804806863335,48.02854596229712],[12.936698792726006,48.037115468453756],[12.935265163581597,48.0366690206478],[12.889187330800945,47.991719778098854],[12.857373111808512,47.99734890974755],[12.83118509068697,48.0287719771843],[12.767673450093653,48.06665677116696],[12.747826656014277,48.100304100647094],[12.790346772329324,48.13315744537651],[12.845252918438023,48.16856968273441],[12.870881070167139,48.203182106974296],[12.952378942158441,48.20967364184935],[13.015391671626906,48.25703851753609],[13.061375271190983,48.27004501197854],[13.139822670863945,48.28359704154739],[13.192688191200137,48.296170250328196],[13.25088294137018,48.29386175367304],[13.311682411530184,48.31712769524386],[13.338548653413923,48.33239741106821],[13.341050019387982,48.33418792108856],[13.37125457639638,48.35717518435716],[13.405037671422647,48.37286534715562],[13.417363959519246,48.40073697627005],[13.433191830057275,48.42644131393122],[13.431445079844236,48.44582856081033],[13.436763053259218,48.479597690391955],[13.440462322656579,48.48596381248104],[13.44213347706727,48.528795266536655],[13.47228162522768,48.55669015613033],[13.508662244547365,48.591828028544256],[13.548703234276186,48.57148084298868],[13.638347253103191,48.55319978445303],[13.674360798678439,48.531203739405335],[13.724293960302278,48.51372234135987],[13.761501495250306,48.56131120555194],[13.798201945685692,48.57439244049023],[13.822976306837825,48.619325703855495],[13.814563703814196,48.6594152652378],[13.830810367795081,48.692603328274984],[13.834546973023194,48.700829893613104],[13.818321368921968,48.7552369829344],[13.874166490423294,48.76667507631359],[13.923547047315743,48.73539194920978],[13.973700672480517,48.71179319563461],[14.000496542507,48.70928357147841],[14.055060253195919,48.65843982022575],[14.00777687982591,48.64035473646379],[14.03940102613522,48.613557738746344],[14.092791744772713,48.59293951082102],[14.160742302808048,48.58993624174441],[14.267600759754272,48.58169515407956],[14.330418283185368,48.55252643335807],[14.33862381175925,48.55538478799617],[14.390866619742345,48.57817399588618],[14.440767624693814,48.60484441715599],[14.471901256140397,48.644650018063714],[14.501203068003178,48.617915201286756],[14.552094269195178,48.60645558813764],[14.603578015697249,48.629287997532494],[14.623950449236242,48.60505470425649],[14.688226952664776,48.58500109238852],[14.733512866405684,48.553484172246414],[14.808355569985297,48.55445214731674],[14.872313402415301,48.528442462549
4101],[14.91817106851184,48.506423610629525],[14.874229757250031,48.46507772877569],[14.908937674498883,48.43537910048248],[14.925412208947593,48.424502749993884],[14.95359394767566,48.392005112113246],[14.961661862276186,48.37921100464351],[14.944696456681836,48.334060909925796],[14.940899818669662,48.324346429341],[14.98229724223215,48.299809064582774],[14.989257710600386,48.25662772166145],[14.967176679359643,48.246454313680665],[14.9493765953804,48.21983256245666],[14.9713677938265,48.199533558138796],[14.959655590894204,48.2030813602234],[14.941654295692935,48.227976825078045],[14.882880860379144,48.23345935719385],[14.853860494650831,48.21202671893576],[14.837515898992754,48.19443533879205],[14.7662172367989,48.179814509183586],[14.75880317196169,48.178278333262355],[14.71249549298957,48.17936993754109],[14.685579357914088,48.15799181197546],[14.640839520032836,48.17594383171885],[14.620464597522956,48.191385824204254],[14.55807323829416,48.231687424757496],[14.518386993837433,48.238310752577775],[14.512754675251516,48.23476123119458],[14.47815826291343,48.202624776750156],[14.479323305252938,48.17919735664716],[14.480047265119381,48.172261697684455],[14.46511946673231,48.148296658581444],[14.490160602378694,48.11066844412551],[14.476249613684136,48.10511664536289],[14.45511611401903,48.08939123399559],[14.456054223911236,48.07471409261751],[14.453328788357997,48.04373968089135],[14.489303378556682,48.01155203960905],[14.552335912421619,47.98056368741308],[14.613423048698143,47.94880206559831],[14.646271824385098,47.942846942149735],[14.667816193597279,47.93544154897088],[14.725084760353196,47.935665590452615],[14.766758218261662,47.88031598057858],[14.759948034358755,47.87294189127239],[14.707199855307106,47.85134395356477],[14.70908265136549,47.7907888318586],[14.73566808338259,47.749426793777985],[14.6941683957161,47.76650462689978],[14.643463521446574,47.726160420642856],[14.528885381761471,47.7143019672102],[14.485769844431777,47.682746730614916],[14.441435979634011,47.656118020052254],[14.41805486150295,47.65728031640895],[14.388734994989315,47.636643741682384],[14.323597311082393,47.60825952976716],[14.261611978484815,47.61117896452449],[14.229754900473345,47.651335265305775],[14.202993128424746,47.65324349425967],[14.174786412508292,47.63865431978715],[14.090321147711409,47.620244800293115],[14.04797578242021,47.61786314553959],[14.045938276604826,47.63762832958257],[14.052627135407647,47.66859366683909],[14.007797462698619,47.70159791563943],[13.893114702931202,47.71818645283093],[13.857510045138977,47.7279221891866],[13.774852101100302,47.719032619853486],[13.70505213579654,47.65716240372051],[13.695703979460355,47.60275900602188],[13.691787532748462,47.57998041592989]]]]}},{"type":"Feature","properties":{"name":"Salzburg","id":"AT-5"},"id":"AT-5","geometry":{"type":"MultiPolygon","coordinates":[[[[13.798352103631528,46.951844674621924],[13.781858253483055,46.944566726240176],[13.768931487558667,46.97779355575246],[13.696406737061356,47.00399643062416],[13.683729312368797,47.04052982514287],[13.634826979627563,47.056210337271956],[13.591419662691269,47.056673264809525],[13.424763290456012,47.0820862928719],[13.403554866604855,47.06996352363297],[13.35170799917132,47.09781536481606],[13.274503599910444,47.095862267896415],[13.245313561168297,47.05128768878815],[13.077521976587828,47.02752186224722],[13.070207373241482,47.01412404171541],[13.000275721836859,47.04458431950818],[12.982537409143534,47.036315422559284],[12.950189502492924,47.0499694167178],[12.934473141851598,47.07671988824226],[12.817464537284497,47.09837715608704],[12.736033033360467,47.10102981945141],[12.728080438914334,47.13170610856031],[12.663320495046412,47.12354691699273],[12.654016066248188,47.100231353836485],[12.5894168444659,47.12558674595656],[12.563556470390875,47.136739497405685],[12.48070043046074,47.15855964154146],[12.462736611250595,47.14506846369805],[12.396701690532645,47.15351595995203],[12.360454539252105,47.142098997698724],[12.342795704847681,47.10998476028861],[12.280957414203254,47.09326480647793],[12.237924613286085,47.069884004190115],[12.183138449276436,47.09286179526465],[12.133192576151718,47.08138357679902],[12.090447365445778,47.14676824315532],[12.0799689120931,47.196434418696505],[12.107262767387029,47.24110464334159],[12.075754696908119,47.27589522045737],[12.11172562405633,47.307158890850715],[12.161804090720976,47.30225548421314],[12.21616138062162,47.31184493836425],[12.25187573191091,47.30867861955565],[12.261297429832275,47.302924956931115],[12.29368730421171,47.32880364491527],[12.33243725497615,47.32923161071505],[12.37177067497208,47.31202262451423],[12.47549976642619,47.32710774589435],[12.492393544557732,47.33812330074012],[12.476154094388688,47.368943885527884],[12.503274276420276,47.394842678075356],[12.542482549397553,47.39875406995694],[12.575794307927712,47.39321028987878],[12.621757739986972,47.42322767010251],[12.629478377239565,47.432807492676346],[12.629463336415112,47.465777514603346],[12.696777382304528,47.47859809099986],[12.662316157261458,47.506781030711906],[12.651318336612611,47.53748228560774],[12.62535195417081,47.55025842621544],[12.650732825987651,47.588739771087816],[12.571713210946912,47.60570124217504],[12.572213000152678,47.63302734283744],[12.600584094360492,47.67292687273303],[12.663274400481706,47.681752463021496],[12.742010996435436,47.67647165646622],[12.786886172366993,47.63393170802258],[12.788515205985565,47.5990781803635],[12.776444015382088,47.57999669054089],[12.783545828560367,47.5687317828688],[12.881657514824614,47.513466587663615],[12.929111962535124,47.488461701056174],[12.99824236041834,47.46472201900445],[13.015056978575542,47.4753883664406],[13.043245063668714,47.5212
4112831363364],[13.068698231612442,47.59060827180462],[13.095138628499006,47.634426505171646],[13.075814245585148,47.68867507656984],[13.043132293801934,47.713407424860314],[12.984388964825083,47.708121198638366],[12.930368321934951,47.71025461386205],[12.940655718630108,47.76361507204281],[12.986257062250298,47.83267212381816],[12.998581847888278,47.85510337499348],[12.984790236493808,47.869900339367774],[12.963649379017989,47.90137425902917],[12.936454197863693,47.93736666165952],[12.917879824205455,47.951591297071886],[12.868304939173719,47.96714218663524],[12.857373111808512,47.99734890974755],[12.889187330800945,47.991719778098854],[12.935265163581597,48.0366690206478],[12.936698792726006,48.037115468453756],[12.986804806863335,48.02854596229712],[13.009492383988002,48.03721884633031],[13.044189302795095,48.03806907306838],[13.044399891734093,48.027968838524316],[13.054856938977494,48.01399941780563],[13.09995818793229,47.99826928865161],[13.101131942650055,47.997459459925935],[13.12144503777586,47.99688921221891],[13.142370975421642,47.97505273345684],[13.195874250533201,47.974880264576974],[13.20707267531659,47.979650150038374],[13.209901470411149,47.98317470618085],[13.301126898814976,48.00857637935583],[13.368852912648117,47.9726880695492],[13.360320994161707,47.94478873157334],[13.355740647248055,47.940468302241094],[13.30473321992954,47.96472179538623],[13.27748367233546,47.95542212434089],[13.278323565236123,47.90534293936875],[13.267308525551996,47.89213552582762],[13.290325527302539,47.86446689504523],[13.309401296692693,47.8135364131342],[13.348156258606874,47.810649045104206],[13.395275767028675,47.79860057191996],[13.44761088071781,47.804451135674846],[13.5266703981245,47.797732246245786],[13.532580670419073,47.77684447891034],[13.462474874718307,47.7868595313544],[13.433469015572669,47.73925871047796],[13.548063967268417,47.71482345429212],[13.514140817579701,47.67624104126502],[13.487057210977767,47.63103549735677],[13.51747441347207,47.62388895672504],[13.478469659926446,47.562433763605],[13.47393478304975,47.531024630060806],[13.51336171370177,47.49721345287628],[13.582856450628059,47.47550827496876],[13.561322502595704,47.41877795531392],[13.561746557279987,47.41739787895367],[13.569492539300748,47.39381056606523],[13.596895659286297,47.341409015053536],[13.605134010473964,47.28409682834876],[13.693014143657168,47.26079573074071],[13.709056671941815,47.26021105480682],[13.757832871689208,47.266979618653856],[13.822535502019646,47.29391075928638],[13.86137413022891,47.252877782610945],[13.861939615717835,47.22064419930689],[13.939942624981187,47.16710273135776],[13.99009642683173,47.1429496672736],[13.985012729848352,47.12781112252956],[13.932850541084347,47.13580419887789],[13.875611432150723,47.10107458962025],[13.903967588488547,47.0708202774534],[13.829007172764317,46.96615800830227],[13.798352103631528,46.951844674621924]]]]}},{"type":"Feature","properties":{"name":"Steiermark","id":"AT-6"},"id":"AT-6","geometry":{"type":"MultiPolygon","coordinates":[[[[15.062313842013335,46.65277657493685],[15.021723960006229,46.67044019676584],[15.039478767649438,46.72158463624366],[15.028749900382708,46.746421499326736],[14.993871884429375,46.78153279916539],[14.973464266422333,46.785491239529],[15.016832434338669,46.844960815216176],[15.005425055975238,46.880570359407294],[15.012112493120615,46.881946353479314],[15.024207631891255,46.910440804398895],[14.964149997281826,46.982472194636294],[14.882741006492154,47.01187740670246],[14.84417882509954,47.03364454740318],[14.841676489061658,47.048805304818195],[14.771524903004831,47.04001782848264],[14.695861526766844,47.01698773271139],[14.624948149152406,47.01428298253796],[14.612463774440057,46.998655758835234],[14.583124270383646,47.0124232984338],[14.4690500355669,47.00841794284422],[14.42739604891257,47.00118650442543],[14.327397088037056,47.02984590762905],[14.234893334266026,47.02906133305401],[14.232236104985565,47.02653071848637],[14.19962181928544,47.0766044867391],[14.158799840554162,47.05312008248935],[14.129757610613044,47.06305077344774],[14.07633828851
415274,47.02273881391121],[14.013625887190985,46.989780922491505],[13.965353819946968,46.96375750198801],[13.94391568309175,46.941339953575834],[13.879060825088889,46.91852569455783],[13.812548725751137,46.91922079716213],[13.781858253483055,46.944566726240176],[13.798352103631528,46.951844674621924],[13.829007172764317,46.96615800830227],[13.903967588488547,47.0708202774534],[13.875611432150723,47.10107458962025],[13.932850541084347,47.13580419887789],[13.985012729848352,47.12781112252956],[13.99009642683173,47.1429496672736],[13.939942624981187,47.16710273135776],[13.861939615717835,47.22064419930689],[13.86137413022891,47.252877782610945],[13.822535502019646,47.29391075928638],[13.757832871689208,47.266979618653856],[13.709056671941815,47.26021105480682],[13.693014143657168,47.26079573074071],[13.605134010473964,47.28409682834876],[13.596895659286297,47.341409015053536],[13.569492539300748,47.39381056606523],[13.561746557279987,47.41739787895367],[13.561322502595704,47.41877795531392],[13.582856450628059,47.47550827496876],[13.602876972006017,47.475896454616894],[13.605942430202054,47.47584573560712],[13.719754990487411,47.46281999761018],[13.74632626158727,47.50232005685372],[13.757865107283767,47.5210073854116],[13.732654022442613,47.57773034335252],[13.691787532748462,47.57998041592989],[13.695703979460355,47.60275900602188],[13.70505213579654,47.65716240372051],[13.774852101100302,47.719032619853486],[13.857510045138977,47.7279221891866],[13.893114702931202,47.71818645283093],[14.007797462698619,47.70159791563943],[14.052627135407647,47.66859366683909],[14.045938276604826,47.63762832958257],[14.04797578242021,47.61786314553959],[14.090321147711409,47.620244800293115],[14.174786412508292,47.63865431978715],[14.202993128424746,47.65324349425967],[14.229754900473345,47.651335265305775],[14.261611978484815,47.61117896452449],[14.323597311082393,47.60825952976716],[14.388734994989315,47.636643741682384],[14.41805486150295,47.65728031640895],[14.441435979634011,47.656118020052254],[14.485769844431777,47.682746730614916],[14.528885381761471,47.7143019672102],[14.643463521446574,47.726160420642856],[14.6941683957161,47.76650462689978],[14.73566808338259,47.749426793777985],[14.764254891795062,47.7270126926241],[14.815521484791581,47.74490961049843],[14.85526693611768,47.7411939788452],[14.898419706847834,47.711530267676075],[14.970044350325894,47.744303408961784],[15.031926069993437,47.75344200233826],[15.086457681336192,47.74217222908681],[15.132045631353076,47.75870100875711],[15.196587995010171,47.75412792009144],[15.214516325735632,47.79672841493683],[15.286082617985503,47.79187864761831],[15.297045639104294,47.8217441428425],[15.342419192626412,47.8263742451942],[15.343100790488187,47.826458307274905],[15.376750891518832,47.82424031724305],[15.458173341840908,47.770446655783324],[15.503824297663224,47.76849707072922],[15.51100145314899,47.74725153227008],[15.608925525753648,47.75178605106096],[15.63317312259398,47.716120757997125],[15.675945114743612,47.69969487804562],[15.716360145031679,47.71058281328566],[15.72231622717731,47.6471548134285],[15.739522772636551,47.642908508568475],[15.778544678678688,47.64299940448292],[15.837512602790229,47.61880014884725],[15.85778105484603,47.617376268322836],[15.844224479544629,47.56848860973404],[15.902627080805715,47.56050479117799],[15.911075331820498,47.53112632814445],[15.917716205195124,47.53071767551388],[15.955735933816998,47.518553434992604],[15.997287113811915,47.516538148561374],[16.062303772060602,47.487035116629556],[16.084613735772102,47.50785604821462],[16.108419408036877,47.52267217535619],[16.13519069023434,47.46213595254102],[16.168984537359943,47.42309851780552],[16.16225508757511,47.421446209348034],[16.138900969886,47.41820793584231],[16.113357185217723,47.41457019243507],[16.081326072415987,47.40985517946214],[16.05763297797225,47.38493882757068],[16.055967976466043,47.384506814206084],[16.02732620577123,47.37998987335984],[16.031256102645052,47.372894344310296],[16.027430487596547,47.37210245401324],[16.031718176228672,47.356307783280435],[16.05673238140275,47.315391460800434],[16.055664585847495,47.31082316246469],[16.071944319118813,47.275387030187574],[16.07348043721224,47.27232749291293],[16.083734166890213,47.23424160111403],[16.090014113418867,47.200610938367774],[16.08870982183728,47.199163592268384],[16.099793329518068,47.18435125977481],[16.106498791610996,47.16748643081477],[16.11223706808718,47.13389169512108],[16.09200488331858,47.112900947470955],[16.08379119127893,47.088540159123625],[16.0955744934835,47.061767746088016],[16.12793859490346,47.01282713383637],[16.142810831509557,47.00050122374456],[16.151740961122126,46.99151535103217],[16.104969698078822,46.966031480721185],[16.092612098137973,46.95473777555299],[16.0920023328516,46.93504614362515],[16.051258370533
41102,46.911077148922466],[16.032607364588106,46.893565782674635],[16.02063565181343,46.88863061392031],[15.999889799681938,46.84759547874293],[15.993444557407093,46.8361010228545],[15.990246335972122,46.80503827011241],[15.991074058234284,46.731309120135435],[15.998980769151713,46.67913941001775],[15.944271763223398,46.6897696212966],[15.874362255140666,46.72037419163835],[15.827678233311913,46.72235674188238],[15.749649088414047,46.69867313405675],[15.671143464648242,46.70769892036839],[15.611752080737702,46.6828740150043],[15.567357317663744,46.68161490896958],[15.543483174661946,46.67085858678629],[15.540751620293973,46.6329194776281],[15.47005564365718,46.61270289994332],[15.446856573597634,46.64304530357307],[15.38009834434934,46.652329541572676],[15.305197043876301,46.6531438691042],[15.23311517595507,46.64009200845612],[15.179858196910967,46.65672814158692],[15.062313842013335,46.65277657493685]]]]}}]'),_4={type:p4,name:m4,features:b4};class se{constructor(e){Object.defineProperty(this,"_value",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._value=e}get value(){return this._value/100}get percent(){return this._value}toString(){return""+this._value+"%"}interpolate(e,t){return e+this.value*(t-e)}static normalize(e,t,i){return e instanceof se?e:t===i?new se(0):new se(Math.min(Math.max((e-t)*(1/(i-t)),0),1)*100)}}function We(s){return new se(s)}We(0);const X=We(100),ae=We(50);function sl(s){return s instanceof se}function Xt(s){return Number(s)!==s}function v4(s){return{}.toString.call(s)}function xt(s){if(s!=null&&!F(s)){let e=Number(s);return Xt(e)&&Li(s)&&s!=""&&s.match(/[0-9]+/)?xt(s.replace(/[^0-9.\-]+/g,"")):e}return s}function y4(s){if(Wa(s))return new Date(s);if(F(s))return new Date(s);{let e=Number(s);return F(e)?new Date(e):new Date(s)}}function E1(s){if(Xt(s))return"NaN";if(s===1/0)return"Infinity";if(s===-1/0)return"-Infinity";if(s===0&&1/s===-1/0)return"-0";let e=s<0;s=Math.abs(s);let t=/^([0-9]+)(?:\.([0-9]+))?(?:e[\+\-]([0-9]+))?$/.exec(""+s),i=t[1],r=t[2]||"",n;if(t[3]===void 0)n=r===""?i:i+"."+r;else{let a=+t[3];if(s<1){let o=a-1;n="0."+al("0",o)+i+r}else{let o=a-r.length;o===0?n=i+r:o<0?n=i+r.slice(0,o)+"."+r.slice(o):n=i+r+al("0",o)}}return e?"-"+n:n}function al(s,e){return new Array(e+1).join(s)}function Wa(s){return v4(s)==="[object Date]"}function Li(s){return typeof s=="string"}function F(s){return typeof s=="number"&&Number(s)==s}function yn(s){return typeof s=="object"&&s!==null}const _i="__§§§__",Qi="__§§§§__";function Kr(s,e){const t=s.length;for(let i=0;i<t;++i)if(s[i]===e)return i;return-1}function w4(s,e){const t=s.length;for(let i=0;i<t;++i)if(e(s[i]))return!0;return!1}function qa(s,e){const t=s.length,i=new Array(t);for(let r=0;r<t;++r)i[r]=e(s[r],r);return i}function I(s,e){const t=s.length;for(let i=0;i<t;++i)e(s[i],i)}function Ur(s,e){let t=s.length;for(;t>0;)--t,e(s[t],t)}function Lo(s,e){const t=s.length;for(let i=0;i<t&&e(s[i],i);++i);}function x4(s,e){const t=e.length;for(let i=0;i<t;++i)s.push(e[i])}function kt(s,e){let t=!1,i=0;for(;;){if(i=s.indexOf(e,i),i===-1)return t;t=!0,s.splice(i,1)}}function qe(s,e){let t=s.indexOf(e);return t!==-1?(s.splice(t,1),!0):!1}function Jr(s,e,t){let i=Kr(s,e);i!==-1&&Ka(s,i),s.push(e)}function Qr(s,e){s.indexOf(e)===-1&&s.push(e)}function Za(s){const e=s.length,t=new Array(e);for(let i=0;i<e;++i)t[i]=s[i];return t}function Ma(s,e,t){s.splice(e,0,t)}function Ka(s,e){s.splice(e,1)}function M1(s,e){const t=s.length;for(let i=0;i<t;++i)if(e(s[i],i))return i;return-1}function P4(s,e){let t=s.length;for(;t>0;)if(--t,e(s[t],t))return t;return-1}function Ro(s,e){const t=M1(s,e);if(t!==-1)return s[t]}function k4(s,e){const t=P4(s,e);if(t!==-1)return s[t]}function T4(s,e){let t=0,i=s.length,r=!1;for(;t<i;){const n=t+i>>1,a=e(s[n]);a<0?t=n+1:a===0?(r=!0,t=n+1):i=n}return{found:r,index:r?t-1:t}}function D4(s,e){let t=0,i=s.length,r=!1;for(;t<i;){const n=t+i>>1,a=e(s[n]);a<0?t=n+1:(a===0&&(r=!0),i=n)}return{found:r,index:t}}function ya(s,e){let t=s.length;for(;t>0;)--t,e(s[t])||s.splice(t,1)}function Ce(s){return Object.keys(s)}function S4(s,e){return Ce(s).sort(e)}function Lr(s){return Object.assign({},s)}
41function he(s,e){Ce(s).forEach(t=>{e(t,s[t])})}function O4(s,e){for(let t in s)if(A4(s,t)&&!e(t,s[t]))break}function A4(s,e){return{}.hasOwnProperty.call(s,e)}function C4(s,e){return he(s,(t,i)=>{i!=null&&e[t]==null&&(e[t]=i)}),e}class Io{constructor(){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}}class Ye{constructor(e){Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dispose",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposed=!1,this._dispose=e}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}}class E4 extends Io{constructor(){super(...arguments),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]})}_dispose(){I(this._disposers,e=>{e.dispose()})}}class nt extends Io{constructor(e){super(),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._disposers=e}_dispose(){I(this._disposers,e=>{e.dispose()})}get disposers(){return this._disposers}}class L1 extends Ye{constructor(){super(...arguments),Object.defineProperty(this,"_counter",{enumerable:!0,configurable:!0,writable:!0,value:0})}increment(){return++this._counter,new Ye(()=>{--this._counter,this._counter===0&&this.dispose()})}}function M4(s){s.parentNode&&s.parentNode.removeChild(s)}function Me(s,e,t,i){return s.addEventListener(e,t,i||!1),new Ye(()=>{s.removeEventListener(e,t,i||!1)})}function R1(s){return Me(window,"resize",e=>{s()})}function ti(s){switch(s){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function La(s){return s.pointerId||0}function L4(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let s=document.createElement("button");s.style.position="fixed",s.style.top="0px",s.style.left="-10000px",document.body.appendChild(s),s.focus(),s.blur(),document.body.removeChild(s)}}function R4(s){s&&s.focus()}function Ja(s){if(ti("pointerevents"))return s;if(ti("touchevents"))switch(s){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(ti("mouseevents"))switch(s){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return s}function Qa(s){if(typeof Touch<"u"&&s instanceof Touch)return!0;if(typeof PointerEvent<"u"&&s instanceof PointerEvent&&s.pointerType!=null)switch(s.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(s instanceof MouseEvent)}else if(s.type!=null&&s.type.match(/^mouse/))return!1;return!0}function An(s,e,t){s.style[e]=t}function I4(s,e){return s.style[e]}function I1(s){if(s.composedPath){const e=s.composedPath();return e.length===0?null:e[0]}else return s.target}function B4(s,e){let t=e;for(;;){if(s===t)return!0;if(t.parentNode===null){if(t.host==null)return!1;t=t.host}else t=t.parentNode}}function wa(s,e){return s.target&&B4(e.root.dom,s.target)}function Ki(s,e){e?s.style.pointerEvents="auto":s.style.pointerEvents="none"}function Rr(s){if(s.key!==void 0)return s.key;switch(s.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+s.keyCode}function j4(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}
41function F4(){return j4()?1:void 0}function Le(s,e){return F(s)?s:s!=null&&F(s.value)&&F(e)?e*s.value:0}function B1(s){let e=(""+s).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return e?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}function Fe(s,e=0,t="0"){return typeof s!="string"&&(s=s.toString()),e>s.length?Array(e-s.length+1).join(t)+s:s}function z4(s){return s.replace(/^[\s]*/,"")}function N4(s){return s.replace(/[\s]*$/,"")}function nr(s){return z4(N4(s))}function $4(s,e,t=!1,i="..."){if(s.length>e){let r=e-1;for(;r>=0&&s.charAt(r).match(/\w/);)r--;return r>=0&&t==!1?s.substring(0,r+1)+"...":s.substring(0,e)+i}else return s}function Bo(s){return s.replace(/\/(date|number|duration)$/i,"")}function ol(s){return s&&s.replace(/<[^>]*>/g,"")}function ll(s){return s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function V4(s){const e=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,t=/([^اأدذرزو]*[اأدذرزو])/gi;let i=s.split(/(\s+)/),r=[];return i.forEach(n=>{if(n.match(/^\s+$/))(n=" ")&&(n="  "),r.push(n);else if(e.test(n)){let a=n.split(t).filter(o=>o!=="");r=r.concat(a)}else r=r.concat([...n])}),r}function ul(s,e=!1){const t=new Date(s.getFullYear(),0,0),i=s.getTime()-t.getTime()+(t.getTimezoneOffset()-s.getTimezoneOffset())*60*1e3,r=1e3*60*60*24;return Math.floor(i/r)}function Ms(s,e=!1){const t=new Date(Date.UTC(s.getFullYear(),s.getMonth(),s.getDate())),i=t.getUTCDay()||7;t.setUTCDate(t.getUTCDate()+4-i);const r=new Date(Date.UTC(t.getUTCFullYear(),0,1));return Math.ceil(((t.getTime()-r.getTime())/864e5+1)/7)}function Y4(s,e=!1){const t=new Date(Date.UTC(s.getFullYear(),s.getMonth(),s.getDate())),i=t.getUTCDay()||7;return t.setUTCDate(t.getUTCDate()+4-i),new Date(Date.UTC(t.getUTCFullYear(),0,1)).getFullYear()}function H4(s,e=!1){const t=Ms(new Date(s.getFullYear(),s.getMonth(),1),e);let i=Ms(s,e);return i==1&&(i=53),i-t+1}function X4(s,e,t=1,i=!1){let r=new Date(e,0,4,0,0,0,0);return i&&r.setUTCFullYear(e),s*7+t-((r.getDay()||7)+3)}function Cn(s,e){return s>12?s-=12:s===0&&(s=12),e!=null?s+(e-1):s}function En(s,e=!1,t=!1,i=!1,r){if(i)return e?"Coordinated Universal Time":"UTC";if(r){const o=s.toLocaleString("en-US",{timeZone:r}),l=s.toLocaleString("en-US",{timeZone:r,timeZoneName:e?"long":"short"});return nr(l.substr(o.length))}let n=s.toLocaleString("UTC"),a=s.toLocaleString("UTC",{timeZoneName:e?"long":"short"}).substr(n.length);return t===!1&&(a=a.replace(/ (standard|daylight|summer|winter) /i," ")),nr(a)}function G4(s,e){const t=e||new Date(Date.UTC(2012,0,1,0,0,0,0)),i=new Date(t.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(t.toLocaleString("en-US",{timeZone:s})).getTime()-i.getTime())/6e4*-1}function cl(s){return s.charAt(0).toUpperCase()+s.slice(1)}function j1(s){let e,t,i,r=s.h,n=s.s,a=s.l;if(n==0)e=t=i=a;else{let o=function(h,f,d){return d<0&&(d+=1),d>1&&(d-=1),d<.16666666666666666?h+(f-h)*6*d:d<.5?f:d<.6666666666666666?h+(f-h)*(.6666666666666666-d)*6:h},l=a<.5?a*(1+n):a+n-a*n,u=2*a-l;e=o(u,l,r+1/3),t=o(u,l,r),i=o(u,l,r-1/3)}return{r:Math.round(e*255),g:Math.round(t*255),b:Math.round(i*255)}}function F1(s){let e=s.r/255,t=s.g/255,i=s.b/255,r=Math.max(e,t,i),n=Math.min(e,t,i),a=0,o=0,l=(r+n)/2;if(r===n)a=o=0;else{let u=r-n;switch(o=l>.5?u/(2-r-n):u/(r+n),r){case e:a=(t-i)/u+(t<i?6:0);break;case t:a=(i-e)/u+2;break;case i:a=(e-t)/u+4;break}a/=6}return{h:a,s:o,l}}function U4(s,e){return s&&{r:Math.max(0,Math.min(255,s.r+Os(s.r,e))),g:Math.max(0,Math.min(255,s.g+Os(s.g,e))),b:Math.max(0,Math.min(255,s.b+Os(s.b,e))),a:s.a}}function Os(s,e){let t=e>0?255-s:s;return Math.round(t*e)}function W4(s,e){if(s){let t=Math.min(Math.max(s.r,s.g,s.b),230),i=Os(t,e);return{r:Math.max(0,Math.min(255,Math.round(s.r+i))),g:Math.max(0,Math.min(255,Math.round(s.g+i))),b:Math.max(0,Math.min(255,Math.round(s.b+i))),a:s.a}}else return s}function hl(s){return(s.r*299+s.g*587+s.b*114)/1e3>=128}function q4(s,e){if(s===void 0||e==1)return s;let t=F1(s);return t.s=e,j1(t)}function Z4(s,e={r:255,g:255,b:255},t={r:255,g:255,b:255}){let i=e,r=t;return hl(t)&&(i=t,r=e),hl(s)?r:i}function ue(s,e){return s||(s=[]),[...s,...e].filter((t,i,r)=>r.indexOf(t)===i)}function jo(s,e){return!(!e||s.left!=e.left||s.right!=e.right||s.top!=e.top||s.bottom!=e.bottom)}function z1(s){return s[0]==="#"&&(s=s.substr(1)),s.length==3&&(s=s[0].repeat(2)+s[1].repeat(2)+s[2].repeat(2)),parseInt(s,16)}function K4(s){s=s.replace(/[ ]/g,"");let e=s.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(e)e.push("1");else if(e=s.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!e)return 0;let t="";for(let i=1;i<=3;i++){let r=parseInt(e[i]).toString(16);r.length==1&&(r="0"+r),t+=r}return z1(t)}function U(s){return J.fromAny(s)}class J{constructor(e){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=e|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(e=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+e+")"}toCSSHex(){return"#"+Fe(this.r.toString(16),2)+Fe(this.g.toString(16),2)+Fe(this.b.toString(16),2)}toHSL(e=1){return F1({r:this.r,g:this.g,b:this.b})}static fromHSL(e,t,i){const r=j1({h:e,s:t,l:i});return this.fromRGB(r.r,r.g,r.b)}toString(){return this.toCSSHex()}
41static fromHex(e){return new J(e)}static fromRGB(e,t,i){return new J((i|0)+(t<<8)+(e<<16))}static fromString(e){return new J(z1(e))}static fromCSS(e){return new J(K4(e))}static fromAny(e){if(Li(e)){if(e[0]=="#")return J.fromString(e);if(e.substr(0,3)=="rgb")return J.fromCSS(e)}else{if(F(e))return J.fromHex(e);if(e instanceof J)return J.fromHex(e.hex)}throw new Error("Unknown color syntax: "+e)}static alternative(e,t,i){const r=Z4({r:e.r,g:e.g,b:e.b},t?{r:t.r,g:t.g,b:t.b}:void 0,i?{r:i.r,g:i.g,b:i.b}:void 0);return this.fromRGB(r.r,r.g,r.b)}static interpolate(e,t,i,r="rgb"){if(r=="hsl"){const n=t.toHSL(),a=i.toHSL();return J.fromHSL(di(e,n.h,a.h),di(e,n.s,a.s),di(e,n.l,a.l))}else return J.fromRGB(di(e,t.r,i.r),di(e,t.g,i.g),di(e,t.b,i.b))}static lighten(e,t){const i=U4({r:e.r,g:e.g,b:e.b},t);return J.fromRGB(i.r,i.g,i.b)}static brighten(e,t){const i=W4({r:e.r,g:e.g,b:e.b},t);return J.fromRGB(i.r,i.g,i.b)}static saturate(e,t){const i=q4({r:e.r,g:e.g,b:e.b},t);return J.fromRGB(i.r,i.g,i.b)}}class yr{constructor(){Object.defineProperty(this,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_killed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_iterating",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_enabled",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._listeners=[],this._killed=[],this._disabled={},this._iterating=0,this._enabled=!0,this._disposed=!1}isDisposed(){return this._disposed}dispose(){if(!this._disposed){this._disposed=!0;const e=this._listeners;this._iterating=1,this._listeners=null,this._disabled=null;try{I(e,t=>{t.disposer.dispose()})}finally{this._killed=null,this._iterating=null}}}hasListeners(){return this._listeners.length!==0}hasListenersByType(e){return w4(this._listeners,t=>(t.type===null||t.type===e)&&!t.killed)}enable(){this._enabled=!0}disable(){this._enabled=!1}enableType(e){delete this._disabled[e]}disableType(e,t=1/0){this._disabled[e]=t}_removeListener(e){if(this._iterating===0){const t=this._listeners.indexOf(e);if(t===-1)throw new Error("Invalid state: could not remove listener");this._listeners.splice(t,1)}else this._killed.push(e)}_removeExistingListener(e,t,i,r){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(n=>{n.once===e&&n.type===t&&(i===void 0||n.callback===i)&&n.context===r&&n.disposer.dispose()})}isEnabled(e){if(this._disposed)throw new Error("EventDispatcher is disposed");return this._enabled&&this._listeners.length>0&&this.hasListenersByType(e)&&this._disabled[e]===void 0}removeType(e){if(this._disposed)throw new Error("EventDispatcher is disposed");this._eachListener(t=>{t.type===e&&t.disposer.dispose()})}has(e,t,i){return M1(this._listeners,n=>n.once!==!0&&n.type===e&&(t===void 0||n.callback===t)&&n.context===i)!==-1}_shouldDispatch(e){if(this._disposed)throw new Error("EventDispatcher is disposed");const t=this._disabled[e];return F(t)?(t<=1?delete this._disabled[e]:--this._disabled[e],!1):this._enabled}_eachListener(e){++this._iterating;try{I(this._listeners,e)}finally{--this._iterating,this._iterating===0&&this._killed.length!==0&&(I(this._killed,t=>{this._removeListener(t)}),this._killed.length=0)}}dispatch(e,t){this._shouldDispatch(e)&&this._eachListener(i=>{!i.killed&&(i.type===null||i.type===e)&&i.dispatch(e,t)})}_on(e,t,i,r,n,a){if(this._disposed)throw new Error("EventDispatcher is disposed");this._removeExistingListener(e,t,i,r);const o={type:t,callback:i,context:r,shouldClone:n,dispatch:a,killed:!1,once:e,disposer:new Ye(()=>{o.killed=!0,this._removeListener(o)})};return this._listeners.push(o),o}onAll(e,t,i=!0){return this._on(!1,null,e,t,i,(r,n)=>e.call(t,n)).disposer}on(e,t,i,r=!0){return this._on(!1,e,t,i,r,(n,a)=>t.call(i,a)).disposer}once(e,t,i,r=!0){const n=this._on(!0,e,t,i,r,(a,o)=>{n.disposer.dispose(),t.call(i,o)});return n.disposer}off(e,t,i){this._removeExistingListener(!1,e,t,i)}copyFrom(e){if(this._disposed)throw new Error("EventDispatcher is disposed");if(e===this)throw new Error("Cannot copyFrom the same TargetedEventDispatcher");const t=[];return I(e._listeners,i=>{!i.killed&&i.shouldClone&&(i.type===null?t.push(this.onAll(i.callback,i.context)):i.once?t.push(this.once(i.type,i.callback,i.context)):t.push(this.on(i.type,i.callback,i.context)))}),new nt(t)}}function dl(s){return Ne(this,void 0,void 0,function*(){if(s!==void 0){const e=[];he(s,(t,i)=>{e.push(i.waitForStop())}),yield Promise.all(e)}})}function di(s,e,t){return e+s*(t-e)}function J4(s,e,t){return s>=1?t:e}function N1(s,e,t){return new se(di(s,e.percent,t.percent))}function Q4(s,e,t){return J.interpolate(s,e,t)}function e2(s,e){return typeof s=="number"&&typeof e=="number"?di:s instanceof se&&e instanceof se?N1:s instanceof J&&e instanceof J?Q4:J4}var Ai;(function(s){s[s.Stopped=0]="Stopped",s[s.Playing=1]="Playing",s[s.Paused=2]="Paused"})(Ai||(Ai={}));function kr(s,e){if(!(s>=0&&s<e))throw new Error("Index out of bounds: "+s)}class wr{constructor(e=[]){Object.defineProperty(this,"_values",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new yr}),this._values=e}get values(){return this._values}contains(e){return this._values.indexOf(e)!==-1}removeValue(e){let t=0,i=this._values.length;for(;t<i;)this._values[t]===e?(this.removeIndex(t),--i):++t}indexOf(e){return Kr(this._values,e)}get length(){return this._values.length}hasIndex(e){return e>=0&&e<this._values.length}getIndex(e){return this._values[e]}_onPush(e){this.events.isEnabled("push")&&this.events.dispatch("push",{type:"push",target:this,newValue:e})}_onInsertIndex(e,t){this.events.isEnabled("insertIndex")&&this.events.dispatch("insertIndex",{type:"insertIndex",target:this,index:e,newValue:t})}_onSetIndex(e,t,i){this.events.isEnabled("setIndex")&&this.events.dispatch("setIndex",{type:"setIndex",target:this,index:e,oldValue:t,newValue:i})}_onSwap(e,t){this.events.isEnabled("swap")&&this.events.dispatch("swap",{type:"swap",target:this,a:e,b:t})}_onRemoveIndex(e,t){this.events.isEnabled("removeIndex")&&this.events.dispatch("removeIndex",{type:"removeIndex",target:this,index:e,oldValue:t})}_onMoveIndex(e,t,i){this.events.isEnabled("moveIndex")&&this.events.dispatch("moveIndex",{type:"moveIndex",target:this,oldIndex:e,newIndex:t,value:i})}_onClear(e){this.events.isEnabled("clear")&&this.events.dispatch("clear",{type:"clear",target:this,oldValues:e})}setIndex(e,t){kr(e,this._values.length);const i=this._values[e];return i!==t&&(this._values[e]=t,this._onSetIndex(e,i,t)),i}insertIndex(e,t){return kr(e,this._values.length+1),Ma(this._values,e,t),this._onInsertIndex(e,t),t}swap(e,t){const i=this._values.length;if(kr(e,i),kr(t,i),e!==t){const r=this._values[e],n=this._values[t];this._values[e]=n,this._values[t]=r,this._onSwap(r,n)}}removeIndex(e){kr(e,this._values.length);const t=this._values[e];return Ka(this._values,e),this._onRemoveIndex(e,t),t}moveValue(e,t){let i=this.indexOf(e);if(i!==-1)if(Ka(this._values,i),t==null){const r=this._values.length;this._values.push(e),this._onMoveIndex(i,r,e)}else Ma(this._values,t,e),this._onMoveIndex(i,t,e);else t==null?(this._values.push(e),this._onPush(e)):(Ma(this._values,t,e),this._onInsertIndex(t,e));return e}push(e){return this._values.push(e),this._onPush(e),e}unshift(e){return this.insertIndex(0,e),e}pushAll(e){I(e,t=>{this.push(t)})}copyFrom(e){this.pushAll(e._values)}pop(){return this._values.length-1<0?void 0:this.removeIndex(this._values.length-1)}shift(){return this._values.length?this.removeIndex(0):void 0}setAll(e){const t=this._values;this._values=[],this._onClear(t),I(e,i=>{this._values.push(i),this._onPush(i)})}clear(){this.setAll([])}*[Symbol.iterator](){const e=this._values.length;for(let t=0;t<e;++t)yield this._values[t]}each(e){I(this._values,e)}eachReverse(e){Ur(this._values,e)}}class Ls extends wr{constructor(){super(...arguments),Object.defineProperty(this,"autoDispose",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1})}swap(e,t){const i=this.autoDispose;this.autoDispose=!1,super.swap(e,t),this.autoDispose=i}_onSetIndex(e,t,i){this.autoDispose&&t.dispose(),super._onSetIndex(e,t,i)}_onRemoveIndex(e,t){this.autoDispose&&t.dispose(),super._onRemoveIndex(e,t)}_onClear(e){this.autoDispose&&I(e,t=>{t.dispose()}),super._onClear(e)}_dispose(){this.autoDispose&&I(this._values,e=>{e.dispose()})}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}}class He extends Ls{constructor(e,t){super(),Object.defineProperty(this,"template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"make",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.template=e,this.make=t}_dispose(){super._dispose(),this.autoDispose&&this.template.dispose()}}class t2 extends wr{constructor(e){super(),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_events",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._container=e,this._events=this.events.onAll(t=>
41{if(t.type==="clear")I(t.oldValues,i=>{this._onRemoved(i)});else if(t.type==="push")this._onInserted(t.newValue);else if(t.type==="setIndex")this._onRemoved(t.oldValue),this._onInserted(t.newValue,t.index);else if(t.type==="insertIndex")this._onInserted(t.newValue,t.index);else if(t.type==="removeIndex")this._onRemoved(t.oldValue);else if(t.type==="moveIndex")this._onRemoved(t.value),this._onInserted(t.value,t.newIndex);else throw new Error("Unknown IListEvent type")})}_onInserted(e,t){e._setParent(this._container,!0);const i=this._container._childrenDisplay;t===void 0?i.addChild(e._display):i.addChildAt(e._display,t)}_onRemoved(e){this._container._childrenDisplay.removeChild(e._display),this._container.markDirtyBounds(),this._container.markDirty()}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._events.dispose(),I(this.values,e=>{e.dispose()}))}}const $1=Math.PI,en=$1/180,Wr=180/$1;function Oe(s,e,t){if(!F(e)||e<=0)return Math.round(s);{let i=Math.pow(10,e);return Math.round(s*i)/i}}function i2(s,e){if(!F(e)||e<=0)return Math.ceil(s);{let t=Math.pow(10,e);return Math.ceil(s*t)/t}}function Ae(s,e,t){return Math.min(Math.max(s,e),t)}function St(s){return Math.sin(en*s)}function Vt(s){return Math.cos(en*s)}function Fo(s){return s=s%360,s<0&&(s+=360),s}function eo(s,e,t,i,r){let n=Number.MAX_VALUE,a=Number.MAX_VALUE,o=-Number.MAX_VALUE,l=-Number.MAX_VALUE,u=[];u.push(Ra(r,t)),u.push(Ra(r,i));let c=Math.min(Math.floor(t/90)*90,Math.floor(i/90)*90),h=Math.max(Math.ceil(t/90)*90,Math.ceil(i/90)*90);for(let f=c;f<=h;f+=90)f>=t&&f<=i&&u.push(Ra(r,f));for(let f=0;f<u.length;f++){let d=u[f];d.x<n&&(n=d.x),d.y<a&&(a=d.y),d.x>o&&(o=d.x),d.y>l&&(l=d.y)}return{left:s+n,top:e+a,right:s+o,bottom:e+l}}function Ra(s,e){return{x:s*Vt(e),y:s*St(e)}}function r2(s){const e=s.length;if(e>0){let t=s[0],i=t.left,r=t.top,n=t.right,a=t.bottom;if(e>1)for(let o=1;o<e;o++)t=s[o],i=Math.min(t.left,i),n=Math.max(t.right,n),r=Math.min(t.top,r),a=Math.max(t.bottom,a);return{left:i,right:n,top:r,bottom:a}}return{left:0,right:0,top:0,bottom:0}}function n2(s,e){return s.x>=e.left&&s.y>=e.top&&s.x<=e.right&&s.y<=e.bottom}function fl(s){return s}function Zt(s){return s*s*s}function fi(s){return function(e){return 1-s(1-e)}}class s2{constructor(e,t){Object.defineProperty(this,"_entity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_userSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._entity=e,this._settings=t,he(t,i=>{this._userSettings[i]=!0})}get(e,t){const i=this._settings[e];return i!==void 0?i:t}setRaw(e,t){this._settings[e]=t}set(e,t){this._userSettings[e]=!0,this.setRaw(e,t)}remove(e){delete this._userSettings[e],delete this._settings[e]}setAll(e){Ce(e).forEach(t=>{this.set(t,e[t])})}_eachSetting(e){he(this._settings,e)}apply(){const e={};e.stateAnimationEasing=!0,e.stateAnimationDuration=!0;const t=this._entity.states.lookup("default");this._eachSetting((i,r)=>{e[i]||(e[i]=!0,this!==t&&(i in t._settings||(t._settings[i]=this._entity.get(i))),this._entity.set(i,r))})}applyAnimate(e){e==null&&(e=this._settings.stateAnimationDuration),e==null&&(e=this.get("stateAnimationDuration",this._entity.get("stateAnimationDuration",0)));let t=this._settings.stateAnimationEasing;t==null&&(t=this.get("stateAnimationEasing",this._entity.get("stateAnimationEasing",Zt)));const i=this._entity.states.lookup("default"),r={};r.stateAnimationEasing=!0,r.stateAnimationDuration=!0;const n={};return this._eachSetting((a,o)=>{if(!r[a]){r[a]=!0,this!=i&&(a in i._settings||(i._settings[a]=this._entity.get(a)));const l=this._entity.animate({key:a,to:o,duration:e,easing:t});l&&(n[a]=l)}}),n}}class a2{constructor(e){Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._entity=e}lookup(e){return this._states[e]}create(e,t){const i=this._states[e];if(i)return i.setAll(t),i;{const r=new s2(this._entity,t);return this._states[e]=r,r}}remove(e){delete this._states[e]}apply(e){const t=this._states[e];t&&t.apply(),this._entity._applyState(e)}
41applyAnimate(e,t){let i;const r=this._states[e];return r&&(i=r.applyAnimate(t)),this._entity._applyStateAnimated(e,t),i}}class o2{constructor(){Object.defineProperty(this,"version",{enumerable:!0,configurable:!0,writable:!0,value:"5.13.3"}),Object.defineProperty(this,"licenses",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"entitiesById",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"rootElements",{enumerable:!0,configurable:!0,writable:!0,value:[]})}}const Ft=new o2;function Ci(s,e){return s===e?0:s<e?-1:1}function V1(s,e,t){const i=s.length,r=e.length,n=Math.min(i,r);for(let a=0;a<n;++a){const o=t(s[a],e[a]);if(o!==0)return o}return Ci(i,r)}function gl(s,e){return s===e?0:s<e?-1:1}class l2{constructor(e){Object.defineProperty(this,"_entity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_disabled",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._entity=e}add(e,t){let i=this._callbacks[e];return i===void 0&&(i=this._callbacks[e]=[]),i.push(t),this._entity._markDirtyKey(e),new Ye(()=>{qe(i,t)&&this._entity._markDirtyKey(e)})}remove(e){const t=this._callbacks[e];t!==void 0&&(delete this._callbacks[e],t.length!==0&&this._entity._markDirtyKey(e))}enable(e){this._disabled[e]&&(delete this._disabled[e],this._entity._markDirtyKey(e))}disable(e){this._disabled[e]||(this._disabled[e]=!0,this._entity._markDirtyKey(e))}fold(e,t){if(!this._disabled[e]){const i=this._callbacks[e];if(i!==void 0)for(let r=0,n=i.length;r<n;++r)t=i[r](t,this._entity,e)}return t}}class Mn{constructor(e,t,i,r,n,a,o){Object.defineProperty(this,"_animation",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_from",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_to",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_duration",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_easing",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_loops",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_interpolate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_oldTime",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_time",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_stopped",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_playing",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new yr}),this._animation=e,this._from=t,this._to=i,this._duration=r,this._easing=n,this._loops=a,this._interpolate=e2(t,i),this._oldTime=o}get to(){return this._to}get from(){return this._from}get playing(){return this._playing}get stopped(){return this._stopped}stop(){this._stopped||(this._stopped=!0,this._playing=!1,this.events.isEnabled("stopped")&&this.events.dispatch("stopped",{type:"stopped",target:this}))}pause(){this._playing=!1,this._oldTime=null}play(){!this._stopped&&!this._playing&&(this._playing=!0,this._animation._startAnimation())}get percentage(){return this._time/this._duration}waitForStop(){return new Promise((e,t)=>{if(this._stopped)e();else{const i=()=>{r.dispose(),e()},r=this.events.on("stopped",i)}})}_checkEnded(){return this._loops>1?(--this._loops,!1):!0}_run(e){this._oldTime!==null&&(this._time+=e-this._oldTime,this._time>this._duration&&(this._time=this._duration)),this._oldTime=e}_reset(e){this._oldTime=e,this._time=0}_value(e){return this._interpolate(this._easing(e),this._from,this._to)}}let u2=0;class Y1{constructor(e){Object.defineProperty(this,"uid",{enumerable:!0,configurable:!0,writable:!0,value:++u2}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_prevSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_prevPrivateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_animatingSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_animatingPrivateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_userProperties",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"enableDispose",{enumerable:!0,configurable:!0,writable:!0,value:!0}),this._settings=e}
41_checkDirty(){Ce(this._settings).forEach(e=>{this._userProperties[e]=!0,this._markDirtyKey(e)})}resetUserSettings(){this._userProperties={}}_runAnimation(e){let t=Ai.Stopped;if(!this.isDisposed()){let i=!1,r=!1;he(this._animatingSettings,(n,a)=>{if(a.stopped)this._stopAnimation(n);else if(a.playing){a._run(e);const o=a.percentage;o>=1?a._checkEnded()?this.set(n,a._value(1)):(i=!0,a._reset(e),this._set(n,a._value(1))):(i=!0,this._set(n,a._value(o)))}else r=!0}),he(this._animatingPrivateSettings,(n,a)=>{if(a.stopped)this._stopAnimationPrivate(n);else if(a.playing){a._run(e);const o=a.percentage;o>=1?a._checkEnded()?this.setPrivate(n,a._value(1)):(i=!0,a._reset(e),this._setPrivate(n,a._value(1))):(i=!0,this._setPrivate(n,a._value(o)))}else r=!0}),i?t=Ai.Playing:r&&(t=Ai.Paused)}return t}_markDirtyKey(e){this.markDirty()}_markDirtyPrivateKey(e){this.markDirty()}on(e,t){let i=this._settingEvents[e];return i===void 0&&(i=this._settingEvents[e]=[]),i.push(t),new Ye(()=>{qe(i,t),i.length===0&&delete this._settingEvents[e]})}off(e,t){let i=this._settingEvents[e];i!==void 0&&t!==void 0?qe(i,t):delete this._settingEvents[e]}onPrivate(e,t){let i=this._privateSettingEvents[e];return i===void 0&&(i=this._privateSettingEvents[e]=[]),i.push(t),new Ye(()=>{qe(i,t),i.length===0&&delete this._privateSettingEvents[e]})}offPrivate(e,t){let i=this._privateSettingEvents[e];i!==void 0&&t!==void 0?qe(i,t):delete this._privateSettingEvents[e]}getRaw(e,t){const i=this._settings[e];return i!==void 0?i:t}has(e){return e in this._settings}get(e,t){return this.getRaw(e,t)}_sendKeyEvent(e,t){const i=this._settingEvents[e];i!==void 0&&I(i,r=>{r(t,this,e)})}_sendPrivateKeyEvent(e,t){const i=this._privateSettingEvents[e];i!==void 0&&I(i,r=>{r(t,this,e)})}_setRaw(e,t,i){this._prevSettings[e]=t,this._sendKeyEvent(e,i)}setRaw(e,t){const i=this._settings[e];this._settings[e]=t,i!==t&&this._setRaw(e,i,t)}_set(e,t){const i=this._settings[e];this._settings[e]=t,i!==t&&(this._setRaw(e,i,t),this._markDirtyKey(e))}_stopAnimation(e){const t=this._animatingSettings[e];t&&(delete this._animatingSettings[e],t.stop())}set(e,t){return this._set(e,t),this._stopAnimation(e),t}remove(e){e in this._settings&&(this._prevSettings[e]=this._settings[e],delete this._settings[e],this._sendKeyEvent(e,void 0),this._markDirtyKey(e)),this._stopAnimation(e)}removeAll(){I(Ce(this._settings),e=>{this.remove(e)})}getPrivate(e,t){const i=this._privateSettings[e];return i!==void 0?i:t}_setPrivateRaw(e,t,i){this._prevPrivateSettings[e]=t,this._sendPrivateKeyEvent(e,i)}setPrivateRaw(e,t){const i=this._privateSettings[e];this._privateSettings[e]=t,i!==t&&this._setPrivateRaw(e,i,t)}_setPrivate(e,t){const i=this._privateSettings[e];this._privateSettings[e]=t,i!==t&&(this._setPrivateRaw(e,i,t),this._markDirtyPrivateKey(e))}_stopAnimationPrivate(e){const t=this._animatingPrivateSettings[e];t&&(t.stop(),delete this._animatingPrivateSettings[e])}setPrivate(e,t){return this._setPrivate(e,t),this._stopAnimationPrivate(e),t}removePrivate(e){e in this._privateSettings&&(this._prevPrivateSettings[e]=this._privateSettings[e],delete this._privateSettings[e],this._markDirtyPrivateKey(e)),this._stopAnimationPrivate(e)}setAll(e){he(e,(t,i)=>{this.set(t,i)})}animate(e){const t=e.key,i=e.to,r=e.duration||0,n=e.loops||1,a=e.from===void 0?this.get(t):e.from,o=e.easing===void 0?fl:e.easing;if(r===0)this.set(t,i);else if(a===void 0||a===i)this.set(t,i);else{this.set(t,a);const u=this._animatingSettings[t]=new Mn(this,a,i,r,o,n,this._animationTime());return this._startAnimation(),u}const l=new Mn(this,a,i,r,o,n,null);return l.stop(),l}animatePrivate(e){const t=e.key,i=e.to,r=e.duration||0,n=e.loops||1,a=e.from===void 0?this.getPrivate(t):e.from,o=e.easing===void 0?fl:e.easing;if(r===0)this.setPrivate(t,i);else if(a===void 0||a===i)this.setPrivate(t,i);else{this.setPrivate(t,a);const u=this._animatingPrivateSettings[t]=new Mn(this,a,i,r,o,n,this._animationTime());return this._startAnimation(),u}const l=new Mn(this,a,i,r,o,n,null);return l.stop(),l}_dispose(){}isDisposed(){return this._disposed}dispose(){this.enableDispose&&!this._disposed&&(this._disposed=!0,this._dispose())}}class tt extends Y1{constructor(e,t,i,r=[]){if(super(t),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_user_id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"states",{enumerable:!0,configurable:!0,writable:!0,value:new a2(this)}),Object.defineProperty(this,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new l2(this)}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:this._createEvents()}),Object.defineProperty(this,"_userPrivateProperties",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirty",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyPrivate",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_templates",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_internalTemplates",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_defaultThemes",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_templateDisposers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_runSetup",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_disposerProperties",{enumerable:!0,configurable:!0,writable:!0,value:{}}),!i)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._root=e,this._internalTemplates=r,t.id&&this._registerId(t.id)}static new(e,t,i){const r=new this(e,t,!0);return r._template=i,r._afterNew(),r}static _new(e,t,i=[]){const r=new this(e,t,!0,i);return r._afterNew(),r}_afterNew(){this._checkDirty();let e=!1;const t=this._template;t&&(e=!0,t._setObjectTemplate(this)),I(this._internalTemplates,i=>{e=!0,i._setObjectTemplate(this)}),e&&this._applyTemplates(!1),this.states.create("default",{}),this._setDefaults()}_afterNewApplyThemes(){this._checkDirty();const e=this._template;e&&e._setObjectTemplate(this),I(this._internalTemplates,t=>{t._setObjectTemplate(this)}),this.states.create("default",{}),this._setDefaults(),this._applyThemes()}_createEvents(){return new yr}get classNames(){return this.constructor.classNames}get className(){return this.constructor.className}_setDefaults(){}_setDefaultFn(e,t){const i=this.get(e);if(i)return i;{const r=t();return this.set(e,r),r}}_setDefault(e,t){this.has(e)||super.set(e,t)}_setRawDefault(e,t){this.has(e)||super.setRaw(e,t)}
41_clearDirty(){Ce(this._dirty).forEach(e=>{this._dirty[e]=!1}),Ce(this._dirtyPrivate).forEach(e=>{this._dirtyPrivate[e]=!1})}isDirty(e){return!!this._dirty[e]}isPrivateDirty(e){return!!this._dirtyPrivate[e]}_markDirtyKey(e){this._dirty[e]=!0,super._markDirtyKey(e)}_markDirtyPrivateKey(e){this._dirtyPrivate[e]=!0,super._markDirtyKey(e)}isType(e){return this.classNames.indexOf(e)!==-1}_pushPropertyDisposer(e,t){let i=this._disposerProperties[e];return i===void 0&&(i=this._disposerProperties[e]=[]),i.push(t),t}_disposeProperty(e){const t=this._disposerProperties[e];t!==void 0&&(I(t,i=>{i.dispose()}),delete this._disposerProperties[e])}set template(e){const t=this._template;t!==e&&(this._template=e,t&&t._removeObjectTemplate(this),e&&e._setObjectTemplate(this),this._applyTemplates())}get template(){return this._template}markDirty(){this._root._addDirtyEntity(this)}_startAnimation(){this._root._addAnimation(this)}_animationTime(){return this._root.animationTime}_applyState(e){}_applyStateAnimated(e,t){}get(e,t){const i=this.adapters.fold(e,this._settings[e]);return i!==void 0?i:t}isUserSetting(e){return this._userProperties[e]||!1}set(e,t){return this._userProperties[e]=!0,super.set(e,t)}setRaw(e,t){this._userProperties[e]=!0,super.setRaw(e,t)}_setSoft(e,t){return this._userProperties[e]?t:super.set(e,t)}remove(e){delete this._userProperties[e],this._removeTemplateProperty(e)}setPrivate(e,t){return this._userPrivateProperties[e]=!0,super.setPrivate(e,t)}setPrivateRaw(e,t){this._userPrivateProperties[e]=!0,super.setPrivateRaw(e,t)}removePrivate(e){delete this._userPrivateProperties[e],this._removeTemplatePrivateProperty(e)}_setTemplateProperty(e,t,i){if(!this._userProperties[t]){const r=this._findTemplateByKey(t);e===r&&super.set(t,i)}}_setTemplatePrivateProperty(e,t,i){if(!this._userPrivateProperties[t]){const r=this._findTemplateByPrivateKey(t);e===r&&super.setPrivate(t,i)}}_removeTemplateProperty(e){if(!this._userProperties[e]){const t=this._findTemplateByKey(e);t?super.set(e,t._settings[e]):super.remove(e)}}_removeTemplatePrivateProperty(e){if(!this._userPrivateProperties[e]){const t=this._findTemplateByPrivateKey(e);t?super.setPrivate(e,t._privateSettings[e]):super.removePrivate(e)}}_walkParents(e){e(this._root._rootContainer),e(this)}_applyStateByKey(e){const t=this.states.create(e,{}),i={};this._eachTemplate(r=>{const n=r.states.lookup(e);n&&n._apply(t,i)}),he(t._settings,r=>{!i[r]&&!t._userSettings[r]&&t.remove(r)})}_applyTemplate(e,t){this._templateDisposers.push(e._apply(this,t)),he(e._settings,(i,r)=>{!t.settings[i]&&!this._userProperties[i]&&(t.settings[i]=!0,super.set(i,r))}),he(e._privateSettings,(i,r)=>{!t.privateSettings[i]&&!this._userPrivateProperties[i]&&(t.privateSettings[i]=!0,super.setPrivate(i,r))}),this._runSetup&&e.setup&&(this._runSetup=!1,e.setup(this))}_findStaticTemplate(e){if(this._template&&e(this._template))return this._template}_eachTemplate(e){this._findStaticTemplate(t=>(e(t),!1)),Ur(this._internalTemplates,e),I(this._templates,e)}_applyTemplates(e=!0){e&&this._disposeTemplates();const t={settings:{},privateSettings:{},states:{}};this._eachTemplate(i=>{this._applyTemplate(i,t)}),e&&(he(this._settings,i=>{!this._userProperties[i]&&!t.settings[i]&&super.remove(i)}),he(this._privateSettings,i=>{!this._userPrivateProperties[i]&&!t.privateSettings[i]&&super.removePrivate(i)}))}_findTemplate(e){const t=this._findStaticTemplate(e);if(t===void 0){const i=k4(this._internalTemplates,e);return i===void 0?Ro(this._templates,e):i}else return t}_findTemplateByKey(e){return this._findTemplate(t=>e in t._settings)}_findTemplateByPrivateKey(e){return this._findTemplate(t=>e in t._privateSettings)}_disposeTemplates(){I(this._templateDisposers,e=>{e.dispose()}),this._templateDisposers.length=0}_removeTemplates(){I(this._templates,e=>{e._removeObjectTemplate(this)}),this._templates.length=0}_applyThemes(e=!1){let t=!1;const i=[];let r=[];const n=new Set,a=this.get("themeTagsSelf");return a&&I(a,o=>{n.add(o)}),this._walkParents(o=>{o===this._root._rootContainer&&(t=!0),o._defaultThemes.length>0&&i.push(o._defaultThemes);const l=o.get("themes");l&&r.push(l);const u=o.get("themeTags");u&&I(u,c=>{n.add(c)})}),r=i.concat(r),this._removeTemplates(),(t||e)&&Ur(this.classNames,o=>{const l=[];I(r,u=>{I(u,c=>{const h=c._lookupRules(o);h&&Ur(h,f=>{if(f.tags.every(p=>n.has(p))){const p=D4(l,g=>{const b=Ci(f.tags.length,g.tags.length);return b===0?V1(f.tags,g.tags,Ci):b});l.splice(p.index,0,f)}})})}),I(l,u=>{this._templates.push(u.template),u.template._setObjectTemplate(this)})}),this._applyTemplates(),(t||e)&&(this._runSetup=!1),t||e}_changed(){}_beforeChanged(){if(this.isDirty("id")){const e=this.get("id");e&&this._registerId(e);const t=this._prevSettings.id;t&&(delete this._root.entitiesById[t],delete Ft.entitiesById[t])}}_registerId(e){if(this._root.entitiesById[e]&&this._root.entitiesById[e]!==this)throw new Error('An entity with id "'+e+'" already exists.');this._root.entitiesById[e]=this,Ft.entitiesById[e]=this}_afterChanged(){}addDisposer(e){return this._disposers.push(e),e}_dispose(){super._dispose();const e=this._template;e&&e._removeObjectTemplate(this),I(this._internalTemplates,i=>{i._removeObjectTemplate(this)}),this._removeTemplates(),this._disposeTemplates(),this.events.dispose(),this._disposers.forEac
41h(i=>{i.dispose()}),he(this._disposerProperties,(i,r)=>{I(r,n=>{n.dispose()})});const t=this.get("id");t&&(delete this._root.entitiesById[t],delete Ft.entitiesById[t])}setTimeout(e,t){const i=setTimeout(()=>{this.removeDispose(r),e()},t),r=new Ye(()=>{clearTimeout(i)});return this._disposers.push(r),r}removeDispose(e){if(!this.isDisposed()){let t=Kr(this._disposers,e);t>-1&&this._disposers.splice(t,1)}e.dispose()}hasTag(e){return Kr(this.get("themeTags",[]),e)!==-1}addTag(e){if(!this.hasTag(e)){const t=this.get("themeTags",[]);t.push(e),this.set("themeTags",t)}}removeTag(e){if(this.hasTag(e)){const t=this.get("themeTags",[]);kt(t,e),this.set("themeTags",t)}}_t(e,t,...i){return this._root.language.translate(e,t,...i)}get root(){return this._root}}Object.defineProperty(tt,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Entity"});Object.defineProperty(tt,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:["Entity"]});function to(s){he(s,(e,t)=>{yn(t)&&typeof t.dispose=="function"&&(t.enableDispose=!0,t.dispose())})}class c2{constructor(e,t,i){Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._name=e,this._template=t,this._settings=i}_dispose(){to(this._settings)}get(e,t){const i=this._settings[e];return i!==void 0?i:t}set(e,t){this._settings[e]=t,this._template._stateChanged(this._name)}remove(e){delete this._settings[e],this._template._stateChanged(this._name)}setAll(e){Ce(e).forEach(t=>{this._settings[t]=e[t]}),this._template._stateChanged(this._name)}_apply(e,t){he(this._settings,(i,r)=>{!t[i]&&!e._userSettings[i]&&(t[i]=!0,e.setRaw(i,r))})}}class h2{constructor(e){Object.defineProperty(this,"_template",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_states",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._template=e}_dispose(){he(this._states,(e,t)=>{t._dispose()})}lookup(e){return this._states[e]}create(e,t){const i=this._states[e];if(i)return i.setAll(t),i;{const r=new c2(e,this._template,t);return this._states[e]=r,this._template._stateChanged(e),r}}remove(e){delete this._states[e],this._template._stateChanged(e)}_apply(e,t){he(this._states,(i,r)=>{let n=t.states[i];n==null&&(n=t.states[i]={});const a=e.states.create(i,{});r._apply(a,n)})}}class d2{constructor(){Object.defineProperty(this,"_callbacks",{enumerable:!0,configurable:!0,writable:!0,value:{}})}add(e,t){let i=this._callbacks[e];return i===void 0&&(i=this._callbacks[e]=[]),i.push(t),new Ye(()=>{qe(i,t),i.length===0&&delete this._callbacks[e]})}remove(e){this._callbacks[e]!==void 0&&delete this._callbacks[e]}_apply(e){const t=[];return he(this._callbacks,(i,r)=>{I(r,n=>{t.push(e.adapters.add(i,n))})}),new nt(t)}}class Pe{constructor(e,t){if(Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_privateSettings",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_settingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_privateSettingEvents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_entities",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"states",{enumerable:!0,configurable:!0,writable:!0,value:new h2(this)}),Object.defineProperty(this,"adapters",{enumerable:!0,configurable:!0,writable:!0,value:new d2}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new yr}),Object.defineProperty(this,"setup",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=e}static new(e){return new Pe(e,!0)}_dispose(){to(this._settings),to(this._privateSettings)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._dispose())}_checkDisposed(){if(this._disposed)throw new Error("Template is disposed")}get entities(){return this._entities}get(e,t){this._checkDisposed();const i=this._settings[e];return i!==void 0?i:t}setRaw(e,t){this._checkDisposed(),this._settings[e]=t}set(e,t){this._checkDisposed(),this._settings[e]!==t&&(this.setRaw(e,t),this._entities.forEac
41h(i=>{i._setTemplateProperty(this,e,t)}))}remove(e){this._checkDisposed(),e in this._settings&&(delete this._settings[e],this._entities.forEach(t=>{t._removeTemplateProperty(e)}))}removeAll(){this._checkDisposed(),he(this._settings,(e,t)=>{this.remove(e)})}getPrivate(e,t){this._checkDisposed();const i=this._privateSettings[e];return i!==void 0?i:t}setPrivateRaw(e,t){return this._checkDisposed(),this._privateSettings[e]=t,t}setPrivate(e,t){return this._checkDisposed(),this._privateSettings[e]!==t&&(this.setPrivateRaw(e,t),this._entities.forEach(i=>{i._setTemplatePrivateProperty(this,e,t)})),t}removePrivate(e){this._checkDisposed(),e in this._privateSettings&&(delete this._privateSettings[e],this._entities.forEach(t=>{t._removeTemplatePrivateProperty(e)}))}setAll(e){this._checkDisposed(),he(e,(t,i)=>{this.set(t,i)})}on(e,t){this._checkDisposed();let i=this._settingEvents[e];return i===void 0&&(i=this._settingEvents[e]=[]),i.push(t),new Ye(()=>{qe(i,t),i.length===0&&delete this._settingEvents[e]})}onPrivate(e,t){this._checkDisposed();let i=this._privateSettingEvents[e];return i===void 0&&(i=this._privateSettingEvents[e]=[]),i.push(t),new Ye(()=>{qe(i,t),i.length===0&&delete this._privateSettingEvents[e]})}_apply(e,t){this._checkDisposed();const i=[];return he(this._settingEvents,(r,n)=>{I(n,a=>{i.push(e.on(r,a))})}),he(this._privateSettingEvents,(r,n)=>{I(n,a=>{i.push(e.onPrivate(r,a))})}),this.states._apply(e,t),i.push(this.adapters._apply(e)),i.push(e.events.copyFrom(this.events)),new nt(i)}_setObjectTemplate(e){this._checkDisposed(),this._entities.push(e)}_removeObjectTemplate(e){kt(this._entities,e)}_stateChanged(e){this._checkDisposed(),this._entities.forEach(t=>{t._applyStateByKey(e)})}}class xa extends yr{constructor(e){super(),Object.defineProperty(this,"_sprite",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rendererDisposers",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dispatchParents",{enumerable:!0,configurable:!0,writable:!0,value:!0}),this._sprite=e}_makePointerEvent(e,t){return{type:e,originalEvent:t.event,point:t.point,simulated:t.simulated,native:t.native,target:this._sprite}}_onRenderer(e,t){this._sprite.set("interactive",!0),this._sprite._display.interactive=!0;let i=this._rendererDisposers[e];if(i===void 0){const r=this._sprite._display.on(e,n=>{t.call(this,n)});i=this._rendererDisposers[e]=new L1(()=>{delete this._rendererDisposers[e],r.dispose()})}return i.increment()}_on(e,t,i,r,n,a){const o=super._on(e,t,i,r,n,a),l=xa.RENDERER_EVENTS[t];return l!==void 0&&(o.disposer=new nt([o.disposer,this._onRenderer(t,l)])),o}stopParentDispatch(){this._dispatchParents=!1}dispatchParents(e,t){const i=this._dispatchParents;this._dispatchParents=!0;try{this.dispatch(e,t),this._dispatchParents&&this._sprite.parent&&this._sprite.parent.events.dispatchParents(e,t)}finally{this._dispatchParents=i}}}Object.defineProperty(xa,"RENDERER_EVENTS",{enumerable:!0,configurable:!0,writable:!0,value:{click:function(s){this.isEnabled("click")&&!this._sprite.isDragging()&&this._sprite._hasDown()&&!this._sprite._hasMoved(this._makePointerEvent("click",s))&&this.dispatch("click",this._makePointerEvent("click",s))},rightclick:function(s){this.isEnabled("rightclick")&&this.dispatch("rightclick",this._makePointerEvent("rightclick",s))},middleclick:function(s){this.isEnabled("middleclick")&&this.dispatch("middleclick",this._makePointerEvent("middleclick",
41s))},dblclick:function(s){this.dispatchParents("dblclick",this._makePointerEvent("dblclick",s))},pointerover:function(s){const e=this._sprite;let t=!0;if(e.getPrivate("trustBounds")){e._getBounds();const i=e.globalBounds();if(e.isType("Graphics")){const r=e.get("strokeWidth",1)/2;r>=1&&(i.left-=r,i.right+=r,i.top-=r,i.bottom+=r)}n2(s.point,i)||(t=!1,e._root._renderer.removeHovering(e._display))}t&&this.isEnabled("pointerover")&&this.dispatch("pointerover",this._makePointerEvent("pointerover",s))},pointerout:function(s){this.isEnabled("pointerout")&&this.dispatch("pointerout",this._makePointerEvent("pointerout",s))},pointerdown:function(s){this.dispatchParents("pointerdown",this._makePointerEvent("pointerdown",s))},pointerup:function(s){this.isEnabled("pointerup")&&this.dispatch("pointerup",this._makePointerEvent("pointerup",s))},globalpointerup:function(s){this.isEnabled("globalpointerup")&&this.dispatch("globalpointerup",this._makePointerEvent("globalpointerup",s))},globalpointermove:function(s){this.isEnabled("globalpointermove")&&this.dispatch("globalpointermove",this._makePointerEvent("globalpointermove",s))},wheel:function(s){this.dispatchParents("wheel",{type:"wheel",target:this._sprite,originalEvent:s.event,point:s.point})}}});class It extends tt{constructor(){super(...arguments),Object.defineProperty(this,"_adjustedLocalBounds",{enumerable:!0,configurable:!0,writable:!0,value:{left:0,right:0,top:0,bottom:0}}),Object.defineProperty(this,"_localBounds",{enumerable:!0,configurable:!0,writable:!0,value:{left:0,right:0,top:0,bottom:0}}),Object.defineProperty(this,"_parent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dataItem",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_templateField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_sizeDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isDragging",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dragEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dragPoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isHidden",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isShowing",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isHiding",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isDown",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_downPoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downPoints",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_toggleDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dragDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_hoverDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_focusDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipMoveDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipPointerDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_statesHandled",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_afterNew(){this.setPrivateRaw("visible",!0),super._afterNew()}markDirtyKey(e){this._markDirtyKey(e)}_markDirtyKey(e){super._markDirtyKey(e),(e=="x"||e=="y"||e=="dx"||e=="dy")&&(this.markDirtyBounds(),this._addPercentagePositionChildren(),this.markDirtyPosition())}_markDirtyPrivateKey(e){super._markDirtyPrivateKey(e),(e=="x"||e=="y")&&this.markDirtyPosition()}_removeTemplateField(){this._templateField&&this._templateField._removeObjectTemplate(this)}_createEvents(){return new xa(this)}_processTemplateField(){let e;const t=this.get("templateField");if(t){const i=this.dataItem;if(i){const r=i.dataContext;r&&(e=r[t],!(e instanceof Pe)&&e&&(e=Pe.new(e)))}}this._templateField!==e&&(this._removeTemplateField(),this._templateField=e,e&&e._setObjectTemplate(this),this._applyTemplates())}_setDataItem(e){const t=this._dataItem;this._dataItem=e,this._processTemplateField();const i="dataitemchanged";e!=t&&this.events.isEnabled(i)&&this.events.dispatch(i,{type:i,target:this,oldDataItem:t,newDataItem:e})}set dataItem(e){this._setDataItem(e)}get dataItem(){if(this._dataItem)return this._dataItem;{let e=this._parent;for(;e;){if(e._dataItem)return e._dataItem;e=e._parent}}}_addPercentageSizeChildren(){let e=this.parent;e&&(this.get("width")instanceof se||this.get("height")instanceof se?Qr(e._percentageSizeChildren,this):qe(e._percentageSizeChildren,this))}_addPercentagePositionChildren(){let e=this.parent;e&&(this.get("x")instanceof se||this.get("y")instanceof se?Qr(e._percentagePositionChildren,this):qe(e._percentagePositionChildren,this))}markDirtyPosition(){this._root._addDirtyPosition(this)}updatePivotPoint(){const e=this._localBounds;if(e){const t=this.get("centerX");t!=null&&(this._display.pivot.x=e.left+Le(t,e.right-e.left));const i=this.get("centerY");i!=null&&(this._display.pivot.y=e.top+Le(i,e.bottom-e.top))}}_beforeChanged(){if(super._beforeChanged(),this._handleStates(),this.isDirty("tooltip")){const e=this._prevSettings.tooltip;e&&e.dispose()}if((this.isDirty("layer")||this.isDirty("layerMargin"))&&(this._display.setLayer(this.get("layer"),this.get("layerMargin")),this.markDirtyLayer()),this.isDirty("tooltipPosition")){const e=this._tooltipMoveDp;
41e&&(e.dispose(),this._tooltipMoveDp=void 0);const t=this._tooltipPointerDp;t&&(t.dispose(),this._tooltipPointerDp=void 0),this.get("tooltipPosition")=="pointer"&&(this.isHover()&&(this._tooltipMoveDp=this.events.on("globalpointermove",i=>{this.showTooltip(i.point)})),this._tooltipPointerDp=new nt([this.events.on("pointerover",()=>{this._tooltipMoveDp=this.events.on("globalpointermove",i=>{this.showTooltip(i.point)})}),this.events.on("pointerout",()=>{const i=this._tooltipMoveDp;i&&(i.dispose(),this._tooltipMoveDp=void 0)})]))}}_handleStates(){this._statesHandled||(this.isDirty("active")&&(this.get("active")?(this.states.applyAnimate("active"),this.set("ariaChecked",!0)):(this.isHidden()||this.states.applyAnimate("default"),this.set("ariaChecked",!1)),this.markDirtyAccessibility()),this.isDirty("disabled")&&(this.get("disabled")?(this.states.applyAnimate("disabled"),this.set("ariaChecked",!1)):(this.isHidden()||this.states.applyAnimate("default"),this.set("ariaChecked",!0)),this.markDirtyAccessibility()),this._statesHandled=!0)}_changed(){super._changed();const e=this._display,t=this.events;if(this.isDirty("draggable")){const r=this.get("draggable");r?(this.set("interactive",!0),this._dragDp=new nt([t.on("pointerdown",n=>{this.dragStart(n)}),t.on("globalpointermove",n=>{this.dragMove(n)}),t.on("globalpointerup",n=>{this.dragStop(n)})])):this._dragDp&&(this._dragDp.dispose(),this._dragDp=void 0),e.cancelTouch=!!r}if(this.isDirty("tooltipText")||this.isDirty("tooltipHTML")||this.isDirty("showTooltipOn")){const r=this.get("tooltipText"),n=this.get("tooltipHTML"),a=this.get("showTooltipOn","hover");this._tooltipDp&&(this._tooltipDp.dispose(),this._tooltipDp=void 0),(r||n)&&(a=="click"?(this._tooltipDp=new nt([t.on("click",()=>{this.setTimeout(()=>{const o=this.getTooltip();o&&!o.isHidden()&&o.get("tooltipTarget")===this?this.hideTooltip():this.showTooltip()},10)}),Me(document,"click",o=>{this.hideTooltip()})]),this._disposers.push(this._tooltipDp)):a=="always"||(this._tooltipDp=new nt([t.on("pointerover",()=>{this.showTooltip()}),t.on("pointerout",()=>{this.hideTooltip()})]),this._disposers.push(this._tooltipDp)))}if(this.isDirty("toggleKey")){let r=this.get("toggleKey");r&&r!="none"?this._toggleDp=t.on("click",()=>{this._isDragging||this.set(r,!this.get(r))}):this._toggleDp&&(this._toggleDp.dispose(),this._toggleDp=void 0)}if(this.isDirty("opacity")&&(e.alpha=Math.max(0,this.get("opacity",1)),this.get("focusable")&&this.markDirtyAccessibility()),this.isDirty("rotation")&&(this.markDirtyBounds(),e.angle=this.get("rotation",0)),this.isDirty("scale")&&(this.markDirtyBounds(),e.scale=this.get("scale",0)),(this.isDirty("centerX")||this.isDirty("centerY"))&&(this.markDirtyBounds(),this.updatePivotPoint()),(this.isDirty("visible")||this.isPrivateDirty("visible")||this.isDirty("forceHidden"))&&(!this.get("visible")||!this.getPrivate("visible")||this.get("forceHidden")?(e.visible=!1,this.hideTooltip()):e.visible=!0,this.markDirtyBounds(),this.get("focusable")&&this.markDirtyAccessibility()),this.isDirty("width")||this.isDirty("height")){this.markDirtyBounds(),this._addPercentageSizeChildren();const r=this.parent;r&&(this.isDirty("width")&&this.get("width")instanceof se||this.isDirty("height")&&this.get("height")instanceof se)&&(r.markDirty(),r._prevWidth=0),this._sizeDirty=!0}if((this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isPrivateDirty("width")||this.isPrivateDirty("height")||this.isDirty("minWidth")||this.isDirty("minHeight")||this.isPrivateDirty("maxWidth")||this.isPrivateDirty("maxHeight")||this.isPrivateDirty("minWidth")||this.isPrivateDirty("minHeight")||this.isDirty("marginLeft")||this.isDirty("marginTop")||this.isDirty("marginRight")||this.isDirty("marginBottom"))&&(this.markDirtyBounds(),this._sizeDirty=!0),this._sizeDirty&&this._updateSize(),this.isDirty("wheelable")){const r=this.get("wheelable");r&&this.set("interactive",!0),e.wheelable=!!r}(this.isDirty("tabindexOrder")||this.isDirty("focusableGroup"))&&(this.get("focusable")?this._root._registerTabindexOrder(this):this._root._unregisterTabindexOrder(this)),this.isDirty("filter")&&(e.filter=this.get("filter"));let i=this.get("filter","");if(this.isDirty("blur")){const r=this.get("blur",0);r!=0&&(i+=" blur("+r+"px)")}if(this.isDirty("saturate")){const r=this.get("saturate",1);r!=1&&(i+=" saturate("+r+")")}if(this.isDirty("brightness")){const r=this.get("brightness",1);r!=1&&(i+=" brightness("+r+")")}if(this.isDirty("contrast")){const r=this.get("contrast",1);r!=1&&(i+=" contrast("+r+")")}if(this.isDirty("sepia")){const r=this.get("sepia",0);r!=0&&(i+=" sepia("+r+")")}if(this.isDirty("hue")){const r=this.get("hue",0);r!=0&&(i+=" hue-rotate("+r+"deg)")}if(this.isDirty("invert")){const r=this.get("invert",0);r!=0&&(i+=" invert("+r+")")}if(i&&(e.filter=i),this.isDirty("cursorOverStyle")&&(e.cursorOverStyle=this.get("cursorOverStyle")),this.isDirty("hoverOnFocus")&&(this.get("hoverOnFocus")?this._focusDp=new nt([t.on("focus",()=>{this.showTooltip()}),t.on("blur",()=>{this.hideTooltip()})]):this._focusDp&&(this._focusDp.dispose(),this._focusDp=void 0)),this.isDirty("focusable")&&(this.get("focusable")?this._root._registerTabindexOrder(this):this._root._unregisterTabindexOrder(this),this.markDirtyAccessibility(),this._disposers.push(t.on("blur",()=>{this.setPrivateRaw("touchHovering",!1)})),this._disposers.push(t.once("boundschanged",()=>{this.markDirtyAccessibility()}))),this.isPrivateDirty("focusable")&&this.markDirtyAccessibility(),(this.isDirty("role")||this.isDirty("ariaLive")||this.isDirty("ariaChecked")||this.isDirty("ariaHidden")||this.isDirty("ariaOrientation")||this.isDirty("ariaValueNow")||this.isDirty("ariaValueMin")||this.isDirty("ariaValueMax")||this.isDirty("ariaValueText")||this.isDirty("ariaLabel")||this.isDirty("ariaControl
41s"))&&this.markDirtyAccessibility(),this.isDirty("exportable")&&(e.exportable=this.get("exportable")),this.isDirty("interactive")){const r=this.events;this.get("interactive")&&!r.isDisposed()?this._hoverDp=new nt([r.on("click",n=>{Qa(n.originalEvent)&&(this.getPrivate("touchHovering")||this.setTimeout(()=>{this._handleOver(),(this.get("tooltipText")||this.get("tooltipHTML"))&&this.showTooltip(),this.setPrivateRaw("touchHovering",!0),this.events.dispatch("pointerover",{type:"pointerover",target:n.target,originalEvent:n.originalEvent,point:n.point,simulated:n.simulated})},10))}),r.on("globalpointerup",n=>{Qa(n.originalEvent)&&this.getPrivate("touchHovering")&&(this._handleOut(),(this.get("tooltipText")||this.get("tooltipHTML"))&&this.hideTooltip(),this.setPrivateRaw("touchHovering",!1),this.events.dispatch("pointerout",{type:"pointerout",target:n.target,originalEvent:n.originalEvent,point:n.point,simulated:n.simulated})),this._isDown&&this._handleUp(n)}),r.on("pointerover",()=>{this._handleOver()}),r.on("pointerout",()=>{this._handleOut()}),r.on("pointerdown",n=>{this._handleDown(n)})]):(this._display.interactive=!1,this._hoverDp&&(this._hoverDp.dispose(),this._hoverDp=void 0))}this.isDirty("forceInactive")&&(this._display.inactive=this.get("forceInactive",null)),this.get("showTooltipOn")=="always"&&this._display.visible&&this.showTooltip()}dragStart(e){this._dragEvent=e,this.events.stopParentDispatch()}dragStop(e){if(this._dragEvent=void 0,this._dragPoint=void 0,this.events.stopParentDispatch(),this._isDragging){this._isDragging=!1;const t="dragstop";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this,originalEvent:e.originalEvent,point:e.point,simulated:e.simulated})}}_handleOver(){this.isHidden()||(this.get("active")&&this.states.lookup("hoverActive")?this.states.applyAnimate("hoverActive"):this.get("disabled")&&this.states.lookup("hoverDisabled")?this.states.applyAnimate("hoverDisabled"):this.states.applyAnimate("hover"),this.get("draggable")&&this._isDown&&this.states.lookup("down")&&this.states.applyAnimate("down"))}_handleOut(){this.isHidden()||(this.get("active")&&this.states.lookup("active")?this.states.applyAnimate("active"):this.get("disabled")&&this.states.lookup("disabled")?this.states.applyAnimate("disabled"):(this.states.lookup("hover")||this.states.lookup("hoverActive"))&&this.states.applyAnimate("default"),this.get("draggable")&&this._isDown&&this.states.lookup("down")&&this.states.applyAnimate("down"))}_handleUp(e){if(!this.isHidden()){this.get("active")&&this.states.lookup("active")?this.states.applyAnimate("active"):this.get("disabled")&&this.states.lookup("disabled")?this.states.applyAnimate("disabled"):this.states.lookup("down")&&(this.isHover()?this.states.applyAnimate("hover"):this.states.applyAnimate("default")),this._downPoint=void 0;const t=La(e.originalEvent);delete this._downPoints[t],Ce(this._downPoints).length==0&&(this._isDown=!1)}}_hasMoved(e){const t=La(e.originalEvent),i=this._downPoints[t];if(i){const r=Math.abs(i.x-e.point.x),n=Math.abs(i.y-e.point.y);return r>5||n>5}return!1}_hasDown(){return Ce(this._downPoints).length>0}_handleDown(e){const t=this.parent;if(t&&!this.get("draggable")&&t._handleDown(e),this.get("interactive")&&!this.isHidden()){this.states.lookup("down")&&this.states.applyAnimate("down"),this._downPoint={x:e.point.x,y:e.point.y},this._isDown=!0;const i=La(e.originalEvent);this._downPoints[i]={x:e.point.x,y:e.point.y}}}dragMove(e){let t=this._dragEvent;if(t){if(t.simulated&&!e.simulated)return!0;let i=0,r=this.parent,n=1;for(;r!=null;)i+=r.get("rotation",0),r=r.parent,r&&(n*=r.get("scale",1));let a=(e.point.x-t.point.x)/n,o=(e.point.y-t.point.y)/n;const l=this.events;if(t.simulated&&!this._isDragging){this._isDragging=!0,this._dragEvent=e,this._dragPoint={x:this.x(),y:this.y()};const u="dragstart";l.isEnabled(u)&&l.dispatch(u,{type:u,target:this,originalEvent:e.originalEvent,point:e.point,simulated:e.simulated})}if(this._isDragging){let u=this._dragPoint;this.set("x",u.x+a*Vt(i)+o*St(i)),this.set("y",u.y+o*Vt(i)-a*St(i));const c="dragged";l.isEnabled(c)&&l.dispatch(c,{type:c,target:this,originalEvent:e.originalEvent,point:e.point,simulated:e.simulated})}else if(Math.hypot(a,o)>5){this._isDragging=!0,this._dragEvent=e,this._dragPoint={x:this.x(),y:this.y()};const u="dragstart";l.isEnabled(u)&&l.dispatch(u,{type:u,target:this,originalEvent:e.originalEvent,point:e.point,simulated:e.simulated})}}}_updateSize(){}_getBounds(){this._localBounds=this._display.getLocalBounds()}depth(){let e=this.parent,t=0;for(;;)if(e)++t,e=e.parent;else return t}markDirtySize(){this._sizeDirty=!0,this.markDirty()}markDirtyBounds(){const e=this._display;
41if(this.get("isMeasured")){this._root._addDirtyBounds(this),e.isMeasured=!0,e.invalidateBounds();const t=this.parent;t&&this.get("position")!="absolute"&&(t.get("width")==null||t.get("height")==null||t.get("layout"))&&t.markDirtyBounds(),this.get("focusable")&&this.markDirtyAccessibility()}}markDirtyAccessibility(){this._root._invalidateAccessibility(this)}markDirtyLayer(){this._display.markDirtyLayer(!0)}markDirty(){super.markDirty(),this.markDirtyLayer()}_updateBounds(){const e=this._adjustedLocalBounds;let t;if(!this.get("visible")||!this.getPrivate("visible")||this.get("forceHidden")?(t={left:0,right:0,top:0,bottom:0},this._localBounds=t,this._adjustedLocalBounds=t):(this._getBounds(),this._fixMinBounds(this._localBounds),this.updatePivotPoint(),this._adjustedLocalBounds=this._display.getAdjustedBounds(this._localBounds),t=this._adjustedLocalBounds),!e||e.left!==t.left||e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom){const i="boundschanged";this.events.isEnabled(i)&&this.events.dispatch(i,{type:i,target:this}),this.parent&&(this.parent.markDirty(),this.parent.markDirtyBounds()),this.getPrivate("showingTooltip")&&this.showTooltip()}}_fixMinBounds(e){let t=this.get("minWidth",this.getPrivate("minWidth")),i=this.get("minHeight",this.getPrivate("minHeight"));F(t)&&e.right-e.left<t&&(e.right=e.left+t),F(i)&&e.bottom-e.top<i&&(e.bottom=e.top+i);let r=this.getPrivate("width"),n=this.getPrivate("height");F(r)&&(r>0?e.right=e.left+r:e.left=e.right+r),F(n)&&(n>0?e.bottom=e.top+n:e.top=e.bottom+n)}_removeParent(e){e&&(e.children.removeValue(this),qe(e._percentageSizeChildren,this),qe(e._percentagePositionChildren,this))}_clearDirty(){super._clearDirty(),this._sizeDirty=!1,this._statesHandled=!1}hover(){this.isDisposed()||(this.showTooltip(),this._handleOver())}unhover(){this.isDisposed()||(this.hideTooltip(),this._handleOut())}showTooltip(e){if(!this.isDisposed()){const t=this.getTooltip(),i=this.get("tooltipText"),r=this.get("tooltipHTML");if((i||r)&&t){const n=this.get("tooltipPosition"),a=this.getPrivate("tooltipTarget",this);if((n=="fixed"||!e)&&(this._display._setMatrix(),e=this.toGlobal(a._getTooltipPoint())),n=="pointer"){const u=this.getPrivate("lastTooltipCoords");if(u&&u.x==e.x&&u.y==e.y)return;this.setPrivate("lastTooltipCoords",e)}t.set("pointTo",e),t.set("tooltipTarget",a),t.get("x")||t.set("x",e.x),t.get("y")||t.set("y",e.y),i&&t.label.set("text",i),r&&t.label.set("html",r);const o=this.dataItem;if(o&&t.label._setDataItem(o),this.get("showTooltipOn")=="always"&&(e.x<0||e.x>this._root.width()||e.y<0||e.y>this._root.height())){this.hideTooltip();return}t.label.text.markDirtyText();const l=t.show();return this.setPrivateRaw("showingTooltip",!0),l}}}hideTooltip(){const e=this.getTooltip();if(e&&(this.removePrivate("lastTooltipCoords"),e.get("tooltipTarget")==this.getPrivate("tooltipTarget",this)||this.get("tooltip")==e)){let t=e.get("keepTargetHover")&&e.get("stateAnimationDuration",0)==0?400:void 0;const i=e.hide(t);return this.setPrivateRaw("showingTooltip",!1),i}}_getTooltipPoint(){const e=this._localBounds;if(e){let t=0,i=0;return this.get("isMeasured")?(t=e.left+Le(this.get("tooltipX",0),e.right-e.left),i=e.top+Le(this.get("tooltipY",0),e.bottom-e.top)):(t=Le(this.get("tooltipX",0),this.width()),i=Le(this.get("tooltipY",0),this.height())),{x:t,y:i}}return{x:0,y:0}}getTooltip(){let e=this.get("tooltip");if(e)return e;{let t=this.parent;if(t)return t.getTooltip()}}_updatePosition(){const e=this.parent;let t=this.get("dx",0),i=this.get("dy",0),r=this.get("x"),n=this.getPrivate("x"),a=0,o=0;const l=this.get("position");r instanceof se&&(e?r=e.innerWidth()*r.value+e.get("paddingLeft",0):r=0),F(r)?a=r+t:n!=null?a=n:e&&l=="relative"&&(a=e.get("paddingLeft",0)+t);let u=this.get("y"),c=this.getPrivate("y");u instanceof se&&(e?u=e.innerHeight()*u.value+e.get("paddingTop",0):u=0),F(u)?o=u+i:c!=null?o=c:e&&l=="relative"&&(o=e.get("paddingTop",0)+i);const h=this._display;if(h.x!=a||h.y!=o){h.invalidateBounds(),h.x=a,h.y=o;const f="positionchanged";this.events.isEnabled(f)&&this.events.dispatch(f,{type:f,target:this})}this.getPrivate("showingTooltip")&&this.showTooltip()}x(){let e=this.get("x"),t=this.getPrivate("x");const i=this.parent;return i?e instanceof se?Le(e,i.innerWidth())+i.get("paddingLeft",0):F(e)?e:t??i.get("paddingLeft",this._display.x):this._display.x}y(){let e=this.getPrivate("y");if(e!=null)return e;let t=this.get("y");const i=this.parent;return i?t instanceof se?Le(t,i.innerHeight())+i.get("paddingTop",0):F(t)?t:e??i.get("paddingTop",this._display.y):this._display.y}_dispose(){super._dispose(),this._display.dispose(),this._removeTemplateField(),this._removeParent(this.parent),this._root._removeFocusElement(this);const e=this.get("tooltip");e&&e.dispose(),this.markDirty()}adjustedLocalBounds(){return this._fixMinBounds(this._adjustedLocalBounds),this._adjustedLocalBounds}localBounds(){return this._localBounds}bounds(){const e=this._adjustedLocalBounds,t=this.x(),i=this.y();
41return{left:e.left+t,right:e.right+t,top:e.top+i,bottom:e.bottom+i}}globalBounds(){const e=this.localBounds(),t=this.toGlobal({x:e.left,y:e.top}),i=this.toGlobal({x:e.right,y:e.top}),r=this.toGlobal({x:e.right,y:e.bottom}),n=this.toGlobal({x:e.left,y:e.bottom});return{left:Math.min(t.x,i.x,r.x,n.x),top:Math.min(t.y,i.y,r.y,n.y),right:Math.max(t.x,i.x,r.x,n.x),bottom:Math.max(t.y,i.y,r.y,n.y)}}_onShow(e){}_onHide(e){}appear(e,t){return Ne(this,void 0,void 0,function*(){return yield this.hide(0),t?new Promise((i,r)=>{this.setTimeout(()=>{i(this.show(e))},t)}):this.show(e)})}show(e){return Ne(this,void 0,void 0,function*(){if(!this._isShowing){this._isHidden=!1,this._isShowing=!0,this._isHiding=!1,this.states.lookup("default").get("visible")&&this.set("visible",!0),this._onShow(e);const t=this.states.applyAnimate("default",e);yield dl(t),this._isShowing=!1}})}hide(e){return Ne(this,void 0,void 0,function*(){if(!this._isHiding&&!this._isHidden){this._isHiding=!0,this._isShowing=!1;let t=this.states.lookup("hidden");t||(t=this.states.create("hidden",{opacity:0,visible:!1})),this._isHidden=!0,this._onHide(e);const i=this.states.applyAnimate("hidden",e);yield dl(i),this._isHiding=!1}})}isHidden(){return this._isHidden}isShowing(){return this._isShowing}isHiding(){return this._isHiding}isHover(){return this._display.hovering()}isFocus(){return this._root.focused(this)}isDragging(){return this._isDragging}isVisible(){return!!(this.get("visible")&&this.getPrivate("visible")&&!this.get("forceHidden"))}isVisibleDeep(){return this._parent?this._parent.isVisibleDeep()&&this.isVisible():this.isVisible()}compositeOpacity(){const e=this.get("opacity",1);return this._parent?this._parent.compositeOpacity()*e:e}compositeScale(){const e=this.get("scale",1);return this._parent?this._parent.compositeScale()*e:e}compositeRotation(){const e=this.get("rotation",0);return this._parent?this._parent.compositeRotation()+e:e}width(){let e=this.get("width"),t=this.get("maxWidth",this.getPrivate("maxWidth")),i=this.get("minWidth",this.getPrivate("minWidth")),r=this.getPrivate("width"),n=0;if(F(r))n=r;else if(e==null)this._adjustedLocalBounds&&(n=this._adjustedLocalBounds.right-this._adjustedLocalBounds.left);else if(e instanceof se){const a=this.parent;a?n=a.innerWidth()*e.value:n=this._root.width()*e.value}else F(e)&&(n=e);return F(i)&&(n=Math.max(i,n)),F(t)&&(n=Math.min(t,n)),n}maxWidth(){let e=this.get("maxWidth",this.getPrivate("maxWidth"));if(F(e))return e;{let i=this.get("width");if(F(i))return i}const t=this.parent;return t?t.innerWidth():this._root.width()}maxHeight(){let e=this.get("maxHeight",this.getPrivate("maxHeight"));if(F(e))return e;{let i=this.get("height");if(F(i))return i}const t=this.parent;return t?t.innerHeight():this._root.height()}height(){let e=this.get("height"),t=this.get("maxHeight",this.getPrivate("maxHeight")),i=this.get("minHeight",this.getPrivate("minHeight")),r=this.getPrivate("height"),n=0;if(F(r))n=r;else if(e==null)this._adjustedLocalBounds&&(n=this._adjustedLocalBounds.bottom-this._adjustedLocalBounds.top);else if(e instanceof se){const a=this.parent;a?n=a.innerHeight()*e.value:n=this._root.height()*e.value}else F(e)&&(n=e);return F(i)&&(n=Math.max(i,n)),F(t)&&(n=Math.min(t,n)),n}_findStaticTemplate(e){return this._templateField&&e(this._templateField)?this._templateField:super._findStaticTemplate(e)}_walkParents(e){this._parent&&this._walkParent(e)}_walkParent(e){this._parent&&this._parent._walkParent(e),e(this)}get parent(){return this._parent}_setParent(e,t=!1){const i=this._parent;e!==i&&(this.markDirtyBounds(),e.markDirty(),this._parent=e,t&&(this._removeParent(i),e&&(this._addPercentageSizeChildren(),this._addPercentagePositionChildren())),this.markDirtyPosition(),this._applyThemes())}getNumberFormatter(){return this.get("numberFormatter",this._root.numberFormatter)}getDateFormatter(){return this.get("dateFormatter",this._root.dateFormatter)}getDurationFormatter(){return this.get("durationFormatter",this._root.durationFormatter)}toGlobal(e){return this._display.toGlobal(e)}toLocal(e){return this._display.toLocal(e)}_getDownPoint(){const e=this._getDownPointId();if(e)return this._downPoints[e]}_getDownPointId(){if(this._downPoints)return S4(this._downPoints,(e,t)=>e>t?1:e<t?-1:0)[0]}toFront(){const e=this.parent;e&&e.children.moveValue(this,e.children.length-1)}toBack(){const e=this.parent;e&&e.children.moveValue(this,0)}}Object.defineProperty(It,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Sprite"});Object.defineProperty(It,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:tt.classNames.c
41oncat([It.className])});class tn extends tt{constructor(){super(...arguments),Object.defineProperty(this,"_display",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeGraphics()}),Object.defineProperty(this,"_backgroundDisplay",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeGraphics()}),Object.defineProperty(this,"_clear",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_pattern",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNewApplyThemes()}get pattern(){return this._pattern}_draw(){}_beforeChanged(){super._beforeChanged(),(this.isDirty("repetition")||this.isDirty("width")||this.isDirty("height")||this.isDirty("rotation")||this.isDirty("strokeWidth")||this.isDirty("strokeDasharray")||this.isDirty("strokeDashoffset")||this.isDirty("colorOpacity")||this.isDirty("fillOpacity"))&&(this._clear=!0),this._checkDirtyFill()}_checkDirtyFill(){(this.isDirty("color")||this.isDirty("fill"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){const e=this.get("repetition",""),t=this.get("width",100),i=this.get("height",100),r=this.get("fill"),n=this.get("fillOpacity",1),a=this._backgroundDisplay,o=this._display;o.clear(),a.clear(),r&&n>0&&(a.beginFill(r,n),a.drawRect(0,0,t,i),a.endFill()),o.angle=this.get("rotation",0),this._draw(),this._pattern=this._root._renderer.createPattern(o,a,e,t,i)}this._clear=!1}}Object.defineProperty(tn,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Pattern"});Object.defineProperty(tn,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:tt.classNames.concat([tn.className])});class rn extends tn{constructor(){super(...arguments),Object.defineProperty(this,"_image",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_beforeChanged(){super._beforeChanged(),this._clear=!0,this.isDirty("src")&&this._load();const e=this.get("canvas");e&&(this.set("width",e.width),this.set("height",e.height))}_draw(){super._draw();const e=this.get("colorOpacity");e!==void 0&&(this._display.alpha=Math.max(0,e));const t=this._image;if(t){const r=this.get("width",100),n=this.get("height",100),a=this.get("fit","image");let o=0,l=0;a=="pattern"?(o=r,l=n,this.markDirty()):(o=t.width,l=t.height,a=="image"&&(this.set("width",o),this.set("height",l)));const u=this.get("centered",!0);let c=0,h=0;u&&(c=r/2-o/2,h=n/2-l/2),this._display.image(t,o,l,c,h)}const i=this.get("canvas");i&&this._display.image(i,i.width,i.height,0,0)}_load(){const e=this.get("src");if(e){const t=new Image;t.src=e,t.decode().then(()=>{this._image=t,this._draw(),this.events.isEnabled("loaded")&&this.events.dispatch("loaded",{type:"loaded",target:this})}).catch(i=>{})}}}Object.defineProperty(rn,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PicturePattern"});Object.defineProperty(rn,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:tn.classNames.concat([rn.className])});var Rs;(function(s){s.ADD="lighter",s.COLOR="color",s.COLOR_BURN="color-burn",s.COLOR_DODGE="color-dodge",s.DARKEN="darken",s.DIFFERENCE="difference",s.DST_OVER="destination-over",s.EXCLUSION="exclusion",s.HARD_LIGHT="hard-light",s.HUE="hue",s.LIGHTEN="lighten",s.LUMINOSITY="luminosity",s.MULTIPLY="multiply",s.NORMAL="source-over",s.OVERLAY="overlay",s.SATURATION="saturation",s.SCREEN="screen",s.SOFT_LIGHT="soft-light",s.SRC_ATOP="source-atop",s.XOR="xor"})(Rs||(Rs={}));const io=["fill","fillOpacity","stroke","strokeWidth","strokeOpacity","fillPattern","strokePattern","fillGradient","strokeGradient","strokeDasharray","strokeDashoffset","shadowBlur","shadowColor","shadowOpacity","shadowOffsetX","shadowOffsetY","blur","sepia","invert","brightness","hue","contrast","saturate"];class me extends It{constructor(){super(...arguments),Object.defineProperty(this,"_display",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeGraphics()}),Object.defineProperty(this,"_clear",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_beforeChanged(){if(super._beforeChanged(),(this.isDirty("draw")||this.isDirty("svgPath"))&&this.markDirtyBounds(),(this.isDirty("fill")||this.isDirty("stroke")||this.isDirty("visible")||this.isDirty("forceHidden")||this.isDirty("scale")||this.isDirty("fillGradient")||this.isDirty("strokeGradient")||this.isDirty("fillPattern")||this.isDirty("strokePattern")||this.isDirty("fillOpacity")||this.isDirty("strokeOpacity")||this.isDirty("strokeWidth")||this.isDirty("draw")||this.isDirty("blendMode")||this.isDirty("strokeDasharray")||this.isDirty("strokeDashoffset")||this.isDirty("svgPath")||this.isDirty("lineJoin")||this.isDirty("lineCap")||this.isDirty("shadowColor")||this.isDirty("shadowBlur")||this.isDirty("shadowOffsetX")||this.isDirty("shadowOffsetY"))&&(this._clear=!0),this._display.crisp=this.get("crisp",!1),this.isDirty("fillGradient")){const e=this.get("fillGradient");if(e){this._display.isMeasured=!0;const t=e.get("target");t&&(this._disposers.push(t.events.on("boundschanged",()=>{this._markDirtyKey("fill")})),this._disposers.push(t.events.on("positionchanged",()=>{this._markDirtyKey("fill")})))}}if(this.isDirty("strokeGradient")){const e=this.get("strokeGradient");if(e){this._display.isMeasured=!0;const t=e.get("target");t&&(this._disposers.push(t.events.on("boundschanged",()=>{this._markDirtyKey("stroke")})),this._disposers.push(t.events.on("positionchanged",()=>{this._markDirtyKey("stroke")})))}}}_changed(){if(super._changed(),this._clear){this.markDirtyBounds(),this.markDirtyLayer(),this._display.clear();let e=this.get("strokeDasharray");F(e)&&(e<.5?e=[0]:e=[e]),this._display.setLineDash(e);const t=this.get("strokeDashoffset");t&&this._display.setLineDashOffset(t);const i=this.get("blendMode",Rs.NORMAL);this._display.blendMode=i;const r=this.get("draw");r&&typeof r=="function"&&r(this._display,this);const n=this.get("svgPath");n!=null&&this._display.svgPath(n)}}_afterChanged(){if(super._afterChanged(),this._clear){const e=this.get("fill"),t=this.get("fillGradient"),i=this.get("fillPattern"),r=this.get("fillOpacity"),n=this.get("stroke"),a=this.get("strokeGradient"),o=this.get("strokePattern"),l=this.get("shadowColor"),u=this.get("shadowBlur"),c=this.get("shadowOffsetX"),h=this.get("shadowOffsetY"),f=this.get("shadowOpacity");if(l&&(u||c||h)&&this._display.shadow(l,u,c,h,f),e&&!t&&(this._display.beginFill(e,r),this._display.endFill()),t){if(e){const p=t.get("stops",[]);p.length&&I(p,g=>{(!g.color||g.colorInherited)&&e&&(g.color=e,g.colorInherited=!0),(g.opacity==null||g.opacityInherited)&&(g.opacity=r,g.opacityInherited=!0)})}
41const d=t.getFill(this);d&&(this._display.beginFill(d,r),this._display.endFill())}if(i){const d=i.pattern;d&&(this._display.beginFill(d,r),this._display.endFill(),i instanceof rn&&i.events.once("loaded",()=>{this._clear=!0,this.markDirty()}))}if(n||a||o){const d=this.get("strokeOpacity");let p=this.get("strokeWidth",1);this.get("nonScalingStroke")&&(p=p/this.get("scale",1)),this.get("crisp")&&(p/=this._root._renderer.resolution);const g=this.get("lineJoin"),b=this.get("lineCap");if(n&&!a&&(this._display.lineStyle(p,n,d,g,b),this._display.endStroke()),a){const m=a.get("stops",[]);m.length&&I(m,x=>{(!x.color||x.colorInherited)&&n&&(x.color=n,x.colorInherited=!0),(x.opacity==null||x.opacityInherited)&&(x.opacity=d,x.opacityInherited=!0)});const v=a.getFill(this);v&&(this._display.lineStyle(p,v,d,g,b),this._display.endStroke())}if(o){let m=o.pattern;m&&(this._display.lineStyle(p,m,d,g,b),this._display.endStroke(),o instanceof rn&&o.events.once("loaded",()=>{this._clear=!0,this.markDirty()}))}}this.getPrivate("showingTooltip")&&this.showTooltip()}this._clear=!1}}Object.defineProperty(me,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Graphics"});Object.defineProperty(me,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:It.classNames.concat([me.className])});class ut extends me{_afterNew(){super._afterNew(),this._display.isMeasured=!0,this.setPrivateRaw("trustBounds",!0)}_beforeChanged(){super._beforeChanged(),(this.isDirty("width")||this.isDirty("height")||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}_changed(){super._changed(),this._clear&&!this.get("draw")&&this._draw()}_draw(){let e=this.width(),t=this.height(),i=0,r=0,n=e/Math.abs(e),a=t/Math.abs(t);if(this.get("containStroke",!1)){const o=this.get("strokeWidth",0);e-=o*n,t-=o*a,i+=o/2*n,r+=o/2*a}this._display.drawRect(i,r,e,t)}_updateSize(){this.markDirty(),this._clear=!0}}Object.defineProperty(ut,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Rectangle"});Object.defineProperty(ut,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:me.classNames.concat([ut.className])});function ii(s,e){s.get("reverseChildren",!1)?s.children.eachReverse(e):s.children.each(e)}class ni extends tt{}Object.defineProperty(ni,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Layout"});Object.defineProperty(ni,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:tt.classNames.concat([ni.className])});class lr extends ni{updateContainer(e){let t=e.get("paddingLeft",0),i=e.innerWidth(),r=0;ii(e,a=>{if(a.isVisible()&&a.get("position")=="relative"){let o=a.get("width");if(o instanceof se){r+=o.value;let l=i*o.value,u=a.get("minWidth",a.getPrivate("minWidth",-1/0));u>l&&(i-=u,r-=o.value);let c=a.get("maxWidth",a.getPrivate("maxWidth",1/0));l>c&&(i-=c,r-=o.value)}else F(o)||(o=a.width()),i-=o+a.get("marginLeft",0)+a.get("marginRight",0)}}),(i<=0||i==1/0)&&(i=.1),ii(e,a=>{if(a.isVisible()&&a.get("position")=="relative"){let o=a.get("width");if(o instanceof se){let l=i*o.value/r-a.get("marginLeft",0)-a.get("marginRight",0),u=a.get("minWidth",a.getPrivate("minWidth",-1/0)),c=a.get("maxWidth",a.getPrivate("maxWidth",1/0));l=Math.min(Math.max(u,l),c),a.setPrivate("width",l)}else a._prevSettings.width instanceof se&&a.setPrivate("width",void 0)}});let n=t;ii(e,a=>{if(a.get("position")=="relative")if(a.isVisible()){let o=a.adjustedLocalBounds(),l=a.get("marginLeft",0),u=a.get("marginRight",0),c=a.get("maxWidth"),h=o.left,f=o.right;c&&f-h>c&&(f=h+c);let d=n+l-h;a.setPrivate("x",d),n=d+f+u}else a.setPrivate("x",void 0)})}}Object.defineProperty(lr,"className",{enumerable:!0,configurable:!0,writable:!0,value:"HorizontalLayout"});Object.defineProperty(lr,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ni.classNames.concat([lr.className])});class ur extends ni{updateContainer(e){let t=e.get("paddingTop",0),i=e.innerHeight(),r=0;ii(e,a=>{if(a.isVisible()&&a.get("position")=="relative"){let o=a.get("height");if(o instanceof se){r+=o.value;let l=i*o.value,u=a.get("minHeight",a.getPrivate("minHeight",-1/0));u>l&&(i-=u,r-=o.value);let c=a.get("maxHeight",a.getPrivate("maxHeight",1/0));l>c&&(i-=c,r-=o.value)}else F(o)||(o=a.height()),i-=o+a.get("marginTop",0)+a.get("marginBottom",0)}}),(i<=0||i==1/0)&&(i=.1),ii(e,a=>{if(a.isVisible()&&a.get("position")=="relative"){let o=a.get("height");if(o instanceof se){let l=i*o.value/r-a.get("marginTop",0)-a.get("marginBottom",0),u=a.get("minHeight",a.getPrivate("minHeight",-1/0)),c=a.get("maxHeight",a.getPrivate("maxHeight",1/0));l=Math.min(Math.max(u,l),c),a.setPrivate("height",l)}else a._prevSettings.height instanceof se&&a.setPrivate("height",void 0)}});let n=t;ii(e,a=>{if(a.get("position")=="relative")if(a.isVisible()){let o=a.adjustedLocalBounds(),l=a.get("marginTop",0),u=o.top,c=o.bottom,h=a.get("maxHeight");h&&c-u>h&&(c=u+h);let f=a.get("marginBottom",0),d=n+l-u;a.setPrivate("y",d),n=d+c+f}else a.setPrivate("y",void 0)})}}Object.defineProperty(ur,"className",{enumerable:!0,configurable:!0,writable:!0,value:"VerticalLayout"});Object.defineProperty(ur,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ni.classNames.c
41oncat([ur.className])});class Ri extends ni{_afterNew(){this._setRawDefault("maxColumns",Number.MAX_VALUE),super._afterNew()}updateContainer(e){let t=e.get("paddingLeft",0),i=e.get("paddingRight",0),r=e.get("paddingTop",0),n=e.maxWidth()-t-i,a=n,o=1;ii(e,p=>{if(p.get("visible")&&p.getPrivate("visible")&&!p.get("forceHidden")&&p.get("position")!="absolute"){let g=p.width();g<a&&(a=g),g>o&&(o=g)}}),a=Ae(a,1,n),o=Ae(o,1,n);let l=1;this.get("fixedWidthGrid")?l=n/o:l=n/a,l=Math.max(1,Math.floor(l)),l=Math.min(this.get("maxColumns",Number.MAX_VALUE),l);let u=this.getColumnWidths(e,l,o,n),c=r,h=0,f=0;l=u.length;let d=t;ii(e,p=>{if(p.get("position")=="relative"&&p.isVisible()){const g=p.get("marginTop",0),b=p.get("marginBottom",0);let m=p.adjustedLocalBounds(),v=p.get("marginLeft",0),x=p.get("marginRight",0),w=d+v-m.left,P=c+g-m.top;p.setPrivate("x",w),p.setPrivate("y",P),d+=u[h]+x,f=Math.max(f,p.height()+g+b),h++,h>=l&&(h=0,d=t,c+=f)}})}getColumnWidths(e,t,i,r){let n=0,a=[],o=0;return ii(e,l=>{let u=l.adjustedLocalBounds();l.get("position")!="absolute"&&l.isVisible()&&(this.get("fixedWidthGrid")?a[o]=i:a[o]=Math.max(a[o]|0,u.right-u.left+l.get("marginLeft",0)+l.get("marginRight",0)),o<e.children.length-1&&(o++,o==t&&(o=0)))}),I(a,l=>{n+=l}),n>r?t>2?(t-=1,this.getColumnWidths(e,t,i,r)):[r]:a}}Object.defineProperty(Ri,"className",{enumerable:!0,configurable:!0,writable:!0,value:"GridLayout"});Object.defineProperty(Ri,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ni.classNames.concat([Ri.className])});class Rt{static escape(e){return e.replace(/\[\[/g,this.prefix+"1").replace(/([^\/\]]{1})\]\]/g,"$1"+this.prefix+"2").replace(/\]\]/g,this.prefix+"2").replace(/\{\{/g,this.prefix+"3").replace(/\}\}/g,this.prefix+"4").replace(/\'\'/g,this.prefix+"5")}static unescape(e){return e.replace(new RegExp(this.prefix+"1","g"),"[[").replace(new RegExp(this.prefix+"2","g"),"]]").replace(new RegExp(this.prefix+"3","g"),"{{").replace(new RegExp(this.prefix+"4","g"),"}}").replace(new RegExp(this.prefix+"5","g"),"''")}static cleanUp(e){return e.replace(/\[\[/g,"[").replace(/\]\]/g,"]").replace(/\{\{/g,"{").replace(/\}\}/g,"}").replace(/\'\'/g,"'")}static chunk(e,t=!1,i=!1){let r=[];e=this.escape(e);let n=t?e.split("'"):[e];for(let a=0;a<n.length;a++){let o=n[a];if(o!=="")if(a%2===0){o=o.replace(/\]\[/g,"]"+_i+"["),o=o.replace(/\[\]/g,"[ ]");let l=o.split(/[\[\]]+/);for(let u=0;u<l.length;u++){let c=this.cleanUp(this.unescape(l[u]));c!==_i&&c!==""&&(u%2===0?r.push({type:"value",text:c}):r.push({type:i?"value":"format",text:"["+c+"]"}))}}else{let l=o.split(/[\[\]]+/);for(let u=0;u<l.length;u++){let c=this.cleanUp(this.unescape(l[u]));c!==""&&(u%2===0?r.push({type:"text",text:c}):this.isImage(c)?r.push({type:"image",text:"["+c+"]"}):r.push({type:"format",text:"["+c+"]"}))}}}return r}static isImage(e){return!!e.match(/img[ ]?:/)}static getTextStyle(e){let t={};if(e==""||e=="[ ]")return{};const i=e.match(/('[^']*')|("[^"]*")/gi);if(i)for(let n=0;n<i.length;n++)e=e.replace(i[n],i[n].replace(/['"]*/g,"").replace(/[ ]+/g,"+"));let r=e.match(/([\w\-]*:[\s]?[^;\s\]]*)|(\#[\w]{1,6})|([\w\-]+)|(\/)/gi);if(!r)return{};for(let n=0;n<r.length;n++)if(r[n].match(/^(normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900)$/i))t.fontWeight=r[n];else if(r[n].match(/^(underline|line-through)$/i))t.textDecoration=r[n];else if(r[n]!="/")if(!r[n].match(/:/))t.fill=J.fromString(r[n]);else{const a=r[n].replace("+"," ").split(/:[ ]*/);t[a[0]]=a[1]}return t}}Object.defineProperty(Rt,"prefix",{enumerable:!0,configurable:!0,writable:!0,value:"__amcharts__"});function cr(s,e){if(e!=null){e=""+e,e=Rt.escape(e);let t=e.match(/\{([^}]+)\}/g),i;if(t)for(i=0;i<t.length;i++){let r=t[i].replace(/\{([^}]+)\}/,"$1"),n=ro(s,r);n==null&&(n=""),e=e.split(t[i]).join(n)}e=Rt.unescape(e)}else e="";return e}function ro(s,e,t){let i;const r=s.dataItem;let n=[],a=/(format[a-zA-Z]*)\((.*)\)|([^.]+)/g,o;for(;o=a.exec(e),o!==null;)if(o[3]){n.push({prop:o[3]});const l=s.getDateFormatter().get("dateFields",[]),u=s.getNumberFormatter().get("numericFields",[]),c=s.getDurationFormatter().get("durationFields",[]);l.indexOf(o[3])!==-1?n.push({method:"formatDate",params:[]}):u.indexOf(o[3])!==-1?n.push({method:"formatNumber",params:[]}):c.indexOf(o[3])!==-1&&n.push({method:"formatDuration",params:[]})}else{let l=[];
41if(nr(o[2])!=""){let u=/'([^']*)'|"([^"]*)"|([0-9\-]+)/g,c;for(;c=u.exec(o[2]),c!==null;)l.push(c[1]||c[2]||c[3])}n.push({method:o[1],params:l})}if(r){i=Di(s,n,r._settings),(i==null||yn(i))&&(i=Di(s,n,r));let l=r.dataContext;i==null&&l&&(i=Di(s,n,l),i==null&&(i=Di(s,[{prop:e}],l)),i==null&&l.dataContext&&(i=Di(s,n,l.dataContext))),i==null&&r.component&&r.component.dataItem!==r&&(i=ro(r.component,e))}return i==null&&(i=Di(s,n,s)),i==null&&s.parent&&(i=ro(s.parent,e)),i}function f2(s,e){const t=s.getPrivate("customData");if(yn(t))return t[e]}function Di(s,e,t,i){let r=t,n=!1;for(let a=0,o=e.length;a<o;a++){let l=e[a];if(l.prop){if(r instanceof It){let u=r.get(l.prop);u==null&&(u=r.getPrivate(l.prop)),u==null&&(u=f2(r,l.prop)),u==null&&(u=r[l.prop]),r=u}else if(r.get){let u=r.get(l.prop);u==null&&(u=r[l.prop]),r=u}else r=r[l.prop];if(r==null)return}else switch(l.method){case"formatNumber":let u=xt(r);u!=null&&(r=s.getNumberFormatter().format(u,l.params[0]||void 0),n=!0);break;case"formatDate":let c=y4(r);if(!Wa(c)||Xt(c.getTime()))return;c!=null&&(r=s.getDateFormatter().format(c,l.params[0]||void 0),n=!0);break;case"formatDuration":let h=xt(r);h!=null&&(r=s.getDurationFormatter().format(h,l.params[0]||void 0,l.params[1]||void 0),n=!0);break;case"urlEncode":case"encodeURIComponent":r=encodeURIComponent(r);break;default:r[l.method]&&r[l.method].apply(t,l.params);break}}if(!n){let a=[{method:"",params:i}];F(r)?(a[0].method="formatNumber",a[0].params=""):Wa(r)&&(a[0].method="formatDate",a[0].params=""),a[0].method&&(r=Di(s,a,r))}return r}class ie extends It{constructor(){super(...arguments),Object.defineProperty(this,"_display",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeContainer()}),Object.defineProperty(this,"_childrenDisplay",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeContainer()}),Object.defineProperty(this,"children",{enumerable:!0,configurable:!0,writable:!0,value:new t2(this)}),Object.defineProperty(this,"_percentageSizeChildren",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_percentagePositionChildren",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_prevWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_prevHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_contentWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_contentHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_contentMask",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_vsbd0",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_vsbd1",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew(),this._display.addChild(this._childrenDisplay)}_dispose(){Ur(this.allChildren(),e=>{e.dispose()}),this.getPrivate("htmlElement")&&this._root._removeHTMLContent(this),super._dispose()}_changed(){if(super._changed(),this.isDirty("interactiveChildren")&&(this._display.interactiveChildren=this.get("interactiveChildren",!1)),this.isDirty("layout")&&(this._prevWidth=0,this._prevHeight=0,this.markDirtyBounds(),this._prevSettings.layout&&this.children.each(e=>{e.removePrivate("x"),e.removePrivate("y")})),(this.isDirty("paddingTop")||this.isDirty("paddingBottom")||this.isDirty("paddingLeft")||this.isDirty("paddingRight"))&&this.children.each(e=>{e.markDirtyPosition()}),this.isDirty("maskContent")){const e=this._childrenDisplay;let t=this._contentMask;this.get("maskContent")?t||(t=ut.new(this._root,{x:-.5,y:-.5,width:this.width()+1,height:this.height()+1}),this._contentMask=t,e.addChildAt(t._display,0),e.mask=t._display):t&&(e.removeChild(t._display),e.mask=null,t.dispose(),this._contentMask=void 0)}}_updateSize(){super._updateSize(),I(this._percentageSizeChildren,e=>{e._updateSize()}),I(this._percentagePositionChildren,e=>{e.markDirtyPosition(),e._updateSize()}
41),this.updateBackground()}updateBackground(){const e=this.get("background");let t=this._localBounds;if(t&&!this.isHidden()){let i=t.left,r=t.top,n=t.right-i,a=t.bottom-r,o=this.get("maxWidth"),l=this.get("maxHeight");l&&a>l&&(a=l),o&&n>o&&(n=o);let u=this.width(),c=this.height();e&&(e.setAll({width:n,height:a,x:i,y:r}),this._display.interactive&&(e._display.interactive=!0));const h=this._contentMask;h&&h.setAll({width:u+1,height:c+1});const f=this.get("verticalScrollbar");if(f){f.set("height",c),f.set("x",u-f.width()-f.get("marginRight",0)),f.set("end",f.get("start",0)+c/this._contentHeight);const d=f.get("background");d&&d.setAll({width:f.width(),height:c});let p=!0;this._contentHeight<=c&&(p=!1),f.setPrivate("visible",p)}}}_applyThemes(e=!1){return super._applyThemes(e)?(this.eachChildren(t=>{t._applyThemes(e)}),!0):!1}_applyState(e){super._applyState(e),this.get("setStateOnChildren")&&this.eachChildren(t=>{t.states.apply(e)})}_applyStateAnimated(e,t){super._applyStateAnimated(e,t),this.get("setStateOnChildren")&&this.eachChildren(i=>{i.states.applyAnimate(e,t)})}innerWidth(){return this.width()-this.get("paddingRight",0)-this.get("paddingLeft",0)}innerHeight(){return this.height()-this.get("paddingTop",0)-this.get("paddingBottom",0)}_getBounds(){if(this.get("html")){let e=this._localBounds;e&&(this._contentWidth=e.right-e.left,this._contentHeight=e.bottom-e.top)}else{let e=this.get("width"),t=this.get("height"),i=this.getPrivate("width"),r=this.getPrivate("height"),n={left:0,top:0,right:this.width(),bottom:this.height()},a=this.get("layout"),o=!1,l=!1;if((a instanceof lr||a instanceof Ri)&&(o=!0),a instanceof ur&&(l=!0),!((e!=null||i!=null)&&(t!=null||r!=null)&&!this.get("verticalScrollbar"))){let u=Number.MAX_VALUE,c=u,h=-u,f=u,d=-u;const p=this.get("paddingLeft",0),g=this.get("paddingTop",0),b=this.get("paddingRight",0),m=this.get("paddingBottom",0);this.children.each(w=>{if(w.get("position")!="absolute"&&w.get("isMeasured")){let P=w.adjustedLocalBounds(),T=w.x(),O=w.y(),L=T+P.left,S=T+P.right,B=O+P.top,C=O+P.bottom;o&&(L-=w.get("marginLeft",0),S+=w.get("marginRight",0)),l&&(B-=w.get("marginTop",0),C+=w.get("marginBottom",0)),L<c&&(c=L),S>h&&(h=S),B<f&&(f=B),C>d&&(d=C)}}),c==u&&(c=0),h==-u&&(h=0),f==u&&(f=0),d==-u&&(d=0),n.left=c-p,n.top=f-g,n.right=h+b,n.bottom=d+m;const v=this.get("minWidth");F(v)&&v>0&&n.right-n.left<v&&(n.right>
41=v?n.left=n.right-v:n.right=n.left+v);const x=this.get("minHeight");F(x)&&x>0&&n.bottom-n.top<x&&(n.bottom>=x?n.top=n.bottom-x:n.bottom=n.top+x)}this._contentWidth=n.right-n.left,this._contentHeight=n.bottom-n.top,F(e)&&(n.left=0,n.right=e),F(i)&&(n.left=0,n.right=i),F(t)&&(n.top=0,n.bottom=t),F(r)&&(n.top=0,n.bottom=r),this._localBounds=n}}_updateBounds(){const e=this.get("layout");e&&e.updateContainer(this),super._updateBounds(),this.updateBackground()}markDirty(){super.markDirty(),this._root._addDirtyParent(this)}_prepareChildren(){const e=this.innerWidth(),t=this.innerHeight();if(e!=this._prevWidth||t!=this._prevHeight){let i=this.get("layout"),r=!1,n=!1;i&&((i instanceof lr||i instanceof Ri)&&(r=!0),i instanceof ur&&(n=!0)),I(this._percentageSizeChildren,a=>{if(!r){let o=a.get("width");o instanceof se&&a.setPrivate("width",o.value*e)}if(!n){let o=a.get("height");o instanceof se&&a.setPrivate("height",o.value*t)}}),I(this._percentagePositionChildren,a=>{a.markDirtyPosition(),a.markDirtyBounds()}),this._prevWidth=e,this._prevHeight=t,this._sizeDirty=!0,this.updateBackgroun
41d()}this._handleStates()}_updateHTMLContent(){const e=this.get("html","");e&&e!==""?this._root._setHTMLContent(this,cr(this,e)):this._root._removeHTMLContent(this),this._root._positionHTMLElement(this)}scrollToChild(e){const t=this.get("verticalScrollbar");if(t){let i=e.y(),r=this.innerHeight(),n=e.height(),a=this._contentHeight,o=1-(r-n/2)/a;if(i+n*.7+this._childrenDisplay.y>r||i-n*.3+this._childrenDisplay.y<0){let l=Math.max(0,Math.min(o,(i-n/2)/a));t.animate({key:"start",to:l,duration:t.get("animationDuration",0),easing:t.get("animationEasing")})}}}_updateChildren(){if(this.isDirty("html")&&this._updateHTMLContent(),this.isDirty("verticalScrollbar")){const e=this.get("verticalScrollbar");if(e){e._setParent(this),e.startGrip.setPrivate("visible",!1),e.endGrip.setPrivate("visible",!1),this.set("maskContent",!0),this.set("paddingRight",e.width()+e.get("marginRight",0)+e.get("marginLeft",0));let t=this.get("background");t||(t=this.set("background",ut.new(this._root,{themeTags:["background"],fillOpacity:0,fill:this._root.interfaceColors.get("alternativeBackground")}))),this._vsbd0=this.events.on("wheel",i=>{const r=i.originalEvent;if(wa(r,this))r.preventDefault();else return;let n=r.deltaY/5e3;const a=e.get("start",0),o=e.get("end",1);a+n<=0&&(n=-a),o+n>=1&&(n=1-o),a+n>=0&&o+n<=1&&(e.set("start",a+n),e.set("end",o+n))}),this._disposers.push(this._vsbd0),this._vsbd1=e.events.on("rangechanged",()=>{let i=this._contentHeight;const r=this._childrenDisplay,n=this._contentMask;r.y=-e.get("start",0)*i,r.markDirtyLayer(),n&&(n._display.y=-r.y,r.mask=n._display)}),this._disposers.push(this._vsbd1),this._display.addChild(e._display)}else{const t=this._prevSettings.verticalScrollbar;if(t){this._display.removeChild(t._display),this._vsbd0&&this._vsbd0.dispose(),this._vsbd1&&this._vsbd1.dispose();const i=this._childrenDisplay;i.y=0,this.setPrivate("height",void 0),this.set("maskContent",!1),this.set("paddingRight",void 0)}}}if(this.isDirty("background")){const e=this._prevSettings.background;e&&this._display.removeChild(e._display);const t=this.get("background");t instanceof It&&(t.set("isMeasured",!1),t._setParent(this),this._display.addChildAt(t._display,0))}if(this.isDirty("mask")){const e=this.get("mask"),t=this._prevSettings.mask;if(t&&(this._display.removeChild(t._display),t!=e&&t.dispose()),e){const i=e.parent;i&&i.children.removeValue(e),e._setParent(this),this._display.addChildAt(e._display,0),this._childrenDisplay.mask=e._display}}}_processTemplateField(){super._processTemplateField(),this.children.each(e=>{e._processTemplateField()})}walkChildren(e){this.children.each(t=>{t instanceof ie&&t.walkChildren(e),e(t)})}eachChildren(e){const t=this.get("background");t&&e(t);const i=this.get("verticalScrollbar");i&&e(i);const r=this.get("mask");r&&e(r),this.children.values.forEach(n=>{e(n)})}allChildren(){const e=[];return this.eachChildren(t=>{e.push(t)}),e}_setDataItem(e){const t=e!==this._dataItem;super._setDataItem(e);const i=this.get("html","");i&&i!==""&&t&&this._root._setHTMLContent(this,cr(this,i))}}Object.defineProperty(ie,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Container"});Object.defineProperty(ie,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:It.classNames.concat([ie.className])});class Ii extends It{constructor(){super(...arguments),Object.defineProperty(this,"textStyle",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeTextStyle()}),Object.defineProperty(this,"_display",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeText("",this.textStyle)}),Object.defineProperty(this,"_textStyles",{enumerable:!0,configurable:!0,writable:!0,value:["textAlign","fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","shadowOpacity","lineHeight","baselineRatio","direction","textBaseline","oversizedBehavior","breakWords","ellipsis","minScale","maxChars"]}),Object.defineProperty(this,"_originalScale",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_updateBounds(){if(this.get("text")){super._updateBounds();let e=this.get("fillGradient");
41e&&(this._display.style.fill=e.getFill(this))}else{let e={left:0,right:0,top:0,bottom:0};this._adjustedLocalBounds=e}}_changed(){super._changed(),this._display.clear();let e=this.textStyle;if(this.isDirty("opacity")){let t=this.get("opacity",1);this._display.alpha=t}if((this.isDirty("text")||this.isDirty("populateText"))&&(this._display.text=this._getText(),this.markDirtyBounds(),this.get("role")=="tooltip"&&this._root.updateTooltip(this)),this.isPrivateDirty("tooltipElement")&&this.getPrivate("tooltipElement")&&this._disposers.push(new Ye(()=>{this._root._removeTooltipElement(this)})),this.isDirty("width")&&(e.wordWrapWidth=this.width(),this.markDirtyBounds()),this.isDirty("oversizedBehavior")&&(e.oversizedBehavior=this.get("oversizedBehavior","none"),this.markDirtyBounds()),this.isDirty("breakWords")&&(e.breakWords=this.get("breakWords",!1),this.markDirtyBounds()),this.isDirty("ellipsis")&&(e.ellipsis=this.get("ellipsis"),this.markDirtyBounds()),this.isDirty("ignoreFormatting")&&(e.ignoreFormatting=this.get("ignoreFormatting",!1),this.markDirtyBounds()),this.isDirty("minScale")&&(e.minScale=this.get("minScale",0),this.markDirtyBounds()),this.isDirty("fill")||this.isDirty("fillGradient")){const t=this.get("fill"),i=this.get("fillGradient"),r=this.get("fillOpacity");if(i){if(t){const n=i.get("stops",[]);n.length&&I(n,a=>{(!a.color||a.colorInherited)&&t&&(a.color=t,a.colorInherited=!0),(a.opacity==null||a.opacityInherited)&&(a.opacity=r,a.opacityInherited=!0)})}e.fill=i.getFill(this)}else t&&(e.fill=t)}if(this.isDirty("fillOpacity")){let t=this.get("fillOpacity",1);t&&(e.fillOpacity=t)}(this.isDirty("maxWidth")||this.isPrivateDirty("maxWidth"))&&(e.maxWidth=this.get("maxWidth",this.getPrivate("maxWidth")),this.markDirtyBounds()),(this.isDirty("maxHeight")||this.isPrivateDirty("maxHeight"))&&(e.maxHeight=this.get("maxHeight",this.getPrivate("maxHeight")),this.markDirtyBounds()),I(this._textStyles,t=>{this._dirty[t]&&(e[t]=this.get(t),this.markDirtyBounds())}),e.fontSize=this.get("fontSize"),e.fontFamily=this.get("fontFamily"),this._display.style=e,this.isDirty("role")&&this.get("role")=="tooltip"&&this._root.updateTooltip(this)}_getText(){let e=this.get("text","");return this.get("maxChars")&&(e=$4(e,this.get("maxChars",1e8),this.get("breakWords"),this.get("ellipsis"))),this.get("populateText")?cr(this,e):e}_getAccessibleText(){const e=this.get("ariaLabel");return e!==void 0?this.get("populateText")?cr(this,e):e:this._getText()}markDirtyText(){this._display.text=this._getText(),this.get("role")=="tooltip"&&this._root.updateTooltip(this),this.markDirtyBounds(),this.markDirty()}_setDataItem(e){super._setDataItem(e),this.get("populateText")&&this.markDirtyText()}getNumberFormatter(){return this.parent?this.parent.getNumberFormatter():super.getNumberFormatter()}getDateFormatter(){return this.parent?this.parent.getDateFormatter():super.getDateFormatter()}getDurationFormatter(){return this.parent?this.parent.getDurationFormatter():super.getDurationFormatter()}}Object.defineProperty(Ii,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Text"});Object.defineProperty(Ii,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:It.classNames.concat([Ii.className])});class g2{constructor(){Object.defineProperty(this,"_observer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_targets",{enumerable:!0,configurable:!0,writable:!0,value:[]}),this._observer=new ResizeObserver(e=>{I(e,t=>{I(this._targets,i=>{i.target===t.target&&i.callback()})})})}addTarget(e,t){this._observer.observe(e,{box:"border-box"}),this._targets.push({target:e,callback:t})}removeTarget(e){this._observer.unobserve(e),ya(this._targets,t=>t.target!==e)}}class Pa{constructor(){Object.defineProperty(this,"_timer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_targets",{enumerable:!0,configurable:!0,writable:!0,value:[]})}addTarget(e,t){if(this._timer===null){let r=null;const n=()=>{const a=Date.now();(r===null||a>r+Pa.delay)&&(r=a,I(this._targets,o=>{let l=o.target.getBoundingClientRect();(l.width!==o.size.width||l.height!==o.size.height)&&(o.size=l,o.callback())})),this._targets.length===0?this._timer=null:this._timer=requestAnimationFrame(n)};this._timer=requestAnimationFrame(n)}let i={width:0,height:0,left:0,right:0,top:0,bottom:0,x:0,y:0};this._targets.push({target:e,callback:t,size:i})}removeTarget(e){ya(this._targets,t=>t.target!==e),this._targets.length===0&&this._timer!==null&&(cancelAnimationFrame(this._timer),this._timer=null)}}Object.defineProperty(Pa,"delay",{enumerable:!0,configurable:!0,writable:!0,value:200});let Ln=null;function p2(){return Ln===null&&(typeof ResizeObserver<"u"?Ln=new g2:Ln=new Pa),Ln}class m2{constructor(e,t){Object.defineProperty(this,"_sensor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_listener",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_disposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),this._sensor=p2(),this._element=e,this._listener=R1(t),this._sensor.addTarget(e,t)}isDisposed(){return this._disposed}dispose(){this._disposed||(this._disposed=!0,this._sensor.removeTarget(this._element),this._listener.dispose())}get sensor(){return this._sensor}}class Is extends tt{}Object.defineProperty(Is,"className",{enumerable:!0,configurable:!0,writable:!0,value:"InterfaceColors"});Object.defineProperty(Is,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:tt.classNames.c
41oncat([Is.className])});class Ct extends ie{constructor(){super(...arguments),Object.defineProperty(this,"_text",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_textKeys",{enumerable:!0,configurable:!0,writable:!0,value:["text","fill","fillGradient","fillOpacity","textAlign","fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","shadowOpacity","lineHeight","baselineRatio","direction","textBaseline","oversizedBehavior","breakWords","ellipsis","minScale","populateText","role","ignoreFormatting","maxChars","ariaLabel"]})}get text(){return this._text}_afterNew(){super._afterNew(),this._makeText(),I(this._textKeys,e=>{const t=this.get(e);t!=null&&this._text.set(e,t)}),this.get("html","")!==""&&this._text.set("text",""),this.onPrivate("maxWidth",()=>{this._setMaxDimentions()}),this.onPrivate("maxHeight",()=>{this._setMaxDimentions()})}_makeText(){this._text=this.children.push(Ii.new(this._root,{}))}_updateChildren(){super._updateChildren();const e=this._text;if(I(this._textKeys,i=>{this._text.set(i,this.get(i))}),(this.isDirty("maxWidth")||this.isDirty("maxHeight")||this.isDirty("rotation"))&&this._setMaxDimentions(),this.get("html","")!==""?e.set("text",""):(e.set("text",this.get("text")),this._maybeUpdateHTMLColor()),(this.isDirty("fill")||this.isDirty("fillGradient"))&&this._maybeUpdateHTMLColor(),this.isDirty("textAlign")||this.isDirty("width")){const i=this.get("textAlign");let r;this.get("width")!=null?i=="right"?r=X:i=="center"?r=ae:r=0:i=="left"||i=="start"?r=this.get("paddingLeft",0):(i=="right"||i=="end")&&(r=-this.get("paddingRight",0)),e.set("x",r)}const t=this.get("background");t&&t.setPrivate("visible",e._display.textVisible)}_maybeUpdateHTMLColor(){const e=this.getPrivate("htmlElement");e&&this.get("fill")&&(e.style.color=this.get("fill").toCSSHex())}_setMaxDimentions(){const e=this.get("rotation"),t=e==90||e==270||e==-90,i=this._text,r=this.get("maxWidth",this.getPrivate("maxWidth",1/0));F(r)?i.set(t?"maxHeight":"maxWidth",r-this.get("paddingTop",0)-this.get("paddingBottom",0)):i.set(t?"maxHeight":"maxWidth",void 0);const n=this.get("maxHeight",this.getPrivate("maxHeight",1/0));F(n)?i.set(t?"maxWidth":"maxHeight",n-this.get("paddingLeft",0)-this.get("paddingRight",0)):i.set(t?"maxWidth":"maxHeight",void 0),this.root.events.once("frameended",()=>{i.markDirtyBounds()})}_setDataItem(e){super._setDataItem(e),this._markDirtyKey("text"),this._markDirtyKey("html");const t=this._text;t.get("populateText")&&t.markDirtyText();const i=this.get("html");i&&i!==""&&this._updateHTMLContent()}getText(){return this._text._getText()}getAccessibleText(){return this._text._getAccessibleText()}}Object.defineProperty(Ct,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Label"});Object.defineProperty(Ct,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ie.classNames.concat([Ct.className])});class sr extends me{_beforeChanged(){super._beforeChanged(),(this.isDirty("pointerBaseWidth")||this.isDirty("cornerRadius")||this.isDirty("pointerLength")||this.isDirty("pointerX")||this.isDirty("pointerY")||this.isDirty("width")||this.isDirty("height"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){this.markDirtyBounds();let e=this.width(),t=this.height();if(e>0&&t>0){let i=this.get("cornerRadius",8);i=Ae(i,0,Math.min(e/2,t/2));let r=this.get("pointerX",0),n=this.get("pointerY",0),a=this.get("pointerBaseWidth",15)/2,o=0,l=0,u=e,c=0,h=e,f=t,d=0,p=t,g=(r-o)*(f-l)-(n-l)*(h-o),b=(r-d)*(c-p)-(n-p)*(u-d);const m=this._display;if(m.moveTo(i,0),g>0&&b>0){let v=Math.round(Ae(r,i+a,e-a-i));n=Ae(n,-1/0,0),m.lineTo(v-a,0),m.lineTo(r,n),m.lineTo(v+a,0)}if(m.lineTo(e-i,0),m.arcTo(e,0,e,i,i),g>0&&b<0){let v=Math.round(Ae(n,i+a,t-a-i));r=Ae(r,e,1/0),m.lineTo(e,i),m.lineTo(e,Math.max(v-a,i)),m.lineTo(r,n),m.lineTo(e,v+a)}if(m.lineTo(e,t-i),m.arcTo(e,t,e-i,t,i),g<0&&b<0){let v=Math.round(Ae(r,i+a,e-a-i));n=Ae(n,t,1/0),m.lineTo(e-i,t),m.lineTo(v+a,t),m.lineTo(r,n),m.lineTo(v-a,t)}if(m.lineTo(i,t),m.arcTo(0,t,0,t-i,i),g<0&&b>0){let v=Math.round(Ae(n,i+a,t-i-a));r=Ae(r,-1/0,0),m.lineTo(0,t-i),m.lineTo(0,v+a),m.lineTo(r,n),m.lineTo(0,Math.max(v-a,i))}m.lineTo(0,i),m.arcTo(0,0,i,0,i),m.closePath()}}}}Object.defineProperty(sr,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PointedRectangle"});Object.defineProperty(sr,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:me.classNames.c
41oncat([sr.className])});class Yt extends ie{constructor(e,t,i,r=[]){super(e,t,i,r),Object.defineProperty(this,"_fx",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_fy",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_label",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_fillDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_fillGrDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_strokeDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_labelDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_w",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_h",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_keepHoverDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_htmlContentHovered",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_afterNew(){this._settings.themeTags=ue(this._settings.themeTags,["tooltip"]),super._afterNew(),this._setDefaultFn("background",()=>sr.new(this._root,{})).set("themeTags",["tooltip","background"]),this._label=this.children.push(Ct.new(this._root,{})),this._disposers.push(this._label.events.on("boundschanged",()=>
41{this._updateBackground()})),this._disposers.push(this.on("bounds",()=>{this._updateBackground()})),this._updateTextColor(),this._root.tooltipContainer.children.push(this),this.hide(0),this._disposers.push(this.label.onPrivate("htmlElement",t=>{t&&(this._disposers.push(Me(t,"pointerover",i=>{this._htmlContentHovered=!0})),this._disposers.push(Me(t,"pointerout",i=>{this._htmlContentHovered=!1})))})),this.on("visible",t=>{this._handleReaderAnnouncement()}),this.label.events.on("dataitemchanged",t=>{this._handleReaderAnnouncement()}),this._root._tooltips.push(this)}_handleReaderAnnouncement(){this.get("readerAnnounce")&&this.isVisibleDeep()&&this._root.readerAlert(this.label.getAccessibleText())}get label(){return this._label}_dispose(){super._dispose(),kt(this._root._tooltips,this)}_updateChildren(){super._updateChildren(),(this.isDirty("pointerOrientation")||this.isPrivateDirty("minWidth")||this.isPrivateDirty("minHeight"))&&this.get("background")._markDirtyKey("width"),this.get("labelText")!=null&&this.label.set("text",this.get("labelText")),this.get("labelHTML")!=null&&this.label.set("html",this.get("labelHTML")),this.get("labelAriaLabel")!=null&&this.label.set("ariaLabel",this.get("labelAriaLabel"))}_changed(){if(super._changed(),(this.isDirty("pointTo")||this.isDirty("pointerOrientation"))&&this._updateBackgroun
41d(),this.isDirty("tooltipTarget")&&this.updateBackgroundColor(),this.isDirty("keepTargetHover"))if(this.get("keepTargetHover")){const t=this.get("background");this._keepHoverDp=new nt([t.events.on("pointerover",i=>{let r=this.get("tooltipTarget");r&&(r.parent&&r.parent.getPrivate("tooltipTarget")==r&&(r=r.parent),r.hover())}),t.events.on("pointerout",i=>{let r=this.get("tooltipTarget");r&&(r.parent&&r.parent.getPrivate("tooltipTarget")==r&&(r=r.parent),this._htmlContentHovered||r.unhover())})]),this.label.onPrivate("htmlElement",i=>{this._keepHoverDp&&i&&this._keepHoverDp.disposers.push(Me(i,"pointerleave",r=>{const n=this.root._renderer.getEvent(r);t.events.dispatch("pointerout",{type:"pointerout",originalEvent:n.event,point:n.point,simulated:!1,target:t})}))})}else this._keepHoverDp&&(this._keepHoverDp.dispose(),this._keepHoverDp=void 0)}_onShow(){super._onShow(),this.updateBackgroundColor()}updateBackgroundColor(){let e=this.get("tooltipTarget");const t=this.get("background");let i,r;if(e&&t){if(i=e.get("fill"),r=e.get("stroke"),i==null&&(i=r),this.get("getFillFromSprite")&&(this._fillDp&&this._fillDp.dispose(),i!=null&&t.set("fill",i),this._fillDp=e.on("fill",n=>{n!=null&&(t.set("fill",n),this._updateTextColor(n))}),this._disposers.push(this._fillDp)),this.get("getFillGradientFromSprite")){this._fillGrDp&&this._fillGrDp.dispose();let n=e.get("fillGradient");n!=null&&t.set("fillGradient",n),this._fillGrDp=e.on("fillGradient",a=>{a!=null&&t.set("fillGradient",a)}),this._disposers.push(this._fillGrDp)}this.get("getStrokeFromSprite")&&(this._strokeDp&&this._strokeDp.dispose(),i!=null&&t.set("stroke",i),this._strokeDp=e.on("fill",n=>{n!=null&&t.set("stroke",n)}),this._disposers.push(this._strokeDp)),this.get("getLabelFillFromSprite")&&(this._labelDp&&this._labelDp.dispose(),i!=null&&this.label.set("fill",i),this._labelDp=e.on("fill",n=>{n!=null&&this.label.set("fill",n)}),this._disposers.push(this._labelDp))}this._updateTextColor(i)}_updateTextColor(e){this.get("autoTextColor")&&(e==null&&(e=this.get("background").get("fill")),e==null&&(e=this._root.interfaceColors.get("background")),e instanceof J&&this.label.set("fill",J.alternative(e,this._root.interfaceColors.get("alternativeText"),this._root.interfaceColors.get("text"))))}_setDataItem(e){super._setDataItem(e),this.label._setDataItem(e)}
41_updateBackground(){super.updateBackground();const e=this._root.container;if(e){let t=.5,i=.5,r=this.get("centerX");r instanceof se&&(t=r.value);let n=this.get("centerY");n instanceof se&&(i=n.value);let a=e.width(),o=e.height(),l=this.parent,u=0,c=0;if(l){u=l.x(),c=l.y();const C=l.get("layerMargin");C&&(u+=C.left||0,c+=C.top||0,a+=(C.left||0)+(C.right||0),o+=(C.top||0)+(C.bottom||0))}const h=this.get("bounds",{left:-u,top:-c,right:a-u,bottom:o-c});this._updateBounds();let f=this.width(),d=this.height();f===0&&(f=this._w),d===0&&(d=this._h);let p=this.get("pointTo",{x:a/2,y:o/2}),g=p.x,b=p.y,m=this.get("pointerOrientation"),v=this.get("background"),x=0,w=0,P=0;v instanceof sr&&(x=v.get("pointerLength",0),w=v.get("strokeWidth",0)/2,P=w,v.set("width",f),v.set("height",d));let T=0,O=0,L=h.right-h.left,S=h.bottom-h.top;m=="horizontal"||m=="left"||m=="right"?(w=0,m=="horizontal"?g>h.left+L/2?(g-=f*(1-t)+x,P*=-1):g+=f*t+x:m=="left"?g+=f*(1-t)+x:(g-=f*t+x,P*=-1)):(P=0,m=="vertical"?b>h.top+d/2+x?b-=d*(1-i)+x:(b+=d*i+x,w*=-1):m=="down"?b-=d*(1-i)+x:(b+=d*i+x,w*=-1)),g=Ae(g,h.left+f*t,h.left+L-f*(1-t))+P,b=Ae(b,h.top+d*i,h.top+S-d*(1-i))-w,T=p.x-g+f*t+P,O=p.y-b+d*i-w,this._fx=g,this._fy=b;const B=this.get("animationDuration",0);if(B>0&&this.get("visible")&&this.get("opacity")>.1){const C=this.get("animationEasing");this.animate({key:"x",to:g,duration:B,easing:C}),this.animate({key:"y",to:b,duration:B,easing:C})}else this.set("x",g),this.set("y",b);v instanceof sr&&(v.set("pointerX",T),v.set("pointerY",O)),f>0&&(this._w=f),d>0&&(this._h=d)}}}Object.defineProperty(Yt,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Tooltip"});Object.defineProperty(Yt,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ie.classNames.concat([Yt.className])});class b2 extends tt{_setDefaults(){this._setDefault("negativeBase",0),this._setDefault("numberFormat","#,###.#####"),this._setDefault("smallNumberThreshold",1);const e="_big_number_suffix_",t="_small_number_suffix_",i="_byte_suffix_";this._setDefault("bigNumberPrefixes",[{number:1e3,suffix:this._t(e+"3")},{number:1e6,suffix:this._t(e+"6")},{number:1e9,suffix:this._t(e+"9")},{number:1e12,suffix:this._t(e+"12")},{number:1e15,suffix:this._t(e+"15")},{number:1e18,suffix:this._t(e+"18")},{number:1e21,suffix:this._t(e+"21")},{number:1e24,suffix:this._t(e+"24")}]),this._setDefault("smallNumberPrefixes",[{number:1e-24,suffix:this._t(t+"24")},{number:1e-21,suffix:this._t(t+"21")},{number:1e-18,suffix:this._t(t+"18")},{number:1e-15,suffix:this._t(t+"15")},{number:1e-12,suffix:this._t(t+"12")},{number:1e-9,suffix:this._t(t+"9")},{number:1e-6,suffix:this._t(t+"6")},{number:.001,suffix:this._t(t+"3")}]),this._setDefault("bytePrefixes",[{number:1,suffix:this._t(i+"B")},{number:1024,suffix:this._t(i+"KB")},{number:1048576,suffix:this._t(i+"MB")},{number:1073741824,suffix:this._t(i+"GB")},{number:1099511627776,suffix:this._t(i+"TB")},{number:0x4000000000000,suffix:this._t(i+"PB")}]),super._setDefaults()}_beforeChanged(){super._beforeChanged()}format(e,t,i){(t==null||Li(t)&&t.toLowerCase()==="number")&&(t=this.get("numberFormat",""));let r,n=Number(e);if(yn(t))try{return this.get("intlLocales")?new Intl.NumberFormat(this.get("intlLocales"),t).format(n):new Intl.NumberFormat(void 0,t).format(n)}catch{return"Invalid"}else{t=Bo(t);let a=this.parseFormat(t,this._root.language),o;n>this.get("negativeBase")?o=a.positive:n<this.get("negativeBase")?o=a.negative:o=a.zero,i!=null&&!o.mod&&(o=Lr(o),o.decimals.active=n==0?0:i),r=o.template.split(_i).join(this.applyFormat(n,o))}return this.get("forceLTR")===!0&&(r="‎"+r),r}parseFormat(e,t){const i=t.translateEmpty("_thousandSeparator"),r=t.translateEmpty("_decimalSeparator");let n={positive:{thousands:{active:-1,passive:-1,interval:-1,separator:i},decimals:{active:-1,passive:-1,separator:r},template:"",source:"",parsed:!1},negative:{thousands:{active:-1,passive:-1,interval:-1,separator:i},decimals:{active:-1,passive:-1,separator:r},template:"",source:"",parsed:!1},zero:{thousands:{active:-1,passive:-1,interval:-1,separator:i},decimals:{active:-1,passive:-1,separator:r},template:"",source:"",parsed:!1}};e=e.replace("||",Qi);let a=e.split("|");return n.positive.source=a[0],typeof a[2]>"u"?n.zero=n.positive:n.zero.source=a[2],typeof a[1]>"u"?n.negative=n.positive:n.negative.source=a[1],he(n,(o,l)=>{if(l.parsed)return;let u=l.source;u.toLowerCase()==="number"&&(u=this.get("numberFormat","#,###.#####"));let c=Rt.chunk(u,!0);for(let h=0;h<c.length;h++){let f=c[h];if(f.text=f.text.replace(Qi,"|"),f.type==="value"){let d=f.text.match(/[#0.,]+[ ]?[abespABESP%!]?[abespABESP‰!]?/);if(d)if(d===null||d[0]==="")l.template+=f.text;else{let p=d[0].match(/[abespABESP%‰!]{2}|[abespABESP%‰]{1}$/);p&&(l.mod=p[0].toLowerCase(),l.modSpacing=!!d[0].match(/[ ]{1}[abespABESP%‰!]{1}$/));let g=d[0].split(".");if(g[0]!==""){l.thousands.active=(g[0].match(/0/g)||[]).length,l.thous
41ands.passive=(g[0].match(/\#/g)||[]).length+l.thousands.active;let b=g[0].split(",");b.length===1||(l.thousands.interval=(b.pop()||"").length,l.thousands.interval===0&&(l.thousands.interval=-1))}typeof g[1]>"u"||(l.decimals.active=(g[1].match(/0/g)||[]).length,l.decimals.passive=(g[1].match(/\#/g)||[]).length+l.decimals.active),l.template+=f.text.split(d[0]).join(_i)}}else l.template+=f.text}l.parsed=!0}),n}applyFormat(e,t){let i=e<0;e=Math.abs(e);let r="",n="",a=t.mod?t.mod.split(""):[];if(a.indexOf("b")!==-1){let h=this.applyPrefix(e,this.get("bytePrefixes"),a.indexOf("!")!==-1);e=h[0],r=h[1],n=h[2],t.modSpacing&&(n=" "+n)}else if(a.indexOf("a")!==-1){let h=this.applyPrefix(e,e<this.get("smallNumberThreshold")?this.get("smallNumberPrefixes"):this.get("bigNumberPrefixes"),a.indexOf("!")!==-1);e=h[0],r=h[1],n=h[2],t.modSpacing&&(n=" "+n)}else if(a.indexOf("p")!==-1){let h=Math.min(e.toString().length+2,21);e=parseFloat(e.toPrecision(h)),r=this._root.language.translate("_percentPrefix"),n=this._root.language.translate("_percentSuffix"),r==""&&n==""&&(n="%")}else if(a.indexOf("%")!==-1){let h=Math.min(e.toString().length+2,21);e*=100,e=parseFloat(e.toPrecision(h)),n="%"}else if(a.indexOf("‰")!==-1){let h=Math.min(e.toString().length+3,21);e*=1e3,e=parseFloat(e.toPrecision(h)),n="‰"}if(a.indexOf("e")!==-1){let h;t.decimals.passive>=0?h=e.toExponential(t.decimals.passive).split("e"):h=e.toExponential().split("e"),e=Number(h[0]),n="e"+h[1],t.modSpacing&&(n=" "+n)}else if(t.decimals.passive===0)e=Math.round(e);else if(t.decimals.passive>0){const h=B1(e);if(h>0){const f=Math.pow(10,t.decimals.passive);e=Math.round(parseFloat((e*f).toFixed(h)))/f}}let o="",l=E1(e).split("."),u=l[0];if(u.length<t.thousands.active&&(u=Array(t.thousands.active-u.length+1).join("0")+u),t.thousands.interval>0){let h=[],f=u.split("").reverse().join("");for(let d=0,p=u.length;d<=p;d+=t.thousands.interval){let g=f.substr(d,t.thousands.interval).split("").reverse().join("");g!==""&&h.unshift(g)}u=h.join(t.thousands.separator)}o+=u,l.length===1&&l.push("");let c=l[1];return c.length<t.decimals.active&&(c+=Array(t.decimals.active-c.length+1).join("0")),c!==""&&(o+=t.decimals.separator+c),o===""&&(o="0"),e!==0&&i&&a.indexOf("s")===-1&&(o="-"+o),r&&(o=r+o),n&&(o+=n),o}applyPrefix(e,t,i=!1){let r=e,n="",a="",o=!1,l=1;for(let u=0,c=t.length;u<c;u++)t[u].number<=e&&(t[u].number===0?r=0:(r=e/t[u].number,l=t[u].number),n=t[u].prefix,a=t[u].suffix,o=!0);return!o&&i&&t.length&&e!=0&&(r=e/t[0].number,n=t[0].prefix,a=t[0].suffix,o=!0),o&&(r=parseFloat(r.toPrecision(Math.min(l.toString().length+Math.floor(r).toString().replace(/[^0-9]*/g,"").length,21)))),[r,n,a]}escape(e){return e.replace("||",Qi)}unescape(e){return e.replace(Qi,"|")}}function H1(s,e){let t=0,i=0,r=1,n=0,a=0,o=0,l=0,u=0;return s.formatToParts(e).forEach(c=>{switch(c.type){case"year":t=+c.value;break;case"month":i=+c.value-1;break;case"day":r=+c.value;break;case"hour":n=+c.value;break;case"minute":a=+c.value;break;case"second":o=+c.value;break;case"fractionalSecond":l=+c.value;break;case"weekday":switch(c.value){case"Sun":u=0;break;case"Mon":u=1;break;case"Tue":u=2;break;case"Wed":u=3;break;case"Thu":u=4;break;case"Fri":u=5;break;case"Sat":u=6;break}}}),n===24&&(n=0),{year:t,month:i,day:r,hour:n,minute:a,second:o,millisecond:l,weekday:u}}function pl(s,e){const{year:t,month:i,day:r,hour:n,minute:a,second:o,millisecond:l}=H1(s,e);return Date.UTC(t,i,r,n,a,o,l)}class _2{constructor(e,t){if(Object.defineProperty(this,"_utc",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_dtf",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this.name=e,this._utc=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:"UTC",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"short",fractionalSecondDigits:3}),this._dtf=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,
41year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",weekday:"short",fractionalSecondDigits:3})}static new(e){return new this(e,!0)}convertLocal(e){const t=this.offsetUTC(e),i=e.getTimezoneOffset(),r=new Date(e);r.setUTCMinutes(r.getUTCMinutes()-(t-i));const n=r.getTimezoneOffset();return i!=n&&r.setUTCMinutes(r.getUTCMinutes()+n-i),r}offsetUTC(e){const t=pl(this._utc,e),i=pl(this._dtf,e);return(t-i)/6e4}parseDate(e){return H1(this._dtf,e)}}class v2 extends tt{_setDefaults(){this._setDefault("capitalize",!0),this._setDefault("dateFormat","yyyy-MM-dd"),super._setDefaults()}_beforeChanged(){super._beforeChanged()}format(e,t,i=!1){(typeof t>"u"||t==="")&&(t=this.get("dateFormat","yyyy-MM-dd"));let r,n=e;if(yn(t))try{const u=this.get("intlLocales");return u?new Intl.DateTimeFormat(u,t).format(n):new Intl.DateTimeFormat(void 0,t).format(n)}catch{return"Invalid"}let a=this.parseFormat(t);const o=this._root.timezone;let l=n;return o&&!this._root.utc&&!i&&(n=o.convertLocal(n)),F(n.getTime())?(r=this.applyFormat(n,a,i,l),this.get("capitalize")&&(r=r.replace(/^.{1}/,r.substr(0,1).toUpperCase())),r):"Invalid date"}applyFormat(e,t,i=!1,r){let n=t.template,a,o,l,u,c,h,f,d,p=e.getTime();this._root.utc&&!i?(a=e.getUTCFullYear(),o=e.getUTCMonth(),l=e.getUTCDay(),u=e.getUTCDate(),c=e.getUTCHours(),h=e.getUTCMinutes(),f=e.getUTCSeconds(),d=e.getUTCMilliseconds()):(a=e.getFullYear(),o=e.getMonth(),l=e.getDay(),u=e.getDate(),c=e.getHours(),h=e.getMinutes(),f=e.getSeconds(),d=e.getMilliseconds());for(let g=0,b=t.parts.length;g<b;g++){let m="";switch(t.parts[g]){case"G":m=this._t(a<0?"_era_bc":"_era_ad");break;case"yyyy":m=Math.abs(a).toString(),a<0&&(m+=this._t("_era_bc"));break;case"yyy":case"yy":case"y":m=Math.abs(a).toString().substr(-t.parts[g].length),a<0&&(m+=this._t("_era_bc"));break;case"YYYY":case"YYY":case"YY":case"Y":let v=Y4(e,this._root.utc);t.parts[g]=="YYYY"?m=Math.abs(v).toString():m=Math.abs(v).toString().substr(-t.parts[g].length),v<0&&(m+=this._t("_era_bc"));break;case"u":break;case"q":m=""+Math.ceil((e.getMonth()+1)/3);break;case"MMMMM":m=this._t(this._getMonth(o)).substr(0,1);break;case"MMMM":m=this._t(this._getMonth(o));break;case"MMM":m=this._t(this._getShortMonth(o));break;case"MM":m=Fe(o+1,2,"0");break;case"M":m=(o+1).toString();break;case"ww":m=Fe(Ms(e,this._root.utc),2,"0");break;case"w":m=Ms(e,this._root.utc).toString();break;case"W":m=H4(e,this._root.utc).toString();break;case"dd":m=Fe(u,2,"0");break;case"d":m=u.toString();break;case"DD":case"DDD":m=Fe(ul(e,this._root.utc).toString(),t.parts[g].length,"0");break;case"D":m=ul(e,this._root.utc).toString();break;case"F":break;case"g":break;case"t":m=this._root.language.translateFunc("_dateOrd").call(this,u);break;case"E":m=(l||7).toString();break;case"EE":m=Fe((l||7).toString(),2,"0");break;case"EEE":case"eee":m=this._t(this._getShortWeekday(l));break;case"EEEE":case"eeee":m=this._t(this._getWeekday(l));break;case"EEEEE":case"eeeee":m=this._t(this._getShortWeekday(l)).substr(0,1);break;case"e":case"ee":m=(l-(this._root.locale.firstDayOfWeek||1)+1).toString(),t.parts[g]=="ee"&&(m=Fe(m,2,"0"));break;case"a":c>=12?m=this._t("PM"):m=this._t("AM");break;case"aa":c>=12?m=this._t("P.M."):m=this._t("A.M.");break;case"aaa":c>=12?m=this._t("P"):m=this._t("A");break;case"h":m=Cn(c).toString();break;case"hh":m=Fe(Cn(c),2,"0");break;case"H":m=c.toString();break;case"HH":m=Fe(c,2,"0");break;case"K":m=Cn(c,0).toString();break;case"KK":m=Fe(Cn(c,0),2,"0");break;case"k":m=(c+1).toString();break;case"kk":m=Fe(c+1,2,"0");break;case"m":m=h.toString();break;case"mm":m=Fe(h,2,"0");break;case"s":m=f.toString();break;case"ss":m=Fe(f,2,"0");break;case"S":case"SS":case"SSS":m=Math.round(d/1e3*Math.pow(10,t.parts[g].length)).toString();break;case"x":m=p.toString();break;case"n":case"nn":case"nnn":m=Fe(d,t.parts[g].length,"0");break;case"z":m=En(r||e,!1,!1,this._root.utc,this._root.timezone?this._root.timezone.name:void 0).replace(/[+-]+[0-9]+$/,"");break;case"zz":m=En(r||e,!0,!1,this._root.utc,this._root.timezone?this._root.timezone.name:void 0);break;case"zzz":m=En(r||e,!1,!0,this._root.utc,this._root.timezone?this._root.timezone.name:void 0).replace(/[+-]+[0-9]+$/,"");break;
vendor: 4,307 bytes, line 41
41case"zzzz":m=En(r||e,!0,!0,this._root.utc,this._root.timezone?this._root.timezone.name:void 0);break;case"Z":case"ZZ":let x=this._root.utc?"UTC":this._root.timezone;x instanceof _2&&(x=x.name);const w=x?G4(x,r||e):e.getTimezoneOffset();let P=Math.abs(w)/60,T=Math.floor(P),O=P*60-T*60;this._root.utc&&(T=0,O=0),t.parts[g]=="Z"?(m="GMT",m+=w>0?"-":"+",m+=Fe(T,2)+":"+Fe(O,2)):(m=w>0?"-":"+",m+=Fe(T,2)+Fe(O,2));break;case"i":m=e.toISOString();break;case"I":m=e.toUTCString();break}n=n.replace(_i,m)}return n}parseFormat(e){let t={template:"",parts:[]},i=Rt.chunk(e,!0);for(let r=0;r<i.length;r++){let n=i[r];if(n.type==="value"){if(n.text.match(/^date$/i)){let o=this.get("dateFormat","yyyy-MM-dd");Li(o)||(o="yyyy-MM-dd"),n.text=o}let a=n.text.match(/G|yyyy|yyy|yy|y|YYYY|YYY|YY|Y|u|q|MMMMM|MMMM|MMM|MM|M|ww|w|W|dd|d|DDD|DD|D|F|g|EEEEE|EEEE|EEE|EE|E|eeeee|eeee|eee|ee|e|aaa|aa|a|hh|h|HH|H|KK|K|kk|k|mm|m|ss|s|SSS|SS|S|A|zzzz|zzz|zz|z|ZZ|Z|t|x|nnn|nn|n|i|I/g);if(a)for(let o=0;o<a.length;o++)t.parts.push(a[o]),n.text=n.text.replace(a[o],_i)}t.template+=n.text}return t}_months(){return["January","February","March","April","May","June","July","August","September","October","November","December"]}_getMonth(e){return this._months()[e]}_shortMonths(){return["Jan","Feb","Mar","Apr","May(short)","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}_getShortMonth(e){return this._shortMonths()[e]}_weekdays(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}_getWeekday(e){return this._weekdays()[e]}_shortWeekdays(){return["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]}_getShortWeekday(e){return this._shortWeekdays()[e]}parse(e,t,i){if(typeof i>"u"&&(i=this._root.utc),e instanceof Date)return e;if(F(e))return new Date(e);if(t=="x")return new Date(parseInt(e));Li(e)||(e=e.toString());let r,n="";t=Bo(t),t=t.substr(0,e.length);let a=this.parseFormat(t),o={year:-1,year3:-1,year2:-1,year1:-1,month:-1,monthShort:-1,monthLong:-1,weekdayShort:-1,weekdayLong:-1,day:-1,yearDay:-1,week:-1,hourBase0:-1,hour12Base0:-1,hourBase1:-1,hour12Base1:-1,minute:-1,second:-1,millisecond:-1,millisecondDigits:-1,am:-1,zone:-1,timestamp:-1,iso:-1},l={year:1970,month:0,day:1,hour:0,minute:0,second:0,millisecond:0,timestamp:null,offset:0,utc:i},u=0,c=0;for(let d=0;d<a.parts.length;d++){switch(c=d+u+1,a.parts[d]){case"yyyy":case"YYYY":n+="([0-9]{4})",o.year=c;break;case"yyy":case"YYY":n+="([0-9]{3})",o.year3=c;break;case"yy":case"YY":n+="([0-9]{2})",o.year2=c;break;case"y":case"Y":n+="([0-9]{1})",o.year1=c;break;case"MMMM":n+="("+this.getStringList(this._months()).join("|")+")",o.monthLong=c;break;case"MMM":n+="("+this.getStringList(this._shortMonths()).join("|")+")",o.monthShort=c;break;case"MM":case"M":n+="([0-9]{2}|[0-9]{1})",o.month=c;break;case"ww":case"w":n+="([0-9]{2}|[0-9]{1})",o.week=c;break;case"dd":case"d":n+="([0-9]{2}|[0-9]{1})",o.day=c;break;case"DDD":case"DD":case"D":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",o.yearDay=c;break;case"dddd":n+="("+this.getStringList(this._weekdays()).join("|")+")",o.weekdayLong=c;break;case"ddd":n+="("+this.getStringList(this._shortWeekdays()).join("|")+")",o.weekdayShort=c;break;case"aaa":case"aa":case"a":n+="("+this.getStringList(["AM","PM","A.M.","P.M.","A","P"]).join("|")+")",o.am=c;break;case"hh":case"h":n+="([0-9]{2}|[0-9]{1})",o.hour12Base1=c;break;case"HH":case"H":n+="([0-9]{2}|[0-9]{1})",o.hourBase0=c;break;case"KK":case"K":n+="([0-9]{2}|[0-9]{1})",o.hour12Base0=c;break;case"kk":case"k":n+="([0-9]{2}|[0-9]{1})",o.hourBase1=c;break;case"mm":case"m":n+="([0-9]{2}|[0-9]{1})",o.minute=c;break;case"ss":case"s":n+="([0-9]{2}|[0-9]{1})",o.second=c;break;case"SSS":case"SS":case"S":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",o.millisecond=c,o.millisecondDigits=a.parts[d].length;break;case"nnn":case"nn":case"n":n+="([0-9]{3}|[0-9]{2}|[0-9]{1})",o.millisecond=c;break;case"x":n+="([0-9]{1,})",o.timestamp=c;break;case"Z":n+="GMT([-+]+[0-9]{2}:[0-9]{2})",o.zone=c;break;case"ZZ":n+="([\\-+]+[0-9]{2}[0-9]{2})",o.zone=c;break;case"i":n+="([0-9]{4})-?([0-9]{2})-?([0-9]{2})T?([0-9]{2}):?([0-9]{2}):?([0-9]{2})\\.?([0-9]{0,3})([zZ]|[+\\-][0-9]{2}:?[0-9]{2}|$)",o.iso=c,u+=7;break;case"G":case"YYYY":case"YYY":case"YY":case"Y":case"MMMMM":case"W":case"EEEEE":case"EEEE":case"EEE":case"EE":case"E":case"eeeee":case"eeee":case"eee":case"ee":case"e":case"zzzz"
41:case"zzz":case"zz":case"z":case"t":u--;break}n+="[^0-9]*"}let h=new RegExp(n),f=e.match(h);if(f){if(o.year>-1&&(l.year=parseInt(f[o.year])),o.year3>-1){let d=parseInt(f[o.year3]);d+=1e3,l.year=d}if(o.year2>-1){let d=parseInt(f[o.year2]);d>50?d+=1e3:d+=2e3,l.year=d}if(o.year1>-1){let d=parseInt(f[o.year1]);d=Math.floor(new Date().getFullYear()/10)*10+d,l.year=d}if(o.monthLong>-1&&(l.month=this.resolveMonth(f[o.monthLong])),o.monthShort>-1&&(l.month=this.resolveShortMonth(f[o.monthShort])),o.month>-1&&(l.month=parseInt(f[o.month])-1),o.week>-1&&o.day===-1&&(l.month=0,l.day=X4(parseInt(f[o.week]),l.year,1,i)),o.day>-1&&(l.day=parseInt(f[o.day])),o.yearDay>-1&&(l.month=0,l.day=parseInt(f[o.yearDay])),o.hourBase0>-1&&(l.hour=parseInt(f[o.hourBase0])),o.hourBase1>-1&&(l.hour=parseInt(f[o.hourBase1])-1),o.hour12Base0>-1){let d=parseInt(f[o.hour12Base0]);d==11&&(d=0),o.am>-1&&!this.isAm(f[o.am])&&(d+=12),l.hour=d}if(o.hour12Base1>-1){let d=parseInt(f[o.hour12Base1]);d==12&&(d=0),o.am>-1&&!this.isAm(f[o.am])&&(d+=12),l.hour=d}if(o.minute>-1&&(l.minute=parseInt(f[o.minute])),o.second>-1&&(l.second=parseInt(f[o.second])),o.millisecond>-1){let d=parseInt(f[o.millisecond]);o.millisecondDigits==2?d*=10:o.millisecondDigits==1&&(d*=100),l.millisecond=d}if(o.timestamp>-1){l.timestamp=parseInt(f[o.timestamp]);const d=new Date(l.timestamp);l.year=d.getUTCFullYear(),l.month=d.getUTCMonth(),l.day=d.getUTCDate(),l.hour=d.getUTCHours(),l.minute=d.getUTCMinutes(),l.second=d.getUTCSeconds(),l.millisecond=d.getUTCMilliseconds()}o.zone>-1&&(l.offset=this.resolveTimezoneOffset(new Date(l.year,l.month,l.day),f[o.zone])),o.iso>-1&&(l.year=xt(f[o.iso+0]),l.month=xt(f[o.iso+1])-1,l.day=xt(f[o.iso+2]),l.hour=xt(f[o.iso+3]),l.minute=xt(f[o.iso+4]),l.second=xt(f[o.iso+5]),l.millisecond=xt(f[o.iso+6]),f[o.iso+7]=="Z"||f[o.iso+7]=="z"?l.utc=!0:f[o.iso+7]!=""&&(l.offset=this.resolveTimezoneOffset(new Date(l.year,l.month,l.day),f[o.iso+7]))),l.utc?r=new Date(Date.UTC(l.year,l.month,l.day,l.hour,l.minute,l.second,l.millisecond)):r=new Date(l.year,l.month,l.day,l.hour,l.minute+l.offset,l.second,l.millisecond)}else r=new Date(e);return r}resolveTimezoneOffset(e,t){if(t.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/)){let r=t.match(/([+\-]?)([0-9]{2}):?([0-9]{2})/),n=r[1],a=r[2],o=r[3],l=parseInt(a)*60+parseInt(o);n=="+"&&(l*=-1);let u=(e||new Date).getTimezoneOffset();return l-u}return 0}resolveMonth(e){let t=this._months().indexOf(e);return t>-1||!this._root.language.isDefault()&&(t=this._root.language.translateAll(this._months()).indexOf(e),t>-1)?t:0}resolveShortMonth(e){let t=this._shortMonths().indexOf(e);return t>-1||(t=this._months().indexOf(e),t>-1)||this._root.language&&!this._root.language.isDefault()&&(t=this._root.language.translateAll(this._shortMonths()).indexOf(e),t>-1)?t:0}isAm(e){return this.getStringList(["AM","A.M.","A"]).indexOf(e.toUpperCase())>-1}getStringList(e){let t=[];for(let i=0;i<e.length;i++)this._root.language?t.push(ll(this._t(e[i]))):t.push(ll(e[i]));return t}}class y2 extends tt{constructor(){super(...arguments),Object.defineProperty(this,"_unitAliases",{enumerable:!0,configurable:!0,writable:!0,value:{Y:"y",D:"d",H:"h",K:"h",k:"h",n:"S"}})}_setDefaults(){const e="_duration_millisecond",t="_duration_second",i="_duration_minute",r="_duration_hour",n="_duration_day",a="_duration_week",o="_duration_month",l="_duration_year",u="_second",c="_minute",h="_hour",f="_day",d="_week",p="_week",g="_year";this._setDefault("negativeBase",0),this._setDefault("baseUnit","second"),this._setDefault("durationFormats",{millisecond:{millisecond:this._t(e),second:this._t(e+u),minute:this._t(e+c),hour:this._t(e+h),day:this._t(e+f),week:this._t(e+d),month:this._t(e+p),year:this._t(e+g)},second:{second:this._t(t),minute:this._t(t+c),hour:this._t(t+h),day:this._t(t+f),week:this._t(t+d),month:this._t(t+p),year:this._t(t+g)},minute:{minute:this._t(i),hour:this._t(i+h),day:this._t(i+f),week:this._t(i+d),month:this._t(i+p),year:this._t(i+g)},hour:{hour:this._t(r),day:this._t(r+f),week:this._t(r+d),month:this._t(r+p),year:this._t(r+g)},day:{day:this._t(n),week:this._t(n+d),month:this._t(n+p),year:this._t(n+g)},week:{week:this._t(a),month:this._t(a+p),year:this._t(a+g)},month:{month:this._t(o),year:this._t(o+g)},year:{year:this._t(l)}}),super._setDefaults()}_beforeChanged(){super._beforeChanged()}format(e,t,i){let r=i||this.get("baseUnit");(typeof t>"u"||t==="")&&(this.get("durationFormat")!=null?t=this.get("durationFormat"):t=this.getFormat(xt(e),void 0,r)),t=Bo(t);let n=this.parseFormat(t,r),a=Number(e),o;a>this.get("negativeBase")?o=n.positive:a<this.get("negativeBase")?o=n.negative:o=n.zero;let l=this.applyFormat(a,o);return o.color!==""&&(l="["+o.color+"]"+l+"[/]"),l}parseFormat(e,t){let i=t||this.get("baseUnit"),r={positive:{color:"",template:"",parts:[],source:"",baseUnit:i,parsed:!1,absolute:!1},negative:{color:"",template:"",parts:[],source:"",baseUnit:i,parsed:!1,absolute:!1},zero:{color:"",template:"",parts:[],source:"",baseUnit:i,parsed:!1,absolute:!1}};e=e.replace("||",Qi);let n=e.split("|");return r.positive.source=n[0],typeof n[2]>"u"?r.zero=r.positive:r.zero.source=n[2],typeof n[1]>"u"?r.negative=r.positive:r.negative.source=n[1],he(r,(a,o)=>
41{if(o.parsed)return;let l=o.source,u=[];u=o.source.match(/^\[([^\]]*)\]/),u&&u.length&&u[0]!==""&&(l=o.source.substr(u[0].length),o.color=u[1]);let c=Rt.chunk(l,!0);for(let h=0;h<c.length;h++){let f=c[h];if(f.text=f.text.replace(Qi,"|"),f.type==="value"){f.text.match(/[yYMdDwhHKkmsSn]+a/)&&(o.absolute=!0,f.text=f.text.replace(/([yYMdDwhHKkmsSn]+)a/,"$1"));let d=f.text.match(/y+|Y+|M+|d+|D+|w+|h+|H+|K+|k+|m+|s+|S+|n+/g);if(d)for(let p=0;p<d.length;p++)d[p]==null&&(d[p]=this._unitAliases[d[p]]),o.parts.push(d[p]),f.text=f.text.replace(d[p],_i)}o.template+=f.text}o.parsed=!0}),r}applyFormat(e,t){let i=!t.absolute&&e<this.get("negativeBase");e=Math.abs(e);let r=this.toTimeStamp(e,t.baseUnit),n=t.template;const a={millisecond:0,second:0,minute:0,hour:0,day:0,week:0,month:0,year:0};for(let o=0,l=t.parts.length;o<l;o++){let u=t.parts[o],c=this._toTimeUnit(u.substr(0,1)),h;const f=this._getUnitValue(c);o<l-1?h=Math.floor(r/f):h=Math.round(r/f),a[c]+=h,r-=h*f}he(a,(o,l)=>{o=="millisecond"&&l==1e3?(a.second++,a.millisecond=0):o=="second"&&l==60?(a.minute++,a.second=0):o=="minute"&&l==60?(a.hour++,a.minute=0):o=="hour"&&l==24?(a.day++,a.hour=0):o=="day"&&l==7?(a.week++,a.day=0):o=="day"&&l==30?(a.month++,a.day=0):o=="month"&&l==12&&(a.year++,a.month=0)});for(let o=0,l=t.parts.length;o<l;o++){let u=t.parts[o],c=this._toTimeUnit(u.substr(0,1)),h=u.length;n=n.replace(_i,Fe(a[c],h,"0"))}return i&&(n="-"+n),n}toTimeStamp(e,t){return e*this._getUnitValue(t)}_toTimeUnit(e){switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year"}}getFormat(e,t,i){if(this.get("durationFormat")!=null)return this.get("durationFormat");if(i||(i=this.get("baseUnit")),t!=null&&e!=t){e=Math.abs(e),t=Math.abs(t);let r=this.getValueUnit(Math.max(e,t),i);return this.get("durationFormats")[i][r]}else{let r=this.getValueUnit(e,i);return this.get("durationFormats")[i][r]}}getValueUnit(e,t){t||(t=this.get("baseUnit"));let i,r=this.getMilliseconds(e,t);return O4(this._getUnitValues(),(n,a)=>{if(n==t||i){if(r/a<=1)return i||(i=n),!1;i=n}return!0}),i}getMilliseconds(e,t){return t||(t=this.get("baseUnit")),e*this._getUnitValue(t)}_getUnitValue(e){return this._getUnitValues()[e]}_getUnitValues(){return{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:2592e6,year:31536e6}}}const X1={firstDayOfWeek:1,_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"μ",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date:"yyyy-MM-dd",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - MMM dd, yyyy",_date_hour:"HH:mm",_date_hour_full:"HH:mm - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(s){let e="th";if(s<11||s>13)switch(s%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},"Zoom Out":"",Play:"",Stop:"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Force directed tree":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER or use arrow keys to navigate":"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:""};class w2 extends tt{_setDefaults(){this.setPrivate("defaultLocale",X1),super._setDefaults()}translate(e,t,...i){t||(t=this._root.locale||this.getPrivate("defaultLocale"));let r=e,n=t[e];if(n===null)r="";else if(n!=null)n&&(r=n);else if(t!==this.getPrivate("defaultLocale"))return this.translate(e,this.getPrivate("defaultLocale"),...i);if(i.length)for(let a=i.length,o=0;o<a;++o)r=r.split("%"+(o+1)).join(i[o]);return r}translateAny(e,t,...i){return this.translate(e,t,...i)}setTranslationAny(e,t,i){const r=i||this._root.locale;r[e]=t}setTranslationsAny(e,t){he(e,(i,r)=>{this.setTranslationAny(i,r,t)})}translateEmpty(e,t,...i){let r=this.translate(e,t,...i);return r==e?"":r}translateFunc(e,t){return this._root.locale[e]?this._root.locale[e]:t!==this.getPrivate("defaultLocale")?this.translateFunc(e,this.getPrivate("defaultLocale")):()=>""}translateAll(e,t){return this.isDefault()?e:qa(e,i=>this.translate(i,t))}isDefault(){return this.getPrivate("defaultLocale")===this._root.locale}}class wn{constructor(e,t){if(Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rules",{enumerable:!0,configurable:!0,writable:!0,value:{}}),this._root=e,!t)throw new Error("You cannot use `new Class()`, instead use `Class.new()`")}static new(e){const t=new this(e,!0);return t.setupDefaultRules(),t}setupDefaultRules(){}_lookupRules(e){return this._rules[e]}ruleRaw(e,t=[]){let i=this._rules[e];i||(i=this._rules[e]=[]),t.sort(Ci);const{index:r,found:n}=T4(i,a=>{const o=Ci(a.tags.length,t.length);return o===0?V1(a.tags,t,Ci):o});if(n)return i[r].template;{const a=Pe.new({});return i.splice(r,0,{tags:t,template:a}),a}}rule(e,t=[]){return this.ruleRaw(e,t)}}function K(s,e,t,i){s.set(e,t.get(i)),t.on(i,r=>{s.set(e,r)})}class x2 extends wn{setupDefaultRules(){super.setupDefaultRules();const e=this._root.language,t=this._root.interfaceColors,i=this._root.horizontalLayout,r=this._root.verticalLayout,n=this.rule.bind(this);n("InterfaceColors").setAll({stroke:J.fromHex(15066597),fill:J.fromHex(15987699),primaryButton:J.fromHex(6788316),primaryButtonHover:J.fromHex(6779356),primaryButtonDown:J.fromHex(6872182),primaryButtonActive:J.fromHex(6872182),primaryButtonDisabled:J.fromHex(14342874),primaryButtonTextDisabled:J.fromHex(16777215),primaryButtonText:J.fromHex(16777215),primaryButtonStroke:J.fromHex(16777215),secondaryButton:J.fromHex(14277081),secondaryButtonHover:J.fromHex(10724259),secondaryButtonDown:J.fromHex(9276813),secondaryButtonActive:J.fromHex(15132390),secondaryButtonText:J.fromHex(0),secondaryButtonStroke:J.fromHex(16777215),grid:J.fromHex(0),background:J.fromHex(16777215),alternativeBackgroun
vendor: 13,180 bytes, line 41
41d:J.fromHex(0),text:J.fromHex(0),alternativeText:J.fromHex(16777215),disabled:J.fromHex(11382189),positive:J.fromHex(5288704),negative:J.fromHex(11730944)});{const a=n("ColorSet");a.setAll({passOptions:{hue:.05,saturation:0,lightness:0},colors:[J.fromHex(6797276)],step:1,reuse:!1,startIndex:0}),a.setPrivate("currentStep",0),a.setPrivate("currentPass",0)}n("Entity").setAll({stateAnimationDuration:0,stateAnimationEasing:fi(Zt)}),n("Component").setAll({interpolationDuration:0,interpolationEasing:fi(Zt)}),n("Sprite").setAll({visible:!0,scale:1,opacity:1,rotation:0,position:"relative",tooltipX:ae,tooltipY:ae,tooltipPosition:"fixed",isMeasured:!0}),n("Sprite").states.create("default",{visible:!0,opacity:1}),n("Container").setAll({interactiveChildren:!0,setStateOnChildren:!1}),n("Graphics").setAll({strokeWidth:1}),n("Chart").setAll({width:X,height:X,interactiveChildren:!1}),n("ZoomableContainer").setAll({width:X,height:X,wheelable:!0,pinchZoom:!0,maxZoomLevel:32,minZoomLevel:1,zoomStep:2,animationEasing:fi(Zt),animationDuration:600,maxPanOut:.4}),n("Sprite",["horizontal","center"]).setAll({centerX:ae,x:ae}),n("Sprite",["vertical","center"]).setAll({centerY:ae,y:ae}),n("Container",["horizontal","layout"]).setAll({layout:i}),n("Container",["vertical","layout"]).setAll({layout:r}),n("Pattern").setAll({repetition:"repeat",width:50,height:50,rotation:0,fillOpacity:1}),n("LinePattern").setAll({gap:6,colorOpacity:1,width:49,height:49}),n("RectanglePattern").setAll({gap:6,checkered:!1,centered:!0,maxWidth:5,maxHeight:5,width:48,height:48,strokeWidth:0}),n("CirclePattern").setAll({gap:5,checkered:!1,centered:!1,radius:3,strokeWidth:0,width:45,height:45}),n("GrainPattern").setAll({width:200,height:200,colors:[J.fromHex(0)],size:1,horizontalGap:0,verticalGap:0,density:1,minOpacity:0,maxOpacity:.2});{const a=n("PatternSet");a.setAll({step:1}),K(a,"color",t,"stroke")}n("LinearGradient").setAll({rotation:90}),n("Legend").setAll({fillField:"fill",strokeField:"stroke",nameField:"name",layout:Ri.new(this._root,{}),layer:30,clickTarget:"itemContainer"}),n("Container",["legend","item","itemcontainer"]).setAll({paddingLeft:5,paddingRight:5,paddingBottom:5,paddingTop:5,layout:i,setStateOnChildren:!0,interactiveChildren:!1,ariaChecked:!0,focusable:!0,ariaLabel:e.translate("Press ENTER to toggle"),role:"checkbox"});{const a=n("Rectangle",["legend","item","background"]);a.setAll({fillOpacity:0}),K(a,"fill",t,"background")}n("Container",["legend","marker"]).setAll({setStateOnChildren:!0,centerY:ae,paddingLeft:0,paddingRight:0,paddingBottom:0,paddingTop:0,width:18,height:18}),n("RoundedRectangle",["legend","marker","rectangle"]).setAll({width:X,height:X,cornerRadiusBL:3,cornerRadiusTL:3,cornerRadiusBR:3,cornerRadiusTR:3});{const a=n("RoundedRectangle",["legend","marker","rectangle"]).states.create("disabled",{});K(a,"fill",t,"disabled"),K(a,"stroke",t,"disabled")}n("Label",["legend","label"]).setAll({centerY:ae,marginLeft:5,paddingRight:0,paddingLeft:0,paddingTop:0,paddingBottom:0,populateText:!0});{const a=n("Label",["legend","label"]).states.create("disabled",{});K(a,"fill",t,"disabled")}n("Label",["legend","value","label"]).setAll({centerY:ae,marginLeft:5,paddingRight:0,paddingLeft:0,paddingTop:0,paddingBottom:0,width:50,centerX:X,populateText:!0});{const a=n("Label",["legend","value","label"]).states.create("disabled",{});K(a,"fill",t,"disabled")}n("HeatLegend").setAll({stepCount:1}),n("RoundedRectangle",["heatlegend","marker"]).setAll({cornerRadiusTR:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusBL:0}),n("RoundedRectangle",["vertical","heatlegend","marker"]).setAll({height:X,width:15}),n("RoundedRectangle",["horizontal","heatlegend","marker"]).setAll({width:X,height:15}),n("HeatLegend",["vertical"]).setAll({height:X}),n("HeatLegend",["horizontal"]).setAll({width:X}),n("Label",["heatlegend","start"]).setAll({paddingLeft:5,paddingRight:5,paddingTop:5,paddingBottom:5}),n("Label",["heatlegend","end"]).setAll({paddingLeft:5,paddingRight:5,paddingTop:5,paddingBottom:5});{const a=n("Label");a.setAll({paddingTop:8,paddingBottom:8,paddingLeft:10,paddingRight:10,fontFamily:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontSize:"1em",populateText:!1}),K(a,"fill",t,"text")}n("RadialLabel").setAll({textType:"regular",centerY:ae,centerX:ae,inside:!1,radius:0,baseRadius:X,orientation:"auto",textAlign:"center"}),n("EditableLabel").setAll({editOn:"click",themeTags:["editablelabel"],multiLine:!0}),n("RoundedRectangle",["editablelabel","background"]).setAll({fillOpacity:0,fill:J.fromHex(0),cornerRadiusBL:3,cornerRadiusBR:3,cornerRadiusTL:3,cornerRadiusTR:3,strokeOpacity:0,stroke:J.fromHex(0)}),n("RoundedRectangle",["editablelabel","background"]).states.create("active",{strokeOpacity:.2}),n("RoundedRectangle").setAll({cornerRadiusTL:8,cornerRadiusBL:8,cornerRadiusTR:8,cornerRadiusBR:8}),n("PointedRectangle").setAll({pointerBaseWidth:15,pointerLength:10,cornerRadius:8}),n("Slice").setAll({shiftRadius:0,dRadius:0,dInnerRadius:0});{const a=n("Tick");a.setAll({strokeOpacity:.15,isMeasured:!1,length:4.5,position:"absolute",crisp:!0}),K(a,"stroke",t,"grid")}n("Bullet").setAll({locationX:.5,locationY:.5}),n("Tooltip").setAll({position:"absolute",getFillFromSprite:!0,getStrokeFromSprite:!1,autoTextColor:!0,paddingTop:9,paddingBottom:8,paddingLeft:10,paddingRight:10,marginBottom:5,pointerOrientation:"vertical",centerX:ae,centerY:ae,animationEasing:fi(Zt),exportable:!1}),n("Polygon").setAll({animationEasing:fi(Zt)}),n("PointedRectangle",["tooltip","background"]).setAll({strokeOpacity:.9,cornerRadius:4,pointerLength:4,pointerBaseWidth:8,fillOpacity:.9,stroke:J.fromHex(16777215)});{const a=n("Label",["tooltip"]);a.setAll({role:"tooltip",populateText:!0,paddingRight:0,paddingTop:0,paddingLeft:0,paddingBottom:0}),K(a,"fill",t,"alternativeText")}n("Button").setAll({paddingTop:8,paddingBottom:8,paddingLeft:10,paddingRight:10,interactive:!0,layout:i,interactiveChildren:!1,setStateOnChildren:!0,focusable:!0}),n("Button").states.create("hover",{}),n("Button").states.create("down",{stateAnimationDuration:0}),n("Button").states.create("active",{}),n("Button").states.create("disabled",{forceInactive:!0});{const a=n("RoundedRectangle",["button","background"]);K(a,"fill",t,"primaryButton"),K(a,"stroke",t,"primaryButtonStroke")}{const a=n("RoundedRectangle",["button","background"]).states.create("hover",{});K(a,"fill",t,"primaryButtonHover")}{const a=n("RoundedRectangle",["button","background"]).states.create("down",{stateAnimationDuration:0});K(a,"fill",t,"primaryButtonDown")}{const a=n("RoundedRectangle",["button","background"]).states.create("active",{});K(a,"fill",t,"primaryButtonActive")}{const a=n("RoundedRectangle",["button","background"]).states.create("disabled",{});K(a,"fill",t,"primaryButtonDisabled")}{const a=n("Graphics",["button","icon"]).states.create("disabled",{});K(a,"fill",t,"primaryButtonTextDisabled")}{const a=n("Label",["button"]).states.create("disabled",{});K(a,"fill",t,"primaryButtonTextDisabled")}{const a=n("Graphics",["button","icon"]);a.setAll({forceInactive:!0}),K(a,"stroke",t,"primaryButtonText")}{const a=n("Label",["button"]);K(a,"fill",t,"primaryButtonText")}n("Button",["zoom"]).setAll({paddingTop:18,paddingBottom:18,paddingLeft:12,paddingRight:12,centerX:46,centerY:-10,y:0,x:X,role:"button",ariaLabel:e.translate("Zoom Out"),layer:30});{const a=n("RoundedRectangle",["background","button","zoom"]);a.setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),K(a,"fill",t,"primaryButton")}{const a=n("RoundedRectangle",["background","button","zoom"]).states.create("hover",{});K(a,"fill",t,"primaryButtonHover")}{const a=n("RoundedRectangle",["background","button","zoom"]).states.create("down",{stateAnimationDuration:0});K(a,"fill",t,"primaryButtonDown")}{const a=n("Graphics",["icon","button","zoom"]);a.setAll({crisp:!0,strokeOpacity:.7,draw:o=>{o.moveTo(0,0),o.lineTo(12,0)}}),K(a,"stroke",t,"primaryButtonText")}n("Button",["resize"]).setAll({paddingTop:9,paddingBottom:9,paddingLeft:13,paddingRight:13,draggable:!0,centerX:ae,centerY:ae,position:"absolute",role:"slider",ariaValueMin:"0",ariaValueMax:"100",ariaLabel:e.translate("Use up and down arrows to move selection")});{const a=n("RoundedRectangle",["background","resize","button"]);a.setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),K(a,"fill",t,"secondaryButton"),K(a,"stroke",t,"secondaryButtonStroke")}{const a=n("RoundedRectangle",["background","resize","button"]).states.create("hover",{});K(a,"fill",t,"secondaryButtonHover")}{const a=n("RoundedRectangle",["background","resize","button"]).states.create("down",{stateAnimationDuration:0});K(a,"fill",t,"secondaryButtonDown")}{const a=n("Graphics",["resize","button","icon"]);a.setAll({interactive:!1,crisp:!0,strokeOpacity:.5,draw:o=>{o.moveTo(0,.5),o.lineTo(0,12.5),o.moveTo(4,.5),o.lineTo(4,12.5)}}),K(a,"stroke",t,"secondaryButtonText")}n("Button",["resize","vertical"]).setAll({rotation:90,cursorOverStyle:"ns-resize"}),n("Button",["resize","horizontal"]).setAll({cursorOverStyle:"ew-resize"}),n("Button",["play"]).setAll({paddingTop:13,paddingBottom:13,paddingLeft:14,paddingRight:14,ariaLabel:e.translate("Play"),toggleKey:"active"});{const a=n("RoundedRectangle",["play","background"]);a.setAll({strokeOpacity:.5,cornerRadiusBL:100,cornerRadiusBR:100,cornerRadiusTL:100,cornerRadiusTR:100}),K(a,"fill",t,"primaryButton")}{const a=n("Graphics",["play","icon"]);a.setAll({stateAnimationDuration:0,dx:1,draw:o=>{o.moveTo(0,-5),o.lineTo(8,0),o.lineTo(0,5),o.lineTo(0,-5)}}),K(a,"fill",t,"primaryButtonText")}n("Graphics",["play","icon"]).states.create("default",{stateAnimationDuration:0}),n("Graphics",["play","icon"]).states.create("active",{stateAnimationDuration:0,draw:a=>{a.moveTo(-4,-5),a.lineTo(-1,-5),a.lineTo(-1,5),a.lineTo(-4,5),a.lineTo(-4,-5),a.moveTo(4,-5),a.lineTo(1,-5),a.lineTo(1,5),a.lineTo(4,5),a.lineTo(4,-5)}}),n("Button",["switch"]).setAll({paddingTop:4,paddingBottom:4,paddingLeft:4,paddingRight:4,ariaLabel:e.translate("Press ENTER to toggle"),toggleKey:"active",width:40,height:24,layout:null});{const a=n("RoundedRectangle",["switch","background"]);a.setAll({strokeOpacity:.5,cornerRadiusBL:100,cornerRadiusBR:100,cornerRadiusTL:100,cornerRadiusTR:100}),K(a,"fill",t,"primaryButton")}{const a=n("Circle",["switch","icon"]);a.setAll({radius:8,centerY:0,centerX:0,dx:0}),K(a,"fill",t,"primaryButtonText")}n("Graphics",["switch","icon"]).states.create("active",{dx:16}),n("Scrollbar").setAll({start:0,end:1,layer:30,animationEasing:fi(Zt)}),n("Scrollbar",["vertical"]).setAll({marginRight:13,marginLeft:13,minWidth:12,height:X}),n("Scrollbar",["horizontal"]).setAll({marginTop:13,marginBottom:13,minHeight:12,width:X}),this.rule("Button",["scrollbar"]).setAll({exportable:!1});{const a=n("RoundedRectangle",["scrollbar","main","background"]);a.setAll({cornerRadiusTL:8,cornerRadiusBL:8,cornerRadiusTR:8,cornerRadiusBR:8,fillOpacity:.8}),K(a,"fill",t,"fill")}{const a=n("RoundedRectangle",["scrollbar","thumb"]);a.setAll({role:"slider",ariaLive:"polite",position:"absolute",draggable:!0}),K(a,"fill",t,"secondaryButton")}{const a=n("RoundedRectangle",["scrollbar","thumb"]).states.create("hover",{});K(a,"fill",t,"secondaryButtonHover")}{const a=n("RoundedRectangle",["scrollbar","thumb"]).states.create("down",{stateAnimationDuration:0});K(a,"fill",t,"secondaryButtonDown")}n("RoundedRectangle",["scrollbar","thumb","vertical"]).setAll({x:ae,width:X,centerX:ae,ariaLabel:e.translate("Use up and down arrows to move selection")}),n("RoundedRectangle",["scrollbar","thumb","horizontal"]).setAll({y:ae,centerY:ae,height:X,ariaLabel:e.translate("Use left and right arrows to move selection")});{const a=n("PointedRectangle",["axis","tooltip","background"]);a.setAll({cornerRadius:0}),K(a,"fill",t,"alternativeBackground")}n("Label",["axis","tooltip"]).setAll({role:void 0}),n("Label",["axis","tooltip","y"]).setAll({textAlign:"right"}),n("Label",["axis","tooltip","y","opposite"]).setAll({textAlign:"left"}),n("Label",["axis","tooltip","x"]).setAll({textAlign:"center"}),n("Tooltip",["categoryaxis"]).setAll({labelText:"{category}"}),n("Star").setAll({spikes:5,innerRadius:5,radius:10}),n("Tooltip",["stock"]).setAll({paddingTop:6,paddingBottom:5,paddingLeft:7,paddingRight:7}),n("Tooltip",["indicator"]).setAll({forceHidden:!0}),n("PointedRectangle",["tooltip","stock","axis"]).setAll({pointerLength:0,pointerBaseWidth:0,cornerRadius:3}),n("Label",["tooltip","stock"]).setAll({fontSize:"0.8em"}),n("SpriteResizer").setAll({rotationStep:10,isMeasured:!1}),n("Container",["resizer","grip"]).states.create("hover",{});{const a=n("RoundedRectangle",["resizer","grip"]);a.setAll({strokeOpacity:.7,strokeWidth:1,fillOpacity:1,width:12,height:12}),K(a,"fill",t,"background"),K(a,"stroke",t,"alternativeBackground")}{const a=n("RoundedRectangle",["resizer","grip","outline"]);a.setAll({strokeOpacity:0,fillOpacity:0,width:20,height:20}),a.states.create("hover",{fillOpacity:.3}),K(a,"fill",t,"alternativeBackground")}n("RoundedRectangle",["resizer","grip","left"]).setAll({cornerRadiusBL:0,
41cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusTR:0}),n("RoundedRectangle",["resizer","grip","right"]).setAll({cornerRadiusBL:0,cornerRadiusBR:0,cornerRadiusTL:0,cornerRadiusTR:0});{const a=n("Rectangle",["resizer","rectangle"]);a.setAll({strokeDasharray:[2,2],strokeOpacity:.5,strokeWidth:1}),K(a,"stroke",t,"alternativeBackground")}n("Graphics",["button","plus","icon"]).setAll({x:ae,y:ae,draw:a=>{a.moveTo(-4,0),a.lineTo(4,0),a.moveTo(0,-4),a.lineTo(0,4)}}),n("Graphics",["button","minus","icon"]).setAll({x:ae,y:ae,draw:a=>{a.moveTo(-4,0),a.lineTo(4,0)}}),n("Graphics",["button","home","icon"]).setAll({x:ae,y:ae,svgPath:"M 8 -1 L 6 -1 L 6 7 L 2 7 L 2 1 L -2 1 L -2 7 L -6 7 L -6 -1 L -8 -1 L 0 -9 L 8 -1 Z M 8 -1"}),n("Button",["zoomtools"]).setAll({marginTop:1,marginBottom:2}),n("ZoomTools").setAll({x:X,centerX:X,y:X,centerY:X,paddingRight:10,paddingBottom:10})}}class Ia{constructor(e=1,t=0,i=0,r=1,n=0,a=0){Object.defineProperty(this,"a",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"b",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"c",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"d",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tx",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ty",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.a=e,this.b=t,this.c=i,this.d=r,this.tx=n,this.ty=a}setTransform(e,t,i,r,n,a=1){this.a=Math.cos(n)*a,this.b=Math.sin(n)*a,this.c=-Math.sin(n)*a,this.d=Math.cos(n)*a,this.tx=e-(i*this.a+r*this.c),this.ty=t-(i*this.b+r*this.d)}apply(e){return{x:this.a*e.x+this.c*e.y+this.tx,y:this.b*e.x+this.d*e.y+this.ty}}applyInverse(e){const t=1/(this.a*this.d+this.c*-this.b);return{x:this.d*t*e.x+-this.c*t*e.y+(this.ty*this.c-this.tx*this.d)*t,y:this.a*t*e.y+-this.b*t*e.x+(-this.ty*this.a+this.tx*this.b)*t}}append(e){const t=this.a,i=this.b,r=this.c,n=this.d;this.a=e.a*t+e.b*r,this.b=e.a*i+e.b*n,this.c=e.c*t+e.d*r,this.d=e.c*i+e.d*n,this.tx=e.tx*t+e.ty*r+this.tx,this.ty=e.tx*i+e.ty*n+this.ty}prepend(e){const t=this.tx;if(e.a!==1||e.b!==0||e.c!==0||e.d!==1){const i=this.a,r=this.c;this.a=i*e.a+this.b*e.c,this.b=i*e.b+this.b*e.d,this.c=r*e.a+this.d*e.c,this.d=r*e.b+this.d*e.d}this.tx=t*e.a+this.ty*e.c+e.tx,this.ty=t*e.b+this.ty*e.d+e.ty}copyFrom(e){this.a=e.a,this.b=e.b,this.c=e.c,this.d=e.d,this.tx=e.tx,this.ty=e.ty}}var P2=function(){function s(e,t){var i=[],r=!0,n=!1,a=void 0;try{for(var o=e[Symbol.iterator](),l;!(r=(l=o.next()).done)&&(i.push(l.value),!(t&&i.length===t));r=!0);}catch(u){n=!0,a=u}finally{try{!r&&o.return&&o.return()}finally{if(n)throw a}}return i}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return s(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),qr=Math.PI*2,Ba=function(e,t,i,r,n,a,o){var l=e.x,u=e.y;l*=t,u*=i;var c=r*l-n*u,h=n*l+r*u;return{x:c+a,y:h+o}},k2=function(e,t){var i=t===1.5707963267948966?.551915024494:t===-1.5707963267948966?-.551915024494:1.3333333333333333*Math.tan(t/4),r=Math.cos(e),n=Math.sin(e),a=Math.cos(e+t),o=Math.sin(e+t);return[{x:r-n*i,y:n+r*i},{x:a+o*i,y:o-a*i},{x:a,y:o}]},ml=function(e,t,i,r){var n=e*r-t*i<0?-1:1,a=e*i+t*r;return a>1&&(a=1),a<-1&&(a=-1),n*Math.acos(a)},T2=function(e,t,i,r,n,a,o,l,u,c,h,f){var d=Math.pow(n,2),p=Math.pow(a,2),g=Math.pow(h,2),b=Math.pow(f,2),m=d*p-d*b-p*g;m<0&&(m=0),m/=d*b+p*g,m=Math.sqrt(m)*(o===l?-1:1);var v=m*n/a*f,x=m*-a/n*h,w=c*v-u*x+(e+i)/2,P=u*v+c*x+(t+r)/2,T=(h-v)/n,O=(f-x)/a,L=(-h-v)/n,S=(-f-x)/a,B=ml(1,0,T,O),C=ml(T,O,L,S);return l===0&&C>0&&(C-=qr),l===1&&C<0&&(C+=qr),[w,P,B,C]},D2=function(e){var t=e.px,i=e.py,r=e.cx,n=e.cy,a=e.rx,o=e.ry,l=e.xAxisRotation,u=l===void 0?0:l,c=e.largeArcFlag,h=c===void 0?0:c,f=e.sweepFlag,d=f===void 0?0:f,p=[];if(a===0||o===0)return[];var g=Math.sin(u*qr/360),b=Math.cos(u*qr/360),m=b*(t-r)/2+g*(i-n)/2,v=-g*(t-r)/2+b*(i-n)/2;if(m===0&&v===0)return[];a=Math.abs(a),o=Math.abs(o);var x=Math.pow(m,2)/Math.pow(a,2)+Math.pow(v,2)/Math.pow(o,2);x>1&&(a*=Math.sqrt(x),o*=Math.sqrt(x));var w=T2(t,i,r,n,a,o,h,d,g,b,m,v),P=P2(w,4),T=P[0],O=P[1],L=P[2],S=P[3],B=Math.abs(S)/(qr/4);Math.abs(1-B)<1e-7&&(B=1);var C=Math.max(Math.ceil(B),1);S/=C;for(var $=0;$<C;$++)p.push(k2(L,S)),L+=S;return p.map(function(A){var N=Ba(A[0],a,o,b,g,T,O),z=N.x,te=N.y,Y=Ba(A[1],a,o,b,g,T,O),Q=Y.x,Z=Y.y,pe=Ba(A[2],a,o,b,g,T,O),Se=pe.x,ve=pe.y;return{x1:z,y1:te,x2:Q,y2:Z,x:Se,y:ve}})};function S2(s,e,t){if(e!==t)throw new Error("Required "+t+" arguments for "+s+" but got "+e)}function Ir(s,e,t){if(e<t)throw new Error("Required at least "+t+" arguments for "+s+" but got "+e)}function _t(s,e,t){if(Ir(s,e,t),e%t!==0)throw new Error("Arguments for "+s+" must be in pairs of "+t)}function O2(s){for(let e=0;e<s.length;e+=7){let t=e+3,i=s[t];if(i.length>1){const r=/^([01])([01])(.*)$/.exec(i);r!==null&&(s.splice(t,0,r[1]),++t,s.splice(t,0,r[2]),++t,r[3].length>
410?s[t]=r[3]:s.splice(t,1))}if(++t,i=s[t],i.length>1){const r=/^([01])(.+)$/.exec(i);r!==null&&(s.splice(t,0,r[1]),++t,s[t]=r[2])}}}function bl(s){if(s===0||s===1)return s;throw new Error("Flag must be 0 or 1")}function A2(s){const e=[0,0,0];for(let t=0;t<24;t++)e[t%3]<<=1,e[t%3]|=s&1,s>>=1;return(e[0]|0)+(e[1]<<8)+(e[2]<<16)}function Rn(s,e){for(;!(s.interactive&&!e(s));)if(s._parent)s=s._parent;else break}function C2(s,e,t){return Me(s,Ja(e),i=>{const r=I1(i);let n=i.touches;n?(n.length==0&&(n=i.changedTouches),t(Za(n),r)):t([i],r)})}function _l(s){const e=document.createElement("canvas");e.width=1,e.height=1;const t=e.getContext("2d",{willReadFrequently:!0});t.drawImage(s,0,0,1,1);try{return t.getImageData(0,0,1,1),!1}catch{return console.warn('Image "'+s.src+'" is loaded from different host and is not covered by CORS policy. For more information about the implications read here: https://www.amcharts.com/docs/v5/concepts/cors'),!0}}function Br(s){s.width=0,s.height=0,s.style.width="0px",s.style.height="0px"}function vl(s){return Math.floor(s)+.5}class E2{constructor(){Object.defineProperty(this,"_x",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_y",{enumerable:!0,configurable:!0,writable:!0,value:0})}get x(){return this._x}get y(){return this._y}set x(e){this._x=e}set y(e){this._y=e}}class ka extends Io{constructor(e){super(),Object.defineProperty(this,"_layer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"mask",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"visible",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"exportable",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"interactive",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"inactive",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"wheelable",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"cancelTouch",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"isMeasured",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"buttonMode",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"alpha",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"compoundAlpha",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"angle",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"scale",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"crisp",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"pivot",{enumerable:!0,configurable:!0,writable:!0,value:new E2}),Object.defineProperty(this,"filter",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"cursorOverStyle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_replacedCursorStyle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_localMatrix",{enumerable:!0,configurable:!0,writable:!0,value:new Ia}),Object.defineProperty(this,"_matrix",{enumerable:!0,configurable:!0,writable:!0,value:new Ia}),Object.defineProperty(this,"_uMatrix",{enumerable:!0,configurable:!0,writable:!0,value:new Ia}),Object.defineProperty(this,"_renderer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_parent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_localBounds",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_bounds",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_colorId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._renderer=e}subStatus(e){return{inactive:this.inactive==null?e.inactive:this.inactive,layer:this._layer||e.layer}}
41_dispose(){this._renderer._removeObject(this),this.getLayer().dirty=!0}getCanvas(){return this.getLayer().view}getLayer(){let e=this;for(;;){if(e._layer)return e._layer;if(e._parent)e=e._parent;else return this._renderer.defaultLayer}}setLayer(e,t){e==null?this._layer=void 0:(this._layer=this._renderer.getLayer(e,!0),this._layer.visible=!0,this._layer.margin=t,t&&Ki(this._layer.view,!1),this._renderer._ghostLayer.setMargin(this._renderer.layers),this._parent&&this._parent.registerChildLayer(this._layer),this._layer.dirty=!0,this._renderer.resizeLayer(this._layer),this._renderer.resizeGhost())}markDirtyLayer(){this.getLayer().dirty=!0}clear(){this.invalidateBounds()}invalidateBounds(){this._localBounds=void 0}_addBounds(e){}_getColorId(){return this._colorId===void 0&&(this._colorId=this._renderer.paintId(this)),this._colorId}_isInteractive(e){return!e.inactive&&(this.interactive||this._renderer._forceInteractive>0)}_isInteractiveMask(e){return this._isInteractive(e)}contains(e){for(;;){if(e===this)return!0;if(e._parent)e=e._parent;else return!1}}toGlobal(e){return this._matrix.apply(e)}toLocal(e){return this._matrix.applyInverse(e)}getLocalMatrix(){return this._uMatrix.setTransform(0,0,this.pivot.x,this.pivot.y,this.angle*Math.PI/180,this.scale),this._uMatrix}getLocalBounds(){return this._localBounds||(this._localBounds={left:1e7,top:1e7,right:-1e7,bottom:-1e7},this._addBounds(this._localBounds)),this._localBounds}getAdjustedBounds(e){this._setMatrix();const t=this.getLocalMatrix(),i=t.apply({x:e.left,y:e.top}),r=t.apply({x:e.right,y:e.top}),n=t.apply({x:e.right,y:e.bottom}),a=t.apply({x:e.left,y:e.bottom});return{left:Math.min(i.x,r.x,n.x,a.x),top:Math.min(i.y,r.y,n.y,a.y),right:Math.max(i.x,r.x,n.x,a.x),bottom:Math.max(i.y,r.y,n.y,a.y)}}on(e,t,i){return this.interactive?this._renderer._addEvent(this,e,t,i):new Ye(()=>{})}_setMatrix(){this._localMatrix.setTransform(this.x,this.y,this.pivot.x,this.pivot.y,this.angle*Math.PI/180,this.scale),this._matrix.copyFrom(this._localMatrix),this._parent&&this._matrix.prepend(this._parent._matrix)}_transform(e,t){const i=this._matrix;let r=i.tx*t,n=i.ty*t;this.crisp&&(r=vl(r),n=vl(n)),e.setTransform(i.a*t,i.b*t,i.c*t,i.d*t,r,n)}_transformMargin(e,t,i){const r=this._matrix;e.setTransform(r.a*t,r.b*t,r.c*t,r.d*t,(r.tx+i.left)*t,(r.ty+i.top)*t)}_transformLayer(e,t,i){i.margin?this._transformMargin(e,i.scale||t,i.margin):this._transform(e,i.scale||t)}render(e,t=0){if(this.visible&&(this.exportable!==!1||!this._renderer._omitTainted)){this._setMatrix();const i=this.subStatus(e),r=this._renderer.resolution,n=this._renderer.layers,a=this._renderer._ghostLayer,o=a.context,l=this.mask;l&&l._setMatrix(),I(n,u=>{if(u){const c=u.context;c.save(),l&&(l._transformLayer(c,r,u),l._runPath(c),c.clip()),c.globalAlpha=this.compoundAlpha*this.alpha,this._transformLayer(c,r,u),this.filter&&(c.filter=this.filter)}}),o.save(),l&&this._isInteractiveMask(i)&&(l._transformMargin(o,r,a.margin),l._runPath(o),o.clip()),this._transformMargin(o,r,a.margin),i.layer.order>0&&!t&&Jr(this._renderer._deferredGhostLayers,i.layer.order),this._render(i,t),o.restore(),I(n,u=>{u&&u.context.restore()})}}_render(e,t=0){this.exportable===!1&&(e.layer.tainted=!0)}_ghostOnly(e=0){return e>0}_drawGhost(e,t=0){const i=this._isInteractive(e),r=e.layer.order||0;return!!(i&&(r==0&&!this._ghostOnly(t)||r==t))}hovering(){return this._renderer._hovering.has(this)}dragging(){return this._renderer._dragging.some(e=>e.value===this)}shouldCancelTouch(){const e=this._renderer;return e.tapToActivate&&!e._touchActive?!1:this.cancelTouch?!0:this._parent?this._parent.shouldCancelTouch():!1}}class M2 extends ka{constructor(){super(...arguments),Object.defineProperty(this,"interactiveChildren",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_childLayers",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_children",{enumerable:!0,configurable:!0,writable:!0,value:[]})}_isInteractiveMask(e){return this.interactiveChildren||super._isInteractiveMask(e)}addChild(e){e._parent=this,this._children.push(e),e._layer&&this.registerChildLayer(e._layer)}addChildAt(e,t){e._parent=this,this._children.splice(t,0,e),e._layer&&this.registerChildLayer(e._layer)}removeChild(e){e._parent=void 0,qe(this._children,e)}_render(e,t){super._render(e);const i=this._renderer;this.interactive&&this.interactiveChildren&&++i._forceInteractive,I(this._children,r=>{r.compoundAlpha=this.compoundAlpha*this.alpha,r.render(e,t)}),this.interactive&&this.interactiveChildren&&--i._forceInteractive}registerChildLayer(e){this._childLayers||(this._childLayers=[]),Qr(this._childLayers,e),this._parent&&this._parent.registerChildLayer(e)}markDirtyLayer(e=!1){super.markDirtyLayer(),e&&this._childLayers&&I(this._childLayers,t=>t.dirty=!0)}_dispose(){super._dispose(),this._childLayers&&I(this._childLayers,e=>{e.dirty=!0})}}function ze(s,e){s.left=Math.min(s.left,e.x),s.top=Math.min(s.top,e.y),s.right=Math.max(s.right,e.x),s.bottom=Math.max(s.bottom,e.y)}class Xe{colorize(e,t){}colorizeGhost(e,t){this.colorize(e,t)}path(e){}pathGhost(e){this.path(e)}addBounds(e){}}class L2 extends Xe{colorize(e,t){e.beginPath()}}class ja extends Xe{constructor(e){super(),Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,writable:!0,value:e})}colorize(e,t){t!==void 0?e.fillStyle=t:e.fillStyle=this.color}}class R2 extends Xe{constructor(e){super(),Object.defineProperty(this,"clearShadow",{enumerable:!0,configurable:!0,writable:!0,value:e})}colorize(e,t){e.fill(),this.clearShadow&&(e.shadowColor="",e.shadowBlur=0,e.shadowOffsetX=0,e.shadowOffsetY=0)}}class I2 extends Xe{colorize(e,t){e.stroke()}}class Fa extends Xe{constructor(e,t,i,r){super(),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,writable:!0,value:t}
vendor: 4,621 bytes, line 41
41),Object.defineProperty(this,"lineJoin",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"lineCap",{enumerable:!0,configurable:!0,writable:!0,value:r})}colorize(e,t){t!==void 0?e.strokeStyle=t:e.strokeStyle=this.color,e.lineWidth=this.width,this.lineJoin&&(e.lineJoin=this.lineJoin),this.lineCap&&(e.lineCap=this.lineCap)}}class B2 extends Xe{constructor(e){super(),Object.defineProperty(this,"dash",{enumerable:!0,configurable:!0,writable:!0,value:e})}colorize(e,t){e.setLineDash(this.dash)}}class j2 extends Xe{constructor(e){super(),Object.defineProperty(this,"dashOffset",{enumerable:!0,configurable:!0,writable:!0,value:e})}colorize(e,t){e.lineDashOffset=this.dashOffset}}class F2 extends Xe{constructor(e,t,i,r){super(),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,writable:!0,value:r})}path(e){e.rect(this.x,this.y,this.width,this.height)}addBounds(e){const t=this.x,i=this.y,r=t+this.width,n=i+this.height;ze(e,{x:t,y:i}),ze(e,{x:r,y:i}),ze(e,{x:t,y:n}),ze(e,{x:r,y:n})}}class z2 extends Xe{constructor(e,t,i){super(),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"radius",{enumerable:!0,configurable:!0,writable:!0,value:i})}path(e){e.moveTo(this.x+this.radius,this.y),e.arc(this.x,this.y,this.radius,0,2*Math.PI)}addBounds(e){ze(e,{x:this.x-this.radius,y:this.y-this.radius}),ze(e,{x:this.x+this.radius,y:this.y+this.radius})}}class N2 extends Xe{constructor(e,t,i,r){super(),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"radiusX",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"radiusY",{enumerable:!0,configurable:!0,writable:!0,value:r})}path(e){e.ellipse(0,0,this.radiusX,this.radiusY,0,0,Math.PI*2)}addBounds(e){ze(e,{x:this.x-this.radiusX,y:this.y-this.radiusY}),ze(e,{x:this.x+this.radiusX,y:this.y+this.radiusY})}}class $2 extends Xe{constructor(e,t,i,r,n,a){super(),Object.defineProperty(this,"cx",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"cy",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"radius",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"startAngle",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"endAngle",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(this,"anticlockwise",{enumerable:!0,configurable:!0,writable:!0,value:a})}path(e){this.radius>0&&e.arc(this.cx,this.cy,this.radius,this.startAngle,this.endAngle,this.anticlockwise)}addBounds(e){let t=eo(this.cx,this.cy,this.startAngle*Wr,this.endAngle*Wr,this.radius);ze(e,{x:t.left,y:t.top}),ze(e,{x:t.right,y:t.bottom})}}class V2 extends Xe{constructor(e,t,i,r,n){super(),Object.defineProperty(this,"x1",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y1",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"x2",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"y2",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"radius",{enumerable:!0,configurable:!0,writable:!0,value:n})}path(e){this.radius>0&&e.arcTo(this.x1,this.y1,this.x2,this.y2,this.radius)}addBounds(e){}}class Y2 extends Xe{constructor(e,t){super(),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:t})}path(e){e.lineTo(this.x,this.y)}addBounds(e){ze(e,{x:this.x,y:this.y})}}class H2 extends Xe{constructor(e,t){super(),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:t})}path(e){e.moveTo(this.x,this.y)}addBounds(e){ze(e,{x:this.x,y:this.y})}}class X2 extends Xe{path(e){e.closePath()}}class G2 extends Xe{constructor(e,t,i,r,n,a){super(),Object.defineProperty(this,"cpX",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"cpY",{enumerable:!0,configurable:!0,writable:!0,value:t}
41),Object.defineProperty(this,"cpX2",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"cpY2",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"toX",{enumerable:!0,configurable:!0,writable:!0,value:n}),Object.defineProperty(this,"toY",{enumerable:!0,configurable:!0,writable:!0,value:a})}path(e){e.bezierCurveTo(this.cpX,this.cpY,this.cpX2,this.cpY2,this.toX,this.toY)}addBounds(e){ze(e,{x:this.cpX,y:this.cpY}),ze(e,{x:this.cpX2,y:this.cpY2}),ze(e,{x:this.toX,y:this.toY})}}class U2 extends Xe{constructor(e,t,i,r){super(),Object.defineProperty(this,"cpX",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"cpY",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"toX",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"toY",{enumerable:!0,configurable:!0,writable:!0,value:r})}path(e){e.quadraticCurveTo(this.cpX,this.cpY,this.toX,this.toY)}addBounds(e){ze(e,{x:this.cpX,y:this.cpY}),ze(e,{x:this.toX,y:this.toY})}}class W2 extends Xe{constructor(e,t,i,r,n){super(),Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"blur",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"offsetX",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"offsetY",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"opacity",{enumerable:!0,configurable:!0,writable:!0,value:n})}colorize(e,t){this.opacity&&(e.fillStyle=this.color),e.shadowColor=this.color,e.shadowBlur=this.blur,e.shadowOffsetX=this.offsetX,e.shadowOffsetY=this.offsetY}colorizeGhost(e,t){}}class q2 extends Xe{constructor(e,t,i,r,n){super(),Object.defineProperty(this,"image",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,writable:!0,value:n})}path(e){e.drawImage(this.image,this.x,this.y,this.width,this.height)}addBounds(e){ze(e,{x:this.x,y:this.y}),ze(e,{x:this.width,y:this.height})}}class Z2 extends ka{constructor(){super(...arguments),Object.defineProperty(this,"_operations",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"blendMode",{enumerable:!0,configurable:!0,writable:!0,value:Rs.NORMAL}),Object.defineProperty(this,"_hasShadows",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_fillAlpha",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_strokeAlpha",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}clear(){super.clear(),this._operations.length=0}_pushOp(e){this._operations.push(e)}beginFill(e,t=1){this._fillAlpha=t,e?e instanceof J?this._pushOp(new ja(e.toCSS(t))):(this.isMeasured=!0,this._pushOp(new ja(e))):this._pushOp(new ja("rgba(0, 0, 0, "+t+")"))}endFill(){this._pushOp(new R2(this._hasShadows))}endStroke(){this._pushOp(new I2)}beginPath(){this._pushOp(new L2)}lineStyle(e=0,t,i=1,r,n){this._strokeAlpha=i,t?t instanceof J?this._pushOp(new Fa(e,t.toCSS(i),r,n)):this._pushOp(new Fa(e,t,r,n)):this._pushOp(new Fa(e,"rgba(0, 0, 0, "+i+")",r,n))}setLineDash(e){this._pushOp(new B2(e||[]))}setLineDashOffset(e=0){this._pushOp(new j2(e))}drawRect(e,t,i,r){this._pushOp(new F2(e,t,i,r))}drawCircle(e,t,i){this._pushOp(new z2(e,t,i))}drawEllipse(e,t,i,r){this._pushOp(new N2(e,t,i,r))}arc(e,t,i,r,n,a=!1){this._pushOp(new $2(e,t,i,r,n,a))}arcTo(e,t,i,r,n){this._pushOp(new V2(e,t,i,r,n))}lineTo(e,t){this._pushOp(new Y2(e,t))}moveTo(e,t){this._pushOp(new H2(e,t))}bezierCurveTo(e,t,i,r,n,a){this._pushOp(new G2(e,t,i,r,n,a))}quadraticCurveTo(e,t,i,r){this._pushOp(new U2(e,t,i,r))}closePath(){this._pushOp(new X2)}shadow(e,t=0,i=0,r=0,n){this._hasShadows=!0,this._pushOp(new W2(n?e.toCSS(n):e.toCSS(this._fillAlpha||this._strokeAlpha),t,i,r))}image(e,t,i,r,n){this._pushOp(new q2(e,t,i,r,n))}svgPath(e){let t=0,i=0,r=null,n=null,a=null,o=null;const l=/([MmZzLlHhVvCcSsQqTtAa])([^MmZzLlHhVvCcSsQqTtAa]*)/g,u=/[\u0009\u0020\u000A\u000C\u000D]*([\+\-]?[0-9]*\.?[0-9]+(?:[eE][\+\-]?[0-9]+)?)[\u0009\u0020\u000A\u000C\u000D]*,?/g;
41let c;for(;(c=l.exec(e))!==null;){const h=c[1],f=c[2],d=[];for(;(c=u.exec(f))!==null;)d.push(c[1]);switch(h!=="S"&&h!=="s"&&h!=="C"&&h!=="c"&&(r=null,n=null),h!=="Q"&&h!=="q"&&h!=="T"&&h!=="t"&&(a=null,o=null),h){case"M":_t(h,d.length,2),t=+d[0],i=+d[1],this.moveTo(t,i);for(let g=2;g<d.length;g+=2)t=+d[g],i=+d[g+1],this.lineTo(t,i);break;case"m":_t(h,d.length,2),t+=+d[0],i+=+d[1],this.moveTo(t,i);for(let g=2;g<d.length;g+=2)t+=+d[g],i+=+d[g+1],this.lineTo(t,i);break;case"L":_t(h,d.length,2);for(let g=0;g<d.length;g+=2)t=+d[g],i=+d[g+1],this.lineTo(t,i);break;case"l":_t(h,d.length,2);for(let g=0;g<d.length;g+=2)t+=+d[g],i+=+d[g+1],this.lineTo(t,i);break;case"H":Ir(h,d.length,1);for(let g=0;g<d.length;++g)t=+d[g],this.lineTo(t,i);break;case"h":Ir(h,d.length,1);for(let g=0;g<d.length;++g)t+=+d[g],this.lineTo(t,i);break;case"V":Ir(h,d.length,1);for(let g=0;g<d.length;++g)i=+d[g],this.lineTo(t,i);break;case"v":Ir(h,d.length,1);for(let g=0;g<d.length;++g)i+=+d[g],this.lineTo(t,i);break;case"C":_t(h,d.length,6);for(let g=0;g<d.length;g+=6){const b=+d[g],m=+d[g+1];r=+d[g+2],n=+d[g+3],t=+d[g+4],i=+d[g+5],this.bezierCurveTo(b,m,r,n,t,i)}break;case"c":_t(h,d.length,6);for(let g=0;g<d.length;g+=6){const b=+d[g]+t,m=+d[g+1]+i;r=+d[g+2]+t,n=+d[g+3]+i,t+=+d[g+4],i+=+d[g+5],this.bezierCurveTo(b,m,r,n,t,i)}break;case"S":_t(h,d.length,4),(r===null||n===null)&&(r=t,n=i);for(let g=0;g<d.length;g+=4){const b=2*t-r,m=2*i-n;r=+d[g],n=+d[g+1],t=+d[g+2],i=+d[g+3],this.bezierCurveTo(b,m,r,n,t,i)}break;case"s":_t(h,d.length,4),(r===null||n===null)&&(r=t,n=i);for(let g=0;g<d.length;g+=4){const b=2*t-r,m=2*i-n;r=+d[g]+t,n=+d[g+1]+i,t+=+d[g+2],i+=+d[g+3],this.bezierCurveTo(b,m,r,n,t,i)}break;case"Q":_t(h,d.length,4);for(let g=0;g<d.length;g+=4)a=+d[g],o=+d[g+1],t=+d[g+2],i=+d[g+3],this.quadraticCurveTo(a,o,t,i);break;case"q":_t(h,d.length,4);for(let g=0;g<d.length;g+=4)a=+d[g]+t,o=+d[g+1]+i,t+=+d[g+2],i+=+d[g+3],this.quadraticCurveTo(a,o,t,i);break;case"T":_t(h,d.length,2),(a===null||o===null)&&(a=t,o=i);for(let g=0;g<d.length;g+=2)a=2*t-a,o=2*i-o,t=+d[g],i=+d[g+1],this.quadraticCurveTo(a,o,t,i);break;case"t":_t(h,d.length,2),(a===null||o===null)&&(a=t,o=i);for(let g=0;g<d.length;g+=2)a=2*t-a,o=2*i-o,t+=+d[g],i+=+d[g+1],this.quadraticCurveTo(a,o,t,i);break;case"A":case"a":const p=h==="a";O2(d),_t(h,d.length,7);for(let g=0;g<d.length;g+=7){let b=+d[g+5],m=+d[g+6];p&&(b+=t,m+=i);const v=D2({px:t,py:i,rx:+d[g],ry:+d[g+1],xAxisRotation:+d[g+2],largeArcFlag:bl(+d[g+3]),sweepFlag:bl(+d[g+4]),cx:b,cy:m});I(v,x=>{this.bezierCurveTo(x.x1,x.y1,x.x2,x.y2,x.x,x.y),t=x.x,i=x.y})}break;case"Z":case"z":S2(h,d.length,0),this.closePath();break}}}_runPath(e){e.beginPath(),I(this._operations,t=>{t.path(e)})}_render(e,t=0){super._render(e);const i=e.layer.dirty,r=this._isInteractive(e),n=this._ghostOnly(t),a=this._drawGhost(e,t);if(i||r||n){const o=e.layer.context,l=this._renderer._ghostLayer.context;i&&!n&&(o.globalCompositeOperation=this.blendMode,o.beginPath());let u;a&&(l.beginPath(),u=this._getColorId()),I(this._operations,c=>{i&&!n&&(c.path(o),c.colorize(o,void 0)),a&&(c.pathGhost(l),c.colorizeGhost(l,u))})}}renderDetached(e){if(this.visible){this._setMatrix(),e.save();const t=this.mask;t&&(t._setMatrix(),t._transform(e,1),t._runPath(e),e.clip()),e.globalAlpha=this.compoundAlpha*this.alpha,this._transform(e,1),this.filter&&(e.filter=this.filter),e.globalCompositeOperation=this.blendMode,e.beginPath(),I(this._operations,i=>{i.path(e),i.colorize(e,void 0)}),e.restore()}}_addBounds(e){this.visible&&this.isMeasured&&I(this._operations,t=>{t.addBounds(e)})}}class G1 extends ka{constructor(e,t,i){super(e),Object.defineProperty(this,"text",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"style",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"resolution",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"textVisible",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"truncated",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_textInfo",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_originalScale",{enumerable:!0,configurable:!0,writable:!0,value:1}),this.text=t,this.style=i}invalidateBounds(){super.invalidateBounds(),this._textInfo=void 0}_shared(e){this.style.textAlign&&(e.textAlign=this.style.textAlign),this.style.direction&&(e.direction=this.style.direction),this.style.textBaseline&&(e.textBaseline=this.style.textBaseline)}_prerender(e,t=!1,i=!1){super._render(e);const r=e.layer.context,n=this._renderer._ghostLayer.context,a=this.style;let o=this._getFontStyle(void 0,i);r.font=o,this._isInteractive(e)&&!t&&(n.font=o),a.fill&&(a.fill instanceof J?r.fillStyle=a.fill.toCSS(a.fillOpacity!=null?a.fillOpacity:1):r.fillStyle=a.fill),a.shadowColor&&(e.layer.context.shadowColor=a.shadowColor.toCSS(a.shadowOpacity||1)),a.shadowBlur&&(e.layer.context.shadowBlur=a.shadowBlur),a.shadowOffsetX&&(e.layer.context.shadowOffsetX=a.shadowOffsetX),a.shadowOffsetY&&(e.layer.context.shadowOffsetY=a.shadowOffsetY),this._shared(r),this._isInteractive(e)&&!t&&(n.fillStyle=this._getColorId(),this._shared(n))}_getFontStyle(e,t=!1){const i=this.style;let r=[];return e&&e.fontVariant?r.push(e.fontVariant):i.fontVariant&&r.push(i.fontVariant),t||(e&&e.fontWeight?r.push(e.fontWeight):i.fontWeight&&r.push(i.fontWeight)),e&&e.fontStyle?r.push(e.fontStyle):i.fontStyle&&r.push(i.fontStyle),e&&e.fontSize?(F(e.fontSize)&&(e.fontSize=e.fontSize+"px"),r.push(e.fontSize)):i.fontSize&&(F(i.fontSize)&&(i.fontSize=i.fontSize+"px"),r.push(i.fontSize)),e&&e.fontFamily?r.push(e.fontFamily):i.fontFamily?r.push(i.fontFamily):r.length&&r.push("Arial"),r.join(" ")}_render(e,t=0){if(this._textInfo||this._measure(e),this.textVisible){const i=this._isInteractive(e),r=e.layer.context,n=e.layer.dirty,a=this._renderer._ghostLayer.context,o=this._ghostOnly(t),l=this._drawGhost(e,t);r.save(),a.save(),this._prerender(e),I(this._textInfo,(u,c)=>{I(u.textChunks,(h,f)=>{if(h.style&&(r.save(),a.save(),o||(r.font=h.style),this._isInteractive(e)&&(a.font=h.style)),h.fill&&(r.save(),o||(r.fillStyle=h.fill.toCSS())),n&&!o&&r.fillText(h.text,h.offsetX,u.offsetY+h.offsetY),h.textDecoration=="underline"||h.textDecoration=="line-through"){let d=1,p=1,g=h.height;const b=this.style.oversizedBehavior||"";if(["truncate","wrap","wrap-no-break"].indexOf(b)>-1){const x=this._measureText(h.text,r);h.width=x.actualBoundingBoxLeft+x.actualBoundingBoxRight}let m=h.offsetX;switch(this.style.textAlign){case"right":case"end":m-=h.width;break;case"center":m-=h.width/2;break}if(h.style)switch(Rt.getTextStyle(h.style).fontWeight){case"bolder":case"bold":case"700":case"8
4100":case"900":d=2;break}g&&(p=g/20);let v;h.textDecoration=="line-through"?v=d+u.offsetY+h.offsetY-h.height/2:v=d+p*1.5+u.offsetY+h.offsetY,o||(r.save(),r.beginPath(),h.fill?r.strokeStyle=h.fill.toCSS():this.style.fill&&this.style.fill instanceof J&&(r.strokeStyle=this.style.fill.toCSS()),r.lineWidth=d*p,r.moveTo(m,v),r.lineTo(m+h.width,v),r.stroke(),r.restore())}i&&this.interactive&&l&&a.fillText(h.text,h.offsetX,u.offsetY+h.offsetY),h.fill&&r.restore(),h.style&&(r.restore(),a.restore())})}),r.restore(),a.restore()}}_addBounds(e){if(this.visible&&this.isMeasured){const t=this._measure({inactive:this.inactive,layer:this.getLayer()});ze(e,{x:t.left,y:t.top}),ze(e,{x:t.right,y:t.bottom})}}_ignoreFontWeight(){return/apple/i.test(navigator.vendor)}_measure(e){const t=e.layer.context,i=this._renderer._ghostLayer.context,r=this.style.direction=="rtl";this._textInfo=[];const n=this.style.oversizedBehavior,a=this.style.maxWidth,o=F(a)&&n=="truncate",l=F(a)&&(n=="wrap"||n=="wrap-no-break");t.save(),i.save(),this._prerender(e,!0,this._ignoreFontWeight());const u="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789 ",c=this.text.toString().replace(/\r/g,"").split(/\n/);let h=!0,f=0,d=0,p=0,g;I(c,(m,v)=>{let x;for(m==""?x=[{type:"value",text:""}]:x=Rt.chunk(m,!1,this.style.ignoreFormatting);x.length>0;){let w={offsetY:p,ascent:0,width:0,height:0,left:0,right:0,textChunks:[]};const P=this._measureText(u,t),T=P.actualBoundingBoxAscent+P.actualBoundingBoxDescent;w.height=T,w.ascent=P.actualBoundingBoxAscent;let O,L=this.style.textDecoration,S,B,C=!1,$=!0,A=[],N;Lo(x,(z,te)=>{if(z.type=="format")if(z.text=="[/]")h||(t.restore(),i.restore(),h=!0),S=void 0,g=void 0,B=void 0,L=this.style.textDecoration,N=void 0,O=z.text;else{h||(t.restore(),i.restore());let Y=Rt.getTextStyle(z.text);const Q=this._getFontStyle(Y);t.save(),i.save(),t.font=Q,g=Q,O=z.text,Y.textDecoration&&(L=Y.textDecoration),Y.fill&&(S=Y.fill),Y.width&&(B=xt(Y.width)),Y.verticalAlign&&(N=Y.verticalAlign),h=!1;const Z=this._measureText(u,t),pe=Z.actualBoundingBoxAscent+Z.actualBoundingBoxDescent;pe>w.height&&(w.height=pe),Z.actualBoundingBoxAscent>w.ascent&&(w.ascent=Z.actualBoundingBoxAscent)}else if(z.type=="value"&&!C){const Y=this._measureText(z.text,t);let Q=Y.actualBoundingBoxLeft+Y.actualBoundingBoxRight;if(o){this.truncated=void 0;let ve=$||this.style.breakWords||!1;const we=this.style.ellipsis||"",Ve=this._measureText(we,t),be=Ve.actualBoundingBoxLeft+Ve.actualBoundingBoxRight;if(w.width+Q>a){const it=a-w.width-be;z.text=this._truncateText(t,z.text,it,ve),z.text+=we,C=!0,this.truncated=!0}}else if(l&&w.width+Q>a){const ve=a-w.width,we=this._truncateText(t,z.text,ve,!1,$&&this.style.oversizedBehavior!="wrap-no-break");if(we=="")return this.textVisible=!0,!1;A=x.slice(te+1),nr(we)!=nr(z.text)&&(A.unshift({type:"value",text:z.text.substr(we.length)}),O&&A.unshift({type:"format",text:O})),z.text=nr(we),x=[],C=!0}let Z=1,pe=1;if(g&&B&&B>Q){const ve=Q/B;switch(this.style.textAlign){case"right":case"end":Z=ve;break;case"center":Z=ve,pe=ve;break;default:pe=ve}Q=B}const Se=Y.actualBoundingBoxAscent+Y.actualBoundingBoxDescent;Se>w.height&&(w.height=Se),Y.actualBoundingBoxAscent>w.ascent&&(w.ascent=Y.actualBoundingBoxAscent),w.width+=Q,w.left+=Y.actualBoundingBoxLeft/Z,w.right+=Y.actualBoundingBoxRight/pe,w.textChunks.push({style:g,fill:S,text:z.text,width:Q,height:Se,left:Y.actualBoundingBoxLeft,right:Y.actualBoundingBoxRight,ascent:Y.actualBoundingBoxAscent,offsetX:0,offsetY:0,textDecoration:L,verticalAlign:N}),$=!1}return!0}),this.style.lineHeight instanceof se?(w.height*=this.style.lineHeight.value,w.ascent*=this.style.lineHeight.value):(w.height*=this.style.lineHeight||1.2,w.ascent*=this.style.lineHeight||1.2),f<w.left&&(f=w.left),d<w.right&&(d=w.right),this._textInfo.push(w),p+=w.height,x=A||[]}}),h||(t.restore(),i.restore()),I(this._textInfo,(m,v)=>{let x=0;I(m.textChunks,w=>{if(w.offsetX=x+w.left-m.left,w.offsetY+=m.height-m.height*(this.style.baselineRatio||.19),x+=w.width,w.verticalAlign)switch(w.verticalAlign){case"super":w.offsetY-=m.height/2-w.height/2;break;case"sub":w.offsetY+=w.height/2;break}})});const b={left:r?-d:-f,top:0,right:r?f:d,bottom:p};if(n!=="none"){const m=this._fitRatio(b);if(m<1)if(n=="fit")F(this.style.minScale)&&m<this.style.minScale?(this.textVisible=!1,b.left=0,b.top=0,b.right=0,b.bottom=0):(this._originalScale||(this._originalScale=this.scale),this.scale=m,this.textVisible=!0);else if(n=="hide")this.textVisible=!1,b.left=0,b.top=0,b.right=0,b.bottom=0;else{switch(this.style.textAlign){case"right":case"end":b.left=r?a:-a,b.right=0;break;case"center":b.left=-a/2,b.right=a/2;break;default:b.left=0,b.right=r?-a:a}this.scale=this._originalScale||1,this._originalScale=void 0,this.textVisible=!0}else this.scale=this._originalScale||1,this._originalScale=void 0,this.textVisible=!0}
41return t.restore(),i.restore(),b}_fitRatio(e){const t=this.style.maxWidth,i=this.style.maxHeight;if(!F(t)&&!F(i))return 1;const r=e.right-e.left,n=e.bottom-e.top;return Math.min(t/r||1,i/n||1)}_truncateText(e,t,i,r=!1,n=!0){let a;do{if(r)t=t.slice(0,-1);else{let l=t.replace(/[^,;:!?\\\/\s​]+[,;:!?\\\/\s​]*$/g,"");if((l==""||l===t)&&n)r=!0;else{if(l=="")return t;t=l}}const o=this._measureText(t,e);a=o.actualBoundingBoxLeft+o.actualBoundingBoxRight}while(a>i&&t!="");return t}_measureText(e,t){let i=t.measureText(e),r={};if(i.actualBoundingBoxAscent==null){const a=document.createElement("div");a.innerText=e,a.style.visibility="hidden",a.style.position="absolute",a.style.top="-1000000px;",a.style.fontFamily=this.style.fontFamily||"",a.style.fontSize=this.style.fontSize+"",document.body.appendChild(a);const o=a.getBoundingClientRect();document.body.removeChild(a);const l=o.height,u=i.width;r={actualBoundingBoxAscent:l,actualBoundingBoxDescent:0,actualBoundingBoxLeft:0,actualBoundingBoxRight:u,fontBoundingBoxAscent:l,fontBoundingBoxDescent:0,width:u}}else r={actualBoundingBoxAscent:i.actualBoundingBoxAscent,actualBoundingBoxDescent:i.actualBoundingBoxDescent,actualBoundingBoxLeft:i.actualBoundingBoxLeft,actualBoundingBoxRight:i.actualBoundingBoxRight,fontBoundingBoxAscent:i.actualBoundingBoxAscent,fontBoundingBoxDescent:i.actualBoundingBoxDescent,width:i.width};const n=i.width;switch(this.style.textAlign){case"right":case"end":r.actualBoundingBoxLeft=n,r.actualBoundingBoxRight=0;break;case"center":r.actualBoundingBoxLeft=n/2,r.actualBoundingBoxRight=n/2;break;default:r.actualBoundingBoxLeft=0,r.actualBoundingBoxRight=n}return r}}class K2{constructor(){Object.defineProperty(this,"fill",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fillOpacity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"textAlign",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontFamily",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontWeight",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fontVariant",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"textDecoration",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowColor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowBlur",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOffsetX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOffsetY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOpacity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"lineHeight",{enumerable:!0,configurable:!0,writable:!0,value:We(120)}),Object.defineProperty(this,"baselineRatio",{enumerable:!0,configurable:!0,writable:!0,value:.19}),Object.defineProperty(this,"direction",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"textBaseline",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"oversizedBehavior",{enumerable:!0,configurable:!0,writable:!0,value:"none"}),Object.defineProperty(this,"breakWords",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"ellipsis",{enumerable:!0,configurable:!0,writable:!0,value:"…"}),Object.defineProperty(this,"maxWidth",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"maxHeight",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"minScale",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ignoreFormatting",{enumerable:!0,configurable:!0,writable:!0,value:!1})}}class J2 extends G1{constructor(){super(...arguments),Object.defineProperty(this,"textType",{enumerable:!0,configurable:!0,writable:!0,value:"circular"}
41),Object.defineProperty(this,"radius",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"startAngle",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"inside",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"orientation",{enumerable:!0,configurable:!0,writable:!0,value:"auto"}),Object.defineProperty(this,"kerning",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_textReversed",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_render(e,t=0){switch(this.textType){case"circular":this._renderCircular(e,t);break;default:super._render(e,t);break}}_renderCircular(e,t=0){if(this.textVisible){this._prerender(e);const i=this._isInteractive(e),r=e.layer.context,n=e.layer.dirty,a=this._renderer._ghostLayer.context;r.save(),i&&a.save(),this._textInfo||this._measure(e);let o=this.radius||0,l=this.startAngle||0,u=0,c=this.orientation,h=c=="auto"?"auto":c=="inward";const f=this.inside,d=this.style.textAlign||"left",p=this.kerning||0;let g=d=="left"?1:-1;const b=!this._textReversed,m=this._ghostOnly(t),v=this._drawGhost(e,t);if(h=="auto"){let x=0,w=0;I(this._textInfo,(P,T)=>{const O=l+P.width/(o-P.height)/2*-g;O>x&&(x=O)}),d=="left"?w=(x+u/2)*Wr:d=="right"?w=(x-u/2)*Wr:w=l*Wr,w=Fo(w),h=w>=270||w<=90}h==!0&&b&&(this._textInfo.reverse(),this._textReversed=!0),I(this._textInfo,(x,w)=>{const P=x.height;f||(o+=P),(g==-1&&h||g==1&&!h)&&b&&x.textChunks.reverse();let T=l;u=0,d=="center"&&(T+=x.width/(o-P)/2*-g,u=T-l),T+=Math.PI*(h?0:1),r.save(),i&&a.save(),m||r.rotate(T),i&&a.rotate(T);let O=0;I(x.textChunks,(L,S)=>{const B=L.text,C=L.width;O=C/2/(o-P)*g,m||r.rotate(O),i&&a.rotate(O),L.style&&(r.save(),a.save(),m||(r.font=L.style),i&&(a.font=L.style)),L.fill&&(r.save(),m||(r.fillStyle=L.fill.toCSS())),m||(r.textBaseline="middle",r.textAlign="center"),i&&(a.textBaseline="middle",a.textAlign="center"),n&&!m&&r.fillText(B,0,(h?1:-1)*(0-o+P/2)),i&&v&&a.fillText(B,0,(h?1:-1)*(0-o+P/2)),L.fill&&r.restore(),L.style&&(r.restore(),a.restore()),O=(C/2+p)/(o-P)*g,m||r.rotate(O),i&&a.rotate(O)}),r.restore(),i&&a.restore(),f&&(o-=P)}),r.restore(),i&&a.restore()}}_measure(e){switch(this.textType){case"circular":return this._measureCircular(e);default:return super._measure(e)}}_measureCircular(e){const t=e.layer.context,i=this._renderer._ghostLayer.context,r=this.style.direction=="rtl",n=this.style.oversizedBehavior,a=this.style.maxWidth,o=F(a)&&n=="truncate",l=this.style.ellipsis||"";let u;this.textVisible=!0,this._textInfo=[],this._textReversed=!1,t.save(),i.save(),this._prerender(e,!0);const c=this.text.toString().replace(/\r/g,"").split(/\n/);let h=!0,f=0,d=0;return I(c,(p,g)=>{let b=Rt.chunk(p,!1,this.style.ignoreFormatting),m={offsetY:d,ascent:0,width:0,height:0,left:0,right:0,textChunks:[]},v,x,w;I(b,(P,T)=>{if(P.type=="format"){if(P.text=="[/]")h||(t.restore(),i.restore(),h=!0),x=void 0,v=void 0,w=void 0;else{let O=Rt.getTextStyle(P.text);const L=this._getFontStyle(O);t.save(),i.save(),t.font=L,v=L,O.fill&&(x=O.fill),O.width&&(w=xt(O.width)),h=!1}o&&(u=this._measureText(l,t))}else if(P.type=="value"){let O=P.text.match(/./ug)||[];r&&(O=V4(P.text),O.reverse());for(let L=0;L<O.length;L++){const S=O[L],B=this._measureText(S,t);let C=B.width;v&&w&&w>C&&(C=w);const $=B.actualBoundingBoxAscent+B.actualBoundingBoxDescent;if($>m.height&&(m.height=$),B.actualBoundingBoxAscent>m.ascent&&(m.ascent=B.actualBoundingBoxAscent),f+=C,o){u||(u=this._measureText(l,t));const A=u.actualBoundingBoxLeft+u.actualBoundingBoxRight;if(f+A>a){m.textChunks.length==1?this.textVisible=!1:(m.width+=A,m.left+=u.actualBoundingBoxLeft,m.right+=u.actualBoundingBoxRight,m.textChunks.push({style:v,fill:x,text:l,width:A,height:$+u.actualBoundingBoxDescent,left:u.actualBoundingBoxLeft,right:u.actualBoundingBoxRight,ascent:u.actualBoundingBoxAscent,offsetX:0,offsetY:$,textDecoration:void 0}));break}}m.width+=C,m.left+=B.actualBoundingBoxLeft,m.right+=B.actualBoundingBoxRight,m.textChunks.push({style:v,fill:x,text:S,width:C,height:$+B.actualBoundingBoxDescent,left:B.actualBoundingBoxLeft,right:B.actualBoundingBoxRight,ascent:B.actualBoundingBoxAscent,offsetX:0,offsetY:$,textDecoration:void 0})}}}),this.style.lineHeight instanceof se?m.height*=this.style.lineHeight.value:m.height*=this.style.lineHeight||1.2,this._textInfo.push(m),d+=m.height}
41),h||(t.restore(),i.restore()),n=="hide"&&f>a&&(this.textVisible=!1),I(this._textInfo,p=>{I(p.textChunks,g=>{g.offsetY+=Math.round((p.height-g.height+(p.ascent-g.ascent))/2)})}),t.restore(),i.restore(),{left:0,top:0,right:0,bottom:0}}}class Q2 extends ka{constructor(e,t){super(e),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"image",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tainted",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowColor",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowBlur",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOffsetX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOffsetY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"shadowOpacity",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_imageMask",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.image=t}_dispose(){super._dispose(),this._imageMask&&Br(this._imageMask)}getLocalBounds(){if(!this._localBounds){let e=0,t=0;this.width&&(e=this.width),this.height&&(t=this.height),this._localBounds={left:0,top:0,right:e,bottom:t},this._addBounds(this._localBounds)}return this._localBounds}_render(e,t=0){if(super._render(e),this.image){if(this.tainted===void 0&&(this.tainted=_l(this.image),e.layer.tainted=!0),this.tainted&&this._renderer._omitTainted)return;const i=this._ghostOnly(t),r=this._drawGhost(e,t);if(e.layer.dirty&&!i){this.shadowColor&&(e.layer.context.shadowColor=this.shadowColor.toCSS(this.shadowOpacity||1)),this.shadowBlur&&(e.layer.context.shadowBlur=this.shadowBlur),this.shadowOffsetX&&(e.layer.context.shadowOffsetX=this.shadowOffsetX),this.shadowOffsetY&&(e.layer.context.shadowOffsetY=this.shadowOffsetY);const n=this.width||this.image.naturalWidth,a=this.height||this.image.naturalHeight;e.layer.context.drawImage(this.image,0,0,n,a)}if(this.interactive&&this._isInteractive(e)&&r){const n=this._getMask(this.image);this._renderer._ghostLayer.context.drawImage(n,0,0)}}}clear(){super.clear(),this.image=void 0,this._imageMask=void 0}_getMask(e){if(this._imageMask===void 0){const t=this.width||e.naturalWidth,i=this.height||e.naturalHeight,r=document.createElement("canvas");r.width=t,r.height=i;const n=r.getContext("2d");n.imageSmoothingEnabled=!1,n.fillStyle=this._getColorId(),n.fillRect(0,0,t,i),_l(e)||(n.globalCompositeOperation="destination-in",n.drawImage(e,0,0,t,i)),this._imageMask=r}return this._imageMask}}class ef{constructor(e,t,i,r){Object.defineProperty(this,"event",{enumerable:!0,configurable:!0,writable:!0,value:e}),Object.defineProperty(this,"originalPoint",{enumerable:!0,configurable:!0,writable:!0,value:t}),Object.defineProperty(this,"point",{enumerable:!0,configurable:!0,writable:!0,value:i}),Object.defineProperty(this,"bbox",{enumerable:!0,configurable:!0,writable:!0,value:r}),Object.defineProperty(this,"id",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"simulated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"native",{enumerable:!0,configurable:!0,writable:!0,value:!0}),ti("touchevents")&&e instanceof Touch?this.id=e.identifier:this.id=null}}class tf extends E4{constructor(e){if(super(),Object.defineProperty(this,"view",{enumerable:!0,configurable:!0,writable:!0,value:document.createElement("div")}),Object.defineProperty(this,"_layerDom",{enumerable:!0,configurable:!0,writable:!0,value:document.createElement("div")}),Object.defineProperty(this,"layers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_dirtyLayers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"defaultLayer",{enumerable:!0,configurable:!0,writable:!0,value:this.getLayer(0)}),Object.defineProperty(this,"_ghostLayer",{enumerable:!0,configurable:!0,writable:!0,value:new rf}),Object.defineProperty(this,"_deferredGhostLayers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_patternCanvas",{enumerable:!0,configurable:!0,writable:!0,value:document.createElement("canvas")}),Object.defineProperty(this,"_patternContext",{enumerable:!0,configurable:!0,writable:!0,value:this._patternCanvas.getContext("2d")}),Object.defineProperty(this,"_realWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_realHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_calculatedWidth",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_calculatedHeight",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"resolution",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"interactionsEnabled",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_listeners",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_events",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_colorId",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_colorMap",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_forceInteractive",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_omitTainted",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_hovering",{enumerable:!0,configurable:!0,writable:!0,value:new Set}),Object.defineProperty(this,"_dragging",{enumerable:!0,configurable:!0,writable:!0,value:[]}
41),Object.defineProperty(this,"_mousedown",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_lastPointerMoveEvent",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tapToActivate",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"tapToActivateTimeout",{enumerable:!0,configurable:!0,writable:!0,value:3e3}),Object.defineProperty(this,"_touchActive",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_touchActiveTimeout",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),e==null?this.resolution=window.devicePixelRatio:this.resolution=e,this.view.style.position="absolute",this.view.setAttribute("aria-hidden","true"),this.view.appendChild(this._layerDom),this._disposers.push(new Ye(()=>{he(this._events,(t,i)=>{i.disposer.dispose()}),I(this.layers,t=>{Br(t.view),t.exportableView&&Br(t.exportableView)}),Br(this._ghostLayer.view),Br(this._patternCanvas)})),this._disposers.push(R1(()=>{e==null&&(this.resolution=window.devicePixelRatio)})),ti("touchevents")){const t=i=>{this._dragging.length!==0&&Lo(this._dragging,r=>r.value.shouldCancelTouch()?(i.preventDefault(),!1):!0),this._touchActiveTimeout&&this._delayTouchDeactivate()};this._disposers.push(Me(window,"touchstart",t,{passive:!1})),this._disposers.push(Me(this.view,"touchstart",t,{passive:!1})),this._disposers.push(Me(this.view,"touchmove",()=>{this._touchActiveTimeout&&this._delayTouchDeactivate()},{passive:!0})),this._disposers.push(Me(window,"click",i=>{this._touchActive=!1},{passive:!0})),this._disposers.push(Me(this.view,"click",i=>{window.setTimeout(()=>{this._touchActive=!0,this._delayTouchDeactivate()},100)},{passive:!0}))}ti("wheelevents")&&this._disposers.push(Me(this.view,"wheel",t=>{let i=!1;this._hovering.forEach(r=>{if(r.wheelable)return i=!0,!1}),i&&t.preventDefault()},{passive:!1}))}resetImageArray(){this._ghostLayer.imageArray=void 0}_delayTouchDeactivate(){this._touchActiveTimeout&&clearTimeout(this._touchActiveTimeout),this.tapToActivateTimeout>0&&(this._touchActiveTimeout=window.setTimeout(()=>{this._touchActive=!1},this.tapToActivateTimeout))}get debugGhostView(){return!!this._ghostLayer.view.parentNode}set debugGhostView(e){e?this._ghostLayer.view.parentNode||this.view.appendChild(this._ghostLayer.view):this._ghostLayer.view.parentNode&&this._ghostLayer.view.parentNode.removeChild(this._ghostLayer.view)}createLinearGradient(e,t,i,r){return this.defaultLayer.context.createLinearGradient(e,t,i,r)}createRadialGradient(e,t,i,r,n,a){return this.defaultLayer.context.createRadialGradient(e,t,i,r,n,a)}createPattern(e,t,i,r,n){return this._patternCanvas.width=r,this._patternCanvas.height=n,this._patternContext.clearRect(0,0,r,n),t.renderDetached(this._patternContext),e.renderDetached(this._patternContext),this._patternContext.createPattern(this._patternCanvas,i)}makeContainer(){return new M2(this)}makeGraphics(){return new Z2(this)}makeText(e,t){return new G1(this,e,t)}makeTextStyle(){return new K2}makeRadialText(e,t){return new J2(this,e,t)}
41makePicture(e){return new Q2(this,e)}resizeLayer(e){e.resize(this._calculatedWidth,this._calculatedHeight,this._calculatedWidth,this._calculatedHeight,this.resolution)}resizeGhost(){this._ghostLayer.resize(this._calculatedWidth,this._calculatedHeight,this._calculatedWidth,this._calculatedHeight,this.resolution)}resize(e,t,i,r){this._realWidth=e,this._realHeight=t,this._calculatedWidth=i,this._calculatedHeight=r,I(this.layers,n=>{n&&(n.dirty=!0,this.resizeLayer(n))}),this.resizeGhost(),this.view.style.width=i+"px",this.view.style.height=r+"px"}createDetachedLayer(e=!1){const t=document.createElement("canvas"),i=t.getContext("2d",{willReadFrequently:e}),r=new nf(t,i);return t.style.position="absolute",t.style.top="0px",t.style.left="0px",r}getLayerByOrder(e){const t=this.layers,i=t.length;for(let r=0;r<i;r++){const n=t[r];if(n.order==e)return n}}getLayer(e,t=!0){let i=this.getLayerByOrder(e);if(i)return i;const r=this.createDetachedLayer(e==99);r.order=e,r.visible=t,r.view.className="am5-layer-"+e,r.visible&&this.resizeLayer(r);const n=this.layers;n.push(r),n.sort((u,c)=>u.order>c.order?1:u.order<c.order?-1:0);const a=n.length,o=Kr(n,r);let l;for(let u=o+1;u<a;u++)if(n[u].visible){l=n[u];break}return r.visible&&(l===void 0?this._layerDom.appendChild(r.view):this._layerDom.insertBefore(r.view,l.view)),r}render(e){this._dirtyLayers.length=0,this._deferredGhostLayers=[],I(this.layers,i=>{i&&i.dirty&&i.visible&&(this._dirtyLayers.push(i),i.clear())}),this._ghostLayer.clear(),e.render({inactive:null,layer:this.defaultLayer});const t=this._deferredGhostLayers;if(t.length&&(t.sort((i,r)=>i-r),I(t,i=>{e.render({inactive:null,layer:this.defaultLayer},i)})),this._ghostLayer.context.restore(),I(this.layers,i=>{if(i){const r=i.context;r.beginPath(),r.moveTo(0,0),r.stroke()}}),I(this._dirtyLayers,i=>{i.context.restore(),i.dirty=!1}),this._hovering.size&&this._lastPointerMoveEvent){const{events:i,target:r,native:n}=this._lastPointerMoveEvent;I(i,a=>{this._dispatchGlobalMousemove(a,r,n)})}}paintId(e){const t=A2(++this._colorId),i=J.fromHex(t).toCSS();return this._colorMap[i]=e,i}_removeObject(e){e._colorId!==void 0&&delete this._colorMap[e._colorId]}_adjustBoundingBox(e){const t=this._ghostLayer.margin;return new DOMRect(-t.left,-t.top,e.width+t.left+t.right,e.height+t.top+t.bottom)}getEvent(e,t=!0){const i=this.view.getBoundingClientRect(),r=e.clientX||0,n=e.clientY||0,a=this._calculatedWidth/this._realWidth,o=this._calculatedHeight/this._realHeight,l={x:r-i.left,y:n-i.top},u={x:(r-(t?i.left:0))*a,y:(n-(t?i.top:0))*o};return new ef(e,l,u,this._adjustBoundingBox(i))}_getHitTarget(e,t,i){if(t.width===0||t.height===0||e.x<t.left||e.x>t.right||e.y<t.top||e.y>t.bottom||!i||!this._layerDom.contains(i))return;const r=this._ghostLayer.getImageData(e,t);if(r.data[0]===0&&r.data[1]===0&&r.data[2]===0)return!1;const n=J.fromRGB(r.data[0],r.data[1],r.data[2]).toCSS();return this._colorMap[n]}getObjectAtPoint(e){const t=this._ghostLayer.getImageArray(e);if(t[0]===0&&t[1]===0&&t[2]===0)return;const i=J.fromRGB(t[0],t[1],t[2]).toCSS();return this._colorMap[i]}_withEvents(e,t){const i=this._events[e];if(i!==void 0){i.dispatching=!0;try{t(i)}finally{i.dispatching=!1,i.cleanup&&(i.cleanup=!1,ya(i.callbacks,r=>!r.disposed),i.callbacks.length===0&&(i.disposer.dispose(),delete this._events[e]))}}}_dispatchEventAll(e,t){this.interactionsEnabled&&this._withEvents(e,i=>{I(i.callbacks,r=>{r.disposed||r.callback.call(r.context,t)})})}_dispatchEvent(e,t,i){if(!this.interactionsEnabled)return!1;let r=!1;return this._withEvents(e,n=>{I(n.callbacks,a=>{!a.disposed&&a.object===t&&(a.callback.call(a.context,i),r=!0)})}),r}_dispatchMousedown(e,t){const i=e.button;if(i!=0&&i!=2&&i!=1&&i!==void 0)return;const r=this.getEvent(e),n=this._getHitTarget(r.originalPoint,r.bbox,t);if(n){const a=r.id;let o=!1;Rn(n,l=>{const u={id:a,value:l};return this._mousedown.push(u),!o&&this._dispatchEvent("pointerdown",l,r)&&(o=!0,this._dragging.some(h=>h.value===l&&h.id===a)||this._dragging.push(u)),!0})}}_dispatchGlobalMousemove(e,t,i){const r=this.getEvent(e),n=this._getHitTarget(r.originalPoint,r.bbox,t);r.native=i,n?(this._hovering.forEach(a=>{a.contains(n)||(this._hovering.delete(a),a.cursorOverStyle&&An(document.body,"cursor",a._replacedCursorStyle),this._dispatchEvent("pointerout",a,r))}),r.native&&Rn(n,a=>(this._hovering.has(a)||(this._hovering.add(a),a.cursorOverStyle&&(a._replacedCursorStyle=I4(document.body,"cursor"),An(document.body,"cursor",a.cursorOverStyle)),this._dispatchEvent("pointerover",a,r)),!0))):(this._hovering.forEach(a=>{a.cursorOverStyle&&An(document.body,"cursor",a._replacedCursorStyle),this._dispatchEvent("pointerout",a,r)}),this._hovering.clear()),this._dispatchEventAll("globalpointermove",r)}removeHovering(e){this._hovering.delete(e),e.cursorOverStyle&&An(document.body,"cursor",e._replacedCursorStyle)}
41_dispatchGlobalMouseup(e,t){const i=this.getEvent(e);i.native=t,this._dispatchEventAll("globalpointerup",i)}_dispatchDragMove(e){if(this._dragging.length!==0){const t=this.getEvent(e),i=t.id;this._dragging.forEach(r=>{r.id===i&&this._dispatchEvent("pointermove",r.value,t)})}}_dispatchDragEnd(e,t){const i=e.button;let r;if(i==0||i===void 0)r="click";else if(i==2)r="rightclick";else if(i==1)r="middleclick";else return;const n=this.getEvent(e),a=n.id;if(this._mousedown.length!==0){const o=this._getHitTarget(n.originalPoint,n.bbox,t);o&&this._mousedown.forEach(l=>{l.id===a&&l.value.contains(o)&&this._dispatchEvent(r,l.value,n)}),this._mousedown.length=0}this._dragging.length!==0&&(this._dragging.forEach(o=>{o.id===a&&this._dispatchEvent("pointerup",o.value,n)}),this._dragging.length=0)}_dispatchDoubleClick(e,t){const i=this.getEvent(e),r=this._getHitTarget(i.originalPoint,i.bbox,t);r&&Rn(r,n=>!this._dispatchEvent("dblclick",n,i))}_dispatchWheel(e,t){const i=this.getEvent(e),r=this._getHitTarget(i.originalPoint,i.bbox,t);r&&Rn(r,n=>
41!this._dispatchEvent("wheel",n,i))}_makeSharedEvent(e,t){if(this._listeners[e]===void 0){const i=t();this._listeners[e]=new L1(()=>{delete this._listeners[e],i.dispose()})}return this._listeners[e].increment()}_onPointerEvent(e,t){let i=!1,r=null;function n(){r=null,i=!1}return new nt([new Ye(()=>{r!==null&&clearTimeout(r),n()}),Me(this.view,Ja(e),a=>{i=!0,r!==null&&clearTimeout(r),r=window.setTimeout(n,0)}),C2(window,e,(a,o)=>{r!==null&&(clearTimeout(r),r=null),t(a,o,i),i=!1})])}_initEvent(e){switch(e){case"globalpointermove":case"pointerover":case"pointerout":return this._makeSharedEvent("pointermove",()=>{const t=(i,r,n)=>{this._lastPointerMoveEvent={events:i,target:r,native:n},I(i,a=>{this._dispatchGlobalMousemove(a,r,n)})};return new nt([this._onPointerEvent("pointerdown",t),this._onPointerEvent("pointermove",t)])});case"globalpointerup":return this._makeSharedEvent("pointerup",()=>{const t=this._onPointerEvent("pointerup",(r,n,a)=>{I(r,o=>{this._dispatchGlobalMouseup(o,a)}),this._lastPointerMoveEvent={events:r,target:n,native:a}}),i=this._onPointerEvent("pointercancel",(r,n,a)=>{I(r,o=>{this._dispatchGlobalMouseup(o,a)}),this._lastPointerMoveEvent={events:r,target:n,native:a}});return new Ye(()=>{t.dispose(),i.dispose()})});case"click":case"rightclick":case"middleclick":case"pointerdown":case"pointermove":case"pointerup":return this._makeSharedEvent("pointerdown",()=>{const t=this._onPointerEvent("pointerdown",(a,o)=>{I(a,l=>{this._dispatchMousedown(l,o)})}),i=this._onPointerEvent("pointermove",a=>{I(a,o=>{this._dispatchDragMove(o)})}),r=this._onPointerEvent("pointerup",(a,o)=>{I(a,l=>{this._dispatchDragEnd(l,o)})}),n=this._onPointerEvent("pointercancel",(a,o)=>{I(a,l=>{this._dispatchDragEnd(l,o)})});return new Ye(()=>{t.dispose(),i.dispose(),r.dispose(),n.dispose()})});case"dblclick":return this._makeSharedEvent("dblclick",()=>this._onPointerEvent("dblclick",(t,i)=>{I(t,r=>{this._dispatchDoubleClick(r,i)})}));case"wheel":return this._makeSharedEvent("wheel",()=>Me(this.view,Ja("wheel"),t=>{this._dispatchWheel(t,I1(t))},{passive:!1}))}}_addEvent(e,t,i,r){let n=this._events[t];n===void 0&&(n=this._events[t]={disposer:this._initEvent(t),callbacks:[],dispatching:!1,cleanup:!1});const a={object:e,context:r,callback:i,disposed:!1};return n.callbacks.push(a),new Ye(()=>{a.disposed=!0,n.dispatching?n.cleanup=!0:(qe(n.callbacks,a),n.callbacks.length===0&&(n.disposer.dispose(),delete this._events[t]))})}getCanvas(e,t){this.render(e),t||(t={});let i=this.resolution,r=Math.floor(this._calculatedWidth*this.resolution),n=Math.floor(this._calculatedHeight*this.resolution);if(t.minWidth&&t.minWidth>r){let d=t.minWidth/r;d>i&&(i=d*this.resolution)}if(t.minHeight&&t.minHeight>n){let d=t.minHeight/n;d>i&&(i=d*this.resolution)}if(t.maxWidth&&t.maxWidth<r){let d=t.maxWidth/r;d<i&&(i=d*this.resolution)}if(t.maxHeight&&t.maxHeight>n){let d=t.maxHeight/n;d<i&&(i=d*this.resolution)}t.maintainPixelRatio&&(i/=this.resolution);const a=[];let o=!1;const l=document.createElement("canvas");i!=this.resolution&&(o=!0,r=r*i/this.resolution,n=n*i/this.resolution),l.width=r,l.height=n,l.style.position="fixed",l.style.top="-10000px",this.view.appendChild(l),a.push(l);const u=l.getContext("2d");let c=0,h=0,f=!1;return I(this.layers,d=>{if(d&&d.visible&&(d.tainted||o)){f=!0,d.exportableView=d.view,d.exportableContext=d.context,d.view=document.createElement("canvas"),d.view.style.position="fixed",d.view.style.top="-10000px",this.view.appendChild(d.view),a.push(d.view);let p=0,g=0;d.margin&&(p+=d.margin.left||0+d.margin.right||0,g+=d.margin.top||0+d.margin.bottom||0),d.view.width=r+p,d.view.height=n+g,d.context=d.view.getContext("2d"),d.dirty=!0,d.scale=i}}),f&&(this._omitTainted=!0,this.render(e),this._omitTainted=!1),I(this.layers,d=>{if(d&&d.visible){let p=0,g=0;d.margin&&(p=-(d.margin.left||0)*this.resolution,g=-(d.margin.top||0)*this.resolution),u.drawImage(d.view,p,g),d.exportableView&&(d.view=d.exportableView,d.exportableView=void 0),d.exportableContext&&(d.context=d.exportableContext,d.exportableContext=void 0),c<d.view.clientWidth&&(c=d.view.clientWidth),h<d.view.clientHeight&&(h=d.view.clientHeight),d.scale=void 0}}),l.style.width=c+"px",l.style.height=h+"px",I(a,d=>{d.style.position="",d.style.top="",this.view.removeChild(d)}),l}}class rf{constructor(){Object.defineProperty(this,"view",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"context",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"margin",{enumerable:!0,configurable:!0,writable:!0,value:{left:0,right:0,top:0,bottom:0}}),Object.defineProperty(this,"_resolution",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_width",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_height",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"imageArray",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.view=document.createElement("canvas"),this.context=this.view.getContext("2d",{alpha:!1,willReadFrequently:!0}
41),this.context.imageSmoothingEnabled=!1,this.view.style.position="absolute",this.view.style.top="0px",this.view.style.left="0px"}resize(e,t,i,r,n){this._resolution=n,e+=this.margin.left+this.margin.right,t+=this.margin.top+this.margin.bottom,i+=this.margin.left+this.margin.right,r+=this.margin.top+this.margin.bottom,this.view.style.left=-this.margin.left+"px",this.view.style.top=-this.margin.top+"px",this._width=Math.floor(e*n),this._height=Math.floor(t*n),this.view.width=this._width,this.view.style.width=i+"px",this.view.height=this._height,this.view.style.height=r+"px"}getImageData(e,t){return this.context.getImageData(Math.round((e.x-t.left)/t.width*this._width),Math.round((e.y-t.top)/t.height*this._height),1,1)}getImageArray(e){this.imageArray||(this.imageArray=this.context.getImageData(0,0,this._width,this._height).data);const t=this.imageArray,i=Math.round(e.x*this._resolution),n=(Math.round(e.y*this._resolution)*this._width+i)*4;return[t[n],t[n+1],t[n+2],t[n+3]]}setMargin(e){this.margin.left=0,this.margin.right=0,this.margin.top=0,this.margin.bottom=0,I(e,t=>{t.margin&&(this.margin.left=Math.max(this.margin.left,t.margin.left),this.margin.right=Math.max(this.margin.right,t.margin.right),this.margin.top=Math.max(this.margin.top,t.margin.top),this.margin.bottom=Math.max(this.margin.bottom,t.margin.bottom))})}clear(){this.context.save(),this.context.fillStyle="#000",this.context.fillRect(0,0,this._width,this._height)}}class nf{constructor(e,t){Object.defineProperty(this,"view",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"context",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tainted",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"margin",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"order",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"visible",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"scale",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"dirty",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"exportableView",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"exportableContext",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_width",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_height",{enumerable:!0,configurable:!0,writable:!0,value:0}),this.view=e,this.context=t}resize(e,t,i,r,n){this.width!=null&&(e=this.width,i=this.width),this.height!=null&&(t=this.height,r=this.height),this.margin?(e+=this.margin.left+this.margin.right,t+=this.margin.top+this.margin.bottom,i+=this.margin.left+this.margin.right,r+=this.margin.top+this.margin.bottom,this.view.style.left=-this.margin.left+"px",this.view.style.top=-this.margin.top+"px"):(this.view.style.left="0px",this.view.style.top="0px"),this._width=Math.floor(e*n),this._height=Math.floor(t*n),this.view.width=this._width,this.view.style.width=i+"px",this.view.height=this._height,this.view.style.height=r+"px"}clear(){this.context.save(),this.context.clearRect(0,0,this._width,this._height)}}function yl(s,e){s==null?requestAnimationFrame(e):setTimeout(()=>{requestAnimationFrame(e)},1e3/s)}class zo{constructor(e,t={},i){if(Object.defineProperty(this,"dom",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_inner",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_settings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isDirtyParents",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_isDirtyAnimation",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dirty",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyParents",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyBounds",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_dirtyPositions",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_ticker",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_tickers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_updateTick",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"events",{enumerable:!0,configurable:!0,writable:!0,value:new yr}),Object.defineProperty(this,"animationTime",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_animations",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_renderer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rootContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"container",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tooltipContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipContainerSettings",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltip",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"language",{enumerable:!0,configurable:!0,writable:!0,value:w2.new(this,{})}),Object.defineProperty(this,"locale",{enumerable:!0,configurable:!0,writable:!0,value:X1}),Object.defineProperty(this,"utc",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"timezone",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"fps",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"numberFormatter",{enumerable:!0,configurable:!0,writable:!0,value:b2.new(this,{})}),Object.defineProperty(this,"dateFormatter",{enumerable:!0,configurable:!0,writable:!0,value:v2.new(this,{})}),Object.defineProperty(this,"durationFormatter",{enumerable:!0,configurable:!0,writable:!0,value:y2.new(this,{})}),Object.defineProperty(this,"tabindex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_tabindexes",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_a11yD",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_focusElementDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_focusElementContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_focusedSprite",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_isShift",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_keyboardDragPoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipElementContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_readerAlertElement",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_logo",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipDiv",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"nonce",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"interfaceColors",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"verticalLayout",{enumerable:!0,configurable:!0,writable:!0,value:ur.new(this,{})}),Object.defineProperty(this,"horizontalLayout",{enumerable:!0,configurable:!0,writable:!0,value:lr.new(this,{})}),Object.defineProperty(this,"gridLayout",{enumerable:!0,configurable:!0,writable:!0,value:Ri.new(this,{})}),Object.defineProperty(this,"_paused",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"autoResize",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"_fontHash",{enumerable:!0,configurable:!0,writable:!0,value:""}),Object.defineProperty(this,"_isDisposed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_disposers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_resizeSensorDisposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltips",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_htmlElementContainer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_htmlEnabledContainers",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"entitiesById",{enumerable:!0,configurable:!0,writable:!0,value:{}}),!i)throw new Error("You cannot use `new Class()`, instead use `Class.new()`");this._settings=t,t.accessible==!1&&(this._a11yD=!0),t.useSafeResolution==null&&(t.useSafeResolution=!0);let r;t.useSafeResolution&&(r=F4()),this._renderer=new tf(r);let n;if(e instanceof HTMLElement?n=e:n=document.getElementById(e),I(Ft.rootElements,l=>{if(l.dom===n)throw new Error("You cannot have multiple Roots on the same DOM node")}),this.interfaceColors=Is.new(this,{}),n===null)throw new Error("Could not find HTML element with id `"+e+"`");this.dom=n;let a=document.createElement("div");a.style.position="relative",a.style.width="100%",a.style.height="100%",
41n.appendChild(a);const o=t.tooltipContainerBounds;o&&(this._tooltipContainerSettings=o),this._inner=a,this._updateComputedStyles(),Ft.rootElements.push(this)}static new(e,t){const i=new zo(e,t,!0);return i._init(),i}moveDOM(e){let t;if(e instanceof HTMLElement?t=e:t=document.getElementById(e),t){for(;this.dom.childNodes.length>0;)t.appendChild(this.dom.childNodes[0]);this.dom=t,this._initResizeSensor(),this.resize()}}_handleLogo(){if(this._logo){const e=this.dom.offsetWidth,t=this.dom.offsetHeight;e<=150||t<=60?this._logo.hide():this._logo.show()}}_showBranding(){if(!this._logo){const e=this.tooltipContainer.children.push(ie.new(this,{interactive:!0,interactiveChildren:!1,position:"absolute",setStateOnChildren:!0,paddingTop:9,paddingRight:9,paddingBottom:9,paddingLeft:9,scale:.6,y:We(100),centerY:X,tooltipText:"Created using amCharts 5",tooltipX:X,cursorOverStyle:"pointer",background:ut.new(this,{fill:U(4671320),fillOpacity:0,tooltipY:5})})),t=Yt.new(this,{pointerOrientation:"horizontal",paddingTop:4,paddingRight:7,paddingBottom:4,paddingLeft:7});t.label.setAll({fontSize:12}),t.get("background").setAll({fill:this.interfaceColors.get("background"),stroke:this.interfaceColors.get("grid"),strokeOpacity:.3}),e.set("tooltip",t),e.events.on("click",()=>{window.open("https://www.amcharts.com/","_blank")}),e.states.create("hover",{}),e.children.push(me.new(this,{stroke:U(13421772),strokeWidth:3,svgPath:"M5 25 L13 25h13.6c3.4 0 6 0 10.3-4.3s5.2-12 8.6-12c3.4 0 4.3 8.6 7.7 8.6M83.4 25H79.8c-3.4 0-6 0-10.3-4.3s-5.2-12-8.6-12-4.3 8.6-7.7 8.6"})).states.create("hover",{stroke:U(3976191)}),e.children.push(me.new(this,{stroke:U(8947848),strokeWidth:3,svgPath:"M83.4 25h-31C37 25 39.5 4.4 28.4 4.4S18.9 24.2 4.3 25H0"})).states.create("hover",{stroke:U(4671320)}),this._logo=e,this._handleLogo()}}_getRealSize(){return this.dom.getBoundingClientRect()}_getCalculatedSize(e){return this._settings.calculateSize?this._settings.calculateSize(e):{width:e.width,height:e.height}}_init(){const e=this._settings;e.accessible!==!1&&(e.focusable&&(this._inner.setAttribute("focusable","true"),this._inner.setAttribute("tabindex",this.tabindex+"")),e.ariaLabel&&this._inner.setAttribute("aria-label",e.ariaLabel),e.role&&this._inner.setAttribute("role",e.role));const t=this._renderer,i=this._getRealSize(),r=this._getCalculatedSize(i),n=Math.floor(r.width),a=Math.floor(r.height),o=Math.floor(i.width),l=Math.floor(i.height),u=ie.new(this,{visible:!0,width:n,height:a});this._rootContainer=u,this._rootContainer._defaultThemes.push(x2.new(this));const c=u.children.push(ie.new(this,{visible:!0,width:X,height:X}));this.container=c,t.resize(o,l,n,a),this._inner.appendChild(t.view),this._initResizeSensor();const h=document.createElement("div");if(this._htmlElementContainer=h,h.className="am5-html-container",h.style.position="absolute",h.style.pointerEvents="none",this._tooltipContainerSettings||(h.style.overflow="hidden"),this._inner.appendChild(h),this._a11yD!==!0){const f=document.createElement("div");f.className="am5-reader-container",f.setAttribute("role","alert"),f.style.position="absolute",f.style.width="1px",f.style.height="1px",f.style.overflow="hidden",f.style.clip="rect(1px, 1px, 1px, 1px)",this._readerAlertElement=f,this._inner.appendChild(this._readerAlertElement);const d=document.createElement("div");d.className="am5-focus-container",d.style.position="absolute",d.style.pointerEvents="none",d.style.top="0px",d.style.left="0px",d.style.overflow="hidden",d.style.width=n+"px",d.style.height=a+"px",d.setAttribute("role","graphics-document"),Ki(d,!1),this._focusElementContainer=d,this._inner.appendChild(this._focusElementContainer);const p=document.createElement("div");this._tooltipElementContainer=p,p.className="am5-tooltip-container",this._inner.appendChild(p),ti("keyboardevents")&&(this._disposers.push(Me(window,"keydown",g=>{const b=Rr(g);b=="Shift"?this._isShift=!0:b=="Tab"&&(this._isShift=g.shiftKey)})),this._disposers.push(Me(window,"keyup",g=>{Rr(g)=="Shift"&&(this._isShift=!1)})),this._disposers.push(Me(d,"click",()=>{const g=this._focusedSprite;if(g){const b=g.get("clickAnnounceText","");b!==""&&this.readerAlert(b);const m=t.getEvent(new MouseEvent("click"));g.events.dispatch("click",{type:"click",originalEvent:m.event,point:m.point,simulated:!0,target:g})}})),this._disposers.push(Me(d,"keydown",g=>{const b=this._focusedSprite;if(b){g.key=="Escape"&&(L4(),this._focusedSprite=void 0);let m=0,v=0;const x=Rr(g);switch(x){case"Enter":case" ":const w=b.get("clickAnnounceText","");if(w!==""&&this.readerAlert(w),x==" "&&b.get("role")!="checkbox")return;g.preventDefault();const P=t.getEvent(new MouseEvent("mouse"));b.events.dispatch("click",{type:"click",originalEvent:P.event,point:P.point,simulated:!0,target:b});return;case"ArrowLeft":m=-6;break;case"ArrowRight":m=6;break;case"ArrowUp":v=-6;break;case"ArrowDown":v=6;break;default:return}if(m!=0||v!=0){if(g.preventDefault(),!b.isDragging()){this._keyboardDragPoint={x:0,y:0};const T=t.getEvent(new MouseEvent("mousedown",{clientX:0,clientY:0}));T.point={x:0,y:0},b.events.isEnabled("pointerdown")&&b.events.dispatch("pointerdown",{type:"pointerdown",originalEvent:T.event,point:T.point,simulated:!0,target:b})}const w=this._keyboardDragPoint;w.x+=m,w.y+=v;
41const P=t.getEvent(new MouseEvent("mousemove",{clientX:w.x,clientY:w.y}),!1);b.events.isEnabled("globalpointermove")&&b.events.dispatch("globalpointermove",{type:"globalpointermove",originalEvent:P.event,point:P.point,simulated:!0,target:b})}}})),this._disposers.push(Me(d,"keyup",g=>{if(this._focusedSprite){const b=this._focusedSprite,m=Rr(g);switch(m){case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"ArrowDown":if(b.isDragging()){const x=this._keyboardDragPoint,w=t.getEvent(new MouseEvent("mouseup",{clientX:x.x,clientY:x.y}));b.events.isEnabled("globalpointerup")&&b.events.dispatch("globalpointerup",{type:"globalpointerup",originalEvent:w.event,point:w.point,simulated:!0,target:b}),this._keyboardDragPoint=void 0;return}else if(b.get("focusableGroup")){const x=b.get("focusableGroup"),w=this._tabindexes.filter(O=>!!(O.get("focusableGroup")==x&&O.getPrivate("focusable")!==!1&&O.isVisibleDeep()));let P=w.indexOf(b);const T=w.length-1;P+=m=="ArrowRight"||m=="ArrowDown"?1:-1,P<0?P=T:P>T&&(P=0),R4(w[P].getPrivate("focusElement").dom)}break;case"Tab":const v=b.get("focusableGroup");if(v&&this._isShift){this._focusNext(b.getPrivate("focusElement").dom,-1,v);return}break}}})))}this._startTicker(),this.setThemes([]),this._addTooltip(),this._hasLicense()||this._showBranding()}_initResizeSensor(){this._resizeSensorDisposer&&this._resizeSensorDisposer.dispose(),this._resizeSensorDisposer=new m2(this.dom,()=>{this.autoResize&&this.resize()}),this._disposers.push(this._resizeSensorDisposer)}resize(){const e=this._getRealSize(),t=this._getCalculatedSize(e),i=Math.floor(t.width),r=Math.floor(t.height);if(i>0&&r>0){const n=Math.floor(e.width),a=Math.floor(e.height),o=this._htmlElementContainer;if(o.style.width=i+"px",o.style.height=r+"px",this._a11yD!==!0){const u=this._focusElementContainer;u.style.width=i+"px",u.style.height=r+"px"}this._renderer.resize(n,a,i,r);const l=this._rootContainer;l.setPrivate("width",i),l.setPrivate("height",r),this._render(),this._handleLogo()}}_render(){this._renderer.render(this._rootContainer._display),this._focusElementDirty&&(this._updateCurrentFocus(),this._focusElementDirty=!1)}_runTickers(e){I(this._tickers,t=>{t(e)})}_runAnimations(e){let t=0;return ya(this._animations,i=>{const r=i._runAnimation(e);return r===Ai.Stopped?!1:(r===Ai.Playing&&++t,!0)}),this._isDirtyAnimation=!1,t===0}_runDirties(){let e={};for(;this._isDirtyParents;)this._isDirtyParents=!1,Ce(this._dirtyParents).forEach(a=>{const o=this._dirtyParents[a];delete this._dirtyParents[a],o.isDisposed()||(e[o.uid]=o,o._prepareChildren())});Ce(e).forEach(a=>{e[a]._updateChildren()});const t=[];Ce(this._dirty).forEach(a=>{const o=this._dirty[a];o.isDisposed()?delete this._dirty[o.uid]:(t.push(o),o._beforeChanged())}),t.forEach(a=>{a._changed(),delete this._dirty[a.uid],a._clearDirty()}),this._isDirty=!1;const i={},r=[];Ce(this._dirtyBounds).forEach(a=>{const o=this._dirtyBounds[a];delete this._dirtyBounds[a],o.isDisposed()||(i[o.uid]=o.depth(),r.push(o))}),this._positionHTMLElements(),r.sort((a,o)=>Ci(i[o.uid],i[a.uid])),r.forEach(a=>{a._updateBounds()});const n=this._dirtyPositions;Ce(n).forEach(a=>{const o=n[a];delete n[a],o.isDisposed()||o._updatePosition()}),t.forEach(a=>{a._afterChanged()})}_renderFrame(e){if(this._updateTick){this.events.isEnabled("framestarted")&&this.events.dispatch("framestarted",{type:"framestarted",target:this,timestamp:e}),this._checkComputedStyles(),this._runTickers(e);const t=this._runAnimations(e);return this._runDirties(),this._render(),this._renderer.resetImageArray(),this._positionHTMLElements(),this.events.isEnabled("frameended")&&this.events.dispatch("frameended",{type:"frameended",target:this,timestamp:e}),this._tickers.length===0&&t&&!this._isDirtyAnimation&&!this._isDirty}else return!0}_runTicker(e,t){this.isDisposed()||(this.animationTime=e,this._renderFrame(e)?(this._ticker=null,this.animationTime=null):this._paused||(t?this._ticker:yl(this.fps,this._ticker)))}_runTickerNow(e=1e4){if(!this.isDisposed()){const t=performance.now()+e;for(;;){const i=performance.now();if(i>=t){this.animationTime=null;break}if(this.animationTime=i,this._renderFrame(i)){this.animationTime=null;break}}}}_startTicker(){this._ticker===null&&(this.animationTime=null,this._ticker=e=>{this._runTicker(e)},yl(this.fps,this._ticker))}get updateTick(){return this._updateTick}set updateTick(e){this._updateTick=e,e&&this._startTicker()}_addDirtyEntity(e){this._isDirty=!0,this._dirty[e.uid]===void 0&&(this._dirty[e.uid]=e),this._startTicker()}_addDirtyParent(e){this._isDirty=!0,this._isDirtyParents=!0,this._dirtyParents[e.uid]===void 0&&(this._dirtyParents[e.uid]=e),this._startTicker()}_addDirtyBounds(e){this._isDirty=!0,this._dirtyBounds[e.uid]===void 0&&(this._dirtyBounds[e.uid]=e),this._startTicker()}_addDirtyPosition(e){this._isDirty=!0,this._dirtyPositions[e.uid]===void 0&&(this._dirtyPositions[e.uid]=e),this._startTicker()}_addAnimation(e){this._isDirtyAnimation=!0,this._animations.indexOf(e)===-1&&this._animations.push(e),this._startTicker()}_markDirty(){this._isDirty=!0}_markDirtyRedraw(){this.events.once("frameended",()=>{this._isDirty=!0,this._startTicker()})}eachFrame(e){return this._tickers.push(e),this._startTicker(),new Ye(()=>{qe(this._tickers,e)})}markDirtyGlobal(e){e||(e=this.container),e.walkChildren(t=>{t instanceof ie&&this.markDirtyGlobal(t),t.markDirty(),t.markDirtyBounds()})}width(){return Math.floor(this._getCalculatedSize(this._getRealSize()).width)}height(){return Math.floor(this._getCalculatedSize(this._getRealSize()).height)}dispose(){this._isDisposed||(this._isDisposed=!0,this._rootContainer.dis
41pose(),this._renderer.dispose(),this.horizontalLayout.dispose(),this.verticalLayout.dispose(),this.interfaceColors.dispose(),I(this._disposers,e=>{e.dispose()}),this._inner&&M4(this._inner),kt(Ft.rootElements,this))}isDisposed(){return this._isDisposed}readerAlert(e){if(this._a11yD!==!0){const t=this._readerAlertElement;e=ol(e),t.innerHTML==e&&(t.innerHTML=""),t.innerHTML=e}}setThemes(e){this._rootContainer.set("themes",e);const t=this.tooltipContainer;t&&t._applyThemes();const i=this.interfaceColors;i&&i._applyThemes()}_addTooltip(){if(!this.tooltipContainer){const e=this._tooltipContainerSettings,t=this._rootContainer.children.push(ie.new(this,{position:"absolute",isMeasured:!1,width:X,height:X,layer:e?35:30,layerMargin:e||void 0}));this.tooltipContainer=t;const i=Yt.new(this,{});this.container.set("tooltip",i),i.hide(0),this._tooltip=i}}_registerTabindexOrder(e){this._a11yD!=!0&&(e.get("focusable")?Qr(this._tabindexes,e):kt(this._tabindexes,e),this._invalidateTabindexes())}_unregisterTabindexOrder(e){this._a11yD!=!0&&(kt(this._tabindexes,e),this._invalidateTabindexes())}_invalidateTabindexes(){if(this._a11yD==!0)return;this._tabindexes.sort((t,i)=>{const r=t.get("tabindexOrder",0),n=i.get("tabindexOrder",0);return r==n?0:r>n?1:-1});const e=[];I(this._tabindexes,(t,i)=>{t.getPrivate("focusElement")?this._moveFocusElement(i,t):this._makeFocusElement(i,t);const r=t.get("focusableGroup");r&&t.getPrivate("focusable")!==!1&&(e.indexOf(r)!==-1?t.getPrivate("focusElement").dom.setAttribute("tabindex","-1"):e.push(r))})}_updateCurrentFocus(){this._a11yD!=!0&&this._focusedSprite&&(this._decorateFocusElement(this._focusedSprite),this._positionFocusElement(this._focusedSprite))}_decorateFocusElement(e,t){if(this._a11yD==!0||(t||(t=e.getPrivate("focusElement").dom),!t))return;const i=e.get("role");i?t.setAttribute("role",i):t.removeAttribute("role");const r=e.get("ariaLabel");if(r){const g=cr(e,r);t.setAttribute("aria-label",g)}else t.removeAttribute("aria-label");const n=e.get("ariaLive");n?t.setAttribute("aria-live",n):t.removeAttribute("aria-live");const a=e.get("ariaChecked");a!=null&&i&&["checkbox","option","radio","menuitemcheckbox","menuitemradio","treeitem"].indexOf(i)!==-1?t.setAttribute("aria-checked",a?"true":"false"):t.removeAttribute("aria-checked");const o=e.get("ariaCurrent");o!=null?t.setAttribute("aria-current",o):t.removeAttribute("aria-current");const l=e.get("ariaSelected");l!=null&&i&&["gridcell","option","row","tab","columnheader","rowheader","treeitem"].indexOf(i)!==-1?t.setAttribute("aria-selected",l?"true":"false"):t.removeAttribute("aria-selected"),e.get("ariaHidden")?t.setAttribute("aria-hidden","true"):t.removeAttribute("aria-hidden");const u=e.get("ariaOrientation");u?t.setAttribute("aria-orientation",u):t.removeAttribute("aria-orientation");const c=e.get("ariaValueNow");c?t.setAttribute("aria-valuenow",c):t.removeAttribute("aria-valuenow");const h=e.get("ariaValueMin");h?t.setAttribute("aria-valuemin",h):t.removeAttribute("aria-valuemin");const f=e.get("ariaValueMax");f?t.setAttribute("aria-valuemax",f):t.removeAttribute("aria-valuemax");const d=e.get("ariaValueText");d?t.setAttribute("aria-valuetext",d):t.removeAttribute("aria-valuetext");const p=e.get("ariaControls");p?t.setAttribute("aria-controls",p):t.removeAttribute("aria-controls"),e.get("visible")&&e.get("opacity")!==0&&e.get("role")!="tooltip"&&!e.isHidden()&&e.getPrivate("focusable")!==!1&&(e.height()||e.width())?(t.getAttribute("tabindex")!="-1"&&t.setAttribute("tabindex",""+this.tabindex),t.removeAttribute("aria-hidden")):(t.removeAttribute("tabindex"),t.setAttribute("aria-hidden","true"))}_makeFocusElement(e,t){if(t.getPrivate("focusElement")||this._a11yD==!0)return;const i=document.createElement("div");t.get("role")!="tooltip"&&(i.tabIndex=this.tabindex),i.style.position="absolute",Ki(i,!1);const r=[];t.setPrivate("focusElement",{dom:i,disposers:r}),this._decorateFocusElement(t),r.push(Me(i,"focus",n=>{this._handleFocus(n)})),r.push(Me(i,"blur",n=>{this._handleBlur(n)})),this._moveFocusElement(e,t)}_removeFocusElement(e){if(this._a11yD==!0)return;kt(this._tabindexes,e);const t=e.getPrivate("focusElement");t&&(this._focusElementContainer.removeChild(t.dom),I(t.disposers,r=>{r.dispose()}))}_hideFocusElement(e){if(this._a11yD==!0)return;const t=e.getPrivate("focusElement");t.dom.style.display="none"}_moveFocusElement(e,t){if(this._a11yD==!0)return;const i=this._focusElementContainer,r=t.getPrivate("focusElement").dom;if(r===this._focusElementContainer.children[e])return;const n=this._focusElementContainer.children[e+1];n?i.insertBefore(r,n):i.append(r)}_positionFocusElement(e){if(this._a11yD==!0||e==null)return;const t=e.globalBounds();let i=t.right==t.left?e.width():t.right-t.left,r=t.top==t.bottom?e.height():t.bottom-t.top;const n=this._settings.focusPadding!==void 0?this._settings.focusPadding:2;
41let a=t.left-n,o=t.top-n;i<0&&(a+=i,i=Math.abs(i)),r<0&&(o+=r,r=Math.abs(r));const l=e.getPrivate("focusElement").dom;l.style.top=o+"px",l.style.left=a+"px",l.style.width=i+n*2+"px",l.style.height=r+n*2+"px"}_getSpriteByFocusElement(e){let t;return Lo(this._tabindexes,(i,r)=>i.getPrivate("focusElement").dom===e?(t=i,!1):!0),t}_handleFocus(e){if(this._a11yD==!0)return;const t=this._getSpriteByFocusElement(e.target);if(t){if(!t.isVisibleDeep()){this._focusNext(e.target,this._isShift?-1:1);return}this._positionFocusElement(t),this._focusedSprite=t,t.events.isEnabled("focus")&&t.events.dispatch("focus",{type:"focus",originalEvent:e,target:t})}}_focusNext(e,t,i){if(this._a11yD==!0)return;const r=Array.from(document.querySelectorAll(["a[href]","area[href]","button:not([disabled])","details","input:not([disabled])","iframe:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contentEditable=""]','[contentEditable="true"]','[contentEditable="TRUE"]','[tabindex]:not([tabindex^="-"])'].join(",")));let n=r.indexOf(e)+t;n<0?n=r.length-1:n>=r.length&&(n=0);const a=r[n];if(i&&t==-1){const o=this._getSpriteByFocusElement(a);if(o&&o.get("focusableGroup")==i){this._focusNext(a,t);return}}a.focus()}_handleBlur(e){if(this._a11yD==!0)return;const t=this._focusedSprite;t&&!t.isDisposed()&&t.events.isEnabled("blur")&&t.events.dispatch("blur",{type:"blur",originalEvent:e,target:t}),this._focusedSprite=void 0}updateTooltip(e){if(this._a11yD==!0)return;const t=ol(e._getText());let i=e.getPrivate("tooltipElement");e.get("role")=="tooltip"&&t!=""?(i||(i=this._makeTooltipElement(e)),i.innerHTML!=t&&(i.innerHTML=t),i.setAttribute("aria-hidden",e.isVisibleDeep()?"false":"true")):i&&(i.remove(),e.removePrivate("tooltipElement"))}_makeTooltipElement(e){const t=this._tooltipElementContainer,i=document.createElement("div");return i.style.position="absolute",i.style.width="1px",i.style.height="1px",
41i.style.overflow="hidden",i.style.clip="rect(1px, 1px, 1px, 1px)",Ki(i,!1),this._decorateFocusElement(e,i),t.append(i),e.setPrivate("tooltipElement",i),i}_removeTooltipElement(e){if(this._a11yD==!0)return;const t=e.getPrivate("tooltipElement");if(t){const i=t.parentElement;i&&i.removeChild(t)}}_invalidateAccessibility(e){if(this._a11yD==!0)return;this._focusElementDirty=!0;const t=e.getPrivate("focusElement");e.get("focusable")?t&&(this._decorateFocusElement(e),this._positionFocusElement(e)):t&&this._removeFocusElement(e)}focused(e){return this._focusedSprite===e}documentPointToRoot(e){const t=this._getRealSize(),i=this._getCalculatedSize(t),r=i.width/t.width,n=i.height/t.height;return{x:(e.x-t.left)*r,y:(e.y-t.top)*n}}rootPointToDocument(e){const t=this._getRealSize(),i=this._getCalculatedSize(t),r=i.width/t.width,n=i.height/t.height;return{x:e.x/r+t.left,y:e.y/n+t.top}}addDisposer(e){return this._disposers.push(e),e}_updateComputedStyles(){const e=window.getComputedStyle(this.dom);let t="";he(e,(r,n)=>{Li(r)&&r.match(/^font/)&&(t+=n)});const i=t!=this._fontHash;return i&&(this._fontHash=t),i}_checkComputedStyles(){this._updateComputedStyles()&&this._invalidateLabelBounds(this.container)}_invalidateLabelBounds(e){e instanceof ie?e.children.each(t=>{this._invalidateLabelBounds(t)}):e instanceof Ii&&e.markDirtyBounds()}_hasLicense(){for(let e=0;e<Ft.licenses.length;e++)if(Ft.licenses[e].match(/^AM5C.{5,}/i))return!0;return!1}_licenseApplied(){this._logo&&this._logo.set("forceHidden",!0)}get debugGhostView(){return this._renderer.debugGhostView}set debugGhostView(e){this._renderer.debugGhostView=e}set tapToActivate(e){this._renderer.tapToActivate=e}get tapToActivate(){return this._renderer.tapToActivate}set tapToActivateTimeout(e){this._renderer.tapToActivateTimeout=e}get tapToActivateTimeout(){return this._renderer.tapToActivateTimeout}_makeHTMLElement(e){const t=this._htmlElementContainer,i=document.createElement("div");e.setPrivate("htmlElement",i);let r=!1,n;e._walkParents(o=>{if(o.get("verticalScrollbar"))return r=!0,n=o,!1});let a;return r&&(a=document.createElement("div"),e.setPrivate("htmlElementWrapper",a),e.setPrivate("wrapperContainer",n),a.style.position="absolute",a.style.overflow="hidden",a.style.boxSizing="border-box",a.style.top="0px",a.style.left="0px",a.style.width="100%",a.style.height="100%",n.events.on("boundschanged",()=>{this._positionHTMLElement(e)})),i.style.position="absolute",i.style.overflow="auto",i.style.boxSizing="border-box",Ki(i,e.get("interactive",!1)),e.events.isEnabled("click")&&(Ki(i,!0),this._disposers.push(Me(i,"click",o=>{const l=this._renderer.getEvent(o);e.events.dispatch("click",{type:"click",originalEvent:l.event,point:l.point,simulated:!1,target:e})}))),this._positionHTMLElement(e),r?(a.append(i),t.append(a)):t.append(i),Qr(this._htmlEnabledContainers,e),i}_positionHTMLElements(){I(this._htmlEnabledContainers,e=>{this._positionHTMLElement(e)})}_positionHTMLElement(e){const t=e.getPrivate("htmlElementWrapper");if(t){const r=e.getPrivate("wrapperContainer");if(r){const n=r.globalBounds();t.style.clipPath="rect("+n.top+"px "+n.right+"px "+n.bottom+"px "+n.left+"px)"}}const i=e.getPrivate("htmlElement");if(i){I(["paddingTop","paddingRight","paddingBottom","paddingLeft","minWidth","minHeight","maxWidth","maxHeight"],x=>{const w=e.get(x);w?i.style[x]=w+"px":i.style[x]=""}),I(["fontFamily","fontSize","fontStyle","fontWeight","fontStyle","fontVariant","textDecoration"],x=>{const w=e.get(x);w?x=="fontSize"&&!Li(w)?i.style[x]=w+"px":i.style[x]=w+"":i.style[x]=""});const a=e.compositeScale()||1,o=e.compositeRotation()||0;i.style.transform="",i.style.transformOrigin="";const l=e.compositeOpacity();setTimeout(()=>{i.style.opacity=l+""},10);const u=e.isVisibleDeep();u&&(i.style.display="block");let c={x:e.x()+e.get("dx",0),y:e.y()+e.get("dy",0)};e.parent&&(c=e.parent.toGlobal(c)),i.style.top=c.y+"px",i.style.left=c.x+"px";const h=e.get("width"),f=e.get("height");let d=0,p=0;if(h&&(d=e.width()),f&&(p=e.height()),!h||!f){i.style.position="fixed",i.style.width="",i.style.height="";const x=i.getBoundingClientRect();i.style.position="absolute",h||(d=x.width),f||(p=x.height);let w=d/a,P=p/a,T=e.get("centerX",0),O=e.get("centerY",0),L=0,S=0,B=0,C=0;T instanceof se?(L=-T.value*w,S=(1-T.value)*w):(L=-T,S=w-T),O instanceof se?(B=-O.value*P,C=(1-O.value)*P):(B=-O,C=P-O),e._localBounds={left:L,right:S,top:B,bottom:C};let $=e._adjustedLocalBounds,A=e._display.getAdjustedBounds(e._localBounds);e._adjustedLocalBounds=A,($.left!==A.left||$.right!==A.right||$.top!==A.top||$.bottom!==A.bottom)&&e.markDirtyBounds()}d>0&&(i.style.minWidth=d+"px"),p>0&&(i.style.minHeight=p+"px"),(!u||l==0)&&(i.style.display="none");const g=e.get("centerX",0),b=sl(g)?g.percent+"%":g+"px",m=e.get("centerY",0),v=sl(m)?m.percent+"%":m+"px";(g||m)&&(i.style.transform="translate(-"+b+", -"+v+")"+i.style.transform),a!=1&&(i.style.transform+="scale("+a+")"),o!=0&&(i.style.transform+=" rotate("+o+"deg)"),i.style.transform!=""&&(i.style.transformOrigin=b+" "+v)}}_setHTMLContent(e,t){let i=e.getPrivate("htmlElement");i||(i=this._makeHTMLElement(e)),i.innerHTML!=t&&(i.innerHTML=t)}_removeHTMLContent(e){const t=e.getPrivate("htmlElementWrapper"),i=e.getPrivate("htmlElement");t?(this._htmlElementContainer.removeChild(t),e.removePrivate("htmlElement"),e.removePrivate("htmlElementWrapper"),e.removePrivate("wrapperContainer")):i&&(this._htmlElementContainer.removeChild(i),e.removePrivate("htmlElement"),e.removePrivate("wrapperContainer")),kt(this._htmlEnabledContainers,e)}}class si extends ut{_beforeChanged(){super._beforeChanged(),(this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL"))&&(this._clear=!0)}_draw(){let e=this.width(),t=this.height(),i=e/Math.abs(e),r=t/Math.abs(t),n=0,a=0;const o=this.get("strokeWidth",0);this.get("containStroke",!1)&&(e-=i*o,t-=r*o,n+=i*o/2,a+=r*o/2);let l=e,u=t;if(F(l)&&F(u)){let c=Math.min(l,u)/2,h=Le(this.get("cornerRadiusTL",8),c),f=Le(this.get("cornerRadiusTR",8),c),d=Le(this.get("cornerRadiusBR",8),c),p=Le(this.get("cornerRadiusBL",8),c),g=Math.min(Math.abs(l/2),Math.abs(u/2));h=Ae(h,0,g),f=Ae(f,0,g),d=Ae(d,0,g),p=Ae(p,0,g);const b=this._display;b.moveTo(n+h*i,a),b.lineTo(n+l-f*i,a),f>0&&b.arcTo(n+l,a,n+l,a+f*r,f),b.lineTo(n+l,a+u-d*r),d>0&&b.arcTo(n+l,a+u,n+l-d*i,a+u,d),b.lineTo(n+p*i,a+u),p>0&&b.arcTo(n,a+u,n,a+u-p*r,p),b.lineTo(n,a+h*r),h>0&&b.arcTo(n,a,n+h*i,a,h),b.closePath()}}}Object.defineProperty(si,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RoundedRectangle"});Object.defineProperty(si,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ut.classNames.c
41oncat([si.className])});class Ei extends ie{_afterNew(){this._settings.themeTags=ue(this._settings.themeTags,["button"]),super._afterNew(),this._settings.background||this.set("background",si.new(this._root,{themeTags:ue(this._settings.themeTags,["background"])})),this.setPrivate("trustBounds",!0)}_prepareChildren(){if(super._prepareChildren(),this.isDirty("icon")){const e=this._prevSettings.icon,t=this.get("icon");t!==e&&(this._disposeProperty("icon"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.icon=t)}if(this.isDirty("label")){const e=this._prevSettings.label,t=this.get("label");t!==e&&(this._disposeProperty("label"),e&&e.dispose(),t&&this.children.push(t),this._prevSettings.label=t)}}}Object.defineProperty(Ei,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Button"});Object.defineProperty(Ei,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ie.classNames.concat([Ei.className])});class sf extends wr{constructor(){super(...arguments),Object.defineProperty(this,"processor",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}incrementRef(){}decrementRef(){}_onPush(e){this.processor&&this.processor.processRow(e),super._onPush(e)}_onInsertIndex(e,t){this.processor&&this.processor.processRow(t),super._onInsertIndex(e,t)}_onSetIndex(e,t,i){this.processor&&this.processor.processRow(i),super._onSetIndex(e,t,i)}}class bi extends Y1{constructor(e,t,i){super(i),Object.defineProperty(this,"component",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"dataContext",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"bullets",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"open",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"close",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.dataContext=t,this.component=e,this._settings.visible=!0,this._checkDirty()}markDirty(){this.component.markDirtyValues(this)}_startAnimation(){this.component._root._addAnimation(this)}_animationTime(){return this.component._root.animationTime}_dispose(){this.component&&this.component.disposeDataItem(this),super._dispose()}show(e){this.setRaw("visible",!0),this.component&&this.component.showDataItem(this,e)}hide(e){this.setRaw("visible",!1),this.component&&this.component.hideDataItem(this,e)}isHidden(){return!this.get("visible")}}class Bi extends ie{constructor(){super(...arguments),Object.defineProperty(this,"_data",{enumerable:!0,configurable:!0,writable:!0,value:new sf}),Object.defineProperty(this,"_dataItems",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_mainDataItems",{enumerable:!0,configurable:!0,writable:!0,value:this._dataItems}),Object.defineProperty(this,"valueFields",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"fields",{enumerable:!0,configurable:!0,writable:!0,value:["id"]}),Object.defineProperty(this,"_valueFields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_valueFieldsF",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_fields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_fieldsF",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_valuesDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dataChanged",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dataGrouped",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"inited",{enumerable:!0,configurable:!0,writable:!0,value:!1})}set data(e){e.incrementRef(),this._data.decrementRef(),this._data=e}get data(){return this._data}_dispose(){super._dispose(),this._data.decrementRef()}_onDataClear(){}_afterNew(){super._afterNew(),this._data.incrementRef(),this._updateFields(),this._disposers.push(this.data.events.onAll(e=>{const t=this._mainDataItems;if(this.markDirtyValues(),this._markDirtyGroup(),this._dataChanged=!0,e.type==="clear")I(t,i=>{i.dispose()}),t.length=0,this._onDataClear();else if(e.type==="push"){const i=new bi(this,e.newValue,this._makeDataItem(e.newValue));t.push(i),this.processDataItem(i)}else if(e.type==="setIndex"){const i=t[e.index],r=this._makeDataItem(e.newValue);i.bullets&&i.bullets.length==0&&(i.bullets=void 0),Ce(r).forEach(n=>{i.animate({key:n,to:r[n],duration:this.get("interpolationDuration",0),easing:this.get("interpolationEasing")})}),i.dataContext=e.newValue}else if(e.type==="insertIndex"){const i=new bi(this,e.newValue,this._makeDataItem(e.newValue));t.splice(e.index,0,i),this.processDataItem(i)}else if(e.type==="removeIndex")t[e.index].dispose(),t.splice(e.index,1);else if(e.type==="moveIndex"){const i=t[e.oldIndex];t.splice(e.oldIndex,1),t.splice(e.newIndex,0,i)}else throw new Error("Unknown IStreamEvent type");this._afterDataChange()}))}_updateFields(){this.valueFields&&(this._valueFields=[],this._valueFieldsF={},I(this.valueFields,e=>{this.get(e+"Field")&&(this._valueFields.push(e),this._valueFieldsF[e]={fieldKey:e+"Field",workingKey:e+"Working"})})),this.fields&&(this._fields=[],this._fieldsF={},I(this.fields,e=>{this.get(e+"Field")&&(this._fields.push(e),this._fieldsF[e]=e+"Field")}))}get dataItems(){return this._dataItems}processDataItem(e){}_makeDataItem(e){const t={};return this._valueFields&&I(this._valueFields,i=>{const r=this.get(this._valueFieldsF[i].fieldKey);t[i]=e[r],t[this._valueFieldsF[i].workingKey]=t[i]}),this._fields&&I(this._fields,i=>{const r=this.get(this._fieldsF[i]);t[i]=e[r]}),t}makeDataItem(e,t){let i=new bi(this,t,e);return this.processDataItem(i),i}pushDataItem(e,t){const i=this.makeDataItem(e,t);return this._mainDataItems.push(i),i}disposeDataItem(e){}showDataItem(e,t){return Ne(this,void 0,void 0,function*(){e.set("visible",!0)})}hideDataItem(e,t){return Ne(this,void 0,void 0,function*(){e.set("visible",!1)})}
41_clearDirty(){super._clearDirty(),this._valuesDirty=!1}_afterDataChange(){}_afterChanged(){if(super._afterChanged(),this._dataChanged){const e="datavalidated";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this}),this._dataChanged=!1}this.inited=!0}markDirtyValues(e){this.markDirty(),this._valuesDirty=!0}_markDirtyGroup(){this._dataGrouped=!1}markDirtySize(){this._sizeDirty=!0,this.markDirty()}}Object.defineProperty(Bi,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Component"});Object.defineProperty(Bi,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ie.classNames.concat([Bi.className])});class Bs extends ie{constructor(){super(...arguments),Object.defineProperty(this,"_za",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_txa",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tya",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_movePoints",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_downScale",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_downX",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_downY",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_pinchDP",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"contents",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(ie.new(this._root,{width:X,height:X,x:0,y:0,draggable:!0,background:ut.new(this._root,{fill:U(16777215),fillOpacity:0})}))}),Object.defineProperty(this,"_wheelDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew();const e=this.contents.events;this._disposers.push(e.on("pointerdown",r=>{this._handleThisDown(r)})),this._disposers.push(e.on("globalpointerup",r=>{this._handleThisUp(r)})),this._disposers.push(e.on("globalpointermove",r=>{this._handleThisMove(r)}));const t=this.contents.get("background");t&&(t.adapters.add("width",r=>Number(r)*20),t.adapters.add("height",r=>Number(r)*20),t.adapters.add("x",r=>Number(r)-t.width()/2),t.adapters.add("y",r=>Number(r)-t.height()/2));const i=this.contents;i.adapters.add("x",r=>{const n=i.get("scale",1);if(F(r)&&n>=1){let a=this.get("maxPanOut",.4),o=i.width();r=Math.min(o*a,r),r=Math.max(this.width()-o*n*(1+a),r)}return r}),i.adapters.add("y",r=>{const n=i.get("scale",1);if(F(r)&&n>=1){let a=this.get("maxPanOut",.4),o=i.height();r=Math.min(o*a,r),r=Math.max(this.height()-o*n*(1+a),r)}return r})}_prepareChildren(){super._prepareChildren(),this.isDirty("wheelable")&&this._handleSetWheel(),this.contents._display.cancelTouch=this.get("pinchZoom",!1)}_handleSetWheel(){this.get("wheelable")?(this._wheelDp&&this._wheelDp.dispose(),this._wheelDp=this.events.on("wheel",e=>{const t=e.originalEvent;if(wa(t,this))t.preventDefault();else return;const i=this.toLocal(e.point);this._handleWheelZoom(t.deltaY,i)}),this._disposers.push(this._wheelDp)):this._wheelDp&&this._wheelDp.dispose()}_handleWheelZoom(e,t){let i=this.get("zoomStep",2),r=this.contents.get("scale",1),n=r;e>0?n=r/i:e<0&&(n=r*i),n!=r&&this.zoomToPoint(t,n)}zoomToPoint(e,t){t&&(t=Ae(t,this.get("minZoomLevel",1),this.get("maxZoomLevel",32)));const i=this.contents.get("scale",1);let r=e.x,n=e.y,a=r,o=n;const l=this.contents;let u=l.x(),c=l.y(),h=a-(r-u)/i*t,f=o-(n-c)/i*t;return this._animateTo(h,f,t),this._za}zoomIn(){return this.zoomToPoint({x:this.width()/2,y:this.height()/2},this.contents.get("scale",1)*this.get("zoomStep",2))}zoomOut(){return this.zoomToPoint({x:this.width()/2,y:this.height()/2},this.contents.get("scale",1)/this.get("zoomStep",2))}goHome(){return this._animateTo(0,0,1)}_animateTo(e,t,i){const r=this.get("animationDuration",0),n=this.get("animationEasing"),a=this.contents;this._txa=a.animate({key:"x",to:e,duration:r,easing:n}),this._tya=a.animate({key:"y",to:t,duration:r,easing:n}),this._za=a.animate({key:"scale",to:i,duration:r,easing:n})}_handleThisUp(e){this._downPoints={}}_handleThisDown(e){const t=this.contents;this._downScale=t.get("scale",1);const i=t._downPoints;let r=Ce(i).length;if(r==1){let n=i[1];
41n||(n=i[0]),n&&n.x==e.point.x&&n.y==e.point.y&&(r=0)}if(r>0){this._downX=t.x(),this._downY=t.y();const n=t._getDownPointId();if(n){let a=this._movePoints[n];a&&(t._downPoints[n]=a)}}}_handleThisMove(e){const i=e.originalEvent.pointerId;if(this.get("pinchZoom")&&i&&(this._movePoints[i]=e.point,Ce(this.contents._downPoints).length>1)){this._handlePinch();return}}_handlePinch(){let e=0,t=[],i=[];if(he(this.contents._downPoints,(r,n)=>{t[e]=n;let a=this._movePoints[r];a&&(i[e]=a),e++}),t.length>1&&i.length>1){this.contents._isDragging=!1;let r=t[0],n=t[1],a=i[0],o=i[1];if(r&&n&&a&&o){r=this.toLocal(r),n=this.toLocal(n),a=this.toLocal(a),o=this.toLocal(o);let l=Math.hypot(n.x-r.x,n.y-r.y),c=Math.hypot(o.x-a.x,o.y-a.y)/l*this._downScale,h={x:a.x+(o.x-a.x)/2,y:a.y+(o.y-a.y)/2},f={x:r.x+(n.x-r.x)/2,y:r.y+(n.y-r.y)/2},d=this._downX||0,p=this._downY||0,g=this._downScale,b=h.x-(-d+f.x)/g*c,m=h.y-(-p+f.y)/g*c;this.contents.setAll({x:b,y:m,scale:c})}}}}Object.defineProperty(Bs,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ZoomableContainer"});Object.defineProperty(Bs,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ie.classNames.concat([Bs.className])});function af(s){return new Promise((e,t)=>{setTimeout(e,s)})}function of(s,e,t,i,r,n,a){if(!a||r){let o=0;switch(!r&&e!="millisecond"&&(o=s.getTimezoneOffset(),s.setUTCMinutes(s.getUTCMinutes()-o)),e){case"day":let l=s.getUTCDate();t>1||s.setUTCDate(l),s.setUTCHours(0,0,0,0);break;case"second":let u=s.getUTCSeconds();t>1&&(u=Math.floor(u/t)*t),s.setUTCSeconds(u,0);break;case"millisecond":if(t==1)return s;let c=s.getUTCMilliseconds();c=Math.floor(c/t)*t,s.setUTCMilliseconds(c);break;case"hour":let h=s.getUTCHours();t>1&&(h=Math.floor(h/t)*t),s.setUTCHours(h,0,0,0);break;case"minute":let f=s.getUTCMinutes();t>1&&(f=Math.floor(f/t)*t),s.setUTCMinutes(f,0,0);break;case"month":let d=s.getUTCMonth();t>1&&(d=Math.floor(d/t)*t),s.setUTCMonth(d,1),s.setUTCHours(0,0,0,0);break;case"year":let p=s.getUTCFullYear();t>1&&(p=Math.floor(p/t)*t),s.setUTCFullYear(p,0,1),s.setUTCHours(0,0,0,0);break;case"week":let g=s.getUTCDate(),b=s.getUTCDay();F(i)||(i=1),b>=i?g=g-b+i:g=g-(7+b)+i,s.setUTCDate(g),s.setUTCHours(0,0,0,0);break}if(!r&&e!="millisecond"&&(s.setUTCMinutes(s.getUTCMinutes()+o),e=="day"||e=="week"||e=="month"||e=="year")){let l=s.getTimezoneOffset();if(l!=o){let u=l-o;s.setUTCMinutes(s.getUTCMinutes()+u)}}return s}else{if(isNaN(s.getTime()))return s;let o=s.getTime(),l=a.offsetUTC(s),u=s.getTimezoneOffset(),c=a.parseDate(s),h=c.year,f=c.month,d=c.day,p=c.hour,g=c.minute,b=c.second,m=c.millisecond,v=c.weekday,x=l-u;switch(e){case"day":p=0,g=x,b=0,m=0;break;case"second":g+=x,t>1&&(b=Math.floor(b/t)*t),m=0;break;case"millisecond":g+=x,t>1&&(m=Math.floor(m/t)*t);break;case"hour":t>1&&(p=Math.floor(p/t)*t),g=x,b=0,m=0;break;case"minute":t>1&&(g=Math.floor(g/t)*t),g+=x,b=0,m=0;break;case"month":t>1&&(f=Math.floor(f/t)*t),d=1,p=0,g=x,b=0,m=0;break;case"year":t>1&&(h=Math.floor(h/t)*t),f=0,d=1,p=0,g=x,b=0,m=0;break;case"week":F(i)||(i=1),v>=i?d=d-v+i:d=d-(7+v)+i,p=0,g=x,b=0,m=0;break}s=new Date(h,f,d,p,g,b,m);const w=s.getTime();let P=36e5;e=="hour"&&(P=36e5*t),w+P<=o&&(e=="hour"||e=="minute"||e=="second"||e=="millisecond")&&(s=new Date(w+P));let T=s.getTimezoneOffset(),L=a.offsetUTC(s)-T;return L!=x&&s.setTime(s.getTime()+(L-x)*6e4),s}}class Bt extends Bi{constructor(){super(...arguments),Object.defineProperty(this,"_aggregatesCalculated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_selectionAggregatesCalculated",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dataProcessed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_psi",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pei",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_baseSeriesDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"chart",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"bullets",{enumerable:!0,configurable:!0,writable:!0,value:new wr}),Object.defineProperty(this,"bulletsContainer",{enumerable:!0,configurable:!0,writable:!0,value:ie.new(this._root,{width:X,height:X,position:"absolute"})})}_afterNew(){this.valueFields.push("value","customValue"),super._afterNew(),this.setPrivate("customData",{}),this._disposers.push(this.bullets.events.onAll(e=>{if(e.type==="clear")this._handleBullets(this.dataItems);else if(e.type==="push")this._handleBullets(this.dataItems);else if(e.type==="setIndex")this._handleBullets(this.dataItems);else if(e.type==="insertIndex")this._handleBullets(this.dataItems);else if(e.type==="removeIndex")this._handleBullets(this.dataItems);else if(e.type==="moveIndex")this._handleBullets(this.dataItems);else throw new Error("Unknown IListEvent type")}))}
41_dispose(){this.bulletsContainer.dispose(),super._dispose()}startIndex(){let e=this.dataItems.length;return Math.min(this.getPrivate("startIndex",0),e)}endIndex(){let e=this.dataItems.length;return Math.min(this.getPrivate("endIndex",e),e)}_handleBullets(e){I(e,t=>{const i=t.bullets;i&&(I(i,r=>{r.dispose()}),t.bullets=void 0)}),this.markDirtyValues()}getDataItemById(e){return Ro(this.dataItems,t=>t.get("id")==e)}_makeBullets(e){this._shouldMakeBullet(e)&&(e.bullets=[],this.bullets.each(t=>{this._makeBullet(e,t)}))}_shouldMakeBullet(e){return!0}_makeBullet(e,t,i){const r=t(this._root,this,e);return r&&(r._index=i,this._makeBulletReal(e,r)),r}_makeBulletReal(e,t){let i=t.get("sprite");i&&(i._setDataItem(e),i.setRaw("position","absolute"),this.bulletsContainer.children.push(i)),t.series=this,e.bullets.push(t)}addBullet(e,t){e.bullets||(e.bullets=[]),t&&this._makeBulletReal(e,t)}_clearDirty(){super._clearDirty(),this._aggregatesCalculated=!1,this._baseSeriesDirty=!1,this._selectionAggregatesCalculated=!1}_prepareChildren(){super._prepareChildren();let e=this.startIndex(),t=this.endIndex();if(this.isDirty("name")&&this.updateLegendValue(),this.isDirty("heatRules")&&(this._valuesDirty=!0),this.isPrivateDirty("baseValueSeries")){const r=this.getPrivate("baseValueSeries");r&&this._disposers.push(r.onPrivate("startIndex",()=>{this._baseSeriesDirty=!0,this.markDirtyValues()}))}if(this.get("calculateAggregates")&&(this._valuesDirty&&!this._dataProcessed&&(this._aggregatesCalculated||(this._calculateAggregates(0,this.dataItems.length),this._aggregatesCalculated=!0,e!=0&&(this._psi=void 0))),(this._psi!=e||this._pei!=t||this.isPrivateDirty("adjustedStartIndex"))&&!this._selectionAggregatesCalculated&&(e===0&&t===this.dataItems.length&&this._aggregatesCalculated||this._calculateAggregates(e,t),this._selectionAggregatesCalculated=!0)),this.isDirty("tooltip")){let r=this.get("tooltip");r&&(r.hide(0),r.set("tooltipTarget",this))}if(this.isDirty("fill")||this.isDirty("stroke")){let r;const n=this.get("legendDataItem");if(n&&(r=n.get("markerRectangle"),r&&this.isVisible())){if(this.isDirty("stroke")){let a=this.get("stroke");r.set("stroke",a)}if(this.isDirty("fill")){let a=this.get("fill");r.set("fill",a)}}this.updateLegendMarker(void 0)}if(this.bullets.length>0){let r=this.startIndex(),n=this.endIndex();n<this.dataItems.length&&n++;for(let a=r;a<n;a++){let o=this.dataItems[a];o.bullets||this._makeBullets(o)}}}_handleRemoved(){}_adjustStartIndex(e){return e}_calculateAggregates(e,t){let i=this._valueFields;if(!i)throw new Error("No value fields are set for the series.");const r={},n={},a={},o={},l={},u={},c={},h={},f={};I(i,d=>{r[d]=0,n[d]=0,a[d]=0}),I(i,d=>{let p=d+"Change",g=d+"ChangePercent",b=d+"ChangePrevious",m=d+"ChangePreviousPercent",v=d+"ChangeSelection",x=d+"ChangeSelectionPercent",w="valueY";(d=="valueX"||d=="openValueX"||d=="lowValueX"||d=="highValueX")&&(w="valueX");const P=this.getPrivate("baseValueSeries"),T=this.getPrivate("adjustedStartIndex",e);for(let O=T;O<t;O++){const L=this.dataItems[O];if(L){let S=L.get(d);S!=null&&(a[d]++,r[d]+=S,n[d]+=Math.abs(S),h[d]=r[d]/a[d],(o[d]>S||o[d]==null)&&(o[d]=S),(l[d]<S||l[d]==null)&&(l[d]=S),c[d]=S,u[d]==null&&(u[d]=S,f[d]=S,P&&(u[w]=P._getBase(w))),e===0&&(L.setRaw(p,S-u[w]),L.setRaw(g,(S-u[w])/u[w]*100)),L.setRaw(b,S-f[w]),L.setRaw(m,(S-f[w])/f[w]*100),L.setRaw(v,S-u[w]),L.setRaw(x,(S-u[w])/u[w]*100),f[d]=S)}}if(t<this.dataItems.length-1){const O=this.dataItems[t];if(O){let L=O.get(d);O.setRaw(b,L-f[w]),O.setRaw(m,(L-f[w])/f[w]*100),O.setRaw(v,L-u[w]),O.setRaw(x,(L-u[w])/u[w]*100)}}e>0&&e--,delete f[d];for(let O=e;O<T;O++){const L=this.dataItems[O];if(L){let S=L.get(d);f[d]==null&&(f[d]=S),S!=null&&(L.setRaw(b,S-f[w]),L.setRaw(m,(S-f[w])/f[w]*100),L.setRaw(v,S-u[w]),L.setRaw(x,(S-u[w])/u[w]*100),f[d]=S)}}}),I(i,d=>{this.setPrivate(d+"AverageSelection",h[d]),this.setPrivate(d+"CountSelection",a[d]),this.setPrivate(d+"SumSelection",r[d]),this.setPrivate(d+"AbsoluteSumSelection",n[d]),this.setPrivate(d+"LowSelection",o[d]),this.setPrivate(d+"HighSelection",l[d]),this.setPrivate(d+"OpenSelection",u[d]),this.setPrivate(d+"CloseSelection",c[d])}),e===0&&t===this.dataItems.length&&I(i,d=>{this.setPrivate(d+"Average",h[d]),this.setPrivate(d+"Count",a[d]),this.setPrivate(d+"Sum",r[d]),this.setPrivate(d+"AbsoluteSum",n[d]),this.setPrivate(d+"Low",o[d]),this.setPrivate(d+"High",l[d]),this.setPrivate(d+"Open",u[d]),this.setPrivate(d+"Close",c[d])})}_updateChildren(){super._updateChildren(),this._psi=this.startIndex(),this._pei=this.endIndex(),this.isDirty("visible")&&this.bulletsContainer.set("visible",this.get("visible"));const e=this.get("heatRules");
41if(this._valuesDirty&&e&&e.length>0&&I(e,t=>{const i=t.minValue||this.getPrivate(t.dataField+"Low")||0,r=t.maxValue||this.getPrivate(t.dataField+"High")||0;I(t.target._entities,n=>{const a=n.dataItem.get(t.dataField);if(!F(a)){t.neutral&&n.set(t.key,t.neutral);const o=n.states;if(o){const l=o.lookup("default");l&&t.neutral&&l.set(t.key,t.neutral)}if(!t.customFunction)return}if(t.customFunction)t.customFunction.call(this,n,i,r,a);else{let o;t.logarithmic?o=(Math.log(a)*Math.LOG10E-Math.log(i)*Math.LOG10E)/(Math.log(r)*Math.LOG10E-Math.log(i)*Math.LOG10E):o=(a-i)/(r-i),F(a)&&(!F(o)||Math.abs(o)==1/0)&&(o=.5);let l;F(t.min)?l=t.min+(t.max-t.min)*o:t.min instanceof J?l=J.interpolate(o,t.min,t.max):t.min instanceof se&&(l=N1(o,t.min,t.max)),n.set(t.key,l);const u=n.states;if(u){const c=u.lookup("default");c&&c.set(t.key,l)}}})}),this.get("visible")){let t=this.dataItems.length,i=this.startIndex(),r=this.endIndex();r<t&&r++,i>0&&i--;for(let n=0;n<i;n++)this._hideBullets(this.dataItems[n]);for(let n=i;n<r;n++)this._positionBullets(this.dataItems[n]);for(let n=r;n<t;n++)this._hideBullets(this.dataItems[n])}}_positionBullets(e){e.bullets&&I(e.bullets,t=>{this._positionBullet(t);const i=t.get("sprite");t.get("dynamic")&&(i&&(i._markDirtyKey("fill"),i.markDirtySize()),i instanceof ie&&i.walkChildren(r=>{r._markDirtyKey("fill"),r.markDirtySize(),r instanceof Ct&&r.text.markDirtyText()})),i instanceof Ct&&i.get("populateText")&&i.text.markDirtyText()})}_hideBullets(e){e.bullets&&I(e.bullets,t=>{let i=t.get("sprite");i&&i.setPrivate("visible",!1)})}_positionBullet(e){}_placeBulletsContainer(e){e.bulletsContainer.children.moveValue(this.bulletsContainer)}_removeBulletsContainer(){const e=this.bulletsContainer;e.parent&&e.parent.children.removeValue(e)}disposeDataItem(e){const t=e.bullets;t&&(I(t,i=>{i.dispose()}),e.bullets=void 0)}_getItemReaderLabel(){return""}showDataItem(e,t){const i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return Ne(this,void 0,void 0,function*(){const r=[i.showDataItem.call(this,e,t)],n=e.bullets;n&&I(n,a=>{const o=a.get("sprite");o&&r.push(o.show(t))}),yield Promise.all(r)})}hideDataItem(e,t){const i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return Ne(this,void 0,void 0,function*(){const r=[i.hideDataItem.call(this,e,t)],n=e.bullets;n&&I(n,a=>{const o=a.get("sprite");o&&r.push(o.hide(t))}),yield Promise.all(r)})}_sequencedShowHide(e,t){return Ne(this,void 0,void 0,function*(){if(this.get("sequencedInterpolation"))if(F(t)||(t=this.get("interpolationDuration",0)),t>0){const i=this.startIndex(),r=this.endIndex();yield Promise.all(qa(this.dataItems,(n,a)=>Ne(this,void 0,void 0,function*(){let o=t||0;(a<i-10||a>r+10)&&(o=0);let l=this.get("sequencedDelay",0)+o/(r-i);yield af(l*(a-i)),e?yield this.showDataItem(n,o):yield this.hideDataItem(n,o)})))}else yield Promise.all(qa(this.dataItems,i=>e?this.showDataItem(i,0):this.hideDataItem(i,0)))})}updateLegendValue(e){if(e){const t=e.get("legendDataItem");if(t){const i=t.get("valueLabel");if(i){const n=i.text;let a="";i._setDataItem(e),a=this.get("legendValueText",n.get("text","")),i.set("text",a),n.markDirtyText()}const r=t.get("label");if(r){const n=r.text;let a="";r._setDataItem(e),a=this.get("legendLabelText",n.get("text","")),r.set("text",a),n.markDirtyText()}}}}updateLegendMarker(e){}_onHide(){super._onHide();const e=this.getTooltip();e&&e.hide()}hoverDataItem(e){}unhoverDataItem(e){}_getBase(e){const t=this.dataItems[this.startIndex()];return t?t.get(e):0}}Object.defineProperty(Bt,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Series"});Object.defineProperty(Bt,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Bi.classNames.concat([Bt.className])});class ji extends Bt{constructor(){super(...arguments),Object.defineProperty(this,"itemContainers",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>ie._new(this._root,{themeTags:ue(this.itemContainers.template.get("themeTags",[]),["legend","item"]),themeTagsSelf:ue(this.itemContainers.template.get("themeTagsSelf",[]),["itemcontainer"]),background:si.new(this._root,{themeTags:ue(this.itemContainers.template.get("themeTags",[]),["legend","item","background"]),themeTagsSelf:ue(this.itemContainers.template.get("themeTagsSelf",[]),["itemcontainer"])})},[this.itemContainers.template])))}),Object.defineProperty(this,"markers",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>ie._new(this._root,{themeTags:ue(this.markers.template.get("themeTags",[]),["legend","marker"])},[this.markers.template])))}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>Ct._new(this._root,{themeTags:ue(this.labels.template.get("themeTags",[]),["legend","label"])},[this.labels.template])))}),Object.defineProperty(this,"valueLabels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>Ct._new(this._root,{themeTags:ue(this.valueLabels.template.get("themeTags",[]),["legend","label","value"])},[this.valueLabels.template])))}),Object.defineProperty(this,"markerRectangles",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>si._new(this._root,{themeTags:ue(this.markerRectangles.template.get("themeTags",[]),["legend","marker","rectangle"])},[this.markerRectangles.template])))})}_afterNew(){this._settings.themeTags=ue(this._settings.themeTags,["legend"]),this.fields.push("name","stroke","fill"),super._afterNew()}makeItemContainer(e){const t=this.children.push(this.itemContainers.make());return t._setDataItem(e),this.itemContainers.push(t),t.states.create("disabled",{}),t}makeMarker(){const e=this.markers.make();return this.markers.push(e),e.states.create("disabled",{}),e}makeLabel(){const e=this.labels.make();return e.states.create("disabled",{}),e}makeValueLabel(){const e=this.valueLabels.make();return e.states.create("disabled",{}),e}makeMarkerRectangle(){const e=this.markerRectangles.make();return e.states.create("disabled",{}),e}processDataItem(e){super.processDataItem(e);const t=this.makeItemContainer(e),i=this.get("nameField"),r=this.get("fillField"),n=this.get("strokeField");if(t){const a=this.get("clickTarget","itemContainer"),o=e.dataContext;o&&o.set&&o.set("legendDataItem",e),t._setDataItem(e),e.set("itemContainer",t);const l=this.makeMarker();if(l){t.children.push(l),l._setDataItem(e),e.set("marker",l);const h=this.get("useDefaultMarker"),f=l.children.push(this.makeMarkerRectangle());let d=e.get("fill"),p=e.get("stroke");e.set("markerRectangle",f),o&&o.get&&(d=o.get(r,d),p=o.get(n,p)),p||(p=d),h?o.on&&(o.on(r,()=>{f.set("fill",o.get(r))}),o.on(n,()=>{f.set("stroke",o.get(n))})):o&&o.createLegendMarker&&o.createLegendMarker(),f.setAll({fill:d,stroke:p});const g=o.component;g&&g.updateLegendMarker&&g.updateLegendMarker(o)}const u=this.makeLabel();if(u){t.children.push(u),u._setDataItem(e),e.set("label",u),u.text.on("text",()=>{t.setRaw("ariaLabel",u.text._getText()+(this.get("clickTarget")!=="none"?"; "+this._t("Press ENTER to toggle"):"")),t.markDirtyAccessibility()}),o&&o.get&&e.set("name",o.get(i));let h=e.get("name");h&&u.set("text",h)}const c=this.makeValueLabel();if(c&&(t.children.push(c),c._setDataItem(e),e.set("valueLabel",c)),o&&o.show&&(o.on("visible",h=>{t.set("disabled",!h)}),o.get("visible")||t.set("disabled",!0),a!="none")){let h=t;a=="marker"&&(h=l),this._addClickEvents(h,o,e)}this.children.values.sort((h,f)=>{const d=h.dataItem.dataContext,p=f.dataItem.dataContext;if(d&&p){const g=this.data.indexOf(d),b=this.data.indexOf(p);if(g>b)return 1;if(g<b)return-1}return 0}),o&&o.updateLegendValue&&o.updateLegendValue()}}_addClickEvents(e,t,i){e.set("cursorOverStyle","pointer"),e.events.on("pointerover",()=>{const r=t.component;r&&r.hoverDataItem&&r.hoverDataItem(t)}),e.events.on("pointerout",()=>{const r=t.component;r&&r.hoverDataItem&&r.unhoverDataItem(t)}),e.events.on("click",()=>{const r=i.get("label").text._getText();
41t.show&&t.isHidden&&(t.isHidden()||t.get("visible")===!1)?(t.show(),e.set("disabled",!1),this._root.readerAlert(this._t("%1 shown",this._root.locale,r))):t.hide&&(t.hide(),e.set("disabled",!0),this._root.readerAlert(this._t("%1 hidden",this._root.locale,r)))})}disposeDataItem(e){super.disposeDataItem(e);const t=e.dataContext;t&&t.get&&t.get("legendDataItem")==e&&t.set("legendDataItem",void 0);let i=e.get("itemContainer");i&&(this.itemContainers.removeValue(i),i.dispose());let r=e.get("marker");r&&(this.markers.removeValue(r),r.dispose());let n=e.get("markerRectangle");n&&(this.markerRectangles.removeValue(n),n.dispose());let a=e.get("label");a&&(this.labels.removeValue(a),a.dispose());let o=e.get("valueLabel");o&&(this.valueLabels.removeValue(o),o.dispose())}}Object.defineProperty(ji,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Legend"});Object.defineProperty(ji,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Bt.classNames.concat([ji.className])});function wl(s,e){for(let t=0,i=e.length;t<i;t++){const r=e[t];if(r.length>0){let n=r[0];if(n.length>0){let a=n[0];s.moveTo(a.x,a.y);for(let o=0,l=r.length;o<l;o++)lf(s,r[o])}}}}function lf(s,e){for(let t=0,i=e.length;t<i;t++){const r=e[t];s.lineTo(r.x,r.y)}}class nn extends me{_beforeChanged(){super._beforeChanged(),(this.isDirty("points")||this.isDirty("segments")||this._sizeDirty||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){const e=this.get("points"),t=this.get("segments");if(e&&e.length>0){let i=e[0];this._display.moveTo(i.x,i.y),wl(this._display,[[e]])}else if(t)wl(this._display,t);else if(!this.get("draw")){let i=this.width(),r=this.height();this._display.moveTo(0,0),this._display.lineTo(i,r)}}}}Object.defineProperty(nn,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Line"});Object.defineProperty(nn,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:me.classNames.concat([nn.className])});class js extends Ii{constructor(){super(...arguments),Object.defineProperty(this,"_display",{enumerable:!0,configurable:!0,writable:!0,value:this._root._renderer.makeRadialText("",this.textStyle)})}_afterNew(){super._afterNew()}_beforeChanged(){super._beforeChanged(),this._display.clear(),this.isDirty("textType")&&(this._display.textType=this.get("textType"),this.markDirtyBounds()),this.isDirty("radius")&&(this._display.radius=this.get("radius"),this.markDirtyBounds()),this.isDirty("startAngle")&&(this._display.startAngle=(this.get("startAngle",0)+90)*en,this.markDirtyBounds()),this.isDirty("inside")&&(this._display.inside=this.get("inside"),this.markDirtyBounds()),this.isDirty("orientation")&&(this._display.orientation=this.get("orientation"),this.markDirtyBounds()),this.isDirty("kerning")&&(this._display.kerning=this.get("kerning"),this.markDirtyBounds())}}Object.defineProperty(js,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RadialText"});Object.defineProperty(js,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Ii.classNames.concat([js.className])});class Fs extends Ct{constructor(){super(...arguments),Object.defineProperty(this,"_flipped",{enumerable:!0,configurable:!0,writable:!0,value:!1})}_afterNew(){this._textKeys.push("textType","kerning"),super._afterNew()}_makeText(){this._text=this.children.push(js.new(this._root,{}))}baseRadius(){const e=this.getPrivate("radius",0),t=this.getPrivate("innerRadius",0),i=this.get("baseRadius",0);return t+Le(i,e-t)}radius(){const e=this.get("inside",!1);return this.baseRadius()+this.get("radius",0)*(e?-1:1)}_updateChildren(){if(super._updateChildren(),this.isDirty("baseRadius")||this.isPrivateDirty("radius")||this.isPrivateDirty("innerRadius")||this.isDirty("labelAngle")||this.isDirty("radius")||this.isDirty("inside")||this.isDirty("orientation")||this.isDirty("textType")){const e=this.get("textType","adjusted"),t=this.get("inside",!1),i=this.get("orientation");let r=Fo(this.get("labelAngle",0));this._text.set("startAngle",this.get("labelAngle",0)),this._text.set("inside",t);const n=St(r),a=Vt(r);let o=this.baseRadius(),l=this.radius();if(this._display.angle=0,e=="circular")this.setAll({paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}),this.setRaw("x",void 0),this.setRaw("y",void 0),this._text.set("orientation",i),this._text.set("radius",l);else{o==0&&(r=0,l=0);let u=l*a,c=l*n;e=="radial"?(this.setRaw("x",u),this.setRaw("y",c),r<90||r>270||i!="auto"?(this._display.angle=r,this._flipped=!1):(this._display.angle=r+180,this._flipped=!0),this._dirty.rotation=!1):e=="adju
41sted"?(this.setRaw("centerX",ae),this.setRaw("centerY",ae),this.setRaw("x",u),this.setRaw("y",c)):e=="regular"&&(this.setRaw("x",u),this.setRaw("y",c))}this.markDirtyPosition(),this.markDirtyBounds()}}_updatePosition(){const e=this.get("textType","regular"),t=this.get("inside",!1);let i=0,r=0,n=this.get("labelAngle",0),a=this.localBounds(),o=a.right-a.left,l=a.bottom-a.top;if(e=="radial"){if(this._flipped){let u=this.get("centerX");u instanceof se&&(o=o*(1-u.value*2)),i=o*Vt(n),r=o*St(n)}}else!t&&e=="adjusted"&&(i=o/2*Vt(n),r=l/2*St(n));this.setRaw("dx",i),this.setRaw("dy",r),super._updatePosition()}get text(){return this._text}}Object.defineProperty(Fs,"className",{enumerable:!0,configurable:!0,writable:!0,value:"RadialLabel"});Object.defineProperty(Fs,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Ct.classNames.concat([Fs.className])});function ke(s){return function(){return s}}const xl=Math.abs,Qe=Math.atan2,xi=Math.cos,uf=Math.max,za=Math.min,jt=Math.sin,er=Math.sqrt,dt=1e-12,sn=Math.PI,zs=sn/2,cf=2*sn;function hf(s){return s>1?0:s<-1?sn:Math.acos(s)}function Pl(s){return s>=1?zs:s<=-1?-zs:Math.asin(s)}const no=Math.PI,so=2*no,Si=1e-6,df=so-Si;function U1(s){this._+=s[0];for(let e=1,t=s.length;e<t;++e)this._+=arguments[e]+s[e]}function ff(s){let e=Math.floor(s);if(!(e>=0))throw new Error(`invalid digits: ${s}`);if(e>15)return U1;const t=10**e;return function(i){this._+=i[0];for(let r=1,n=i.length;r<n;++r)this._+=Math.round(arguments[r]*t)/t+i[r]}}class gf{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=e==null?U1:ff(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){this._x1!==null&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,i,r){this._append`Q${+e},${+t},${this._x1=+i},${this._y1=+r}`}bezierCurveTo(e,t,i,r,n,a){this._append`C${+e},${+t},${+i},${+r},${this._x1=+n},${this._y1=+a}`}arcTo(e,t,i,r,n){if(e=+e,t=+t,i=+i,r=+r,n=+n,n<0)throw new Error(`negative radius: ${n}`);let a=this._x1,o=this._y1,l=i-e,u=r-t,c=a-e,h=o-t,f=c*c+h*h;if(this._x1===null)this._append`M${this._x1=e},${this._y1=t}`;else if(f>Si)if(!(Math.abs(h*l-u*c)>
vendor: 7,783 bytes, line 41
41Si)||!n)this._append`L${this._x1=e},${this._y1=t}`;else{let d=i-a,p=r-o,g=l*l+u*u,b=d*d+p*p,m=Math.sqrt(g),v=Math.sqrt(f),x=n*Math.tan((no-Math.acos((g+f-b)/(2*m*v)))/2),w=x/v,P=x/m;Math.abs(w-1)>Si&&this._append`L${e+w*c},${t+w*h}`,this._append`A${n},${n},0,0,${+(h*d>c*p)},${this._x1=e+P*l},${this._y1=t+P*u}`}}arc(e,t,i,r,n,a){if(e=+e,t=+t,i=+i,a=!!a,i<0)throw new Error(`negative radius: ${i}`);let o=i*Math.cos(r),l=i*Math.sin(r),u=e+o,c=t+l,h=1^a,f=a?r-n:n-r;this._x1===null?this._append`M${u},${c}`:(Math.abs(this._x1-u)>Si||Math.abs(this._y1-c)>Si)&&this._append`L${u},${c}`,i&&(f<0&&(f=f%so+so),f>df?this._append`A${i},${i},0,1,${h},${e-o},${t-l}A${i},${i},0,1,${h},${this._x1=u},${this._y1=c}`:f>Si&&this._append`A${i},${i},0,${+(f>=no)},${h},${this._x1=e+i*Math.cos(n)},${this._y1=t+i*Math.sin(n)}`)}rect(e,t,i,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${i=+i}v${+r}h${-i}Z`}toString(){return this._}}function No(s){let e=3;return s.digits=function(t){if(!arguments.length)return e;if(t==null)e=null;else{const i=Math.floor(t);if(!(i>=0))throw new RangeError(`invalid digits: ${t}`);e=i}return s},()=>new gf(e)}function pf(s){return s.innerRadius}function mf(s){return s.outerRadius}function bf(s){return s.startAngle}function _f(s){return s.endAngle}function vf(s){return s&&s.padAngle}function yf(s,e,t,i,r,n,a,o){var l=t-s,u=i-e,c=a-r,h=o-n,f=h*l-c*u;if(!(f*f<dt))return f=(c*(e-n)-h*(s-r))/f,[s+f*l,e+f*u]}function In(s,e,t,i,r,n,a){var o=s-t,l=e-i,u=(a?n:-n)/er(o*o+l*l),c=u*l,h=-u*o,f=s+c,d=e+h,p=t+c,g=i+h,b=(f+p)/2,m=(d+g)/2,v=p-f,x=g-d,w=v*v+x*x,P=r-n,T=f*g-p*d,O=(x<0?-1:1)*er(uf(0,P*P*w-T*T)),L=(T*x-v*O)/w,S=(-T*v-x*O)/w,B=(T*x+v*O)/w,C=(-T*v+x*O)/w,$=L-b,A=S-m,N=B-b,z=C-m;return $*$+A*A>N*N+z*z&&(L=B,S=C),{cx:L,cy:S,x01:-c,y01:-h,x11:L*(r/P-1),y11:S*(r/P-1)}}function wf(){var s=pf,e=mf,t=ke(0),i=null,r=bf,n=_f,a=vf,o=null,l=No(u);function u(){var c,h,f=+s.apply(this,arguments),d=+e.apply(this,arguments),p=r.apply(this,arguments)-zs,g=n.apply(this,arguments)-zs,b=xl(g-p),m=g>p;if(o||(o=c=l()),d<f&&(h=d,d=f,f=h),!(d>dt))o.moveTo(0,0);else if(b>cf-dt)o.moveTo(d*xi(p),d*jt(p)),o.arc(0,0,d,p,g,!m),f>dt&&(o.moveTo(f*xi(g),f*jt(g)),o.arc(0,0,f,g,p,m));else{var v=p,x=g,w=p,P=g,T=b,O=b,L=a.apply(this,arguments)/2,S=L>dt&&(i?+i.apply(this,arguments):er(f*f+d*d)),B=za(xl(d-f)/2,+t.apply(this,arguments)),C=B,$=B,A,N;if(S>dt){var z=Pl(S/f*jt(L)),te=Pl(S/d*jt(L));(T-=z*2)>dt?(z*=m?1:-1,w+=z,P-=z):(T=0,w=P=(p+g)/2),(O-=te*2)>dt?(te*=m?1:-1,v+=te,x-=te):(O=0,v=x=(p+g)/2)}var Y=d*xi(v),Q=d*jt(v),Z=f*xi(P),pe=f*jt(P);if(B>dt){var Se=d*xi(x),ve=d*jt(x),we=f*xi(w),Ve=f*jt(w),be;if(b<sn)if(be=yf(Y,Q,we,Ve,Se,ve,Z,pe)){var it=Y-be[0],ci=Q-be[1],xe=Se-be[0],Pr=ve-be[1],hi=1/jt(hf((it*xe+ci*Pr)/(er(it*it+ci*ci)*er(xe*xe+Pr*Pr)))/2),Wo=er(be[0]*be[0]+be[1]*be[1]);C=za(B,(f-Wo)/(hi-1)),$=za(B,(d-Wo)/(hi+1))}else C=$=0}O>dt?$>dt?(A=In(we,Ve,Y,Q,d,$,m),N=In(Se,ve,Z,pe,d,$,m),o.moveTo(A.cx+A.x01,A.cy+A.y01),$<B?o.arc(A.cx,A.cy,$,Qe(A.y01,A.x01),Qe(N.y01,N.x01),!m):(o.arc(A.cx,A.cy,$,Qe(A.y01,A.x01),Qe(A.y11,A.x11),!m),o.arc(0,0,d,Qe(A.cy+A.y11,A.cx+A.x11),Qe(N.cy+N.y11,N.cx+N.x11),!m),o.arc(N.cx,N.cy,$,Qe(N.y11,N.x11),Qe(N.y01,N.x01),!m))):(o.moveTo(Y,Q),o.arc(0,0,d,v,x,!m)):o.moveTo(Y,Q),!(f>dt)||!(T>dt)?o.lineTo(Z,pe):C>dt?(A=In(Z,pe,Se,ve,f,-C,m),N=In(Y,Q,we,Ve,f,-C,m),o.lineTo(A.cx+A.x01,A.cy+A.y01),C<B?o.arc(A.cx,A.cy,C,Qe(A.y01,A.x01),Qe(N.y01,N.x01),!m):(o.arc(A.cx,A.cy,C,Qe(A.y01,A.x01),Qe(A.y11,A.x11),!m),o.arc(0,0,f,Qe(A.cy+A.y11,A.cx+A.x11),Qe(N.cy+N.y11,N.cx+N.x11),m),o.arc(N.cx,N.cy,C,Qe(N.y11,N.x11),Qe(N.y01,N.x01),!m))):o.arc(0,0,f,P,w,m)}if(o.closePath(),c)return o=null,c+""||null}return u.centroid=function(){var c=(+s.apply(this,arguments)+ +e.apply(this,arguments))/2,h=(+r.apply(this,arguments)+ +n.apply(this,arguments))/2-sn/2;return[xi(h)*c,jt(h)*c]},u.innerRadius=function(c){return arguments.length?(s=typeof c=="function"?c:ke(+c),u):s},u.outerRadius=function(c){return arguments.length?(e=typeof c=="function"?c:ke(+c),u):e},u.cornerRadius=function(c){return arguments.length?(t=typeof c=="function"?c:ke(+c),u):t},u.padRadius=function(c){return arguments.length?(i=c==null?null:typeof c=="function"?c:ke(+c),u):i},u.startAngle=function(c){return arguments.length?(r=typeof c=="function"?c:ke(+c),u):r},u.endAngle=function(c){return arguments.length?(n=typeof c=="function"?c:ke(+c),u):n},u.padAngle=function(c){return arguments.length?(a=typeof c=="function"?c:ke(+c),u):a},u.context=function(c){return arguments.length?(o=c??null,u):o},u}function W1(s){return typeof s=="object"&&"length"in s?s:Array.from(s)}function q1(s){this._context=s}q1.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(s,e){switch(s=+s,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(s,e):this._context.moveTo(s,e);break;case 1:this._point=2;default:this._context.lineTo(s,e);break}}};function Z1(s){return new q1(s)}function K1(s){return s[0]}function J1(s){return s[1]}function Q1(s,e){var t=ke(!0),i=null,r=Z1,n=null,a=No(o);s=typeof s=="function"?s:s===void 0?K1:ke(s),e=typeof e=="function"?e:e===void 0?J1:ke(e);function o(l){var u,c=(l=W1(l)).length,h,f=!1,d;for(i==null&&(n=r(d=a())),u=0;u<=c;++u)!(u<c&&t(h=l[u],u,l))===f&&((f=!f)?n.lineStart():n.lineEnd()),f&&n.point(+s(h,u,l),+e(h,u,l));if(d)return n=null,d+""||null}return o.x=function(l){return arguments.length?(s=typeof l=="function"?l:ke(+l),o):s},o.y=function(l){return arguments.length?(e=typeof l=="function"?l:ke(+l),o):e},o.defined=function(l){return arguments.length?(t=typeof l=="function"?l:ke(!!l),o):t},o.curve=function(l){return arguments.length?(r=l,i!=null&&(n=r(i)),o):r},o.context=function(l){return arguments.length?(l==null?i=n=null:n=r(i=l),o):i},o}function xf(s,e,t){var i=null,r=ke(!0),n=null,a=Z1,o=null,l=No(u);s=typeof s=="function"?s:s===void 0?K1:ke(+s),e=typeof e=="function"?e:ke(e===void 0?0:+e),t=typeof t=="function"?t:t===void 0?J1:ke(+t);function u(h){var f,d,p,g=(h=W1(h)).length,b,m=!1,v,x=new Array(g),w=new Array(g);for(n==null&&(o=a(v=l())),f=0;f<=g;++f){if(!(f<g&&r(b=h[f],f,h))===m)if(m=!m)d=f,o.areaStart(),o.lineStart();else{for(o.lineEnd(),o.lineStart(),p=f-1;p>=d;--p)o.point(x[p],w[p]);o.lineEnd(),o.areaEnd()}m&&(x[f]=+s(b,f,h),w[f]=+e(b,f,h),o.point(i?+i(b,f,h):x[f],t?+t(b,f,h):w[f]))}if(v)return o=null,v+""||null}function c(){return Q1().defined(r).curve(a).context(n)}return u.x=function(h){return arguments.length?(s=typeof h=="function"?h:ke(+h),i=null,u):s},u.x0=function(h){return arguments.length?(s=typeof h=="function"?h:ke(+h),u):s},u.x1=function(h){return arguments.length?(i=h==null?null:typeof h=="function"?h:ke(+h),u):i},u.y=function(h){return arguments.length?(e=typeof h=="function"?h:ke(+h),t=null,u):e},u.y0=function(h){return arguments.length?(e=typeof h=="function"?h:ke(+h),u):e},u.y1=function(h){return arguments.length?(t=h==null?null:typeof h=="function"?h:ke(+h),u):t},u.lineX0=u.lineY0=function(){return c().x(s).y(e)},u.lineY1=function(){return c().x(s).y(t)},u.lineX1=function(){return c().x(i).y(e)},u.defined=function(h){return arguments.length?(r=typeof h=="function"?h:ke(!!h),u):r},u.curve=function(h){return arguments.length?(a=h,n!=null&&(o=a(n)),u):a},u.context=function(h){return arguments.length?(h==null?n=o=null:o=a(n=h),u):n},u}class Ns extends me{constructor(){super(...arguments),Object.defineProperty(this,"ix",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"iy",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_generator",{enumerable:!0,configurable:!0,writable:!0,value:wf(
41)})}_getTooltipPoint(){let e=this.get("tooltipX"),t=this.get("tooltipY"),i=0,r=0;F(e)&&(i=e),F(t)&&(r=t);let n=this.get("radius",0),a=this.get("innerRadius",0),o=this.get("dRadius",0),l=this.get("dInnerRadius",0);return n+=o,a+=l,a<0&&(a=n+a),e instanceof se&&(i=this.ix*(a+(n-a)*e.value)),t instanceof se&&(r=this.iy*(a+(n-a)*t.value)),this.get("arc")>=360&&a==0&&(i=0,r=0),{x:i,y:r}}_beforeChanged(){super._beforeChanged(),(this.isDirty("radius")||this.isDirty("arc")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("dRadius")||this.isDirty("dInnerRadius")||this.isDirty("cornerRadius")||this.isDirty("shiftRadius"))&&(this._clear=!0)}_changed(){if(super._changed(),this._clear){let e=this.get("startAngle",0),t=this.get("arc",0);const i=this._generator;t<0&&(e=e+t,t=t*-1),t>.1&&i.cornerRadius(this.get("cornerRadius",0)),i.context(this._display);let r=this.get("radius",0),n=this.get("innerRadius",0),a=this.get("dRadius",0),o=this.get("dInnerRadius",0);r+=a,n+=o,n<0&&(n=r+n),i({innerRadius:n,outerRadius:r,startAngle:(e+90)*en,endAngle:(e+t+90)*en});let l=e+t/2;this.ix=Vt(l),this.iy=St(l);const u=this.get("shiftRadius",0);this.setRaw("dx",this.ix*u),this.setRaw("dy",this.iy*u),this.markDirtyPosition()}}}Object.defineProperty(Ns,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Slice"});Object.defineProperty(Ns,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:me.classNames.concat([Ns.className])});class an extends ie{constructor(){super(...arguments),Object.defineProperty(this,"chartContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(ie.new(this._root,{width:X,height:X,interactiveChildren:!1}))}),Object.defineProperty(this,"bulletsContainer",{enumerable:!0,configurable:!0,writable:!0,value:ie.new(this._root,{interactiveChildren:!1,isMeasured:!1,position:"absolute",width:X,height:X})})}}Object.defineProperty(an,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Chart"});Object.defineProperty(an,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ie.classNames.concat([an.className])});class ai extends an{constructor(){super(...arguments),Object.defineProperty(this,"seriesContainer",{enumerable:!0,configurable:!0,writable:!0,value:ie.new(this._root,{width:X,height:X,isMeasured:!1})}),Object.defineProperty(this,"series",{enumerable:!0,configurable:!0,writable:!0,value:new Ls})}_afterNew(){super._afterNew(),this._disposers.push(this.series);const e=this.seriesContainer.children;this._disposers.push(this.series.events.onAll(t=>{if(t.type==="clear"){I(t.oldValues,n=>{this._removeSeries(n)});const i=this.get("colors");i&&i.reset();const r=this.get("patterns");r&&r.reset()}else if(t.type==="push")e.moveValue(t.newValue),this._processSeries(t.newValue);else if(t.type==="setIndex")e.setIndex(t.index,t.newValue),this._processSeries(t.newValue);else if(t.type==="insertIndex")e.insertIndex(t.index,t.newValue),this._processSeries(t.newValue);else if(t.type==="removeIndex")this._removeSeries(t.oldValue);else if(t.type==="moveIndex")e.moveValue(t.value,t.newIndex),this._processSeries(t.value);else if(t.type==="swap"){const i=t.a,r=t.b,n=this.series.indexOf(i),a=this.series.indexOf(r);e.moveValue(i,a),e.moveValue(r,n),this.series.each(o=>{this._processSeries(o),o.markDirtyValues()})}else throw new Error("Unknown IListEvent type")}))}_processSeries(e){e.chart=this,e._placeBulletsContainer(this)}_removeSeries(e){e._handleRemoved(),e.isDisposed()||(this.seriesContainer.children.removeValue(e),e._removeBulletsContainer())}}Object.defineProperty(ai,"className",{enumerable:!0,configurable:!0,writable:!0,value:"SerialChart"});Object.defineProperty(ai,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:an.classNames.concat([ai.className])});class hr extends nn{}Object.defineProperty(hr,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Tick"});Object.defineProperty(hr,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:nn.classNames.concat([hr.className])});class on extends ie{constructor(){super(...arguments),Object.defineProperty(this,"homeButton",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(Ei.new(this._root,{width:35,height:35,themeTags:["home"]}))}),Object.defineProperty(this,"plusButton",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(Ei.new(this._root,{width:35,height:35,themeTags:["plus"]}))}
41),Object.defineProperty(this,"minusButton",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(Ei.new(this._root,{width:35,height:35,themeTags:["minus"]}))}),Object.defineProperty(this,"_disposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_targetDisposer",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew(),this.set("position","absolute"),this.set("layout",this._root.verticalLayout),this.addTag("zoomtools"),this.plusButton.setAll({icon:me.new(this._root,{themeTags:["icon"]}),layout:void 0}),this.minusButton.setAll({icon:me.new(this._root,{themeTags:["icon"]}),layout:void 0}),this.homeButton.setAll({icon:me.new(this._root,{themeTags:["icon"]}),layout:void 0})}_prepareChildren(){if(super._prepareChildren(),this.isDirty("target")){const e=this.get("target"),t=this._prevSettings.target;e&&(e instanceof Bs&&(this._targetDisposer=this.addDisposer(e.contents.on("scale",i=>{i==e.get("minZoomLevel")?this.minusButton.set("disabled",!0):this.minusButton.set("disabled",!1),i==e.get("maxZoomLevel")?this.plusButton.set("disabled",!0):this.plusButton.set("disabled",!1)})),this.root.events.once("frameended",()=>{e.get("scale")==e.get("minZoomLevel")&&this.minusButton.set("disabled",!0)})),this._disposer=new nt([this.plusButton.events.on("click",()=>{e.zoomIn()}),this.minusButton.events.on("click",()=>{e.zoomOut()}),this.homeButton.events.on("click",()=>{e.goHome()})])),t&&(this._disposer&&this._disposer.dispose(),this._targetDisposer&&this._targetDisposer.dispose())}}}Object.defineProperty(on,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ZoomTools"});Object.defineProperty(on,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ie.classNames.concat([on.className])});class dr extends tt{_afterNew(){super._afterNewApplyThemes(),this._dirty.colors=!1}_beforeChanged(){this.isDirty("colors")&&this.reset()}generateColors(){this.setPrivate("currentPass",this.getPrivate("currentPass",0)+1);const e=this.getPrivate("currentPass"),t=this.get("colors",[this.get("baseColor",J.fromHex(16711680))]);this.getPrivate("numColors")||this.setPrivate("numColors",t.length);const i=this.getPrivate("numColors"),r=0,n=this.get("passOptions"),a=this.get("reuse");for(let o=r;o<i;o++)if(a)t.push(t[o]);else{const l=t[o].toHSL();let u=l.h+(n.hue||0)*e;for(;u>1;)u-=1;let c=l.s+(n.saturation||0)*e;c>1&&(c=1),c<0&&(c=0);let h=l.l+(n.lightness||0)*e;for(;h>1;)h-=1;t.push(J.fromHSL(u,c,h))}}getIndex(e){const t=this.get("colors",[]),i=this.get("saturation");return e>=t.length?(this.generateColors(),this.getIndex(e)):i!=null?J.saturate(t[e],i):t[e]}next(){let e=this.getPrivate("currentStep",this.get("startIndex",0));return this.setPrivate("currentStep",e+this.get("step",1)),this.getIndex(e)}reset(){this.setPrivate("currentStep",this.get("startIndex",0)),this.setPrivate("currentPass",0)}}Object.defineProperty(dr,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ColorSet"});Object.defineProperty(dr,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:tt.classNames.concat([dr.className])});class ln extends Bt{constructor(){super(...arguments),Object.defineProperty(this,"_types",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_geometries",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_geoJSONparsed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_excluded",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_notIncluded",{enumerable:!0,configurable:!0,writable:!0,value:[]})}_afterNew(){this.fields.push("geometry","geometryType"),this._setRawDefault("geometryField","geometry"),this._setRawDefault("geometryTypeField","geometryType"),this._setRawDefault("idField","id"),this.on("geoJSON",e=>{let t=this._prevSettings.geoJSON;t&&t!=e&&this.data.clear()}),super._afterNew()}_handleDirties(){const e=this.get("geoJSON");let t=this._prevSettings.geoJSON;t&&t!=e&&(this._prevSettings.geoJSON=void 0,this._geoJSONparsed=!1),this._geoJSONparsed||(this._parseGeoJSON(),this._geoJSONparsed=!0)}
41_prepareChildren(){if(super._prepareChildren(),this._valuesDirty&&this._handleDirties(),this.get("geoJSON")&&(this.isDirty("geoJSON")||this.isDirty("include")||this.isDirty("exclude"))){this._handleDirties();const e=this.chart,t=this.get("exclude");t&&(e&&(e._centerLocation=null),I(t,r=>{const n=this.getDataItemById(r);n&&this._excludeDataItem(n)}),I(this._excluded,r=>{const n=r.get("id");n&&t.indexOf(n)==-1&&this._unexcludeDataItem(r)})),(!t||t.length==0)&&(I(this._excluded,r=>{this._unexcludeDataItem(r)}),this._excluded=[]);const i=this.get("include");i&&(e&&(e._centerLocation=null),I(this.dataItems,r=>{const n=r.get("id");n&&i.indexOf(n)==-1?this._notIncludeDataItem(r):this._unNotIncludeDataItem(r)})),i||(I(this._notIncluded,r=>{this._unNotIncludeDataItem(r)}),this._notIncluded=[])}}_excludeDataItem(e){this._removeGeometry(e.get("geometry")),Jr(this._excluded,e)}_unexcludeDataItem(e){this._addGeometry(e.get("geometry"),this)}_notIncludeDataItem(e){this._removeGeometry(e.get("geometry")),Jr(this._notIncluded,e)}_unNotIncludeDataItem(e){this._addGeometry(e.get("geometry"),this)}checkInclude(e,t,i){if(t){if(t.length==0)return!1;if(t.indexOf(e)==-1)return!1}return!(i&&i.length>0&&i.indexOf(e)!=-1)}_parseGeoJSON(){const e=this.get("geoJSON");if(e){let t;e.type=="FeatureCollection"?t=e.features:e.type=="Feature"?t=[e]:["Point","LineString","Polygon","MultiPoint","MultiLineString","MultiPolygon"].indexOf(e.type)!=-1?t=[{geometry:e}]:console.log("nothing found in geoJSON");const i=this.get("geodataNames");if(t){const n=this.get("idField","id");for(let a=0,o=t.length;a<o;a++){let l=t[a],u=l.geometry;if(u){let c=u.type,h=l[n];if(i&&i[h]&&(l.properties.name=i[h]),this._types.indexOf(c)!=-1){let f;h!=null&&(f=Ro(this.dataItems,p=>p.get("id")==h));let d;f&&(d=f.dataContext),f?d.geometry||(d.geometry=u,d.geometryType=c,f.set("geometry",u),f.set("geometryType",c),this.processDataItem(f)):(d={geometry:u,geometryType:c,madeFromGeoData:!0},d[n]=h,this.data.push(d)),C4(l.properties,d)}}}}const r="geodataprocessed";this.events.isEnabled(r)&&this.events.dispatch(r,{type:r,target:this})}}_placeBulletsContainer(e){this.children.moveValue(this.bulletsContainer)}_removeBulletsContainer(){}projection(){const e=this.chart;if(e)return e.get("projection")}geoPath(){const e=this.chart;if(e)return e.getPrivate("geoPath")}_addGeometry(e,t){if(e&&t.get("affectsBounds",!0)){this._geometries.push(e);const i=this.chart;i&&i.markDirtyGeometries()}}_removeGeometry(e){if(e){kt(this._geometries,e);const t=this.chart;t&&t.markDirtyGeometries()}}_dispose(){super._dispose();const e=this.chart;e&&e.series.removeValue(this)}_onDataClear(){super._onDataClear(),this._geoJSONparsed=!1,this._markDirtyKey("exclude")}}Object.defineProperty(ln,"className",{enumerable:!0,configurable:!0,writable:!0,value:"MapSeries"});Object.defineProperty(ln,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Bt.classNames.concat([ln.className])});class lt{constructor(){this._partials=new Float64Array(32),this._n=0}add(e){const t=this._partials;let i=0;for(let r=0;r<this._n&&r<32;r++){const n=t[r],a=e+n,o=Math.abs(e)<Math.abs(n)?e-(a-n):n-(a-e);o&&(t[i++]=o),e=a}return t[i]=e,this._n=i+1,this}valueOf(){const e=this._partials;let t=this._n,i,r,n,a=0;if(t>0){for(a=e[--t];t>0&&(i=a,r=e[--t],a=i+r,n=r-(a-i),!n););t>0&&(n<0&&e[t-1]<0||n>0&&e[t-1]>0)&&(r=n*2,i=a+r,r==i-a&&(a=i))}return a}}function*Pf(s){for(const e of s)yield*e}function ec(s){return Array.from(Pf(s))}var ye=1e-6,ao=1e-12,de=Math.PI,gt=de/2,$s=de/4,ct=de*2,Ge=180/de,ce=de/180,Te=Math.abs,tc=Math.atan,vi=Math.atan2,fe=Math.cos,kf=Math.exp,oo=Math.hypot,Tf=Math.log,ge=Math.sin,Df=Math.sign||function(s){return s>0?1:s<0?-1:0},wi=Math.sqrt,Sf=Math.tan;function Of(s){return s>1?0:s<-1?de:Math.acos(s)}function Fi(s){return s>1?gt:s<-1?-gt:Math.asin(s)}function Ze(){}function Vs(s,e){s&&Tl.hasOwnProperty(s.type)&&Tl[s.type](s,e)}var kl={Feature:function(s,e){Vs(s.geometry,e)},FeatureCollection:function(s,e){for(var t=s.features,i=-1,r=t.length;++i<r;)Vs(t[i].geometry,e)}},Tl={Sphere:function(s,e){e.sphere()},Point:function(s,e){s=s.coordinates,e.point(s[0],s[1],s[2])},MultiPoint:function(s,e){for(var t=s.coordinates,i=-1,r=t.length;++i<r;)s=t[i],e.point(s[0],s[1],s[2])},LineString:function(s,e){lo(s.coordinates,e,0)},MultiLineString:function(s,e){for(var t=s.coordinates,i=-1,r=t.length;++i<r;)lo(t[i],e,0)},Polygon:function(s,e){Dl(s.coordinates,e)},MultiPolygon:function(s,e){for(var t=s.coordinates,i=-1,r=t.length;++i<r;)Dl(t[i],e)},GeometryCollection:function(s,e){for(var t=s.geometries,i=-1,r=t.length;++i<r;)Vs(t[i],e)}};function lo(s,e,t){var i=-1,r=s.length-t,n;for(e.lineStart();++i<r;)n=s[i],e.point(n[0],n[1],n[2]);e.lineEnd()}function Dl(s,e){var t=-1,i=s.length;for(e.polygonStart();++t<i;)lo(s[t],e,1);e.polygonEnd()}function Jt(s,e){s&&kl.hasOwnProperty(s.type)?kl[s.type](s,e):Vs(s,e)}
vendor: 19,967 bytes, line 41
41var Ys=new lt,Hs=new lt,ic,rc,uo,co,ho,Gt={point:Ze,lineStart:Ze,lineEnd:Ze,polygonStart:function(){Ys=new lt,Gt.lineStart=Af,Gt.lineEnd=Cf},polygonEnd:function(){var s=+Ys;Hs.add(s<0?ct+s:s),this.lineStart=this.lineEnd=this.point=Ze},sphere:function(){Hs.add(ct)}};function Af(){Gt.point=Ef}function Cf(){nc(ic,rc)}function Ef(s,e){Gt.point=nc,ic=s,rc=e,s*=ce,e*=ce,uo=s,co=fe(e=e/2+$s),ho=ge(e)}function nc(s,e){s*=ce,e*=ce,e=e/2+$s;var t=s-uo,i=t>=0?1:-1,r=i*t,n=fe(e),a=ge(e),o=ho*a,l=co*n+o*fe(r),u=o*i*ge(r);Ys.add(vi(u,l)),uo=s,co=n,ho=a}function Mf(s){return Hs=new lt,Jt(s,Gt),Hs*2}function Xs(s){return[vi(s[1],s[0]),Fi(s[2])]}function zi(s){var e=s[0],t=s[1],i=fe(t);return[i*fe(e),i*ge(e),ge(t)]}function Bn(s,e){return s[0]*e[0]+s[1]*e[1]+s[2]*e[2]}function fr(s,e){return[s[1]*e[2]-s[2]*e[1],s[2]*e[0]-s[0]*e[2],s[0]*e[1]-s[1]*e[0]]}function Na(s,e){s[0]+=e[0],s[1]+=e[1],s[2]+=e[2]}function jn(s,e){return[s[0]*e,s[1]*e,s[2]*e]}function Gs(s){var e=wi(s[0]*s[0]+s[1]*s[1]+s[2]*s[2]);s[0]/=e,s[1]/=e,s[2]/=e}var Ee,ft,Be,Pt,Oi,sc,ac,ar,Zr,gi,oi,Kt={point:fo,lineStart:Sl,lineEnd:Ol,polygonStart:function(){Kt.point=lc,Kt.lineStart=Lf,Kt.lineEnd=Rf,Zr=new lt,Gt.polygonStart()},polygonEnd:function(){Gt.polygonEnd(),Kt.point=fo,Kt.lineStart=Sl,Kt.lineEnd=Ol,Ys<0?(Ee=-(Be=180),ft=-(Pt=90)):Zr>ye?Pt=90:Zr<-ye&&(ft=-90),oi[0]=Ee,oi[1]=Be},sphere:function(){Ee=-(Be=180),ft=-(Pt=90)}};function fo(s,e){gi.push(oi=[Ee=s,Be=s]),e<ft&&(ft=e),e>Pt&&(Pt=e)}function oc(s,e){var t=zi([s*ce,e*ce]);if(ar){var i=fr(ar,t),r=[i[1],-i[0],0],n=fr(r,i);Gs(n),n=Xs(n);var a=s-Oi,o=a>0?1:-1,l=n[0]*Ge*o,u,c=Te(a)>180;c^(o*Oi<l&&l<o*s)?(u=n[1]*Ge,u>Pt&&(Pt=u)):(l=(l+360)%360-180,c^(o*Oi<l&&l<o*s)?(u=-n[1]*Ge,u<ft&&(ft=u)):(e<ft&&(ft=e),e>Pt&&(Pt=e))),c?s<Oi?wt(Ee,s)>wt(Ee,Be)&&(Be=s):wt(s,Be)>wt(Ee,Be)&&(Ee=s):Be>=Ee?(s<Ee&&(Ee=s),s>Be&&(Be=s)):s>Oi?wt(Ee,s)>wt(Ee,Be)&&(Be=s):wt(s,Be)>wt(Ee,Be)&&(Ee=s)}else gi.push(oi=[Ee=s,Be=s]);e<ft&&(ft=e),e>Pt&&(Pt=e),ar=t,Oi=s}function Sl(){Kt.point=oc}function Ol(){oi[0]=Ee,oi[1]=Be,Kt.point=fo,ar=null}function lc(s,e){if(ar){var t=s-Oi;Zr.add(Te(t)>180?t+(t>0?360:-360):t)}else sc=s,ac=e;Gt.point(s,e),oc(s,e)}function Lf(){Gt.lineStart()}function Rf(){lc(sc,ac),Gt.lineEnd(),Te(Zr)>ye&&(Ee=-(Be=180)),oi[0]=Ee,oi[1]=Be,ar=null}function wt(s,e){return(e-=s)<0?e+360:e}function If(s,e){return s[0]-e[0]}function Al(s,e){return s[0]<=s[1]?s[0]<=e&&e<=s[1]:e<s[0]||s[1]<e}function Bf(s){var e,t,i,r,n,a,o;if(Pt=Be=-(Ee=ft=1/0),gi=[],Jt(s,Kt),t=gi.length){for(gi.sort(If),e=1,i=gi[0],n=[i];e<t;++e)r=gi[e],Al(i,r[0])||Al(i,r[1])?(wt(i[0],r[1])>wt(i[0],i[1])&&(i[1]=r[1]),wt(r[0],i[1])>wt(i[0],i[1])&&(i[0]=r[0])):n.push(i=r);for(a=-1/0,t=n.length-1,e=0,i=n[t];e<=t;i=r,++e)r=n[e],(o=wt(i[1],r[0]))>a&&(a=o,Ee=r[0],Be=i[1])}return gi=oi=null,Ee===1/0||ft===1/0?[[NaN,NaN],[NaN,NaN]]:[[Ee,ft],[Be,Pt]]}var jr,Us,Ws,qs,Zs,Ks,Js,Qs,go,po,mo,uc,cc,st,at,ot,Lt={sphere:Ze,point:$o,lineStart:Cl,lineEnd:El,polygonStart:function(){Lt.lineStart=zf,Lt.lineEnd=Nf},polygonEnd:function(){Lt.lineStart=Cl,Lt.lineEnd=El}};function $o(s,e){s*=ce,e*=ce;var t=fe(e);xn(t*fe(s),t*ge(s),ge(e))}function xn(s,e,t){++jr,Ws+=(s-Ws)/jr,qs+=(e-qs)/jr,Zs+=(t-Zs)/jr}function Cl(){Lt.point=jf}function jf(s,e){s*=ce,e*=ce;var t=fe(e);st=t*fe(s),at=t*ge(s),ot=ge(e),Lt.point=Ff,xn(st,at,ot)}function Ff(s,e){s*=ce,e*=ce;var t=fe(e),i=t*fe(s),r=t*ge(s),n=ge(e),a=vi(wi((a=at*n-ot*r)*a+(a=ot*i-st*n)*a+(a=st*r-at*i)*a),st*i+at*r+ot*n);Us+=a,Ks+=a*(st+(st=i)),Js+=a*(at+(at=r)),Qs+=a*(ot+(ot=n)),xn(st,at,ot)}function El(){Lt.point=$o}function zf(){Lt.point=$f}function Nf(){hc(uc,cc),Lt.point=$o}function $f(s,e){uc=s,cc=e,s*=ce,e*=ce,Lt.point=hc;var t=fe(e);st=t*fe(s),at=t*ge(s),ot=ge(e),xn(st,at,ot)}function hc(s,e){s*=ce,e*=ce;var t=fe(e),i=t*fe(s),r=t*ge(s),n=ge(e),a=at*n-ot*r,o=ot*i-st*n,l=st*r-at*i,u=oo(a,o,l),c=Fi(u),h=u&&-c/u;go.add(h*a),po.add(h*o),mo.add(h*l),Us+=c,Ks+=c*(st+(st=i)),Js+=c*(at+(at=r)),Qs+=c*(ot+(ot=n)),xn(st,at,ot)}function Vf(s){jr=Us=Ws=qs=Zs=Ks=Js=Qs=0,go=new lt,po=new lt,mo=new lt,Jt(s,Lt);var e=+go,t=+po,i=+mo,r=oo(e,t,i);return r<ao&&(e=Ks,t=Js,i=Qs,Us<ye&&(e=Ws,t=qs,i=Zs),r=oo(e,t,i),r<ao)?[NaN,NaN]:[vi(t,e)*Ge,Fi(i/r)*Ge]}function bo(s,e){function t(i,r){return i=s(i,r),e(i[0],i[1])}return s.invert&&e.invert&&(t.invert=function(i,r){return i=e.invert(i,r),i&&s.invert(i[0],i[1])}),t}function _o(s,e){return Te(s)>de&&(s-=Math.round(s/ct)*ct),[s,e]}_o.invert=_o;function dc(s,e,t){return(s%=ct)?e||t?bo(Ll(s),Rl(e,t)):Ll(s):e||t?Rl(e,t):_o}function Ml(s){return function(e,t){return e+=s,Te(e)>de&&(e-=Math.round(e/ct)*ct),[e,t]}}function Ll(s){var e=Ml(s);return e.invert=Ml(-s),e}function Rl(s,e){var t=fe(s),i=ge(s),r=fe(e),n=ge(e);function a(o,l){var u=fe(l),c=fe(o)*u,h=ge(o)*u,f=ge(l),d=f*t+c*i;return[vi(h*r-d*n,c*t-f*i),Fi(d*r+h*n)]}return a.invert=function(o,l){var u=fe(l),c=fe(o)*u,h=ge(o)*u,f=ge(l),d=f*r-h*n;return[vi(h*r+f*n,c*t+d*i),Fi(d*t-c*i)]},a}function Yf(s){s=dc(s[0]*ce,s[1]*ce,s.length>2?s[2]*ce:0);function e(t){return t=s(t[0]*ce,t[1]*ce),t[0]*=Ge,t[1]*=Ge,t}return e.invert=function(t){return t=s.invert(t[0]*ce,t[1]*ce),t[0]*=Ge,t[1]*=Ge,t},e}function Hf(s,e,t,i,r,n){if(t){var a=fe(e),o=ge(e),l=i*t;r==null?(r=e+i*ct,n=e-l/2):(r=Il(a,r),n=Il(a,n),(i>0?r<n:r>n)&&(r+=i*ct));for(var u,c=r;i>0?c>n:c<n;c-=l)u=Xs([a,-o*fe(c),-o*ge(c)]),s.point(u[0],u[1])}}function Il(s,e){e=zi(e),e[0]-=s,Gs(e);var t=Of(-e[1]);return((-e[2]<0?-t:t)+ct-ye)%ct}function fc(){var s=[],e;return{point:function(t,i,r){e.push([t,i,r])},lineStart:function(){s.push(e=[])},lineEnd:Ze,rejoin:function(){s.length>1&&s.push(s.pop().concat(s.shift()))},result:function(){var t=s;return s=[],e=null,t}}}function As(s,e){return Te(s[0]-e[0])<ye&&Te(s[1]-e[1])<ye}function Fn(s,e,t,i){this.x=s,this.z=e,this.o=t,this.e=i,this.v=!1,this.n=this.p=null}function gc(s,e,t,i,r){var n=[],a=[],o,l;if(s.forEach(function(p){if(!((g=p.length-1)<=0)){var g,b=p[0],m=p[g],v;if(As(b,m)){if(!b[2]&&!m[2]){for(r.lineStart(),o=0;o<g;++o)r.point((b=p[o])[0],b[1]);r.lineEnd();return}m[0]+=2*ye}n.push(v=new Fn(b,p,null,!0)),a.push(v.o=new Fn(b,null,v,!1)),n.push(v=new Fn(m,p,null,!1)),a.push(v.o=new Fn(m,null,v,!0))}}),!!n.length){for(a.sort(e),Bl(n),Bl(a),o=0,l=a.length;o<l;++o)a[o].e=t=!t;for(var u=n[0],c,h;;){for(var f=u,d=!0;f.v;)if((f=f.n)===u)return;c=f.z,r.lineStart();do{if(f.v=f.o.v=!0,f.e){if(d)for(o=0,l=c.length;o<l;++o)r.point((h=c[o])[0],h[1]);else i(f.x,f.n.x,1,r);f=f.n}else{if(d)for(c=f.p.z,o=c.length-1;o>=0;--o)r.point((h=c[o])[0],h[1]);else i(f.x,f.p.x,-1,r);f=f.p}f=f.o,c=f.z,d=!d}while(!f.v);r.lineEnd()}}}function Bl(s){if(e=s.length){for(var e,t=0,i=s[0],r;++t<e;)i.n=r=s[t],r.p=i,i=r;i.n=r=s[0],r.p=i}}function $a(s){return Te(s[0])<=de?s[0]:Df(s[0])*((Te(s[0])+de)%ct-de)}function Xf(s,e){var t=$a(e),i=e[1],r=ge(i),n=[ge(t),-fe(t),0],a=0,o=0,l=new lt;r===1?i=gt+ye:r===-1&&(i=-gt-ye);for(var u=0,c=s.length;u<c;++u)if(f=(h=s[u]).length)for(var h,f,d=h[f-1],p=$a(d),g=d[1]/2+$s,b=ge(g),m=fe(g),v=0;v<f;++v,p=w,b=T,m=O,d=x){var x=h[v],w=$a(x),P=x[1]/2+$s,T=ge(P),O=fe(P),L=w-p,S=L>=0?1:-1,B=S*L,C=B>de,$=b*T;if(l.add(vi($*S*ge(B),m*O+$*fe(B))),a+=C?L+S*ct:L,C^p>=t^w>=t){var A=fr(zi(d),zi(x));Gs(A);var N=fr(n,A);Gs(N);var z=(C^L>=0?-1:1)*Fi(N[2]);(i>z||i===z&&(A[0]||A[1]))&&(o+=C^L>=0?1:-1)}}return(a<-ye||a<ye&&l<-ao)^o&1}function pc(s,e,t,i){return function(r){var n=e(r),a=fc(),o=e(a),l=!1,u,c,h,f={point:d,lineStart:g,lineEnd:b,polygonStart:function(){f.point=m,f.lineStart=v,f.lineEnd=x,c=[],u=[]},polygonEnd:function(){f.point=d,f.lineStart=g,f.lineEnd=b,c=ec(c);var w=Xf(u,i);c.length?(l||(r.polygonStart(),l=!0),gc(c,Uf,w,t,r)):w&&(l||(r.polygonStart(),l=!0),r.lineStart(),t(null,null,1,r),r.lineEnd()),l&&(r.polygonEnd(),l=!1),c=u=null},sphere:function(){r.polygonStart(),r.lineStart(),t(null,null,1,r),r.lineEnd(),r.polygonEnd()}};function d(w,P){s(w,P)&&r.point(w,P)}function p(w,P){n.point(w,P)}function g(){f.point=p,n.lineStart()}function b(){f.point=d,n.lineEnd()}function m(w,P){h.push([w,P]),o.point(w,P)}function v(){o.lineStart(),h=[]}function x(){m(h[0][0],h[0][1]),o.lineEnd();var w=o.clean(),P=a.result(),T,O=P.length,L,S,B;if(h.pop(),u.push(h),h=null,!!O){if(w&1){if(S=P[0],(L=S.length-1)>0){for(l||(r.polygonStart(),l=!0),r.lineStart(),T=0;T<L;++T)r.point((B=S[T])[0],B[1]);r.lineEnd()}return}O>1&&w&2&&P.push(P.pop().concat(P.shift())),c.push(P.filter(Gf))}}return f}}function Gf(s){return s.length>1}function Uf(s,e){return((s=s.x)[0]<0?s[1]-gt-ye:gt-s[1])-((e=e.x)[0]<0?e[1]-gt-ye:gt-e[1])}const jl=pc(function(){return!0},Wf,Zf,[-de,-gt]);function Wf(s){var e=NaN,t=NaN,i=NaN,r;return{lineStart:function(){s.lineStart(),r=1},point:function(n,a){var o=n>0?de:-de,l=Te(n-e);Te(l-de)<ye?(s.point(e,t=(t+a)/2>0?gt:-gt),s.point(i,t),s.lineEnd(),s.lineStart(),s.point(o,t),s.point(n,t),r=0):i!==o&&l>=de&&(Te(e-i)<ye&&(e-=i*ye),Te(n-o)<ye&&(n-=o*ye),t=qf(e,t,n,a),s.point(i,t),s.lineEnd(),s.lineStart(),s.point(o,t),r=0),s.point(e=n,t=a),i=o},lineEnd:function(){s.lineEnd(),e=t=NaN},clean:function(){return 2-r}}}function qf(s,e,t,i){var r,n,a=ge(s-t);return Te(a)>ye?tc((ge(e)*(n=fe(i))*ge(t)-ge(i)*(r=fe(e))*ge(s))/(r*n*a)):(e+i)/2}function Zf(s,e,t,i){var r;if(s==null)r=t*gt,i.point(-de,r),i.point(0,r),i.point(de,r),i.point(de,0),i.point(de,-r),i.point(0,-r),i.point(-de,-r),i.point(-de,0),i.point(-de,r);else if(Te(s[0]-e[0])>ye){var n=s[0]<e[0]?de:-de;r=t*n/2,i.point(-n,r),i.point(0,r),i.point(n,r)}else i.point(e[0],e[1])}function Kf(s){var e=fe(s),t=2*ce,i=e>0,r=Te(e)>ye;function n(c,h,f,d){Hf(d,s,t,f,c,h)}function a(c,h){return fe(c)*fe(h)>e}function o(c){var h,f,d,p,g;return{lineStart:function(){p=d=!1,g=1},point:function(b,m){var v=[b,m],x,w=a(b,m),P=i?w?0:u(b,m):w?u(b+(b<0?de:-de),m):0;if(!h&&(p=d=w)&&c.lineStart(),w!==d&&(x=l(h,v),(!x||As(h,x)||As(v,x))&&(v[2]=1)),w!==d)g=0,w?(c.lineStart(),x=l(v,h),c.point(x[0],x[1])):(x=l(h,v),c.point(x[0],x[1],2),c.lineEnd()),h=x;else if(r&&h&&i^w){var T;!(P&f)&&(T=l(v,h,!0))&&(g=0,i?(c.lineStart(),c.point(T[0][0],T[0][1]),c.point(T[1][0],T[1][1]),c.lineEnd()):(c.point(T[1][0],T[1][1]),c.lineEnd(),c.lineStart(),c.point(T[0][0],T[0][1],3)))}w&&(!h||!As(h,v))&&c.point(v[0],v[1]),h=v,d=w,f=P},lineEnd:function(){d&&c.lineEnd(),h=null},clean:function(){return g|(p&&d)<<1}}}function l(c,h,f){var d=zi(c),p=zi(h),g=[1,0,0],b=fr(d,p),m=Bn(b,b),v=b[0],x=m-v*v;if(!x)return!f&&c;var w=e*m/x,P=-e*v/x,T=fr(g,b),O=jn(g,w),L=jn(b,P);Na(O,L);var S=T,B=Bn(O,S),C=Bn(S,S),$=B*B-C*(Bn(O,O)-1);if(!($<0)){var A=wi($),N=jn(S,(-B-A)/C);if(Na(N,O),N=Xs(N),!f)return N;var z=c[0],te=h[0],Y=c[1],Q=h[1],Z;te<z&&(Z=z,z=te,te=Z);var pe=te-z,Se=Te(pe-de)<ye,ve=Se||pe<ye;if(!Se&&Q<Y&&(Z=Y,Y=Q,Q=Z),ve?Se?Y+Q>0^N[1]<(Te(N[0]-z)<ye?Y:Q):Y<=N[1]&&N[1]<=Q:pe>de^(z<=N[0]&&N[0]<=te)){var we=jn(S,(-B+A)/C);return Na(we,O),[N,Xs(we)]}}}function u(c,h){var f=i?s:de-s,d=0;return c<-f?d|=1:c>f&&(d|=2),h<-f?d|=4:h>f&&(d|=8),d}return pc(a,o,n,i?[0,-s]:[-de,s-de])}function Jf(s,e,t,i,r,n){var a=s[0],o=s[1],l=e[0],u=e[1],c=0,h=1,f=l-a,d=u-o,p;if(p=t-a,!(!f&&p>0)){if(p/=f,f<0){if(p<c)return;p<h&&(h=p)}else if(f>0){if(p>h)return;p>c&&(c=p)}if(p=r-a,!(!f&&p<0)){if(p/=f,f<0){if(p>h)return;p>c&&(c=p)}else if(f>0){if(p<c)return;p<h&&(h=p)}if(p=i-o,!(!d&&p>0)){if(p/=d,d<0){if(p<c)return;p<h&&(h=p)}else if(d>0){if(p>h)return;p>c&&(c=p)}if(p=n-o,!(!d&&p<0)){if(p/=d,d<0){if(p>h)return;p>c&&(c=p)}else if(d>0){if(p<c)return;p<h&&(h=p)}return c>0&&(s[0]=a+c*f,s[1]=o+c*d),h<1&&(e[0]=a+h*f,e[1]=o+h*d),!0}}}}}var Fr=1e9,zn=-Fr;function Qf(s,e,t,i){function r(u,c){return s<=u&&u<=t&&e<=c&&c<=i}function n(u,c,h,f){var d=0,p=0;if(u==null||(d=a(u,h))!==(p=a(c,h))||l(u,c)<0^h>0)do f.point(d===0||d===3?s:t,d>1?i:e);while((d=(d+h+4)%4)!==p);else f.point(c[0],c[1])}function a(u,c){return Te(u[0]-s)<ye?c>0?0:3:Te(u[0]-t)<ye?c>0?2:1:Te(u[1]-e)<ye?c>0?1:0:c>0?3:2}function o(u,c){return l(u.x,c.x)}function l(u,c){var h=a(u,1),f=a(c,1);return h!==f?h-f:h===0?c[1]-u[1]:h===1?u[0]-c[0]:h===2?u[1]-c[1]:c[0]-u[0]}return function(u){var c=u,h=fc(),f,d,p,g,b,m,v,x,w,P,T,O={point:L,lineStart:$,lineEnd:A,polygonStart:B,polygonEnd:C};function L(z,te){r(z,te)&&c.point(z,te)}function S(){for(var z=0,te=0,Y=d.length;te<Y;++te)for(var Q=d[te],Z=1,pe=Q.length,Se=Q[0],ve,we,Ve=Se[0],be=Se[1];Z<pe;++Z)ve=Ve,we=be,Se=Q[Z],Ve=Se[0],be=Se[1],we<=i?be>i&&(Ve-ve)*(i-we)>(be-we)*(s-ve)&&++z:be<=i&&(Ve-ve)*(i-we)<(be-we)*(s-ve)&&--z;return z}function B(){c=h,f=[],d=[],T=!0}function C(){var z=S(),te=T&&z,Y=(f=ec(f)).length;(te||Y)&&(u.polygonStart(),te&&(u.lineStart(),n(null,null,1,u),u.lineEnd()),Y&&gc(f,o,z,n,u),u.polygonEnd()),c=u,f=d=p=null}function $(){O.point=N,d&&d.push(p=[]),P=!0,w=!1,v=x=NaN}function A(){f&&(N(g,b),m&&w&&h.rejoin(),f.push(h.result())),O.point=L,w&&c.lineEnd()}function N(z,te){var Y=r(z,te);if(d&&p.push([z,te]),P)g=z,b=te,m=Y,P=!1,Y&&(c.lineStart(),c.point(z,te));else if(Y&&w)c.point(z,te);else{var Q=[v=Math.max(zn,Math.min(Fr,v)),x=Math.max(zn,Math.min(Fr,x))],Z=[z=Math.max(zn,Math.min(Fr,z)),te=Math.max(zn,Math.min(Fr,te))];Jf(Q,Z,s,e,t,i)?(w||(c.lineStart(),c.point(Q[0],Q[1])),c.point(Z[0],Z[1]),Y||c.lineEnd(),T=!1):Y&&(c.lineStart(),c.point(z,te),T=!1)}v=z,x=te,w=Y}return O}}const vo=s=>s;var Va=new lt,yo=new lt,mc,bc,wo,xo,Qt={point:Ze,lineStart:Ze,lineEnd:Ze,polygonStart:function(){Qt.lineStart=e5,Qt.lineEnd=i5},polygonEnd:function(){Qt.lineStart=Qt.lineEnd=Qt.point=Ze,Va.add(Te(yo)),yo=new lt},result:function(){var s=Va/2;return Va=new lt,s}};function e5(){Qt.point=t5}function t5(s,e){Qt.point=_c,mc=wo=s,bc=xo=e}function _c(s,e){yo.add(xo*s-wo*e),wo=s,xo=e}function i5(){_c(mc,bc)}var gr=1/0,ea=gr,un=-gr,ta=un,ia={point:r5,lineStart:Ze,lineEnd:Ze,polygonStart:Ze,polygonEnd:Ze,result:function(){var s=[[gr,ea],[un,ta]];return un=ta=-(ea=gr=1/0),s}};function r5(s,e){s<gr&&(gr=s),s>un&&(un=s),e<ea&&(ea=e),e>ta&&(ta=e)}var Po=0,ko=0,zr=0,ra=0,na=0,tr=0,To=0,Do=0,Nr=0,vc,yc,zt,Nt,Ot={point:Ni,lineStart:Fl,lineEnd:zl,polygonStart:function(){Ot.lineStart=a5,Ot.lineEnd=o5},polygonEnd:function(){Ot.point=Ni,Ot.lineStart=Fl,Ot.lineEnd=zl},result:function(){var s=Nr?[To/Nr,Do/Nr]:tr?[ra/tr,na/tr]:zr?[Po/zr,ko/zr]:[NaN,NaN];return Po=ko=zr=ra=na=tr=To=Do=Nr=0,s}};function Ni(s,e){Po+=s,ko+=e,++zr}function Fl(){Ot.point=n5}function n5(s,e){Ot.point=s5,Ni(zt=s,Nt=e)}function s5(s,e){var t=s-zt,i=e-Nt,r=wi(t*t+i*i);ra+=r*(zt+s)/2,na+=r*(Nt+e)/2,tr+=r,Ni(zt=s,Nt=e)}function zl(){Ot.point=Ni}function a5(){Ot.point=l5}function o5(){wc(vc,yc)}function l5(s,e){Ot.point=wc,Ni(vc=zt=s,yc=Nt=e)}function wc(s,e){var t=s-zt,i=e-Nt,r=wi(t*t+i*i);ra+=r*(zt+s)/2,na+=r*(Nt+e)/2,tr+=r,r=Nt*s-zt*e,To+=r*(zt+s),Do+=r*(Nt+e),Nr+=r*3,Ni(zt=s,Nt=e)}function xc(s){this._context=s}xc.prototype={_radius:4.5,pointRadius:function(s){return this._radius=s,this},polygonStart:function(){this._line=0},polygonEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){this._line===0&&this._context.closePath(),this._point=NaN},point:function(s,e){switch(this._point){case 0:{this._context.moveTo(s,e),this._point=1;break}case 1:{this._context.lineTo(s,e);break}default:{this._context.moveTo(s+this._radius,e),this._context.arc(s,e,this._radius,0,ct);break}}},result:Ze};var So=new lt,Ya,Pc,kc,$r,Vr,cn={point:Ze,lineStart:function(){cn.point=u5},lineEnd:function(){Ya&&Tc(Pc,kc),cn.point=Ze},polygonStart:function(){Ya=!0},polygonEnd:function(){Ya=null},result:function(){var s=+So;return So=new lt,s}};function u5(s,e){cn.point=Tc,Pc=$r=s,kc=Vr=e}function Tc(s,e){$r-=s,Vr-=e,So.add(wi($r*$r+Vr*Vr)),$r=s,Vr=e}let Nl,sa,$l,Vl;class Yl{constructor(e){this._append=e==null?Dc:c5(e),this._radius=4.5,this._=""}pointRadius(e){return this._radius=+e,this}polygonStart(){this._line=0}polygonEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){this._line===0&&(this._+="Z"),this._point=NaN}point(e,t){switch(this._point){case 0:{this._append`M${e},${t}`,this._point=1;break}case 1:{this._append`L${e},${t}`;break}default:{if(this._append`M${e},${t}`,this._radius!==$l||this._append!==sa){const i=this._radius,r=this._;this._="",this._append`m0,${i}a${i},${i} 0 1,1 0,${-2*i}a${i},${i} 0 1,1 0,${2*i}z`,$l=i,sa=this._append,Vl=this._,this._=r}this._+=Vl;break}}}result(){const e=this._;return this._="",e.length?e:null}}function Dc(s){let e=1;this._+=s[0];for(const t=s.length;e<t;++e)this._+=arguments[e]+s[e]}function c5(s){const e=Math.floor(s);if(!(e>=0))throw new RangeError(`invalid digits: ${s}`);if(e>15)return Dc;if(e!==Nl){const t=10**e;Nl=e,sa=function(r){let n=1;this._+=r[0];for(const a=r.length;n<a;++n)this._+=Math.round(arguments[n]*t)/t+r[n]}}return sa}function h5(s,e){let t=3,i=4.5,r,n;function a(o){return o&&(typeof i=="function"&&n.pointRadius(+i.apply(this,arguments)),Jt(o,r(n))),n.result()}return a.area=function(o){return Jt(o,r(Qt)),Qt.result()},a.measure=function(o){return Jt(o,r(cn)),cn.result()},a.bounds=function(o){return Jt(o,r(ia)),ia.result()},a.centroid=function(o){return Jt(o,r(Ot)),Ot.result()},a.projection=function(o){return arguments.length?(r=o==null?(s=null,vo):(s=o).stream,a):s},a.context=function(o){return arguments.length?(n=o==null?(e=null,new Yl(t)):new xc(e=o),typeof i!="function"&&n.pointRadius(i),a):e},a.pointRadius=function(o){return arguments.length?(i=typeof o=="function"?o:(n.pointRadius(+o),+o),a):i},a.digits=function(o){if(!arguments.length)return t;if(o==null)t=null;else{const l=Math.floor(o);if(!(l>=0))throw new RangeError(`invalid digits: ${o}`);t=l}return e===null&&(n=new Yl(t)),a},a.projection(s).digits(t).context(e)}function Vo(s){return function(e){var t=new Oo;for(var i in s)t[i]=s[i];return t.stream=e,t}}function Oo(){}Oo.prototype={constructor:Oo,point:function(s,e){this.stream.point(s,e)},sphere:function(){this.stream.sphere()},lineStart:function(){this.stream.lineStart()},lineEnd:function(){this.stream.lineEnd()},polygonStart:function(){this.stream.polygonStart()},polygonEnd:function(){this.stream.polygonEnd()}};function Yo(s,e,t){var i=s.clipExtent&&s.clipExtent();return s.scale(150).translate([0,0]),i!=null&&s.clipExtent(null),Jt(t,s.stream(ia)),e(ia.result()),i!=null&&s.clipExtent(i),s}function Sc(s,e,t){return Yo(s,function(i){var r=e[1][0]-e[0][0],n=e[1][1]-e[0][1],a=Math.min(r/(i[1][0]-i[0][0]),n/(i[1][1]-i[0][1])),o=+e[0][0]+(r-a*(i[1][0]+i[0][0]))/2,l=+e[0][1]+(n-a*(i[1][1]+i[0][1]))/2;s.scale(150*a).translate([o,l])},t)}function d5(s,e,t){return Sc(s,[[0,0],e],t)}function f5(s,e,t){return Yo(s,function(i){var r=+e,n=r/(i[1][0]-i[0][0]),a=(r-n*(i[1][0]+i[0][0]))/2,o=-n*i[0][1];s.scale(150*n).translate([a,o])},t)}function g5(s,e,t){return Yo(s,function(i){var r=+e,n=r/(i[1][1]-i[0][1]),a=-n*i[0][0],o=(r-n*(i[1][1]+i[0][1]))/2;s.scale(150*n).translate([a,o])},t)}var Hl=16,p5=fe(30*ce);function Xl(s,e){return+e?b5(s,e):m5(s)}function m5(s){return Vo({point:function(e,t){e=s(e,t),this.stream.point(e[0],e[1])}})}function b5(s,e){function t(i,r,n,a,o,l,u,c,h,f,d,p,g,b){var m=u-i,v=c-r,x=m*m+v*v;if(x>4*e&&g--){var w=a+f,P=o+d,T=l+p,O=wi(w*w+P*P+T*T),L=Fi(T/=O),S=Te(Te(T)-1)<ye||Te(n-h)<ye?(n+h)/2:vi(P,w),B=s(S,L),C=B[0],$=B[1],A=C-i,N=$-r,z=v*A-m*N;(z*z/x>e||Te((m*A+v*N)/x-.5)>.3||a*f+o*d+l*p<p5)&&(t(i,r,n,a,o,l,C,$,S,w/=O,P/=O,T,g,b),b.point(C,$),t(C,$,S,w,P,T,u,c,h,f,d,p,g,b))}}return function(i){var r,n,a,o,l,u,c,h,f,d,p,g,b={point:m,lineStart:v,lineEnd:w,polygonStart:function(){i.polygonStart(),b.lineStart=P},polygonEnd:function(){i.polygonEnd(),b.lineStart=v}};function m(L,S){L=s(L,S),i.point(L[0],L[1])}function v(){h=NaN,b.point=x,i.lineStart()}function x(L,S){var B=zi([L,S]),C=s(L,S);t(h,f,c,d,p,g,h=C[0],f=C[1],c=L,d=B[0],p=B[1],g=B[2],Hl,i),i.point(h,f)}function w(){b.point=m,i.lineEnd()}function P(){v(),b.point=T,b.lineEnd=O}function T(L,S){x(r=L,S),n=h,a=f,o=d,l=p,u=g,b.point=x}function O(){t(h,f,c,d,p,g,n,a,r,o,l,u,Hl,i),b.lineEnd=w,w()}return b}}var _5=Vo({point:function(s,e){this.stream.point(s*ce,e*ce)}});function v5(s){return Vo({point:function(e,t){var i=s(e,t);return this.stream.point(i[0],i[1])}})}function y5(s,e,t,i,r){function n(a,o){return a*=i,o*=r,[e+s*a,t-s*o]}
41return n.invert=function(a,o){return[(a-e)/s*i,(t-o)/s*r]},n}function Gl(s,e,t,i,r,n){if(!n)return y5(s,e,t,i,r);var a=fe(n),o=ge(n),l=a*s,u=o*s,c=a/s,h=o/s,f=(o*t-a*e)/s,d=(o*e+a*t)/s;function p(g,b){return g*=i,b*=r,[l*g-u*b+e,t-u*g-l*b]}return p.invert=function(g,b){return[i*(c*g-h*b+f),r*(d-h*g-c*b)]},p}function w5(s){return x5(function(){return s})()}function x5(s){var e,t=150,i=480,r=250,n=0,a=0,o=0,l=0,u=0,c,h=0,f=1,d=1,p=null,g=jl,b=null,m,v,x,w=vo,P=.5,T,O,L,S,B;function C(z){return L(z[0]*ce,z[1]*ce)}function $(z){return z=L.invert(z[0],z[1]),z&&[z[0]*Ge,z[1]*Ge]}C.stream=function(z){return S&&B===z?S:S=_5(v5(c)(g(T(w(B=z)))))},C.preclip=function(z){return arguments.length?(g=z,p=void 0,N()):g},C.postclip=function(z){return arguments.length?(w=z,b=m=v=x=null,N()):w},C.clipAngle=function(z){return arguments.length?(g=+z?Kf(p=z*ce):(p=null,jl),N()):p*Ge},C.clipExtent=function(z){return arguments.length?(w=z==null?(b=m=v=x=null,vo):Qf(b=+z[0][0],m=+z[0][1],v=+z[1][0],x=+z[1][1]),N()):b==null?null:[[b,m],[v,x]]},C.scale=function(z){return arguments.length?(t=+z,A()):t},C.translate=function(z){return arguments.length?(i=+z[0],r=+z[1],A()):[i,r]},C.center=function(z){return arguments.length?(n=z[0]%360*ce,a=z[1]%360*ce,A()):[n*Ge,a*Ge]},C.rotate=function(z){return arguments.length?(o=z[0]%360*ce,l=z[1]%360*ce,u=z.length>2?z[2]%360*ce:0,A()):[o*Ge,l*Ge,u*Ge]},C.angle=function(z){return arguments.length?(h=z%360*ce,A()):h*Ge},C.reflectX=function(z){return arguments.length?(f=z?-1:1,A()):f<0},C.reflectY=function(z){return arguments.length?(d=z?-1:1,A()):d<0},C.precision=function(z){return arguments.length?(T=Xl(O,P=z*z),N()):wi(P)},C.fitExtent=function(z,te){return Sc(C,z,te)},C.fitSize=function(z,te){return d5(C,z,te)},C.fitWidth=function(z,te){return f5(C,z,te)},C.fitHeight=function(z,te){return g5(C,z,te)};function A(){var z=Gl(t,0,0,f,d,h).apply(null,e(n,a)),te=Gl(t,i-z[0],r-z[1],f,d,h);return c=dc(o,l,u),O=bo(e,te),L=bo(c,O),T=Xl(O,P),N()}function N(){return S=B=null,C}return function(){return e=s.apply(this,arguments),C.invert=e.invert&&$,A()}}function Ho(s,e){return[s,Tf(Sf((gt+e)/2))]}Ho.invert=function(s,e){return[s,2*tc(kf(e))-gt]};function P5(){return k5(Ho).scale(961/ct)}function k5(s){var e=w5(s),t=e.center,i=e.scale,r=e.translate,n=e.clipExtent,a=null,o,l,u;e.scale=function(h){return arguments.length?(i(h),c()):i()},e.translate=function(h){return arguments.length?(r(h),c()):r()},e.center=function(h){return arguments.length?(t(h),c()):t()},e.clipExtent=function(h){return arguments.length?(h==null?a=o=l=u=null:(a=+h[0][0],o=+h[0][1],l=+h[1][0],u=+h[1][1]),c()):a==null?null:[[a,o],[l,u]]};function c(){var h=de*i(),f=e(Yf(e.rotate()).invert([0,0]));return n(a==null?[[f[0]-h,f[1]-h],[f[0]+h,f[1]+h]]:s===Ho?[[Math.max(f[0]-h,a),o],[Math.min(f[0]+h,l),u]]:[[a,Math.max(f[1]-h,o)],[l,Math.min(f[1]+h,u)]])}return c()}class T5 extends wn{setupDefaultRules(){super.setupDefaultRules();const e=this._root.interfaceColors,t=this.rule.bind(this);t("MapChart").setAll({projection:P5(),panX:"translateX",panY:"translateY",pinchZoom:!0,zoomStep:2,zoomLevel:1,rotationX:0,rotationY:0,rotationZ:0,maxZoomLevel:32,minZoomLevel:1,wheelY:"zoom",wheelX:"none",animationEasing:fi(Zt),wheelEasing:fi(Zt),wheelDuration:0,wheelSensitivity:1,maxPanOut:.4,centerMapOnZoomOut:!0});{const i=t("MapLine");i.setAll({precision:.5,role:"figure"}),K(i,"stroke",e,"grid")}t("MapPolygonSeries").setAll({affectsBounds:!0}),t("MapPointSeries").setAll({affectsBounds:!1,clipFront:!1,clipBack:!0,autoScale:!1}),t("ClusteredPointSeries").setAll({minDistance:20,scatterDistance:3,scatterRadius:8,stopClusterZoom:.95}),t("MapLineSeries").setAll({affectsBounds:!1});{const i=t("MapPolygon");i.setAll({precision:.5,isMeasured:!1,role:"figure",fillOpacity:1,position:"absolute",strokeWidth:.2,strokeOpacity:1}),K(i,"fill",e,"primaryButton"),K(i,"stroke",e,"background")}t("Button",["zoomtools","home"]).setAll({visible:!1}),t("GraticuleSeries").setAll({step:10})}}function Xo(s){const e=Vf(s);return{longitude:e[0],latitude:e[1]}}function Cs(s){const e=Bf(s);if(e){const t={left:e[0][0],right:e[1][0],top:e[1][1],bottom:e[0][1]};return t.right<t.left&&(t.right=180,t.left=-180),t}return{left:0,right:0,top:0,bottom:0}}class aa extends ai{constructor(){super(...arguments),Object.defineProperty(this,"_downTranslateX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downTranslateY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downRotationX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downRotationY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downRotationZ",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pLat",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_pLon",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_movePoints",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_downZoomLevel",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_doubleDownDistance",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_dirtyGeometries",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_geometryColection",{enumerable:!0,configurable:!0,writable:!0,value:{type:"GeometryCollection",geometries:[]}}),Object.defineProperty(this,"_centerLocation",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"_za",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rxa",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rya",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_txa",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tya",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_mapBounds",{enumerable:!0,configurable:!0,writable:!0,value:[[0,0],[0,0]]}),Object.defineProperty(this,"_geoCentroid",{enumerable:!0,configurable:!0,writable:!0,value:{longitude:0,latitude:0}}),Object.defineProperty(this,"_geoBounds",{enumerable:!0,configurable:!0,writable:!0,value:{left:0,right:0,top:0,bottom:0}}),Object.defineProperty(this,"_prevGeoBounds",{enumerable:!0,configurable:!0,writable:!0,value:{left:0,right:0,top:0,bottom:0}}),Object.defineProperty(this,"_dispatchBounds",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_wheelDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_pw",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_ph",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_mapFitted",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_centerX",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_centerY",{enumerable:!0,configurable:!0,writable:!0,value:0})}_makeGeoPath(){const e=this.get("projection"),t=h5();t.projection(e),this.setPrivateRaw("geoPath",t)}geoPoint(){return this.invert(this.seriesContainer.toGlobal({x:this.width()/2,y:this.height()/2}))}geoCentroid(){return this._geoCentroid}geoBounds(){return this._geoBounds}_handleSetWheel(){const e=this.get("wheelX"),t=this.get("wheelY"),i=this.chartContainer;e!="none"||t!="none"?(this._wheelDp&&this._wheelDp.dispose(),this._wheelDp=i.events.on("wheel",r=>{const n=this.get("wheelEasing"),a=this.get("wheelSensitivity",1),o=this.get("wheelDuration",0),l=r.originalEvent;let u=!1;if(wa(l,this))u=!0;else return;const c=i._display.toLocal(r.point);if(t=="zoom"){if(this.get("zoomLevel")==this.get("minZoomLevel",1)&&l.deltaY>0)return;this._handleWheelZoom(l.deltaY,c)}else t=="rotateY"?this._handleWheelRotateY(l.deltaY/5*a,o,n):t=="rotateX"&&this._handleWheelRotateX(l.deltaY/5*a,o,n);e=="zoom"?this._handleWheelZoom(l.deltaX,c):e=="rotateY"?this._handleWheelRotateY(l.deltaX/5*a,o,n):e=="rotateX"&&this._handleWheelRotateX(l.deltaX/5*a,o,n),u&&l.preventDefault()}),this._disposers.push(this._wheelDp)):this._wheelDp&&this._wheelDp.dispose()}_prepareChildren(){super._prepareChildren();const e=this.get("projection"),t=this.innerWidth(),i=this.innerHeight(),r=this._geometryColection.geometries;if(this.isDirty("projection")){this._makeGeoPath(),this.markDirtyProjection(),this._fitMap(),e.scale(this.getPrivate("mapScale")*this.get("zoomLevel",1)),e.rotate&&e.rotate([this.get("rotationX",0),this.get("rotationY",0),this.get("rotationZ",0)]);let n=this._prevSettings.projection;if(n&&n!=e){let a=t/2,o=i/2;if(n.invert){let l=n.invert([a,o]);if(l){let u=e(l);if(u){let c=e.translate(),h=a-(u[0]-c[0]),f=o-(u[1]-c[1]);e.translate([h,f]),this.setRaw("translateX",h),this.setRaw("translateY",f)}}}}}if((this.isDirty("wheelX")||this.isDirty("wheelY"))&&this._handleSetWheel(),this._dirtyGeometries&&(this._geometryColection.geometries=[],this.series.each(n=>{x4(this._geometryColection.geometries,n._geometries)}),this._fitMap()),r.length!=0&&(t!=this._pw||i!=this._ph||this._dirtyGeometries)&&t>0&&i>0){let n=t/2,a=i/2;e.fitSize([t,i],this._geometryColection);const o=e.scale();if(this.setPrivateRaw("mapScale",o),e.scale(o*this.get("zoomLevel",1)),this._centerLocation){let u=e(this._centerLocation);if(u){let c=e.translate(),h=n-(u[0]-c[0]),f=a-(u[1]-c[1]);e.translate([h,f]),this.setRaw("translateX",h),this.setRaw("translateY",f),this._centerX=c[0],this._centerY=c[1]}}this.markDirtyProjection();const l=this.getPrivate("geoPath");this._mapBounds=l.bounds(this._geometryColection)}if(this._pw=t,this._ph=i,this.isDirty("zoomControl")){const n=this._prevSettings.zoomControl,a=this.get("zoomControl");a!==n&&(this._disposeProperty("zoomControl"),n&&n.dispose(),a&&(a.setPrivate("chart",this),this.children.push(a)),this.setRaw("zoomControl",a))}
41if(this.isDirty("zoomLevel")){e.scale(this.getPrivate("mapScale")*this.get("zoomLevel",1)),this.markDirtyProjection(),this.series.each(a=>{a.isType("MapPointSeries")&&a.get("autoScale")&&I(a.dataItems,o=>{const l=o.bullets;l&&I(l,u=>{const c=u.get("sprite");c&&c.set("scale",this.get("zoomLevel"))})})});const n=this.get("zoomControl");if(n){const a=this.get("zoomLevel",1);a==this.get("minZoomLevel",1)?this.root.events.once("frameended",()=>{n.minusButton.set("disabled",!0)}):n.minusButton.set("disabled",!1),a==this.get("maxZoomLevel",32)?n.plusButton.set("disabled",!0):n.plusButton.set("disabled",!1)}}(this.isDirty("translateX")||this.isDirty("translateY"))&&(e.translate([this.get("translateX",this.width()/2),this.get("translateY",this.height()/2)]),this.markDirtyProjection()),e.rotate&&(this.isDirty("rotationX")||this.isDirty("rotationY")||this.isDirty("rotationZ"))&&(e.rotate([this.get("rotationX",0),this.get("rotationY",0),this.get("rotationZ",0)]),this.markDirtyProjection()),(this.isDirty("pinchZoom")||this.get("panX")||this.get("panY"))&&this._setUpTouch()}_fitMap(){const e=this.get("projection");let t=this.innerWidth(),i=this.innerHeight();if(t>0&&i>0){e.fitSize([t,i],this._geometryColection),this.setPrivateRaw("mapScale",e.scale());const r=e.translate();this.setRaw("translateX",r[0]),this.setRaw("translateY",r[1]),this._centerX=r[0],this._centerY=r[1];const n=this.getPrivate("geoPath");this._mapBounds=n.bounds(this._geometryColection),this._geoCentroid=Xo(this._geometryColection);const a=Cs(this._geometryColection);if(this._geoBounds=a,this._geometryColection.geometries.length>0){a.left=Oe(this._geoBounds.left,3),a.right=Oe(this._geoBounds.right,3),a.top=Oe(this._geoBounds.top,3),a.bottom=Oe(this._geoBounds.bottom,3);const o=this._prevGeoBounds;o&&!jo(a,o)&&(this._dispatchBounds=!0,this._prevGeoBounds=a)}this._mapFitted=!0}}homeGeoPoint(){let e=this.get("homeGeoPoint");if(!e){const i=this.getPrivate("geoPath").bounds(this._geometryColection),r=i[0][0],n=i[0][1],a=i[1][0],o=i[1][1];e=this.invert({x:r+(a-r)/2,y:n+(o-n)/2})}return e}goHome(e){this.zoomToGeoPoint(this.homeGeoPoint(),this.get("homeZoomLevel",1),!0,e,this.get("homeRotationX"),this.get("homeRotationY"))}_updateChildren(){const e=this.get("projection");if(e.invert){let t=this.innerWidth(),i=this.innerHeight();t>0&&i>0&&(this._centerLocation=e.invert([this.innerWidth()/2,this.innerHeight()/2]))}super._updateChildren()}_afterChanged(){if(super._afterChanged(),this._dispatchBounds){this._dispatchBounds=!1;const e="geoboundschanged";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this})}}_setUpTouch(){this.chartContainer._display.cancelTouch||(this.chartContainer._display.cancelTouch=!!(this.get("pinchZoom")||this.get("panX")||this.get("panY")))}markDirtyGeometries(){this._dirtyGeometries=!0,this.markDirty()}markDirtyProjection(){this.series.each(e=>{e.markDirtyProjection()})}_afterNew(){this._defaultThemes.push(T5.new(this._root)),this._settings.themeTags=ue(this._settings.themeTags,["map"]),this.children.push(this.bulletsContainer),super._afterNew(),this._makeGeoPath(),this.chartContainer.children.push(this.seriesContainer),this.get("translateX")==null&&this.set("translateX",this.width()/2),this.get("translateY")==null&&this.set("translateY",this.height()/2),this.chartContainer.set("interactive",!0),this.chartContainer.set("interactiveChildren",!1),this.chartContainer.set("background",ut.new(this._root,{themeTags:["map","background"],fill:J.fromHex(0),fillOpacity:0})),this._disposers.push(this.chartContainer.events.on("pointerdown",t=>{this._handleChartDown(t)})),this._disposers.push(this.chartContainer.events.on("globalpointerup",t=>{this._handleChartUp(t)})),this._disposers.push(this.chartContainer.events.on("globalpointermove",t=>{this._handleChartMove(t)}));let e=!1;for(let t=0;t<Ft.licenses.length;t++)Ft.licenses[t].match(/^AM5M.{5,}/i)&&(e=!0);e?this._root._licenseApplied():this._root._showBranding(),this._setUpTouch()}_handleChartDown(e){this._downZoomLevel=this.get("zoomLevel",1);const t=this.chartContainer._downPoints;let i=Ce(t).length;if(i==1){let r=t[1];r||(r=t[0]),r&&r.x==e.point.x&&r.y==e.point.y&&(i=0)}if(i>0){this._downTranslateX=this.get("translateX"),this._downTranslateY=this.get("translateY"),this._downRotationX=this.get("rotationX"),this._downRotationY=this.get("rotationY"),this._downRotationZ=this.get("rotationZ");const r=this.chartContainer._getDownPointId();if(r){let n=this._movePoints[r];n&&(this.chartContainer._downPoints[r]=n)}}else if(i==0){let r=this.chartContainer.get("background");if(r&&r.events.enableType("click"),this.get("panX")||this.get("panY")){this._za&&this._za.stop(),this._txa&&this._txa.stop(),this._tya&&this._tya.stop(),this._rxa&&this._rxa.stop(),this._rya&&this._rya.stop();const n=this.chartContainer._display.toLocal(e.point);this._downTranslateX=this.get("translateX"),this._downTranslateY=this.get("translateY"),this._downRotationX=this.get("rotationX"),this._downRotationY=this.get("rotationY"),this._downRotationZ=this.get("rotationZ");let a=this.get("projection");if(a.invert){let o=a.invert([n.x,n.y]),l=a.invert([n.x+1,n.y+1]);o&&l&&(this._pLon=Math.abs(l[0]-o[0]),this._pLat=Math.abs(l[1]-o[1]))}}}}invert(e){let t=this.get("projection");if(t.invert){const i=t.invert([e.x,e.y]);if(i)return{longitude:i[0],latitude:i[1]}}return{longitude:0,latitude:0}}convert(e,t,i){let r=this.get("projection"),n;if(r.rotate||(t=void 0,i=void 0),t!=null||i!=null){t==null&&(t=0),i==null&&(i=0);let a=r.rotate();r.rotate([t,i,0]),n=r([e.longitude,e.latitude]),r.rotate(a)}else n=r([e.longitude,e.latitude]);return n?{x:n[0],y:n[1]}:{x:0,y:0}}_handleChartUp(e){this.chartContainer._downPoints={}}_handlePinch(){const e=this.chartContainer;let t=0,i=[],r=[];if(he(e._downPoints,(n,a)=>{i[t]=a;let o=this._movePoints[n];o&&(r[t]=o),t++}),i.length>1&&r.length>1){const n=e._display;let a=i[0],o=i[1],l=r[0],u=r[1];if(a&&o&&l&&u){a=n.toLocal(a),o=n.toLocal(o),l=n.toLocal(l),u=n.toLocal(u);let c=Math.hypot(o.x-a.x,o.y-a.y),f=Math.hypot(u.x-l.x,u.y-l.y)/c*this._downZoomLevel;f=Ae(f,this.get("minZoomLevel",1),this.get("maxZoomLevel",32));let d={x:l.x+(u.x-l.x)/2,y:l.y+(u.y-l.y)/2},p={x:a.x+(o.x-a.x)/2,y:a.y+(o.y-a.y)/2},g=this._downTranslateX||0,b=this._downTranslateY||0,m=this._downZoomLevel,v=d.x-(-g+p.x)/m*f,x=d.y-(-b
41+p.y)/m*f;this.set("zoomLevel",f),this.set("translateX",v),this.set("translateY",x)}}}_handleChartMove(e){const t=this.chartContainer;let i=t._getDownPoint();const r=t._getDownPointId(),a=e.originalEvent.pointerId;if(this.get("pinchZoom")&&a&&(this._movePoints[a]=e.point,Ce(t._downPoints).length>1)){this._handlePinch();return}if(!(r&&a&&a!=r)&&i){const o=this.get("panX"),l=this.get("panY");if(o!="none"||l!="none"){const u=t._display;let c=u.toLocal(e.point);i=u.toLocal(i);let h=this._downTranslateX,f=this._downTranslateY;if(Math.hypot(i.x-c.x,i.y-c.y)>5){let d=t.get("background");if(d&&d.events.disableType("click"),F(h)&&F(f)){let p=this.get("projection");const g=this.get("zoomLevel",1),b=this.get("maxPanOut",.4),m=this._mapBounds,v=this.width(),x=this.height(),w=m[1][0]-m[0][0],P=m[1][1]-m[0][1];if(o=="translateX"){h+=c.x-i.x;const T=v/2-(v/2-this._centerX)*g;h=Math.min(h,T+w*b*g),h=Math.max(h,T-w*b*g)}if(l=="translateY"){f+=c.y-i.y;const T=x/2-(x/2-this._centerY)*g;f=Math.min(f,T+P*b*g),f=Math.max(f,T-P*b*g)}if(this.set("translateX",h),this.set("translateY",f),p.invert){let T=p.invert([i.x,i.y]);location&&T&&(o=="rotateX"&&this.set("rotationX",this._downRotationX-(i.x-c.x)*this._pLon),l=="rotateY"&&this.set("rotationY",this._downRotationY+(i.y-c.y)*this._pLat))}}}}}}_handleWheelRotateY(e,t,i){this._rya=this.animate({key:"rotationY",to:this.get("rotationY",0)-e,duration:t,easing:i})}_handleWheelRotateX(e,t,i){this._rxa=this.animate({key:"rotationX",to:this.get("rotationX",0)-e,duration:t,easing:i})}_handleWheelZoom(e,t){let i=this.get("zoomStep",2),r=this.get("zoomLevel",1),n=r;e>0?n=r/i:e<0&&(n=r*i),n!=r&&this.zoomToPoint(t,n)}zoomToGeoBounds(e,t,i,r){e.right<e.left&&(e.right=180,e.left=-180);const a=this.getPrivate("geoPath").bounds(this._geometryColection);let o=this.convert({longitude:e.left,latitude:e.top},i,r),l=this.convert({longitude:e.right,latitude:e.bottom},i,r);o.y<a[0][1]&&(o.y=a[0][1]),l.y>a[1][1]&&(l.y=a[1][1]);let u=this.get("zoomLevel",1),c={left:o.x,right:l.x,top:o.y,bottom:l.y},h=this.seriesContainer,f=.9*Math.min(h.innerWidth()/(c.right-c.left)*u,h.innerHeight()/(c.bottom-c.top)*u),d=c.left+(c.right-c.left)/2,p=c.top+(c.bottom-c.top)/2,g=this.invert({x:d,y:p});return(i!=null||r!=null)&&this.rotate(i,r),this.zoomToGeoPoint(g,f,!0,t)}zoomToPoint(e,t,i,r){t&&(t=Ae(t,this.get("minZoomLevel",1),this.get("maxZoomLevel",32))),F(r)||(r=this.get("animationDuration",0));const n=this.get("animationEasing"),a=this.get("zoomLevel",1);this.get("centerMapOnZoomOut")&&t==this.get("homeZoomLevel",1)&&(e=this.convert(this.homeGeoPoint(),this.get("homeRotationX"),this.get("homeRotationY")),i=!0);let o=e.x,l=e.y,u=this.get("translateX",0),c=this.get("translateY",0),h=o,f=l;i&&(h=this.width()/2,f=this.height()/2);let d=h-(o-u)/a*t,p=f-(l-c)/a*t;return this._txa=this.animate({key:"translateX",to:d,duration:r,easing:n}),this._tya=this.animate({key:"translateY",to:p,duration:r,easing:n}),this._za=this.animate({key:"zoomLevel",to:t,duration:r,easing:n}),a!=t&&this._root.readerAlert(this._t("Zoom level changed to %1",this._root.locale,E1(t))),this._za}zoomToGeoPoint(e,t,i,r,n,a){let o=this.convert(e,n,a);if((n!=null||a!=null)&&this.rotate(n,a,r),o)return this.zoomToPoint(o,t,i,r)}rotate(e,t,i){if(this.get("projection").rotate){F(i)||(i=this.get("animationDuration",0));const n=this.get("animationEasing");e!=null&&this.animate({key:"rotationX",to:e,duration:i,easing:n}),t!=null&&this.animate({key:"rotationY",to:t,duration:i,easing:n})}}zoomIn(){return this.zoomToPoint({x:this.width()/2,y:this.height()/2},this.get("zoomLevel",1)*this.get("zoomStep",2))}zoomOut(){return this.zoomToPoint({x:this.width()/2,y:this.height()/2},this.get("zoomLevel",1)/this.get("zoomStep",2))}_clearDirty(){super._clearDirty(),this._dirtyGeometries=!1,this._mapFitted=!1}getArea(e){const t=this.getPrivate("geoPath"),i=e.get("geometry");return i?t.area(i):0}}Object.defineProperty(aa,"className",{enumerable:!0,configurable:!0,writable:!0,value:"MapChart"});Object.defineProperty(aa,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ai.classNames.c
41oncat([aa.className])});var Nn={exports:{}};class D5{constructor(e=[],t=S5){if(this.data=e,this.length=this.data.length,this.compare=t,this.length>0)for(let i=(this.length>>1)-1;i>=0;i--)this._down(i)}push(e){this.data.push(e),this.length++,this._up(this.length-1)}pop(){if(this.length===0)return;const e=this.data[0],t=this.data.pop();return this.length--,this.length>0&&(this.data[0]=t,this._down(0)),e}peek(){return this.data[0]}_up(e){const{data:t,compare:i}=this,r=t[e];for(;e>0;){const n=e-1>>1,a=t[n];if(i(r,a)>=0)break;t[e]=a,e=n}t[e]=r}_down(e){const{data:t,compare:i}=this,r=this.length>>1,n=t[e];for(;e<r;){let a=(e<<1)+1,o=t[a];const l=a+1;if(l<this.length&&i(t[l],o)<0&&(a=l,o=t[l]),i(o,n)>=0)break;t[e]=o,e=a}t[e]=n}}function S5(s,e){return s<e?-1:s>e?1:0}const O5=Object.freeze(Object.defineProperty({__proto__:null,default:D5},Symbol.toStringTag,{value:"Module"})),A5=Vh(O5);var Ul;function C5(){if(Ul)return Nn.exports;Ul=1;var s=A5;s.default&&(s=s.default),Nn.exports=e,Nn.exports.default=e;function e(o,l,u){l=l||1;for(var c,h,f,d,p=0;p<o[0].length;p++){var g=o[0][p];(!p||g[0]<c)&&(c=g[0]),(!p||g[1]<h)&&(h=g[1]),(!p||g[0]>f)&&(f=g[0]),(!p||g[1]>d)&&(d=g[1])}var b=f-c,m=d-h,v=Math.min(b,m),x=v/2;if(v===0){var w=[c,h];return w.distance=0,w}for(var P=new s(void 0,t),T=c;T<f;T+=v)for(var O=h;O<d;O+=v)P.push(new i(T+x,O+x,x,o));var L=n(o),S=new i(c+b/2,h+m/2,0,o);S.d>L.d&&(L=S);for(var B=P.length;P.length;){var C=P.pop();C.d>L.d&&(L=C,u&&console.log("found best %d after %d probes",Math.round(1e4*C.d)/1e4,B)),!(C.max-L.d<=l)&&(x=C.h/2,P.push(new i(C.x-x,C.y-x,x,o)),P.push(new i(C.x+x,C.y-x,x,o)),P.push(new i(C.x-x,C.y+x,x,o)),P.push(new i(C.x+x,C.y+x,x,o)),B+=4)}u&&(console.log("num probes: "+B),console.log("best distance: "+L.d));var $=[L.x,L.y];return $.distance=L.d,$}function t(o,l){return l.max-o.max}function i(o,l,u,c){this.x=o,this.y=l,this.h=u,this.d=r(o,l,c),this.max=this.d+this.h*Math.SQRT2}function r(o,l,u){for(var c=!1,h=1/0,f=0;f<u.length;f++)for(var d=u[f],p=0,g=d.length,b=g-1;p<g;b=p++){var m=d[p],v=d[b];m[1]>l!=v[1]>l&&o<(v[0]-m[0])*(l-m[1])/(v[1]-m[1])+m[0]&&(c=!c),h=Math.min(h,a(o,l,m,v))}return h===0?0:(c?1:-1)*Math.sqrt(h)}function n(o){for(var l=0,u=0,c=0,h=o[0],f=0,d=h.length,p=d-1;f<d;p=f++){var g=h[f],b=h[p],m=g[0]*b[1]-b[0]*g[1];u+=(g[0]+b[0])*m,c+=(g[1]+b[1])*m,l+=m*3}return l===0?new i(h[0][0],h[0][1],0,o):new i(u/l,c/l,0,o)}function a(o,l,u,c){var h=u[0],f=u[1],d=c[0]-h,p=c[1]-f;if(d!==0||p!==0){var g=((o-h)*d+(l-f)*p)/(d*d+p*p);g>1?(h=c[0],f=c[1]):g>0&&(h+=d*g,f+=p*g)}return d=o-h,p=l-f,d*d+p*p}return Nn.exports}var E5=C5();const M5=y1(E5);class oa extends me{constructor(){super(...arguments),Object.defineProperty(this,"_projectionDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"series",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){super._afterNew(),this.setPrivate("trustBounds",!0)}_beforeChanged(){if(super._beforeChanged(),this._projectionDirty||this.isDirty("geometry")||this.isDirty("precision")){const e=this.get("geometry");if(e){const t=this.series;if(t){const i=t.projection();i&&i.precision(this.get("precision",.5));const r=t.geoPath();r&&(this._clear=!0,this.set("draw",n=>{r.context(this._display),r(e),r.context(null)}),this.isHover()&&this.showTooltip())}}}}markDirtyProjection(){this.markDirty(),this._projectionDirty=!0}_clearDirty(){super._clearDirty(),this._projectionDirty=!1}geoCentroid(){const e=this.get("geometry");return e?Xo(e):{latitude:0,longitude:0}}visualCentroid(){let e=0,t=[];const i=this.get("geometry");if(i){if(i.type=="Polygon")t=i.coordinates;else if(i.type=="MultiPolygon")for(let r=0;r<i.coordinates.length;r++){let n=i.coordinates[r],a=Mf({type:"Polygon",coordinates:n});a>e&&(t=n,e=a)}if(t){let r=M5(t);return{longitude:r[0],latitude:r[1]}}}return{longitude:0,latitude:0}}_getTooltipPoint(){const e=this.series;if(e){const t=e.projection();if(t){const i=this.visualCentroid(),r=t([i.longitude,i.latitude]);if(r)return{x:r[0],y:r[1]}}}return{x:0,y:0}}}Object.defineProperty(oa,"className",{enumerable:!0,configurable:!0,writable:!0,value:"MapPolygon"});Object.defineProperty(oa,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:me.classNames.c
41oncat([oa.className])});class la extends ln{constructor(){super(...arguments),Object.defineProperty(this,"mapPolygons",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>oa._new(this._root,{},[this.mapPolygons.template])))}),Object.defineProperty(this,"_types",{enumerable:!0,configurable:!0,writable:!0,value:["Polygon","MultiPolygon"]})}makeMapPolygon(e){const t=this.children.push(this.mapPolygons.make());return t._setDataItem(e),this.mapPolygons.push(t),t}markDirtyProjection(){I(this.dataItems,e=>{let t=e.get("mapPolygon");t&&t.markDirtyProjection()})}_prepareChildren(){super._prepareChildren(),this.isDirty("fill")&&this.mapPolygons.template.set("fill",this.get("fill")),this.isDirty("stroke")&&this.mapPolygons.template.set("stroke",this.get("stroke"))}processDataItem(e){super.processDataItem(e);let t=e.get("mapPolygon");t||(t=this.makeMapPolygon(e)),e.set("mapPolygon",t);let i=e.get("geometry");if(i){if(this.get("reverseGeodata")&&i.coordinates)for(let n=0;n<i.coordinates.length;n++)if(i.type=="MultiPolygon")for(let a=0;a<i.coordinates[n].length;a++)i.coordinates[n][a].reverse();else i.coordinates[n].reverse();t.set("geometry",i)}t.series=this,this._addGeometry(e.get("geometry"),this)}disposeDataItem(e){super.disposeDataItem(e);const t=e.get("mapPolygon");t&&(this.mapPolygons.removeValue(t),t.dispose()),this._removeGeometry(e.get("geometry"))}_excludeDataItem(e){super._excludeDataItem(e);const t=e.get("mapPolygon");t&&t.setPrivate("visible",!1)}_unexcludeDataItem(e){super._unexcludeDataItem(e);const t=e.get("mapPolygon");t&&t.setPrivate("visible",!0)}_notIncludeDataItem(e){super._notIncludeDataItem(e);const t=e.get("mapPolygon");t&&t.setPrivate("visible",!1)}_unNotIncludeDataItem(e){super._unNotIncludeDataItem(e);const t=e.get("mapPolygon");t&&t.setPrivate("visible",!0)}markDirtyValues(e){if(super.markDirtyValues(),e){const t=e.get("mapPolygon");t&&t.set("geometry",e.get("geometry"))}}zoomToDataItem(e,t){const i=e.get("mapPolygon");if(i){const r=i.get("geometry"),n=this.chart;if(r&&n){if(t){const a=Xo(r);return n.rotate(-a.longitude,-a.latitude),n.zoomToGeoBounds(Cs(r),void 0,-a.longitude,-a.latitude)}return n.zoomToGeoBounds(Cs(r))}}}zoomToDataItems(e,t){let i,r,n,a;if(I(e,o=>{const l=o.get("mapPolygon");if(l){const u=l.get("geometry");if(u){let c=Cs(u);i==null&&(i=c.left),r==null&&(r=c.right),n==null&&(n=c.top),a==null&&(a=c.bottom),i=Math.min(c.left,i),r=Math.max(c.right,r),n=Math.max(c.top,n),a=Math.min(c.bottom,a)}}}),i!=null&&r!=null&&n!=null&&a!=null){const o=this.chart;if(o){if(t){const l=i+(r-i)/2,u=a+(n-a)/2;return o.rotate(-l,-u),o.zoomToGeoBounds({left:i,right:r,top:n,bottom:a},void 0,-l,-u)}return o.zoomToGeoBounds({left:i,right:r,top:n,bottom:a})}}}getPolygonByPoint(e){let t;const r=this._display._renderer.getObjectAtPoint(e);if(r)return this.mapPolygons.each(function(n){n._display==r&&(t=n)}),t}getPolygonByGeoPoint(e){return this.getPolygonByPoint(this.chart.convert(e))}}Object.defineProperty(la,"className",{enumerable:!0,configurable:!0,writable:!0,value:"MapPolygonSeries"});Object.defineProperty(la,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ln.classNames.concat([la.className])});class ua extends on{_afterNew(){super._afterNew(),this.addTag("zoomtools")}_prepareChildren(){super._prepareChildren(),this.isPrivateDirty("chart")&&this.set("target",this.getPrivate("chart"))}}Object.defineProperty(ua,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ZoomControl"});Object.defineProperty(ua,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:on.classNames.concat([ua.className])});class L5 extends wn{setupDefaultRules(){super.setupDefaultRules(),this.rule("Component").setAll({interpolationDuration:600}),this.rule("Hierarchy").set("animationDuration",600),this.rule("Scrollbar").set("animationDuration",600),this.rule("Tooltip").set("animationDuration",300),this.rule("MapChart").set("animationDuration",1e3),this.rule("MapChart").set("wheelDuration",300),this.rule("Entity").setAll({stateAnimationDuration:600}),this.rule("Sprite").states.create("default",{stateAnimationDuration:600}),this.rule("Tooltip",["axis"]).setAll({animationDuration:200}),this.rule("WordCloud").set("animationDuration",500),this.rule("Polygon").set("animationDuration",600),this.rule("ArcDiagram").set("animationDuration",600)}}const Ui=s=>{const e=zo.new(s.value);return e.setThemes([L5.new(e)]),e},xr=(s,e={headerRow:!0})=>{const t=s.reduce((r,n)=>(r[n.row]||(r[n.row]=[]),r[n.row].push(n.value),r),[]),i=e.headerRow?t.shift()??[]:[];return i[0]||i.shift(),{tableData:t,tableHeaders:i}},Pn=s=>{const e=s,t=[];return e.forEach(i=>
41{const r=i[0];i.slice(1).forEach((a,o)=>{const l=t.find(u=>u.category===r);l?l[`value${o+1}`]=Number.parseInt(a):t.push({category:r,[`value${o+1}`]:Number.parseInt(a)})})}),t},Oc=(s,e,t)=>{const i=aa.new(s,{draggable:!1,zoomControl:ua.new(s,{layout:s.verticalLayout}),pinchZoom:!0,wheelX:"none",wheelY:"none",exportable:!0});i.events.on("wheel",h=>{h.originalEvent.ctrlKey?(h.originalEvent.preventDefault(),i.set("wheelY","zoom")):r.set("wheelY","none")});const r=s.container.children.push(i),n=r.series.push(la.new(s,{geoJSON:e}));n.mapPolygons.template.setAll({tooltipText:`[bold]{land}
42{text}`,templateField:"polygonSettings",fillOpacity:.9}),n.mapPolygons.template.states.create("hover",{fillOpacity:1});const a=[],o={ID:"id",Land:"land",Gruppierung:"gruppe",Farbe:"color",Text:"text"},{tableData:l,tableHeaders:u}=xr(t),c=l.map(h=>{const f={};return h.forEach((d,p)=>{const g=u[p];if(g){if(g==="Farbe"){try{f.polygonSettings={fill:U(d)}}catch{f.polygonSettings={fill:U(15921906)}}return}else if(g==="Gruppierung"){if(!a.find(m=>m.name===d)){const m=h[p+1];let v;try{v=U(m)}catch{v=U(15921906)}a.push({name:d,color:v})}return}o[g]&&(f[o[g]]=d)}}),f});return n.data.setAll(c),{chart:r,groups:a}},Go=(s,e)=>{e.children.push(ji.new(s,{x:We(0),y:We(100),layout:s.horizontalLayout})).data.setAll(e.series.values)},Ac=(s,e,t)=>{e.children.push(ji.new(s,{nameField:"name",fillField:"color",strokeField:"color",useDefaultMarker:!0,layout:s.verticalLayout,ariaOrientation:"verical",marginBottom:20,background:si.new(s,{fill:U(16777215),fillOpacity:.5})})).data.setAll(t)},R5=G({__name:"AustriaMap",props:{tableData:{},showLegend:{type:Boolean}},setup(s){const e=je(),t=je(),i=s;return Ke(()=>{t.value=Ui(e);const{chart:r,groups:n}=Oc(t.value,_4,i.tableData);i.showLegend&&Ac(t.value,r,n)}),Gi(()=>{t.value&&t.value.dispose()}),(r,n)=>(y(),E("div",{ref_key:"chartDiv",ref:e,class:"austria-map"},null,512))}}),I5={type:"FeatureCollection",features:[{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[22.7663,54.3568],[22.1682,54.3599],[20.2082,54.4208],[19.6045,54.459],[19.7587,54.5447],[19.9441,54.7501],[19.9749,54.9213],[20.3967,54.9514],[20.5202,54.9949],[20.9,55.2867],[20.958,55.2791],[20.595,54.9824],[20.8872,54.9095],[21.1887,54.9352],[21.2357,55.2641],[21.3895,55.2757],[21.5543,55.1953],[22.0723,55.0637],[22.5676,55.0591],[22.8313,54.8385],[22.6797,54.493],[22.7663,54.3568]]],[[[48.9533,69.5092],[49.2249,69.5111],[50.1675,69.2571],[50.2651,69.1857],[49.921,69.0532],[49.6261,68.8597],[49.1805,68.7784],[48.6668,68.7331],[48.4387,68.8047],[48.2792,69.0402],[48.32,69.2694],[48.6317,69.436],[48.9533,69.5092]]],[[[48.5727,41.8445],[48.3912,41.602],[48.0564,41.4586],[47.8609,41.213],[47.5202,41.2288],[47.261,41.3149],[47.2052,41.4556],[47.0105,41.5874],[46.7494,41.8124],[46.5522,41.812],[46.4299,41.8906],[46.2129,41.9896],[45.954,42.0356],[45.639,42.2048],[45.7278,42.4751],[45.5629,42.5357],[45.3437,42.53],[45.2082,42.6482],[44.8707,42.7564],[44.771,42.617],[44.6445,42.7344],[44.5061,42.7489],[43.9571,42.5665],[43.7383,42.617],[43.7822,42.7472],[43.5577,42.8447],[43.0892,42.9888],[42.9917,43.0917],[42.7606,43.1694],[42.5663,43.1549],[42.4191,43.2243],[42.0499,43.1901],[41.5806,43.2191],[41.3583,43.3334],[41.0832,43.3746],[40.6481,43.5342],[40.5189,43.5117],[40.1502,43.5698],[39.9784,43.4199],[39.5165,43.728],[39.3293,43.8972],[38.7172,44.2883],[38.1814,44.4196],[37.8514,44.6988],[37.5723,44.6708],[37.4111,44.7352],[37.205,44.9718],[36.9444,45.0695],[36.6509,45.1264],[36.6192,45.1852],[36.9413,45.2895],[37.6475,45.377],[37.6123,45.5649],[37.8409,45.7996],[37.9332,46.0018],[38.1331,46.003],[38.1837,46.0949],[38.4921,46.0906],[38.0778,46.3944],[37.9138,46.4065],[37.7661,46.6358],[37.9678,46.6183],[38.2297,46.7011],[38.5009,46.6635],[38.439,46.8129],[38.8011,46.9063],[39.2932,47.1056],[39.1957,47.2689],[39.0238,47.272],[38.9285,47.1757],[38.6683,47.1438],[38.4851,47.1757],[38.2144,47.0914],[38.2807,47.2766],[38.2012,47.321],[38.2873,47.5592],[38.7189,47.7143],[38.9004,47.8554],[39.3908,47.8336],[39.7358,47.8445],[39.8852,48.1683],[39.9608,48.2378],[39.8356,48.5429],[39.6448,48.5912],[39.793,48.8076],[39.6866,49.0078],[39.89,49.064],[40.0702,49.2003],[40.126,49.3688],[40.0307,49.5966],[39.7807,49.572],[39.4628,49.728],[39.3029,49.7421],[39.1746,49.856],[38.9184,49.8248],[38.6477,49.9528],[38.4513,49.9641],[38.2588,50.0524],[38.047,49.9201],[37.7042,50.1089],[37.5825,50.2919],[37.4229,50.4114],[36.7593,50.2919],[36.6192,50.2093],[36.5001,50.2804],[36.3059,50.2804],[36.1165,50.4086],[35.8901,50.4371],[35.674,50.346],[35.4116,50.5398],[35.4401,50.7279],[35.3122,51.0438],[35.158,51.0609],[35.0639,51.2033],[34.7124,51.1724],[34.2808,51.3116],[34.1209,51.6793],[34.3792,51.7166],[34.3978,51.7806],[34.113,51.9796],[33.9223,52.2514],[33.7355,52.3448],[33.1484,52.3404],[32.9001,52.2563],[32.5081,52.3085],[32.3627,52.2721],[32.2831,52.1141],[31.9742,52.0466],[31.7636,52.1011],[3
421.5773,52.3123],[31.5857,52.5324],[31.5352,52.7983],[31.2587,53.0167],[31.4179,53.196],[31.6684,53.2009],[31.8498,53.1062],[32.142,53.0912],[32.7041,53.3362],[32.6856,53.448],[32.4699,53.5469],[32.4501,53.693],[32.2004,53.7814],[31.7545,53.8106],[31.8374,54.0009],[31.7918,54.0558],[31.4038,54.1958],[31.1849,54.4529],[31.0746,54.4917],[31.1212,54.6484],[30.799,54.7833],[30.8302,54.915],[30.9779,55.0505],[30.8144,55.2788],[30.9006,55.3975],[30.9067,55.5699],[30.6255,55.6662],[30.4563,55.7869],[30.2335,55.8452],[29.9368,55.8455],[29.4825,55.6844],[29.3532,55.7844],[29.3748,55.9386],[29.0874,56.0213],[28.7948,55.9426],[28.564,56.092],[28.2845,56.056],[28.1483,56.143],[28.2023,56.2603],[28.1035,56.5455],[28.0072,56.5998],[27.8063,56.867],[27.6394,56.8456],[27.8147,57.1669],[27.7972,57.3168],[27.3515,57.5281],[27.4003,57.6668],[27.5423,57.7993],[27.7532,57.841],[27.4882,58.2702],[27.5317,58.4351],[27.4271,58.7331],[27.5128,58.8862],[27.7576,59.0522],[27.8978,59.2776],[28.1513,59.3742],[28.0125,59.4842],[28.0142,59.7247],[28.1312,59.7865],[28.3346,59.6927],[28.4537,59.8142],[28.9472,59.8289],[29.1471,59.9998],[29.6697,59.9557],[30.1222,59.8738],[30.1728,59.9572],[29.9769,60.0264],[29.7211,60.1952],[29.069,60.1915],[28.6431,60.3754],[28.6506,60.6109],[28.5131,60.6772],[28.179,60.5711],[27.7981,60.5362],[28.4071,60.8968],[29.2518,61.2877],[29.6904,61.546],[30.5657,62.1275],[30.9358,62.3236],[31.2856,62.5678],[31.5343,62.8855],[31.5092,62.9554],[31.1809,63.2083],[30.4185,63.504],[30.0555,63.6888],[30.5038,64.0206],[30.4879,64.2364],[30.1083,64.366],[29.9856,64.5577],[30.1201,64.6447],[30.0726,64.765],[29.7835,64.8042],[29.6042,64.9685],[29.8107,65.1078],[29.6297,65.2239],[29.7282,65.4735],[29.7158,65.6246],[30.0955,65.6816],[30.0876,65.7866],[29.9031,66.0911],[29.5905,66.3568],[29.4645,66.5321],[29.0931,66.8492],[29.087,66.9709],[29.5721,67.3244],[29.9412,67.5475],[29.979,67.6887],[29.5242,67.9291],[29.3441,68.0621],[28.6853,68.1897],[28.4708,68.4883],[28.752,68.7715],[28.5662,68.9282],[28.9656,69.0218],[29.21,69.0972],[29.3884,69.2982],[29.9944,69.3925],[30.2278,69.6338],[30.6154,69.5327],[30.8606,69.5384],[30.8694,69.7834],[31.453,69.6896],[31.7882,69.8157],[31.9847,69.9537],[32.5652,69.8065],[32.9418,69.7517],[32.9946,69.6263],[32.7542,69.6059],[32.1767,69.674],[32.3776,69.4791],[32.6369,69.4896],[33.4542,69.4283],[33.6845,69.3101],[34.2294,69.3129],[34.864,69.2281],[35.2898,69.2754],[35.858,69.1917],[37.7305,68.692],[38.4301,68.3556],[38.8318,68.3251],[39.5687,68.0717],[40.0355,68.0153],[40.3809,67.8318],[40.9662,67.7135],[41.1336,67.2669],[41.3587,67.2097],[41.2757,66.9142],[41.1887,66.8261],[40.5215,66.4466],[40.1036,66.2998],[39.2888,66.1322],[38.3976,66.0645],[37.6281,66.1298],[37.2951,66.2251],[36.77,66.2935],[36.3735,66.3022],[35.5135,66.3958],[34.8244,66.6112],[34.4826,66.5503],[34.4514,66.6512],[33.4819,66.7646],[33.1502,66.8439],[32.8473,67.0215],[32.9304,67.0867],[32.4,67.1526],[32.4637,66.9162],[32.9286,66.7042],[33.1805,66.68],[33.2174,66.5317],[33.6559,66.4426],[33.5667,66.3209],[34.1125,66.2254],[34.3999,66.1285],[34.7866,65.8646],[34.6157,65.5099],[34.4065,65.3957],[34.6711,65.1681],[34.8034,64.9861],[34.8697,64.5601],[35.0354,64.4403],[35.4317,64.3467],[35.6471,64.3783],[36.1468,64.1889],[36.3652,64.0028],[37.4423,63.8134],[37.9678,63.949],[38.0707,64.0259],[37.9538,64.3201],[37.7407,64.397],[37.4295,64.3738],[37.1834,64.4084],[36.5282,64.8472],[36.5343,64.9384],[36.7857,64.9872],[36.8828,65.1724],[37.1408,65.1942],[37.5284,65.1083],[38.0096,64.8789],[38.4121,64.8571],[38.5409,64.7912],[39.0538,64.7139],[39.5671,64.5706],[39.7582,64.577],[40.0579,64.7708],[40.4447,64.7787],[40.2812,64.998],[40.1423,65.0632],[39.7982,65.3498],[39.8167,65.5978],[40.3277,65.7516],[40.6916,65.9635],[41.0762,66.0212],[41.476,66.1234],[41.781,66.2592],[42.2107,66.5196],[42.6019,66.4225],[43.2334,66.4156],[43.6531,66.2511],[44.1044,66.0085],[44.0969,66.235],[44.4885,66.6718],[44.4036,67.0041],[44.292,67.0997],[43.8553,67.1886],[43.7822,67.2546],[44.2253,67.9955],[44.169,68.3272],[43.4044,68.6085],[43.472,68.6799],[44.0482,68.549],[45.0782,68.5782],[45.892,68.4798],[46.6836,67.9704],[46.6901,67.8489],[45.5286,67.7577],[44.9397,67.4776],[44.9397,67.3508],[45.5625,67.1856],[45.7524,66.9891],[45.9856,66.8529],[46.691,66.8254],[47.4965,66.9298],[47.7092,67.0449],[47.7682,67.2756],[47.9083,67.4547],[47.8745,67.5842],[48.8777,67.7314],[48.6957,67.8742],[49.1555,67.8704],[49.9311,68.0651],[50.839,68.3499],[51.3361,68.4024],[51.9947,68.5387],[52.2852,68.4595],[52.6698,68.4268],[52.5503,68.5925],[52.6833,68.7311],[53.8018,68.9959],[53.9706,68.8443],[53.7588,68.634],[53.931,68.4356],[53.3426,68.3431],[53.2604,68.2675],[53.9679,68.2273],[54.5616,68.273],[54.8613,68.2018],[54.9233,68.3738],[55.4182,68.5678],[56.0435,68.649],[56.6201,68.6191],[57.1267,68.554],[58.173,68.8898],[58.9192,69.0038],[59.3705,68.7384],[59.1121,68.6164],[59.0989,68.4444],[59.6039,68.3512],[59.8975,68.422],[59.8961,68.7063],[60.4889,68.7289],[60.9336,68.9869],[60.6642,69.1101],[60.1703,69.5909],[61.0158,69.8515],[61.7709,69.763],[62.6313,69.7432],[63.3616,69.6753],[64.1905,69.5347],[64.5921,69.4356],[65.0316,69.2699],[65.736,69.1323],[65.8129,69.077],[66.4159,68.9478],[67.0025,68.8735],[67.1493,68.754],[67.874,68.4712],[68.2691,67.2858],[67.5443,66.7228],[66.2023,66.1717],[64.8012,65.7163],[63.0821,64.9055],[61.2167,64.2826],[60.5426,61.
420084],[60.0644,59.4402],[59.4316,58.5187],[58.7984,57.8523],[58.0263,57.3293],[57.8277,56.8591],[58.5799,56.5143],[58.6903,56.0873],[58.0983,55.5504],[57.1834,55.4219],[56.0839,55.3472],[56.5466,54.8473],[56.9738,54.4687],[57.6207,53.9831],[58.2975,54.2979],[58.9548,54.5315],[59.6294,54.3087],[59.8829,53.9417],[59.4083,53.6475],[59.0053,53.1793],[59.037,52.6069],[59.7071,52.4617],[59.992,52.0503],[60.0675,51.8909],[60.3875,51.7731],[60.4648,51.6513],[60.9732,51.537],[61.0145,51.4923],[61.3631,51.442],[61.5546,51.3246],[61.5849,51.2298],[61.3894,50.8609],[61.2268,50.7748],[60.9425,50.6955],[60.638,50.6639],[60.2882,50.7043],[60.1124,50.834],[59.9551,50.7992],[59.8122,50.5819],[59.5231,50.4929],[59.4523,50.6204],[58.8836,50.6944],[58.5475,50.9711],[58.3594,51.0638],[57.8386,51.0917],[57.6536,50.9251],[57.4422,50.8889],[57.179,51.0361],[57.0116,51.0651],[56.6201,50.9807],[56.4917,51.0196],[56.1441,50.8447],[56.0496,50.7135],[55.7978,50.6022],[55.5425,50.6017],[55.1953,50.7445],[55.0147,50.8698],[54.7269,50.9981],[54.6064,50.8801],[54.6504,50.6603],[54.4716,50.5839],[54.4215,50.7803],[54.0417,51.1152],[53.6884,51.2519],[53.5346,51.3995],[53.3382,51.4824],[53.0385,51.4637],[52.5708,51.4817],[52.331,51.6812],[52.007,51.6729],[51.6089,51.4839],[51.3443,51.4753],[51.1633,51.6474],[50.7942,51.7291],[50.7559,51.6752],[50.2467,51.2895],[49.8225,51.1319],[49.4978,51.0836],[49.3233,50.8518],[48.8087,50.6013],[48.6549,50.6199],[48.7007,50.3538],[48.843,50.0131],[48.759,49.9282],[48.4343,49.8284],[48.2247,49.9318],[47.8498,50.2822],[47.7062,50.3781],[47.5036,50.4029],[47.3264,50.2734],[47.2952,50.0586],[46.9916,49.8526],[46.8896,49.697],[46.8022,49.3671],[47.0179,49.1999],[47.0144,49.0986],[46.7029,48.8055],[46.6093,48.5741],[46.6611,48.4124],[47.0044,48.2845],[47.119,48.1269],[47.0935,47.9476],[47.2922,47.7409],[47.482,47.8039],[48.11,47.7452],[48.5525,47.321],[48.9594,46.7745],[48.7763,46.7105],[48.6053,46.766],[48.5094,46.6501],[48.6101,46.5663],[49.184,46.3486],[49.0799,46.1894],[48.6839,46.0859],[48.6896,45.8888],[48.4871,45.9349],[48.2576,45.7778],[47.8301,45.6629],[47.7008,45.686],[47.5243,45.6016],[47.489,45.4553],[47.2219,45.0242],[46.9577,44.7826],[46.7551,44.6566],[46.7073,44.5036],[46.753,44.4205],[47.0236,44.3433],[47.2303,44.1925],[47.3616,43.9935],[47.4289,43.7799],[47.6279,43.8062],[47.5088,43.5096],[47.5127,43.2186],[47.4631,43.035],[47.7092,42.8108],[47.7277,42.6808],[47.8222,42.6135],[48.2282,42.1811],[48.3838,41.9534],[48.5727,41.8445]]],[[[59.6369,69.721],[59.5028,69.8663],[58.9531,69.8928],[58.6797,70.051],[58.4731,70.2668],[58.7944,70.4329],[59.0053,70.4652],[59.6365,70.1971],[60.3923,69.9625],[60.4402,69.7259],[60.2156,69.6878],[59.6369,69.721]]],[[[53.2055,71.1595],[52.8354,71.0857],[52.2967,71.3568],[52.7769,71.3997],[53.2055,71.1595]]],[[[51.5825,72.0712],[51.8858,72.1534],[52.2518,72.1298],[52.6218,72.3008],[52.9163,72.6688],[52.5282,72.7374],[52.8122,72.8754],[53.2476,72.9732],[53.198,73.1476],[53.7531,73.2933],[54.091,73.2764],[54.9404,73.3834],[55.3201,73.3083],[56.1375,73.2562],[56.4293,73.201],[56.1889,73.0332],[56.0834,72.7895],[55.7236,72.7664],[55.6168,72.5992],[55.3561,72.4651],[55.5179,72.2206],[55.2977,71.9354],[56.043,71.3457],[56.4543,71.1072],[56.8952,70.9271],[57.625,70.7289],[57.1456,70.5891],[56.649,70.6465],[56.4345,70.563],[56.1428,70.6579],[55.687,70.6922],[55.237,70.666],[54.6012,70.6801],[53.7222,70.8146],[53.5878,71.0523],[53.8572,71.0703],[53.8861,71.1963],[53.4098,71.3402],[53.3637,71.5416],[52.9088,71.4951],[52.4189,71.537],[51.8124,71.4913],[51.5905,71.5711],[51.4388,71.777],[51.5825,72.0712]]],[[[68.8908,76.6597],[68.9001,76.573],[68.1653,76.2849],[66.2823,75.9836],[64.2626,75.7197],[63.6596,75.6688],[61.356,75.315],[60.6551,75.0551],[60.2411,74.9707],[60.5012,74.9046],[60.2222,74.7964],[59.24,74.6929],[59.1011,74.5075],[58.5347,74.4989],[58.6653,74.2893],[58.4415,74.1289],[57.7674,74.0138],[57.8724,73.8506],[57.5424,73.658],[57.1341,73.5042],[56.9637,73.3665],[56.4302,73.2972],[55.5491,73.3568],[55.0068,73.4539],[54.3001,73.3509],[54.2043,73.542],[53.7627,73.7662],[54.3867,73.9358],[54.6424,73.9595],[55.3408,74.4196],[56.0782,74.4814],[55.5824,74.6277],[55.9133,74.796],[56.4987,74.9571],[55.9978,75.0032],[55.8101,75.1249],[56.0356,75.1941],[56.5703,75.0977],[57.0876,75.3838],[57.60
427,75.3414],[57.7833,75.5066],[58.8814,75.8546],[60.0363,75.9839],[60.2793,76.0961],[61.0536,76.1199],[61.2018,76.282],[61.7871,76.291],[62.4714,76.2304],[62.9714,76.2367],[64.4633,76.3783],[65.863,76.6134],[66.063,76.7461],[66.829,76.9239],[67.5352,77.0078],[68.4857,76.9338],[68.8733,76.7896],[68.8908,76.6597]]],[[[51.0763,79.9321],[50.0914,79.9805],[50.9362,80.0943],[51.0763,79.9321]]],[[[59.1688,79.9481],[58.946,80.0424],[59.5445,80.1187],[59.9111,79.9943],[59.1688,79.9481]]],[[[57.1227,80.3169],[57.0801,80.0947],[56.2007,80.0765],[56.0246,80.3413],[57.1227,80.3169]]],[[[52.5507,80.2019],[52.2132,80.2637],[53.1857,80.4127],[53.8515,80.2683],[53.5214,80.185],[52.5507,80.2019]]],[[[59.2554,80.3432],[58.398,80.3186],[57.7999,80.1042],[57.2819,80.194],[57.0753,80.494],[58.4806,80.4647],[59.2554,80.3432]]],[[[45.3894,80.5603],[45.1244,80.6524],[46.7991,80.7552],[47.4421,80.8536],[48.4453,80.8062],[48.626,80.6293],[47.6002,80.742],[47.3036,80.606],[46.6774,80.5612],[45.3894,80.5603]]],[[[59.3063,80.6177],[59.5921,80.8165],[60.4815,80.8042],[61.5977,80.893],[62.2279,80.7943],[62.0758,80.617],[61.6816,80.5865],[61.0511,80.4186],[60.2785,80.4944],[59.6497,80.4311],[59.3063,80.6177]]],[[[49.0878,80.5157],[49.2447,80.8213],[50.1244,80.924],[50.8012,80.9141],[51.7039,80.6875],[50.9612,80.5403],[49.8459,80.4975],[49.5857,80.3766],[48.8961,80.3694],[49.0104,80.2075],[48.4668,80.1101],[47.6323,80.1121],[46.9907,80.1828],[46.6444,80.3002],[47.6561,80.5006],[48.4027,80.5689],[49.0878,80.5157]]],[[[60.8265,80.9297],[60.0583,80.9846],[60.587,81.0876],[61.5674,81.0503],[60.8265,80.9297]]],[[[54.3757,80.7871],[54.7189,81.116],[55.4704,81.0198],[56.17,81.0292],[57.694,80.7924],[56.8146,80.6636],[55.7125,80.6372],[55.1171,80.7519],[54.3757,80.7871]]],[[[58.1898,81.0947],[58.6226,81.0415],[58.8599,80.7794],[57.9375,80.7934],[57.2111,81.0171],[58.1898,81.0947]]],[[[63.1156,80.9668],[64.096,80.9982],[64.31,81.1751],[64.8021,81.1971],[65.3823,81.0567],[65.4372,80.9306],[64.5482,80.7555],[63.374,80.7001],[62.5206,80.8218],[63.1156,80.9668]]],[[[55.717,81.1885],[57.0915,81.5412],[57.7164,81.5647],[58.3717,81.3869],[57.451,81.1356],[56.8217,81.2379],[55.717,81.1885]]],[[[62.5315,81.6471],[62.7948,81.719],[63.7097,81.6873],[63.5287,81.5966],[62.5315,81.6471]]],[[[57.9648,81.6956],[58.1349,81.8279],[59.262,81.854],[59.3564,81.7589],[57.9648,81.6956]]]]},properties:{name:"Russia",id:"RU",Continent:"Europe"},id:"RU"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-5.3345,36.1624],[-5.3383,36.1123],[-5.3563,36.1263],[-5.3552,36.1452],[-5.3345,36.1624]]]},properties:{name:"Gibraltar",id:"GI",Continent:"Europe"},id:"GI"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[4.2262,51.3865],[4.1726,51.307],[3.9023,51.2075],[3.5806,51.2862],[3.4721,51.2423],[3.35,51.3776],[3.5894,51.3993],[3.8834,51.3545],[4.2262,51.3865]]],[[[4.2262,51.3865],[4.0065,51.4432],[3.8219,51.4094],[3.5872,51.4541],[3.4488,51.5408],[3.7437,51.596],[4.0807,51.5511],[4.1827,51.6103],[3.9472,51.8107],[4.0847,51.9941],[4.2091,52.0589],[4.4829,52.3092],[4.5624,52.4426],[4.678,52.8097],[4.769,52.9411],[5.0256,52.95],[5.1069,52.7746],[5.3073,52.7089],[5.0137,52.6223],[5.1205,52.388],[5.5613,52.5948],[5.5947,52.7638],[5.425,52.848],[5.3754,53.0956],[5.5318,53.2685],[6.0622,53.4072],[6.8163,53.4412],[6.9684,53.3271],[7.1974,53.2824],[7.1899,52.9996],[7.0132,52.6335],[6.7487,52.6339],[6.7491,52.4641],[7.0352,52.3802],[6.9772,52.2055],[6.7491,52.0987],[6.7416,51.9111],[6.3558,51.8246],[6.1664,51.8808],[5.9484,51.7625],[6.1932,51.4887],[6.0759,51.2239],[6.1303,51.1475],[5.8948,50.9843],[6.0486,50.9049],[5.9937,50.7504],[5.7973,50.7546],[5.694,50.7748],[5.8271,51.1257],[5.5085,51.2751],[5.3108,51.2598],[5.0999,51.3466],[5.0594,51.4532],[4.848,51.4033],[4.5035,51.4746],[4.2262,51.3865]]]]},properties:{name:"Netherlands",id:"NL",Continent:"Europe"},id:"NL"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[12.4392,41.8981],[12.4308,41.8972],[12.4308,41.9056],[12.4383,41.9065],[12.4392,41.8981]]]},properties:{name:"Vatican City",id:"VA",Continent:"Europe"},id:"VA"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[38.2144,47.0914],[37.5433,47.0744],[37.3399,46.9168],[37.2186,46.9173],[36.9317,46.825],[36.7946,46.7145],[36.6887,46.7642],[36.432,46.7328],[36.2795,46.6585],[36.0251,46.6666],[35.8268,46.6244],[35.4001,46.3816],[35.2305,46.4408],[35.0639,46.2671],[34.8495,46.1899],[34.8574,45.9874],[35.0231,45.7012],[35.3738,45.3535],[35.5579,45.3109],[35.8334,45.4015],[36.0131,45.3717],[36.1705,45.453],[36.5748,45.3935],[36.4505,45.2325],[36.3933,45.0654],[36.2298,45.026],[35.8699,45.0055],[35.6774,45.1019],[35.4727,45.0982],[35.3579,44.9784],[35.155,44.8963],[35.0877,44.8027],[34.7168,44.8071],[34.4698,44.7214],[34.2817,44.5383],[34.0743,44.4241],[33.9099,44.3877],[33.6559,44.4333],[33.4507,44.5537],[33.6124,44.9079],[33.5553,45.0978],[33.3927,45.1879],[33.1871,45.1947],[32.9186,45.3483],[32.6114,45.3282],[32.5081,45.4036],[33.1422,45.749],[33.2798,45.7651],[33.6648,45.947],[33.594,46.0963],[33.4301,46.0576],[33.2024,46.1758],[32.9418,46.1237],[32.4769,46.0837],[32.0357,46.2608],[32.0084,46.4299],[31.8779,46.5219],[32.3613,46.4748],[32.3538,46.5649],[32.1271,46.5975],[31.9746,46.7088],[31.7795,46.6315],[31.5325,46.6649],[31.3202,46.6123],[31.137,46.6244],[30.7964,46.5522],[30.7217,46.366],[30.5112,46.1054],[30.2194,45.8666],[29.8213,45.7322],[29.602,45.6825],[29.7268,45.3434],[29.7061,45.2599],[29.5677,45.3708],[29.4038,45.4197],[29.2236,45.4027],[28.7604,45.2342],[28.4511,45.2922],[28.2125,45.4502],[28.4712,45.5072],[28.4915,45.
426655],[28.7292,45.8521],[28.739,45.9374],[28.9476,46.0501],[29.0061,46.1767],[28.9274,46.4242],[29.1462,46.5267],[29.6152,46.399],[29.7519,46.4379],[29.838,46.3504],[30.1311,46.4229],[29.9241,46.5388],[29.9421,46.7237],[29.878,46.8291],[29.5721,46.9639],[29.515,47.0909],[29.5493,47.2467],[29.1599,47.4558],[29.123,47.5303],[29.2109,47.7314],[29.1947,47.8823],[28.9731,47.9329],[28.7741,48.1194],[28.3271,48.1617],[28.2911,48.2383],[28.0885,48.257],[27.82,48.4163],[27.5494,48.4776],[27.2285,48.3715],[26.8471,48.3871],[26.619,48.2596],[26.3056,48.2038],[26.1624,47.9925],[25.4641,47.9107],[25.1697,47.8228],[25.0739,47.7457],[24.8933,47.7178],[24.5786,47.9311],[24.1778,47.9059],[23.629,47.996],[23.4083,47.9898],[23.2027,48.0843],[22.8766,47.9472],[22.7689,48.1098],[22.5826,48.1342],[22.3506,48.2562],[22.2535,48.4075],[22.1322,48.4053],[22.1427,48.5686],[22.2952,48.6859],[22.5387,49.0726],[22.8098,49.0207],[22.7056,49.1712],[22.7325,49.295],[22.6494,49.5392],[23.0362,49.899],[23.7121,50.3774],[23.9731,50.4101],[24.0947,50.617],[23.9788,50.7856],[24.1058,50.8449],[23.9383,50.9926],[23.8636,51.1262],[23.6645,51.3101],[23.6053,51.5179],[23.7067,51.6413],[23.951,51.5852],[24.1268,51.6645],[24.3615,51.8676],[25.2672,51.9378],[25.9251,51.9137],[26.4534,51.8135],[27.1424,51.752],[27.2702,51.6135],[27.8587,51.5925],[28.0107,51.56],[28.1834,51.6078],[28.5992,51.5427],[28.6479,51.4566],[29.1357,51.6173],[29.3466,51.3824],[29.5532,51.4347],[30.1605,51.478],[30.3333,51.3255],[30.5446,51.2651],[30.6325,51.3553],[30.5332,51.5964],[30.6672,51.8141],[30.9805,52.0462],[31.2179,52.0503],[31.3457,52.1053],[31.7636,52.1011],[3
421.9742,52.0466],[32.2831,52.1141],[32.3627,52.2721],[32.5081,52.3085],[32.9001,52.2563],[33.1484,52.3404],[33.7355,52.3448],[33.9223,52.2514],[34.113,51.9796],[34.3978,51.7806],[34.3792,51.7166],[34.1209,51.6793],[34.2808,51.3116],[34.7124,51.1724],[35.0639,51.2033],[35.158,51.0609],[35.3122,51.0438],[35.4401,50.7279],[35.4116,50.5398],[35.674,50.346],[35.8901,50.4371],[36.1165,50.4086],[36.3059,50.2804],[36.5001,50.2804],[36.6192,50.2093],[36.7593,50.2919],[37.4229,50.4114],[37.5825,50.2919],[37.7042,50.1089],[38.047,49.9201],[38.2588,50.0524],[38.4513,49.9641],[38.6477,49.9528],[38.9184,49.8248],[39.1746,49.856],[39.3029,49.7421],[39.4628,49.728],[39.7807,49.572],[40.0307,49.5966],[40.126,49.3688],[40.0702,49.2003],[39.89,49.064],[39.6866,49.0078],[39.793,48.8076],[39.6448,48.5912],[39.8356,48.5429],[39.9608,48.2378],[39.8852,48.1683],[39.7358,47.8445],[39.3908,47.8336],[38.9004,47.8554],[38.7189,47.7143],[38.2873,47.5592],[38.2012,47.321],[38.2807,47.2766],[38.2144,47.0914]]]},properties:{name:"Ukraine",id:"UA",Continent:"Europe"},id:"UA"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[25.9699,40.1364],[25.7405,40.1056],[25.7409,40.1965],[25.9185,40.2383],[25.9699,40.1364]]],[[[41.5103,41.5175],[41.8236,41.4323],[41.9256,41.4956],[42.2112,41.4868],[42.4661,41.4397],[42.5676,41.5593],[42.7878,41.5637],[43.1491,41.3071],[43.2052,41.199],[43.3591,41.1901],[43.439,41.1071],[43.6315,40.9287],[43.7225,40.7196],[43.6681,40.5741],[43.5691,40.4821],[43.7102,40.1667],[43.792,40.0704],[44.0051,40.0142],[44.2894,40.0405],[44.5605,39.8876],[44.7684,39.7035],[44.8172,39.6503],[44.5874,39.7685],[44.456,39.667],[44.3891,39.4223],[44.0231,39.3774],[44.0789,39.2183],[44.1778,39.1449],[44.1448,38.9942],[44.2714,38.836],[44.2568,38.7006],[44.2907,38.4199],[44.4309,38.357],[44.3294,38.1092],[44.2112,37.9084],[44.5614,37.7449],[44.5737,37.4355],[44.7939,37.2904],[44.7666,37.156],[44.6058,37.1762],[44.2819,36.978],[44.2019,37.0518],[44.2085,37.203],[44.0134,37.3133],[43.8368,37.2237],[43.516,37.2448],[43.0927,37.3673],[42.9367,37.3247],[42.7746,37.3717],[42.456,37.1287],[42.3589,37.1085],[42.2683,37.2764],[42.06,37.2061],[41.5155,37.0891],[41.2646,37.069],[40.9587,37.1089],[40.7057,37.0975],[40.0166,36.826],[39.6866,36.7386],[39.3569,36.6819],[38.7668,36.6933],[38.4438,36.8625],[38.1915,36.9015],[37.4366,36.6436],[37.0661,36.6528],[36.9417,36.7582],[36.6582,36.8022],[36.5967,36.7011],[36.5375,36.4576],[36.6416,36.2634],[36.3758,36.1711],[36.3476,36.0033],[36.2021,35.9378],[36.1274,35.8314],[35.9675,35.9101],[35.9569,35.998],[35.8111,36.3096],[35.8831,36.4063],[36.1881,36.6589],[36.1797,36.8074],[36.0488,36.9108],[35.6608,36.7245],[35.5376,36.597],[35.393,36.5751],[35.176,36.6348],[34.8112,36.7992],[34.6012,36.7846],[34.2997,36.604],[34.0233,36.3408],[33.6946,36.1817],[33.0996,36.103],[32.9295,36.0956],[32.7947,36.0358],[32.5335,36.1004],[32.3776,36.1834],[32.0221,36.535],[31.7777,36.6129],[31.3523,36.801],[30.6439,36.8655],[30.582,36.7969],[30.5583,36.5257],[30.484,36.3105],[30.3873,36.2433],[30.2317,36.3074],[30.0837,36.2494],[29.6895,36.1566],[29.3484,36.2586],[29.1432,36.397],[29.0382,36.6937],[28.7174,36.7008],[28.4835,36.8035],[28.3038,36.8124],[28.1957,36.6862],[28.0841,36.7512],[27.8038,36.7368],[27.6557,36.6748],[27.631,36.7869],[27.9347,36.8092],[28.0828,36.9204],[28.1338,37.0299],[27.6683,37.0075],[27.349,37.0193],[27.2496,37.0791],[27.5353,37.1639],[27.5198,37.2491],[27.2192,37.3894],[27.2039,37.4913],[27.0778,37.6877],[27.2245,37.7251],[27.2324,37.9786],[26.9437,38.063],[26.6827,38.1983],[26.5825,38.1491],[26.2908,38.2771],[26.4295,38.441],[26.3778,38.6242],[26.5864,38.557],[26.5948,38.4185],[26.8612,38.3728],[26.9068,38.4818],[26.7636,38.7099],[26.909,38.7758],[27.0136,38.887],[26.815,38.9612],[26.8537,39.1155],[26.6818,39.2922],[26.9108,39.5172],[26.8268,39.5628],[26.1132,39.4676],[26.1544,39.6564],[26.1813,39.99],[26.3136,40.0251],[26.4753,40.1974],[26.7376,40.4001],[27.0123,40.396],[27.2848,40.4559],[27.4754,40.3196],[27.7282,40.3288],[28.2893,40.4031],[28.6304,40.3767],[29.007,40.3899],[28.7877,40.534],[28.9581,40.6308],[29.8006,40.7604],[29.3647,40.8096],[29.0456,41.0074],[29.0945,41.1774],[29.322,41.2275],[29.9193,41.1506],[30.3451,41.1967],[30.8101,41.0851],[31.2548,41.1076],[31.4582,41.3198],[32.0862,41.5892],[32.3064,41.7298],[32.5424,41.8063],[32.9466,41.8915],[33.3817,42.0176],[34.1929,41.9636],[34.7506,41.957],[35.0068,42.0634],[35.155,42.0274],[35.122,41.891],[35.2978,41.7289],[35.5579,41.634],[35.9195,41.7136],[36.0514,41.6824],[36.1793,41.4266],[36.2786,41.3365],[36.5097,41.2627],[36.6473,41.3523],[36.7778,41.3633],[36.9923,41.2754],[37.0661,41.1844],[37.4309,41.1141],[37.7658,41.079],[37.9103,41.002],[38.3809,40.9243],[38.5567,40.9362],[38.852,41.0175],[39.4264,41.1062],[39.8078,40.9827],[40.1282,40.9432],[40.2653,40.9612],[40.9596,41.2117],[41.4141,41.4239],[41.5103,41.5175]]],[[[28.0142,41.9689],[27.9875,41.8546],[28.1979,41.5544],[28.3465,41.4666],[28.9467,41.2486],[29.0571,41.2297],[28.9565,41.0082],[28.7802,40.974],[28.172,41.0808],[27.9251,40.9906],[27.7471,41.0131],[27.4997,40.9731],[27.4303,40.8399],[27.2579,40.6875],[26.7719,40.4985],[26.4678,40.2616],[26.3298,40.1236],[26.2537,40.3143],[26.4476,40.4448],[26.7201,40.5445],[26.7922,40.6263],[26.1052,40.6114],[26.0394,40.7269],[26.1093,40.7494],[26.3311,40.9546],[26.3307,41.2385],[26.6247,41.4016],[26.5812,41.6015],[26.3211,41.7166],[26.3605,41.8015],[26.5113,41.8265],[26.6155,41.965],[26.8849,41.9921],[27.0118,42.0586],[27.2948,42.0796],[27.5348,41.921],[27.8789,41.9864],[28.0142,41.9689]]]]},properties:{name:"Türkiye",id:"TR",Continent:"Europe"},id:"TR"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[24.1559,65.8052],[23.6914,65.8286],[23.2211,65.7861],[23.1025,65.7353],[22.7465,65.8709],[22.3664,65.8428],[22.254,65.5974],[21.9204,65.5323],[21.8794,65.4242],[21.5657,65.4082],[21.5059,65.2454],[21.5741,65.1258],[21.1382,64.8086],[21.2792,64.7248],[21.4651,64.3797],[21.0182,64.1779],[20.7624,63.8679],[20.2047,63.6625],[19.9133,63.6106],[19.7222,63.4632],[19.354,63.4775],[19.0345,63.2377],[18.6064,63.1782],[18.4632,62.8959],[17.8954,62.8304],[17.9745,62.7212],[17.8347,62.5028],[17.3733,62.4265],[17.5632,62.2123],[17.3742,61.8664],[17.4173,61.74
4207],[17.1308,61.5758],[17.2512,60.7009],[17.5553,60.6428],[17.6612,60.5351],[17.956,60.5898],[18.2505,60.3616],[18.5572,60.2536],[18.5357,60.153],[18.787,60.0794],[18.9334,59.9423],[18.9707,59.7572],[18.217,59.4204],[17.9644,59.3594],[17.7728,59.4141],[17.8084,59.5532],[17.372,59.4958],[17.0627,59.5692],[16.5735,59.6116],[16.4729,59.5195],[16.7423,59.4307],[16.9142,59.4457],[17.3707,59.295],[17.8761,59.2708],[18.5089,59.4081],[18.2853,59.1093],[17.829,58.9546],[17.4568,58.8586],[17.3478,58.7803],[16.9778,58.654],[16.6394,58.6512],[16.9238,58.4925],[16.6521,58.4343],[16.77,58.2142],[16.7001,58.1607],[16.6949,57.9175],[16.5555,57.8123],[16.6521,57.5007],[16.476,57.2651],[16.5278,57.0681],[16.3485,56.7092],[16.1507,56.5006],[15.9965,56.2228],[15.8264,56.1249],[15.6269,56.1856],[15.3268,56.1506],[14.7819,56.1619],[14.755,56.0331],[14.5587,56.0488],[14.2155,55.8325],[14.2027,55.7291],[14.3416,55.5278],[14.1741,55.3966],[13.8063,55.4287],[13.3211,55.3465],[12.8856,55.4115],[12.9779,55.6938],[12.5925,56.1377],[12.8017,56.264],[12.6563,56.4407],[12.8575,56.4523],[12.8834,56.6178],[12.7173,56.6629],[12.4215,56.9064],[11.9614,57.4262],[11.8784,57.6795],[11.7347,57.7178],[11.7031,57.9731],[11.5492,58.0012],[11.4495,58.1183],[11.4315,58.3401],[11.272,58.4756],[11.2078,58.8666],[11.1472,58.9887],[11.3884,59.0365],[11.4706,58.9096],[11.6428,58.926],[11.7985,59.2899],[11.6806,59.5923],[11.834,59.6973],[11.9325,59.8636],[12.1693,59.9128],[12.4862,60.1068],[12.5886,60.4507],[12.3144,60.8922],[12.2941,61.0027],[12.6831,61.0468],[12.8808,61.3522],[12.5961,61.5414],[12.1557,61.7208],[12.3033,62.2856],[12.1148,62.592],[12.1087,62.9193],[12.2181,63.0006],[11.9997,63.2916],[12.2119,63.4924],[12.175,63.5959],[12.6624,63.9404],[12.9876,64.0505],[13.2996,64.0747],[13.9606,64.014],[14.1412,64.1735],[14.0774,64.4641],[13.6503,64.5816],[14.1152,64.9461],[14.4799,65.3014],[14.6351,65.845],[14.5432,66.1294],[15.1532,66.1909],[15.4837,66.306],[15.4231,66.4899],[16.4034,67.0551],[16.4342,67.155],[16.1275,67.4259],[16.1939,67.505],[16.5854,67.6283],[16.7835,67.895],[17.3246,68.1038],[17.9169,67.9649],[18.1767,68.2007],[18.1626,68.5285],[18.3784,68.5624],[19.0529,68.4927],[19.9696,68.3565],[20.2403,68.4773],[19.9688,68.542],[20.3195,68.754],[20.3375,68.8996],[20.1168,69.021],[20.6222,69.037],[21.4651,68.6907],[21.9976,68.5207],[22.7821,68.391],[23.0981,68.2574],[23.639,67.9544],[23.5019,67.8753],[23.537,67.5903],[23.4682,67.4501],[23.7335,67.4229],[23.7749,67.3286],[23.6233,67.1843],[23.6773,67.068],[23.9884,66.8107],[23.8654,66.5767],[23.701,66.4809],[23.7515,66.1911],[23.9071,66.1482],[24.1559,65.8052]]],[[[19.0766,57.836],[18.8139,57.7061],[18.7844,57.3612],[18.7,57.2427],[18.2853,57.0832],[18.105,57.2719],[18.1366,57.5565],[18.5374,57.8305],[18.8411,57.9002],[19.0766,57.836]]],[[[16.5287,56.2906],[16.4012,56.3109],[16.4127,56.5689],[16.6302,56.8768],[16.7783,56.8053],[16.5287,56.2906]]]]},properties:{name:"Sweden",id:"SE",Continent:"Europe"},id:"SE"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[16.5164,46.4996],[16.3208,46.5348],[16.2272,46.3726],[15.6362,46.2006],[15.6665,46.0487],[15.6248,45.8338],[15.2771,45.7326],[15.3395,45.4671],[15.1106,45.4507],[14.7335,45.5084],[14.5341,45.6451],[14.3701,45.4814],[14.0858,45.4779],[13.8788,45.4287],[13.5778,45.517],[13.7197,45.5876],[13.8313,45.6803],[13.5699,45.8342],[13.6142,45.9617],[13.4864,46.0393],[13.6323,46.1771],[13.3998,46.225],[13.3994,46.3177],[13.6797,46.4629],[13.6999,46.5201],[14.5037,46.417],[14.7568,46.4992],[15.0007,46.6262],[15.4393,46.6297],[15.7672,46.7114],[15.9574,46.6776],[15.9772,46.8015],[16.0928,46.8633],[16.2839,46.8573],[16.3815,46.6387],[16.5164,46.4996]]]},properties:{name:"Slovenia",id:"SI",Continent:"Europe"},id:"SI"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[22.5387,49.0726],[22.2952,48.6859],[22.1427,48.5686],[22.1322,48.4053],[21.767,48.3383],[21.4515,48.5523],[21.0669,48.5062],[20.8665,48.5455],[20.4899,48.5268],[20.3339,48.2956],[19.8989,48.1313],[19.6255,48.2234],[19.4669,48.1107],[18.914,48.0506],[18.7919,48.0003],[18.7242,47.787],[18.1455,47.7635],[17.7618,47.7701],[17.6352,47.8101],[17.3171,47.9907],[17.1474,48.0059],[16.9725,48.1981],[16.8627,48.4414],[16.9532,48.5989],[17.0631,48.7809],[17.1884,48.861],[17.4828,48.8276],[17.7583,48.8881],[18.0861,49.0651],[18.1608,49.2575],[18.3648,49.3361],[18.5964,49.4914],[18.8323,49.5107],[18.9685,49.3962],[19.1496,49.4],[19.2502,49.5114],[19.4414,49.597
425],[19.6637,49.396],[19.7741,49.3721],[19.8022,49.1924],[20.0575,49.1812],[20.1638,49.3163],[20.363,49.3853],[20.616,49.3917],[20.9474,49.317],[21.0797,49.4183],[21.6396,49.4121],[21.8901,49.3436],[22.0201,49.2095],[22.5387,49.0726]]]},properties:{name:"Slovakia",id:"SK",Continent:"Europe"},id:"SK"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[20.2421,46.1086],[20.3585,45.9754],[20.7752,45.7499],[20.7743,45.4845],[20.9421,45.3656],[21.2265,45.2412],[21.4317,45.1925],[21.4919,45.1224],[21.357,44.991],[21.3846,44.8701],[21.636,44.7104],[21.9094,44.666],[22.093,44.5423],[22.351,44.6761],[22.4978,44.7065],[22.721,44.6056],[22.5022,44.4895],[22.5307,44.3779],[22.7052,44.2377],[22.5971,44.0751],[22.4209,44.0075],[22.3656,43.8621],[22.395,43.7069],[22.5544,43.4547],[22.7676,43.3545],[22.9768,43.1879],[22.9421,43.0974],[22.7065,42.8838],[22.4666,42.8425],[22.4362,42.6289],[22.5237,42.4412],[22.344,42.3139],[22.2399,42.3583],[22.0522,42.3046],[21.904,42.3222],[21.5626,42.2474],[21.753,42.6698],[21.3908,42.7515],[21.4031,42.8315],[21.237,42.9128],[21.0569,43.0917],[20.8442,43.1735],[20.7633,43.2582],[20.6231,43.1985],[20.624,43.0341],[20.3445,42.828],[20.3401,42.893],[19.9441,43.0815],[19.7811,43.1097],[19.5517,43.212],[19.4146,43.3425],[19.2185,43.4502],[19.1944,43.5333],[19.4515,43.5618],[19.4879,43.7034],[19.2449,43.9649],[19.5496,43.9873],[19.5838,44.0436],[19.339,44.2254],[19.1518,44.3023],[19.1513,44.5273],[19.292,44.6965],[19.357,44.8587],[19.237,44.914],[19.0072,44.8693],[19.1003,44.9736],[19.063,45.1373],[19.3882,45.1729],[19.3303,45.2678],[19.0046,45.3997],[19.0551,45.5272],[18.8393,45.8356],[18.9052,45.9314],[19.0872,46.0162],[19.2085,45.9843],[19.3927,46.0496],[19.5307,46.1553],[20.1617,46.1419],[20.2421,46.1086]]]},properties:{name:"Serbia",id:"RS",Continent:"Europe"},id:"RS"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[12.4853,43.9016],[12.3969,43.9345],[12.4409,43.9824],[12.5148,43.953],[12.4853,43.9016]]]},properties:{name:"San Marino",id:"SM",Continent:"Europe"},id:"SM"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[28.2125,45.4502],[28.4511,45.2922],[28.7604,45.2342],[29.2236,45.4027],[29.4038,45.4197],[29.5677,45.3708],[29.7061,45.2599],[29.6349,44.9798],[29.5576,44.8436],[29.0483,44.7574],[28.9262,44.8101],[28.8075,44.5651],[28.8519,44.5063],[28.6453,44.2957],[28.6584,43.9838],[28.5855,43.7421],[28.4234,43.7403],[28.0499,43.8225],[27.8846,43.9873],[27.4253,44.0207],[27.0865,44.1675],[26.4894,44.0839],[26.2161,44.007],[25.9335,43.8704],[25.8192,43.7667],[25.497,43.6709],[25.16,43.6863],[24.4305,43.7948],[24.2266,43.7636],[23.9506,43.7865],[23.5349,43.8537],[23.2242,43.8739],[22.9192,43.8344],[22.8682,43.9477],[23.0287,44.0778],[22.7052,44.2377],[22.5307,44.3779],[22.5022,44.4895],[22.721,44.6056],[22.4978,44.7065],[22.351,44.6761],[22.093,44.5423],[21.9094,44.666],[21.636,44.7104],[21.3846,44.8701],[21.357,44.991],[21.4919,45.1224],[21.4317,45.1925],[21.2265,45.2412],[20.9421,45.3656],[20.7743,45.4845],[20.7752,45.7499],[20.3585,45.9754],[20.2421,46.1086],[20.5083,46.1667],[20.6135,46.1336],[20.8371,46.2595],[21.0401,46.2421],[21.1518,46.3043],[21.3201,46.608],[21.4971,46.7044],[21.4945,46.7895],[21.7854,47.1379],[21.8694,47.3045],[21.9955,47.3959],[21.9999,47.5051],[22.2904,47.7279],[22.6767,47.7989],[22.8766,47.9472],[23.2027,48.0843],[23.4083,47.9898],[23.629,47.996],[24.1778,47.9059],[24.5786,47.9311],[24.8933,47.7178],[25.0739,47.7457],[25.1697,47.8228],[25.4641,47.9107],[26.1624,47.9925],[26.3056,48.2038],[26.619,48.2596],[26.7873,48.2557],[26.9806,48.1551],[27.152,47.9593],[27.3367,47.6396],[27.6139,47.3403],[27.8539,47.1144],[28.0718,46.9787],[28.2397,46.641],[28.2445,46.4513],[28.1192,46.1389],[28.0995,45.9727],[28.1597,45.6468],[28.0749,45.599],[28.2125,45.4502]]]},properties:{name:"Romania",id:"RO",Continent:"Europe"},id:"RO"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-17.1907,32.8687],[-17.0545,32.8159],[-16.9291,32.8414],[-16.6933,32.7579],[-16.8374,32.6485],[-17.0182,32.6626],[-17.171,32.7219],[-17.1907,32.8687]]],[[[-25.6489,37.841],[-25.2666,37.8485],[-25.251,37.7351],[-25.4391,37.7154],[-25.7344,37.7629],[-25.6489,37.841]]],[[[-28.1472,38.4528],[-28.2311,38.3843],[-28.4544,38.4089],[-28.4023,38.5535],[-28.1472,38.4528]]],[[[-27.0751,38.6435],[-27.303,38.6611],[-27.2597,38.8026],[-27.042,38.7416],[-27.0751,38.6435]]],[[[-7.4061,37.1793],[-7.4936,37.1683],[-7.8342,37.0057],[-8.1367,37.0773],[-8.5977,37.1212],[-8.9978,37.0325],[-8.8141,37.4311],[-8.7917,37.733],[-8.8789,37.9589],[-8.8025,38.1839],[-8.8108,38.2994],[-8.9148,38.5121],[-9.2131,38.4479],[-9.2505,38.6567],[-9.4742,38.7305],[-9.4749,38.8527],[-9.3529,39.2483],[-9.3749,39.3383],[-9.1481,39.5427],[-8.8378,40.1157],[-8.8867,40.1794],[-8.7724,40.6057],[-8.6845,40.7524],[-8.6557,41.0298],[-8.7385,41.2846],[-8.8108,41.6521],[-8.8875,41.7646],[-8.777,41.9407],[-8.5382,42.0691],[-8.2132,42.1337],[-8.1299,42.0181],[-8.2246,41.8955],[-8.1525,41.812],[-7.9207,41.8837],[-7.6931,41.8885],[-7.4037,41.8336],[-7.0304,41.9509],[-6.6182,41.942],[-6.5573,41.8744],[-6.5422,41.6722],[-6.3917,41.6652],[-6.2126,41.5321],[-6.4031,41.3756],[-6.69,41.2147],[-6.9284,41.0091],[-6.8577,40.8781],[-6.8183,40.654],[-6.848,40.411],[-6.8102,40.3429],[-7.0146,40.2084],[-6.9163,40.0572],[-6.9113,39.9372],[-7.0368,39.714],[-7.1176,39.6815],[-7.454,39.6806],[-7.4452,39.5365],[
42-7.3356,39.4653],[-7.3059,39.3378],[-7.1723,39.1353],[-6.9979,39.0566],[-7.0462,38.9067],[-7.2815,38.7147],[-7.3431,38.4572],[-7.1064,38.1812],[-7.0229,38.045],[-7.1855,38.0063],[-7.4441,37.7281],[-7.5037,37.5853],[-7.4061,37.1793]]]]},properties:{name:"Portugal",id:"PT",Continent:"Europe"},id:"PT"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[19.6045,54.459],[20.2082,54.4208],[22.1682,54.3599],[22.7663,54.3568],[23.0155,54.3482],[23.4536,54.1435],[23.4844,53.9398],[23.5991,53.5992],[23.7889,53.2709],[23.8874,53.0274],[23.9155,52.7704],[23.8447,52.6642],[23.4796,52.5515],[23.204,52.3379],[23.197,52.2569],[23.5982,52.1031],[23.6522,52.0402],[23.6258,51.8093],[23.545,51.7103],[23.6053,51.5179],[23.6645,51.3101],[23.8636,51.1262],[23.9383,50.9926],[24.1058,50.8449],[23.9788,50.7856],[24.0947,50.617],[23.9731,50.4101],[23.7121,50.3774],[23.0362,49.899],[22.6494,49.5392],[22.7325,49.295],[22.7056,49.1712],[22.8098,49.0207],[22.5387,49.0726],[22.0201,49.2095],[21.8901,49.3436],[21.6396,49.4121],[21.0797,49.4183],[20.9474,49.317],[20.616,49.3917],[20.363,49.3853],[20.1638,49.3163],[20.0575,49.1812],[19.8022,49.1924],[19.7741,49.3721],[19.6637,49.396],[19.4414,49.5975],[19.2502,49.5114],[19.1496,49.4],[18.9685,49.3962],[18.8323,49.5107],[18.8068,49.6139],[18.5946,49.7578],[18.562,49.8792],[18.3054,49.9142],[18.0282,50.0352],[17.8747,49.9721],[17.5891,50.1574],[17.7201,50.2987],[17.415,50.2547],[17.1519,50.3784],[16.8693,50.4145],[16.9937,50.2595],[16.6794,50.0974],[16.2105,50.4237],[16.4198,50.5738],[16.2826,50.6555],[16.007,50.6116],[15.7307,50.7397],[15.3541,50.812],[15.2587,50.9586],[14.9937,51.0144],[14.9827,50.8867],[14.8096,50.859],[14.9638,51.095],[15.0166,51.2528],[14.9058,51.4632],[14.7247,51.5239],[14.7384,51.6272],[14.6017,51.8324],[14.7529,52.0817],[14.7054,52.2074],[14.5546,52.3597],[14.6197,52.5285],[14.5138,52.6456],[14.1288,52.8783],[14.3688,53.1055],[14.4145,53.2834],[14.2585,53.7295],[14.4879,53.6719],[14.5582,53.8231],[14.2137,53.8708],[14.211,53.9503],[14.3842,53.9246],[14.716,54.0182],[15.9002,54.254],[16.1864,54.2905],[16.5599,54.5539],[16.8851,54.5966],[17.2622,54.7294],[17.8431,54.8167],[18.3234,54.8382],[18.4363,54.7446],[18.6697,54.4309],[18.9764,54.3489],[19.4071,54.386],[19.6045,54.459]]]},properties:{name:"Poland",id:"PL",Continent:"Europe"},id:"PL"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[20.8982,80.2498],[22.3761,80.0897],[22.4508,80.4021],[23.3156,80.4252],[23.1148,80.1868],[23.6878,80.2066],[23.9528,80.3048],[25.4715,80.2329],[25.8363,80.1751],[26.8607,80.16],[27.1987,79.9067],[26.0059,79.617],[25.6412,79.403],[24.7505,79.3646],[23.9476,79.1943],[22.9039,79.2308],[22.6956,79.329],[21.9115,79.3811],[20.8613,79.3977],[19.6748,79.5911],[20.4935,79.6326],[20.7839,79.7484],[20.1234,79.7786],[19.3996,79.7264],[18.7251,79.7607],[18.2553,79.9292],[18.3436,80.0596],[17.9169,80.1431],[19.3544,80.1853],[19.8106,80.3269],[20.3594,80.401],[20.8982,80.2498]]],[[[16.7867,79.9069],[17.5781,79.8849],[18.2721,79.6005],[18.5814,79.5716],[18.8328,79.3848],[18.7721,79.2602],[19.0894,79.1571],[20.4583,79.1292],[20.501,78.9813],[21.3891,78.7405],[21.0963,78.6764],[19.7687,78.6228],[19.0555,78.3189],[18.9949,78.0816],[18.4395,78.0251],[18.3621,77.6821],[18.2281,77.5226],[17.6234,77.3993],[17.1522,77.0491],[17.2494,76.9693],[16.9766,76.8118],[17.0627,76.6591],[16.7006,76.5793],[15.547,76.8863],[15.1242,77.0851],[14.3658,77.2345],[14.0045,77.4453],[14.0713,77.5641],[14.6949,77.525],[14.9212,77.6889],[16.2062,77.7825],[17.0336,77.7977],[16.853,77.9115],[16.0598,77.8472],[15.5857,77.8691],[14.6039,77.7665],[14.0902,77.7713],[13.7914,77.8538],[13.6806,78.028],[14.9945,78.1513],[15.6568,78.2989],[16.7769,78.3505],[16.4487,78.5037],[15.4174,78.4732],[15.1369,78.6643],[14.4672,78.6755],[14.4316,78.4924],[14.6382,78.4147],[14.1104,78.2708],[13.1502,78.2376],[12.6646,78.3848],[12.2581,78.5947],[11.7738,78.7164],[11.8609,78.8319],[11.3656,78.9504],[12.0458,78.9834],[11.8929,79.1523],[11.2082,79.1297],[10.7376,79.5201],[10.6862,79.7337],[10.8659,79.7966],[12.2796,79.8159],[12.7533,79.7759],[13.6929,79.8611],[13.7777,79.7153],[13.0394,79.685],[13.384,79.4808],[14.0559,79.3833],[14.0397,79.5856],[14.5938,79.7987],[15.0526,79.6753],[15.6599,79.2349],[16.2536,79.1121],[15.8752,79.5192],[15.8164,79.6818],[16.1003,79.8845],[16.7867,79.9069]]],[[[21.6084,78.5958],[22.0434,78.5769],[22.2991,78.2281],[22.9886,78.2519],[23.4523,78.1495],[23.1166,77.9915],[23.6839,77.8755],[24.2384,77.8985],[24.902,77.7566],[24.1299,77.6582],[23.8417,77.4978],[22.8019,77.2758],[22.4271,77.316],[22.4481,77.5712],[22.057,77.5011],[21.0498,77.4408],[20.8731,77.5652],[21.201,77.6195],[21.6084,77.9162],[21.0357,78.059],[20.7866,78.2521],[20.228,78.478],[21.6084,78.5958]]],[[[-8.9534,70.8392],[-8.9647,70.9158],[-8.5208,71.0308],[-8.3437,71.1402],[-8.0013,71.1776],[-8.002,71.0411],[-8.6353,70.9405],[
42-8.9534,70.8392]]]]},properties:{name:"Svalbard and Jan Mayen",id:"SJ",Continent:"Europe"},id:"SJ"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[19.2551,70.0664],[19.5926,69.9701],[19.3346,69.8203],[19.1307,69.8104],[18.7844,69.579],[18.2742,69.5355],[18.0835,69.6263],[18.3493,69.7678],[19.2551,70.0664]]],[[[17.5029,69.5962],[18.0043,69.505],[18.0765,69.3958],[17.9508,69.198],[17.3237,69.1299],[16.9716,69.138],[17.0019,69.362],[17.3606,69.3815],[17.2521,69.5037],[17.5029,69.5962]]],[[[15.7606,68.5613],[16.0594,68.6806],[16.1507,68.8423],[16.3292,68.8764],[16.5476,68.7164],[16.5195,68.6331],[16.1943,68.5384],[15.9126,68.3892],[15.4375,68.313],[14.9269,68.3066],[14.629,68.1985],[14.2572,68.2567],[14.5858,68.4004],[15.0956,68.4415],[15.4129,68.6158],[15.5641,68.874],[15.4828,69.0434],[15.8928,69.278],[16.1147,69.2163],[15.812,69.0243],[15.9275,68.7331],[15.7606,68.5613]]],[[[15.2072,68.9432],[15.3967,68.7834],[15.2218,68.6164],[14.5204,68.6331],[14.3731,68.7114],[14.8724,68.9137],[15.2072,68.9432]]],[[[13.8731,68.2653],[14.0291,68.1875],[13.2293,67.9955],[13.1994,68.0873],[13.5378,68.249],[13.8731,68.2653]]],[[[11.2316,64.8659],[10.8329,64.8431],[10.8132,64.9233],[11.1326,64.9762],[11.2316,64.8659]]],[[[25.5863,71.1422],[25.9449,71.1046],[26.1339,70.9959],[25.5819,70.9609],[25.3151,71.0341],[25.5863,71.1422]]],[[[30.8694,69.7834],[30.8606,69.5384],[30.6154,69.5327],[30.2278,69.6338],[29.9944,69.3925],[29.3884,69.2982],[29.21,69.0972],[28.9656,69.0218],[28.8461,69.1767],[29.3335,69.4731],[29.1414,69.6716],[28.412,69.8227],[27.8899,70.0618],[27.592,70.0422],[27.1085,69.9047],[26.5258,69.915],[26.0116,69.6527],[25.7488,69.2314],[25.7484,68.9902],[25.3573,68.8625],[24.9416,68.5933],[23.854,68.8058],[23.7067,68.7138],[23.324,68.649],[22.4107,68.7197],[22.3,68.8559],[21.6219,69.2708],[21.2669,69.2739],[21.0524,69.1866],[21.128,69.081],[20.6222,69.037],[20.1168,69.021],[20.3375,68.8996],[20.3195,68.754],[19.9688,68.542],[20.2403,68.4773],[19.9696,68.3565],[19.0529,68.4927],[18.3784,68.5624],[18.1626,68.5285],[18.1767,68.2007],[17.9169,67.9649],[17.3246,68.1038],[16.7835,67.895],[16.5854,67.6283],[16.1939,67.505],[16.1275,67.4259],[16.4342,67.155],[16.4034,67.0551],[15.4231,66.4899],[15.4837,66.306],[15.1532,66.1909],[14.5432,66.1294],[14.6351,65.845],[14.4799,65.3014],[14.1152,64.9461],[13.6503,64.5816],[14.0774,64.4641],[14.1412,64.1735],[13.9606,64.014],[13.2996,64.0747],[12.9876,64.0505],[12.6624,63.9404],[12.175,63.5959],[12.2119,63.4924],[11.9997,63.2916],[12.2181,63.0006],[12.1087,62.9193],[12.1148,62.592],[12.3033,62.2856],[12.1557,61.7208],[12.5961,61.5414],[12.8808,61.3522],[12.6831,61.0468],[12.2941,61.0027],[12.3144,60.8922],[12.5886,60.4507],[12.4862,60.1068],[12.1693,59.9128],[11.9325,59.8636],[11.834,59.6973],[11.6806,59.5923],[11.7985,59.2899],[11.6428,58.926],[11.4706,58.9096],[11.3884,59.0365],[11.366,59.1046],[10.8347,59.184],[10.6449,59.3892],[10.6343,59.6026],[10.3983,59.5193],[10.4313,59.2796],[10.1795,59.0094],[9.6183,58.9461],[9.3959,58.8056],[8.9284,58.5701],[8.5215,58.3005],[8.1663,58.1452],[7.4659,58.021],[7.0049,58.0243],[6.6599,58.2629],[6.3888,58.2679],[5.7067,58.5235],[5.5173,58.7265],[5.5555,58.9752],[5.854,58.9595],[5.9686,59.1862],[5.8452,59.3534],[5.5643,59.2913],[5.3622,59.1665],[5.1315,59.2264],[5.1851,59.4536],[5.3051,59.6426],[5.4725,59.7131],[5.7722,59.6609],[5.8675,59.7338],[5.7304,59.8629],[6.1119,60.1321],[6.1405,60.2334],[6.518,60.4074],[6.6612,60.3673],[6.8063,60.5008],[6.3465,60.419],[6.1532,60.3461],[5.6988,60.01],[5.4945,59.8256],[5.2343,59.6918],[5.1196,59.8337],[5.2053,60.0879],[5.4945,60.0704],[5.1838,60.3085],[5.1372,60.4456],[5.244,60.5695],[5.0493,60.7075],[5.0084,61.0383],[5.3244,61.1081],[5.0216,61.2508],[5.0027,61.4335],[5.2585,61.4555],[4.9276,61.7108],[4.9847,61.9005],[5.465,61.8969],[6.0157,61.7876],[6.1312,61.8524],[5.4734,61.9456],[5.1596,61.957],[5.1434,62.1599],[5.3578,62.1519],[5.5336,62.3109],[6.1185,62.4471],[6.3531,62.6113],[6.7447,62.6379],[7.2839,62.6023],[7.5384,62.6719],[7.2422,62.7524],[6.7799,62.7007],[6.7812,62.7897],[7.0084,62.9576],[7.3889,63.0233],[7.5718,63.0996],[8.1004,63.0909],[8.2714,63.2865],[8.5799,63.3133],[8.5939,63.4263],[8.3979,63.535],[8.8422,63.646],[9.3234,63.5704],[9.697,63.6247],[10.0802,63.4329],[10.3399,63.4695],[10.7604,63.4612],[10.7253,63.6251],[11.3708,63.8048],[11.1753,63.8989],[10.9142,63.9211],[10.9349,63.7701],[10.339,63.5711],[9.9241,63.5219],[9.7672,63.6996],[9.5673,63.7062],[9.7079,63.8651],[9.8648,63.9178],[10.0099,64.083],[10.2362,64.1797],[10.5653,64.4183],[10.8343,64.4944],[11.2254,64.6796],[11.3498,64.9059],[11.489,64.9758],[12.1597,65.1788],[12.1223,65.3625],[12.2726,65.5682],[12.6277,65.8061],[12.6892,65.9021],[12.9761,66.0193],[12.7837,66.1003],[13.119,66.2306],[13.1045,66.5394],[13.3119,66.702],[13.6213,66.7949],[13.6516,66.9072],[13.8801,66.965],[14.1086,67.1194],[14.7753,67.1946],[15.416,67.2023],[15.4345,67.2467],[14.4483,67.2978],[14.755,67.4991],[15.2186,67.6553],[14.781,67.6749],[14.799,67.8094],[15.3163,68.0689],[15.6563,68.1642],[16.0646,68.2],[16.1209,68.0273],[16.3722,68.0618],[16.1745,68.2811],[16.3881,68.3894],[16.8648,68.3551],[17.5711,68.4475],[16.5845,68.4664],[16.6517,68.6257],[17.1312,68.6933],[17.3909,68.7994],[17.7047,69.1],[18.1015,69.1563],[18.0786,69.3252],[18.2931,69.4751],[18.991,69.5612],[19.1975,69.7478],[20.069,69.8834],[20.3871,69.8
42678],[20.2768,69.536],[20.5625,69.6329],[20.6217,69.9139],[21.1632,69.8895],[21.2537,70.0033],[21.9748,69.8346],[21.8026,70.0662],[21.4005,70.1745],[21.9955,70.2934],[22.6846,70.3749],[22.9412,70.305],[23.0462,70.1018],[23.6611,70.3997],[24.0385,70.4854],[24.4199,70.7021],[24.2635,70.8262],[24.6581,71.0009],[25.0422,70.9286],[25.7682,70.8532],[25.2734,70.5524],[25.1463,70.3241],[24.9944,70.2182],[25.2119,70.1365],[25.4707,70.3406],[26.5069,70.9128],[26.7337,70.8537],[26.5839,70.4538],[26.9894,70.5113],[27.1837,70.744],[27.5555,70.8273],[27.2356,70.9473],[27.5972,71.0912],[28.1417,71.0429],[28.3922,70.9752],[28.2028,70.5768],[28.4375,70.5015],[28.6092,70.7596],[28.8317,70.864],[29.1023,70.8607],[29.3976,70.7341],[29.7963,70.6425],[30.0652,70.7029],[30.2133,70.5434],[30.5956,70.5238],[30.9265,70.4011],[30.9441,70.2745],[29.9259,70.0965],[28.7811,70.1453],[28.8039,70.0925],[29.6016,69.9767],[29.6358,69.7801],[29.7922,69.7278],[30.4845,69.7948],[30.8694,69.7834]]],[[[23.4404,70.8159],[23.0682,70.5942],[22.359,70.5148],[22.3506,70.6577],[23.4404,70.8159]]],[[[24.0179,70.5674],[23.6702,70.597],[23.7784,70.7473],[24.0785,70.6504],[24.0179,70.5674]]],[[[23.6153,70.5493],[23.5477,70.4081],[23.1592,70.2826],[22.9412,70.4446],[23.6153,70.5493]]]]},properties:{name:"Norway",id:"NO",Continent:"Europe"},id:"NO"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[19.1944,43.5333],[19.2185,43.4502],[19.4146,43.3425],[19.5517,43.212],[19.7811,43.1097],[19.9441,43.0815],[20.3401,42.893],[20.3445,42.828],[20.0294,42.7317],[20.0641,42.5472],[19.7881,42.4765],[19.6546,42.6285],[19.2809,42.1727],[19.3615,42.0691],[19.3426,41.8691],[19.1866,41.9486],[19.1224,42.0602],[18.8943,42.2492],[18.5172,42.433],[18.4363,42.5595],[18.5431,42.6742],[18.4658,42.777],[18.4438,42.9686],[18.6235,43.0275],[18.6741,43.2309],[18.8512,43.3461],[19.0366,43.3575],[18.9404,43.4969],[19.1944,43.5333]]]},properties:{name:"Montenegro",id:"ME",Continent:"Europe"},id:"ME"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[14.5661,35.853],[14.4364,35.8218],[14.3526,35.8723],[14.4483,35.9571],[14.5661,35.853]]]},properties:{name:"Malta",id:"MT",Continent:"Europe"},id:"MT"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[22.344,42.3139],[22.5826,42.1046],[22.837,41.9939],[23.0058,41.717],[22.9513,41.6059],[22.9157,41.3365],[22.7553,41.3128],[22.7245,41.1783],[22.4934,41.1185],[22.1845,41.1589],[21.9295,41.1071],[21.7797,40.9507],[21.5758,40.869],[20.9642,40.8501],[20.8701,40.9177],[20.7092,40.9282],[20.6561,41.0614],[20.489,41.2723],[20.4486,41.5215],[20.5659,41.8739],[20.7444,41.9047],[20.7782,42.0709],[21.0594,42.1715],[21.2564,42.0994],[21.3895,42.2198],[21.5626,42.2474],[21.904,42.3222],[22.0522,42.3046],[22.2399,42.3583],[22.344,42.3139]]]},properties:{name:"North Macedonia",id:"MK",Continent:"Europe"},id:"MK"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[28.2125,45.4502],[28.0749,45.599],[28.1597,45.6468],[28.0995,45.9727],[28.1192,46.1389],[28.2445,46.4513],[28.2397,46.641],[28.0718,46.9787],[27.8539,47.1144],[27.6139,47.3403],[27.3367,47.6396],[27.152,47.9593],[26.9806,48.1551],[26.7873,48.2557],[26.619,48.2596],[26.8471,48.3871],[27.2285,48.3715],[27.5494,48.4776],[27.82,48.4163],[28.0885,48.257],[28.2911,48.2383],[28.3271,48.1617],[28.7741,48.1194],[28.9731,47.9329],[29.1947,47.8823],[29.2109,47.7314],[29.123,47.5303],[29.1599,47.4558],[29.5493,47.2467],[29.515,47.0909],[29.5721,46.9639],[29.878,46.8291],[29.9421,46.7237],[29.9241,46.5388],[30.1311,46.4229],[29.838,46.3504],[29.7519,46.4379],[29.6152,46.399],[29.1462,46.5267],[28.9274,46.4242],[29.0061,46.1767],[28.9476,46.0501],[28.739,45.9374],[28.7292,45.8521],[28.4915,45.6655],[28.4712,45.5072],[28.2125,45.4502]]]},properties:{name:"Moldova",id:"MD",Continent:"Europe"},id:"MD"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[7.4386,43.7508],[7.378,43.7315],[7.4144,43.7711],[7.4386,43.7508]]]},properties:{name:"Monaco",id:"MC",Continent:"Europe"},id:"MC"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[27.3515,57.5281],[27.7972,57.3168],[27.8147,57.1669],[27.6394,56.8456],[27.8063,56.867],[28.0072,56.5998],[28.1035,56.5455],[28.2023,56.2603],[28.1483,56.143],[27.8965,56.0762],[27.6425,55.9119],[27.577,55.7987],[27.0527,55.8306],[26.8225,55.709],[26.5935,55.6675],[26.281,55.7503],[26.0854,55.8969],[25.5858,56.1303],[25.07,56.2005],[24.9033,56.3983],[24.6995,56.3814],[24.5289,56.2963],[24.1207,56.2642],[23.8126,56.3293],[22.9684,56.3805],[22.587,56.3753],[22.0848,56.4066],[21.6536,56.3146],[21.0462,56.07],[21.015,56.2588],[21.0708,56.8237],[21.3508,57.0177],[21.4589,57.3225],[21.7283,57.571],[22.5544,57.7241],[22.6485,57.5954],[23.1372,57.3238],[23.2874,57.0898],[23.6479,56.9711],[23.9313,57.0087],[24.2816,57.1724],[24.4032,57.3251],[24.3228,57.8707],[25.1108,58.0634],[25.3401,58.0395],[25.7937,57.8687],[25.991,57.8382],[26.2978,57.6009],[26.5329,57.531],[26.8998,57.6087],[27.3515,57.5281]]]},properties:{name:"Latvia",id:"LV",Continent:"Europe"},id:"LV"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[6.1163,50.121],[6.1383,49.9742],[6.256,49.8722],[6.4876,49.7984],[6.3439,49.4527],[6.242,49.4945],[5.9594,49.4547],[5.7898,49.5385],[5.8803,49.6448],[5.7247,49.8083],[5.7441,49.9197],[5.9761,50.1671],[6.1163,50.121]]]},properties:{name:"Luxembourg",id:"LU",Continent:"Europe"},id:"LU"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[26.5935,55.6675],[26.4577,55.3425],[26.7754,55.2734],[26.601,55.1302],[26.2915,55.1395],[26.1751,55.0033],[25.8592,54.9191],[25.7225,54.7178],[25.7247,54.5643],[25.5471,54.3318],[25.7028,54.2931],[25.7493,54.1571],[25.5731,54.14],[25.461,54.2929],[25.1793,54.2143],[25.0461,54.1332],[24.8256,54.1191],[24.7685,53.9745],[24.6207,53.98],[24.3176,53.893],[24.191,53.9503],[23.7335,53.9123],[23.4844,53.9398],[23.4536,54.1435],[23.0155,54.3482],[22.7663,54.3568],[22.6797,54.493],[22.8313,54.8385],[22.5676,55.0591],[22.0723,55.0637],[21.5543,55.1953],[21.3895,55.2757],[21.2357,55.2641],[21.2379,55.4551],[21.0617,55.8134],[21.0462,56.07],[21.6536,56.3146],[22.0848,56.4066],[22.587,56.3753],[22.9684,56.3805],[23.8126,56.3293],[24.1207,56.2642],[24.5289,56.2963],[24.6995,56.3814],[24.9033,56.3983],[25.07,56.2005],[25.5858,56.1303],[26.0854,55.8969],[26.281,55.7503],[26.5935,55.6675]]]},properties:{name:"Lithuania",id:"LT",Continent:"Europe"},id:"LT"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[9.5801,47.0573],[9.4878,47.0621],[9.5278,47.2707],[9.5801,47.0573]]]},properties:{name:"Liechtenstein",id:"LI",Continent:"Europe"},id:"LI"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[21.5626,42.2474],[21.3895,42.2198],[21.2564,42.0994],[21.0594,42.1715],[20.7782,42.0709],[20.7444,41.9047],[20.5659,41.8739],[20.5752,42.0133],[20.4855,42.2233],[20.2408,42.3389],[20.0641,42.5472],[20.0294,42.7317],[20.3445,42.828],[20.624,43.0341],[20.6231,43.1985],[20.7633,43.2582],[20.8442,43.1735],[21.0569,43.0917],[21.237,42.9128],[21.4031,42.8315],[21.3908,42.7515],[21.753,42.6698],[21.5626,42.2474]]]},properties:{name:"Kosovo",id:"XK",Continent:"Europe"},id:"XK"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-2.0186,49.2313],[-2.2359,49.1764],[-2.2205,49.2664],[-2.0186,49.2313]]]}
42,properties:{name:"Jersey",id:"JE",Continent:"Europe"},id:"JE"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[15.5764,38.2204],[15.4757,38.063],[15.2345,37.7848],[15.0996,37.4584],[15.1739,37.2091],[15.2942,37.0132],[15.1427,36.8914],[15.1127,36.688],[14.7757,36.7104],[14.502,36.7987],[14.3674,36.9727],[14.1429,37.1037],[13.9051,37.1006],[13.3611,37.3489],[13.1699,37.4794],[12.9239,37.5704],[12.6989,37.5717],[12.5266,37.6693],[12.4356,37.82],[12.5477,38.053],[12.7344,38.183],[12.9028,38.0344],[13.0491,38.0842],[13.1599,38.1905],[13.3519,38.1808],[13.6815,38.0011],[13.7892,37.9813],[14.0502,38.0405],[14.2875,38.0168],[14.5059,38.0455],[14.846,38.1719],[15.1189,38.1527],[15.4991,38.2907],[15.5764,38.2204]]],[[[9.6319,40.8821],[9.805,40.4998],[9.6429,40.2682],[9.7009,40.0915],[9.617,39.3542],[9.5625,39.1661],[9.4865,39.1397],[9.2641,39.2166],[9.0563,39.2394],[9.0224,39.0429],[8.8814,38.9124],[8.6484,38.9265],[8.4182,39.2055],[8.3993,39.4815],[8.4511,39.7215],[8.5478,39.8393],[8.4076,39.9171],[8.4709,40.1307],[8.4714,40.2928],[8.3531,40.5006],[8.1897,40.6518],[8.2037,40.8706],[8.4687,40.8342],[8.8211,40.9498],[8.9982,41.1102],[9.283,41.202],[9.4553,41.1502],[9.6157,41.017],[9.6319,40.8821]]],[[[13.6999,46.5201],[13.6797,46.4629],[13.3994,46.3177],[13.3998,46.225],[13.6323,46.1771],[13.4864,46.0393],[13.6142,45.9617],[13.5699,45.8342],[13.8313,45.6803],[13.7197,45.5876],[13.6283,45.7708],[13.4648,45.7099],[13.2065,45.7713],[13.0307,45.6377],[12.4976,45.4619],[12.2744,45.4458],[12.2256,45.2417],[12.3926,45.0397],[12.5235,44.9677],[12.4638,44.8453],[12.2787,44.8323],[12.2484,44.7223],[12.3051,44.4294],[12.3961,44.2237],[12.6914,43.9947],[12.9072,43.9209],[13.2956,43.6863],[13.5641,43.5711],[13.8046,43.1804],[14.0106,42.6896],[14.1829,42.5063],[14.5406,42.244],[14.8658,42.0524],[15.1686,41.9338],[15.4051,41.9135],[15.964,41.9395],[16.1648,41.896],[16.1516,41.7584],[15.9139,41.6209],[15.9007,41.5123],[16.0124,41.4354],[16.5519,41.2319],[17.103,41.0619],[17.4744,40.8403],[17.9551,40.6554],[18.036,40.5648],[18.3283,40.371],[18.4606,40.2211],[18.486,40.1052],[18.3436,39.8213],[18.0778,39.9369],[17.8651,40.2805],[17.4762,40.3147],[17.2578,40.3992],[17.2155,40.4862],[17.0315,40.5133],[16.9281,40.458],[16.6694,40.1373],[16.53,39.8595],[16.5221,39.7475],[16.5977,39.6389],[16.8245,39.5787],[17.1145,39.3804],[17.1228,39.1365],[17.1747,38.9978],[17.0987,38.9195],[16.9515,38.9397],[16.7555,38.8896],[16.559,38.7147],[16.5458,38.4093],[16.2826,38.2493],[16.0568,37.9417],[15.7245,37.9391],[15.6458,38.0341],[15.6433,38.1755],[15.8225,38.303],[15.9047,38.4836],[15.8788,38.6141],[15.9724,38.7125],[16.1969,38.7591],[16.2101,38.9411],[16.1077,39.0236],[16.0238,39.3533],[15.8546,39.6266],[15.6929,39.99],[15.5852,40.0528],[15.2942,40.07],[14.9506,40.2391],[14.9863,40.3776],[14.9067,40.5561],[14.7656,40.6681],[14.4594,40.6329],[14.4606,40.7287],[14.3091,40.8127],[14.1025,40.8271],[13.8595,41.13],[13.7333,41.2354],[13.5545,41.2319],[13.2469,41.2891],[13.0886,41.2438],[12.8492,41.4085],[12.6308,41.4697],[12.2058,41.8124],[12.0753,41.9407],[11.8072,42.0823],[11.6376,42.2875],[11.4987,42.3631],[11.185,42.4567],[11.1678,42.5353],[10.938,42.7388],[10.8031,42.8042],[10.7086,42.9361],[10.5148,42.9677],[10.5324,43.1405],[10.4475,43.3712],[10.3206,43.5131],[10.2459,43.8524],[10.0477,44.0202],[9.7308,44.1015],[9.2891,44.319],[8.7662,44.4223],[8.5522,44.3458],[8.2925,44.1363],[8.0815,43.9187],[7.7335,43.8027],[7.4931,43.7671],[7.4817,43.8647],[7.6772,44.0831],[7.5994,44.1684],[7.3709,44.1274],[6.9675,44.2804],[6.8432,44.5107],[7.0308,44.7165],[6.9926,44.827],[6.7381,44.9211],[6.6278,45.1178],[6.8423,45.1356],[7.0783,45.2399],[7.1534,45.401],[7.0136,45.5006],[6.8045,45.8148],[7.0211,45.9257],[7.1288,45.8804],[7.5388,45.9779],[7.788,45.9217],[7.9932,46.0157],[8.125,46.161],[8.0815,46.2559],[8.3707,46.4452],[8.4586,46.2459],[8.9538,45.8299],[9.0466,45.8756],[9.0224,46.0514],[9.2513,46.2865],[9.2602,46.4752],[9.428,46.4823],[9.4812,46.3486],[9.6394,46.296],[9.9391,46.3616],[10.0406,46.2382],[10.1452,46.2537],[10.038,46.4834],[10.0872,46.6],[10.4304,46.5502],[10.3979,46.6649],[10.4529,46.8651],[10.6893,46.8464],[10.76,46.7936],[11.025,46.7972],[11.134,46.936],[11.2443,46.9755],[11.7756,46.9861],[12.1693,47.0821],[12.1544,46.9352],[12.3882,46.7025],[12.4791,46.6724],[13.1691,46.5725],[13.6999,46.5201]],[[12.4853,43.9016],[12.5148,43.953],[12.4409,43.9824],[12.3969,43.9345],[12.4853,43.9016]]]]},properties:{name:"Italy",id:"IT",Continent:"Europe"},id:"IT"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-15.543,66.2284],[-14.9122,66.2845],[-15.1165,66.1023],[-14.6982,66.0203],[-14.7577,65.7558],[-14.4264,65.7899],[-14.3022,65.6275],[-13.9355,65.6161],[-13.616,65.4871],[-13.8048,65.3548],[-13.5809,65.143],[-13.5993,65.036],[-13.8538,64.9929],[-13.8529,64.8622],[-14.135,64.7148],[-14.4653,64.6359],[-14.547,64.446],[
42-15.0216,64.2959],[-15.4949,64.2581],[-16.0605,64.1114],[-16.6403,63.8655],[-17.8157,63.713],[-17.9471,63.5359],[-18.6537,63.4067],[-19.2502,63.4419],[-19.7783,63.5368],[-20.1982,63.5557],[-20.593,63.7354],[-21.2463,63.9354],[-21.4486,63.8582],[-22.607,63.8372],[-22.5099,63.9914],[-22.0566,64.0714],[-21.8329,64.2054],[-21.9513,64.314],[-21.9503,64.515],[-22.2842,64.5864],[-22.2337,64.7139],[-22.4671,64.7949],[-23.3471,64.8244],[-23.8786,64.7506],[-24.026,64.8635],[-22.6839,65.0263],[-21.892,65.0487],[-22.0399,65.1252],[-22.4003,65.1592],[-22.4734,65.2269],[-21.907,65.3996],[-22.0056,65.4935],[-22.9024,65.5805],[-23.8999,65.4075],[-24.224,65.4871],[-24.1561,65.6079],[-23.9091,65.7657],[-23.7048,65.7813],[-23.7371,66.0696],[-23.3765,66.1819],[-23.0627,66.0863],[-23.019,65.9821],[-22.6217,65.9999],[-22.4455,66.07],[-22.8065,66.1526],[-22.972,66.324],[-22.8894,66.4407],[-22.4262,66.4301],[-21.6253,66.0898],[-21.3036,65.8764],[-21.4662,65.6352],[-21.4321,65.4741],[-20.9982,65.4444],[-20.9398,65.5653],[-20.7398,65.6582],[-20.4548,65.571],[-20.3566,65.7191],[-20.3566,66.0331],[-20.0261,66.0494],[-19.5937,65.7791],[-19.4337,65.8145],[-19.383,66.0757],[-18.9115,66.1812],[-18.7776,66.1687],[-18.455,65.9645],[-18.2973,66.1575],[-17.907,66.1432],[-17.5821,65.9714],[-17.1532,66.2029],[-16.7485,66.1318],[-16.4281,66.2783],[-16.5408,66.4466],[-16.2492,66.5229],[-15.9855,66.5145],[-15.543,66.2284]]]},properties:{name:"Iceland",id:"IS",Continent:"Europe"},id:"IS"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-6.218,54.0888],[-6.3453,53.9873],[-6.1418,53.5774],[-6.1348,53.3013],[-6.0273,52.927],[-6.1306,52.8073],[-6.2171,52.543],[-6.4631,52.3452],[-6.3251,52.2468],[-6.5612,52.1888],[-6.7823,52.2106],[-6.8904,52.1593],[-7.5274,52.099],[-7.6645,51.9799],[-7.8722,51.9355],[-8.145,51.8135],[-8.3716,51.8763],[-8.3492,51.7394],[-8.8135,51.585],[-9.2964,51.4982],[-9.463,51.529],[-9.8354,51.4832],[-9.5799,51.6891],[-9.8991,51.647],[-9.8029,51.7804],[-10.3412,51.7988],[-10.3786,51.8688],[-9.9558,52.1368],[-10.3902,52.135],[-10.2109,52.2716],[-9.9374,52.2376],[-9.9062,52.4037],[-9.5862,52.5592],[-9.3313,52.5788],[-8.7836,52.6797],[-8.9903,52.7555],[-9.1756,52.6348],[-9.561,52.654],[-9.3938,52.8961],[-9.4621,52.9473],[-9.2993,53.0976],[-8.9971,53.162],[-9.1404,53.2503],[-9.4707,53.2349],[-9.7954,53.3951],[-10.0912,53.4129],[-10.1169,53.5484],[-9.8785,53.5904],[-9.9018,53.7271],[-9.5784,53.8055],[-9.5787,53.8798],[-9.9141,53.8638],[-9.8565,54.0044],[-9.996,54.276],[-9.3155,54.2986],[-9.1459,54.2096],[-9.0026,54.2881],[-8.588,54.2311],[-8.623,54.3468],[-8.2305,54.5074],[-8.1334,54.641],[-8.4566,54.6093],[-8.764,54.6814],[-8.3773,54.8895],[-8.4118,54.9653],[-8.2747,55.1463],[-7.8032,55.1999],[-7.2468,55.3531],[-6.9616,55.2379],[-7.2185,55.0921],[-7.3769,55.0277],[-7.5504,54.7679],[-7.8862,54.666],[-7.794,54.5713],[-8.0444,54.5124],[-8.1182,54.4142],[-7.8548,54.2152],[-7.6065,54.1439],[-7.3554,54.1213],[-7.1556,54.2398],[-7.0497,54.4083],[-6.9364,54.3744],[-6.6498,54.0587],[-6.218,54.0888]]]},properties:{name:"Ireland",id:"IE",Continent:"Europe"},id:"IE"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-4.4121,54.1854],[-4.6143,54.0587],[-4.7457,54.1189],[-4.6989,54.225],[-4.5086,54.3769],[-4.3379,54.2692],[-4.4121,54.1854]]]}
42,properties:{name:"Isle of Man",id:"IM",Continent:"Europe"},id:"IM"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[22.1322,48.4053],[22.2535,48.4075],[22.3506,48.2562],[22.5826,48.1342],[22.7689,48.1098],[22.8766,47.9472],[22.6767,47.7989],[22.2904,47.7279],[21.9999,47.5051],[21.9955,47.3959],[21.8694,47.3045],[21.7854,47.1379],[21.4945,46.7895],[21.4971,46.7044],[21.3201,46.608],[21.1518,46.3043],[21.0401,46.2421],[20.8371,46.2595],[20.6135,46.1336],[20.5083,46.1667],[20.2421,46.1086],[20.1617,46.1419],[19.5307,46.1553],[19.3927,46.0496],[19.2085,45.9843],[19.0872,46.0162],[18.9052,45.9314],[18.6662,45.9075],[18.4377,45.7673],[17.964,45.7704],[17.7064,45.8273],[17.6071,45.9139],[17.3105,45.9963],[17.0328,46.1872],[16.748,46.4161],[16.5164,46.4996],[16.3815,46.6387],[16.2839,46.8573],[16.0928,46.8633],[16.2527,46.9721],[16.4531,47.0065],[16.4927,47.123],[16.4171,47.2232],[16.4342,47.3676],[16.6227,47.4473],[16.6398,47.609],[16.4321,47.6565],[16.5512,47.7475],[16.7475,47.6862],[17.0666,47.7074],[17.0301,47.837],[17.1474,48.0059],[17.3171,47.9907],[17.6352,47.8101],[17.7618,47.7701],[18.1455,47.7635],[18.7242,47.787],[18.7919,48.0003],[18.914,48.0506],[19.4669,48.1107],[19.6255,48.2234],[19.8989,48.1313],[20.3339,48.2956],[20.4899,48.5268],[20.8665,48.5455],[21.0669,48.5062],[21.4515,48.5523],[21.767,48.3383],[22.1322,48.4053]]]},properties:{name:"Hungary",id:"HU",Continent:"Europe"},id:"HU"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[17.6677,42.897],[17.8413,42.8451],[18.304,42.5995],[18.4363,42.5595],[18.5172,42.433],[17.6677,42.897]]],[[[17.194,43.1255],[16.6794,43.1229],[16.6974,43.1747],[17.194,43.1255]]],[[[16.7853,43.271],[16.4232,43.3175],[16.4487,43.3869],[16.8341,43.3505],[16.7853,43.271]]],[[[14.4883,44.6601],[14.4193,44.6704],[14.3025,44.9402],[14.4672,44.9701],[14.4883,44.6601]]],[[[14.8105,44.9771],[14.6869,44.9559],[14.4382,45.0987],[14.6298,45.1782],[14.8105,44.9771]]],[[[18.9052,45.9314],[18.8393,45.8356],[19.0551,45.5272],[19.0046,45.3997],[19.3303,45.2678],[19.3882,45.1729],[19.063,45.1373],[19.1003,44.9736],[19.0072,44.8693],[18.8367,44.8835],[18.6627,45.0775],[18.2848,45.1342],[17.9965,45.1417],[17.8128,45.078],[17.6902,45.1581],[17.5461,45.1228],[17.1255,45.1716],[16.9185,45.2768],[16.7906,45.1968],[16.5305,45.2169],[16.2936,45.0085],[16.0286,45.1898],[15.7877,45.1791],[15.7369,44.7658],[16.1301,44.4738],[16.214,44.2149],[16.5906,43.913],[16.7133,43.7786],[17.0846,43.5167],[17.2736,43.4459],[17.2934,43.3052],[17.6247,43.0424],[17.5851,42.9383],[17.3298,43.115],[17.1294,43.2111],[16.9031,43.3923],[16.6004,43.4639],[16.3938,43.5434],[15.9856,43.5197],[15.9416,43.6563],[15.4996,43.9086],[15.1862,44.1718],[15.1229,44.2566],[15.2701,44.3836],[14.9814,44.6029],[14.8952,44.7065],[14.9062,44.9714],[14.8549,45.0811],[14.5503,45.2977],[14.3859,45.3421],[14.2686,45.2826],[14.2365,45.1595],[13.9658,44.8354],[13.8608,44.8374],[13.6292,45.108],[13.5171,45.4819],[13.5778,45.517],[13.8788,45.4287],[14.0858,45.4779],[14.3701,45.4814],[14.5341,45.6451],[14.7335,45.5084],[15.1106,45.4507],[15.3395,45.4671],[15.2771,45.7326],[15.6248,45.8338],[15.6665,46.0487],[15.6362,46.2006],[16.2272,46.3726],[16.3208,46.5348],[16.5164,46.4996],[16.748,46.4161],[17.0328,46.1872],[17.3105,45.9963],[17.6071,45.9139],[17.7064,45.8273],[17.964,45.7704],[18.4377,45.7673],[18.6662,45.9075],[18.9052,45.9314]]]]},properties:{name:"Croatia",id:"HR",Continent:"Europe"},id:"HR"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[23.8522,35.5358],[24.0346,35.5358],[24.166,35.595],[24.3128,35.3639],[24.7214,35.4249],[25.0031,35.4101],[25.1042,35.3468],[25.476,35.3058],[25.7304,35.3486],[25.7449,35.1428],[26.2986,35.2689],[26.2441,35.0444],[26.1655,35.0184],[25.8297,35.025],[25.2057,34.9596],[24.7997,34.9346],[24.7086,35.0888],[24.4639,35.1605],[23.8834,35.2461],[23.6381,35.2352],[23.5618,35.2949],[23.5696,35.5349],[23.7151,35.6047],[23.8522,35.5358]]],[[[27.8429,35.9295],[27.7159,35.9571],[27.7163,36.1716],[27.9145,36.3451],[28.1716,36.426],[28.23,36.3702],[28.1439,36.2098],[27.8429,35.9295]]],[[[25.5459,36.9675],[25.4566,36.9297],[25.3617,37.0707],[25.5252,37.1964],[25.5876,37.1524],[25.5459,36.9675]]],[[[26.8242,37.8112],[27.0395,37.7699],[26.8449,37.6451],[26.6383,37.7809],[26.8242,37.8112]]],[[[20.8886,37.805],[20.8187,37.6649],[20.7039,37.7435],[20.7584,37.8529],[20.8886,37.805]]],[[[24.9917,37.7593],[24.884,37.7704],[24.7143,37.8986],[24.9566,37.9048],[24.9917,37.7593]]],[[[20.6121,38.3834],[20.6244,38.2678],[20.7888,38.1421],[20.7611,38.0705],[20.5233,38.1065],[20.4086,38.3368],[20.6121,38.3834]]],[[[26.0943,38.2181],[25.9989,38.1614],[25.8745,38.2696],[25.991,38.3535],[25.8513,38.5082],[26.0125,38.6018],[26.1496,38.4682],[26.1567,38.303],[26.0943,38.2181]]],[[[20.6868,38.6088],[20.558,38.662],[20.6349,38.8175],[20.7194,38.7991],[20.6868,38.6088]]],[[[23.4154,38.9586],[23.4721,38.85],[23.8781,38.6866],[24.0987,38.6712],[24.1998,38.5412],[24.1875,38.4634],[24.2754,38.2204],[24.3597,38.1623],[24.5633,38.1473],[24.5781,38.02],[24.5025,37.9699],[24.2121,38.1175],[24.0403,38.39],[23.759,38.4014],[23.6504,38.4431],[23.6171,38.5526],[23.2519,38.8013],[23.0291,38.8738],[23.146,39.0026],[23.3129,39.0347],[23.4154,38.9586]]],[[[26.4103,39.3296],[26.3931,39.2702],[26.5786,39.1094],[26.4687,38.9727],[26.1606,39.0258],[25.9066,39.1392],[25.9097,39.2877],[26.0262,39.2847],[26.1655,39.3735],[26.3479,39.3831],[26.4103,39.3296]]],[[[20.0782,39.4328],[19.8844,39.4614],[19.8088,39.5853],[19.6489,39.7263],[19.8382,39.8199],[19.9371,39.7466],[19.9042,39.6195],[19.9551,39.4701],[20.0782,39.4328]]],[[[25.4377,39.9834],[25.3569,39.8081],[25.062,39.8525],[25.0581,39.9997],[25.3736,40.0155],[25.4377,39.9834]]],[[[24.7742,40.6149],[24.6458,40.5793],[24.5157,40.647],[24.623,40.7929],[24.7865,40.7037],[24.7742,40.6149]]],[[[26.0394,40.7269],[25.8556,40.8439],[25.2501,40.9326],[25.1042,40.9946],[24.7931,40.8574],[24.4771,40.948],[24.2341,40.7863],[24.0824,40.7244],[23.7629,40.7476],[23.7432,40.6773],[23.8786,40.5445],[23.8667,40.4185],[23.7208,40.2862],[23.9673,40.1148],[23.8351,40.0225],[23.6645,40.2238],[23.4263,40.2638],[23.312,40.2163],[22.8964,40.3996],[22.8115,40.5784],[22.6296,40.4953],[22.6423,40.3666],[22.5694,40.1192],[22.5922,40.0371],[22.8358,39.8006],[22.9192,39.6293],[23.1034,39.4922],[23.2883,39.2886],[23.3279,39.1748],[23.1196,39.1326],[23.1618,39.2574],[22.9927,39.3312],[22.8392,39.2583],[22.9658,39.0306],[22.8028,38.9015],[22.7737,38.8004],[23.2528,38.6615],[23.3692,38.5258],[23.5696,38.4893],[23.6839,38.3526],[23.9669,38.2748],[24.0245,38.14],[24.0552,37.7096],[23.8772,37.7777],[23.5807,38.0107],[23.1938,37.9592],[23.0471,37.9027],[23.1473,37.7954],[23.1979,37.6201],[23.3473,37.5976],[23.4896,37.4403],[23.1614,37.3339],[23.0968,37.4407],[22.7746,37.5849],[22.765,37.3933],[22.8511,37.2909],[22.9948,37.0158],[23.0735,36.775],[22.9829,36.5284],[22.7799,36.786],[22.6081,36.7798],[22.489,36.568],[22.0803,37.029],[21.9559,36.9903],[21.8922,36.7372],[21.7384,36.8633],[21.5829,37.0809],[21.5789,37.1999],[21.6927,37.3093],[21.5715,37.5409],[21.3293,37.6693],[21.2884,37.7747],[21.1448,37.9193],[21.3082,38.0275],[21.4035,38.1966],[21.6585,38.1751],[21.825,38.328],[21.9534,38.3214],[22.2438,38.1887],[22.5558,38.1131],[22.7997,37.9813],[22.8933,38.0512],[23.1218,38.0731],[23.149,38.1764],[22.9324,38.2019],[22.5835,38.3452],[22.4218,38.4388],[22.2271,38.3531],[21.9652,38.4124],[21.4725,38.3214],[21.3903,38.408],[21.1825,38.3456],[21.1131,38.3847],[20.9922,38.654],[20.7768,38.8074],[20.7773,38.9279],[21.0744,38.8853],[21.1184,39.0298],[20.7795,39.0087],[20.4684,39.25
4252],[20.301,39.3273],[20.1911,39.5457],[20.0012,39.7097],[20.2069,39.6534],[20.3819,39.8419],[20.3111,39.9795],[20.4557,40.0656],[20.6574,40.1175],[20.8059,40.4452],[20.9505,40.4941],[21.0314,40.6584],[20.9642,40.8501],[21.5758,40.869],[21.7797,40.9507],[21.9295,41.1071],[22.1845,41.1589],[22.4934,41.1185],[22.7245,41.1783],[22.7553,41.3128],[22.9157,41.3365],[23.1561,41.322],[23.24,41.3853],[23.6351,41.387],[24.0557,41.5272],[24.3866,41.5237],[24.5184,41.5527],[24.5961,41.4428],[24.7737,41.3558],[24.8466,41.3941],[25.1332,41.3158],[25.2514,41.2438],[25.7849,41.3303],[25.9233,41.3119],[26.1355,41.3857],[26.1435,41.5215],[26.0658,41.6731],[26.2006,41.7439],[26.3211,41.7166],[26.5812,41.6015],[26.6247,41.4016],[26.3307,41.2385],[26.3311,40.9546],[26.1093,40.7494],[26.0394,40.7269]]]]},properties:{name:"Greece",id:"GR",Continent:"Europe"},id:"GR"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-2.5124,49.4945],[-2.5475,49.4286],[-2.6459,49.4681],[-2.5124,49.4945]]]},properties:{name:"Guernsey",id:"GG",Continent:"Europe"},id:"GG"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[46.4299,41.8906],[46.1821,41.6573],[46.3056,41.5075],[46.6189,41.344],[46.6264,41.1598],[46.4577,41.0702],[46.1707,41.1976],[46.0309,41.1673],[45.7927,41.2244],[45.7155,41.3378],[45.2808,41.4494],[45.0014,41.2912],[44.8413,41.2113],[44.4731,41.191],[44.227,41.2135],[43.7933,41.1313],[43.439,41.1071],[43.3591,41.1901],[43.2052,41.199],[43.1491,41.3071],[42.7878,41.5637],[42.5676,41.5593],[42.4661,41.4397],[42.2112,41.4868],[41.9256,41.4956],[41.8236,41.4323],[41.5103,41.5175],[41.7019,41.7052],[41.763,41.9702],[41.6632,42.1469],[41.4888,42.6593],[41.4198,42.7379],[41.1288,42.8285],[41.0616,42.9308],[40.8366,43.0635],[40.5242,43.1211],[39.9784,43.4199],[40.1502,43.5698],[40.5189,43.5117],[40.6481,43.5342],[41.0832,43.3746],[41.3583,43.3334],[41.5806,43.2191],[42.0499,43.1901],[42.4191,43.2243],[42.5663,43.1549],[42.7606,43.1694],[42.9917,43.0917],[43.0892,42.9888],[43.5577,42.8447],[43.7822,42.7472],[43.7383,42.617],[43.9571,42.5665],[44.5061,42.7489],[44.6445,42.7344],[44.771,42.617],[44.8707,42.7564],[45.2082,42.6482],[45.3437,42.53],[45.5629,42.5357],[45.7278,42.4751],[45.639,42.2048],[45.954,42.0356],[46.2129,41.9896],[46.4299,41.8906]]]},properties:{name:"Georgia",id:"GE",Continent:"Europe"},id:"GE"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[9.4803,42.8056],[9.454,42.6588],[9.5264,42.5525],[9.5506,42.1297],[9.4008,41.9263],[9.395,41.7316],[9.1863,41.3848],[8.8949,41.5162],[8.8075,41.5883],[8.8866,41.7008],[8.7179,41.7614],[8.7407,41.9249],[8.615,41.9591],[8.7012,42.0955],[8.5662,42.2189],[8.713,42.5498],[9.0435,42.6619],[9.138,42.7326],[9.3388,42.7669],[9.3309,42.9435],[9.4632,42.9809],[9.4803,42.8056]]],[[[5.7898,49.5385],[5.9594,49.4547],[6.242,49.4945],[6.3439,49.4527],[6.4582,49.4429],[6.7355,49.1605],[6.891,49.2076],[7.022,49.1236],[7.4509,49.1521],[7.6109,49.0619],[8.1347,48.9735],[8.14,48.8865],[7.8376,48.636],[7.7053,48.2801],[7.5845,48.0643],[7.5933,47.9055],[7.5292,47.6739],[7.6153,47.5926],[7.4201,47.4554],[7.2031,47.4328],[7.0537,47.4895],[6.9003,47.3941],[7.0005,47.3228],[6.6248,47.0044],[6.4564,46.9485],[6.4103,46.7554],[6.1607,46.611],[6.0601,46.4283],[6.0868,46.1471],[6.2732,46.2525],[6.2349,46.3329],[6.4287,46.4304],[6.7583,46.4157],[6.8168,46.2751],[6.772,46.165],[7.0211,45.9257],[6.8045,45.8148],[7.0136,45.5006],[7.1534,45.401],[7.0783,45.2399],[6.8423,45.1356],[6.6278,45.1178],[6.7381,44.9211],[6.9926,44.827],[7.0308,44.7165],[6.8432,44.5107],[6.9675,44.2804],[7.3709,44.1274],[7.5994,44.1684],[7.6772,44.0831],[7.4817,43.8647],[7.4931,43.7671],[7.4386,43.7508],[7.4144,43.7711],[7.378,43.7315],[7.1811,43.659],[6.8647,43.4379],[6.7166,43.3739],[6.6568,43.2612],[6.4942,43.169],[6.1159,43.0724],[5.8096,43.0979],[5.6716,43.1783],[5.4066,43.2288],[5.32,43.3448],[5.1205,43.3488],[5.0599,43.4445],[4.7118,43.3734],[4.1629,43.5039],[4.0526,43.593],[3.9107,43.5627],[3.7846,43.4616],[3.259,43.1931],[3.0515,42.9155],[3.0907,42.5907],[3.2115,42.4312],[2.9702,42.4672],[2.5677,42.3459],[2.2003,42.4206],[2.0325,42.3538],[1.7059,42.5033],[1.7099,42.6043],[1.5012,42.6425],[1.4287,42.596],[1.3496,42.6905],[.6969,42.8451],[.6315,42.6896],[-.0411,42.6891],[-.2993,42.8249],[-.5864,42.799],[-.7627,42.9396],[-.9338,42.9493],[-1.2854,43.0596],[-1.4287,43.0367],[-1.4106,43.2402],[-1.7534,43.3245],[-1.7941,43.4076],[-1.6313,43.4379],[-1.4849,43.5636],[-1.3458,44.0202],[-1.2456,44.5599],[-1.189,45.1613],[-1.0809,45.5324],[-1.1698,45.686],[-1.0661,45.806],[-1.1044,45.9253],[-1.1463,46.3115],[-1.3924,46.35],[-1.7866,46.5148],[-2.0595,46.8104],[-2.0903,46.9204],[-2.0189,47.0377],[-2.1971,47.1627],[-2.1083,47.2632],[-2.5031,47.3119],[-2.4275,47.4708],[-2.5541,47.5268],[-2.7703,47.5139],[-2.7872,47.6253],[-2.9641,47.6009],[-3.1588,47.6947],[-3.901,47.8375],[-4.3119,47.8228],[-4.4279,47.9689],[-4.6292,48.0856],[-4.3778,48.1287],[-4.5121,48.2296],[-4.3932,48.3676],[-4.7195,48.3631],[-4.7208,48.5398],[-4.5312,48.6202],[-4.059,48.7076],[-3.7147,48.7105],[-3.4715,48.813],[-3.2315,48.8408],[-3.0032,48.7905],[-2.6926,48.5367],[-2.4462,48.6483],[-2.0795,48.645],[-1.9057,48.6971],[-1.8246,48.6303],[-1.4375,48.6415],[-1.5654,48.8055],[
42-1.5831,49.2022],[-1.6904,49.313],[-1.8701,49.5952],[-1.8563,49.6836],[-1.2586,49.6802],[-1.2322,49.495],[-1.1386,49.388],[-.521,49.3545],[-.1635,49.2967],[-.011,49.3301],[.2777,49.4633],[.1094,49.5576],[.1868,49.703],[.6161,49.863],[.9242,49.91],[1.2454,49.9981],[1.4071,50.0887],[1.5513,50.2939],[1.5794,50.7393],[1.6721,50.8852],[1.9125,50.9907],[2.5247,51.097],[2.5967,50.8759],[2.8397,50.7118],[3.1069,50.7794],[3.2353,50.663],[3.273,50.5316],[3.6268,50.4574],[3.7481,50.3435],[4.0443,50.3214],[4.1743,50.2467],[4.1761,49.9603],[4.3686,49.945],[4.656,50.0026],[4.8678,49.7881],[5.0071,49.7781],[5.2787,49.6779],[5.5072,49.5107],[5.7898,49.5385]]]]},properties:{name:"France",id:"FR",Continent:"Europe"},id:"FR"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[-6.6311,62.2279],[-6.6557,62.0936],[-7.0135,62.0941],[-7.1721,62.2856],[-6.9588,62.3162],[-6.6311,62.2279]]]},properties:{name:"Faroe Islands",id:"FO",Continent:"Europe"},id:"FO"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[28.9656,69.0218],[28.5662,68.9282],[28.752,68.7715],[28.4708,68.4883],[28.6853,68.1897],[29.3441,68.0621],[29.5242,67.9291],[29.979,67.6887],[29.9412,67.5475],[29.5721,67.3244],[29.087,66.9709],[29.0931,66.8492],[29.4645,66.5321],[29.5905,66.3568],[29.9031,66.0911],[30.0876,65.7866],[30.0955,65.6816],[29.7158,65.6246],[29.7282,65.4735],[29.6297,65.2239],[29.8107,65.1078],[29.6042,64.9685],[29.7835,64.8042],[30.0726,64.765],[30.1201,64.6447],[29.9856,64.5577],[30.1083,64.366],[30.4879,64.2364],[30.5038,64.0206],[30.0555,63.6888],[30.4185,63.504],[31.1809,63.2083],[31.5092,62.9554],[31.5343,62.8855],[31.2856,62.5678],[30.9358,62.3236],[30.5657,62.1275],[29.6904,61.546],[29.2518,61.2877],[28.4071,60.8968],[27.7981,60.5362],[27.4622,60.4648],[27.2422,60.5386],[26.5346,60.4128],[26.2045,60.4065],[25.7154,60.2675],[25.6566,60.3331],[25.1556,60.1943],[24.6006,60.1143],[24.3426,60.0425],[23.7217,59.9656],[23.4637,59.9863],[23.1815,59.8449],[23.1983,60.0218],[22.8445,60.1867],[22.7935,60.0767],[22.4626,60.0293],[22.4697,60.2013],[22.576,60.3591],[22.2583,60.4008],[21.934,60.5002],[21.8052,60.5943],[21.6132,60.531],[21.4361,60.5964],[21.3605,60.9675],[21.4791,61.1705],[21.498,61.5521],[21.6061,61.5915],[21.3851,61.915],[21.2564,61.9897],[21.3539,62.2239],[21.3236,62.3425],[21.1658,62.414],[21.1034,62.623],[21.1957,62.7906],[21.651,63.0393],[21.5451,63.2041],[22.1203,63.2441],[22.3198,63.3105],[22.2433,63.4379],[23.0146,63.822],[23.2489,63.8963],[23.9247,64.2739],[24.278,64.5152],[24.5579,64.8009],[25.2281,64.9509],[25.3727,65.0096],[25.2558,65.1432],[25.3481,65.4792],[25.2417,65.5462],[24.5813,65.7572],[24.1559,65.8052],[23.9071,66.1482],[23.7515,66.1911],[23.701,66.4809],[23.8654,66.5767],[23.9884,66.8107],[23.6773,67.068],[23.6233,67.1843],[23.7749,67.3286],[23.7335,67.4229],[23.4682,67.4501],[23.537,67.5903],[23.5019,67.8753],[23.639,67.9544],[23.0981,68.2574],[22.7821,68.391],[21.9976,68.5207],[21.4651,68.6907],[20.6222,69.037],[21.128,69.081],[21.0524,69.1866],[21.2669,69.2739],[21.6219,69.2708],[22.3,68.8559],[22.4107,68.7197],[23.324,68.649],[23.7067,68.7138],[23.854,68.8058],[24.9416,68.5933],[25.3573,68.8625],[25.7484,68.9902],[25.7488,69.2314],[26.0116,69.6527],[26.5258,69.915],[27.1085,69.9047],[27.592,70.0422],[27.8899,70.0618],[28.412,69.8227],[29.1414,69.6716],[29.3335,69.4731],[28.8461,69.1767],[28.9656,69.0218]]],[[[22.1752,60.3705],[22.3549,60.3558],[22.2588,60.1655],[22.0768,60.2864],[22.1752,60.3705]]]]},properties:{name:"Finland",id:"FI",Continent:"Europe"},id:"FI"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[28.0125,59.4842],[28.1513,59.3742],[27.8978,59.2776],[27.7576,59.0522],[27.5128,58.8862],[27.4271,58.7331],[27.5317,58.4351],[27.4882,58.2702],[27.7532,57.841],[27.5423,57.7993],[27.4003,57.6668],[27.3515,57.5281],[26.8998,57.6087],[26.5329,57.531],[26.2978,57.6009],[25.991,57.8382],[25.7937,57.8687],[25.3401,58.0395],[25.1108,58.0634],[24.3228,57.8707],[24.4639,58.1058],[24.5289,58.3543],[24.3369,58.3813],[24.115,58.2662],[23.7679,58.3609],[23.6914,58.5057],[23.5094,58.6587],[23.5336,58.7819],[23.432,58.9208],[23.5151,58.9992],[23.4944,59.1957],[23.7823,59.2752],[24.0833,59.2919],[24.3804,59.4728],[24.5834,59.4555],[24.8774,59.5222],[25.4439,59.5211],[25.5093,59.6388],[25.7937,59.6347],[26.4607,59.5538],[26.6251,59.5538],[26.9749,59.4507],[27.8925,59.4143],[28.0125,59.4842]]],[[[22.9236,58.827],[22.7672,58.8208],[22.5421,58.6901],[22.4112,58.8634],[22.587,59.0811],[22.9096,58.9913],[22.9236,58.827]]],[[[22.6173,58.6213],[22.9645,58.6057],[23.2928,58.4835],[22.7302,58.2306],[22.4982,58.2361],[22.1529,58.1153],[21.8821,58.2625],[22.0816,58.4781],[22.3282,58.5808],[22.6173,58.6213]]]]},properties:{name:"Estonia",id:"EE",Continent:"Europe"},id:"EE"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-17.888,27.8097],[-17.9846,27.6462],[-18.1066,27.7073],[-17.888,27.8097]]],[[[-15.4006,28.1472],[-15.389,27.8747],[-15.5593,27.7469],[-15.7102,27.7842],[-15.8071,27.8879],[-15.8094,27.9947],[-15.6828,28.1542],[-15.4006,28.1472]]],[[[-17.1846,28.0219],[-17.3248,28.1178],[-17.2584,28.2034],[-17.1297,28.156],[-17.1846,28.0219]]],[[[-16.3345,28.3801],[-16.4182,28.1516],[-16.5428,28.032],[-16.6579,28.007],[-16.7946,28.1494],[-16.9054,28.3396],[-16.5175,28.413],[-16.3191,28.558],[-16.1192,28.5282],[-16.3345,28.3801]]],[[[-14.1968,28.1691],[-14.2322,28.2157],[-14.0034,28.7067],[-13.8573,28.7383],[-13.8276,28.5849],[-13.928,28.2535],[-14.1968,28.1691]]],[[[-17.8343,28.4931],[-18.0007,28.758],[-17.9288,28.8446],[-17.7447,28.7866],[-17.7579,28.5691],[-17.8343,28.4931]]],[[[-13.716,28.9114],[-13.8599,28.8693],[-13.7883,29.056],[-13.6501,29.1193],[-13.4536,29.1514],[-13.4778,29.0068],[-13.716,28.9114]]],[[[1.4453,38.919],[1.2573,38.8791],[1.3487,39.0807],[1.5644,39.1208],[1.6237,39.0386],[1.4453,38.919]]],[[[3.1456,39.7901],[3.342,39.7866],[3.462,39.6978],[3.2449,39.3866],[3.0726,39.3009],[2.7699,39.4104],[2.6341,39.5562],[2.4996,39.4776],[2.3713,39.6129],[2.7848,39.8547],[3.1588,39.9707],[3.1456,39.7901]]],[[[4.2939,39.8419],[3.8425,39.9764],[3.8536,40.0634],[4.0592,40.0752],[4.2258,40.0322],[4.2939,39.8419]]],[[[-1.7941,43.4076],[-1.7534,43.3245],[-1.4106,43.2402],[-1.4287,43.0367],[-1.2854,43.0596],[-.9338,42.9493],[-.7627,42.9396],[-.5864,42.799],[-.2993,42.8249],[-.0411,42.6891],[.6315,42.6896],[.6969,42.8451],[1.3496,42.6905],[1.4287,42.596],[1.4862,42.4347],[1.7059,42.5033],[2.0325,42.3538],[2.2003,42.4206],[2.5677,42.3459],[2.9702,42.4672],[3.2115,42.43
4212],[3.3065,42.2888],[3.1663,42.2567],[3.248,41.9443],[3.0045,41.7671],[2.3111,41.4666],[2.0826,41.2877],[1.5667,41.1955],[1.0331,41.0619],[.7145,40.8228],[.8596,40.6861],[.5963,40.6144],[.3639,40.3188],[-.0749,39.8757],[-.3269,39.5198],[-.329,39.417],[-.2048,39.0627],[-.0343,38.8914],[.2015,38.7591],[-.0525,38.5855],[-.3812,38.4356],[-.6467,38.1518],[-.6832,37.9918],[-.8229,37.7114],[-.822,37.5809],[-1.3274,37.5611],[-1.641,37.3871],[-1.7976,37.2329],[-1.9393,36.9459],[-2.1116,36.7767],[-2.3056,36.8198],[-2.5957,36.8067],[-2.7877,36.7147],[-2.9017,36.7429],[-3.259,36.7557],[-3.4313,36.7077],[-3.8277,36.7561],[-4.3669,36.7183],[-4.6742,36.5065],[-4.9353,36.502],[-5.1715,36.4239],[-5.3297,36.2358],[-5.3609,36.1347],[-5.6255,36.0261],[-6.0407,36.1883],[-6.1706,36.3337],[-6.2688,36.597],[-6.3839,36.637],[-6.3962,36.8317],[-6.4923,36.9547],[-6.8845,37.1942],[-7.1749,37.2091],[-7.4061,37.1793],[-7.5037,37.5853],[-7.4441,37.7281],[-7.1855,38.0063],[-7.0229,38.045],[-7.1064,38.1812],[-7.3431,38.4572],[-7.2815,38.7147],[-7.0462,38.9067],[-6.9979,39.0566],[-7.1723,39.1353],[-7.3059,39.3378],[-7.3356,39.4653],[-7.4452,39.5365],[-7.454,39.6806],[-7.1176,39.6815],[-7.0368,39.714],[-6.9113,39.9372],[-6.9163,40.0572],[-7.0146,40.2084],[-6.8102,40.3429],[-6.848,40.411],[-6.8183,40.654],[-6.8577,40.8781],[-6.9284,41.0091],[-6.69,41.2147],[-6.4031,41.3756],[-6.2126,41.5321],[-6.3917,41.6652],[-6.5422,41.6722],[-6.5573,41.8744],[-6.6182,41.942],[-7.0304,41.9509],[-7.4037,41.8336],[-7.6931,41.8885],[-7.9207,41.8837],[-8.1525,41.812],[-8.2246,41.8955],[-8.1299,42.0181],[-8.2132,42.1337],[-8.5382,42.0691],[-8.777,41.9407],[-8.8783,41.9468],[-8.887,42.1051],[-8.6911,42.2743],[-8.8121,42.4699],[-8.8115,42.6404],[-8.9877,42.5858],[-9.0418,42.8139],[-9.2351,42.977],[-9.1782,43.1738],[-8.8737,43.3343],[-8.5368,43.3368],[-8.2487,43.4393],[-8.2569,43.5799],[-8.0046,43.6941],[-7.6981,43.7645],[-7.5037,43.7399],[-7.262,43.5948],[-7.0609,43.554],[-6.9007,43.5857],[-6.4758,43.5791],[-6.0803,43.5948],[-5.8467,43.6449],[-5.6659,43.5825],[-5.3158,43.5531],[-5.1052,43.5017],[-4.5231,43.416],[-4.3128,43.4147],[-3.8894,43.4994],[-3.6046,43.5192],[-3.4181,43.452],[-3.0457,43.3716],[-2.8751,43.4547],[-2.6071,43.4129],[-2.337,43.3281],[-1.9914,43.3448],[-1.7941,43.4076]]]]},properties:{name:"Spain",id:"ES",Continent:"Europe"},id:"ES"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[-1.0657,50.6903],[-1.3063,50.5885],[-1.5155,50.6698],[-1.3129,50.7735],[-1.0657,50.6903]]],[[[-4.1968,53.3214],[-4.0843,53.2643],[-4.373,53.134],[-4.5532,53.2604],[-4.5679,53.3865],[-4.315,53.4173],[-4.1968,53.3214]]],[[[-6.218,54.0888],[-6.6498,54.0587],[-6.9364,54.3744],[-7.0497,54.4083],[-7.1556,54.2398],[-7.3554,54.1213],[-7.6065,54.1439],[-7.8548,54.2152],[-8.1182,54.4142],[-8.0444,54.5124],[-7.794,54.5713],[-7.8862,54.666],[-7.5504,54.7679],[-7.3769,55.0277],[-7.2185,55.0921],[-7.1007,55.0481],[-6.9471,55.1823],[-6.4751,55.241],[-6.1293,55.2174],[-5.9856,55.0296],[-5.7168,54.8176],[-5.4703,54.5001],[-5.6461,54.4777],[-5.6067,54.2726],[-5.826,54.2357],[-6.019,54.0512],[-6.218,54.0888]]],[[[-5.1054,55.4487],[-5.3317,55.4809],[-5.3925,55.6182],[-5.1605,55.6667],[-5.1054,55.4487]]],[[[-6.1289,55.9306],[-6.0554,55.6954],[-6.2532,55.6073],[-6.3112,55.8564],[-6.1289,55.9306]]],[[[-5.9702,55.8145],[-6.0719,55.8932],[-5.939,56.0454],[-5.7973,56.0057],[-5.9702,55.8145]]],[[[-5.778,56.3442],[-6.1761,56.2886],[-6.1388,56.4906],[-6.3106,56.5521],[-6.1027,56.6457],[-5.9467,56.5345],[-5.7608,56.4908],[-5.778,56.3442]]],[[[-7.2499,57.1152],[-7.3815,57.1307],[-7.4105,57.3809],[-7.2673,57.3717],[-7.2499,57.1152]]],[[[-6.1449,57.5048],[-6.1355,57.3142],[-5.6688,57.2268],[-5.9491,57.0452],[-6.0344,57.2012],[-6.3229,57.2025],[-6.4424,57.3275],[-6.6755,57.3629],[-6.7612,57.4422],[-6.6169,57.5629],[-6.2468,57.6512],[-6.1449,57.5048]]],[[[-7.2055,57.6829],[-7.3206,57.5336],[-7.4993,57.6362],[-7.2055,57.6829]]],[[[-6.1987,58.3633],[-6.4364,58.0919],[-6.425,58.0215],[-6.957,57.7501],[-7.0834,57.8138],[-6.8641,57.9329],[-7.057,58.0031],[-7.0851,58.1823],[-6.7247,58.1976],[-6.7878,58.2841],[-6.2374,58.5029],[-6.1987,58.3633]]],[[[-3.1096,58.5154],[-3.2124,58.3212],[-3.9902,57.9591],[-4.0357,57.8521],[-3.8879,57.787],[-4.0786,57.6772],[-3.8681,57.6002],[-3.4029,57.7081],[-3.0839,57.6736],[-2.8562,57.6923],[-2.2441,57.6809],[-2.074,57.7023],[-1.8675,57.6123],[-1.7781,57.4939],[-2.0204,57.2589],[-2.2604,56.8633],[-2.5925,56.5616],[-2.7751,56.4831],[-3.0474,56.4493],[-2.6528,56.3184],[-2.7677,56.2021],[-2.98,56.1939],[-3.1783,56.0802],[-3.0487,55.9518],[-2.8369,56.0263],[-2.5994,56.0274],[-2.1472,55.9031],[-1.6554,55.5704],[-1.4227,55.0263],[-1.2918,54.7738],[-1.1545,54.6543],[-.6715,54.5038],[-.3704,54.2792],[-.0844,54.118],[-.2054,54.0217],[.0105,53.7429],[.0363,53.6405],[-.2936,53.6924],[.1283,53.4683],[.2709,53.3353],[.3558,53.16],[.0459,52.9058],[.2799,52.8086],[.559,52.9671],[1.0556,52.9589],[1.3821,52.8935],[1.6567,52.7537],[1.7468,52.469],[1.5592,52.0869],[1.3166,51.9569],[1.2744,51.8456],[1.1012,51.7856],[.9554,51.8078],[.8908,51.5714],[.5937,51.5195],[.6869,51.3865],[.8894,51.3593],[1.415,51.3633],[1.3975,51.182],[1.0445,51.0473],[.9602,50.926],[.6846,50.8855],[.205,50.763],[-.2039,50.8144],[-.7853,50.7654],[-1.285,50.8575],[-1.5168,50.7477],[-2.0309,50.7254],[-2.036,50.6031],[-2.3502,50.6375],[-2.5477,50.6164],[-2.7769,50.7056],[-2.9993,50.7166],[-3.4047,50.6322],[-3.5844,50.3218],[-3.7934,50.2292],[-4.1726,50.3908],[-4.7279,50.2906],[-5.2253,50.0215],[-5.5705,50.1968],[-5.3422,50.2462],[-4.5831,50.7764],[-4.5231,50.9775],[-4.2965,51.0271],[-4.1882,51.1886],[-3.8424,51.231],[-3.3752,51.197],[-3.136,51.2048],[-2.5904,51.6087],[-2.9786,51.5388],[-3.2933,51.3905],[-3.5625,51.4138],[-3.7626,51.5402],[-3.9434,51.5975],[-4.1153,51.5666],[-4.3864,51.7412],[-4.6006,51.7376],[-4.9024,51.6263],[-5.1247,51.7058],[-5.2007,51.8614],[-5.0882,51.9959],[-4.3831,52.1971],[-4.1493,52.3261],[-3.9804,52.5417],[
42-4.1016,52.9154],[-4.3563,52.8974],[-4.5837,52.815],[-4.6382,52.891],[-4.4051,53.0139],[-4.1111,53.2189],[-3.8092,53.3028],[-3.326,53.3472],[-3.0646,53.4268],[-3.0595,53.5862],[-2.925,53.7326],[-3.0318,53.7734],[-3.027,53.906],[-2.8999,53.9606],[-2.8463,54.1353],[-3.1658,54.1279],[-3.3214,54.2291],[-3.5692,54.4675],[-3.5919,54.5643],[-3.4647,54.7732],[-3.268,54.9066],[-3.4341,54.9637],[-3.7833,54.8699],[-3.9579,54.7809],[-4.3038,54.8358],[-4.5176,54.7583],[-4.818,54.8462],[-5.0324,54.7613],[-5.1355,54.8576],[-4.9651,55.1496],[-4.7213,55.421],[-4.7241,55.5983],[-4.892,55.6992],[-4.8441,56.0511],[-5.2458,55.9292],[-5.3859,55.7701],[-5.5565,55.3895],[-5.7683,55.3627],[-5.6228,55.8131],[-5.6097,56.0554],[-5.3919,56.5147],[-5.2174,56.7509],[-5.6525,56.5321],[-5.9368,56.6058],[-6.0348,56.7639],[-5.7307,56.8529],[-5.7362,56.9606],[-5.5911,57.1023],[-5.562,57.2329],[-5.8182,57.4361],[-5.6786,57.5716],[-5.7447,57.6683],[-5.6083,57.8813],[-5.177,57.9063],[-5.3937,58.0436],[-5.3383,58.2388],[-5.0083,58.2627],[-5.0902,58.3845],[-5.0667,58.5202],[-4.9245,58.5883],[-4.7156,58.5101],[-3.0531,58.6347],[-3.1096,58.5154]]],[[[-3.0573,59.0297],[-3.1665,58.919],[-3.3469,58.9867],[-3.3104,59.1308],[-3.0573,59.0297]]],[[[-1.3083,60.5376],[-1.0657,60.3815],[-1.1793,60.1139],[-1.4943,60.2926],[-1.3746,60.3329],[-1.4496,60.4686],[-1.3083,60.5376]]]]},properties:{name:"United Kingdom",id:"GB",Continent:"Europe"},id:"GB"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[11.3616,54.8917],[11.7395,54.8073],[11.7659,54.6796],[11.4574,54.6289],[11.0355,54.7732],[11.0588,54.9405],[11.3616,54.8917]]],[[[15.0877,55.022],[14.6843,55.1024],[14.7652,55.2968],[15.1325,55.1445],[15.0877,55.022]]],[[[10.6449,55.61],[10.8193,55.3219],[10.785,55.1334],[10.6238,55.0523],[10.4432,55.0487],[9.9888,55.163],[9.8587,55.3572],[9.8605,55.5157],[10.28
4263,55.6109],[10.5051,55.5581],[10.6449,55.61]]],[[[12.5688,55.7851],[12.571,55.6849],[12.3205,55.5879],[12.215,55.4665],[12.3851,55.3859],[12.4128,55.2861],[12.0898,55.1883],[12.0502,54.8154],[11.8626,54.7727],[11.7409,54.9154],[11.6539,55.1869],[11.2865,55.2044],[11.1704,55.3287],[11.1898,55.4656],[10.9788,55.7216],[11.3225,55.7525],[11.4745,55.9434],[11.6956,55.9079],[11.6908,55.7291],[11.8195,55.6976],[11.9347,55.896],[11.8666,55.9681],[12.219,56.1187],[12.5784,56.0639],[12.5248,55.9184],[12.5688,55.7851]]],[[[9.74,54.8255],[9.6157,54.8554],[9.3423,54.8062],[8.9033,54.897],[8.67,54.9036],[8.6695,55.1555],[8.6159,55.4181],[8.1321,55.5998],[8.2024,55.9823],[8.1215,56.1399],[8.1642,56.6069],[8.553,56.5603],[9.0668,56.7941],[9.1964,56.7015],[9.2549,57.0118],[8.993,57.0162],[8.7723,56.7253],[8.4687,56.6646],[8.2683,56.754],[8.2841,56.8522],[8.6186,57.1113],[8.9525,57.1507],[9.2988,57.1464],[9.5542,57.2327],[9.9624,57.5811],[10.259,57.6169],[10.4449,57.5622],[10.5372,57.4486],[10.524,57.2432],[10.296,56.9991],[10.2828,56.6204],[10.4902,56.5204],[10.8461,56.5216],[10.9265,56.4434],[10.8563,56.2954],[10.6212,56.2021],[10.4269,56.2761],[10.3188,56.2128],[10.183,55.865],[9.5911,55.493],[9.671,55.2663],[9.4535,55.0395],[9.6451,55.0229],[9.74,54.8255]]]]},properties:{name:"Denmark",id:"DK",Continent:"Europe"},id:"DK"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[14.2137,53.8708],[13.9258,53.8789],[13.9219,53.9965],[14.211,53.9503],[14.2137,53.8708]]],[[[13.7092,54.3828],[13.482,54.3375],[13.3642,54.2459],[13.1897,54.3256],[13.1765,54.5443],[13.2398,54.6385],[13.4227,54.6991],[13.6705,54.5354],[13.7092,54.3828]]],[[[9.74,54.8255],[10.0222,54.6739],[10.0288,54.5814],[10.2124,54.4089],[10.3605,54.4384],[10.7314,54.3161],[11.0135,54.3792],[11.0087,54.1813],[10.8105,54.0751],[10.9178,53.9952],[11.1045,54.0092],[11.3994,53.9446],[11.7962,54.1455],[12.1113,54.1683],[12.5754,54.4673],[13.0289,54.4108],[13.1475,54.2826],[13.4481,54.1408],[13.7241,54.1533],[13.8656,53.8534],[14.0251,53.7675],[14.2585,53.7295],[14.4145,53.2834],[14.3688,53.1055],[14.1288,52.8783],[14.5138,52.6456],[14.6197,52.5285],[14.5546,52.3597],[14.7054,52.2074],[14.7529,52.0817],[14.6017,51.8324],[14.7384,51.6272],[14.7247,51.5239],[14.9058,51.4632],[15.0166,51.2528],[14.9638,51.095],[14.8096,50.859],[14.7234,50.8149],[14.5072,51.0098],[14.3692,50.8985],[13.8986,50.7612],[13.5268,50.6929],[13.4728,50.617],[13.2377,50.5769],[13.0161,50.4903],[12.9669,50.416],[12.7652,50.431],[12.4524,50.3497],[12.277,50.1814],[12.2761,50.0423],[12.4576,49.9555],[12.4976,49.853],[12.3903,49.7398],[12.6316,49.4613],[12.8136,49.3293],[12.9168,49.3304],[13.1405,49.1583],[13.5475,48.9597],[13.8146,48.7668],[13.7857,48.5873],[13.6749,48.5229],[13.4868,48.5819],[13.4095,48.3942],[12.8144,48.1608],[12.7599,48.0759],[12.9537,47.8909],[12.8979,47.7218],[13.0337,47.6987],[13.0144,47.4781],[12.7828,47.5642],[12.6861,47.6692],[12.4827,47.6373],[12.197,47.7092],[12.1856,47.6195],[11.7172,47.5838],[11.3928,47.4873],[11.2979,47.4246],[10.9811,47.3981],[10.8729,47.5202],[10.4304,47.5412],[10.3131,47.3133],[10.0964,47.3795],[10.034,47.4737],[9.7488,47.5756],[9.5243,47.5242],[9.1828,47.6708],[8.8809,47.6565],[8.6177,47.7662],[8.4032,47.6879],[8.4147,47.5895],[8.1984,47.6068],[7.9268,47.5637],[7.6153,47.5926],[7.5292,47.6739],[7.5933,47.9055],[7.5845,48.0643],[7.7053,48.2801],[7.8376,48.636],[8.14,48.8865],[8.1347,48.9735],[7.6109,49.0619],[7.4509,49.1521],[7.022,49.1236],[6.891,49.2076],[6.7355,49.1605],[6.4582,49.4429],[6.3439,49.4527],[6.4876,49.7984],[6.256,49.8722],[6.1383,49.9742],[6.1163,50.121],[6.1752,50.2326],[6.3646,50.3162],[6.3408,50.4517],[6.2029,50.4991],[6.2358,50.5969],[5.9937,50.7504],[6.0486,50.9049],[5.8948,50.9843],[6.1303,51.1475],[6.0759,51.2239],[6.1932,51.4887],[5.9484,51.7625],[6.1664,51.8808],[6.3558,51.8246],[6.7416,51.9111],[6.7491,52.0987],[6.9772,52.2055],[7.0352,52.3802],[6.7491,52.4641],[6.7487,52.6339],[7.0132,52.6335],[7.1899,52.9996],[7.1974,53.2824],[7.0537,53.3758],[7.1072,53.5568],[7.2853,53.6814],[8.009,53.6908],[8.2455,53.4452],[8.3017,53.5842],[8.5386,53.5568],[8.5284,53.7812],[8.619,53.875],[8.898,53.8356],[8.9068,54.2606],[8.648,54.3977],[8.9521,54.4675],[8.9573,54.5383],[8.6823,54.7918],[8.67,54.9036],[8.9033,54.897],[9.3423,54.8062],[9.6157,54.8554],[9.74,54.8255]]]]},properties:{name:"Germany",id:"DE",Continent:"Europe"},id:"DE"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[14.8096,50.859],[14.9827,50.8867],[14.9937,51.0144],[15.2587,50.9586],[15.3541,50.812],[15.7307,50.7397],[16.007,50.6116],[16.2826,50.6555],[16.4198,50.5738],[16.2105,50.4237],[16.6794,50.0974],[16.9937,50.2595],[16.8693,50.4145],[17.1519,50.3784],[17.415,50.2547],[17.7201,50.2987],[17.5891,50.1574],[17.8747,49.9721],[18.0282,50.0352],[18.3054,49.9142],[18.562,49.8792],[18.5946,49.7578],[18.8068,49.6139],[18.8323,49.5107],[18.5964,49.4914],[18.3648,49.3361],[18.1608,49.2575],[18.0861,49.0651],[17.7583,48.8881],[17.4828,48.8276],[17.1884,48.861],[17.0631,48.7809],[16.9532,48.5989],[16.8837,48.7035],[16.4777,48.8002],[16.367,48.7388],[16.0571,48.7549],[15.8251,48.8645],[15.7007,48.8606],[15.4033,48.9573],[14.9722,48.9838],[14.923,48.7714],[14.8219,48.774],[14.6914,48.5994],[14.4888,48.6255],[14.3674,48.5762],[14.0493,48.6024],[13.9887,48.6925],[13.8146,48.7668],[13.5475,48.9597],[13.1405,49.1583],[12.9168,49.3304],[12.8136,49.3293],[12.6316,49.4613],[12.3903,49.7398],[12.4976,49.853],[12.4576,49.9555],[12.2761,50.0423],[12.277,50.1814],[12.4524,50.3497],[12.7652,50.431],[12.9669,50.416],[13.0161,50.4903],[13.2377,50.5769],[13.4728,50.617],[13.5268,50.6929],[13.8986,50.7612],[14.3692,50.8985],[14.5072,51.0098],[14.7234,50.8149],[14.8096,50.859]]]},properties:{name:"Czechia",id:"CZ",Continent:"Europe"},id:"CZ"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[34.4632,35.5937],[33.9415,35.2919],[33.931,35.1407],[34.0501,34.9881],[33.6994,34.9701],[33.5145,34.8066],[33.2969,34.7179],[33.1158,34.6959],[32.9418,34.576],[32.8671,34.6612],[32.6931,34.6493],[32.4488,34.7293],[32.3169,34.953],[32.3907,35.0501],[32.6522,35.1828],[32.8799,35.1806],[32.9418,35.3903],[33.4587,35.3358],[33.6076,35.3538],[34.0633,35.4738],[34.4109,35.6294],[34.4632,35.5937]]]},properties:{name:"Cyprus",id:"CY",Continent:"Europe"},id:"CY"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[9.5243,47.5242],[9.6258,47.4669],[9.5278,47.2707],[9.4878,47.0621],[9.5801,47.0573],[9.8455,47.0074],[9.9967,46.8855],[10.1799,46.8624],[10.3495,46.9848],[10.4529,46.8651],[10.3979,46.6649],[10.4304,46.5502],[10.0872,46.6],[10.038,46.4834],[10.1452,46.2537],[10.0406,46.2382],[9.9391,46.3616],[9.6394,46.296],[9.4812,46.3486],[9.428,46.4823],[9.2602,46.4752],[9.2513,46.2865],[9.0224,46.0514],[9.0466,45.8756],[8.9538,45.8299],[8.4586,46.2459],[8.3707,46.4452],[8.0815,46.2559],[8.125,46.161],[7.9932,46.0157],[7.788,45.9217],[7.5388,45.9779],[7.1288,45.8804],[7.0211,45.9257],[6.772,46.165],[6.8168,46.2751],[6.7583,46.4157],[6.4287,46.4304],[6.2349,46.3329],[6.2732,46.2525],[6.0868,46.1471],[6.0601,46.4283],[6.1607,46.611],[6.4103,46.7554],[6.4564,46.9485],[6.6248,47.0044],[7.0005,47.3228],[6.9003,47.3941],[7.0537,47.4895],[7.2031,47.4328],[7.4201,47.4554],[7.6153,47.5926],[7.9268,47.5637],[8.1984,47.6068],[8.4147,47.5895],[8.4032,47.6879],[8.6177,47.7662],[8.8809,47.6565],[9.1828,47.6708],[9.5243,47.5242]]]},properties:{name:"Switzerland",id:"CH",Continent:"Europe"},id:"CH"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[5.694,50.7748],[5.7973,50.7546],[5.9937,50.7504],[6.2358,50.5969],[6.2029,50.4991],[6.3408,50.4517],[6.3646,50.3162],[6.1752,50.2326],[6.1163,50.121],[5.9761,50.1671],[5.7441,49.9197],[5.7247,49.8083],[5.8803,49.6448],[5.7898,49.5385],[5.5072,49.5107],[5.2787,49.6779],[5.0071,49.7781],[4.8678,49.7881],[4.656,50.0026],[4.3686,49.945],[4.1761,49.9603],[4.1743,50.2467],[4.0443,50.3214],[3.7481,50.3435],[3.6268,50.4574],[3.273,50.5316],[3.2353,50.663],[3.1069,50.7794],[2.8397,50.7118],[2.5967,50.8759],[2.5247,51.097],[2.9601,51.2655],[3.35,51.3776],[3.4721,51.2423],[3.5806,51.2862],[3.9023,51.2075],[4.1726,51.307],[4.2262,51.3865],[4.5035,51.4746],[4.848,51.4033],[5.0594,51.4532],[5.0999,51.3466],[5.3108,51.2598],[5.5085,51.27
4251],[5.8271,51.1257],[5.694,50.7748]]]},properties:{name:"Belgium",id:"BE",Continent:"Europe"},id:"BE"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[28.1483,56.143],[28.2845,56.056],[28.564,56.092],[28.7948,55.9426],[29.0874,56.0213],[29.3748,55.9386],[29.3532,55.7844],[29.4825,55.6844],[29.9368,55.8455],[30.2335,55.8452],[30.4563,55.7869],[30.6255,55.6662],[30.9067,55.5699],[30.9006,55.3975],[30.8144,55.2788],[30.9779,55.0505],[30.8302,54.915],[30.799,54.7833],[31.1212,54.6484],[31.0746,54.4917],[31.1849,54.4529],[31.4038,54.1958],[31.7918,54.0558],[31.8374,54.0009],[31.7545,53.8106],[32.2004,53.7814],[32.4501,53.693],[32.4699,53.5469],[32.6856,53.448],[32.7041,53.3362],[32.142,53.0912],[31.8498,53.1062],[31.6684,53.2009],[31.4179,53.196],[31.2587,53.0167],[31.5352,52.7983],[31.5857,52.5324],[31.5773,52.3123],[31.7636,52.1011],[31.3457,52.1053],[31.2179,52.0503],[30.9805,52.0462],[30.6672,51.8141],[30.5332,51.5964],[30.6325,51.3553],[30.5446,51.2651],[30.3333,51.3255],[30.1605,51.478],[29.5532,51.4347],[29.3466,51.3824],[29.1357,51.6173],[28.6479,51.4566],[28.5992,51.5427],[28.1834,51.6078],[28.0107,51.56],[27.8587,51.5925],[27.2702,51.6135],[27.1424,51.752],[26.4534,51.8135],[25.9251,51.9137],[25.2672,51.9378],[24.3615,51.8676],[24.1268,51.6645],[23.951,51.5852],[23.7067,51.6413],[23.6053,51.5179],[23.545,51.7103],[23.6258,51.8093],[23.6522,52.0402],[23.5982,52.1031],[23.197,52.2569],[23.204,52.3379],[23.4796,52.5515],[23.8447,52.6642],[23.9155,52.7704],[23.8874,53.0274],[23.7889,53.2709],[23.5991,53.5992],[23.4844,53.9398],[23.7335,53.9123],[24.191,53.9503],[24.3176,53.893],[24.6207,53.98],[24.7685,53.9745],[24.8256,54.1191],[25.0461,54.1332],[25.1793,54.2143],[25.461,54.2929],[25.5731,54.14],[25.7493,54.1571],[25.7028,54.2931],[25.5471,54.3318],[25.7247,54.5643],[25.7225,54.7178],[25.8592,54.9191],[26.1751,55.0033],[26.2915,55.1395],[26.601,55.1302],[26.7754,55.2734],[26.4577,55.3425],[26.5935,55.6675],[26.8225,55.709],[27.0527,55.8306],[27.577,55.7987],[27.6425,55.9119],[27.8965,56.0762],[28.1483,56.143]]]},properties:{name:"Belarus",id:"BY",Continent:"Europe"},id:"BY"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[19.0072,44.8693],[19.237,44.914],[19.357,44.8587],[19.292,44.6965],[19.1513,44.5273],[19.1518,44.3023],[19.339,44.2254],[19.5838,44.0436],[19.5496,43.9873],[19.2449,43.9649],[19.4879,43.7034],[19.4515,43.5618],[19.1944,43.5333],[18.9404,43.4969],[19.0366,43.3575],[18.8512,43.3461],[18.6741,43.2309],[18.6235,43.0275],[18.4438,42.9686],[18.4658,42.777],[18.5431,42.6742],[18.4363,42.5595],[18.304,42.5995],[17.8413,42.8451],[17.6677,42.897],[17.5851,42.9383],[17.6247,43.0424],[17.2934,43.3052],[17.2736,43.4459],[17.0846,43.5167],[16.7133,43.7786],[16.5906,43.913],[16.214,44.2149],[16.1301,44.4738],[15.7369,44.7658],[15.7877,45.1791],[16.0286,45.1898],[16.2936,45.0085],[16.5305,45.2169],[16.7906,45.1968],[16.9185,45.2768],[17.1255,45.1716],[17.5461,45.1228],[17.6902,45.1581],[17.8128,45.078],[17.9965,45.1417],[18.2848,45.1342],[18.6627,45.0775],[18.8367,44.8835],[19.0072,44.8693]]]},properties:{name:"Bosnia and Herzegovina",id:"BA",Continent:"Europe"},id:"BA"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[28.5855,43.7421],[28.5618,43.5012],[28.4655,43.3892],[28.3193,43.427],[28.1338,43.3953],[27.929,43.1861],[27.889,42.7498],[27.7541,42.7067],[27.4847,42.4681],[27.7084,42.3503],[27.9826,42.0475],[28.0142,41.9689],[27.8789,41.9864],[27.5348,41.921],[27.2948,42.0796],[27.0118,42.0586],[26.8849,41.9921],[26.6155,41.965],[26.5113,41.8265],[26.3605,41.8015],[26.3211,41.7166],[26.2006,41.7439],[26.0658,41.6731],[26.1435,41.5215],[26.1355,41.3857],[25.9233,41.3119],[25.7849,41.3303],[25.2514,41.2438],[25.1332,41.3158],[24.8466,41.3941],[24.7737,41.3558],[24.5961,41.4428],[24.5184,41.5527],[24.3866,41.5237],[24.0557,41.5272],[23.6351,41.387],[23.24,41.3853],[23.1561,41.322],[22.9157,41.3365],[22.9513,41.6059],[23.0058,41.717],[22.837,41.9939],[22.5826,42.1046],[22.344,42.3139],[22.5237,42.4412],[22.4362,42.6289],[22.4666,42.8425],[22.7065,42.8838],[22.9421,43.0974],[22.9768,43.1879],[22.7676,43.3545],[22.5544,43.4547],[22.395,43.7069],[22.3656,43.8621],[22.4209,44.0075],[22.5971,44.0751],[22.7052,44.2377],[23.0287,44.0778],[22.8682,43.9477],[22.9192,43.8344],[23.2242,43.8739],[23.5349,43.8537],[23.9506,43.7865],[24.2266,43.7636],[24.4305,43.7948],[25.16,43.6863],[25.497,43.6709],[25.8192,43.7667],[25.9335,43.8704],[26.2161,44.007],[26.4894,44.0839],[27.0865,44.1675],[27.4253,44.0207],[27.8846,43.9873],[28.0499,43.8225],[28.4234,43.7403],[28.5855,43.7421]]]},properties:{name:"Bulgaria",id:"BG",Continent:"Europe"},id:"BG"},{type:"Feature",geometry:{type:"MultiPolygon",coordinates:[[[[46.1145,38.8778],[45.5748,38.9727],[45.4799,39.0065],[45.141,39.2544],[44.8172,39.6503],[44.7684,39.7035],[45.0317,39.765],[45.1485,39.6564],[45.4566,39.4947],[45.7506,39.5628],[45.7659,39.3783],[45.9774,39.2438],[45.9519,39.1784],[46.1145,38.8778]]],[[[48.5727,41.8445],[48.8241,41.6296],[49.1063,41.3018],[49.2262,41.0263],[49.5562,40.7164],[49.776,40.5837],[49.9908,40.5766],[50.3068,40.4124],[50.3658,40.2796],[50.1433,40.3236],[49.9188,40.3161],[49.5
42514,40.1943],[49.4775,40.0872],[49.3242,39.6081],[49.3629,39.3492],[49.2693,39.2852],[49.1999,39.0725],[49.0136,39.1344],[48.851,38.8154],[48.8685,38.4356],[48.593,38.411],[48.4176,38.5864],[48.2612,38.6422],[48.2049,38.7239],[48.0234,38.8188],[48.0498,38.9349],[48.2423,38.9789],[48.2744,39.0992],[48.1253,39.1713],[48.1359,39.3123],[48.3222,39.3993],[47.9957,39.6842],[47.773,39.6486],[47.1884,39.341],[46.9889,39.1805],[46.8527,39.1485],[46.5547,38.9042],[46.4907,38.9063],[46.4898,39.0693],[46.5499,39.2012],[46.3782,39.3822],[46.4814,39.555],[46.3215,39.6178],[46.2019,39.5945],[45.7897,39.8814],[45.6302,40.0146],[45.8583,40.0111],[45.9646,40.2339],[45.5695,40.4172],[45.3762,40.6383],[45.5875,40.8465],[45.1898,41.1265],[45.0014,41.2912],[45.2808,41.4494],[45.7155,41.3378],[45.7927,41.2244],[46.0309,41.1673],[46.1707,41.1976],[46.4577,41.0702],[46.6264,41.1598],[46.6189,41.344],[46.3056,41.5075],[46.1821,41.6573],[46.4299,41.8906],[46.5522,41.812],[46.7494,41.8124],[47.0105,41.5874],[47.2052,41.4556],[47.261,41.3149],[47.5202,41.2288],[47.8609,41.213],[48.0564,41.4586],[48.3912,41.602],[48.5727,41.8445]]]]},properties:{name:"Azerbaijan",id:"AZ",Continent:"Europe"},id:"AZ"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[16.9532,48.5989],[16.8627,48.4414],[16.9725,48.1981],[17.1474,48.0059],[17.0301,47.837],[17.0666,47.7074],[16.7475,47.6862],[16.5512,47.7475],[16.4321,47.6565],[16.6398,47.609],[16.6227,47.4473],[16.4342,47.3676],[16.4171,47.2232],[16.4927,47.123],[16.4531,47.0065],[16.2527,46.9721],[16.0928,46.8633],[15.9772,46.8015],[15.9574,46.6776],[15.7672,46.7114],[15.4393,46.6297],[15.0007,46.6262],[14.7568,46.4992],[14.5037,46.417],[13.6999,46.5201],[13.1691,46.5725],[12.4791,46.6724],[12.3882,46.7025],[12.1544,46.9352],[12.1693,47.0821],[11.7756,46.9861],[11.2443,46.9755],[11.134,46.936],[11.025,46.7972],[10.76,46.7936],[10.6893,46.8464],[10.4529,46.8651],[10.3495,46.9848],[10.1799,46.8624],[9.9967,46.8855],[9.8455,47.0074],[9.5801,47.0573],[9.5278,47.2707],[9.6258,47.4669],[9.5243,47.5242],[9.7488,47.5756],[10.034,47.4737],[10.0964,47.3795],[10.3131,47.3133],[10.4304,47.5412],[10.8729,47.5202],[10.9811,47.3981],[11.2979,47.4246],[11.3928,47.4873],[11.7172,47.5838],[12.1856,47.6195],[12.197,47.7092],[12.4827,47.6373],[12.6861,47.6692],[12.7828,47.5642],[13.0144,47.4781],[13.0337,47.6987],[12.8979,47.7218],[12.9537,47.8909],[12.7599,48.0759],[12.8144,48.1608],[13.4095,48.3942],[13.4868,48.5819],[13.6749,48.5229],[13.7857,48.5873],[13.8146,48.7668],[13.9887,48.6925],[14.0493,48.6024],[14.3674,48.5762],[14.4888,48.6255],[14.6914,48.5994],[14.8219,48.774],[14.923,48.7714],[14.9722,48.9838],[15.4033,48.9573],[15.7007,48.8606],[15.8251,48.8645],[16.0571,48.7549],[16.367,48.7388],[16.4777,48.8002],[16.8837,48.7035],[16.9532,48.5989]]]},properties:{name:"Austria",id:"AT",Continent:"Europe"},id:"AT"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[46.4907,38.9063],[46.1145,38.8778],[45.9519,39.1784],[45.9774,39.2438],[45.7659,39.3783],[45.7506,39.5628],[45.4566,39.4947],[45.1485,39.6564],[45.0317,39.765],[44.7684,39.7035],[44.5605,39.8876],[44.2894,40.0405],[44.0051,40.0142],[43.792,40.0704],[43.7102,40.1667],[43.5691,40.4821],[43.6681,40.5741],[43.7225,40.7196],[43.6315,40.9287],[43.439,41.1071],[43.7933,41.1313],[44.227,41.2135],[44.4731,41.191],[44.8413,41.2113],[45.0014,41.2912],[45.1898,41.1265],[45.5875,40.8465],[45.3762,40.6383],[45.5695,40.4172],[45.9646,40.2339],[45.8583,40.0111],[45.6302,40.0146],[45.7897,39.8814],[46.2019,39.5945],[46.3215,39.6178],[46.4814,39.555],[46.3782,39.3822],[46.5499,39.2012],[46.4898,39.0693],[46.4907,38.9063]]]},properties:{name:"Armenia",id:"AM",Continent:"Europe"},id:"AM"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[1.7059,42.5033],[1.4862,42.4347],[1.4287,42.596],[1.5012,42.6425],[1.7099,42.6043],[1.7059,42.5033]]]},properties:{name:"Andorra",id:"AD",Continent:"Europe"},id:"AD"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[19.9894,60.3512],[20.2588,60.2611],[20.0426,60.1807],[20.0338,60.0935],[19.7459,60.099],[19.6871,60.2677],[19.9894,60.3512]]]},properties:{name:"Aland Islands",id:"AX",Continent:"Europe"},id:"AX"},{type:"Feature",geometry:{type:"Polygon",coordinates:[[[20.0641,42.5472],[20.2408,42.3389],[20.4855,42.2233],[20.5752,42.0133],[20.5659,41.8739],[20.4486,41.5215],[20.489,41.2723],[20.6561,41.0614],[20.7092,40.9282],[20.8701,40.9177],[20.9642,40.8501],[21.0314,40.6584],[20.9505,40.4941],[20.8059,40.4452],[20.6574,40.1175],[20.4557,40.0656],[20.3111,39.9795],[20.3819,39.8419],[20.2069,39.6534],[20.0012,39.7097],[19.9648,39.8722],[19.8518,40.0437],[19.4845,40.2097],[19.3979,40.2849],[19.4392,40.4703],[19.3372,40.6636],[19.4612,40.933],[19.4801,41.2363],[19.4405,41.4248],[19.5754,41.6406],[19.5776,41.7874],[19.3426,41.8691],[19.3615,42.0691],[19.2809,42.1727],[19.6546,42.6285],[19.7881,42.4765],[20.0641,42.5472]]]},properties:{name:"Albania",id:"AL",Continent:"Europe"},id:"AL"}]},B5=G({__name:"EuropeMap",props:{tableData:{},showLegend:{type:Boolean}},setup(s){const e=je(),t=je(),i=s;return Ke(()=>{t.value=Ui(e);const{chart:r,groups:n}=Oc(t.value,I5,i.tableData);i.showLegend&&Ac(t.value,r,n)}),Gi(()=>{t.value&&t.value.dispose()}),(r,n)=>(y(),E("div",{ref_key:"chartDiv",ref:e,class:"europe-map"},null,512))}});
vendor: 7,805 bytes, line 42
42class j5 extends wn{setupDefaultRules(){super.setupDefaultRules();const e=this._root.interfaceColors,t=this._root.language,i=this.rule.bind(this);i("XYChart").setAll({colors:dr.new(this._root,{}),paddingLeft:20,paddingRight:20,paddingTop:16,paddingBottom:16,panX:!1,panY:!1,wheelStep:.25,arrangeTooltips:!0,pinchZoomX:!1,pinchZoomY:!1}),i("XYSeries").setAll({legendLabelText:"{name}"}),i("Rectangle",["plotbackground","xy","background"]).setAll({fill:J.fromHex(0),fillOpacity:0}),i("XYChart",["scrollbar","chart"]).setAll({paddingBottom:0,paddingLeft:0,paddingTop:0,paddingRight:0,colors:dr.new(this._root,{saturation:0})});{const l=i("Graphics",["scrollbar","overlay"]);l.setAll({fillOpacity:.5}),K(l,"fill",e,"background")}i("RoundedRectangle",["xy","scrollbar","thumb"]).setAll({cornerRadiusTR:0,cornerRadiusTL:0,cornerRadiusBR:0,cornerRadiusBL:0,fillOpacity:0,focusable:!0}),i("RoundedRectangle",["xy","scrollbar","thumb"]).states.create("hover",{fillOpacity:.4}),i("RoundedRectangle",["xy","scrollbar","chart","background"]).setAll({cornerRadiusTL:0,cornerRadiusBL:0,cornerRadiusTR:0,cornerRadiusBR:0}),i("RoundedRectangle",["xy","scrollbar","chart","background","resize","button"]).setAll({cornerRadiusBL:40,cornerRadiusBR:40,cornerRadiusTL:40,cornerRadiusTR:40}),i("AxisRendererX",["xy","chart","scrollbar"]).setAll({strokeOpacity:0,inside:!0}),i("AxisRendererY",["xy","chart","scrollbar"]).setAll({strokeOpacity:0,inside:!0,minGridDistance:5}),i("AxisLabel",["xy","scrollbar","x"]).setAll({opacity:.5,centerY:X,minPosition:.01,maxPosition:.99,fontSize:"0.8em"}),i("AxisLabel",["category"]).setAll({text:"{category}",populateText:!0}),i("AxisLabel",["x"]).setAll({centerY:0}),i("AxisLabel",["x","inside"]).setAll({centerY:X}),i("AxisLabel",["x","inside","opposite"]).setAll({centerY:0}),i("AxisLabel",["x","opposite"]).setAll({centerY:X}),i("AxisLabel",["y"]).setAll({centerX:X}),i("AxisLabel",["y","inside"]).setAll({centerX:0}),i("AxisLabel",["y","inside","opposite"]).setAll({centerX:X}),i("AxisLabel",["y","opposite"]).setAll({centerX:0}),i("AxisLabel",["minor"]).setAll({fontSize:"0.6em"}),i("AxisLabel",["xy","scrollbar","y"]).setAll({visible:!1}),i("Grid",["xy","scrollbar","y"]).setAll({visible:!1}),i("Grid",["xy","scrollbar","x"]).setAll({opacity:.5}),i("XYCursor").setAll({behavior:"none",layer:30,exportable:!1,snapToSeriesBy:"xy",moveThreshold:1});{const l=i("Grid",["cursor","x"]);l.setAll({forceInactive:!0,strokeOpacity:.8,strokeDasharray:[2,2],role:"slider",ariaLabel:t.translate("Use left and right arrows to move selection")}),K(l,"stroke",e,"alternativeBackground")}{const l=i("Grid",["cursor","y"]);l.setAll({forceInactive:!0,strokeOpacity:.8,strokeDasharray:[2,2],role:"slider",ariaLabel:t.translate("Use up and down arrows to move selection")}),K(l,"stroke",e,"alternativeBackground")}{const l=i("Graphics",["cursor","selection"]);l.setAll({fillOpacity:.15}),K(l,"fill",e,"alternativeBackground")}i("Axis").setAll({start:0,end:1,minZoomCount:1,maxZoomCount:1/0,maxZoomFactor:1e3,maxDeviation:.1,snapTooltip:!0,tooltipLocation:.5,panX:!0,panY:!0,zoomX:!0,zoomY:!0,fixAxisSize:!0}),i("AxisLabel").setAll({location:.5,multiLocation:0,centerX:ae,centerY:ae,paddingTop:3,paddingBottom:3,paddingLeft:5,paddingRight:5}),i("Container",["axis","header"]).setAll({layer:30}),i("Rectangle",["axis","header","background"]).setAll({crisp:!0});{const l=i("AxisRenderer");l.setAll({crisp:!0,strokeOpacity:0}),K(l,"stroke",e,"grid")}i("AxisRendererX").setAll({minGridDistance:120,opposite:!1,inversed:!1,cellStartLocation:0,cellEndLocation:1,width:X}),i("AxisRendererY").setAll({minGridDistance:40,opposite:!1,inversed:!1,cellStartLocation:0,cellEndLocation:1,height:X});{const l=i("Rectangle",["axis","thumb"]);l.setAll({fillOpacity:0}),K(l,"fill",e,"alternativeBackground"),l.states.create("hover",{fillOpacity:.1})}i("Rectangle",["axis","thumb","x"]).setAll({cursorOverStyle:"ew-resize"}),i("Rectangle",["axis","thumb","y"]).setAll({cursorOverStyle:"ns-resize"});{const l=i("Grid");l.setAll({location:0,strokeOpacity:.15,crisp:!0}),K(l,"stroke",e,"grid")}{const l=i("Grid",["minor"]);l.setAll({location:0,strokeOpacity:.07,crisp:!0}),K(l,"stroke",e,"grid")}i("Grid",["base"]).setAll({strokeOpacity:.3});{const l=i("Graphics",["axis","fill"]);l.setAll({visible:!1,isMeasured:!1,position:"absolute",fillOpacity:.05}),K(l,"fill",e,"alternativeBackground")}i("Graphics",["axis","fill","range"]).setAll({isMeasured:!0}),i("Graphics",["series","fill","range"]).setAll({visible:!1,isMeasured:!0}),i("Grid",["series","range"]).setAll({visible:!1}),i("AxisTick",["series","range"]).setAll({visible:!1}),i("AxisLabel",["series","range"]).setAll({visible:!1});{const l=i("AxisTick");l.setAll({location:.5,multiLocation:0,strokeOpacity:1,isMeasured:!1,position:"absolute",visible:!1}),K(l,"stroke",e,"grid")}i("CategoryAxis").setAll({startLocation:0,endLocation:1,fillRule:(l,u)=>{const c=l.get("axisFill");c&&(!F(u)||u%2==0?c.setPrivate("visible",!0):c.setPrivate("visible",!1))}});const r=[{timeUnit:"millisecond",count:1},{timeUnit:"millisecond",count:5},{timeUnit:"millisecond",count:10},{timeUnit:"millisecond",count:50},{timeUnit:"millisecond",count:100},{timeUnit:"millisecond",count:500},{timeUnit:"second",count:1},{timeUnit:"second",count:5},{timeUnit:"second",count:10},{timeUnit:"second",count:30},{timeUnit:"minute",count:1},{timeUnit:"minute",count:5},{timeUnit:"minute",count:10},{timeUnit:"minute",count:15},{timeUnit:"minute",count:30},{timeUnit:"hour",count:1},{timeUnit:"hour",count:3},{timeUnit:"hour",count:6},{timeUnit:"hour",count:12},{timeUnit:"day",count:1},{timeUnit:"day",count:2},{timeUnit:"day",count:3},{timeUnit:"day",count:4},{timeUnit:"day",count:5},{timeUnit:"week",count:1},{timeUnit:"month",count:1},{timeUnit:"month",count:2},{timeUnit:"month",count:3},{timeUnit:"month",count:6},{timeUnit:"year",count:1},{timeUnit:"year",count:2},{timeUnit:"year",count:5},{timeUnit:"year",count:10},{timeUnit:"year",count:50},{timeUnit:"year",count:100},{timeUnit:"year",count:200},{timeUnit:"year",count:500},{timeUnit:"year",count:1e3},{timeUnit:"year",count:2e3},{timeUnit:"year",count:5e3},{timeUnit:"year",count:1e4},{timeUnit:"year",count:1e5}],n={millisecond:t.translate("_date_millisecond"),second:t.translate("_date_second"),minute:t.translate("_date_minute"),hour:t.translate("_date_hour"),day:t.translate("_date_day"),week:t.translate("_date_day"),month:t.translate("_date_month"),year:t.translate("_date_year")},a={millisecond:t.translate("_date_millisecond"),second:t.translate("_date_second"),minute:t.translate("_date_minute"),hour:t.translate("_date_day"),day:t.translate("_date_day"),week:t.translate("_date_day"),month:t.translate("_date_month")+" "+t.translate("_date_year"),year:t.translate("_date_year")},o={millisecond:t.translate("_date_millisecond_full"),second:t.translate("_date_second_full"),minute:t.translate("_date_minute_full"),hour:t.translate("_date_hour_full"),day:t.translate("_date_day_full"),week:t.translate("_date_week_full"),month:t.translate("_date_month_full"),year:t.translate("_date_year")};i("CategoryDateAxis").setAll({markUnitChange:!0,gridIntervals:Za(r),dateFormats:Lr(n),periodChangeDateFormats:Lr(a)}),i("DateAxis").setAll({maxZoomFactor:null,strictMinMax:!0,startLocation:0,endLocation:1,markUnitChange:!0,groupData:!1,groupCount:500,gridIntervals:Za(r),dateFormats:Lr(n),periodChangeDateFormats:Lr(a),tooltipDateFormats:o,groupIntervals:[{timeUnit:"millisecond",count:1},{timeUnit:"millisecond",count:10},{timeUnit:"millisecond",count:100},{timeUnit:"second",count:1},{timeUnit:"second",count:10},{timeUnit:"minute",count:1},{timeUnit:"minute",count:10},{timeUnit:"hour",count:1},{timeUnit:"day",count:1},{timeUnit:"week",count:1},{timeUnit:"month",count:1},{timeUnit:"year",count:1}],fillRule:l=>{const u=l.get("axisFill");
42if(u){const c=l.component,h=l.get("value"),f=l.get("endValue"),d=c.intervalDuration(),p=c.getPrivate("baseInterval"),g=c.getPrivate("gridInterval",p);let b=c.getPrivate("min",0);if(b=of(new Date(b),g.timeUnit,g.count,this._root.locale.firstDayOfWeek,this._root.utc,void 0,this._root.timezone).getTime(),h!=null&&f!=null){const m=Math.round(Math.round((h-b)/d))/2;m==Math.round(m)?u.setPrivate("visible",!0):u.setPrivate("visible",!1)}}}}),i("GaplessDateAxis").setAll({fillRule:l=>{const u=l.get("axisFill");if(u){const c=l.get("index");let h=!1;(!F(c)||c%2==0)&&(h=!0),u.setPrivate("visible",h)}}}),i("ValueAxis").setAll({baseValue:0,logarithmic:!1,strictMinMax:!1,autoZoom:!0,fillRule:l=>{const u=l.get("axisFill");if(u){const c=l.component,h=l.get("value"),f=c.getPrivate("step");F(h)&&F(f)&&(Oe(h/f/2,5)==Math.round(h/f/2)?u.setPrivate("visible",!1):u.setPrivate("visible",!0))}}}),i("DurationAxis").setAll({baseUnit:"second"}),i("XYSeries").setAll({maskBullets:!0,stackToNegative:!0,locationX:.5,locationY:.5,snapTooltip:!1,openValueXGrouped:"open",openValueYGrouped:"open",valueXGrouped:"close",valueYGrouped:"close",seriesTooltipTarget:"series"}),i("BaseColumnSeries").setAll({adjustBulletPosition:!0}),i("ColumnSeries").setAll({clustered:!0}),i("RoundedRectangle",["series","column"]).setAll({position:"absolute",isMeasured:!1,width:We(70),height:We(70),strokeWidth:1,strokeOpacity:1,cornerRadiusBL:0,
vendor: 7,304 bytes, line 42
42cornerRadiusTL:0,cornerRadiusBR:0,cornerRadiusTR:0,fillOpacity:1,role:"figure"}),i("LineSeries").setAll({connect:!0,autoGapCount:1.1,stackToNegative:!1}),i("Graphics",["series","stroke"]).setAll({position:"absolute",strokeWidth:1,strokeOpacity:1,isMeasured:!1}),i("Graphics",["series","fill"]).setAll({visible:!1,fillOpacity:0,position:"absolute",strokeWidth:0,strokeOpacity:0,isMeasured:!1}),i("Graphics",["line","series","legend","marker","stroke"]).setAll({draw:(l,u)=>{const c=u.parent;if(c){const h=c.height(),f=c.width();l.moveTo(0,h/2),l.lineTo(f,h/2)}}});{const l=i("Graphics",["line","series","legend","marker","stroke"]).states.create("disabled",{});K(l,"stroke",e,"disabled")}i("Graphics",["line","series","legend","marker","fill"]).setAll({draw:(l,u)=>{const c=u.parent;if(c){const h=c.height(),f=c.width();l.moveTo(0,0),l.lineTo(f,0),l.lineTo(f,h),l.lineTo(0,h),l.lineTo(0,0)}}});{const l=i("Graphics",["line","series","legend","marker","fill"]).states.create("disabled",{});K(l,"stroke",e,"disabled")}i("SmoothedXYLineSeries").setAll({tension:.5}),i("SmoothedXLineSeries").setAll({tension:.5}),i("SmoothedYLineSeries").setAll({tension:.5}),i("Candlestick").setAll({position:"absolute",isMeasured:!1,width:We(50),height:We(50),strokeWidth:1,strokeOpacity:1,cornerRadiusBL:0,cornerRadiusTL:0,cornerRadiusBR:0,cornerRadiusTR:0,fillOpacity:1,role:"figure"}),i("OHLC").setAll({width:We(80),height:We(80)}),i("CandlestickSeries").setAll({lowValueXGrouped:"low",lowValueYGrouped:"low",highValueXGrouped:"high",highValueYGrouped:"high",openValueXGrouped:"open",openValueYGrouped:"open",valueXGrouped:"close",valueYGrouped:"close"});{const l=i("Rectangle",["column","autocolor"]).states.create("riseFromOpen",{});K(l,"fill",e,"positive"),K(l,"stroke",e,"positive")}{const l=i("Rectangle",["column","autocolor"]).states.create("dropFromOpen",{});K(l,"fill",e,"negative"),K(l,"stroke",e,"negative")}i("Rectangle",["column","autocolor","pro"]).states.create("riseFromOpen",{fillOpacity:0}),i("Rectangle",["column","autocolor","pro"]).states.create("dropFromOpen",{fillOpacity:1});{const l=i("Rectangle",["column","autocolor","pro"]).states.create("riseFromPrevious",{});K(l,"fill",e,"positive"),K(l,"stroke",e,"positive")}{const l=i("Rectangle",["column","autocolor","pro"]).states.create("dropFromPrevious",{});K(l,"fill",e,"negative"),K(l,"stroke",e,"negative")}i("RoundedRectangle",["rangegrip"]).setAll({strokeOpacity:0,fillOpacity:0,strokeWidth:1,width:12,height:12});{const l=i("Graphics",["rangegrip","button","icon"]);l.setAll({interactive:!1,crisp:!0,strokeOpacity:.5,draw:u=>{u.moveTo(0,.5),u.lineTo(0,12.5),u.moveTo(2,.5),u.lineTo(2,12.5),u.moveTo(4,.5),u.lineTo(4,12.5)}}),K(l,"stroke",e,"secondaryButtonText")}i("Button",["rangegrip"]).setAll({draggable:!0,paddingTop:0,paddingBottom:0}),i("Button",["rangegrip","vertical"]).setAll({rotation:90,cursorOverStyle:"ns-resize",centerX:ae}),i("Button",["rangegrip","horizontal"]).setAll({cursorOverStyle:"ew-resize",centerX:ae}),i("Button",["rangegrip","vertical","left"]).setAll({centerY:X}),i("Button",["rangegrip","vertical","right"]).setAll({centerY:0}),i("Button",["rangegrip","horizontal","top"]).setAll({centerY:0}),i("Button",["rangegrip","horizontal","bottom"]).setAll({centerY:X})}}class pr extends ai{constructor(){super(...arguments),Object.defineProperty(this,"xAxes",{enumerable:!0,configurable:!0,writable:!0,value:new Ls}),Object.defineProperty(this,"yAxes",{enumerable:!0,configurable:!0,writable:!0,value:new Ls}),Object.defineProperty(this,"topAxesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.chartContainer.children.push(ie.new(this._root,{width:X,layout:this._root.verticalLayout}))}),Object.defineProperty(this,"yAxesAndPlotContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.chartContainer.children.push(ie.new(this._root,{width:X,height:X,layout:this._root.horizontalLayout}))}),Object.defineProperty(this,"bottomAxesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.chartContainer.children.push(ie.new(this._root,{width:X,layout:this._root.verticalLayout}))}),Object.defineProperty(this,"leftAxesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.yAxesAndPlotContainer.children.push(ie.new(this._root,{height:X,layout:this._root.horizontalLayout}))}),Object.defineProperty(this,"plotsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.yAxesAndPlotContainer.children.push(ie.new(this._root,{width:X,height:X,maskContent:!1}))}),Object.defineProperty(this,"plotContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.plotsContainer.children.push(ie.new(this._root,{width:X,height:X}))}),Object.defineProperty(this,"topPlotContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.plotsContainer.children.push(ie.new(this._root,{width:X,height:X}))}),Object.defineProperty(this,"gridContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.plotContainer.children.push(ie.new(this._root,{width:X,height:X,isMeasured:!1}))}),Object.defineProperty(this,"topGridContainer",{enumerable:!0,configurable:!0,writable:!0,value:ie.new(this._root,{width:X,height:X,isMeasured:!1})}),Object.defineProperty(this,"rightAxesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.yAxesAndPlotContainer.children.push(ie.new(this._root,{height:X,layout:this._root.horizontalLayout}))}),Object.defineProperty(this,"axisHeadersContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.plotContainer.children.push(ie.new(this._root,{}))}),Object.defineProperty(this,"zoomOutButton",{enumerable:!0,configurable:!0,writable:!0,value:this.topPlotContainer.children.push(Ei.new(this._root,{themeTags:["zoom"],icon:me.new(this._root,{themeTags:["button","icon"]})}))}),Object.defineProperty(this,"_movePoint",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0}}),Object.defineProperty(this,"_wheelDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_otherCharts",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_movePoints",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_downStartX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downEndX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downStartY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downEndY",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){this._defaultThemes.push(j5.new(this._root)),super._afterNew(),this._disposers.push(this.xAxes),this._disposers.push(this.yAxes);const e=this._root;let t=this._root.verticalLayout;const i=this.zoomOutButton;i.events.on("click",()=>{this.zoomOut()}),i.hide(0),i.states.lookup("default").set("opacity",1),this.chartContainer.set("layout",t);const r=this.plotContainer;r.children.push(this.seriesContainer),this._disposers.push(this._processAxis(this.xAxes,this.bottomAxesContainer)),this._disposers.push(this._processAxis(this.yAxes,this.leftAxesContainer)),r.children.push(this.topGridContainer),r.children.push(this.bulletsContainer),r.set("interactive",!0),r.set("interactiveChildren",!1),r.set("background",ut.new(e,{themeTags:["plotbackground","xy","background"]}
42)),this._disposers.push(r.events.on("pointerdown",n=>{this._handlePlotDown(n)})),this._disposers.push(r.events.on("globalpointerup",n=>{this._handlePlotUp(n)})),this._disposers.push(r.events.on("globalpointermove",n=>{this._handlePlotMove(n)})),this._maskGrid(),this._setUpTouch()}_beforeChanged(){super._beforeChanged(),(this.isDirty("pinchZoomX")||this.isDirty("pinchZoomY")||this.get("panX")||this.get("panY"))&&this._setUpTouch()}_setUpTouch(){this.plotContainer._display.cancelTouch||(this.plotContainer._display.cancelTouch=!!(this.get("pinchZoomX")||this.get("pinchZoomY")||this.get("panX")||this.get("panY")))}_maskGrid(){this.gridContainer.set("maskContent",!0),this.topGridContainer.set("maskContent",!0)}_removeSeries(e){e._unstack(),e._posXDp&&e._posXDp.dispose(),e._posYDp&&e._posYDp.dispose(),e.set("baseAxis",void 0);const t=e.get("xAxis");t&&(kt(t.series,e),t.markDirtyExtremes());const i=e.get("yAxis");i&&(kt(i.series,e),i.markDirtyExtremes());const r=this.get("cursor");if(r){const n=r.get("snapToSeries");n&&kt(n,e)}super._removeSeries(e)}handleWheel(e){const t=this.get("wheelX"),i=this.get("wheelY"),r=this.plotContainer,n=e.originalEvent;let a=!1;if(wa(n,this))a=!0;else return;const o=r.toLocal(e.point),l=this.get("wheelStep",.2),u=n.deltaY/100,c=n.deltaX/100,h=this.get("wheelZoomPositionX"),f=this.get("wheelZoomPositionY");(t==="zoomX"||t==="zoomXY")&&c!=0&&this.xAxes.each(d=>{if(d.get("zoomX")){let p=d.get("start"),g=d.get("end"),b=d.fixPosition(o.x/r.width());h!=null&&(b=h);let m=d.get("maxDeviation",0),v=Math.min(1+m,Math.max(-m,p-l*(g-p)*c*b)),x=Math.max(-m,Math.min(1+m,g+l*(g-p)*c*(1-b)));v==p&&x==g&&(a=!1),1/(x-v)<d.getPrivate("maxZoomFactor",1/0)/d.get("minZoomCount",1)?this._handleWheelAnimation(d.zoom(v,x)):a=!1}}),(i==="zoomX"||i==="zoomXY")&&u!=0&&this.xAxes.each(d=>{if(d.get("zoomX")){let p=d.get("start"),g=d.get("end"),b=d.fixPosition(o.x/r.width());h!=null&&(b=h);let m=d.get("maxDeviation",0),v=Math.min(1+m,Math.max(-m,p-l*(g-p)*u*b)),x=Math.max(-m,Math.min(1+m,g+l*(g-p)*u*(1-b)));v==p&&x==g&&(a=!1),1/(x-v)<d.getPrivate("maxZoomFactor",1/0)/d.get("minZoomCount",1)?this._handleWheelAnimation(d.zoom(v,x)):a=!1}}),(t==="zoomY"||t==="zoomXY")&&c!=0&&this.yAxes.each(d=>{if(d.get("zoomY")){let p=d.get("start"),g=d.get("end"),b=d.fixPosition(o.y/r.height());f!=null&&(b=f);let m=d.get("maxDeviation",0),v=Math.min(1+m,Math.max(-m,p-l*(g-p)*c*b)),x=Math.max(-m,Math.min(1+m,g+l*(g-p)*c*(1-b)));v==p&&x==g&&(a=!1),1/(x-v)<d.getPrivate("maxZoomFactor",1/0)/d.get("minZoomCount",1)?this._handleWheelAnimation(d.zoom(v,x)):a=!1}}),(i==="zoomY"||i==="zoomXY")&&u!=0&&this.yAxes.each(d=>{if(d.get("zoomY")){let p=d.get("start"),g=d.get("end"),b=d.fixPosition(o.y/r.height());f!=null&&(b=f);let m=d.get("maxDeviation",0),v=Math.min(1+m,Math.max(-m,p-l*(g-p)*u*b)),x=Math.max(-m,Math.min(1+m,g+l*(g-p)*u*(1-b)));v==p&&x==g&&(a=!1),1/(x-v)<d.getPrivate("maxZoomFactor",1/0)/d.get("minZoomCount",1)?this._handleWheelAnimation(d.zoom(v,x)):a=!1}}),(t==="panX"||t==="panXY")&&c!=0&&this.xAxes.each(d=>{if(d.get("panX")){let p=d.get("start"),g=d.get("end"),b=this._getWheelSign(d)*l*(g-p)*c,m=p+b,v=g+b,x=this._fixWheel(m,v);m=x[0],v=x[1],m==p&&v==g&&(a=!1),this._handleWheelAnimation(d.zoom(m,v))}}),(i==="panX"||i==="panXY")&&u!=0&&this.xAxes.each(d=>{if(d.get("panX")){let p=d.get("start"),g=d.get("end"),b=this._getWheelSign(d)*l*(g-p)*u,m=p+b,v=g+b,x=this._fixWheel(m,v);m=x[0],v=x[1],m==p&&v==g&&(a=!1),this._handleWheelAnimation(d.zoom(m,v))}}),(t==="panY"||t==="panXY")&&c!=0&&this.yAxes.each(d=>{if(d.get("panY")){let p=d.get("start"),g=d.get("end"),b=this._getWheelSign(d)*l*(g-p)*c,m=p+b,v=g+b,x=this._fixWheel(m,v);m=x[0],v=x[1],m==p&&v==g&&(a=!1),this._handleWheelAnimation(d.zoom(m,v))}}),(i==="panY"||i==="panXY")&&u!=0&&this.yAxes.each(d=>{if(d.get("panY")){let p=d.get("start"),g=d.get("end"),b=this._getWheelSign(d)*l*(g-p)*u,m=p-b,v=g-b,x=this._fixWheel(m,v);m=x[0],v=x[1],m==p&&v==g&&(a=!1),this._handleWheelAnimation(d.zoom(m,v))}}),a&&n.preventDefault()}_handleSetWheel(){const e=this.get("wheelX"),t=this.get("wheelY"),i=this.plotContainer;e!=="none"||t!=="none"?(this._wheelDp=i.events.on("wheel",r=>{const n=r.originalEvent;(e!=="none"&&Math.abs(n.deltaX)!=0||t!=="none"&&Math.abs(n.deltaY)!=0)&&this.handleWheel(r)}),this._disposers.push(this._wheelDp)):this._wheelDp&&this._wheelDp.dispose()}_getWheelSign(e){let t=1;return e.get("renderer").get("inversed")&&(t=-1),t}_fixWheel(e,t){const i=t-e;return e<0&&(e=0,t=e+i),t>1&&(t=1,e=t-i),[e,t]}_handlePlotDown(e){const t=e.originalEvent;if(t.button==2)return;const i=this.plotContainer;let r=i.toLocal(e.point);if((this.get("pinchZoomX")||this.get("pinchZoomY"))&&t.pointerId&&Ce(i._downPoints).length>0){const a=this.xAxes.getIndex(0),o=this.yAxes.getIndex(0);a&&(this._downStartX=a.get("start",0),this._downEndX=a.get("end",1)),o&&(this._downStartY=o.get("start",0),this._downEndY=o.get("end",1))}if((this.get("panX")||this.get("panY"))&&r.x>=0&&r.y>=0&&r.x<=i.width()&&r.y<=this.height()){this._downPoint={x:t.clientX,y:t.clientY};const n=this.get("panX"),a=this.get("panY");n&&this.xAxes.each(l=>{l._panStart=l.get("start"),l._panEnd=l.get("end")}),a&&this.yAxes.each(l=>{l._panStart=l.get("start"),l._panEnd=l.get("end")});const o="panstarted";this.events.isEnabled(o)&&this.events.dispatch(o,{type:o,target:this,originalEvent:e.originalEvent})}}_handleWheelAnimation(e){e?e.events.on("stopped",()=>{this._dispatchWheelAnimation()}):this._dispatchWheelAnimation()}_dispatchWheelAnimation(){const e="wheelended";this.events.isEnabled(e)&&this.events.dispatch(e,{type:e,target:this})}_handlePlotUp(e){const t=this._downPoint;if(t&&(this.get("panX")||this.get("panY"))){if(e.originalEvent.clientX==t.x&&e.originalEvent.clientY==t.y){const r="pancancelled";this.events.isEnabled(r)&&this.events.dispatch(r,{type:r,target:this,originalEvent:e.originalEvent})}const i="panended";this.events.isEnabled(i)&&this.events.dispatch(i,{type:i,target:this,originalEvent:e.originalEvent})}this._downPoint=void 0,this.xAxes.each(i=>{i._isPanning=!1}),this.yAxes.each(i=>{i._isPanning=!1})}_handlePlotMove(e){const t=this.plotContainer;if(this.get("pinchZoomX")||this.get("pinchZoomY")){const n=e.originalEvent.pointerId;if(n&&(this._movePoints[n]=e.point,Ce(t._downPoints).length>1)){this._handlePinch();return}}let i=this._downPoint;
42if(i){i=t.toLocal(this._root.documentPointToRoot(i));let r=t.toLocal(e.point);const n=this.get("panX"),a=this.get("panY");if(n){let o=this.get("scrollbarX");o&&o.events.disableType("rangechanged"),this.xAxes.each(l=>{if(l.get("panX")){l._isPanning=!0;let u=l._panStart,c=l._panEnd,f=(c-u)*(i.x-r.x)/t.width();l.get("renderer").get("inversed")&&(f*=-1);let d=u+f,p=c+f;p-d<1+l.get("maxDeviation",1)*2&&(l.set("start",d),l.set("end",p))}}),o&&o.events.enableType("rangechanged")}if(a){let o=this.get("scrollbarY");o&&o.events.disableType("rangechanged"),this.yAxes.each(l=>{if(l.get("panY")){l._isPanning=!0;let u=l._panStart,c=l._panEnd,f=(c-u)*(i.y-r.y)/t.height();l.get("renderer").get("inversed")&&(f*=-1);let d=u-f,p=c-f;p-d<1+l.get("maxDeviation",1)*2&&(l.set("start",d),l.set("end",p))}}),o&&o.events.enableType("rangechanged")}}}_handlePinch(){const e=this.plotContainer;let t=0,i=[],r=[];if(he(e._downPoints,(n,a)=>{i[t]=a;let o=this._movePoints[n];o&&(r[t]=o),t++}),i.length>1&&r.length>1){const n=e.width(),a=e.height();let o=i[0],l=i[1],u=r[0],c=r[1];if(o&&l&&u&&c){if(u=e.toLocal(u),c=e.toLocal(c),o=e.toLocal(o),l=e.toLocal(l),this.get("pinchZoomX")){const h=this._downStartX,f=this._downEndX;if(h!=null&&f!=null){o.x>l.x&&([o,l]=[l,o],[u,c]=[c,u]);let d=h+o.x/n*(f-h),p=h+l.x/n*(f-h),g=h+u.x/n*(f-h),b=h+c.x/n*(f-h),m=Math.max(.001,p-d),v=Math.max(.001,b-g),x=m/v,w=h*x+d-g*x,P=f*x+p-b*x;this.xAxes.each(T=>{let O=T.fixPosition(w),L=T.fixPosition(P);T.zoom(O,L,0)})}}if(this.get("pinchZoomY")){const h=this._downStartY,f=this._downEndY;if(h!=null&&f!=null){o.y<l.y&&([o,l]=[l,o],[u,c]=[c,u]);let d=h+(1-o.y/a)*(f-h),p=h+(1-l.y/a)*(f-h),g=h+(1-u.y/a)*(f-h),b=h+(1-c.y/a)*(f-h),m=Math.max(.001,p-d),v=Math.max(.001,b-g),x=m/v,w=h*x+d-g*x,P=f*x+p-b*x;this.yAxes.each(T=>{let O=T.fixPosition(w),L=T.fixPosition(P);T.zoom(O,L,0)})}}}}}_handleCursorPosition(){const e=this.get("cursor");if(e){const t=e.getPrivate("point");let i=e.get("snapToSeries");if(e._downPoint&&(i=void 0),i&&t){const r=e.get("snapToSeriesBy"),n=[];I(i,l=>{if(!l.isHidden()&&!l.isHiding())if(r!="x!"&&r!="y!"){const u=l.startIndex(),c=l.endIndex();for(let h=u;h<c;h++){const f=l.dataItems[h];f&&!f.isHidden()&&n.push(f)}}else{const u=l.get("tooltipDataItem");u&&n.push(u)}});let a=1/0,o;if(I(n,l=>{const u=l.get("point");if(u){let c=0;r=="x"||r=="x!"?c=Math.abs(t.x-u.x):r=="y"||r=="y!"?c=Math.abs(t.y-u.y):c=Math.hypot(t.x-u.x,t.y-u.y),c<a&&(a=c,o=l)}}),I(i,l=>{const u=l.get("tooltip");u&&u._setDataItem(void 0)}),o){let l=o.component;l.showDataItemTooltip(o),l.setRaw("tooltipDataItem",o);const u=o.get("point");u&&e.handleMove(l.toGlobal({x:u.x-l.x(),y:u.y-l.y()}),!0)}}}}_updateCursor(){let e=this.get("cursor");e&&e.updateCursor()}_addCursor(e){this.plotContainer.children.push(e)}_prepareChildren(){if(super._prepareChildren(),this.series.each(e=>{this._colorize(e)}),(this.isDirty("wheelX")||this.isDirty("wheelY"))&&this._handleSetWheel(),this.isDirty("cursor")){const e=this._prevSettings.cursor,t=this.get("cursor");t!==e&&(this._disposeProperty("cursor"),e&&e.dispose(),t&&(t._setChart(this),this._addCursor(t),this._pushPropertyDisposer("cursor",t.events.on("selectended",()=>{this._handleCursorSelectEnd()}))),this._prevSettings.cursor=t)}if(this.isDirty("scrollbarX")){const e=this._prevSettings.scrollbarX,t=this.get("scrollbarX");t!==e&&(this._disposeProperty("scrollbarX"),e&&e.dispose(),t&&(t.parent||this.topAxesContainer.children.push(t),this._pushPropertyDisposer("scrollbarX",t.events.on("rangechanged",i=>{this._handleScrollbar(this.xAxes,i.start,i.end,i.grip)})),this._pushPropertyDisposer("scrollbarX",t.events.on("released",()=>{this.xAxes.each(i=>{i.get("zoomable")&&this._handleAxisSelection(i)})})),t.setPrivate("positionTextFunction",i=>{const r=this.xAxes.getIndex(0);return r&&r.getTooltipText(i,!1)||""})),this._prevSettings.scrollbarX=t)}if(this.isDirty("scrollbarY")){const e=this._prevSettings.scrollbarY,t=this.get("scrollbarY");t!==e&&(this._disposeProperty("scrollbarY"),e&&e.dispose(),t&&(t.parent||this.rightAxesContainer.children.push(t),this._pushPropertyDisposer("scrollbarY",t.events.on("rangechanged",i=>{this._handleScrollbar(this.yAxes,i.start,i.end,i.grip)})),this._pushPropertyDisposer("scrollbarY",t.events.on("released",()=>{this.yAxes.each(i=>{i.get("zoomable")&&this._handleAxisSelection(i)})})),t.setPrivate("positionTextFunction",i=>{const r=this.yAxes.getIndex(0);return r&&r.getTooltipText(i,!1)||""})),this._prevSettings.scrollbarY=t)}this._handleZoomOut()}_processSeries(e){super._processSeries(e);const t=e.get("xAxis"),i=e.get("yAxis");Jr(t.series,e),Jr(i.series,e),e._posXDp=e.addDisposer(t.events.on("positionchanged",()=>{e._fixPosition()})),e._posXDp=e.addDisposer(i.events.on("positionchanged",()=>{e._fixPosition()}
42)),e.get("baseAxis")||(i.isType("CategoryAxis")||i.isType("DateAxis")?e.set("baseAxis",i):e.set("baseAxis",t)),e.get("stacked")&&(e._markDirtyKey("stacked"),I(e.dataItems,r=>{r.set("stackToItemY",void 0),r.set("stackToItemX",void 0)})),e._markDirtyAxes(),i.markDirtyExtremes(),t.markDirtyExtremes(),t._seriesAdded=!0,i._seriesAdded=!0,this._colorize(e)}_colorize(e){const t=this.get("colors");if(t&&e.get("fill")==null){const r=t.next();e._setSoft("stroke",r),e._setSoft("fill",r)}const i=this.get("patterns");if(i&&e.get("fillPattern")==null){const r=i.next();e._setSoft("fillPattern",r)}}_handleCursorSelectEnd(){const e=this.get("cursor"),t=e.get("behavior"),i=e.getPrivate("downPositionX",0),r=e.getPrivate("downPositionY",0),n=Math.min(1,Math.max(0,e.getPrivate("positionX",.5))),a=Math.min(1,Math.max(0,e.getPrivate("positionY",.5)));this.xAxes.each(o=>{if(t==="zoomX"||t==="zoomXY"){let l=o.toAxisPosition(i),u=o.toAxisPosition(n);o.zoom(l,u)}o.setPrivate("updateScrollbar",!0)}),this.yAxes.each(o=>{if(t==="zoomY"||t==="zoomXY"){let l=o.toAxisPosition(r),u=o.toAxisPosition(a);o.zoom(l,u)}o.setPrivate("updateScrollbar",!0)})}_handleScrollbar(e,t,i,r){e.each(n=>{let a=n.fixPosition(t),o=n.fixPosition(i),l=n.zoom(a,o,void 0,r);const u="updateScrollbar";n.setPrivateRaw(u,!1),l?l.events.on("stopped",()=>{n.setPrivateRaw(u,!0)}):n.setPrivateRaw(u,!0)})}_processAxis(e,t){return e.events.onAll(i=>{if(i.type==="clear")I(i.oldValues,r=>{this._removeAxis(r)});else if(i.type==="push")t.children.push(i.newValue),i.newValue.processChart(this);else if(i.type==="setIndex")t.children.setIndex(i.index,i.newValue),i.newValue.processChart(this);else if(i.type==="insertIndex")t.children.insertIndex(i.index,i.newValue),i.newValue.processChart(this);else if(i.type==="removeIndex")this._removeAxis(i.oldValue);else if(i.type==="moveIndex")t.children.moveValue(i.value,i.newIndex),i.value.processChart(this);else throw new Error("Unknown IListEvent type")})}_removeAxis(e){if(!e.isDisposed()){const t=e.parent;t&&t.children.removeValue(e);const i=e.gridContainer,r=i.parent;r&&r.children.removeValue(i);const n=e.topGridContainer,a=n.parent;a&&a.children.removeValue(n)}}_updateChartLayout(){const e=this.leftAxesContainer.width(),t=this.rightAxesContainer.width(),i=this.bottomAxesContainer;i.set("paddingLeft",e),i.set("paddingRight",t);const r=this.topAxesContainer;r.set("paddingLeft",e),r.set("paddingRight",t)}processAxis(e){var t=this.get("cursor");t&&(this.addDisposer(e.on("start",()=>{this._updateCursor()})),this.addDisposer(e.on("end",()=>{this._updateCursor()})))}_handleAxisSelection(e,t){let i=e.fixPosition(e.get("start",0)),r=e.fixPosition(e.get("end",1));if(i>r&&([i,r]=[r,i]),this.xAxes.indexOf(e)!=-1){if(t||e.getPrivate("updateScrollbar")){let n=this.get("scrollbarX");n&&(!n.getPrivate("isBusy")||t)&&(n.setRaw("start",i),n.setRaw("end",r),n.updateGrips())}}else if(this.yAxes.indexOf(e)!=-1&&(t||e.getPrivate("updateScrollbar"))){let n=this.get("scrollbarY");n&&(!n.getPrivate("isBusy")||t)&&(n.setRaw("start",i),n.setRaw("end",r),n.updateGrips())}this._handleZoomOut()}_handleZoomOut(){let e=this.zoomOutButton;if(e&&e.parent){let t=!1;this.xAxes.each(i=>{(Oe(i.get("start",0),5)!=0||Oe(i.get("end",1),5)!=1)&&(t=!0)}),this.yAxes.each(i=>{(Oe(i.get("start",0),5)!=0||Oe(i.get("end",1),5)!=1)&&(t=!0)}),t?e.isHidden()&&e.show():e.hide()}}inPlot(e){const t=this.plotContainer,i=this.getPrivate("otherCharts",this._otherCharts),r=t.toGlobal(e);if(e.x>=-.5&&e.y>=-.5&&e.x<=t.width()+.5&&e.y<=t.height()+.5)return!0;if(i)for(let n=i.length-1;n>=0;n--){const a=i[n];if(a!=this){const o=a.plotContainer,l=this._root.rootPointToDocument(r),u=a._root.documentPointToRoot(l),c=o.toLocal(u);if(c.x>=-.1&&c.y>=-.1&&c.x<=o.width()+.1&&c.y<=o.height()+.1)return!0}}return!1}arrangeTooltips(){const e=this.plotContainer,t=e.width(),i=e.height();let r=this.height();const n=this._root.tooltipContainer.get("layerMargin");n&&n.bottom>r&&(r=n.bottom);let a=e._display.toGlobal({x:0,y:0}),o=e._display.toGlobal({x:t,y:i});const l=[];let u=0,c=1/0,h=this._movePoint,f=this.get("maxTooltipDistance"),d=this.get("maxTooltipDistanceBy","xy"),p,g;F(f)&&this.series.each(m=>{if(!m.isHidden()){const v=m.get("tooltip");if(v){let x=v.get("pointTo");if(x){let w=Math.hypot(h.x-x.x,h.y-x.y);d=="x"?w=Math.abs(h.x-x.x):d=="y"&&(w=Math.abs(h.y-x.y)),w<c&&(c=w,p=m,g=x)}}}});const b=[];if(this.series.each(m=>{const v=m.get("tooltip");if(v&&!v.get("forceHidden")){let x=!1,w=v.get("pointTo");if(w){if(f>=0){let P=v.get("pointTo");if(P&&g&&m!=p){let T=Math.hypot(g.x-P.x,g.y-P.y);d=="x"?T=Math.abs(g.x-P.x):d=="y"&&(T=Math.abs(g.y-P.y)),T>f&&(x=!0)}}else f==-1&&m!=p&&(x=!0);!this.inPlot(this._tooltipToLocal(w))||!v.dataItem?x=!0:x||(u+=w.y),x||m.isHidden()||m.isHiding()?v.hide(0):(v.show(),l.push(v),b.push(m))}}}),this.setPrivate("tooltipSeries",b),this.get("arrangeTooltips")){let m=0,v=0;const x=this._root.tooltipContainer,w=l.length;if(u/w>i/2+a.y){l.sort((O,L)=>gl(L.get("pointTo").y,O.get("pointTo").y));let T=o.y;if(I(l,O=>{let L=O.height();v++,m+=L;let S=O.get("centerY");S instanceof se&&(L*=S.value),L+=O.get("marginBottom",0),O.set("bounds",{left:a.x,top:a.y,right:o.x,bottom:T}),O.setPrivate("customData",{left:a.x,top:a.y,right:o.x,bottom:T}),T=Math.min(T-L,O._fy-L),O.parent==x&&x.children.moveValue(O,0)}),T<0){l.reverse();let O=T;I(l,L=>{v++;let S=L.get("bounds");if(S){let B=S.top-T,C=S.bottom-T;B<O&&(B=O,C=B+L.height()),L.set("bounds",{left:S.left,top:B,right:S.right,bottom:C}),O=S.bottom-T+L.get("marginBottom",0)}})}}else{l.reverse(),l.sort((O,L)=>gl(O.get("pointTo").y,L.get("pointTo").y));let T=0;if(I(l,O=>{v++;let L=O.height();m+=L;let S=O.get("centerY");S instanceof se&&(L*=S.value),L+=O.get("marginBottom",0),O.set("bounds",{left:a.x,top:T,right:o.x,bottom:Math.max(a.y+r,T+L)}),O.parent==x&&x.children.moveValue(O,0),T=Math.max(T+L,O._fy+L)}),T>r){l.reverse();let O=r;I(l,L=>{v++;let S=L.get("bounds");if(S){let B=S.top-(r-T),C=S.bottom-(r-T);C>O&&(C=O,B=C-L.height()),L.set("bounds",{left:S.left,top:B,right:S.right,bottom:C}),O=C-L.height()-L.get("marginBottom",0)}})}}m==0&&v>0&&this._disposers.push(this.root.events.once("frameended",()=>{this.arrangeTooltips()}))}}_tooltipToLocal(e){return this.plotContainer.toLocal(e)}zoomOut(){this.xAxes.each(e=>{e.setPrivate("updateScrollbar",!0),e.zoom(0,1)}),this.yAxes.each(e=>{e.setPrivate("updateScrollbar",!0),e.zoom(0,1)})}_dispose(){super._dispose();const e=this.get("cursor");e&&e.dispose()}}Object.defineProperty(pr,"className",{enumerable:!0,configurable:!0,writable:!0,value:"XYChart"});Object.defineProperty(pr,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ai.classNames.c
42oncat([pr.className])});class mr extends me{_beforeChanged(){super._beforeChanged(),(this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&(this._clear=!0)}}Object.defineProperty(mr,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Grid"});Object.defineProperty(mr,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:me.classNames.concat([mr.className])});class ca extends ie{constructor(){super(...arguments),Object.defineProperty(this,"_alwaysShow",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"lineX",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(mr.new(this._root,{themeTags:["x"]}))}),Object.defineProperty(this,"lineY",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(mr.new(this._root,{themeTags:["y"]}))}),Object.defineProperty(this,"selection",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(me.new(this._root,{themeTags:["selection","cursor"],layer:30}))}),Object.defineProperty(this,"_movePoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_lastPoint",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0}}),Object.defineProperty(this,"_lastPoint2",{enumerable:!0,configurable:!0,writable:!0,value:{x:0,y:0}}),Object.defineProperty(this,"_tooltipX",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_tooltipY",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"chart",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_toX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_toY",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){this._settings.themeTags=ue(this._settings.themeTags,["xy","cursor"]),super._afterNew(),this.setAll({width:X,height:X,isMeasured:!0,position:"absolute"}),this.states.create("hidden",{visible:!0,opacity:0}),this._drawLines(),this.setPrivateRaw("visible",!1),this._disposers.push(this.setTimeout(()=>{this.setPrivate("visible",!0)},500)),this._disposers.push(this.lineX.events.on("positionchanged",()=>{this._handleXLine()})),this._disposers.push(this.lineY.events.on("positionchanged",()=>{this._handleYLine()})),this._disposers.push(this.lineX.events.on("focus",()=>this._handleLineFocus())),this._disposers.push(this.lineX.events.on("blur",()=>this._handleLineBlur())),this._disposers.push(this.lineY.events.on("focus",()=>this._handleLineFocus())),this._disposers.push(this.lineY.events.on("blur",()=>this._handleLineBlur())),ti("keyboardevents")&&this._disposers.push(Me(document,"keydown",e=>{this._handleLineMove(Rr(e),e.ctrlKey)}))}_setUpTouch(){const e=this.chart;e&&(e.plotContainer._display.cancelTouch=this.get("behavior")!="none")}_handleXLine(){let e=this.lineX.x(),t=!0;(e<0||e>this.width())&&(t=!1),this.lineX.setPrivate("visible",t)}_handleYLine(){let e=this.lineY.y(),t=!0;(e<0||e>this.height())&&(t=!1),this.lineY.setPrivate("visible",t)}_handleLineMove(e,t){let i="";const r=this.chart;let n;if(r&&r.xAxes.length){this._root.focused(this.lineX)?(i="positionX",n=r.xAxes.getIndex(0)):this._root.focused(this.lineY)&&(n=r.yAxes.getIndex(0),i="positionY");let a=1;if(t&&(a=5),n){let o=n.get("renderer").get("inversed",!1),l;e=="ArrowRight"||e=="ArrowDown"?l=1:e=="ArrowLeft"||e=="ArrowUp"?l=-1:e=="Tab"&&(l=0),l!=null&&(o&&(l*=-1),this.set(i,n.nextPosition(l*a)))}}}_handleLineFocus(){this._alwaysShow=this.get("alwaysShow",!1),this.setAll({positionX:this.getPrivate("positionX",0),positionY:this.getPrivate("positionY",0),alwaysShow:!0}),this._handleLineMove("Tab")}_handleLineBlur(){(this.lineX.isFocus()||this.lineY.isFocus())&&this.setAll({positionX:void 0,positionY:void 0,alwaysShow:this._alwaysShow})}_prepareChildren(){if(super._prepareChildren(),this.isDirty("xAxis")){this._tooltipX=!1;const e=this.get("xAxis");if(e){const t=e.get("tooltip");t&&(this._tooltipX=!0,this._disposers.push(t.on("pointTo",()=>{this._updateXLine(t)})))}}if(this.isDirty("yAxis")){this._tooltipY=!1;const e=this.get("yAxis");if(e){const t=e.get("tooltip");t&&(this._tooltipY=!0,this._disposers.push(t.on("pointTo",()=>{this._updateYLine(t)})))}}}_handleSyncWith(){const e=this.chart;if(e){const t=this.get("syncWith"),i=[];t&&I(t,r=>{const n=r.chart;n&&i.push(n)}),e._otherCharts=i}}_updateChildren(){if(super._updateChildren(),this._handleSyncWith(),this.isDirty("positionX")||this.isDirty("positionY")){const e=this.get("positionX"),t=this.get("positionY");e==null&&t==null?this.hide(0):(this._movePoint=this.toGlobal(this._getPoint(this.get("positionX",0),this.get("positionY",0))),this.handleMove())}}_updateXLine(e){let t=Oe(this._display.toLocal(e.get("pointTo",{x:0,y:0})).x,3);this._toX!=t&&(this.lineX.animate({key:"x",to:t,duration:e.get("animationDuration",0),easing:e.get("animationEasing")}),this._toX=t)}_updateYLine(e){let t=Oe(this._display.toLocal(e.get("pointTo",{x:0,y:0})).y,3);this._toY!=t&&(this.lineY.animate({key:"y",to:t,duration:e.get("animationDuration",0),easing:e.get("animationEasing")}),this._toY=t)}_drawLines(){this.lineX.set("draw",e=>{e.moveTo(0,0),e.lineTo(0,this.height())}),this.lineY.set("draw",e=>{e.moveTo(0,0),e.lineTo(this.width(),0)})}
42updateCursor(){this.get("alwaysShow")&&(this._movePoint=this.toGlobal(this._getPoint(this.get("positionX",0),this.get("positionY",0)))),this.handleMove()}_setChart(e){this.chart=e,this._handleSyncWith();const t=e.plotContainer;this.events.on("boundschanged",()=>{this._disposers.push(this.setTimeout(()=>{this.updateCursor()},50))}),ti("touchevents")&&(this._disposers.push(t.events.on("click",r=>{Qa(r.originalEvent)&&this._handleMove(r)})),this._setUpTouch()),this._disposers.push(t.events.on("pointerdown",r=>{this._handleCursorDown(r)})),this._disposers.push(t.events.on("globalpointerup",r=>{this._handleCursorUp(r),!r.native&&!this.isHidden()&&this._handleMove(r)})),this._disposers.push(t.events.on("globalpointermove",r=>{!this.get("syncWith")&&Ce(t._downPoints).length==0&&!r.native&&this.isHidden()||(this._handleMove(r),Math.hypot(this._lastPoint2.x-r.point.x,this._lastPoint2.y-r.point.y)>1&&(this._handleLineBlur(),this._lastPoint2=r.point))}));const i=this.parent;i&&i.children.moveValue(this.selection)}_inPlot(e){const t=this.chart;return t?t.inPlot(e):!1}_handleCursorDown(e){if(e.originalEvent.button==2)return;const t=e.point;let i=this._display.toLocal(t);const r=this.chart;if(this.selection.set("draw",()=>{}),r&&this._inPlot(i)){if(this._downPoint=i,this.get("behavior")!="none"){this.selection.show();const o="selectstarted";this.events.isEnabled(o)&&this.events.dispatch(o,{type:o,target:this,originalEvent:e.originalEvent})}let n=this._getPosition(i).x,a=this._getPosition(i).y;this.setPrivate("downPositionX",n),this.setPrivate("downPositionY",a)}}_handleCursorUp(e){if(this._downPoint){const t=this.get("behavior","none");if(t!="none"){t.charAt(0)==="z"&&this.selection.hide();const i=e.point;let r=this._display.toLocal(i);const n=this._downPoint,a=this.get("moveThreshold",1);if(r&&n){let o=!1;if((t==="zoomX"||t==="zoomXY"||t==="selectX"||t==="selectXY")&&Math.abs(r.x-n.x)>a&&(o=!0),(t==="zoomY"||t==="zoomXY"||t==="selectY"||t==="selectXY")&&Math.abs(r.y-n.y)>a&&(o=!0),o){const l="selectended";this.events.isEnabled(l)&&this.events.dispatch(l,{type:l,target:this,originalEvent:e.originalEvent})}else{const l="selectcancelled";this.events.isEnabled(l)&&this.events.dispatch(l,{type:l,target:this,originalEvent:e.originalEvent})}}}}this._downPoint=void 0}_handleMove(e){if(this.getPrivate("visible")){const t=this.chart;if(t&&Ce(t.plotContainer._downPoints).length>1){this.set("forceHidden",!0);return}else this.set("forceHidden",!1);const i=e.point,r=this._lastPoint;if(Math.round(r.x)===Math.round(i.x)&&Math.round(r.y)===Math.round(i.y))return;this._lastPoint=i,this.setPrivate("lastPoint",i),this.handleMove({x:i.x,y:i.y},!1,e.originalEvent)}}_getPosition(e){return{x:e.x/this.width(),y:e.y/this.height()}}handleMove(e,t,i){e||(e=this._movePoint);const r=this.get("alwaysShow");if(!e){this.hide(0);return}this._movePoint=e;let n=this._display.toLocal(e),a=this.chart;if(a&&(this._inPlot(n)||this._downPoint)){a._movePoint=e,this.isHidden()&&(this.show(),this.get("behavior","").charAt(0)=="z"&&this.selection.set("draw",()=>{}));let o=n.x,l=n.y,u=this._getPosition(n);this.setPrivate("point",n);let c=this.get("snapToSeries");this._downPoint&&(c=void 0);let h=this.get("positionX"),f=u.x;F(h)&&(f=h);let d=this.get("positionY"),p=u.y;F(d)&&(p=d),this.setPrivate("positionX",f),this.setPrivate("positionY",p);const g=this._getPoint(f,p);if(o=g.x,l=g.y,a.xAxes.each(b=>{b._handleCursorPosition(f,c),r&&b.handleCursorShow()}),a.yAxes.each(b=>{b._handleCursorPosition(p,c),r&&b.handleCursorShow()}),!t){a._handleCursorPosition();const b="cursormoved";this.events.isEnabled(b)&&this.events.dispatch(b,{type:b,target:this,point:e,originalEvent:i})}this._updateLines(o,l),a.arrangeTooltips()}else if(!this._downPoint&&!r){this.hide(0);const o="cursorhidden";this.events.isEnabled(o)&&this.events.dispatch(o,{type:o,target:this})}this._downPoint&&this.get("behavior")!="none"&&this._updateSelection(n)}_getPoint(e,t){return{x:this.width()*e,y:this.height()*t}}_updateLines(e,t){this._tooltipX||this.lineX.set("x",e),this._tooltipY||this.lineY.set("y",t),this._drawLines()}_updateSelection(e){const t=this.selection,i=this.get("behavior"),r=this.width(),n=this.height();e.x<0&&(e.x=0),e.x>r&&(e.x=r),e.y<0&&(e.y=0),e.y>n&&(e.y=n),t.set("draw",a=>{const o=this._downPoint;o&&(i==="zoomXY"||i==="selectXY"?(a.moveTo(o.x,o.y),a.lineTo(o.x,e.y),a.lineTo(e.x,e.y),a.lineTo(e.x,o.y),a.lineTo(o.x,o.y)):i==="zoomX"||i==="selectX"?(a.moveTo(o.x,0),a.lineTo(o.x,n),a.lineTo(e.x,n),a.lineTo(e.x,0),a.lineTo(o.x,0)):(i==="zoomY"||i==="selectY")&&(a.moveTo(0,o.y),a.lineTo(r,o.y),a.lineTo(r,e.y),a.lineTo(0,e.y),a.lineTo(0,o.y)))})}
42_onHide(){if(this.isHidden()){let e=this.chart;e&&(e.xAxes.each(t=>{t.handleCursorHide()}),e.yAxes.each(t=>{t.handleCursorHide()}),e.series.each(t=>{t.handleCursorHide()}))}super._onHide()}_onShow(){if(!this.isHidden()){let e=this.chart;e&&(e.xAxes.each(t=>{t.handleCursorShow()}),e.yAxes.each(t=>{t.handleCursorShow()}))}super._onShow()}_dispose(){super._dispose(),this.selection.dispose()}}Object.defineProperty(ca,"className",{enumerable:!0,configurable:!0,writable:!0,value:"XYCursor"});Object.defineProperty(ca,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ie.classNames.concat([ca.className])});function F5(s,e){return s==null?e:e==null?s:e<s?e:s}function z5(s,e){return s==null?e:e==null?s:e>s?e:s}class $i extends Bt{constructor(){super(...arguments),Object.defineProperty(this,"_xField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_yField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_xOpenField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_yOpenField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_xLowField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_xHighField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_yLowField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_yHighField",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_axesDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_stackDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_selectionProcessed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dataSets",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_mainContainerMask",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_x",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_y",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_bullets",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"mainContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(ie.new(this._root,{}))}),Object.defineProperty(this,"axisRanges",{enumerable:!0,configurable:!0,writable:!0,value:new wr}),Object.defineProperty(this,"_skipped",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_couldStackTo",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_reallyStackedTo",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_stackedSeries",{enumerable:!0,configurable:!0,writable:!0,value:{}}),Object.defineProperty(this,"_aLocationX0",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_aLocationX1",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_aLocationY0",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_aLocationY1",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_showBullets",{enumerable:!0,configurable:!0,writable:!0,value:!0}),Object.defineProperty(this,"valueXFields",{enumerable:!0,configurable:!0,writable:!0,value:["valueX","openValueX","lowValueX","highValueX"]}),Object.defineProperty(this,"valueYFields",{enumerable:!0,configurable:!0,writable:!0,value:["valueY","openValueY","lowValueY","highValueY"]}),Object.defineProperty(this,"_valueXFields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_valueYFields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_valueXShowFields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_valueYShowFields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"__valueXShowFields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"__valueYShowFields",{enumerable:!0,configurable:!0,writable:!0,value:void 0}
42),Object.defineProperty(this,"_emptyDataItem",{enumerable:!0,configurable:!0,writable:!0,value:new bi(this,void 0,{})}),Object.defineProperty(this,"_dataSetId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipFieldX",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_tooltipFieldY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_posXDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_posYDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}_afterNew(){this.fields.push("categoryX","categoryY","openCategoryX","openCategoryY"),this.valueFields.push("valueX","valueY","openValueX","openValueY","lowValueX","lowValueY","highValueX","highValueY"),this._setRawDefault("vcx",1),this._setRawDefault("vcy",1),this._setRawDefault("valueXShow","valueXWorking"),this._setRawDefault("valueYShow","valueYWorking"),this._setRawDefault("openValueXShow","openValueXWorking"),this._setRawDefault("openValueYShow","openValueYWorking"),this._setRawDefault("lowValueXShow","lowValueXWorking"),this._setRawDefault("lowValueYShow","lowValueYWorking"),this._setRawDefault("highValueXShow","highValueXWorking"),this._setRawDefault("highValueYShow","highValueYWorking"),this._setRawDefault("lowValueXGrouped","low"),this._setRawDefault("lowValueYGrouped","low"),this._setRawDefault("highValueXGrouped","high"),this._setRawDefault("highValueYGrouped","high"),super._afterNew(),this.set("maskContent",!0),this._disposers.push(this.axisRanges.events.onAll(e=>{if(e.type==="clear")I(e.oldValues,t=>{this._removeAxisRange(t)});else if(e.type==="push")this._processAxisRange(e.newValue);else if(e.type==="setIndex")this._processAxisRange(e.newValue);else if(e.type==="insertIndex")this._processAxisRange(e.newValue);else if(e.type==="removeIndex")this._removeAxisRange(e.oldValue);else if(e.type==="moveIndex")this._processAxisRange(e.value);else throw new Error("Unknown IStreamEvent type")})),this.states.create("hidden",{opacity:1,visible:!1}),this.onPrivate("startIndex",()=>{this.root.events.once("frameended",()=>{this.updateLegendValue()})}),this.onPrivate("endIndex",()=>{this.root.events.once("frameended",()=>{this.updateLegendValue()})}),this._makeFieldNames()}_processAxisRange(e){const t=ie.new(this._root,{});e.container=t,this.children.push(t),e.series=this;const i=e.axisDataItem;i.setRaw("isRange",!0);const r=i.component;if(r){r._processAxisRange(i,["range","series"]);const n=i.get("bullet");if(n){const o=n.get("sprite");o&&o.setPrivate("visible",!1)}const a=i.get("axisFill");a&&t.set("mask",a),r._seriesAxisRanges.push(i)}}_onDataClear(){super._onDataClear(),he(this._dataSets,(e,t)=>{I(t,i=>{i.dispose()}),t.length=0})}_removeAxisRange(e){const t=e.axisDataItem,i=t.component;t.dispose(),kt(i._seriesAxisRanges,t);const r=e.container;r&&r.dispose()}_updateFields(){super._updateFields(),this._valueXFields=[],this._valueYFields=[],this._valueXShowFields=[],this._valueYShowFields=[],this.__valueXShowFields=[],this.__valueYShowFields=[],this.valueXFields&&I(this.valueXFields,e=>{if(this.get(e+"Field")){this._valueXFields.push(e);let i=this.get(e+"Show");this.__valueXShowFields.push(i),i.indexOf("Working")!=-1?this._valueXShowFields.push(i.split("Working")[0]):this._valueXShowFields.push(i)}}),this.valueYFields&&I(this.valueYFields,e=>{if(this.get(e+"Field")){this._valueYFields.push(e);let i=this.get(e+"Show");this.__valueYShowFields.push(i),i.indexOf("Working")!=-1?this._valueYShowFields.push(i.split("Working")[0]):this._valueYShowFields.push(i)}})}_dispose(){super._dispose(),this._bullets={};const e=this.chart;e&&e.series.removeValue(this),qe(this.get("xAxis").series,this),qe(this.get("yAxis").series,this)}_min(e,t){let i=F5(this.getPrivate(e),t);this.setPrivate(e,i)}_max(e,t){let i=z5(this.getPrivate(e),t);this.setPrivate(e,i)}_shouldMakeBullet(e){const t=this.get("xAxis"),i=this.get("yAxis"),r=this.get("baseAxis");if(!t.inited||!i.inited)return!1;const n=this.get("minBulletDistance",0);if(n>0){let a=this.startIndex(),l=this.endIndex()-a;if(t==r){if(t.get("renderer").axisLength()/l<n/5)return!1}else if(i==r&&i.get("renderer").axisLength()/l<n/5)return!1}return e.get(this._xField)!=null&&e.get(this._yField)!=null}_makeFieldNames(){const e=this.get("xAxis"),t=this.get("yAxis"),i=e.getPrivate("name"),r=cl(i),n=t.getPrivate("name"),a=cl(n),o=e.get("renderer").getPrivate("letter"),l=t.get("renderer").getPrivate("letter"),u="open",c="low",h="high",f="Show";e.className==="ValueAxis"?(this._xField=this.get(i+o+f),this._xOpenField=this.get(u+r+o+f),this._xLowField=this.get(c+r+o+f),this._xHighField=this.get(h+r+o+f)):(this._xField=i+o,this._xOpenField=u+r+o,this._xLowField=c+r+o,this._xHighField=h+r+o),t.className==="ValueAxis"?(this._yField=this.get(n+l+f),this._yOpenField=this.get(u+a+l+f),this._yLowField=this.get(c+a+l+f),this._yHighField=this.get(h+a+l+f)):(this._yField=n+l,this._yOpenField=u+a+l,this._yLowField=c+a+l,this._yHighField=h+a+l)}_fixVC(){const e=this.get("xAxis"),t=this.get("yAxis"),i=this.get("baseAxis"),r=this.states.lookup("hidden"),n=this.get("sequencedInterpolation");if(r){let a=0;n&&(a=.999999999999),e===i?r.set("vcy",a):(t===i||r.set("vcy",a),r.set("vcx",a))}}_handleMaskBullets(){this.isDirty("maskBullets")&&this.bulletsContainer.set("maskContent",this.get("maskBullets"))}_fixPosition(){const e=this.get("xAxis"),t=this.get("yAxis");this.set("x",e.x()-Le(e.get("centerX",0),e.width())-e.parent.get("paddingLeft",0)),this.set("y",t.y()-Le(t.get("centerY",0),t.height())-t.parent.get("paddingTop",0)),this.bulletsContainer.set("y",this.y()),this.bulletsContainer.set("x",this.x())}_prepareChildren(){super._prepareChildren(),this._bullets={},(this.isDirty("valueYShow")||this.isDirty("valueXShow")||this.isDirty("openValueYShow")||this.isDirty("openValueXShow")||this.isDirty("lowValueYShow")||this.isDirty("lowValueXShow")||this.isDirty("highValueYShow")||this.isDirty("highValueXShow"))&&(this._updateFields(),this._makeFieldNames(),this._valuesDirt
42y=!0),(this.isDirty("xAxis")||this.isDirty("yAxis"))&&(this._valuesDirty=!0),this.set("width",this.get("xAxis").width()),this.set("height",this.get("yAxis").height()),this._handleMaskBullets();const e=this.get("xAxis"),t=this.get("yAxis"),i=this.get("baseAxis"),r=this.get("tooltipPositionX");let n;switch(r){case"open":n=this._xOpenField;break;case"low":n=this._xLowField;break;case"high":n=this._xHighField;break;default:n=this._xField}this._tooltipFieldX=n;const a=this.get("tooltipPositionY");let o;switch(a){case"open":o=this._yOpenField;break;case"low":o=this._yLowField;break;case"high":o=this._yHighField;break;default:o=this._yField}this._tooltipFieldY=o,this.isDirty("baseAxis")&&this._fixVC(),this._fixPosition();const l=this.get("stacked");if(this.isDirty("stacked")&&(l?this._valuesDirty&&!this._dataProcessed||this._stack():this._unstack()),this._valuesDirty&&!this._dataProcessed&&(this._dataProcessed=!0,l&&this._stack(),I(this.dataItems,u=>{I(this._valueXShowFields,c=>{let h=u.get(c);h!=null&&(l&&(h+=this.getStackedXValue(u,c)),this._min("minX",h),this._max("maxX",h))}),I(this._valueYShowFields,c=>{let h=u.get(c);h!=null&&(l&&(h+=this.getStackedYValue(u,c)),this._min("minY",h),this._max("maxY",h))}),e.processSeriesDataItem(u,this._valueXFields),t.processSeriesDataItem(u,this._valueYFields)}),e._seriesValuesDirty=!0,t._seriesValuesDirty=!0,this.get("ignoreMinMax")||((this.isPrivateDirty("minX")||this.isPrivateDirty("maxX"))&&e.markDirtyExtremes(),(this.isPrivateDirty("minY")||this.isPrivateDirty("maxY"))&&t.markDirtyExtremes()),this._markStakedDirtyStack(),this.get("tooltipDataItem")||this.updateLegendValue(void 0)),(this.isDirty("vcx")||this.isDirty("vcy"))&&this._markStakedDirtyStack(),this._dataGrouped||(e._groupSeriesD
42ata(this),t._groupSeriesData(this),this._dataGrouped=!0),this._valuesDirty||this.isPrivateDirty("startIndex")||this.isPrivateDirty("adjustedStartIndex")||this.isPrivateDirty("endIndex")||this.isDirty("vcx")||this.isDirty("vcy")||this._stackDirty||this._sizeDirty){let u=this.startIndex(),c=this.endIndex(),h=this.get("minBulletDistance",0);if(h>0&&i&&(i.get("renderer").axisLength()/(c-u)>h?this._showBullets=!0:this._showBullets=!1),(this._psi!=u||this._pei!=c||this.isDirty("vcx")||this.isDirty("vcy")||this.isPrivateDirty("adjustedStartIndex")||this._stackDirty||this._valuesDirty)&&!this._selectionProcessed){this._selectionProcessed=!0;const f=this.get("vcx",1),d=this.get("vcy",1),p=this.get("stacked",!1),g=this.getPrivate("outOfSelection");if(i===e||!i)if(t._calculateTotals(),this.setPrivateRaw("selectionMinY",void 0),this.setPrivateRaw("selectionMaxY",void 0),g)t.markDirtySelectionExtremes();else for(let b=u;b<c;b++)this.processYSelectionDataItem(this.dataItems[b],d,p);if(i===t||!i)if(e._calculateTotals(),this.setPrivateRaw("selectionMinX",void 0),this.setPrivateRaw("selectionMaxX",void 0),g)t.markDirtySelectionExtremes();else for(let b=u;b<c;b++)this.processXSelectionDataItem(this.dataItems[b],f,p);if((i===e||!i)&&(this.get("valueYShow")!=="valueYWorking"||this.get("useSelectionExtremes"))){const b=this.getPrivate("selectionMinY");b!=null&&(this.setPrivateRaw("minY",b),t.markDirtyExtremes());const m=this.getPrivate("selectionMaxY");m!=null&&(this.setPrivateRaw("maxY",m),t.markDirtyExtremes())}if((i===t||!i)&&(this.get("valueXShow")!=="valueXWorking"||this.get("useSelectionExtremes"))){const b=this.getPrivate("selectionMinX");b!=null&&(this.setPrivateRaw("minX",b),t.markDirtyExtremes());const m=this.getPrivate("selectionMaxX");m!=null&&(this.setPrivateRaw("maxX",m),e.markDirtyExtremes())}(this.isPrivateDirty("selectionMinX")||this.isPrivateDirty("selectionMaxX"))&&e.markDirtySelectionExtremes(),(this.isPrivateDirty("selectionMinY")||this.isPrivateDirty("selectionMaxY"))&&t.markDirtySelectionExtremes()}}}_makeRangeMask(){if(this.axisRanges.length>0){let e=this._mainContainerMask;e==null&&(e=this.children.push(me.new(this._root,{})),this._mainContainerMask=e,e.set("draw",(t,i)=>{const r=this.parent;if(r){const n=this._root.container.width(),a=this._root.container.height();t.moveTo(-n,-a),t.lineTo(-n,a*2),t.lineTo(n*2,a*2),t.lineTo(n*2,-a),t.lineTo(-n,-a),this.axisRanges.each(o=>{const l=o.axisDataItem.get("axisFill");if(r&&l){let u=l.get("draw");u&&u(t,i)}})}this.mainContainer._display.mask=e._display})),e.markDirty(),e._markDirtyKey("fill")}else this.mainContainer._display.mask=null}_updateChildren(){super._updateChildren(),this._x=this.x(),this._y=this.y(),this._makeRangeMask()}_stack(){const e=this.chart;if(e){const t=e.series.indexOf(this);if(this._couldStackTo=[],t>0){let i;for(let r=t-1;r>=0&&(i=e.series.getIndex(r),!(i.get("xAxis")===this.get("xAxis")&&i.get("yAxis")===this.get("yAxis")&&i.className===this.className&&(this._couldStackTo.push(i),!i.get("stacked"))));r--);}this._stackDataItems()}}_unstack(){he(this._reallyStackedTo,(e,t)=>{delete t._stackedSeries[this.uid]}),this._reallyStackedTo={},I(this.dataItems,e=>{e.setRaw("stackToItemY",void 0),e.setRaw("stackToItemX",void 0)})}_handleRemoved(){const e=this.get("xAxis");e&&e._handleSeriesRemoved();const t=this.get("yAxis");t&&t._handleSeriesRemoved()}_stackDataItems(){const e=this.get("baseAxis"),t=this.get("xAxis"),i=this.get("yAxis");let r,n;e===t?(r="valueY",n="stackToItemY"):e===i&&(r="valueX",n="stackToItemX");let a=this._couldStackTo.length,o=0;const l=this.get("stackToNegative");this._reallyStackedTo={},I(this.dataItems,u=>{for(let c=0;c<a;c++){let h=this._couldStackTo[c],f=h.dataItems[o],d=u.get(r);if(f){let p=f.get(r);if(l)if(F(d)){if(F(p)){if(c==a-1&&u.setRaw(n,void 0),d>=0&&p>=0){u.setRaw(n,f),this._reallyStackedTo[h.uid]=h,h._stackedSeries[this.uid]=this;break}if(d<0&&p<0){u.setRaw(n,f),this._reallyStackedTo[h.uid]=h,h._stackedSeries[this.uid]=this;break}}}else break;else if(F(d)&&F(p)){u.setRaw(n,f),this._reallyStackedTo[h.uid]=h,h._stackedSeries[this.uid]=this;break}}}o++})}processXSelectionDataItem(e,t,i){I(this.__valueXShowFields,r=>{let n=e.get(r);n!=null&&(i&&(n+=this.getStackedXValueWorking(e,r)),this._min("selectionMinX",n),this._max("selectionMaxX",n*t))})}processYSelectionDataItem(e,t,i){I(this.__valueYShowFields,r=>{let n=e.get(r);n!=null&&(i&&(n+=this.getStackedYValueWorking(e,r)),this._min("selectionMinY",n),this._max("selectionMaxY",n*t))})}getStackedYValueWorking(e,t){const i=e.get("stackToItemY");
vendor: 1,283 bytes, line 42
42if(i){const r=i.component;return i.get(t,0)*r.get("vcy",1)+this.getStackedYValueWorking(i,t)}return 0}getStackedXValueWorking(e,t){const i=e.get("stackToItemX");if(i){const r=i.component;return i.get(t,0)*r.get("vcx",1)+this.getStackedXValueWorking(i,t)}return 0}getStackedYValue(e,t){const i=e.get("stackToItemY");return i?i.get(t,0)+this.getStackedYValue(i,t):0}getStackedXValue(e,t){const i=e.get("stackToItemX");return i?i.get(t,0)+this.getStackedXValue(i,t):0}createLegendMarker(e){this.updateLegendMarker()}_markDirtyAxes(){this._axesDirty=!0,this.markDirty()}_markDataSetDirty(){this._afterDataChange(),this._valuesDirty=!0,this._dataProcessed=!1,this._aggregatesCalculated=!1,this.markDirty()}_clearDirty(){super._clearDirty(),this._axesDirty=!1,this._selectionProcessed=!1,this._stackDirty=!1,this._dataProcessed=!1}_positionBullet(e){let t=e.get("sprite");if(t){let i=t.dataItem,r=e.get("locationX",i.get("locationX",.5)),n=e.get("locationY",i.get("locationY",.5)),a=this.get("xAxis"),o=this.get("yAxis"),l=this.get("exactLocationX",!1),u=this.get("exactLocationY",!1),c=a.getDataItemPositionX(i,this._xField,r,this.get("vcx",1),l),h=o.getDataItemPositionY(i,this._yField,n,this.get("vcy",1),u),f=this.getPoint(c,h),d=i.get("left",f.x),p=i.get("right",f.x),g=i.get("top",f.
42y),b=i.get("bottom",f.y),m=0,v=0,x=p-d,w=b-g;if(this._shouldShowBullet(c,h)){t.setPrivate("visible",!e.getPrivate("hidden"));let P=e.get("field");const T=this.get("baseAxis"),O=this.get("xAxis"),L=this.get("yAxis");if(P!=null){let B;T==O?(P=="value"?B=this._yField:P=="open"?B=this._yOpenField:P=="high"?B=this._yHighField:P=="low"&&(B=this._yLowField),B&&(h=L.getDataItemPositionY(i,B,0,this.get("vcy",1),u),f=L.get("renderer").positionToPoint(h),v=f.y,m=d+x*r)):(P=="value"?B=this._xField:P=="open"?B=this._xOpenField:P=="high"?B=this._xHighField:P=="low"&&(B=this._xLowField),B&&(c=O.getDataItemPositionX(i,B,0,this.get("vcx",1),l),f=O.get("renderer").positionToPoint(c),m=f.x,v=b-w*n))}else m=d+x*r,v=b-w*n;const S=e.get("stacked");if(S){const B=this.chart;if(T==O){let C=this._bullets[c+"_"+h];if(C){let $=C.bounds(),A=t.localBounds(),N=v;v=$.top,S=="down"?v=$.bottom-A.top:S=="auto"?B&&(N<B.plotContainer.height()/2?v=$.bottom-A.top:v+=A.bottom):v+=A.bottom}this._bullets[c+"_"+h]=t}else{let C=this._bullets[c+"_"+h];if(C){let $=C.bounds(),A=t.localBounds(),N=m;m=$.right,S=="down"?m=$.left-A.right:S=="auto"?B&&(N<B.plotContainer.width()/2?m=$.left-A.right:m-=A.left):m-=A.left}this._bullets[c+"_"+h]=t}}t.isType("Label")&&(t.setPrivate("maxWidth",Math.abs(x)),t.setPrivate("maxHeight",Math.abs(w))),t.setAll({x:m,y:v})}else t.setPrivate("visible",!1)}}_shouldShowBullet(e,t){return this._showBullets}setDataSet(e){if(this._dataSets[e]){this._handleDataSetChange(),this._dataItems=this._dataSets[e],this._markDataSetDirty(),this._dataSetId=e;const t="datasetchanged";this.events.isEnabled(t)&&this.events.dispatch(t,{type:t,target:this,id:e})}}resetGrouping(){he(this._dataSets,(e,t)=>{t!=this._mainDataItems&&I(t,i=>{i.dispose()})}),this._dataSets={},this._dataItems=this.mainDataItems}_handleDataSetChange(){I(this._dataItems,e=>{let t=e.bullets;t&&I(t,i=>{if(i){let r=i.get("sprite");r&&r.setPrivate("visible",!1)}})}),this._selectionProcessed=!1}show(e){const t=Object.create(null,{show:{get:()=>super.show}});return Ne(this,void 0,void 0,function*(){this._fixVC();let i=[];i.push(t.show.call(this,e).then(()=>{this._isShowing=!1;let r=this.get("xAxis"),n=this.get("yAxis"),a=this.get("baseAxis");n!==a&&n.markDirtySelectionExtremes(),r!==a&&r.markDirtySelectionExtremes()})),i.push(this.bulletsContainer.show(e)),i.push(this._sequencedShowHide(!0,e)),yield Promise.all(i)})}hide(e){const t=Object.create(null,{hide:{get:()=>super.hide}});return Ne(this,void 0,void 0,function*(){this._fixVC();let i=[];i.push(t.hide.call(this,e).then(()=>{this._isHiding=!1})),i.push(this.bulletsContainer.hide(e)),i.push(this._sequencedShowHide(!1,e)),yield Promise.all(i)})}showDataItem(e,t){const i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return Ne(this,void 0,void 0,function*(){const r=[i.showDataItem.call(this,e,t)];F(t)||(t=this.get("stateAnimationDuration",0));const n=this.get("stateAnimationEasing");I(this._valueFields,a=>{r.push(e.animate({key:a+"Working",to:e.get(a),duration:t,easing:n}).waitForStop())}),yield Promise.all(r)})}hideDataItem(e,t){const i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return Ne(this,void 0,void 0,function*(){const r=[i.hideDataItem.call(this,e,t)],n=this.states.create("hidden",{});F(t)||(t=n.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));const a=n.get("stateAnimationEasing",this.get("stateAnimationEasing")),o=this.get("xAxis"),l=this.get("yAxis"),u=this.get("baseAxis"),c=this.get("stacked");if((u===o||!u)&&I(this._valueYFields,h=>{let f=l.getPrivate("min"),d=l.baseValue();F(f)&&f>d&&(d=f),c&&(d=0),e.get(h)!=null&&r.push(e.animate({key:h+"Working",to:d,duration:t,easing:a}).waitForStop())}),u===l||!u){let h=o.getPrivate("min"),f=o.baseValue();F(h)&&h>f&&(f=h),c&&(f=0),I(this._valueXFields,d=>{e.get(d)!=null&&r.push(e.animate({key:d+"Working",to:f,duration:t,easing:a}).waitForStop())})}yield Promise.all(r)})}_markDirtyStack(){this._stackDirty=!0,this.markDirty(),this._markStakedDirtyStack()}_markStakedDirtyStack(){const e=this._stackedSeries;e&&he(e,(t,i)=>{i._stackDirty||i._markDirtyStack()})}_afterChanged(){super._afterChanged(),this._skipped&&(this._markDirtyAxes(),this._skipped=!1)}showDataItemTooltip(e){this.getPrivate("doNotUpdateLegend")||(this.updateLegendMarker(e),this.updateLegendValue(e));const t=this.get("tooltip"),i=this.get("exactLocationX",!1),r=this.get("exactLocationY",!1);if(t)if(!this.isHidden()&&this.get("visible")){if(t._setDataItem(e),e){let n=this.get("locationX",0),a=this.get("locationY",1),o=e.get("locationX",n),l=e.get("locationY",a);const u=this.get("xAxis"),c=this.get("yAxis"),h=this.get("vcx",1),f=this.get("vcy",1),d=u.getDataItemPositionX(e,this._tooltipFieldX,this._aLocationX0+(this._aLocationX1-this._aLocationX0)*o,h,i),p=c.getDataItemPositionY(e,this._tooltipFieldY,this._aLocationY0+(this._aLocationY1-this._aLocationY0)*l,f,r),g=this.getPoint(d,p);let b=!0;if(I(this._valueFields,m=>{e.get(m)==null&&(b=!1)}),b){const m=this.chart;m&&m.inPlot(g)?(t.label.text.markDirtyText(),t.set("tooltipTarget",this._getTooltipTarget(e)),t.set("pointTo",this._display.toGlobal({x:g.x,y:g.y}))):t._setDataItem(void 0)}else t._setDataItem(void 0)}}else this.hideTooltip()}hideTooltip(){const e=this.get("tooltip");return e&&e.set("tooltipTarget",this),super.hideTooltip()}_getTooltipTarget(e){if(this.get("seriesTooltipTarget")=="bullet"){const t=e.bullets;if(t&&t.length>0){const r=t[0].get("sprite");if(r)return r}}return this}updateLegendValue(e){const t=this.get("legendDataItem");if(t){const i=t.get("label");if(i){let n="";e?(i._setDataItem(e),n=this.get("legendLabelText",i.get("text",this.get("name","")))):(i._setDataItem(this._emptyDataItem),n=this.get("legendRangeLabelText",this.get("legendLabelText",i.get("text",this.get("name",""))))),i.set("text",n)}const r=t.get("valueLabel");if(r){let n="";e?(r._setDataItem(e),n=this.get("legendValueText",r.get("text",""))):(r._setDataItem(this._emptyDataItem),n=this.get("legendRangeValueText",r.get("text",""))),r.set("text",n)}}}_getItemReaderLabel(){let e="X: {"+this._xField;return this.get("xAxis").isType("DateAxis")&&(e+=".formatDate()"),e+="}; Y: {"+this._yField,this.get("yAxis").isType("DateAxis")&&(e+=".formatDate()"),e+="}",e}getPoint(e,t){let i=this.get("xAxis").get("renderer").positionToCoordinate(e),r=this.get("yAxis").get("renderer").positionToCoordinate(t),n=999999999;return r<-n&&(r=-n),r>n&&(r=n),i<-n&&(i=-n),i>n&&(i=n),{x:i,y:r}}_shouldInclude(e){return!0}handleCursorHide(){this.hideTooltip(),this.updateLegendValue(void 0),this.updateLegendMarker(void 0)}_afterDataChange(){super._afterDataChange(),this.get("xAxis")._markDirtyKey("start"),this.get("yAxis")._markDirtyKey("start"),this.resetExtremes()}resetExtremes(){this.setPrivate("selectionMinX",void 0),this.setPrivate("selectionMaxX",void 0),this.setPrivate("selectionMinY",void 0),this.setPrivate("selectionMaxY",void 0),this.setPrivate("minX",void 0),this.setPrivate("minY",void 0),this.setPrivate("maxX",void 0),this.setPrivate("maxY",void 0)}createAxisRange(e){return this.axisRanges.push({axisDataItem:e})}get mainDataItems(){return this._mainDataItems}_adjustStartIndex(e){const t=this.get("xAxis");if(this.get("baseAxis")==t&&t.isType("DateAxis")){const r=t.baseDuration(),n=t.getPrivate("selectionMin",t.getPrivate("min",0)),a=r*this.get("locationX",.5);let o=-1/0;for(;o<n;){const l=this.dataItems[e];if(l){const u=l.open;if(u?o=u.valueX:o=l.get("valueX",0),o+=a,o<n)e++;else break}else break}}return e}}Object.defineProperty($i,"className",{enumerable:!0,configurable:!0,writable:!0,value:"XYSeries"});Object.defineProperty($i,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Bt.classNames.c
42oncat([$i.className])});class Vi extends $i{constructor(){super(...arguments),Object.defineProperty(this,"_ph",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_pw",{enumerable:!0,configurable:!0,writable:!0,value:0})}_makeGraphics(e,t){return this.makeColumn(t,e)}_makeFieldNames(){super._makeFieldNames();const e=this.get("xAxis"),t=this.get("yAxis"),i="CategoryAxis",r="ValueAxis";e.isType(i)&&(this.get("openCategoryXField")||(this._xOpenField=this._xField)),e.isType(r)&&(this.get("openValueXField")||(this._xOpenField=this._xField)),t.isType(i)&&(this.get("openCategoryYField")||(this._yOpenField=this._yField)),t.isType(r)&&(this.get("openValueYField")||(this._yOpenField=this._yField))}_prepareChildren(){super._prepareChildren();const e=this.get("xAxis"),t=this.get("yAxis"),i=this.dataItems.length,r=Math.max(0,this.startIndex()-2),n=Math.min(this.endIndex()+2,i-1);if(e.inited&&t.inited)for(let a=r;a<=n;a++){let o=this.dataItems[a];this._createGraphics(o)}}_updateChildren(){const e=this.chart;e&&(this._ph=e.plotContainer.height(),this._pw=e.plotContainer.width());const t=this.get("xAxis"),i=this.get("yAxis"),r=this.get("baseAxis"),n=this.columns.template;this.isDirty("fill")&&n.get("fill")==null&&n.set("fill",this.get("fill")),this.isDirty("fillPattern")&&n.get("fillPattern")==null&&n.set("fillPattern",this.get("fillPattern")),this.isDirty("stroke")&&n.get("stroke")==null&&n.set("stroke",this.get("stroke"));let a=0,o=0,l=0;I(r.series,m=>{if(m instanceof Vi){const v=m.get("stacked");v&&l==0&&o++,!v&&m.get("clustered")&&o++}m===this&&(a=o-1),l++}),this.get("clustered")||(a=0,o=1),o===0&&(o=1,a=0);const u=t.get("renderer"),c=i.get("renderer"),h="cellStartLocation",f="cellEndLocation",d=u.get(h,0),p=u.get(f,1),g=c.get(h,0),b=c.get(f,1);if(this._aLocationX0=d+a/o*(p-d),this._aLocationX1=d+(a+1)/o*(p-d),this._aLocationY0=g+a/o*(b-g),this._aLocationY1=g+(a+1)/o*(b-g),t.inited&&i.inited){if(this._axesDirty||this._valuesDirty||this._stackDirty||this.isDirty("vcx")||this.isDirty("vcy")||this._sizeDirty){const m=this.dataItems.length;let v=Math.max(0,this.startIndex()-2),x=Math.min(this.endIndex()+2,m-1);for(let P=0;P<v;P++)this._toggleColumn(this.dataItems[P],!1);let w=this.dataItems[v];for(let P=v;P<=x;P++){let T=this.dataItems[P];if(T.get("valueX")!=null&&T.get("valueY")!=null){if(w=T,P>0&&v>0)for(let O=P-1;O>=0;O--){let L=this.dataItems[O];if(L.get("valueX")!=null&&L.get("valueY")!=null){w=L;break}}break}else this._toggleColumn(T,!1)}for(let P=v;P<=x;P++){let T=this.dataItems[P];this._updateGraphics(T,w),T.get("valueX")!=null&&T.get("valueY")!=null&&(w=T)}for(let P=x+1;P<m;P++)this._toggleColumn(this.dataItems[P],!1)}}else this._skipped=!0;this.getPrivate("doNotUpdateLegend")||this.updateLegendMarker(this.get("tooltipDataItem")),super._updateChildren()}_createGraphics(e){let t=e.get("graphics");if(!t){t=this._makeGraphics(this.columns,e),e.set("graphics",t),t._setDataItem(e);const i=e.get("legendDataItem");if(i){const n=i.get("markerRectangle");if(n){const a=n.states.lookup("default");I(io,o=>{const l=t.get(o,this.get(o));n.set(o,l),a.set(o,l)})}}let r=e.get("rangeGraphics");r&&I(r,n=>{n.dispose()}),r=[],e.setRaw("rangeGraphics",r),this.axisRanges.each(n=>{const a=n.container,o=this._makeGraphics(n.columns,e);r&&r.push(o),o.setPrivate("list",n.columns),a.children.push(o)})}}createAxisRange(e){return I(this.dataItems,t=>{const i=t.get("graphics");i&&(i.dispose(),t.set("graphics",void 0))}),super.createAxisRange(e)}_updateGraphics(e,t){let i=e.get("graphics");const r=this._xField,n=this._yField,a=e.get(r),o=e.get(n);if(a!=null&&o!=null){const l=this._xOpenField,u=this._yOpenField,c=this.get("locationX",e.get("locationX",.5)),h=this.get("locationY",e.get("locationY",.5)),f=this.get("openLocationX",e.get("openLocationX",c)),d=this.get("openLocationY",e.get("openLocationY",h)),p=i.get("width"),g=i.get("height"),b=this.get("stacked"),m=this.get("xAxis"),v=this.get("yAxis"),x=this.get("baseAxis"),w=m.get("start"),P=m.get("end"),T=v.get("start"),O=v.get("end");let L,S,B,C,$=this.get("vcy",1),A=this.get("vcx",1),N=!1,z=!1;
42if(v.isType("CategoryAxis")&&m.isType("CategoryAxis")){let Y=this._aLocationX0+f-.5,Q=this._aLocationX1+c-.5;if(p instanceof se){let Z=(Q-Y)*(1-p.value)/2;Y+=Z,Q-=Z}if(L=m.getDataItemPositionX(e,l,Y,A),S=m.getDataItemPositionX(e,r,Q,A),Y=this._aLocationY0+d-.5,Q=this._aLocationY1+h-.5,g instanceof se){let Z=(Q-Y)*(1-g.value)/2;Y+=Z,Q-=Z}B=v.getDataItemPositionY(e,u,Y,$),C=v.getDataItemPositionY(e,n,Q,$),e.setRaw("point",{x:L+(S-L)/2,y:B+(C-B)/2})}else if(m===x){let Y=this._aLocationX0+f-.5,Q=this._aLocationX1+c-.5;if(p instanceof se){let Z=(Q-Y)*(1-p.value)/2;Y+=Z,Q-=Z}if(L=m.getDataItemPositionX(e,l,Y,A),S=m.getDataItemPositionX(e,r,Q,A),B=v.getDataItemPositionY(e,n,h,$),this._yOpenField!==this._yField)C=v.getDataItemPositionY(e,u,d,$);else if(b){let Z=e.get("stackToItemY");Z?C=v.getDataItemPositionY(Z,n,d,Z.component.get("vcy")):C=v.basePosition()}else C=v.basePosition();e.setRaw("point",{x:L+(S-L)/2,y:B}),z=!0}else if(v===x){let Y=this._aLocationY0+d-.5,Q=this._aLocationY1+h-.5;if(g instanceof se){let Z=(Q-Y)*(1-g.value)/2;Y+=Z,Q-=Z}if(B=v.getDataItemPositionY(e,u,Y,$),C=v.getDataItemPositionY(e,n,Q,$),S=m.getDataItemPositionX(e,r,c,A),this._xOpenField!==this._xField)L=m.getDataItemPositionX(e,l,f,A);else if(b){let Z=e.get("stackToItemX");Z?L=m.getDataItemPositionX(Z,r,f,Z.component.get("vcx")):L=m.basePosition()}else L=m.basePosition();N=!0,e.setRaw("point",{x:S,y:B+(C-B)/2})}this._updateSeriesGraphics(e,i,L,S,B,C,N,z),L<w&&S<w||L>P&&S>P||B<T&&C<=T||B>=O&&C>O||Xt(L)||Xt(B)?this._toggleColumn(e,!1):this._toggleColumn(e,!0);let te=e.get("rangeGraphics");te&&I(te,Y=>{this._updateSeriesGraphics(e,Y,L,S,B,C,N,z)}),this._applyGraphicsStates(e,t)}else this._toggleColumn(e,!1)}_updateSeriesGraphics(e,t,i,r,n,a,o,l){const u=t.get("width"),c=t.get("height"),h=t.get("maxWidth"),f=t.get("maxHeight"),d=this.getPoint(i,n),p=this.getPoint(r,a),g=e.get("point");if(g){const b=this.getPoint(g.x,g.y);g.x=b.x+this._x,g.y=b.y+this._y}if(i=d.x,r=p.x,n=d.y,a=p.y,F(u)){const b=(r-i-u)/2;i+=b,r-=b}if(F(h)&&h<Math.abs(r-i)){const b=(r-i-h)/2;i+=b,r-=b}if(F(c)){const b=(a-n-c)/2;n+=b,a-=b}if(F(f)&&f<Math.abs(a-n)){const b=(a-n-f)/2;n+=b,a-=b}this.get("adjustBulletPosition")&&(o&&(r=Math.min(Math.max(0,r),this._pw),i=Math.min(Math.max(0,i),this._pw)),l&&(n=Math.min(Math.max(0,n),this._ph),a=Math.min(Math.max(0,a),this._ph))),e.setRaw("left",i),e.setRaw("right",r),e.setRaw("top",n),e.setRaw("bottom",a),t.setPrivate("width",r-i),t.setPrivate("height",a-n),t.set("x",i),t.set("y",a-(a-n))}_handleDataSetChange(){super._handleDataSetChange(),I(this._dataItems,e=>{this._toggleColumn(e,!1)})}_applyGraphicsStates(e,t){const i=e.get("graphics"),r=i.states.lookup("dropFromOpen"),n=i.states.lookup("riseFromOpen"),a=i.states.lookup("dropFromPrevious"),o=i.states.lookup("riseFromPrevious");if(r||a||n||o){const l=this.get("xAxis"),u=this.get("yAxis"),c=this.get("baseAxis");let h,f,d;c===l&&u.isType("ValueAxis")?(h=e.get(this._yOpenField),f=e.get(this._yField),d=t.get(this._yField)):c===u&&l.isType("ValueAxis")&&(h=e.get(this._xOpenField),f=e.get(this._xField),d=t.get(this._xField)),F(h)&&F(f)&&(f<h?r&&r.apply():n&&n.apply(),F(d)&&(f<d?a&&a.apply():o&&o.apply()))}}disposeDataItem(e){super.disposeDataItem(e);const t=e.get("graphics");t&&(this.columns.removeValue(t),t.dispose());const i=e.get("rangeGraphics");i&&I(i,r=>{const n=r.getPrivate("list");n&&n.removeValue(r),r.dispose()})}hideDataItem(e,t){const i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return Ne(this,void 0,void 0,function*(){const r=[i.hideDataItem.call(this,e,t)],n=e.get("graphics");n&&r.push(n.hide(t));const a=e.get("rangeGraphics");a&&I(a,o=>{r.push(o.hide(t))}),yield Promise.all(r)})}_toggleColumn(e,t){const i=e.get("graphics");i&&i.setPrivate("visible",t);const r=e.get("rangeGraphics");r&&I(r,a=>{a.setPrivate("visible",t)});const n=e.bullets;n&&I(n,a=>{a.setPrivate("hidden",!t)})}showDataItem(e,t){const i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return Ne(this,void 0,void 0,function*(){const r=[i.showDataItem.call(this,e,t)],n=e.get("graphics");n&&r.push(n.show(t));const a=e.get("rangeGraphics");a&&I(a,o=>{r.push(o.show(t))}),yield Promise.all(r)})}updateLegendMarker(e){let t=this.get("legendDataItem");if(this.get("useLastColorForLegendMarker")&&!e){const i=this.dataItems[this.endIndex()-1];i&&(e=i)}if(t){let i=this.columns.template;if(e){let n=e.get("graphics");
42n&&(i=n)}const r=t.get("markerRectangle");if(r&&!t.get("itemContainer").get("disabled")){const n=r.states.lookup("default");I(io,a=>{const o=i.get(a,this.get(a));r.set(a,o),n.set(a,o)})}}}_getTooltipTarget(e){if(this.get("seriesTooltipTarget")=="bullet")return super._getTooltipTarget(e);let t=e.get("graphics");return t||this}}Object.defineProperty(Vi,"className",{enumerable:!0,configurable:!0,writable:!0,value:"BaseColumnSeries"});Object.defineProperty(Vi,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$i.classNames.concat([Vi.className])});class Yi extends Bi{constructor(){super(...arguments),Object.defineProperty(this,"_series",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_isPanning",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"minorDataItems",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(ie.new(this._root,{}))}),Object.defineProperty(this,"gridContainer",{enumerable:!0,configurable:!0,writable:!0,value:ie.new(this._root,{width:X,height:X})}),Object.defineProperty(this,"topGridContainer",{enumerable:!0,configurable:!0,writable:!0,value:ie.new(this._root,{width:X,height:X})}),Object.defineProperty(this,"bulletsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(ie.new(this._root,{isMeasured:!1,width:X,height:X,position:"absolute"}))}),Object.defineProperty(this,"chart",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rangesDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_panStart",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_panEnd",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_sAnimation",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_eAnimation",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_skipSync",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"axisRanges",{enumerable:!0,configurable:!0,writable:!0,value:new wr}),Object.defineProperty(this,"_seriesAxisRanges",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"ghostLabel",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_cursorPosition",{enumerable:!0,configurable:!0,writable:!0,value:-1}),Object.defineProperty(this,"_snapToSeries",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_seriesValuesDirty",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_seriesAdded",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"axisHeader",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(ie.new(this._root,{themeTags:["axis","header"],position:"absolute",background:ut.new(this._root,{themeTags:["header","background"],fill:this._root.interfaceColors.get("background")})}))}),Object.defineProperty(this,"_bullets",{enumerable:!0,configurable:!0,writable:!0,value:{}})}_dispose(){this.gridContainer.dispose(),this.topGridContainer.dispose(),this.bulletsContainer.dispose(),this.labelsContainer.dispose(),this.axisHeader.dispose(),super._dispose()}_afterNew(){super._afterNew(),this.setPrivate("updateScrollbar",!0),this._disposers.push(this.axisRanges.events.onAll(t=>{if(t.type==="clear")I(t.oldValues,i=>{i.dispose()});else if(t.type==="push")this._processAxisRange(t.newValue,["range"]);else if(t.type==="setIndex")this._processAxisRange(t.newValue,["range"]);else if(t.type==="insertIndex")this._processAxisRange(t.newValue,["range"]);else if(t.type==="removeIndex")this.disposeDataItem(t.oldValue);else if(t.type==="moveIndex")this._processAxisRange(t.value,["range"]);else throw new Error("Unknown IStreamEvent type")}));const e=this.get("renderer");e&&(e.axis=this,e.processAxis()),this.children.push(e),this.ghostLabel=e.makeLabel(new bi(this,void 0,{}),[]),this.ghostLabel.adapters.disable("text"),this.ghostLabel.setAll({opacity:0,tooltipText:void 0,tooltipHTML:void 0,interactive:!1}),this.ghostLabel.events.disable()}_updateFinals(e,t){}zoom(e,t,i,r){if(this.get("zoomable",!0))if(this._updateFinals(e,t),this.get("start")!==e||this.get("end")!=t){let n=this._sAnimation,a=this._eAnimation,o=this.get("maxDeviation",.5)*Math.min(1,t-e);e<-o&&(e=-o),t>1+o&&(t=1+o),e>t&&([e,t]=[t,e]),F(i)||(i=this.get("interpolationDuration",0)),r||(r="end");let l=this.getPrivate("maxZoomFactor",this.get("maxZoomFactor",100)),u=l;t===1&&e!==0&&(e<this.get("start",0)?r="start":r="end"),e===0&&t!==1&&(t>this.get("end",1)?r="end":r="start");let c=this.get("minZoomCount",0),h=this.get("maxZoomCount",1/0);F(c)&&(l=u/c);let f=1;if(F(h)&&(f=u/h),r==="start"?(h>0&&1/(t-e)<f&&(t=e+1/f),1/(t-e)>l&&(t=e+1/l),t>1&&t-e<1/l&&(e=t-1/l)):(h>0&&1/(t-e)<f&&(e=t-1/f),1/(t-e)>l&&(e=t-1/l),e<0&&t-e<1/l&&(t=e+1/l)),1/(t-e)>l&&(t=e+1/l),1/(t-e)>l&&(e=t-1/l),h!=null&&c!=null&&e==this.get("start")&&t==this.get("end")){const d=this.chart;d&&d._handleAxisSelection(this,!0)}if((n&&n.playing&&n.to==e||this.get("start")==e)&&(a&&a.playing&&a.to==t||this.get("end")==t))return;if(i>0){let d=this.get("interpolationEasing"),p,g;if(this.get("start")!=e&&(p=this.animate({key:"start",to:e,duration:i,easing:d})),this.get("end")!=t&&(g=this.animate({key:"end",to:t,duration:i,easing:d})),this._sAnimation=p,this._eAnimation=g,p)return p;if(g)return g}else this.set("start",e),this.set("end",t)}else this._sAnimation&&this._sAnimation.stop(),this._eAnimation&&this._eAnimation.stop()}get series(){return this._series}_processAxisRange(e,t){e.setRaw("isRange",!0),this._createAssets(e,t),this._rangesDirty=!0,this._prepareDataItem(e);const i=e.get("above"),r=this.topGridContainer,n=e.get("grid");i&&n&&r.children.moveValue(n);const a=e.get("axisFill");i&&a&&r.children.moveValue(a)}_prepareDataItem(e,t){}markDirtyExtremes(){}markDirtySelectionExtremes(){}_calculateTotals(){}_updateAxisRanges(){this._bullets={},this.axisRanges.each(e=>{this._prepareDataItem(e)}),I(this._seriesAxisRanges,e=>{this._prepareDataItem(e)})}_prepareChildren(){if(super._prepareChildren(),this.get("fixAxisSize")?this.ghostLabel.set("visible",!0):this.ghostLabel.set("visible",!1),this.isDirty("start")||this.isDirty("end")){const t=this.chart;
42t&&t._updateCursor();let i=this.get("start",0),r=this.get("end",1),n=this.get("maxDeviation",.5)*Math.min(1,r-i);if(i<-n){let a=i+n;i=-n,this.setRaw("start",i),this.isDirty("end")&&this.setRaw("end",r-a)}if(r>1+n){let a=r-1-n;r=1+n,this.setRaw("end",r),this.isDirty("start")&&this.setRaw("start",i-a)}}const e=this.get("renderer");if(e._start=this.get("start"),e._end=this.get("end"),e._inversed=e.get("inversed",!1),e._axisLength=e.axisLength()/(e._end-e._start),e._updateLC(),this.isDirty("tooltip")){const t=this.get("tooltip");if(t){const i=e.get("themeTags");t.addTag("axis"),t.addTag(this.className.toLowerCase()),t._applyThemes(),i&&(t.set("themeTags",ue(t.get("themeTags"),i)),t.label._applyThemes())}}}_updateTooltipBounds(){const e=this.get("tooltip");e&&this.get("renderer").updateTooltipBounds(e)}_updateBounds(){super._updateBounds(),this._updateTooltipBounds()}processChart(e){this.chart=e;const t=this.get("renderer");t.chart=e,e.gridContainer.children.push(this.gridContainer),e.topGridContainer.children.push(this.topGridContainer),e.axisHeadersContainer.children.push(this.axisHeader),this.on("start",()=>{e._handleAxisSelection(this)}),this.on("end",()=>{e._handleAxisSelection(this)}),e.plotContainer.onPrivate("width",()=>{this.markDirtySize()}),e.plotContainer.onPrivate("height",()=>{this.markDirtySize()}),e.processAxis(this)}hideDataItem(e){return this._toggleFHDataItem(e,!0),super.hideDataItem(e)}showDataItem(e){return this._toggleFHDataItem(e,!1),super.showDataItem(e)}_toggleFHDataItem(e,t){const i="forceHidden",r=e.get("label");r&&r.set(i,t);const n=e.get("grid");n&&n.set(i,t);const a=e.get("tick");a&&a.set(i,t);const o=e.get("axisFill");o&&o.set(i,t);const l=e.get("bullet");if(l){const u=l.get("sprite");u&&u.set(i,t)}}_toggleDataItem(e,t){const i=e.get("label"),r="visible";i&&i.setPrivate(r,t);const n=e.get("grid");n&&n.setPrivate(r,t);const a=e.get("tick");a&&a.setPrivate(r,t);const o=e.get("axisFill");o&&o.setPrivate(r,t);const l=e.get("bullet");if(l){const u=l.get("sprite");u&&u.setPrivate(r,t)}}_createAssets(e,t,i){var r,n,a;const o=this.get("renderer");let l="minor";const u=e.get("label");if(!u)o.makeLabel(e,t);else{let f=u.get("themeTags"),d=!1;i?(f==null?void 0:f.indexOf(l))==-1&&(d=!0):(f==null?void 0:f.indexOf(l))!=-1&&(d=!0),d&&((r=u.parent)===null||r===void 0||r.children.removeValue(u),o.makeLabel(e,t),u.dispose(),o.labels.removeValue(u))}const c=e.get("grid");if(!c)o.makeGrid(e,t);else{let f=c.get("themeTags"),d=!1;i?(f==null?void 0:f.indexOf(l))==-1&&(d=!0):(f==null?void 0:f.indexOf(l))!=-1&&(d=!0),d&&((n=c.parent)===null||n===void 0||n.children.removeValue(c),o.makeGrid(e,t),c.dispose(),o.grid.removeValue(c))}const h=e.get("tick");if(!h)o.makeTick(e,t);else{let f=!1,d=h.get("themeTags");i?(d==null?void 0:d.indexOf(l))==-1&&(f=!0):(d==null?void 0:d.indexOf(l))!=-1&&(f=!0),f&&((a=h.parent)===null||a===void 0||a.children.removeValue(h),o.makeTick(e,t),h.dispose(),o.ticks.removeValue(h))}!i&&!e.get("axisFill")&&o.makeAxisFill(e,t),this._processBullet(e)}_processBullet(e){let t=e.get("bullet"),i=this.get("bullet");if(!t&&i&&!e.get("isRange")&&(t=i(this._root,this,e)),t){t.axis=this;const r=t.get("sprite");r&&(r._setDataItem(e),e.setRaw("bullet",t),r.parent||this.bulletsContainer.children.push(r))}}_afterChanged(){super._afterChanged();const e=this.chart;e&&(e._updateChartLayout(),e.axisHeadersContainer.markDirtySize()),this.get("renderer")._updatePositions(),this._seriesAdded=!1}disposeDataItem(e){super.disposeDataItem(e);const t=this.get("renderer"),i=e.get("label");i&&(t.labels.removeValue(i),i.dispose());const r=e.get("tick");r&&(t.ticks.removeValue(r),r.dispose());const n=e.get("grid");n&&(t.grid.removeValue(n),n.dispose());const a=e.get("axisFill");a&&(t.axisFills.removeValue(a),a.dispose());const o=e.get("bullet");o&&o.dispose()}_updateGhost(){this.setPrivate("cellWidth",this.getCellWidthPosition()*this.get("renderer").axisLength());const e=this.ghostLabel;if(!e.isHidden()){const r=e.localBounds(),n=Math.ceil(r.right-r.left);let a=e.get("text");I(this.dataItems,o=>{const l=o.get("label");if(l&&!l.isHidden()){const u=l.localBounds();
42Math.ceil(u.right-u.left)>n&&(a=l.text._getText())}}),e.set("text",a)}let t=this.get("start",0),i=this.get("end",1);this.get("renderer").updateLabel(e,t+(i-t)*.5)}_handleCursorPosition(e,t){e=this.get("renderer").toAxisPosition(e),this._cursorPosition=e,this._snapToSeries=t,this.updateTooltip()}updateTooltip(){const e=this._snapToSeries;let t=this._cursorPosition;const i=this.get("tooltip"),r=this.get("renderer");F(t)&&(I(this.series,n=>{if(n.get("baseAxis")===this){const a=this.getSeriesItem(n,t,this.get("tooltipLocation"));e&&e.indexOf(n)!=-1?(n.updateLegendMarker(a),n.updateLegendValue(a),n._settings.tooltipDataItem=a):(n.showDataItemTooltip(a),n.setRaw("tooltipDataItem",a))}}),this.get("snapTooltip")&&(t=this.roundAxisPosition(t,this.get("tooltipLocation",.5))),this.setPrivateRaw("tooltipPosition",t),i&&(r.updateTooltipBounds(i),Xt(t)?i.hide(0):(this._updateTooltipText(i,t),r.positionTooltip(i,t),t<this.get("start",0)||t>this.get("end",1)?i.hide(0):i.show(0))))}_updateTooltipText(e,t){e.label.set("text",this.getTooltipText(t))}roundAxisPosition(e,t){return e}_handleSeriesRemoved(){}handleCursorShow(){let e=this.get("tooltip");e&&e.show()}handleCursorHide(){let e=this.get("tooltip");e&&e.hide()}processSeriesDataItem(e,t){}_clearDirty(){super._clearDirty(),this._sizeDirty=!1,this._rangesDirty=!1}coordinateToPosition(e){const t=this.get("renderer");return t.toAxisPosition(e/t.axisLength())}toAxisPosition(e){return this.get("renderer").toAxisPosition(e)}toGlobalPosition(e){return this.get("renderer").toGlobalPosition(e)}fixPosition(e){return this.get("renderer").fixPosition(e)}shouldGap(e,t,i,r){return!1}createAxisRange(e){return this.axisRanges.push(e)}
42_groupSeriesData(e){}getCellWidthPosition(){return .05}}Object.defineProperty(Yi,"className",{enumerable:!0,configurable:!0,writable:!0,value:"Axis"});Object.defineProperty(Yi,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Bi.classNames.concat([Yi.className])});class Hi extends Yi{constructor(){super(...arguments),Object.defineProperty(this,"_dirtyExtremes",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dirtySelectionExtremes",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_dseHandled",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_deltaMinMax",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_minReal",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_maxReal",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_minRealLog",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_baseValue",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_syncDp",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_minLogAdjusted",{enumerable:!0,configurable:!0,writable:!0,value:1})}markDirtyExtremes(){this._dirtyExtremes=!0,this.markDirty()}markDirtySelectionExtremes(){this._dirtySelectionExtremes=!0,this.markDirty()}_afterNew(){this._settings.themeTags=ue(this._settings.themeTags,["axis"]),this.setPrivateRaw("name","value"),this.addTag("value"),super._afterNew()}_prepareChildren(){if(super._prepareChildren(),this.isDirty("syncWithAxis")){this._prevSettings.syncWithAxis&&this._syncDp&&this._syncDp.dispose();let i=this.get("syncWithAxis");i&&(this._syncDp=new nt([i.onPrivate("selectionMinFinal",()=>{this._dirtySelectionExtremes=!0}),i.onPrivate("selectionMaxFinal",()=>{this._dirtySelectionExtremes=!0})]))}let e=!1;if((this.isDirty("min")||this.isDirty("max")||this.isDirty("maxPrecision")||this.isDirty("numberFormat"))&&(e=!0,this.ghostLabel.set("text","")),(this._sizeDirty||this._dirtyExtremes||this._valuesDirty||e||this.isPrivateDirty("width")||this.isPrivateDirty("height")||this.isDirty("extraMin")||this.isDirty("extraMax")||this.isDirty("logarithmic")||this.isDirty("treatZeroAs")||this.isDirty("baseValue")||this.isDirty("strictMinMax")||this.isDirty("strictMinMaxSelection"))&&(this._getMinMax(),this._dirtyExtremes=!1),this._handleSizeDirty(),this._dirtySelectionExtremes&&!this._isPanning&&this.get("autoZoom",!0)){const t=this.chart;let i=!1;if(t){const r=this.get("renderer").getPrivate("letter");r=="Y"?t.xAxes.each(n=>{n.className!="ValueAxis"&&(i=!0)}):r=="X"&&t.yAxes.each(n=>{n.className!="ValueAxis"&&(i=!0)})}i&&this._getSelectionMinMax(),this._dirtySelectionExtremes=!1}this._groupData(),(this._sizeDirty||this._valuesDirty||this.isDirty("start")||this.isDirty("end")||this.isPrivateDirty("min")||this.isPrivateDirty("selectionMax")||this.isPrivateDirty("selectionMin")||this.isPrivateDirty("max")||this.isPrivateDirty("step")||this.isPrivateDirty("width")||this.isPrivateDirty("height")||this.isDirty("logarithmic"))&&(this._handleRangeChange(),this._prepareAxisItems(),this._updateAxisRanges()),this._baseValue=this.baseValue()}_handleSizeDirty(){this._sizeDirty&&!this._dseHandled&&(this._dirtySelectionExtremes=!0,this._dseHandled=!0,(this.getPrivate("selectionMinFinal")!=this.getPrivate("selectionMin")||this.getPrivate("selectionMaxFinal")!=this.getPrivate("selectionMax"))&&(this._dirtySelectionExtremes=!1))}_clearDirty(){super._clearDirty(),this._dseHandled=!1}_groupData(){}_formatText(e){const t=this.get("numberFormat"),i=this.getNumberFormatter();let r="";return t?r=i.format(e,t):r=i.format(e,void 0,this.getPrivate("stepDecimalPlaces")),r}_prepareAxisItems(){const e=this.getPrivate("min"),t=this.getPrivate("max");if(F(e)&&F(t)){const i=this.get("logarithmic"),r=this.getPrivate("step"),n=this.getPrivate("selectionMin"),a=this.getPrivate("selectionMax")+r;let o=n-r,l=1,u=e;if(i){if(o=this._minLogAdjusted,o<n)for(;o<n;)o+=r;u=o,u<=0&&(u=1,r<1&&(F(this._minRealLog)?u=this._minRealLog:u=Math.pow(10,-50))),l=Math.log(a-r)*Math.LOG10E-Math.log(u)*Math.LOG10E,l>2&&(o=Math.pow(10,Math.log(u)*Math.LOG10E-50))}const c=this.get("renderer"),h=c.get("minorLabelsEnabled"),f=c.get("minorGridEnabled",h);let d=Math.pow(10,Math.floor(Math.log(Math.abs(r))*Math.LOG10E));const p=Math.round(r/d);let g=2;Oe(p/5,10)%1==0&&(g=5),Oe(p/10,10)%1==0&&(g=10);let b=r/g,m=0,v=0,x=-1/0;for(;o<a;){let w;this.dataItems.length<m+1?(w=new bi(this,void 0,{}),this._dataItems.push(w),this.processDataItem(w)):w=this.dataItems[m],this._createAssets(w,[]),this._toggleDataItem(w,!0),w.setRaw("value",o);const P=w.get("label");P&&P.set("text",this._formatText(o)),this._prepareDataItem(w);let T=o;if(i&&l>2?T=Math.pow(10,Math.log(u)*Math.LOG10E+m-50):T+=r,f){let L=o+b;for(i&&(l>2&&(b=this._adjustMinMax(o,T,10).step),L=o+b);L<T-r*1e-11;){let S;this.minorDataItems.length<v+1?(S=new bi(this,void 0,{}),this.minorDataItems.push(S),this.processDataItem(S)):S=this.minorDataItems[v],this._createAssets(S,["minor"],!0),this._toggleDataItem(S,!0),S.setRaw("value",L);const B=S.get("label");B&&(h?B.set("text",this._formatText(L)):B.setPrivate("visible",!1)),this._prepareDataItem(S),L+=b,v++}}if(o=T,x==o)break;let O=Math.pow(10,Math.floor(Math.log(Math.abs(r))*Math.LOG10E));if(O<1&&!i){let L=Math.round(Math.abs(Math.log(Math.abs(O))*Math.LOG10E))+2;o=Oe(o,L)}m++,i&&l<=2&&o-r<r&&(o=r),x=o}for(let w=m;w<this.dataItems.length;w++)this._toggleDataItem(this.dataItems[w],!1);for(let w=v;w<this.minorDataItems.length;w++)this._toggleDataItem(this.minorDataItems[w],!1);I(this.series,w=>{w.inited&&w._markDirtyAxes()}),this._updateGhost()}}_prepareDataItem(e,t){let i=this.get("renderer"),r=e.get("value"),n=e.get("endValue"),a=this.valueToPosition(r),o=a,l=this.valueToPosition(r+this.getPrivate("step"));F(n)&&(o=this.valueToPosition(n),l=o),e.get("isRange")&&n==null&&(l=a);let u=o,c=e.get("labelEndValue");c!=null&&(u=this.valueToPosition(c)),i.updateLabel(e.get("label"),a,u,t);const h=e.get("grid");if(i.updateGrid(h,a,o),h&&(r==this.get("baseValue",0)?(h.addTag("base"),h._applyThemes()):h.hasTag("base")&&(h.removeTag("base"),h._applyThemes())
42),i.updateTick(e.get("tick"),a,u,t),i.updateFill(e.get("axisFill"),a,l),this._processBullet(e),i.updateBullet(e.get("bullet"),a,o),!e.get("isRange")){const f=this.get("fillRule");f&&f(e)}}_handleRangeChange(){let e=this.positionToValue(this.get("start",0)),t=this.positionToValue(this.get("end",1));const i=this.get("renderer").gridCount();let r=this._adjustMinMax(e,t,i,!0),n=B1(r.step);this.setPrivateRaw("stepDecimalPlaces",n),e=Oe(e,n),t=Oe(t,n),r=this._adjustMinMax(e,t,i,!0);let a=r.step;e=r.min,t=r.max,(this.getPrivate("selectionMin")!==e||this.getPrivate("selectionMax")!==t||this.getPrivate("step")!==a)&&(this.setPrivateRaw("selectionMin",e),this.setPrivateRaw("selectionMax",t),this.setPrivateRaw("step",a))}positionToValue(e){const t=this.getPrivate("min"),i=this.getPrivate("max");return this.get("logarithmic")?Math.pow(Math.E,(e*(Math.log(i)*Math.LOG10E-Math.log(t)*Math.LOG10E)+Math.log(t)*Math.LOG10E)/Math.LOG10E):e*(i-t)+t}valueToPosition(e){const t=this.getPrivate("min"),i=this.getPrivate("max");if(this.get("logarithmic")){if(e<=0){let r=this.get("treatZeroAs");F(r)&&(e=r)}return(Math.log(e)*Math.LOG10E-Math.log(t)*Math.LOG10E)/(Math.log(i)*Math.LOG10E-Math.log(t)*Math.LOG10E)}else return(e-t)/(i-t)}valueToFinalPosition(e){const t=this.getPrivate("minFinal"),i=this.getPrivate("maxFinal");if(this.get("logarithmic")){if(e<=0){let r=this.get("treatZeroAs");F(r)&&(e=r)}return(Math.log(e)*Math.LOG10E-Math.log(t)*Math.LOG10E)/(Math.log(i)*Math.LOG10E-Math.log(t)*Math.LOG10E)}else return(e-t)/(i-t)}
42getX(e,t,i){e=i+(e-i)*t;const r=this.valueToPosition(e);return this._settings.renderer.positionToCoordinate(r)}getY(e,t,i){e=i+(e-i)*t;const r=this.valueToPosition(e);return this._settings.renderer.positionToCoordinate(r)}getDataItemCoordinateX(e,t,i,r){return this._settings.renderer.positionToCoordinate(this.getDataItemPositionX(e,t,i,r))}getDataItemPositionX(e,t,i,r){let n=e.get(t);if(e.get("stackToItemX")){const o=e.component;n=n*r+o.getStackedXValueWorking(e,t)}else n=this._baseValue+(n-this._baseValue)*r;return this.valueToPosition(n)}getDataItemCoordinateY(e,t,i,r){return this._settings.renderer.positionToCoordinate(this.getDataItemPositionY(e,t,i,r))}getDataItemPositionY(e,t,i,r){let n=e.get(t);if(e.get("stackToItemY")){const o=e.component;n=n*r+o.getStackedYValueWorking(e,t)}else n=this._baseValue+(n-this._baseValue)*r;return this.valueToPosition(n)}basePosition(){return this.valueToPosition(this.baseValue())}baseValue(){const e=Math.min(this.getPrivate("minFinal",-1/0),this.getPrivate("selectionMin",-1/0)),t=Math.max(this.getPrivate("maxFinal",1/0),this.getPrivate("selectionMax",1/0));let i=this.get("baseValue",0);return i<e&&(i=e),i>t&&(i=t),i}cellEndValue(e){return e}fixSmallStep(e){return 1+e===1?(e*=2,this.fixSmallStep(e)):e}_fixMin(e){return e}_fixMax(e){return e}_calculateTotals(){if(this.get("calculateTotals")){let e=this.series[0];if(e){let t=e.startIndex();if(e.dataItems.length>0){t>0&&t--;let i=e.endIndex();i<e.dataItems.length&&i++;let r,n;e.get("yAxis")==this?(r="valueY",n="vcy"):e.get("xAxis")==this&&(r="valueX",n="vcx");let a=r+"Working";if(r)for(let o=t;o<i;o++){let l=0,u=0;I(this.series,c=>{if(!c.get("excludeFromTotal")){let h=c.dataItems[o];if(h){let f=h.get(a)*c.get(n);Xt(f)||(l+=f,u+=Math.abs(f))}}}),I(this.series,c=>{if(!c.get("excludeFromTotal")){let h=c.dataItems[o];if(h){let f=h.get(a)*c.get(n);Xt(f)||(h.set(r+"Total",u),h.set(r+"Sum",l),h.set(r+"TotalPercent",f/u*100))}}})}}}}}_getSelectionMinMax(){const e=this.getPrivate("minFinal"),t=this.getPrivate("maxFinal"),i=this.get("min"),r=this.get("max");let n=this.get("extraMin",0),a=this.get("extraMax",0);this.get("logarithmic")&&(this.get("extraMin")==null&&(n=.1),this.get("extraMax")==null&&(a=.2));const o=this.get("renderer").gridCount(),l=this.get("strictMinMaxSelection");let u=this.get("strictMinMax");if(F(e)&&F(t)){let c=t,h=e;if(I(this.series,w=>{if(!w.get("ignoreMinMax")){let P,T;const O=w.getPrivate("outOfSelection");if(w.get("xAxis")===this){if(!O){let L=w.getPrivate("minX"),S=w.getPrivate("maxX");(w.startIndex()!=0||w.endIndex()!=w.dataItems.length)&&(L=void 0,S=void 0),P=w.getPrivate("selectionMinX",L),T=w.getPrivate("selectionMaxX",S)}}else if(w.get("yAxis")===this&&!O){let L=w.getPrivate("minY"),S=w.getPrivate("maxY");(w.startIndex()!=0||w.endIndex()!=w.dataItems.length)&&(L=void 0,S=void 0),P=w.getPrivate("selectionMinY",L),T=w.getPrivate("selectionMaxY",S)}!w.isHidden()&&!w.isShowing()&&(F(P)&&(c=Math.min(c,P)),F(T)&&(h=Math.max(h,T)))}}),this.axisRanges.each(w=>{if(w.get("affectsMinMax")){let P=w.get("value");P!=null&&(c=Math.min(c,P),h=Math.max(h,P)),P=w.get("endValue"),P!=null&&(c=Math.min(c,P),h=Math.max(h,P))}}),c>h&&([c,h]=[h,c]),F(i)?u?c=i:c=e:u&&F(this._minReal)&&(c=this._minReal),F(r)?u?h=r:h=t:u&&F(this._maxReal)&&(h=this._maxReal),c===h){let w=c;if(c-=this._deltaMinMax,h+=this._deltaMinMax,c<e){let T=w-e;T==0&&(T=this._deltaMinMax),c=w-T,h=w+T,u=!0}let P=this._adjustMinMax(c,h,o,u);c=P.min,h=P.max}let f=c,d=h,p=h-c;c-=p*n,h+=p*a;let g=this._adjustMinMax(c,h,o);c=g.min,h=g.max,c=Ae(c,e,t),h=Ae(h,e,t),g=this._adjustMinMax(c,h,o,!0),u||(c=g.min,h=g.max);const b=this.get("syncWithAxis");if(b&&(g=this._syncAxes(c,h,g.step,b.getPrivate("selectionMinFinal",b.getPrivate("minFinal",0)),b.getPrivate("selectionMaxFinal",b.getPrivate("maxFinal",1)),b.getPrivate("selectionStepFinal",b.getPrivate("step",1))),g.min<e&&(g.min=e),g.max>t&&(g.max=t),c=g.min,h=g.max),u&&(F(i)&&(c=Math.max(c,i)),F(r)&&(h=Math.min(h,r))),l&&(c=f-(d-f)*n,h=d+(d-f)*a),u){F(i)?c=i:c=f,F(r)?h=r:h=d,h-c<=1e-8&&(c-=this._deltaMinMax,h+=this._deltaMinMax);let w=h-c;c-=w*n,h+=w*a}this.get("logarithmic")&&(c<=0&&(c=f*(1-Math.min(n,.99))),c<e&&(c=e),h>t&&(h=t));let m=Math.min(20,Math.ceil(Math.log(this.getPrivate("maxZoomFactor",100)+1)/Math.LN10)+2),v=Oe(this.valueToFinalPosition(c),m),x=Oe(this.valueToFinalPosition(h),m);this.setPrivateRaw("selectionMinFinal",c),this.setPrivateRaw("selectionMaxFinal",h),this.setPrivateRaw("selectionStepFinal",g.step),this.zoom(v,x)}}_getMinMax(){let e=this.get("min"),t=this.get("max"),i=1/0,r=-1/0,n=this.get("extraMin",0),a=this.get("extraMax",0);this.get("logarithmic")&&(this.get("strictMinMax")||(this.get("extraMin")==null&&(n=.1),this.get("extraMax")==null&&(a=.2)));let o=1/0;
42if(I(this.series,x=>{if(!x.get("ignoreMinMax")){let w,P;if(x.get("xAxis")===this?(w=x.getPrivate("minX"),P=x.getPrivate("maxX")):x.get("yAxis")===this&&(w=x.getPrivate("minY"),P=x.getPrivate("maxY")),F(w)&&F(P)){i=Math.min(i,w),r=Math.max(r,P);let T=P-w;T<=0&&(T=Math.abs(P/100)),T<o&&(o=T)}}}),this.axisRanges.each(x=>{if(x.get("affectsMinMax")){let w=x.get("value");w!=null&&(i=Math.min(i,w),r=Math.max(r,w)),w=x.get("endValue"),w!=null&&(i=Math.min(i,w),r=Math.max(r,w))}}),this.get("logarithmic")){let x=this.get("treatZeroAs");F(x)&&i<=0&&(i=x)}if(i===0&&r===0&&(r=.9,i=-.9),F(e)&&(i=e),F(t)&&(r=t),i===1/0||r===-1/0){this.setPrivate("minFinal",void 0),this.setPrivate("maxFinal",void 0);return}i>r&&([i,r]=[r,i]);const l=i,u=r;let c=this.adapters.fold("min",i),h=this.adapters.fold("max",r);this._minRealLog=i,F(c)&&(i=c),F(h)&&(r=h),i=this._fixMin(i),r=this._fixMax(r),r-i<=1/Math.pow(10,15)&&(r-i!==0?this._deltaMinMax=(r-i)/2:this._getDelta(r),i-=this._deltaMinMax,r+=this._deltaMinMax),i-=(r-i)*n,r+=(r-i)*a,this.get("logarithmic")&&(i<0&&l>=0&&(i=0),r>0&&u<=0&&(r=0)),this._minReal=i,this._maxReal=r;let f=this.get("strictMinMax"),d=this.get("strictMinMaxSelection",!1);d&&(f=d);let p=f;F(t)&&(p=!0);let g=this.get("renderer").gridCount(),b=this._adjustMinMax(i,r,g,p);if(i=b.min,r=b.max,b=this._adjustMinMax(i,r,g,!0),i=b.min,r=b.max,f){F(e)?i=e:i=this._minReal,F(t)?r=t:r=this._maxReal,r-i<=1e-8&&(i-=this._deltaMinMax,r+=this._deltaMinMax);let x=r-i;i-=x*n,r+=x*a}c=this.adapters.fold("min",i),h=this.adapters.fold("max",r),F(c)&&(i=c),F(h)&&(r=h),o==1/0&&(o=r-i);let m=Math.round(Math.abs(Math.log(Math.abs(r-i))*Math.LOG10E))+5;i=Oe(i,m),r=Oe(r,m);const v=this.get("syncWithAxis");if(v&&(b=this._syncAxes(i,r,b.step,v.getPrivate("minFinal",v.getPrivate("min",0)),v.getPrivate("maxFinal",v.getPrivate("max",1)),v.getPrivate("step",1)),i=b.min,r=b.max),this.setPrivateRaw("maxZoomFactor",Math.max(1,Math.ceil((r-i)/o*this.get("maxZoomFactor",100)))),this._fixZoomFactor(),this.get("logarithmic")&&(this._minLogAdjusted=i,i=this._minReal,r=this._maxReal,i<=0&&(i=l*(1-Math.min(n,.99)))),F(i)&&F(r)&&(this.getPrivate("minFinal")!==i||this.getPrivate("maxFinal")!==r)){this.setPrivate("minFinal",i),this.setPrivate("maxFinal",r),this._saveMinMax(i,r);const x=this.get("interpolationDuration",0),w=this.get("interpolationEasing");this.animatePrivate({key:"min",to:i,duration:x,easing:w}),this.animatePrivate({key:"max",to:r,duration:x,easing:w})}}_fixZoomFactor(){}_getDelta(e){let t=Math.log(Math.abs(e))*Math.LOG10E,i=Math.pow(10,Math.floor(t));i=i/10,this._deltaMinMax=i}_saveMinMax(e,t){}_adjustMinMax(e,t,i,r){i<=1&&(i=1),i=Math.round(i);let n=e,a=t,o=t-e;o===0&&(o=Math.abs(t));let l=Math.log(Math.abs(o))*Math.LOG10E,u=Math.pow(10,Math.floor(l));u=u/10;let c=u;r&&(c=0),r?(e=Math.floor(e/u)*u,t=Math.ceil(t/u)*u):(e=Math.ceil(e/u)*u-c,t=Math.floor(t/u)*u+c),e<0&&n>=0&&(e=0),t>0&&a<=0&&(t=0),l=Math.log(Math.abs(o))*Math.LOG10E,u=Math.pow(10,Math.floor(l)),u=u/100;let h=Math.ceil(o/i/u)*u,f=Math.pow(10,Math.floor(Math.log(Math.abs(h))*Math.LOG10E)),d=Math.ceil(h/f);d>5?d=10:d<=5&&d>2&&(d=5),h=Math.ceil(h/(f*d))*f*d;let p=this.get("maxPrecision");if(F(p)){let v=i2(h,p);p<Number.MAX_VALUE&&h!==v&&(h=v,h==0&&(h=1))}let g=0;f<1&&(g=Math.round(Math.abs(Math.log(Math.abs(f))*Math.LOG10E))+1,h=Oe(h,g));let b=Math.floor(e/h);e=Oe(h*b,g);let m;return r?m=Math.floor(t/h):m=Math.ceil(t/h),m===b&&m++,t=Oe(h*m,g),t<a&&(t=t+h),e>n&&(e=e-h),h=this.fixSmallStep(h),{min:e,max:t,step:h}}getTooltipText(e,t){const i=this.get("tooltipNumberFormat",this.get("numberFormat")),r=this.getNumberFormatter(),n=this.get("extraTooltipPrecision",0),a=this.getPrivate("stepDecimalPlaces",0)+n,o=Oe(this.positionToValue(e),a);return i?r.format(o,i):r.format(o,void 0,a)}getSeriesItem(e,t){let i=this.getPrivate("name")+this.get("renderer").getPrivate("letter"),r=this.positionToValue(t),n,a;if(I(e.dataItems,(o,l)=>{const u=Math.abs(o.get(i)-r);(n===void 0||u<a)&&(n=l,a=u)}),n!=null)return e.dataItems[n]}zoomToValues(e,t,i){const r=this.getPrivate("minFinal",0),n=this.getPrivate("maxFinal",0);this.getPrivate("min")!=null&&this.getPrivate("max")!=null&&this.zoom((e-r)/(n-r),(t-r)/(n-r),i)}_syncAxes(e,t,i,r,n,a){if(this.get("syncWithAxis")){let l=Math.round(n-r)/a,u=Math.round((t-e)/i),c=this.get("renderer").gridCount();if(F(l)&&F(u)){let h=!1,f=0,d=(t-e)*.01,p=e,g=t,b=i;for(;h!=!0;)if(h=this._checkSync(p,g,b,l),f++,f>500&&(h=!0),h)e=p,t=g,i=b;else{f/3==Math.round(f/3)?(p=e-d*f,e>=0&&p<0&&(p=0)):(g=t+d*f,g<=0&&g>0&&(g=0));let m=this._adjustMinMax(p,g,c,!0);p=m.min,g=m.max,b=m.step}}}return{min:e,max:t,step:i}}_checkSync(e,t,i,r){let n=(t-e)/i;for(let a=1;a<r;a++)if(Oe(n/a,1)==r||n*a==r)return!0;return!1}getCellWidthPosition(){let e=this.getPrivate("selectionMax",this.getPrivate("max")),t=this.getPrivate("selectionMin",this.getPrivate("min"));return F(e)&&F(t)?this.getPrivate("step",1)/(e-t):.05}nextPosition(e){e==null&&(e=1),this.get("renderer").getPrivate("letter")=="Y"&&(e*=-1);let t=this.positionToValue(this.getPrivate("tooltipPosition",0));return t+=this.getPrivate("step",1)*e,t=Ae(t,this.getPrivate("selectionMin",0),this.getPrivate("selectionMax",1)),this.toGlobalPosition(this.valueToPosition(t))}}Object.defineProperty(Hi,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ValueAxis"});Object.defineProperty(Hi,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Yi.classNames.c
42oncat([Hi.className])});class li extends Yi{constructor(){super(...arguments),Object.defineProperty(this,"_frequency",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_itemMap",{enumerable:!0,configurable:!0,writable:!0,value:{}})}_afterNew(){this._settings.themeTags=ue(this._settings.themeTags,["axis"]),this.fields.push("category"),this.setPrivateRaw("name","category"),this.addTag("category"),super._afterNew()}_prepareChildren(){super._prepareChildren();const e=this.dataItems.length;let t=0;this._valuesDirty&&(this._itemMap={},I(this.dataItems,i=>{i.setRaw("index",t),this._itemMap[i.get("category")]=i,t++}),this.setPrivateRaw("maxZoomFactor",e)),this.setPrivateRaw("startIndex",Math.max(Math.round(this.get("start",0)*e),0)),this.setPrivateRaw("endIndex",Math.min(Math.round(this.get("end",1)*e),e)),(this._sizeDirty||this._valuesDirty||this.isDirty("start")||this.isDirty("end")||this.isPrivateDirty("endIndex")||this.isPrivateDirty("startIndex")||this.isPrivateDirty("width")||this.isPrivateDirty("height"))&&this.dataItems.length>0&&(this._handleRangeChange(),this._prepareAxisItems(),this._updateAxisRanges())}_handleRangeChange(){I(this.series,e=>{let t=this.dataItems[this.startIndex()].get("category"),i=this.dataItems[this.endIndex()-1].get("category"),r=e.get("baseAxis"),n=e.get("xAxis"),a=e.get("yAxis");if(n instanceof li&&a instanceof li)e._markDirtyAxes();else if(r===this){let o,l,u=a;if(n===r?(e.get("categoryXField")&&(o="categoryX"),e.get("openCategoryXField")&&(l="openCategoryX")):a===r&&(e.get("categoryYField")&&(o="categoryY"),e.get("openCategoryYField")&&(l="openCategoryY"),u=n),u instanceof Hi&&(o||l)){let c,h;for(let g=0,b=e.dataItems.length;g<b;g++){let m=e.dataItems[g];if(o&&m.get(o)===t){c=m;break}if(l&&m.get(l)===t){c=m;break}}for(let g=e.dataItems.length-1;g>=0;g--){let b=e.dataItems[g];if(o&&b.get(o)===i){h=b;break}if(l&&b.get(l)===i){h=b;break}}let f=0,d=e.dataItems.length;c&&(f=e.dataItems.indexOf(c)),h&&(d=e.dataItems.indexOf(h)+1),e.setPrivate("startIndex",f),e.setPrivate("endIndex",d);let p=!1;for(let g=f;g<d;g++){const b=e.dataItems[g];if(I(e.__valueXShowFields,m=>{b.get(m)!=null&&(p=!0)}),I(e.__valueYShowFields,m=>{b.get(m)!=null&&(p=!0)}),p)break}e.setPrivate("outOfSelection",!p)}e._markDirtyAxes()}})}_prepareAxisItems(){var e;const t=this.get("renderer"),i=this.dataItems.length;let r=this.startIndex();r>0&&r--;let n=this.endIndex();n<i&&n++;const a=t.get("minorLabelsEnabled"),o=t.get("minorGridEnabled",a);let l=t.axisLength()/Math.max(t.get("minGridDistance"),1),u=Math.max(1,Math.min(i,Math.ceil((n-r)/l)));r=Math.floor(r/u)*u,this._frequency=u;for(let h=0;h<i;h++)this._toggleDataItem(this.dataItems[h],!1);let c=this.dataItems[r].get("index",0);for(let h=r;h<n;h=h+u){let f=this.dataItems[h];this._createAssets(f,[]),this._toggleDataItem(f,!0);let d=u;o&&(d=1),this._prepareDataItem(f,c,d),c++}if(t.get("minorGridEnabled"))for(let h=r;h<n;h++){let f=this.dataItems[h];h%u!=0&&(this._createAssets(f,["minor"],!0),this._toggleDataItem(f,!0),this._prepareDataItem(f,0,1),a||(e=f.get("label"))===null||e===void 0||e.setPrivate("visible",!1))}this._updateGhost()}
42_prepareDataItem(e,t,i){let r=this.get("renderer"),n=e.get("categoryLocation",0),a=e.get("endCategoryLocation",1),o=e.get("index");F(o)||(o=this.categoryToIndex(e.get("category")));let l=this.indexToPosition(o,n),u=e.get("endCategory"),c;u?(c=this.categoryToIndex(u),F(c)||(c=o)):c=o;let h=this.indexToPosition(c,a),f,d;e.get("isRange")?f=c:f=o+this._frequency-1,d=this.indexToPosition(f,a),r.updateLabel(e.get("label"),l,h,i),r.updateGrid(e.get("grid"),l,h),r.updateTick(e.get("tick"),l,h,i),r.updateFill(e.get("axisFill"),l,d),this._processBullet(e),r.updateBullet(e.get("bullet"),l,h);const p=this.get("fillRule");p&&p(e,t)}startIndex(){let e=this.dataItems.length;return Math.min(Math.max(this.getPrivate("startIndex",0),0),e-1)}endIndex(){let e=this.dataItems.length;return Math.max(1,Math.min(this.getPrivate("endIndex",e),e))}baseValue(){}basePosition(){return 0}getX(e){let t=this._itemMap[e];return t?this._settings.renderer.positionToCoordinate(this.indexToPosition(t.get("index",0))):NaN}getY(e){let t=this._itemMap[e];return t?this._settings.renderer.positionToCoordinate(this.indexToPosition(t.get("index",0))):NaN}getDataItemPositionX(e,t,i,r){const n=e.get(t),a=this._itemMap[n];return a?this.indexToPosition(a.get("index",0),i):NaN}getDataItemCoordinateX(e,t,i,r){return this._settings.renderer.positionToCoordinate(this.getDataItemPositionX(e,t,i,r))}getDataItemPositionY(e,t,i,r){const n=e.get(t),a=this._itemMap[n];return a?this.indexToPosition(a.get("index",0),i):NaN}getDataItemCoordinateY(e,t,i,r){return this._settings.renderer.positionToCoordinate(this.getDataItemPositionY(e,t,i,r))}indexToPosition(e,t){F(t)||(t=.5);let i=this.dataItems.length,r=this.get("startLocation",0),n=this.get("endLocation",1);i-=r,i-=1-n;let a=(e+t-r)/i,o=this.dataItems[e];return o&&(a+=o.get("deltaPosition",0)),a}categoryToPosition(e){let t=this._itemMap[e];return t?this.indexToPosition(t.get("index")):NaN}categoryToIndex(e){let t=this._itemMap[e];return t?t.get("index"):NaN}dataItemToPosition(e){return this.indexToPosition(e.get("index"))}roundAxisPosition(e,t){return e+=(.5-t)/this.dataItems.length,this.indexToPosition(this.axisPositionToIndex(e),t)}axisPositionToIndex(e){let t=this.dataItems.length;return Ae(Math.floor(e*t),0,t-1)}getTooltipText(e,t){const i=this.dataItems[this.axisPositionToIndex(e)];if(i){const r=i.get("label");if(r)return cr(r,this.get("tooltipText",""))}}_updateTooltipText(e,t){e._setDataItem(this.dataItems[this.axisPositionToIndex(t)]),e.label.text.markDirtyText()}getSeriesItem(e,t){if(this.dataItems.length>0){let i=this.getPrivate("name")+this.get("renderer").getPrivate("letter"),r=this.axisPositionToIndex(t),n=e.dataItems[r],a=this.dataItems[r],o=a.get("category");if(n&&a&&n.get(i)===o)return n;for(let l=0,u=e.dataItems.length;l<u;l++){let c=e.dataItems[l];if(c.get(i)===o)return c}}}zoomToIndexes(e,t,i){let r=this.dataItems.length;this.zoom(e/r,t/r,i)}zoomToCategories(e,t,i){this.zoomToIndexes(this.categoryToIndex(e),this.categoryToIndex(t)+1,i)}getCellWidthPosition(){return this._frequency/this.dataItems.length/(this.get("end",1)-this.get("start",0))}nextPosition(e){e==null&&(e=1),this.get("renderer").getPrivate("letter")=="Y"&&(e*=-1);const t=this.getPrivate("tooltipPosition",0),i=Ae(this.axisPositionToIndex(t)+e,0,this.dataItems.length-1);return this.toGlobalPosition(this.indexToPosition(i))}}Object.defineProperty(li,"className",{enumerable:!0,configurable:!0,writable:!0,value:"CategoryAxis"});Object.defineProperty(li,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Yi.classNames.concat([li.className])});class ha extends Ct{constructor(){super(...arguments),Object.defineProperty(this,"_tickPoints",{enumerable:!0,configurable:!0,writable:!0,value:[]})}}Object.defineProperty(ha,"className",{enumerable:!0,configurable:!0,writable:!0,value:"AxisLabel"});Object.defineProperty(ha,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Ct.classNames.concat([ha.className])});class da extends hr{constructor(){super(...arguments),Object.defineProperty(this,"_tickPoints",{enumerable:!0,configurable:!0,writable:!0,value:[]})}}Object.defineProperty(da,"className",{enumerable:!0,configurable:!0,writable:!0,value:"AxisTick"});Object.defineProperty(da,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:hr.classNames.c
42oncat([da.className])});class Xi extends me{constructor(){super(...arguments),Object.defineProperty(this,"_axisLength",{enumerable:!0,configurable:!0,writable:!0,value:100}),Object.defineProperty(this,"_start",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_end",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_inversed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"_minSize",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"chart",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_lc",{enumerable:!0,configurable:!0,writable:!0,value:1}),Object.defineProperty(this,"_ls",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_thumbDownPoint",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downStart",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_downEnd",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>da._new(this._root,{themeTags:ue(this.ticks.template.get("themeTags",[]),this.get("themeTags",[]))},[this.ticks.template])))}),Object.defineProperty(this,"grid",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>mr._new(this._root,{themeTags:ue(this.grid.template.get("themeTags",[]),this.get("themeTags",[]))},[this.grid.template])))}),Object.defineProperty(this,"axisFills",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>me._new(this._root,{themeTags:ue(this.axisFills.template.get("themeTags",["axis","fill"]),this.get("themeTags",[]))},[this.axisFills.template])))}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>ha._new(this._root,{themeTags:ue(this.labels.template.get("themeTags",[]),this.get("themeTags",[]))},[this.labels.template])))}),Object.defineProperty(this,"axis",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:void 0})}makeTick(e,t){const i=this.ticks.make();return i._setDataItem(e),e.setRaw("tick",i),i.set("themeTags",ue(i.get("themeTags"),t)),this.axis.labelsContainer.children.push(i),this.ticks.push(i),i}makeGrid(e,t){const i=this.grid.make();return i._setDataItem(e),e.setRaw("grid",i),i.set("themeTags",ue(i.get("themeTags"),t)),this.axis.gridContainer.children.push(i),this.grid.push(i),i}makeAxisFill(e,t){const i=this.axisFills.make();return i._setDataItem(e),i.set("themeTags",ue(i.get("themeTags"),t)),this.axis.gridContainer.children.push(i),e.setRaw("axisFill",i),this.axisFills.push(i),i}makeLabel(e,t){const i=this.labels.make();return i.set("themeTags",ue(i.get("themeTags"),t)),this.axis.labelsContainer.children.moveValue(i,0),i._setDataItem(e),e.setRaw("label",i),this.labels.push(i),i}axisLength(){return 0}gridCount(){return this.axisLength()/this.get("minGridDistance",50)}_updatePositions(){}_afterNew(){super._afterNew(),this.set("isMeasured",!1);const e=this.thumb;e&&(this._disposers.push(e.events.on("pointerdown",t=>{this._handleThumbDown(t)})),this._disposers.push(e.events.on("globalpointerup",t=>{this._handleThumbUp(t)})),this._disposers.push(e.events.on("globalpointermove",t=>{this._handleThumbMove(t)})))}_beforeChanged(){super._beforeChanged(),this.isDirty("minGridDistance")&&this.root.events.once("frameended",()=>{this.axis.markDirtySize()})}_changed(){if(super._changed(),this.isDirty("pan")){const e=this.thumb;if(e){const t=this.axis.labelsContainer,i=this.get("pan");i=="zoom"?t.children.push(e):i=="none"&&t.children.removeValue(e)}}}_handleThumbDown(e){this._thumbDownPoint=this.toLocal(e.point);const t=this.axis;this._downStart=t.get("start"),this._downEnd=t.get("end")}_handleThumbUp(e){this._thumbDownPoint=void 0}_handleThumbMove(e){const t=this._thumbDownPoint;if(t){const i=this.toLocal(e.point),r=this._downStart,n=this._downEnd,a=this._getPan(i,t)*Math.min(1,n-r)/2*this.get("panSensitivity",1);this.axis.zoom(r-a,n+a,0)}}_getPan(e,t){return 0}positionToCoordinate(e){return this._inversed?(this._end-e)*this._axisLength:(e-this._start)*this._axisLength}updateTooltipBounds(e){}_updateSize(){this.markDirty(),this._clear=!0}toAxisPosition(e){const t=this._start||0,i=this._end||1;return e=e*(i-t),this.get("inversed")?e=i-e:e=t+e,e}toGlobalPosition(e){const t=this._start||0,i=this._end||1;
42return this.get("inversed")?e=i-e:e=e-t,e=e/(i-t),e}fixPosition(e){return this.get("inversed")?1-e:e}_updateLC(){}toggleVisibility(e,t,i,r){let n=this.axis;const a=n.get("start",0),o=n.get("end",1);let l=a+(o-a)*(i-1e-4),u=a+(o-a)*(r+1e-4);t<l||t>u?e.setPrivate("visible",!1):e.setPrivate("visible",!0)}_positionTooltip(e,t){const i=this.chart;i&&(e.set("pointTo",this._display.toGlobal(t)),i.inPlot(t)||e.hide())}processAxis(){}}Object.defineProperty(Xi,"className",{enumerable:!0,configurable:!0,writable:!0,value:"AxisRenderer"});Object.defineProperty(Xi,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:me.classNames.concat([Xi.className])});class br extends Xi{constructor(){super(...arguments),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:ut.new(this._root,{width:X,isMeasured:!1,themeTags:["axis","x","thumb"]})})}_afterNew(){this._settings.themeTags=ue(this._settings.themeTags,["renderer","x"]),super._afterNew(),this.setPrivateRaw("letter","X");const e=this.grid.template;e.set("height",X),e.set("width",0),e.set("draw",(t,i)=>{t.moveTo(0,0),t.lineTo(0,i.height())}),this.set("draw",(t,i)=>{t.moveTo(0,0),t.lineTo(i.width(),0)})}_changed(){super._changed();const e=this.axis;e.ghostLabel.setPrivate("visible",!this.get("inside")),e.ghostLabel.set("x",-1e3);const t="opposite",i="inside";if(this.isDirty(t)||this.isDirty(i)){const r=this.chart,n=e.children;if(this.get(i)?e.addTag(i):e.removeTag(i),r){if(this.get(t)){const a=r.topAxesContainer.children;a.indexOf(e)==-1&&a.insertIndex(0,e),e.addTag(t),n.moveValue(this)}else{const a=r.bottomAxesContainer.children;a.indexOf(e)==-1&&a.moveValue(e),e.removeTag(t),n.moveValue(this,0)}e.ghostLabel._applyThemes(),this.labels.each(a=>{a._applyThemes()}),this.root._markDirtyRedraw()}e.markDirtySize()}this.thumb.setPrivate("height",e.labelsContainer.height())}_getPan(e,t){return(t.x-e.x)/this.width()}toAxisPosition(e){const t=this._start||0,i=this._end||1;return e-=this._ls,e=e*(i-t)/this._lc,this.get("inversed")?e=i-e:e=t+e,e}toGlobalPosition(e){const t=this._start||0,i=this._end||1;return this.get("inversed")?e=i-e:e=e-t,e=e/(i-t)*this._lc,e+=this._ls,e}_updateLC(){const e=this.axis,t=e.parent;if(t){const i=t.innerWidth();this._lc=this.axisLength()/i,this._ls=(e.x()-t.get("paddingLeft",0))/i}}_updatePositions(){const e=this.axis,t=e.x()-Le(e.get("centerX",0),e.width())-e.parent.get("paddingLeft",0);e.gridContainer.set("x",t),e.topGridContainer.set("x",t),e.bulletsContainer.set("y",this.y());const i=e.chart;if(i){const r=i.plotContainer,n=e.axisHeader;let a=e.get("marginLeft",0),o=e.x()-a;const l=e.parent;l&&(o-=l.get("paddingLeft",0)),n.children.length>0?(a=e.axisHeader.width(),e.set("marginLeft",a+1)):n.set("width",a),n.setAll({x:o,y:-1,height:r.height()+2})}}processAxis(){super.processAxis();const e=this.axis;e.get("width")==null&&e.set("width",X);const t=this._root.verticalLayout;e.set("layout",t),e.labelsContainer.set("width",X),e.axisHeader.setAll({layout:t})}axisLength(){return this.axis.width()}positionToPoint(e){return{x:this.positionToCoordinate(e),y:0}}updateTick(e,t,i,r){if(e){F(t)||(t=0);let n=.5;F(r)&&r>1?n=e.get("multiLocation",n):n=e.get("location",n),F(i)&&i!=t&&(t=t+(i-t)*n),e.set("x",this.positionToCoordinate(t));let a=e.get("length",0);const o=e.get("inside",this.get("inside",!1));this.get("opposite")?(e.set("y",X),o||(a*=-1)):(e.set("y",0),o&&(a*=-1)),e.set("draw",l=>{l.moveTo(0,0),l.lineTo(0,a)}),this.toggleVisibility(e,t,e.get("minPosition",0),e.get("maxPosition",1))}}updateLabel(e,t,i,r){if(e){let n=.5;F(r)&&r>1?n=e.get("multiLocation",n):n=e.get("location",n),F(t)||(t=0);const a=e.get("inside",this.get("inside",!1));this.get("opposite")?a?(e.set("position","absolute"),e.set("y",0)):(e.set("position","relative"),e.set("y",X)):a?(e.set("y",0),e.set("position","absolute")):(e.set("y",void 0),e.set("position","relative")),F(i)&&i!=t&&(t=t+(i-t)*n),e.set("x",this.positionToCoordinate(t)),this.toggleVisibility(e,t,e.get("minPosition",0),e.get("maxPosition",1))}}updateGrid(e,t,i){if(e){F(t)||(t=0);let r=e.get("location",.5);F(i)&&i!=t&&(t=t+(i-t)*r),e.set("x",this.positionToCoordinate(t)),this.toggleVisibility(e,t,0,1)}}updateBullet(e,t,i){if(e){const r=e.get("sprite");if(r){F(t)||(t=0);let n=e.get("location",.5);F(i)&&i!=t&&(t=t+(i-t)*n);let a=this.axis.roundAxisPosition(t,n),o=this.axis._bullets[a],l=-1;if(this.get("opposite")&&(l=1),e.get("stacked"))if(o){let u=o.get("sprite");u&&r.set("y",u.y()+u.height()*l)}else r.set("y",0);this.axis._bullets[a]=e,r.set("x",this.positionToCoordinate(t)),this.toggleVisibility(r,t,0,1)}}}updateFill(e,t,i){if(e){F(t)||(t=0),F(i)||(i=1);let r=this.positionToCoordinate(t),n=this.positionToCoordinate(i);this.fillDrawMethod(e,r,n)}}fillDrawMethod(e,t,i){e.set("draw",r=>{const n=this.axis.gridContainer.height(),a=this.width();i<t&&([i,t]=[t,i]),!(t>a||i<0)&&(r.moveTo(t,0),r.lineTo(i,0),r.lineTo(i,n),r.lineTo(t,n),r.lineTo(t,0))})}positionTooltip(e,t){this._positionTooltip(e,{x:this.positionToCoordinate(t),y:0})}updateTooltipBounds(e){const t=this.get("inside"),i=1e5;let r=this._display.toGlobal({x:0,y:0}),n=r.x,a=0,o=this.axisLength(),l=i,u="up";this.get("opposite")?t?(u="up",a=r.y,l=i):(u="down",a=r.y-i,l=i):t?(u="down",a=r.y-i,l=i):(u="up",a=r.y,l=i);const c={left:n,right:n+o,top:a,bottom:a+l},h=e.get("bounds");jo(c,h)||(e.set("bounds",c),e.set("pointerOrientation",u))}}Object.defineProperty(br,"className",{enumerable:!0,configurable:!0,writable:!0,value:"AxisRendererX"});Object.defineProperty(br,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Xi.classNames.c
42oncat([br.className])});class _r extends Xi{constructor(){super(...arguments),Object.defineProperty(this,"_downY",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"thumb",{enumerable:!0,configurable:!0,writable:!0,value:ut.new(this._root,{height:X,isMeasured:!1,themeTags:["axis","y","thumb"]})})}_afterNew(){this._settings.themeTags=ue(this._settings.themeTags,["renderer","y"]),this._settings.opposite&&this._settings.themeTags.push("opposite"),super._afterNew(),this.setPrivateRaw("letter","Y");const e=this.grid.template;e.set("width",X),e.set("height",0),e.set("draw",(t,i)=>{t.moveTo(0,0),t.lineTo(i.width(),0)}),this.set("draw",(t,i)=>{t.moveTo(0,0),t.lineTo(0,i.height())})}_getPan(e,t){return(e.y-t.y)/this.height()}_changed(){super._changed();const e=this.axis;e.ghostLabel.setPrivate("visible",!this.get("inside")),e.ghostLabel.set("y",-1e3);const t=this.thumb,i="opposite",r="inside",n=this.chart;if(this.isDirty(i)||this.isDirty(r)){const o=e.children;if(this.get(r)?e.addTag(r):e.removeTag(r),n){if(this.get(i)){const l=n.rightAxesContainer.children;l.indexOf(e)==-1&&l.moveValue(e,0),e.addTag(i),o.moveValue(this,0)}else{const l=n.leftAxesContainer.children;l.indexOf(e)==-1&&l.moveValue(e),e.removeTag(i),o.moveValue(this)}e.ghostLabel._applyThemes(),this.labels.each(l=>{l._applyThemes()}),this.root._markDirtyRedraw()}e.markDirtySize()}const a=e.labelsContainer.width();n&&(this.get(i)?t.set("centerX",0):t.set("centerX",a)),t.setPrivate("width",a)}processAxis(){super.processAxis();const e=this.axis;e.get("height")==null&&e.set("height",X);const t=this._root.horizontalLayout;e.set("layout",t),e.labelsContainer.set("height",X),e.axisHeader.set("layout",t)}_updatePositions(){const e=this.axis,t=e.y()-Le(e.get("centerY",0),e.height());e.gridContainer.set("y",t),e.topGridContainer.set("y",t),e.bulletsContainer.set("x",this.x());const i=e.chart;if(i){const r=i.plotContainer,n=e.axisHeader;let a=e.get("marginTop",0);n.children.length>0?(a=e.axisHeader.height(),e.set("marginTop",a+1)):n.set("height",a),n.setAll({y:e.y()-a,x:-1,width:r.width()+2})}}axisLength(){return this.axis.innerHeight()}positionToPoint(e){return{x:0,y:this.positionToCoordinate(e)}}updateLabel(e,t,i,r){if(e){F(t)||(t=0);let n=.5;F(r)&&r>1?n=e.get("multiLocation",n):n=e.get("location",n);const a=this.get("opposite"),o=e.get("inside",this.get("inside",!1));a?(e.set("x",0),o?e.set("position","absolute"):e.set("position","relative")):o?(e.set("x",0),e.set("position","absolute")):(e.set("x",void 0),e.set("position","relative")),F(i)&&i!=t&&(t=t+(i-t)*n),e.set("y",this.positionToCoordinate(t)),this.toggleVisibility(e,t,e.get("minPosition",0),e.get("maxPosition",1))}}updateGrid(e,t,i){if(e){F(t)||(t=0);let r=e.get("location",.5);F(i)&&i!=t&&(t=t+(i-t)*r),e.set("y",this.positionToCoordinate(t)),this.toggleVisibility(e,t,0,1)}}updateTick(e,t,i,r){if(e){F(t)||(t=0);let n=.5;F(r)&&r>1?n=e.get("multiLocation",n):n=e.get("location",n),F(i)&&i!=t&&(t=t+(i-t)*n),e.set("y",this.positionToCoordinate(t));let a=e.get("length",0);const o=e.get("inside",this.get("inside",!1));this.get("opposite")?(e.set("x",0),o&&(a*=-1)):o||(a*=-1),e.set("draw",l=>{l.moveTo(0,0),l.lineTo(a,0)}),this.toggleVisibility(e,t,e.get("minPosition",0),e.get("maxPosition",1))}}updateBullet(e,t,i){if(e){const r=e.get("sprite");if(r){F(t)||(t=0);let n=e.get("location",.5);F(i)&&i!=t&&(t=t+(i-t)*n);let a=this.axis.roundAxisPosition(t,n),o=this.axis._bullets[a],l=1;if(this.get("opposite")&&(l=-1),e.get("stacked"))if(o){let u=o.get("sprite");u&&r.set("x",u.x()+u.width()*l)}else r.set("x",0);this.axis._bullets[a]=e,r.set("y",this.positionToCoordinate(t)),this.toggleVisibility(r,t,0,1)}}}updateFill(e,t,i){if(e){F(t)||(t=0),F(i)||(i=1);let r=this.positionToCoordinate(t),n=this.positionToCoordinate(i);this.fillDrawMethod(e,r,n)}}fillDrawMethod(e,t,i){e.set("draw",r=>{const n=this.axis.gridContainer.width(),a=this.height();i<t&&([i,t]=[t,i]),!(t>a||i<0)&&(r.moveTo(0,t),r.lineTo(n,t),r.lineTo(n,i),r.lineTo(0,i),r.lineTo(0,t))})}positionToCoordinate(e){return this._inversed?(e-this._start)*this._axisLength:(this._end-e)*this._axisLength}positionTooltip(e,t){this._positionTooltip(e,{x:0,y:this.positionToCoordinate(t)})}updateTooltipBounds(e){const t=this.get("inside"),i=1e5;let r=this._display.toGlobal({x:0,y:0}),n=r.y,a=0,o=this.axisLength(),l=i,u="right";this.get("opposite")?t?(u="right",a=r.x-i,l=i):(u="left",a=r.x,l=i):t?(u="left",a=r.x,l=i):(u="right",a=r.x-i,l=i);const c={left:a,right:a+l,top:n,bottom:n+o},h=e.get("bounds");jo(c,h)||(e.set("bounds",c),e.set("pointerOrientation",u))}_updateLC(){const e=this.axis,t=e.parent;
42if(t){const i=t.innerHeight();this._lc=this.axisLength()/i,this._ls=e.y()/i}}toAxisPosition(e){const t=this._start||0,i=this._end||1;return e-=this._ls,e=e*(i-t)/this._lc,this.get("inversed")?e=t+e:e=i-e,e}toGlobalPosition(e){const t=this._start||0,i=this._end||1;return this.get("inversed")?e=e-t:e=i-e,e=e/(i-t)*this._lc,e+=this._ls,e}fixPosition(e){return this.get("inversed")?e:1-e}}Object.defineProperty(_r,"className",{enumerable:!0,configurable:!0,writable:!0,value:"AxisRendererY"});Object.defineProperty(_r,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Xi.classNames.concat([_r.className])});class hn extends Vi{constructor(){super(...arguments),Object.defineProperty(this,"columns",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>si._new(this._root,{position:"absolute",themeTags:ue(this.columns.template.get("themeTags",[]),["series","column"])},[this.columns.template])))})}makeColumn(e,t){const i=this.mainContainer.children.push(t.make());return i._setDataItem(e),t.push(i),i}_processAxisRange(e){super._processAxisRange(e),e.columns=new He(Pe.new({}),()=>si._new(this._root,{position:"absolute",themeTags:ue(e.columns.template.get("themeTags",[]),["series","column"])},[this.columns.template,e.columns.template]))}}Object.defineProperty(hn,"className",{enumerable:!0,configurable:!0,writable:!0,value:"ColumnSeries"});Object.defineProperty(hn,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Vi.classNames.concat([hn.className])});class fa extends $i{constructor(){super(...arguments),Object.defineProperty(this,"_endIndex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_strokeGenerator",{enumerable:!0,configurable:!0,writable:!0,value:Q1()}),Object.defineProperty(this,"_fillGenerator",{enumerable:!0,configurable:!0,writable:!0,value:xf()}),Object.defineProperty(this,"_legendStroke",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_legendFill",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"strokes",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>me._new(this._root,{themeTags:ue(this.strokes.template.get("themeTags",[]),["line","series","stroke"])},[this.strokes.template])))}),Object.defineProperty(this,"fills",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(new He(Pe.new({}),()=>me._new(this._root,{themeTags:ue(this.strokes.template.get("themeTags",[]),["line","series","fill"])},[this.fills.template])))}),Object.defineProperty(this,"_fillTemplate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_strokeTemplate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_previousPoint",{enumerable:!0,configurable:!0,writable:!0,value:[0,0,0,0]}),Object.defineProperty(this,"_dindex",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"_sindex",{enumerable:!0,configurable:!0,writable:!0,value:0})}_afterNew(){this._fillGenerator.y0(function(e){return e[3]}),this._fillGenerator.x0(function(e){return e[2]}),this._fillGenerator.y1(function(e){return e[1]}),this._fillGenerator.x1(function(e){return e[0]}),super._afterNew()}makeStroke(e){const t=this.mainContainer.children.push(e.make());return e.push(t),t}makeFill(e){const t=this.mainContainer.children.push(e.make());return e.push(t),t}_updateChildren(){this._strokeTemplate=void 0,this._fillTemplate=void 0;let e=this.get("xAxis"),t=this.get("yAxis");if(this.isDirty("stroke")){const i=this.get("stroke");this.strokes.template.set("stroke",i);const r=this._legendStroke;r&&r.states.lookup("default").set("stroke",i)}if(this.isDirty("fill")){const i=this.get("fill");this.fills.template.set("fill",i);const r=this._legendFill;r&&r.states.lookup("default").set("fill",i)}if(this.isDirty("fillPattern")){const i=this.get("fillPattern");this.fills.template.set("fillPattern",i);const r=this._legendFill;r&&r.states.lookup("default").set("fillPattern",i)}if(this.isDirty("curveFactory")){const i=this.get("curveFactory");i&&(this._strokeGenerator.curve(i),this._fillGenerator.curve(i))}
42if(e.inited&&t.inited){if(this._axesDirty||this._valuesDirty||this._stackDirty||this.isDirty("vcx")||this.isDirty("vcy")||this._sizeDirty||this.isDirty("connect")||this.isDirty("curveFactory")){this.fills.each(c=>{c.setPrivate("visible",!1)}),this.strokes.each(c=>{c.setPrivate("visible",!1)}),this.axisRanges.each(c=>{let h=c.fills;h&&h.each(d=>{d.setPrivate("visible",!1)});let f=c.strokes;f&&f.each(d=>{d.setPrivate("visible",!1)})});let i=this.startIndex(),r=this.strokes.template.get("templateField"),n=this.fills.template.get("templateField"),a=!0,o=!0;r&&(a=!1),n&&(o=!1);for(let c=i-1;c>=0;c--){let h=this.dataItems[c],f=!0,d=h.dataContext;if(r&&d[r]&&(a=!0),n&&d[n]&&(o=!0),I(this._valueFields,p=>{F(h.get(p))||(f=!1)}),f&&a&&o){i=c;break}}let l=this.dataItems.length,u=this.endIndex();if(u<l){u++;for(let c=u;c<l;c++){let h=this.dataItems[c],f=!0;if(I(this._valueFields,d=>{F(h.get(d))||(f=!1)}),f){u=c+1;break}}}if(i>0&&i--,this._endIndex=u,this._clearGraphics(),this._sindex=0,this._dindex=i,this.dataItems.length==1)this._startSegment(0);else for(;this._dindex<u-1;)this._startSegment(this._dindex),this._sindex++}}else this._skipped=!0;super._updateChildren()}_clearGraphics(){this.strokes.clear(),this.fills.clear(),this.axisRanges.each(e=>{e.fills.clear(),e.strokes.clear()})}_startSegment(e){let t=this._endIndex,i=t;const r=this.get("autoGapCount"),n=this.get("connect"),a=this.makeFill(this.fills),o=this._fillTemplate,l=this.fills.template;o&&o!=l&&(a.template=o),a.setPrivate("visible",!0);const u=this.makeStroke(this.strokes),c=this._strokeTemplate;c&&c!=this.strokes.template&&(u.template=c),u.setPrivate("visible",!0);let h=this.get("xAxis"),f=this.get("yAxis"),d=this.get("baseAxis"),p=this.get("vcx",1),g=this.get("vcy",1),b=this._xField,m=this._yField,v=this._xOpenField,x=this._yOpenField;const w=this.get("openValueXField"),P=this.get("openValueYField");w||(v=this._xField),P||(x=this._yField);const T=this.get("stacked"),O=h.basePosition(),L=f.basePosition();let S;d===f?S=this._yField:S=this._xField;const B=[];let C=[];B.push(C);const $=this.strokes.template.get("templateField"),A=this.fills.template.get("templateField");let N=this.get("locationX",.5),z=this.get("locationY",.5),te=this.get("openLocationX",N),Y=this.get("openLocationY",z);const Q=this.get("minDistance",0);let Z,pe=this.fills.template.get("visible");this.axisRanges.length>0&&(pe=!0);let Se=!1;(T||w||P)&&(Se=!0);const ve={points:C,segments:B,stacked:T,getOpen:Se,basePosX:O,basePosY:L,fillVisible:pe,xField:b,yField:m,xOpenField:v,yOpenField:x,vcx:p,vcy:g,baseAxis:d,xAxis:h,yAxis:f,locationX:N,locationY:z,openLocationX:te,openLocationY:Y,minDistance:Q};let we=this._strokeTemplate,Ve=this._fillTemplate;for(Z=e;Z<i;Z++){this._dindex=Z;const be=this._dataItems[Z];let it=be.get(b),ci=be.get(m);if(it==null||ci==null?n||(C=[],B.push(C),ve.points=C):this._getPoints(be,ve),$){let xe=be.dataContext[$];if(xe)if(xe instanceof Pe||(xe=Pe.new(xe)),this._strokeTemplate=xe,Z>e){i=Z;break}else we=xe,u.template=xe}if(A){let xe=be.dataContext[A];if(xe)if(xe instanceof Pe||(xe=Pe.new(xe)),this._fillTemplate=xe,Z>e){i=Z;break}else Ve=xe,a.template=xe}if(!n){let xe=this.dataItems[Z+1];xe&&d.shouldGap(be,xe,r,S)&&(C=[],B.push(C),ve.points=C)}}a.setRaw("userData",[e,Z]),u.setRaw("userData",[e,Z]),Z===t&&this._endLine(C,B[0][0]),u&&this._drawStroke(u,B),a&&this._drawFill(a,B),this.axisRanges.each(be=>{const it=be.container,ci=be.fills,xe=this.makeFill(ci);it&&it.children.push(xe),xe.setPrivate("visible",!0),this._drawFill(xe,B);const Pr=be.strokes,hi=this.makeStroke(Pr);it&&it.children.push(hi),we&&we!=this.strokes.template&&(hi.template=we),Ve&&Ve!=this.fills.template&&(xe.template=Ve),hi.setPrivate("visible",!0),this._drawStroke(hi,B),xe.setRaw("userData",[e,Z]),hi.setRaw("userData",[e,Z])})}_getPoints(e,t){let i=t.points,r=e.get("locationX",t.locationX),n=e.get("locationY",t.locationY);const a=this.get("exactLocationX",!1),o=this.get("exactLocationY",!1);let l=t.xAxis.getDataItemPositionX(e,t.xField,r,t.vcx,a),u=t.yAxis.getDataItemPositionY(e,t.yField,n,t.vcy,o);if(this._shouldInclude(l)){const c=this.getPoint(l,u),h=[c.x,c.y];if(c.x+=this._x,c.y+=this._y,e.set("point",c),t.fillVisible){let f=l,d=u;if(t.baseAxis===t.xAxis?d=t.basePosY:t.baseAxis===t.yAxis&&(f=t.basePosX),t.getOpen){let g=e.get(t.xOpenField),b=e.get(t.yOpenField);if(g!=null&&b!=null){let m=e.get("openLocationX",t.openLocationX),v=e.get("openLocationY",t.openLocationY);if(t.stacked){let x=e.get("stackToItemX"),w=e.get("stackToItemY");x?(f=t.xAxis.getDataItemPositionX(x,t.xField,m,x.component.get("vcx"),a),Xt(f)&&(f=t.basePosX)):t.yAxis===t.baseAxis?f=t.basePosX:f=t.xAxis.getDataItemPositionX(e,t.xOpenField,m,t.vcx,a),w?(d=t.yAxis.getDataItemPositionY(w,t.yField,v,w.component.get("vcy"),o),Xt(d)&&
42(d=t.basePosY)):t.xAxis===t.baseAxis?d=t.basePosY:d=t.yAxis.getDataItemPositionY(e,t.yOpenField,v,t.vcy,o)}else f=t.xAxis.getDataItemPositionX(e,t.xOpenField,m,t.vcx,a),d=t.yAxis.getDataItemPositionY(e,t.yOpenField,v,t.vcy,o)}}let p=this.getPoint(f,d);h[2]=p.x,h[3]=p.y}if(t.minDistance>0){const f=h[0],d=h[1],p=h[2],g=h[3],b=this._previousPoint,m=b[0],v=b[1],x=b[2],w=b[3];(Math.hypot(f-m,d-v)>t.minDistance||p&&g&&Math.hypot(p-x,g-w)>t.minDistance)&&(i.push(h),this._previousPoint=h)}else i.push(h)}}_endLine(e,t){}_drawStroke(e,t){e.get("visible")&&!e.get("forceHidden")&&e.set("draw",i=>{I(t,r=>{this._strokeGenerator.context(i),this._strokeGenerator(r)})})}_drawFill(e,t){e.get("visible")&&!e.get("forceHidden")&&e.set("draw",i=>{I(t,r=>{this._fillGenerator.context(i),this._fillGenerator(r)})})}_processAxisRange(e){super._processAxisRange(e),e.fills=new He(Pe.new({}),()=>me._new(this._root,{themeTags:ue(e.fills.template.get("themeTags",[]),["line","series","fill"])},[this.fills.template,e.fills.template])),e.strokes=new He(Pe.new({}),()=>me._new(this._root,{themeTags:ue(e.strokes.template.get("themeTags",[]),["line","series","stroke"])},[this.strokes.template,e.strokes.template]))}createLegendMarker(e){const t=this.get("legendDataItem");if(t){const i=t.get("marker"),r=t.get("markerRectangle");r&&r.setPrivate("visible",!1),i.set("background",ut.new(i._root,{fillOpacity:0,fill:U(0)}));const n=i.children.push(me._new(i._root,{themeTags:["line","series","legend","marker","stroke"],interactive:!1},[this.strokes.template]));this._legendStroke=n;const a=i.children.push(me._new(i._root,{themeTags:["line","series","legend","marker","fill"]},[this.fills.template]));this._legendFill=a;const o=this._root.interfaceColors.get("disabled");if(n.states.create("disabled",{fill:o,stroke:o}),a.states.create("disabled",{fill:o,stroke:o}),this.bullets.length>0){const l=this.bullets.getIndex(0);if(l){const u=l(i._root,this,new bi(this,{legend:!0},{}));if(u){const c=u.get("sprite");c instanceof me&&c.states.create("disabled",{fill:o,stroke:o}),c&&(c.setAll({tooltipText:void 0,tooltipHTML:void 0,focusable:void 0,focusableGroup:void 0,ariaLabel:void 0}),i.children.push(c),c.setAll({x:i.width()/2,y:i.height()/2}),i.events.on("boundschanged",()=>{c.setAll({x:i.width()/2,y:i.height()/2})}))}}}}}}Object.defineProperty(fa,"className",{enumerable:!0,configurable:!0,writable:!0,value:"LineSeries"});Object.defineProperty(fa,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:$i.classNames.concat([fa.className])});const N5=G({__name:"BarChart",props:{tableData:{},showLegend:{type:Boolean},singleColor:{type:Boolean}},setup(s){const e=je(),t=je(),i=s;return Ke(()=>{t.value=Ui(e);const r=t.value.container.children.push(pr.new(t.value,{panX:!1,panY:!1,wheelX:"none",wheelY:"none",paddingBottom:i.showLegend?75:0,layout:t.value.verticalLayout}));i.showLegend&&Go(t.value,r);const{tableData:n,tableHeaders:a}=xr(i.tableData),o=Pn(n),l=r.yAxes.push(li.new(t.value,{renderer:_r.new(t.value,{inversed:!0}),categoryField:"category"}));l.data.setAll(o);const u=r.xAxes.push(Hi.new(t.value,{renderer:br.new(t.value,{})}));a.forEach((c,h)=>{var g,b;if(!t.value)return;const f=r.series.push(hn.new(t.value,{name:c,xAxis:u,yAxis:l,valueXField:`value${h+1}`,categoryYField:"category",tooltip:Yt.new(t.value,{})})),d=["#77caf0","#67b8dc","#5eabce","#58a2c4","#4a8faf","#3e7f9d","#316a84","#285d75","#285d75","#1f4f65","#163e50"];let p=U(d[0]);i.singleColor||(p=d.map(m=>U(m))),Array.isArray(p)?(b=(g=f.chart)==null?void 0:g.get("colors"))==null||b.set("colors",p):(f.set("fill",p),f.set("stroke",p)),f.columns.template.set("tooltipText",`[bold]{name}[/]
43{valueX}]`),f.data.setAll(o)})}),(r,n)=>(y(),E("div",{ref_key:"chartDiv",ref:e,class:"bar-chart"},null,512))}}),$5=G({__name:"ColumnChart",props:{tableData:{},showLegend:{type:Boolean},singleColor:{type:Boolean}},setup(s){const e=je(),t=je(),i=s;return Ke(()=>{t.value=Ui(e);const r=t.value.container.children.push(pr.new(t.value,{panX:!1,panY:!1,wheelX:"none",wheelY:"none",paddingBottom:i.showLegend?75:0,layout:t.value.verticalLayout}));i.showLegend&&Go(t.value,r);const{tableData:n,tableHeaders:a}=xr(i.tableData),o=Pn(n),l=r.yAxes.push(Hi.new(t.value,{renderer:_r.new(t.value,{})})),u=r.xAxes.push(li.new(t.value,{renderer:br.new(t.value,{}),categoryField:"category"}));u.data.setAll(o),a.forEach((c,h)=>{var g,b;if(!t.value)return;const f=r.series.push(hn.new(t.value,{name:c,xAxis:u,yAxis:l,valueYField:`value${h+1}`,categoryXField:"category",tooltip:Yt.new(t.value,{})})),d=["#77caf0","#67b8dc","#5eabce","#58a2c4","#4a8faf","#3e7f9d","#316a84","#285d75","#285d75","#1f4f65","#163e50"];let p=U(d[0]);i.singleColor||(p=d.map(m=>U(m))),Array.isArray(p)?(b=(g=f.chart)==null?void 0:g.get("colors"))==null||b.set("colors",p):(f.set("fill",p),f.set("stroke",p)),f.columns.template.set("tooltipText",`[bold]{name}[/]
44{valueY}]`),f.data.setAll(o)})}),(r,n)=>(y(),E("div",{ref_key:"chartDiv",ref:e,class:"column-chart"},null,512))}});class V5 extends wn{setupDefaultRules(){super.setupDefaultRules();const e=this._root.interfaceColors,t=this.rule.bind(this);t("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:dr.new(this._root,{}),width:X,height:X}),t("PieChart").setAll({radius:We(80),startAngle:-90,endAngle:270}),t("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),t("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}
44),t("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),t("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),t("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),t("Slice",["pie"]).states.create("hover",{scale:1.04}),t("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),t("Tick",["pie"]).setAll({location:1}),t("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),t("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),t("FunnelSlice").setAll({interactive:!0,expandDistance:0}),t("FunnelSlice").states.create("hover",{expandDistance:.15}),t("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:ae}),t("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:ae,rotation:-90}),t("Label",["funnel","vertical"]).setAll({centerY:ae,centerX:0}),t("Tick",["funnel"]).setAll({location:1}),t("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),t("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),t("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),t("PyramidSeries").setAll({valueIs:"area"}),t("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),t("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),t("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),t("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),t("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),t("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:ae}),t("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:ae,rotation:-90}),t("Label",["pyramid","vertical"]).setAll({centerY:ae,centerX:0}),t("Tick",["pyramid"]).setAll({location:1}),t("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),t("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:ae}),t("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:ae,rotation:-90}),t("Label",["pictorial","vertical"]).setAll({centerY:ae,centerX:0}),t("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),t("Tick",["pictorial"]).setAll({location:.5});{const i=t("Graphics",["pictorial","background"]);i.setAll({fillOpacity:.2}),K(i,"fill",e,"alternativeBackground")}}}class dn extends ai{_afterNew(){this._defaultThemes.push(V5.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(e){super._processSeries(e),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}}Object.defineProperty(dn,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentChart"});Object.defineProperty(dn,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:ai.classNames.concat([dn.className])});class fn extends Bt{constructor(){super(...arguments),Object.defineProperty(this,"slicesContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(ie.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"labelsContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(ie.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"ticksContainer",{enumerable:!0,configurable:!0,writable:!0,value:this.children.push(ie.new(this._root,{position:"absolute",isMeasured:!1}))}),Object.defineProperty(this,"_lLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_rLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_hLabels",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"slices",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeSlices())}),Object.defineProperty(this,"labels",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeLabels())}),Object.defineProperty(this,"ticks",{enumerable:!0,configurable:!0,writable:!0,value:this.addDisposer(this._makeTicks())})}
44makeSlice(e){const t=this.slicesContainer.children.push(this.slices.make());return t.on("fill",()=>{this.updateLegendMarker(e)}),t.on("fillPattern",()=>{this.updateLegendMarker(e)}),t.on("stroke",()=>{this.updateLegendMarker(e)}),t._setDataItem(e),e.set("slice",t),this.slices.push(t),t}makeLabel(e){const t=this.labelsContainer.children.push(this.labels.make());return t._setDataItem(e),e.set("label",t),this.labels.push(t),t}_shouldMakeBullet(e){return e.get("value")!=null}makeTick(e){const t=this.ticksContainer.children.push(this.ticks.make());return t._setDataItem(e),e.set("tick",t),this.ticks.push(t),t}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_onDataClear(){const e=this.get("colors");e&&e.reset();const t=this.get("patterns");t&&t.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let e=0,t=0,i=0,r=1/0,n=0;I(this._dataItems,a=>{let o=a.get("valueWorking",0);e+=o,t+=Math.abs(o)}),I(this._dataItems,a=>{let o=a.get("valueWorking",0);o>i&&(i=o),o<r&&(r=o),n++;let l=o/t;t==0&&(l=0),a.setRaw("valuePercentTotal",l*100)}),this.setPrivateRaw("valueLow",r),this.setPrivateRaw("valueHigh",i),this.setPrivateRaw("valueSum",e),this.setPrivateRaw("valueAverage",e/n),this.setPrivateRaw("valueAbsoluteSum",t)}}show(e){const t=Object.create(null,{show:{get:()=>super.show}});return Ne(this,void 0,void 0,function*(){let i=[];i.push(t.show.call(this,e)),i.push(this._sequencedShowHide(!0,e)),yield Promise.all(i)})}hide(e){const t=Object.create(null,{hide:{get:()=>super.hide}});return Ne(this,void 0,void 0,function*(){let i=[];i.push(t.hide.call(this,e)),i.push(this._sequencedShowHide(!1,e)),yield Promise.all(i)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&I(this._dataItems,e=>{e.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&I(this._dataItems,e=>{this.updateLegendValue(e)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),I(this.dataItems,e=>{this._updateTick(e)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(e){if(super.processDataItem(e),e.get("fill")==null){let t=this.get("colors");t&&e.setRaw("fill",t.next())}if(e.get("fillPattern")==null){let t=this.get("patterns");t&&e.setRaw("fillPattern",t.next())}}showDataItem(e,t){const i=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return Ne(this,void 0,void 0,function*(){const r=[i.showDataItem.call(this,e,t)];F(t)||(t=this.get("stateAnimationDuration",0));const n=this.get("stateAnimationEasing");let a=e.get("value");const o=e.animate({key:"valueWorking",to:a,duration:t,easing:n});o&&r.push(o.waitForStop());const l=e.get("tick");l&&r.push(l.show(t));const u=e.get("label");u&&r.push(u.show(t));const c=e.get("slice");c&&r.push(c.show(t)),c.get("active")&&c.states.applyAnimate("active"),yield Promise.all(r)})}hideDataItem(e,t){const i=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return Ne(this,void 0,void 0,function*(){const r=[i.hideDataItem.call(this,e,t)],n=this.states.create("hidden",{});F(t)||(t=n.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));const a=n.get("stateAnimationEasing",this.get("stateAnimationEasing")),o=e.animate({key:"valueWorking",to:0,duration:t,easing:a});o&&r.push(o.waitForStop());const l=e.get("tick");l&&r.push(l.hide(t));const u=e.get("label");u&&r.push(u.hide(t));const c=e.get("slice");c.hideTooltip(),c&&r.push(c.hide(t)),yield Promise.all(r)})}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("label");t&&(this.labels.removeValue(t),t.dispose());let i=e.get("tick");i&&(this.ticks.removeValue(i),i.dispose());let r=e.get("slice");
44r&&(this.slices.removeValue(r),r.dispose())}hoverDataItem(e){const t=e.get("slice");t&&!t.isHidden()&&t.hover()}unhoverDataItem(e){const t=e.get("slice");t&&t.unhover()}updateLegendMarker(e){if(e){const t=e.get("slice");if(t){const i=e.get("legendDataItem");if(i){const r=i.get("markerRectangle");I(io,n=>{t.get(n)!=null&&r.set(n,t.get(n))})}}}}_arrangeDown(e){if(e){let t=this._getNextDown();e.sort((i,r)=>i.y>r.y?1:i.y<r.y?-1:0),I(e,i=>{const r=i.label.adjustedLocalBounds();let n=r.top;i.y+n<t&&(i.y=t-n),i.label.set("y",i.y),t=i.y+r.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(e){if(e){let t=this._getNextUp();e.sort((i,r)=>i.y<r.y?1:i.y>r.y?-1:0),I(e,i=>{const r=i.label.adjustedLocalBounds();let n=r.bottom;i.y+n>t&&(i.y=t-n),i.label.set("y",i.y),t=i.y+r.top})}}_arrangeRight(e){if(e){let t=0;e.sort((i,r)=>i.y>r.y?1:i.y<r.y?-1:0),I(e,i=>{const r=i.label.adjustedLocalBounds();let n=r.left;i.y+n<t&&(i.y=t-n),i.label.set("x",i.y),t=i.y+r.right})}}_arrangeLeft(e){if(e){let t=this.labelsContainer.maxWidth();e.sort((i,r)=>i.y<r.y?1:i.y>r.y?-1:0),I(e,i=>{const r=i.label.adjustedLocalBounds();let n=r.right;i.y+n>t&&(i.y=t-n),i.label.set("x",i.y),t=i.y+r.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(e){}_dispose(){super._dispose();const e=this.chart;e&&e.series.removeValue(this)}}Object.defineProperty(fn,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PercentSeries"});Object.defineProperty(fn,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:Bt.classNames.concat([fn.className])});class gn extends dn{constructor(){super(...arguments),Object.defineProperty(this,"_maxRadius",{enumerable:!0,configurable:!0,writable:!0,value:1})}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:ae,y:ae})}_prepareChildren(){super._prepareChildren();const e=this.chartContainer,t=e.innerWidth(),i=e.innerHeight(),r=this.get("startAngle",0),n=this.get("endAngle",0),a=this.get("innerRadius");let o=eo(0,0,r,n,1);const l=t/(o.right-o.left),u=i/(o.bottom-o.top);let c={left:0,right:0,top:0,bottom:0};if(a instanceof se){let d=a.value,p=Math.min(l,u);d=Math.max(p*d,p-Math.min(i,t))/p,c=eo(0,0,r,n,d),this.setPrivateRaw("irModifyer",d/a.value)}o=r2([o,c]);const h=this._maxRadius;this._maxRadius=Math.min(l,u);const f=Le(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-f*(o.bottom+o.top)/2,dx:-f*(o.right+o.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||h!=this._maxRadius)&&this.series.each(d=>{d._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(d=>{d._markDirtyKey("innerRadius")})}radius(e){let t=Le(this.get("radius",0),this._maxRadius),i=Le(this.get("innerRadius",0),t);if(e){let r=this.series.indexOf(e),n=this.series.length,a=e.get("radius");return a!=null?i+Le(a,t-i):i+(t-i)/n*(r+1)}return t}innerRadius(e){const t=this.radius();let i=Le(this.get("innerRadius",0),t);if(i<0&&(i=t+i),e){let r=this.series.indexOf(e),n=this.series.length,a=e.get("innerRadius");return a!=null?i+Le(a,t-i):i+(t-i)/n*r}return i}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}}Object.defineProperty(gn,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieChart"});Object.defineProperty(gn,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:dn.classNames.concat([gn.className])});class pn extends fn{_makeSlices(){return new He(Pe.new({}),()=>
44Ns._new(this._root,{themeTags:ue(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new He(Pe.new({}),()=>Fs._new(this._root,{themeTags:ue(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new He(Pe.new({}),()=>hr._new(this._root,{themeTags:ue(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(e){super.processDataItem(e);const t=this.makeSlice(e);t.on("scale",()=>{this._updateTick(e)}),t.on("shiftRadius",()=>{this._updateTick(e)}),t.events.on("positionchanged",()=>{this._updateTick(e)});const i=this.makeLabel(e);i.events.on("positionchanged",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{i.markDirty()})}_getNextUp(){const e=this.chart;return e?e._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){const e=this.chart;return e?-e._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();const e=this.chart;if(e){if(this.isDirty("alignLabels")){let t=this.labels.template;if(this.get("alignLabels"))t.set("textType","aligned");else{let i=t.get("textType");(i==null||i=="aligned")&&t.set("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();const t=this.get("startAngle",e.get("startAngle",-90)),r=this.get("endAngle",e.get("endAngle",270))-t;let n=t;const a=e.radius(this);this.setPrivateRaw("radius",a);let o=e.innerRadius(this)*e.getPrivate("irModifyer",1);o<0&&(o=a+o),I(this._dataItems,l=>{this.updateLegendValue(l);let u=r*l.get("valuePercentTotal")/100;const c=l.get("slice");if(c){c.set("radius",a),c.set("innerRadius",o),c.set("startAngle",n),c.set("arc",u);const d=l.get("fill");c._setDefault("fill",d),c._setDefault("stroke",d);const p=l.get("fillPattern");c._setDefault("fillPattern",p)}let h=Fo(n+u/2);const f=l.get("label");if(f&&(f.setPrivate("radius",a),f.setPrivate("innerRadius",o),f.set("labelAngle",h),f.get("textType")=="aligned")){let d=a+f.get("radius",0),p=a*St(h);h>90&&h<=270?(!f.isHidden()&&!f.isHiding()&&this._lLabels.push({label:f,y:p}),d*=-1,d-=this.labelsContainer.get("paddingLeft",0),f.set("centerX",X),f.setPrivateRaw("left",!0)):(!f.isHidden()&&!f.isHiding()&&this._rLabels.push({label:f,y:p}),d+=this.labelsContainer.get("paddingRight",0),f.set("centerX",0),f.setPrivateRaw("left",!1)),f.set("x",d),f.set("y",a*St(h))}n+=u,this._updateTick(l)})}}}_updateTick(e){const t=e.get("tick"),i=e.get("label"),r=e.get("slice"),n=t.get("location",1);if(t&&i&&r){const a=(r.get("shiftRadius",0)+r.get("radius",0))*r.get("scale",1)*n,o=i.get("labelAngle",0),l=Vt(o),u=St(o),c=this.labelsContainer,h=c.get("paddingLeft",0),f=c.get("paddingRight",0);let d=0,p=0;d=i.x(),p=i.y();let g=[];if(d!=0||p!=0){if(i.get("textType")=="circular"){const m=i.radius()-i.get("paddingBottom",0),v=i.get("labelAngle",0);d=m*Vt(v),p=m*St(v)}let b=-f;i.getPrivate("left")&&(b=h),g=[{x:r.x()+a*l,y:r.y()+a*u},{x:d+b,y:p},{x:d,y:p}]}t.set("points",g)}}_positionBullet(e){const t=e.get("sprite");if(t){const r=t.dataItem.get("slice");if(r){const n=r.get("innerRadius",0),a=r.get("radius",0),o=r.get("startAngle",0),l=r.get("arc",0),u=e.get("locationX",.5),c=e.get("locationY",.5),h=o+l*u,f=n+(a-n)*c;t.setAll({x:Vt(h)*f,y:St(h)*f})}}}}Object.defineProperty(pn,"className",{enumerable:!0,configurable:!0,writable:!0,value:"PieSeries"});Object.defineProperty(pn,"classNames",{enumerable:!0,configurable:!0,writable:!0,value:fn.classNames.concat([pn.className])});const Y5=G({__name:"DonutChart",props:{tableData:{},showLegend:{type:Boolean}},setup(s){const e=je(),t=je(),{$isMobile:i}=ri(),r=s;return Ke(()=>{var u;t.value=Ui(e);const n=t.value.container.children.push(gn.new(t.value,{layout:t.value.verticalLayout,radius:We(i?40:90),innerRadius:We(70),paddingBottom:r.showLegend?50:0})),{tableData:a}=xr(r.tableData,{headerRow:!1}),o=Pn(a),l=n.series.push(pn.new(t.value,{name:"Series",valueField:"value1",categoryField:"category"}));if((u=l.get("colors"))==null||u.set("colors",[U("#67b8dc"),U("#f9d400"),U("#83b760"),U("#cc4848"),U("#b9773f"),U("#b6b83f"),U("#448d4d"),U("#2f4175"),U("#cd82ad"),U("#7e6c92"),U("#f9dccf"),U("#c9689d"),U("#3668be"),U("#88a223"),U("#95e465"),U("#f6ce9e"),U("#a16a5b"),U("#c9efbd"),U("#254c5a"),U("#bacf21")]),l.labels.template.setAll({fontSize:i?12:14,maxWidth:150,oversizedBehavior:"wrap"}
44),l.data.setAll(o),r.showLegend){const c=n.children.push(ji.new(t.value,{}));c.data.setAll(l.dataItems),c.labels.template.setAll({fontSize:i?12:14}),c.valueLabels.template.setAll({fontSize:i?12:14})}}),(n,a)=>(y(),E("div",{ref_key:"chartDiv",ref:e,class:"donut-chart"},null,512))}}),H5=G({__name:"LineChart",props:{tableData:{},showLegend:{type:Boolean}},setup(s){const e=je(),t=je(),i=s;return Ke(()=>{var c;t.value=Ui(e);const r=t.value.container.children.push(pr.new(t.value,{panY:!1,wheelX:"none",wheelY:"none",layout:t.value.verticalLayout,maxTooltipDistance:0,paddingBottom:i.showLegend?75:0}));(c=r.get("colors"))==null||c.set("colors",[U("#77caf0"),U("#67b8dc"),U("#5eabce"),U("#58a2c4"),U("#4a8faf"),U("#3e7f9d"),U("#316a84"),U("#285d75"),U("#285d75"),U("#1f4f65"),U("#163e50"),U("#77caf0"),U("#67b8dc"),U("#5eabce"),U("#58a2c4"),U("#4a8faf"),U("#3e7f9d"),U("#316a84"),U("#285d75"),U("#285d75"),U("#1f4f65"),U("#163e50")]);const{tableData:n,tableHeaders:a}=xr(i.tableData),o=Pn(n),l=r.yAxes.push(Hi.new(t.value,{extraTooltipPrecision:1,renderer:_r.new(t.value,{}),tooltip:Yt.new(t.value,{themeTags:["axis"]})})),u=r.xAxes.push(li.new(t.value,{renderer:br.new(t.value,{}),categoryField:"category",tooltip:Yt.new(t.value,{themeTags:["axis"]})}));u.data.setAll(o),a.forEach((h,f)=>{var p;if(!t.value)return;const d=r.series.push(fa.new(t.value,{name:h,xAxis:u,yAxis:l,valueYField:`value${f+1}`,categoryXField:"category",tooltip:Yt.new(t.value,{})}));(p=d.get("tooltip"))==null||p.label.set("text",`[bold]{name}[/]
45{valueY}]`),d.data.setAll(o),r.set("cursor",ca.new(t.value,{xAxis:u}))}),i.showLegend&&Go(t.value,r)}),(r,n)=>(y(),E("div",{ref_key:"chartDiv",ref:e,class:"line-chart"},null,512))}}),X5=G({__name:"PieChart",props:{tableData:{},showLegend:{type:Boolean}},setup(s){const e=je(),t=je(),{$isMobile:i}=ri(),r=s;return Ke(()=>{var u;t.value=Ui(e);const n=t.value.container.children.push(gn.new(t.value,{layout:t.value.verticalLayout,paddingBottom:r.showLegend?50:0})),{tableData:a}=xr(r.tableData,{headerRow:!1}),o=Pn(a),l=n.series.push(pn.new(t.value,{name:"Series",valueField:"value1",categoryField:"category",layout:t.value.verticalLayout,radius:We(i?50:90)}));if((u=l.get("colors"))==null||u.set("colors",[U("#67b8dc"),U("#f9d400"),U("#83b760"),U("#cc4848"),U("#b9773f"),U("#b6b83f"),U("#448d4d"),U("#2f4175"),U("#cd82ad"),U("#7e6c92"),U("#f9dccf"),U("#c9689d"),U("#3668be"),U("#88a223"),U("#95e465"),U("#f6ce9e"),U("#a16a5b"),U("#c9efbd"),U("#254c5a"),U("#bacf21")]),l.labels.template.setAll({fontSize:i?12:14,maxWidth:150,oversizedBehavior:"wrap"}),l.data.setAll(o),r.showLegend){const c=n.children.push(ji.new(t.value,{}));c.data.setAll(l.dataItems),c.labels.template.setAll({fontSize:i?12:14}),c.valueLabels.template.setAll({fontSize:i?12:14})}}),(n,a)=>(y(),E("div",{ref_key:"chartDiv",ref:e,class:"pie-chart"},null,512))}});var Cc=(s=>(s.DEFAULT="Default",s.SERVICES="Services",s.BENEFITS="Benefits",s.FACTS="Facts",s.MAP_EUROPE="MAP_EUROPE",s.MAP_AUSTRIA="MAP_AUSTRIA",s.CHART_COLUMN="CHART_COLUMN",s.CHART_LINE="CHART_LINE",s.CHART_BAR="CHART_BAR",s.CHART_DONUT="CHART_DONUT",s.CHART_PIE="CHART_PIE",s.SIMPLE_COMPARISON="SIMPLE_COMPARISON",s))(Cc||{});const G5={class:"oeamtc-table-wrapper"},Ec=G({__name:"TableWrapper",props:{tableType:{default:Cc.DEFAULT},tableData:{},tableHeader:{type:Boolean,default:!1},tableFooter:{type:Boolean,default:!1},showLegend:{type:Boolean},singleColor:{type:Boolean},mobileUnresponsive:{type:Boolean,default:!1},headlineLevel:{default:"h3"}},setup(s){const e=s,t=M(()=>e.tableData.filter(a=>a.row===0)),i=M(()=>e.tableData[e.tableData.length-1].row),r=M(()=>e.tableData.filter(a=>a.row===i.value)),n=M(()=>{let a=e.tableData;e.tableHeader&&(a=a.filter(l=>l.row!==0)),e.tableFooter&&(a=a.filter(l=>l.row!==i.value));const o=[];return a.forEach(l=>{o[l.row]?o[l.row].push(l):o[l.row]=[l]}),o});return(a,o)=>{const l=d4;return y(),E("div",G5,[a.$slots.headline?(y(),j(_(Je),{key:0,class:"oeamtc-text__line-height--medium","headline-level":s.headlineLevel},{default:k(()=>[re(a.$slots,"headline")]),_:3},8,["headline-level"])):V("",!0),a.$slots.description?(y(),j(_(_n),{key:1,class:"oeamtc-margin--top-smallest"},{default:k(()=>[re(a.$slots,"description")]),_:3})):V("",!0),o[0]||(Ko(-1,!0),(o[0]=["DEFAULT","BENEFITS","FACTS"].includes(s.tableType)?(y(),j(l,{key:2,class:"oeamtc-margin--top-primary","table-header":s.tableHeader,"table-footer":s.tableFooter,"header-data":_(t),"footer-data":_(r),"table-rows":_(n),"mobile-unresponsive":s.mobileUnresponsive},null,8,["table-header","table-footer","header-data","footer-data","table-rows","mobile-unresponsive"])):s.tableType==="SIMPLE_COMPARISON"?(y(),j(g4,{key:3,class:oe({"oeamtc-margin--top-primary":a.$slots.headline||a.$slots.description}),"table-data":s.tableData,"table-header":s.tableHeader,"mobile-unresponsive":s.mobileUnresponsive},null,8,["class","table-data","table-header","mobile-unresponsive"])):s.tableType==="MAP_AUSTRIA"?(y(),j(R5,{key:4,class:"oeamtc-margin--top-primary","table-data":s.tableData,"show-legend":s.showLegend},null,8,["table-data","show-legend"])):s.tableType==="MAP_EUROPE"?(y(),j(B5,{key:5,class:"oeamtc-margin--top-primary","table-data":s.tableData,"show-legend":s.showLegend},null,8,["table-data","show-legend"])):s.tableType==="CHART_BAR"?(y(),j(N5,{key:6,class:"oeamtc-margin--top-primary","table-data":s.tableData,"show-legend":s.showLegend,"single-color":s.singleColor},null,8,["table-data","show-legend","single-color"])):s.tableType==="CHART_COLUMN"?(y(),j($5,{key:7,class:"oeamtc-margin--top-primary","table-data":s.tableData,"show-legend":s.showLegend,"single-color":s.singleColor},null,8,["table-data","show-legend","single-color"])):s.tableType==="CHART_DONUT"?(y(),j(Y5,{key:8,class:"oeamtc-margin--top-primary","table-data":s.tableData,"show-legend":s.showLegend},null,8,["table-data","show-legend"])):s.tableType==="CHART_LINE"?(y(),j(H5,{key:9,class:"oeamtc-margin--top-primary","table-data":s.tableData,"show-legend":s.showLegend},null,8,["table-data","show-legend"])):s.tableType==="CHART_PIE"?(y(),j(X5,{key:10,class:"oeamtc-margin--top-primary","table-data":s.tableData,"show-legend":s.showLegend},null,8,["table-data","show-legend"])):V("",!0)).cacheIndex=0,Ko(1),o[0])])}}}),U5=()=>{var s;(s=f1())==null||s.push({event:"click_mitglied_werden"})},W5=s=>{var e;return(e=s.match(/\.([a-zA-Z0-9]+)(?:\/[\d.]+)?$/))==null?void 0:e[1]},Ta=s=>{var e;(e=f1())==null||e.push({event:"file_download",file_name:s.fileName||s.title||s.url,file_type:s.mimeType||W5(s.url)})},$e=(s,e)=>`h${bt(s,e)}`,bt=(s,e)=>s===0?(e??1)+1:s+1,q5={class:"oeamtc-article-section--content-width"},Z5={key:0,class:"oeamtc-margin--top-primary"},K5={key:1,class:"oeamtc-margin--top-primary"},J5=G({__name:"BigMediaSection",props:{id:{},title:{default:null},parsedBodyText:{},images:{default:()=>[]},files:{default:()=>[]},videos:{default:()=>[]},tables:{default:()=>[]},inlineArticles:{default:()=>[]},inlineImages:{default:()=>[]},mediaPosition:{default:"Top"},structureLevel:{},inlineVideos:{default:()=>[]},inlineFiles:{default:()=>[]},inlineRiddles:{default:()=>[]},parentStructureLevel:{default:void 0}
45,grayBackground:{type:Boolean,default:!1}},setup(s){const e=vn(),i=yi().public.BASE_URL,r=s,n=M(()=>r.images[0]||r.files[0]||r.videos[0]||r.tables[0]),a=M(()=>{if(r.images[0])return 0;if(r.files[0])return 1;if(r.videos[0])return 2;if(r.tables[0])return 3}),o=M(()=>r.inlineArticles.map(m=>m.teaser)),l=M(()=>r.inlineImages),u=M(()=>r.inlineVideos||[]),c=M(()=>r.inlineFiles||[]),h=M(()=>i+"/external-video/"+r.id),f=M(()=>i+e.fullPath),d=M(()=>"#Video-"+r.id),p=M(()=>$e(r.structureLevel,r.parentStructureLevel)),g=M(()=>bt(r.structureLevel,r.parentStructureLevel));function b(){if(r.videos[0]){const m=Object.assign({},r.videos[0].playlist),v=[];return m.sources.forEach(x=>{v.push(Object.assign({},x))}),m.sources=v,[m]}return""}return(m,v)=>{var P;const x=ht,w=Ec;return y(),E("section",De(m.$attrs,{class:["oeamtc-article-section","oeamtc-article-section-big-media",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",q5,[R(_(yh),{"media-placement":(P=s.mediaPosition)==null?void 0:P.toLowerCase()},mt({headline:k(()=>[s.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":_(p),"unique-id":s.id},{default:k(()=>[H(W(s.title),1)]),_:1},8,["headline-level","unique-id"])):V("",!0)]),text:k(()=>[R(Re,{class:"oeamtc-margin--top-primary",text:s.parsedBodyText,"inline-articles":_(o),"inline-images":_(l),"headline-offset":_(g),"inline-videos":_(u),"inline-files":_(c),"inline-riddles":s.inlineRiddles},null,8,["text","inline-articles","inline-images","headline-offset","inline-videos","inline-files","inline-riddles"])]),_:2},[_(n)?{name:"media",fn:k(()=>[_(a)===2?(y(),E("div",Z5,[R(Eo,{id:_(n).id,playlist:b(),"i-frame-url":_(h),sharing:!0,"share-url":_(f),"share-anchor":_(d),"share-title":_(n).title,"background-image":_(n).stills[0].transformations[0].url},null,8,["id","playlist","i-frame-url","share-url","share-anchor","share-title","background-image"])])):V("",!0),_(a)===1?(y(),E("div",K5,[(y(!0),E(q,null,ne(r.files,(T,O)=>(y(),j(_(ma),{key:O,class:"oeamtc-article-section-big-media__file","file-name":T.fileName||T.title||T.url,"file-size":T.size,"file-type":T.mimeType,"file-path":T.url,onClick:L=>_(Ta)(T)},null,8,["file-name","file-size","file-type","file-path","onClick"]))),128))])):V("",!0),_(a)===0&&_(n).transformations?(y(),j(x,{key:2,"enable-lightbox":!0,class:"oeamtc-decoration__radius--double oeamtc-margin--top-primary",size:"16/9",lazy:"","show-copyright":"",type:"jpeg","type-edge":"webp",copyright:_(n).copyright,alt:_(n).altText,image:_(n),widths:[400,800,1600]},null,8,["copyright","alt","image"])):_(a)===3?(y(),j(w,{key:3,"table-data":_(n).data,"table-type":_(n).type.toString(),"table-header":_(n).tableHeader,"table-footer":_(n).tableFooter,"show-legend":_(n).showLegend,"single-color":_(n).singleColor},{headline:k(()=>[H(W(_(n).title),1)]),description:k(()=>[H(W(_(n).description),1)]),_:1},8,["table-data","table-type","table-header","table-footer","show-legend","single-color"])):V("",!0)]),key:"0"}:void 0]),1032,["media-placement"])]),re(m.$slots,"default")],16)}}}),Q5={class:"oeamtc-article-section--content-width"},e6={key:0,class:"oeamtc-margin--top-primary oeamtc-article-section-floating-media__files"},t6=G({__name:"FloatingMediaSection",props:{id:{},title:{default:null},parsedBodyText:{},images:{default:()=>[]},videos:{default:()=>[]},files:{default:()=>[]},mediaPosition:{default:"Left"},aspectRatio:{default:"square"},inlineImages:{default:()=>[]},inlineArticles:{default:()=>[]},structureLevel:{},inlineVideos:{default:()=>[]},inlineFiles:{default:()=>[]},inlineRiddles:{default:()=>[]},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=vn(),i=yi().public.BASE_URL,r=s,n=M(()=>r.images[0]||r.videos[0]),a=M(()=>{if(r.images[0])return 0;if(r.videos[0])return 1}),o=M(()=>r.inlineArticles.map(m=>m.teaser)),l=M(()=>r.inlineImages),u=M(()=>r.inlineVideos),c=M(()=>r.inlineFiles),h=M(()=>i+"/external-video/"+r.id),f=M(()=>i+e.fullPath),d=M(()=>"#Video-"+r.id),p=M(()=>$e(r.structureLevel,r.parentStructureLevel)),g=M(()=>bt(r.structureLevel,r.parentStructureLevel));function b(){if(r.videos[0]){const m=Object.assign({},r.videos[0].playlist),v=[];
45return m.sources.forEach(x=>{v.push(Object.assign({},x))}),m.sources=v,[m]}return""}return(m,v)=>{var w;const x=ht;return y(),E("section",De(m.$attrs,{class:["oeamtc-article-section","oeamtc-article-section-floating-media",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",Q5,[R(_(wh),{tag:"div","media-placement":(w=s.mediaPosition)==null?void 0:w.toLowerCase(),"media-max-width":"25%"},mt({headline:k(()=>[s.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":_(p),"unique-id":s.id},{default:k(()=>[H(W(s.title),1)]),_:1},8,["headline-level","unique-id"])):V("",!0)]),text:k(()=>[R(Re,{class:"oeamtc-margin--top-small",text:s.parsedBodyText,"inline-articles":_(o),"inline-images":_(l),"headline-offset":_(g),"inline-videos":_(u),"inline-files":_(c),"inline-riddles":s.inlineRiddles},null,8,["text","inline-articles","inline-images","headline-offset","inline-videos","inline-files","inline-riddles"]),r.files?(y(),E("div",e6,[(y(!0),E(q,null,ne(r.files,(P,T)=>(y(),j(_(ma),{key:T,class:"oeamtc-article-section-floating-media__file","file-name":P.fileName||P.title||P.url,"file-size":P.size,"file-type":P.mimeType,"file-path":P.url,onClick:O=>_(Ta)(P)},null,8,["file-name","file-size","file-type","file-path","onClick"]))),128))])):V("",!0)]),_:2},[_(n)?{name:"media",fn:k(()=>[_(a)===0?(y(),j(x,{key:0,"enable-lightbox":!0,class:"oeamtc-decoration__radius--double",lazy:"","show-copyright":"",type:"jpeg","type-edge":"webp",size:s.aspectRatio||"square",copyright:_(n).copyright,alt:_(n).altText,image:_(n),crop:"",widths:[200,400,800]},null,8,["size","copyright","alt","image"])):V("",!0),_(a)===1?(y(),j(Eo,{key:1,id:_(n).id,playlist:b(),"i-frame-url":_(h),sharing:!0,"share-url":_(f),"share-anchor":_(d),"share-title":_(n).title,"background-image":_(n).stills[0].transformations[0].url},null,8,["id","playlist","i-frame-url","share-url","share-anchor","share-title","background-image"])):V("",!0)]),key:"0"}:void 0]),1032,["media-placement"])]),re(m.$slots,"default")],16)}}}),i6={class:"oeamtc-article-section--content-width"},r6={key:1,class:"oeamtc-margin--top-primary oeamtc-article-section-list-media__files"},n6=G({__name:"MediaElementListSection",props:{id:{},structureLevel:{},title:{},parsedBodyText:{},inlineImages:{default:()=>[]},inlineArticles:{default:()=>[]},images:{default:()=>[]},files:{default:()=>[]},inlineVideos:{default:()=>[]},inlineFiles:{default:()=>[]},inlineRiddles:{default:()=>[]},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>e.inlineArticles.map(h=>h.teaser)),i=M(()=>e.inlineImages),r=M(()=>Math.max(Math.round(720/e.images.length),180)),n=M(()=>Math.max(Math.round(1080/e.images.length),360)),a=M(()=>Math.max(Math.round(1620/e.images.length),720)),o=M(()=>$e(e.structureLevel,e.parentStructureLevel)),l=M(()=>bt(e.structureLevel,e.parentStructureLevel)),u=M(()=>e.inlineVideos),c=M(()=>e.inlineFiles);return(h,f)=>{const d=ht;return y(),E("section",De(h.$attrs,{class:["oeamtc-article-section","oeamtc-article-section-list",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",i6,[s.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":_(o),"unique-id":s.id},{default:k(()=>[H(W(s.title),1)]),_:1},8,["headline-level","unique-id"])):V("",!0),R(Re,{class:"oeamtc-margin--top-small",text:e.parsedBodyText,"inline-articles":_(t),"inline-images":_(i),"headline-offset":_(l),"inline-videos":_(u),"inline-files":_(c),"inline-riddles":s.inlineRiddles},null,8,["text","inline-articles","inline-images","headline-offset","inline-videos","inline-files","inline-riddles"]),e.files?(y(),E("div",r6,[(y(!0),E(q,null,ne(e.files,(p,g)=>(y(),j(_(ma),{key:g,class:"oeamtc-article-section-list__file","file-name":p.fileName||p.title||p.url,"file-size":p.size,"file-type":p.mimeType,"file-path":p.url,onClick:b=>_(Ta)(p)},null,8,["file-name","file-size","file-type","file-path","onClick"]))),128))])):V("",!0),R(_(Hr),{class:"oeamtc-margin--top-primary"},{default:k(()=>[(y(!0),E(q,null,ne(s.images,(p,g)=>(y(),j(d,{key:g,class:"oeamtc-decoration__radius--double",lazy:"","show-copyright":"",size:"square",type:"jpeg","type-edge":"webp",copyright:p.copyright,alt:p.altText,image:p,widths:[_(r),_(n),_(a)]},null,8,["copyright","alt","image","widths"]))),128))]),_:1})]),re(h.$slots,"default")],16)}}}),s6={class:"oeamtc-article-section--content-width"},a6=G({__name:"SliderSection",props:{images:{},showScrollbar:{type:Boolean,default:!1},navigationDisabled:{type:Boolean,default:!1}
45,grayBackground:{type:Boolean,default:!1}},setup(s){const e=pi("(max-width: 767px)"),t={navigationOutside:!1,slidesPerView:1,shadow:!1,breakpoints:{768:{slidesPerView:1}},mobileSlidePeek:!0};return(i,r)=>{const n=ht,a=_e("OeamtcCarouselSlide"),o=_e("OeamtcCarousel"),l=Ue;return y(),E("section",De(i.$attrs,{class:["oeamtc-article-section--slider","oeamtc-article-section",{"oeamtc-article-section--slider-navigation":!s.navigationDisabled},{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",s6,[R(l,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-single-video-loader oeamtc-decoration__radius--double"})]),default:k(()=>[R(o,{scrollbar:s.showScrollbar,navigation:!s.navigationDisabled&&!_(e),"navigation-outside":t.navigationOutside,"slides-per-view":t.slidesPerView,shadow:t.shadow,breakpoints:t.breakpoints,"mobile-slide-peek":t.mobileSlidePeek},{default:k(()=>[(y(!0),E(q,null,ne(s.images,(u,c)=>(y(),j(a,{key:c},{default:k(()=>[u.transformations?(y(),j(n,{key:0,component:"Caption",class:"oeamtc-article-section--slider-slide",image:u,crop:"",widths:[338,777,1200],type:"jpeg","type-edge":"webp",lazy:"",size:"16/9",alt:u.altText,"round-corners":!0},{default:k(()=>[R(Tt,{title:u.title,description:u.description,copyright:u.copyright},null,8,["title","description","copyright"])]),_:2},1032,["image","alt"])):V("",!0)]),_:2},1024))),128))]),_:1},8,["scrollbar","navigation","navigation-outside","slides-per-view","shadow","breakpoints","mobile-slide-peek"])]),_:1})]),re(i.$slots,"default")],16)}}}),o6={class:"oeamtc-article-section--wide"},l6=G({__name:"SliderFullwidthSection",props:{images:{},navigationDisabled:{type:Boolean,default:!1},grayBackground:{type:Boolean,default:!1}},setup(s){const e=pi("(max-width: 767px)"),t={navigationOutside:!1,showScrollbar:!1,showNavigation:!0,slidesPerView:1,shadow:!1,breakpoints:{768:{slidesPerView:1}},mobileSlidePeek:!0};return(i,r)=>{const n=ht,a=_e("OeamtcCarouselSlide"),o=_e("OeamtcCarousel"),l=Ue;return y(),E("section",De(i.$attrs,{class:["oeamtc-article-section","oeamtc-fullwidth-slider",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",o6,[R(l,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-article-section--slider-loader oeamtc-decoration__radius--double"})]),default:k(()=>[R(o,{scrollbar:t.showScrollbar,navigation:!s.navigationDisabled&&!_(e),"navigation-outside":t.navigationOutside,"slides-per-view":t.slidesPerView,shadow:t.shadow,breakpoints:t.breakpoints,"mobile-slide-peek":t.mobileSlidePeek},{default:k(()=>[(y(!0),E(q,null,ne(s.images,(u,c)=>(y(),j(a,{key:c},{default:k(()=>[u.transformations?(y(),j(n,{key:0,component:"Caption",class:"oeamtc-article-section--slider-slide",image:u,widths:[233,466,932],type:"jpeg","type-edge":"webp",sizes:"(max-width: 480) 388px, (min-width: 481) 777px, 100vw",lazy:"",size:"16/9",alt:u.altText,"round-corners":!0},{default:k(()=>[R(Tt,{title:u.title,description:u.description,copyright:u.copyright},null,8,["title","description","copyright"])]),_:2},1032,["image","alt"])):V("",!0)]),_:2},1024))),128))]),_:1},8,["scrollbar","navigation","navigation-outside","slides-per-view","shadow","breakpoints","mobile-slide-peek"])]),_:1})]),re(i.$slots,"default")],16)}}}),u6={class:"oeamtc-article-section--content-width"},c6=G({__name:"SliderThumbnailSection",props:{images:{},showScrollbar:{type:Boolean,default:!1},navigationDisabled:{type:Boolean,default:!1},grayBackground:{type:Boolean,default:!1}},setup(s){const e={navigationOutside:!1,shadow:!1};return(t,i)=>{const r=ht,n=Ue;return y(),E("section",De(t.$attrs,{class:["oeamtc-article-section--slider","oeamtc-article-section",{"oeamtc-article-section--slider-navigation":!t.disableNavigation},{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",u6,[R(n,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-article-section--slider-loader oeamtc-decoration__radius--double"})]),default:k(()=>[R(_(g1),{scrollbar:s.showScrollbar,navigation:!s.navigationDisabled,"navigation-outside":e.navigationOutside,shadow:e.shadow},{thumbnail:k(()=>[(y(!0),E(q,null,ne(s.images,(a,o)=>(y(),j(_(Mi),{key:o},{default:k(()=>[R(r,{size:"square",lazy:"",copyright:a.copyright,alt:a.altText,image:a,type:"jpeg","type-edge":"webp",widths:[189,378,756]},null,8,["copyright","alt","image"])]),_:2},1024))),128))]),default:k(()=>[(y(!0),E(q,null,ne(s.images,(a,o)=>(y(),j(_(Mi),{key:o},{default:k(()=>
45[a.transformations?(y(),j(r,{key:0,component:"Caption",class:"oeamtc-article-section--slider-slide",image:a,widths:[338,777,1200],type:"jpeg","type-edge":"webp",lazy:"",crop:"",size:"16/9",alt:a.altText,"round-corners":!0},{default:k(()=>[R(Tt,{title:a.title,description:a.description,copyright:a.copyright},null,8,["title","description","copyright"])]),_:2},1032,["image","alt"])):V("",!0)]),_:2},1024))),128))]),_:1},8,["scrollbar","navigation","navigation-outside","shadow"])]),_:1})]),re(t.$slots,"default")],16)}}}),h6={class:"oeamtc-article-section--content-width"},d6=G({__name:"TextSection",props:{id:{},title:{},parsedBodyText:{},inlineImages:{default:()=>[]},inlineArticles:{default:()=>[]},structureLevel:{},inlineVideos:{default:()=>[]},inlineFiles:{default:()=>[]},inlineRiddles:{default:()=>[]},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>e.inlineArticles.map(u=>u.teaser)),i=M(()=>e.inlineImages),r=M(()=>$e(e.structureLevel,e.parentStructureLevel)),n=M(()=>bt(e.structureLevel,e.parentStructureLevel)),a=M(()=>e.inlineVideos),o=M(()=>e.inlineFiles),l=M(()=>e.inlineRiddles);return(u,c)=>(y(),E("section",De(u.$attrs,{class:["oeamtc-article-section",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",h6,[e.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":_(r),"unique-id":e.id},{default:k(()=>[H(W(e.title),1)]),_:1},8,["headline-level","unique-id"])):V("",!0),R(Re,{class:"oeamtc-margin--top-small",text:e.parsedBodyText,"inline-articles":_(t),"inline-images":_(i),"headline-offset":_(n),"inline-videos":_(a),"inline-files":_(o),"inline-riddles":_(l)},null,8,["text","inline-articles","inline-images","headline-offset","inline-videos","inline-files","inline-riddles"])]),re(u.$slots,"default")],16))}}),f6={class:"oeamtc-article-section--content-width"},g6=G({__name:"ContactPersonSection",props:{id:{},authors:{},structureLevel:{},parentStructureLevel:{default:null},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>$e(e.structureLevel,e.parentStructureLevel)),i=r=>{const n=[];return r.prefixedTitle&&n.push(r.prefixedTitle),n.push(r.firstName),n.push(r.lastName),r.suffixedTitle&&n.push(r.suffixedTitle),n.join(" ")};return(r,n)=>(y(),E("section",De(r.$attrs,{class:["oeamtc-article-section","oeamtc-article-section--contact-person",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",f6,[(y(!0),E(q,null,ne(e.authors,(a,o)=>(y(),j(Yh,{id:s.id+"-"+o,key:s.id+"-"+o,"headline-level":_(t),headline:i(a),image:a.image,subheadline:a.ressort,text:a.text,email:a.email,phone:a.phoneNumber,weblink:a.weblink},null,8,["id","headline-level","headline","image","subheadline","text","email","phone","weblink"]))),128))]),re(r.$slots,"default")],16))}}),p6=["id"],m6={class:"oeamtc-article-section--content-width"},b6=G({__name:"SingleVideoSection",props:{id:{},videos:{},article:{},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s;function t(h){const f=Object.assign({},e.videos[h].playlist),d=[];return f.sources.forEach(p=>{d.push(Object.assign({},p))}),f.sources=d,[f]}const i=M(()=>!r.value||!r.value.stills||r.value.stills.length===0||!r.value.stills[0].transformations||r.value.stills[0].transformations.length===0?null:r.value.stills[0].transformations[0].url),r=M(()=>e.videos[0]),n=vn(),o=yi().public.BASE_URL,l=M(()=>o+n.fullPath),u=M(()=>o+"/external-video/"+e.id),c=M(()=>"Video-"+r.value.id);
45return(h,f)=>_(r)?(y(),E("section",De({key:0},h.$attrs,{id:_(c),class:["oeamtc-article-section","oeamtc-single-video-section",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",m6,[R(Eo,{id:_(r).id,class:"oeamtc-margin--top-primary",playlist:t(0),"i-frame-url":_(u),sharing:!0,"share-url":_(l),"share-anchor":_(c),"share-title":s.article.title,"background-image":_(i)},null,8,["id","playlist","i-frame-url","share-url","share-anchor","share-title","background-image"])]),re(h.$slots,"default")],16,p6)):V("",!0)}}),_6={class:"oeamtc-article-section--content-width"},v6=G({__name:"SpecialProductSection",props:{id:{},title:{},bodyText:{},articles:{default:()=>[]},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>{var i,r;return((r=(i=e.articles)==null?void 0:i[0])==null?void 0:r.teaser)??null});return(i,r)=>_(t)?(y(),E("section",De({key:0},i.$attrs,{class:["oeamtc-article-section",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",_6,[R(H0,{id:s.id,title:s.title,text:s.bodyText,teaser:_(t)},null,8,["id","title","text","teaser"])]),re(i.$slots,"default")],16)):V("",!0)}}),y6={class:"oeamtc-article-section oeamtc-article-section--full-width oeamtc-article-section--grey-bg oeamtc-article-section-testimonial oeamtc-padding--top-larger oeamtc-padding--bottom-larger oeamtc-padding--left-primary oeamtc-padding--right-primary"},w6={class:"oeamtc-article-section--content-width oeamtc-article-section-testimonial__content"},x6=G({__name:"TestimonialSection",props:{id:{},title:{default:null},quote:{},source:{default:null},cite:{default:null},link:{default:null},linktext:{default:null},images:{default:()=>[]},structureLevel:{},parentStructureLevel:{default:null}},setup(s){const e=s,t=M(()=>$e(e.structureLevel,e.parentStructureLevel));return(i,r)=>(y(),E("section",y6,[D("div",w6,[s.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":_(t),"unique-id":s.id},{default:k(()=>[H(W(s.title),1)]),_:1},8,["headline-level","unique-id"])):V("",!0),R(_(xh),{"link-href":s.link,"link-text":s.linktext,class:oe({"oeamtc-margin--top-primary":s.title})},mt({image:k(()=>[s.images[0]?(y(),j($t,{key:0,class:"oeamtc-article-section-testimonial__image",alt:s.images[0].altText,copyright:s.images[0].copyright,"show-copyright":"","min-width":769,"max-width":768,lazy:"",image:s.images[0],widths:[250,500,500],"mobile-widths":[335,670,670],crop:"",size:"250/382","mobile-size":"335/170"},null,8,["alt","copyright","image"])):V("",!0)]),_:2},[s.quote?{name:"quote",fn:k(()=>[H(W(s.quote),1)]),key:"0"}:void 0,s.source?{name:"source",fn:k(()=>[H(W(s.source)+"  ",1)]),key:"1"}:void 0,s.cite?{name:"cite",fn:k(()=>[H(W(s.cite),1)]),key:"2"}:void 0]),1032,["link-href","link-text","class"])]),re(i.$slots,"default")]))}}),P6={class:"oeamtc-article-section--content-width"},k6={class:"oeamtc-faq-section__content"},T6={key:0,class:"oeamtc-faq-section__image"},D6={class:"oeamtc-faq-section__text-block"},S6=G({__name:"FaqSection",props:{id:{},structureLevel:{},title:{},parsedBodyText:{},images:{default:()=>[]},inlineImages:{default:()=>[]},inlineArticles:{default:()=>[]},index:{},inlineVideos:{default:()=>[]},inlineFiles:{default:()=>[]},inlineRiddles:{default:()=>[]},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>$e(e.structureLevel,e.parentStructureLevel)),i=M(()=>e.images[0]),r=M(()=>e.inlineArticles.map(l=>l.teaser)),n=M(()=>e.inlineImages),a=M(()=>e.inlineVideos),o=M(()=>e.inlineFiles);return(l,u)=>(y(),E("section",De(l.$attrs,{class:["oeamtc-article-section","oeamtc-faq-section",{"oeamtc-article-section--no-margin":s.structureLevel!=="1"&&s.index!==0},{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",P6,[R(_(Ph),{id:s.id,tag:"div","bottom-line":"","headline-level":_(t)},{question:k(()=>[H(W(s.title),1)]),answer:k(()=>[D("div",k6,[_(i)?(y(),E("div",T6,[R(ht,{component:"Caption",image:_(i),widths:[720,1440,2880],type:"jpeg","type-edge":"webp",sizes:"(max-width: 720px) 720px, (min-width: 721px) 1440p
45x, (max-width: 1300px) and (min-resolution: 2dppx) 1440px, 100vw",alt:_(i).altText,lazy:"","round-corners":"",size:"16/9"},{default:k(()=>[R(Tt,{title:_(i).title,description:_(i).description,copyright:_(i).copyright},null,8,["title","description","copyright"])]),_:1},8,["image","alt"])])):V("",!0),D("div",D6,[R(Re,{class:"oeamtc-faq-section__text oeamtc-text__color--lightgrey",text:s.parsedBodyText,"inline-articles":_(r),"inline-images":_(n),"headline-offset":_(t)+1,"inline-videos":_(a),"inline-files":_(o),"inline-riddles":s.inlineRiddles},null,8,["text","inline-articles","inline-images","headline-offset","inline-videos","inline-files","inline-riddles"])])]),re(l.$slots,"default")]),_:3},8,["id","headline-level"])])],16))}}),O6={class:"oeamtc-article-section--content-width"},A6=G({__name:"ExpandableBenefitListItemSection",props:{id:{default:""},structureLevel:{},title:{},parsedBodyText:{},inlineImages:{default:()=>[]},inlineArticles:{default:()=>[]},inlineVideos:{default:()=>[]},inlineFiles:{default:()=>[]},inlineRiddles:{default:()=>[]},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>$e(e.structureLevel,e.parentStructureLevel)),i=M(()=>bt(e.structureLevel,e.parentStructureLevel)),r=M(()=>e.inlineArticles.map(l=>l.teaser)),n=M(()=>e.inlineImages),a=M(()=>e.inlineVideos),o=M(()=>e.inlineFiles);return(l,u)=>(y(),E("section",De(l.$attrs,{class:["oeamtc-article-section","oeamtc-expandable-benefit-list-item-section",{"oeamtc-article-section--no-margin":s.structureLevel!==1},{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",O6,[R(_(p1),{id:s.id,tag:"div","bottom-line":"","headline-level":_(t)},{headline:k(()=>[H(W(s.title),1)]),text:k(()=>[R(Re,{class:"oeamtc-expandable-benefit-list-item-section__text oeamtc-text__color--lightgrey",text:s.parsedBodyText,"inline-articles":_(r),"inline-images":_(n),"headline-offset":_(i),"inline-videos":_(a),"inline-files":_(o),"inline-riddles":s.inlineRiddles},null,8,["text","inline-articles","inline-images","headline-offset","inline-videos","inline-files","inline-riddles"])]),_:1},8,["id","headline-level"])]),re(l.$slots,"default")],16))}}),C6=G({__name:"SvgIcon",props:{name:{}},setup(s){const t="svgo-"+s.name.replace(/\//g,"-").replace("payment-payment","payment").replace("traffic-traffic","traffic").replace("video-video","video").replace("shopping-shopping","shopping").replace("oeamtc-oeamtc","oeamtc");return(i,r)=>(y(),j(mi(t)))}}),E6={class:"oeamtc-article-section--content-width"},M6=G({__name:"TeaserListItemSection",props:{id:{},structureLevel:{},title:{},parsedBodyText:{},icon:{default:null},iconBackgroundColor:{default:void 0},inlineImages:{default:()=>[]},inlineArticles:{default:()=>[]},inlineVideos:{default:()=>[]},inlineFiles:{default:()=>[]},inlineRiddles:{default:()=>[]},link:{default:void 0},linkTarget:{default:"_self"},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>$e(e.structureLevel,e.parentStructureLevel)),i=M(()=>bt(e.structureLevel,e.parentStructureLevel)),r=M(()=>e.inlineArticles.map(l=>l.teaser)),n=M(()=>e.inlineImages),a=M(()=>e.inlineVideos),o=M(()=>e.inlineFiles);return(l,u)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-teaser-list-item-section",{"oeamtc-article-section--small-margin":s.structureLevel!=="1"},{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",E6,[R(_(Th),{tag:"div","headline-level":t.value,"bottom-line":!1,link:s.link,target:s.linkTarget},mt({_:2},[s.icon?{name:"icon",fn:k(()=>[D("i",{class:oe(["oeamtc-teaser-list-item-section__custom-icon",{"oeamtc-teaser-list-item-section__custom-icon--with-color":!!s.iconBackgroundColor,"oeamtc-teaser-list-item-section__custom-icon--black-icon":s.iconBackgroundColor==="#FCC917"||s.iconBackgroundColor==="#F3F4F6"}]),style:kh(s.iconBackgroundColor?{backgroundColor:s.iconBackgroundColor}:{})},[R(C6,{name:s.icon,width:32,height:32,class:"oeamtc-teaser-list-item-section__icon-path"},null,8,["name"])],6)]),key:"0"}:void 0,s.title?{name:"headline",fn:k(()=>[H(W(s.title),1)]),key:"1"}:void 0,s.parsedBodyText?{name:"text",fn:k(()=>
45[R(Re,{class:"oeamtc-teaser-list-item-section__text",text:s.parsedBodyText,"inline-articles":r.value,"inline-images":n.value,"headline-offset":i.value,"inline-videos":a.value,"inline-files":o.value,"inline-riddles":s.inlineRiddles},null,8,["text","inline-articles","inline-images","headline-offset","inline-videos","inline-files","inline-riddles"])]),key:"2"}:void 0]),1032,["headline-level","link","target"])]),re(l.$slots,"default")],2))}}),L6={class:"oeamtc-article-section--content-width"},R6=G({__name:"BenefitListItemSection",props:{id:{},structureLevel:{},title:{},parsedBodyText:{},inlineImages:{default:()=>[]},inlineArticles:{default:()=>[]},inlineVideos:{default:()=>[]},inlineFiles:{default:()=>[]},inlineRiddles:{default:()=>[]},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>$e(e.structureLevel,e.parentStructureLevel)),i=M(()=>bt(e.structureLevel,e.parentStructureLevel)),r=M(()=>!e.title),n=M(()=>e.inlineArticles.map(u=>u.teaser)),a=M(()=>e.inlineImages),o=M(()=>e.inlineVideos),l=M(()=>e.inlineFiles);return(u,c)=>(y(),E("section",De(u.$attrs,{class:["oeamtc-article-section","oeamtc-benefit-list-item-section",{"oeamtc-article-section--small-margin":s.structureLevel!==1},{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",L6,[R(_(pa),{tag:"div","bottom-line":!1,small:_(r),"headline-level":_(t),"is-special":!1},mt({_:2},[s.title?{name:"headline",fn:k(()=>[H(W(s.title),1)]),key:"0"}:void 0,s.parsedBodyText?{name:"text",fn:k(()=>[R(Re,{class:"oeamtc-benefit-list-item-section__text oeamtc-text__color--lightgrey",text:s.parsedBodyText,"inline-articles":_(n),"inline-images":_(a),"headline-offset":_(i),"inline-videos":_(o),"inline-files":_(l),"inline-riddles":s.inlineRiddles},null,8,["text","inline-articles","inline-images","headline-offset","inline-videos","inline-files","inline-riddles"])]),key:"1"}:void 0]),1032,["small","headline-level"])]),re(u.$slots,"default")],16))}}),I6={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function B6(s,e){return y(),E("svg",I6,[...e[0]||(e[0]=[D("path",{d:"m24.26 17.24-14.19 7.6A1.4 1.4 0 0 1 8 23.58V8.41a1.4 1.4 0 0 1 2.07-1.24l14.19 7.59a1.4 1.4 0 0 1 0 2.48"},null,-1)])])}const Wl={render:B6},j6=m1("article",()=>{const s=ee(null),e=ee({}),t=ee(null),i=ee(null),r=ee(null),n=M(()=>i.value),a=M(()=>t.value),o=M(()=>s.value),l=M(()=>r.value);return{getPortal:n,setPortal:d=>{i.value=d},getChannel:a,setChannel:d=>{t.value=d},getArticle:o,setArticle:d=>{e.value[d.id]=d,s.value=d},getUrl:l,setUrl:d=>{r.value=d},articleMapping:e}}),F6={key:0},z6={class:"oeamtc-panel oeamtc-video-player"},N6={class:"oeamtc-video-player__video oeamtc-decoration__radius--double"},$6={class:"oeamtc-video-player__video-slot"},V6={class:"oeamtc-headline"},Y6={key:0,class:"oeamtc-video-player__article"},H6={class:"oeamtc-video-player__article-content"},X6={class:"oeamtc-video-player__article-texts"},G6={class:"oeamtc-headline oeamtc-video-player__article-title oeamtc-text__size--small"},U6={class:"oeamtc-text oeamtc-video-player__article-leadtext"},W6={key:1,class:"oeamtc-video-player__navigation"},q6={class:"oeamtc-video-player__navigation-holder"},Z6={key:0,class:"oeamtc-video-player__navigation-video-overlay oeamtc-video-player__navigation-video-overlay--bg oeamtc-text__size--small oeamtc-text__weight--bold"},K6=["onClick"],J6=["title"],Q6={key:3,class:"oeamtc-video-player__navigation-video"},e3={class:"oeamtc-text__color--danger"},t3=G({__name:"VideoPlayer",props:{id:{},articleVideoCollection:{},oeamtcTv:{type:Boolean,default:!1}},setup(s){const e=j6(),t=pi("(max-width: 767px)"),{status:i,giveVendorConsent:r,hasVendorConsent:n}=mn(),{result:a,loading:o,error:l}=Ht(ba,{name:"UsercentricsKonfiguration"}),u=M(()=>a.value?_a("JW Player",a):null),c=s,h=yi(),f=M(()=>o.value?"loading":l.value?"error":a.value?"success":"default"),d=A=>{if(A.__typename==="Video")return A;const N=A;return N.videos&&N.videos.length>0?N.videos[0]:N.inlineVideos&&N.inlineVideos.length>0?N.inlineVideos[0]:A},p=A=>A.__typename==="Article",g=A=>{let N=A;return p(A)&&(N=d(A)),N},b=ee(c.articleVideoCollection),m=ee(b.value[0]),v=M(()=>p(m.value)?m.value:null),x=M(()=>g(m.value).stills[0].transformations[0].url),w=A=>g(m.value).id===g(A).id,P=A=>{m.value=A},T=M(()=>{const A=g(m.value).playlist;return JSON.parse(JSON.stringify(A))});Ke(()=>{if(c.oeamtcTv){const A={__typename:"Video",copyright:"ÖAMTC",description:"ÖAMTC TV",id:"oeamtc-tv",playlist:{file:h.public.OEAMTCTV_STREAM.file,title:"ÖAMTC TV",sources:[],tracks:[],image:{id:"oeamtc-tv-playlist-image",title:"ÖAMTC TV",transformations:[{name:"16/9",url:h.public.OEAMTCTV_STREAM.image,height:"840",width:"473"}]}},stills:[{id:"oeamtc-tv-still-image",title:"ÖAMTC TV",transformations:[{name:"16/9",url:h.public.OEAMTCTV_STREAM.image,height:"840",width:"473"}]}],frontendDate:"2021-09-01T00:00:00+02:00",frontendSource:"ÖAMTC",title:"ÖAMTC TV",length:"00:00:00"};b.value.unshift(A),m.value=A}});const O={slidesPerView:2,navigationOutside:!0,mobileSlidePeek:!0,breakpoints:{768:{slidesPerView:3,mobileSlidePeek:!1}}};At(()=>m,()=>{jwplayer(c.id).load(g(m.value).playlist).play()});const L=h.public.BASE_URL,S=M(()=>!!v.value),B=M(()=>v.value?L+Qo(v.value,e.portal):null),C=M(()=>v.value?"Video-"+m.value.id:null),$=M(()=>v.value?v.value.title:null);return(A,N)=>{const z=_e("OeamtcVideoElement"),te=ht,Y=Ue,Q=_e("UsercentricsInlineWrapper");return _(f)==="success"&&_(m)?(y(),E("div",F6,[R(Y,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"}),R(_(Hr),{class:"oeamtc-paragraph"},{default:k(()=>[R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"}),R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"}),R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"})]),_:1})]),default:k(()=>[R(Q,{status:_(i),"give-vendor-consent":_(r),"has-vendor-consent":_(n),"vendor-name":_(u).name,"background-image":_(x)},{"inline-headline":k(()=>[...N[0]||(N[0]=[H(" Um Videos anzeigen zu können wird eine Einwilligung benötigt ",-1)])]),"inline-text":k(()=>[R(pt,{"html-content":_(u).text},null,8,["html-content"])]),"inline-generaltext":k(()=>[R(pt,{"html-content":_(u).generalText}
45,null,8,["html-content"])]),content:k(()=>[R(Y,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"}),R(_(Hr),{class:"oeamtc-paragraph"},{default:k(()=>[R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"}),R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"}),R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"})]),_:1})]),default:k(()=>{var Z;return[D("div",z6,[D("div",N6,[_(m)?(y(),j(z,{key:0,id:c.id,"jw-player-key":_(h).public.JWPLAYER_KEY,"play-list":_(T),sharing:_(S),"share-url":_(B),"share-title":_($),"share-anchor":_(C)},null,8,["id","jw-player-key","play-list","sharing","share-url","share-title","share-anchor"])):V("",!0),D("div",$6,[re(A.$slots,"default",{},()=>[D("h3",V6,W(g(_(m)).description),1)])])]),_(v)!==null&&_(v)!==void 0?(y(),E("div",Y6,[N[1]||(N[1]=D("span",{class:"oeamtc-text__size--small"},"Mehr zu diesem Thema",-1)),D("div",H6,[(Z=_(v).teaser)!=null&&Z.image?(y(),j(te,{key:0,class:"oeamtc-decoration__radius--double oeamtc-video-player__article-image",lazy:"",size:"16/9",type:"jpeg","type-edge":"webp",image:_(v).teaser.image,alt:_(v).teaser.image.altText??"null",widths:[100,200,300]},null,8,["image","alt"])):V("",!0),D("div",X6,[D("h3",G6,[R(_(Ji),{class:"oeamtc-video-player__article-link",href:_(Qo)(_(v),_(e).portal),target:"_blank"},{default:k(()=>[H(W(_(v).title),1)]),_:1},8,["href"])]),D("p",U6,W(_(v).leadText),1)])])])):V("",!0),s.articleVideoCollection.length>1?(y(),E("div",W6,[D("div",q6,[R(_(l1),{scrollbar:!1,navigation:!_(t),loop:!1,"slides-per-view":O.slidesPerView,breakpoints:O.breakpoints,shadow:!1,"mobile-slide-peek":O.mobileSlidePeek,"navigation-outside":!_(t)},{default:k(()=>[(y(!0),E(q,null,ne(c.articleVideoCollection,(pe,Se)=>(y(),j(_(Mi),{key:Se,onClick:ve=>P(pe)},{default:k(()=>{var ve,we,Ve,be,it;return[w(pe)?(y(),E("span",Z6,[R(_(Wl),{viewBox:"0 0 32 32",width:"24",height:"24",fill:"#fff"}),N[2]||(N[2]=H("   Im Player ",-1))])):(y(),E("button",{key:1,class:"oeamtc-video-player__navigation-video-play-button",onClick:ci=>P(pe)},[R(_(Wl),{viewBox:"0 0 32 32",width:"24",height:"24",class:"oeamtc-video-player__navigation-video-i-svg"})],8,K6)),g(pe)!==null?(y(),E("div",{key:2,class:"oeamtc-video-player__navigation-video",title:(ve=g(pe))==null?void 0:ve.title},[(we=g(pe))!=null&&we.stills[0]?(y(),j(te,{key:0,class:"oeamtc-decoration__radius--double oeamtc-video-player__navigation-video-image",lazy:"",size:"16/9",alt:((Ve=g(pe))==null?void 0:Ve.stills[0].description)??"null",image:(be=g(pe))==null?void 0:be.stills[0],widths:[189,378,756]},null,8,["alt","image"])):V("",!0)],8,J6)):(y(),E("div",Q6,[D("span",e3," No video found in article id "+W((it=g(pe))==null?void 0:it.id),1)]))]}),_:2},1032,["onClick"]))),128))]),_:1},8,["navigation","slides-per-view","breakpoints","mobile-slide-peek","navigation-outside"])])])):V("",!0)])]}),_:3})]),_:3},8,["status","give-vendor-consent","has-vendor-consent","vendor-name","background-image"])]),_:3})])):_(f)==="loading"?(y(),E(q,{key:1},[R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"}),R(_(Hr),{class:"oeamtc-paragraph"},{default:k(()=>[R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"}),R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"}),R(_(le),{class:"oeamtc-video-player-loader oeamtc-decoration__radius--double"})]),_:1})],64)):(y(),j(_(or),{key:2,modifier:"danger",icon:""},{contentSlot:k(()=>[...N[3]||(N[3]=[H("Der Videoplayer konnte nicht geladen werden.",-1)])]),_:1}))}}}),i3={class:"oeamtc-article-section--content-width"},r3=G({__name:"VideoPlayerSection",props:{id:{},videos:{},articles:{},oeamtcTv:{type:Boolean},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>[...e.articles,...e.videos]);return(i,r)=>(y(),E("div",{class:oe(["oeamtc-article-section","oeamtc-article-section-video-player",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",i3,[R(t3,{id:s.id,"article-video-collection":_(t),"oeamtc-tv":s.oeamtcTv},null,8,["id","article-video-collection","oeamtc-tv"])]),re(i.$slots,"default")],2))}}),n3={class:"oeamtc-article-section--content-width"},s3=G({__name:"OffeneStellenSection",props:{id:{},structureLevel:{},parentSectionLevel:{default:null},title:{},parsedBodyText:{},boxType:{},paging:{type:Boolean,default:!1},jobRegion:{default:""},jobField:{default:""},jobTime:{default:""},hideFilter:{type:Boolean},hideJobAlarm:{type:Boolean}
45,grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>{if(e.jobField!=="Bereich")return e.jobField}),i=M(()=>{if(e.jobRegion!=="Bundesland")return e.jobRegion}),r=ee("https://www.oeamtc.at/karriere-portal/job-angebote/"),n=M(()=>e.boxType==="VollständigeBox"&&e.paging),a=M(()=>e.boxType==="VollständigeBox"?10:5),o=M(()=>$e(e.structureLevel,e.parentStructureLevel)),l=M(()=>bt(e.structureLevel,e.parentStructureLevel));return(u,c)=>(y(),E("div",{class:oe(["oeamtc-article-section","oeamtc-article-section-offene-stellen",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",n3,[s.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":_(o),"unique-id":s.id},{default:k(()=>[H(W(s.title),1)]),_:1},8,["headline-level","unique-id"])):V("",!0),R(Re,{class:"oeamtc-margin--top-small",text:s.parsedBodyText,"headline-offset":_(l)},null,8,["text","headline-offset"]),R(I0,{class:"oeamtc-margin--top-primary","job-offers-fetch-limit":_(a),"show-all-job-offers":_(n),"all-job-offers-link":_(r),"job-field":_(t),"job-region":_(i),"job-time":s.jobTime,"hide-filter":s.hideFilter,"hide-job-alarm":s.hideJobAlarm},null,8,["job-offers-fetch-limit","show-all-job-offers","all-job-offers-link","job-field","job-region","job-time","hide-filter","hide-job-alarm"])]),re(u.$slots,"default")],2))}});function a3(s){return new Intl.NumberFormat("de-AT",{maximumFractionDigits:2,minimumFractionDigits:2}).format(s)}const o3=vr`
46  query LinkedMembershipConfiguration($portal: ID!) {
47    LinkedMembershipConfiguration(portal: $portal) {
48      addons
49    }
50  }
51`,Mc=vr`
52  query Userdata($accessToken: String!) {
53    AccountOidc(accessToken: $accessToken) {
54      title
55      salutation
56      firstName
57      lastName
58      dateOfBirth
59      salutation
60      email
61      clubcardNumber
62      phoneNumber
63      address {
64        city
65        country
66        street
67        streetNumber
68        zipCode
69      }
70    }
71    ClubCardOidc(accessToken: $accessToken) {
72      name
73      since
74      number
75      formattedNumber
76      category
77    }
78    ProductInfoOidc(accessToken: $accessToken) {
79      membership
80      schutzbrief
81      sepa
82      isSchutzbriefPaid
83      category
84    }
85  }
86`,l3={key:1}
86,u3=G({__name:"MembershipDetail",props:{titleTag:{default:"h2"},title:{},datePublished:{},membershipInfo:{},userHasProduct:{type:Boolean},text:{}},setup(s){const e=s,t=M(()=>{var r,n,a,o;return(r=e.membershipInfo.contractKey)!=null&&r.includes("SB")?Number((n=e.membershipInfo.price)==null?void 0:n.price)+Number((a=e.membershipInfo.price)==null?void 0:a.schutzbrief.price):Number((o=e.membershipInfo.price)==null?void 0:o.price)}),i=M(()=>{var r,n;if(e.title==="Firmen-Mitgliedschaft")return"CAR";if(e.title==="Gratis-Kinder-Mitgliedschaft")return"TOURING";if(!((r=e.membershipInfo)!=null&&r.price))return null;switch((n=e.membershipInfo)==null?void 0:n.price.contractKey.split(".")[0]){case"A":return"CAR";case"M":return"MOTORCYCLE";case"T":return"TOURING";default:return null}});return(r,n)=>{var a;return y(),j(_(Dh),{"title-tag":s.titleTag,"date-published":s.datePublished,level:i.value,"user-has-product":s.userHasProduct,"product-link":(a=s.membershipInfo)==null?void 0:a.orderLink},{title:k(()=>[H(W(s.title),1)]),listitems:k(()=>{var o;return[(y(!0),E(q,null,ne((o=e.membershipInfo)==null?void 0:o.detailFeatures,l=>(y(),E(q,null,[l.type==="EXPANDABLE_BENEFIT_LIST_ITEM"?(y(),j(_(p1),{id:l.id,key:l.id},mt({headline:k(()=>[H(W(l.title),1)]),_:2},[l.parsedBodyText?{name:"text",fn:k(()=>[R(Re,{is:"p",text:l.parsedBodyText},null,8,["text"])]),key:"0"}:void 0]),1032,["id"])):l.type==="BENEFIT_LIST_ITEM"?(y(),j(_(pa),{id:l.id,key:l.id},mt({headline:k(()=>[H(W(l.title),1)]),_:2},[l.parsedBodyText?{name:"text",fn:k(()=>[R(Re,{is:"p",text:l.parsedBodyText},null,8,["text"])]),key:"0"}:void 0]),1032,["id"])):V("",!0)],64))),256))]}),price:k(()=>[t.value?(y(),j(_(Co),{key:0,value:t.value,size:"small",class:"oeamtc-padding--top-primary duck"},null,8,["value"])):V("",!0),s.text?(y(),E("p",l3,W(s.text),1)):V("",!0)]),_:1},8,["title-tag","date-published","level","user-has-product","product-link"])}}}),Lc=s=>s.some(e=>e.type===Oh?!1:e.type===Ah?typeof e.children=="string"&&e.children.trim()!=="":e.type===q?Array.isArray(e.children)&&Lc(e.children):!0),c3=()=>{const s=Sh();return{slotHasContent:t=>{const i=s[t];return i?Lc(i()):!1}}},h3={class:"oeamtc oeamtc-layout-my-membership"},d3={class:"oeamtc-layout-my-membership__content oeamtc-flex-column-center"},f3={key:0,class:"oeamtc-layout-my-membership__breadcrumbs"},g3={class:"oeamtc-layout-my-membership__content-userdata"},p3={key:1,class:"oeamtc-layout-my-membership__overview oeamtc-flex-column-center"},m3={key:0,class:"oeamtc-layout-my-membership__overview-texts"},b3={key:0,class:"oeamtc-layout-my-membership__content"},_3={class:"oeamtc-layout-my-membership__details"},v3=G({__name:"MyMembership",props:{grayBackground:{type:Boolean,default:!0},showDetailsContent:{type:Boolean,default:!1}},setup(s){const{slotHasContent:e}=c3();return(t,i)=>(y(),E("div",h3,[(y(),j(mi(s.grayBackground?"div":"template"),{class:oe({"oeamtc-layout-my-membership--background":s.grayBackground})},{default:k(()=>[D("div",d3,[t.$slots.breadcrumbs?(y(),E("div",f3,[re(t.$slots,"breadcrumbs")])):V("",!0),D("div",g3,[re(t.$slots,"headline"),re(t.$slots,"userdata")]),_(e)("overview-headline")||_(e)("overview-text")||_(e)("overview-content")?(y(),E("div",p3,[_(e)("overview-headline")||_(e)("overview-text")?(y(),E("div",m3,[re(t.$slots,"overview-headline"),re(t.$slots,"overview-text")])):V("",!0),re(t.$slots,"overview-content")])):V("",!0)])]),_:3},8,["class"])),s.showDetailsContent?(y(),E("div",b3,[D("div",_3,[re(t.$slots,"details-headline"),re(t.$slots,"details-text"),re(t.$slots,"details-content")])])):V("",!0)]))}}),y3={class:"userdata"},w3=G({__name:"UserdataLoggedOut",props:{linkText:{default:"Jetzt einloggen »"},linkUrl:{default:"/mein-oeamtc/login"}},setup(s){const e=s,t=M(()=>e.linkUrl&&e.linkUrl!=="/mein-oeamtc/login"?e.linkUrl:typeof window<"u"?`/mein-oeamtc/login?redirect=${encodeURIComponent(window.location.href)}`:"/mein-oeamtc/login");return(i,r)=>(y(),E("div",y3,[r[0]||(r[0]=H(" Sie sind bereits ÖAMTC Mitglied?",-1)),r[1]||(r[1]=D("br",null,null,-1)),r[2]||(r[2]=H(" Alle persönlichen Infos zu Ihrer Mitgliedschaft und den Leistungen auf einen Blick! ",-1)),R(_(Ji),{href:_(t),"show-external-modal":!1},{default:k(()=>[H(W(s.linkText),1)]),_:1},8,["href"])]))}}),x3=""+new URL("oeamtc-clubkarte.BStoi0e6.png",import.meta.url).href,P3=""+new URL("oeamtc-clubkarte-monochrome.DRidyV8Q.png",import.meta.url).href;var $n={},Tr={},Vn={},ql;function Dt(){if(ql)return Vn;ql=1,Object.defineProperty(Vn,"__esModule",{value:!0});function s(t,i){if(!(t instanceof i))throw new TypeError("Cannot call a class as a function")}var e=function t(i,r){s(this,t),this.data=i,this.text=r.text||i,this.options=r};return Vn.default=e,Vn}var Zl;
86function k3(){if(Zl)return Tr;Zl=1,Object.defineProperty(Tr,"__esModule",{value:!0}),Tr.CODE39=void 0;var s=function(){function g(b,m){for(var v=0;v<m.length;v++){var x=m[v];x.enumerable=x.enumerable||!1,x.configurable=!0,"value"in x&&(x.writable=!0),Object.defineProperty(b,x.key,x)}}return function(b,m,v){return m&&g(b.prototype,m),v&&g(b,v),b}}(),e=Dt(),t=i(e);function i(g){return g&&g.__esModule?g:{default:g}}function r(g,b){if(!(g instanceof b))throw new TypeError("Cannot call a class as a function")}function n(g,b){if(!g)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return b&&(typeof b=="object"||typeof b=="function")?b:g}function a(g,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof b);g.prototype=Object.create(b&&b.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),b&&(Object.setPrototypeOf?Object.setPrototypeOf(g,b):g.__proto__=b)}var o=function(g){a(b,g);function b(m,v){return r(this,b),m=m.toUpperCase(),v.mod43&&(m+=f(p(m))),n(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,m,v))}return s(b,[{key:"encode",value:function(){for(var v=c("*"),x=0;x<this.data.length;x++)v+=c(this.data[x])+"0";return v+=c("*"),{data:v,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9A-Z\-\.\ \$\/\+\%]+$/)!==-1}}]),b}(t.default),l=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","*"],u=[20957,29783,23639,30485,20951,29813,23669,20855,29789,23645,29975,23831,30533,22295,30149,24005,21623,29981,23837,22301,30023,23879,30545,22343,30161,24017,21959,30065,23921,22385,29015,18263,29141,17879,29045,18293,17783,29021,18269,17477,17489,17681,20753,35770];function c(g){return h(d(g))}function h(g){return u[g].toString(2)}function f(g){return l[g]}function d(g){return l.indexOf(g)}function p(g){for(var b=0,m=0;m<g.length;m++)b+=d(g[m]);return b=b%43,b}return Tr.CODE39=o,Tr}var Et={},Yn={},Hn={},Ie={},Kl;function kn(){if(Kl)return Ie;Kl=1,Object.defineProperty(Ie,"__esModule",{value:!0});var s;function e(l,u,c){return u in l?Object.defineProperty(l,u,{value:c,enumerable:!0,configurable:!0,writable:!0}):l[u]=c,l}var t=Ie.SET_A=0,i=Ie.SET_B=1,r=Ie.SET_C=2;Ie.SHIFT=98;var n=Ie.START_A=103,a=Ie.START_B=104,o=Ie.START_C=105;return Ie.MODULO=103,Ie.STOP=106,Ie.FNC1=207,Ie.SET_BY_CODE=(s={},e(s,n,t),e(s,a,i),e(s,o,r),s),Ie.SWAP={101:t,100:i,99:r},Ie.A_START_CHAR="Ð",Ie.B_START_CHAR="Ñ",Ie.C_START_CHAR="Ò",Ie.A_CHARS="[\0-_È-Ï]",Ie.B_CHARS="[ -�È-Ï]",Ie.C_CHARS="(Ï*[0-9]{2}Ï*)",Ie.BARS=[11011001100,11001101100,11001100110,10010011e3,10010001100,10001001100,10011001e3,10011000100,10001100100,11001001e3,11001000100,11000100100,10110011100,10011011100,10011001110,10111001100,10011101100,10011100110,11001110010,11001011100,11001001110,11011100100,11001110100,11101101110,11101001100,11100101100,11100100110,11101100100,11100110100,11100110010,11011011e3,11011000110,11000110110,10100011e3,10001011e3,10001000110,10110001e3,10001101e3,10001100010,11010001e3,11000101e3,11000100010,10110111e3,10110001110,10001101110,10111011e3,10111000110,10001110110,11101110110,11010001110,11000101110,11011101e3,11011100010,11011101110,11101011e3,11101000110,11100010110,11101101e3,11101100010,11100011010,11101111010,11001000010,11110001010,1010011e4,10100001100,1001011e4,10010000110,10000101100,10000100110,1011001e4,10110000100,1001101e4,10011000010,10000110100,10000110010,11000010010,1100101e4,11110111010,11000010100,10001111010,10100111100,10010111100,10010011110,10111100100,10011110100,10011110010,11110100100,11110010100,11110010010,11011011110,11011110110,11110110110,10101111e3,10100011110,10001011110,10111101e3,10111100010,11110101e3,11110100010,10111011110,10111101110,11101011110,11110101110,11010000100,1101001e4,11010011100,1100011101011],Ie}var Jl;function Da(){if(Jl)return Hn;Jl=1,Object.defineProperty(Hn,"__esModule",{value:!0});var s=function(){function u(c,h){for(var f=0;f<h.length;f++){var d=h[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}return function(c,h,f){return h&&u(c.prototype,h),f&&u(c,f),c}}(),e=Dt(),t=r(e),i=kn();
86function r(u){return u&&u.__esModule?u:{default:u}}function n(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function a(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function o(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var l=function(u){o(c,u);function c(h,f){n(this,c);var d=a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,h.substring(1),f));return d.bytes=h.split("").map(function(p){return p.charCodeAt(0)}),d}return s(c,[{key:"valid",value:function(){return/^[\x00-\x7F\xC8-\xD3]+$/.test(this.data)}},{key:"encode",value:function(){var f=this.bytes,d=f.shift()-105,p=i.SET_BY_CODE[d];if(p===void 0)throw new RangeError("The encoding does not start with a start character.");this.shouldEncodeAsEan128()===!0&&f.unshift(i.FNC1);var g=c.next(f,1,p);return{text:this.text===this.data?this.text.replace(/[^\x20-\x7E]/g,""):this.text,data:c.getBar(d)+g.result+c.getBar((g.checksum+d)%i.MODULO)+c.getBar(i.STOP)}}},{key:"shouldEncodeAsEan128",value:function(){var f=this.options.ean128||!1;return typeof f=="string"&&(f=f.toLowerCase()==="true"),f}}],[{key:"getBar",value:function(f){return i.BARS[f]?i.BARS[f].toString():""}},{key:"correctIndex",value:function(f,d){if(d===i.SET_A){var p=f.shift();return p<32?p+64:p-32}else return d===i.SET_B?f.shift()-32:(f.shift()-48)*10+f.shift()-48}},{key:"next",value:function(f,d,p){if(!f.length)return{result:"",checksum:0};var g=void 0,b=void 0;if(f[0]>=200){b=f.shift()-105;var m=i.SWAP[b];m!==void 0?g=c.next(f,d+1,m):((p===i.SET_A||p===i.SET_B)&&b===i.SHIFT&&(f[0]=p===i.SET_A?f[0]>95?f[0]-96:f[0]:f[0]<32?f[0]+96:f[0]),g=c.next(f,d+1,p))}else b=c.correctIndex(f,p),g=c.next(f,d+1,p);var v=c.getBar(b),x=b*d;return{result:v+g.result,checksum:x+g.checksum}}}]),c}(t.default);return Hn.default=l,Hn}var Xn={},Ql;function T3(){if(Ql)return Xn;Ql=1,Object.defineProperty(Xn,"__esModule",{value:!0});var s=kn(),e=function(o){return o.match(new RegExp("^"+s.A_CHARS+"*"))[0].length},t=function(o){return o.match(new RegExp("^"+s.B_CHARS+"*"))[0].length},i=function(o){return o.match(new RegExp("^"+s.C_CHARS+"*"))[0]};function r(a,o){var l=o?s.A_CHARS:s.B_CHARS,u=a.match(new RegExp("^("+l+"+?)(([0-9]{2}){2,})([^0-9]|$)"));if(u)return u[1]+"Ì"+n(a.substring(u[1].length));var c=a.match(new RegExp("^"+l+"+"))[0];return c.length===a.length?a:c+String.fromCharCode(o?205:206)+r(a.substring(c.length),!o)}function n(a){var o=i(a),l=o.length;if(l===a.length)return a;a=a.substring(l);var u=e(a)>=t(a);return o+String.fromCharCode(u?206:205)+r(a,u)}return Xn.default=function(a){var o=void 0,l=i(a).length;if(l>=2)o=s.C_START_CHAR+n(a);else{var u=e(a)>t(a);o=(u?s.A_START_CHAR:s.B_START_CHAR)+r(a,u)}return o.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,function(c,h){return"Ë"+h})},Xn}var eu;function D3(){if(eu)return Yn;eu=1,Object.defineProperty(Yn,"__esModule",{value:!0});var s=Da(),e=r(s),t=T3(),i=r(t);function r(u){return u&&u.__esModule?u:{default:u}}function n(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function a(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function o(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var l=function(u){o(c,u);function c(h,f){if(n(this,c),/^[\x00-\x7F\xC8-\xD3]+$/.test(h))var d=a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,(0,i.default)(h),f));else var d=a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,h,f));return a(d)}return c}(e.default);return Yn.default=l,Yn}var Gn={},tu;function S3(){if(tu)return Gn;tu=1,Object.defineProperty(Gn,"__esModule",{value:!0});var s=function(){function u(c,h){for(var f=0;f<h.length;f++){var d=h[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}return function(c,h,f){return h&&u(c.prototype,h),f&&u(c,f),c}}(),e=Da(),t=r(e),i=kn();
86function r(u){return u&&u.__esModule?u:{default:u}}function n(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function a(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function o(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var l=function(u){o(c,u);function c(h,f){return n(this,c),a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,i.A_START_CHAR+h,f))}return s(c,[{key:"valid",value:function(){return new RegExp("^"+i.A_CHARS+"+$").test(this.data)}}]),c}(t.default);return Gn.default=l,Gn}var Un={},iu;function O3(){if(iu)return Un;iu=1,Object.defineProperty(Un,"__esModule",{value:!0});var s=function(){function u(c,h){for(var f=0;f<h.length;f++){var d=h[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}return function(c,h,f){return h&&u(c.prototype,h),f&&u(c,f),c}}(),e=Da(),t=r(e),i=kn();function r(u){return u&&u.__esModule?u:{default:u}}function n(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function a(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function o(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var l=function(u){o(c,u);function c(h,f){return n(this,c),a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,i.B_START_CHAR+h,f))}return s(c,[{key:"valid",value:function(){return new RegExp("^"+i.B_CHARS+"+$").test(this.data)}}]),c}(t.default);return Un.default=l,Un}var Wn={},ru;function A3(){if(ru)return Wn;ru=1,Object.defineProperty(Wn,"__esModule",{value:!0});var s=function(){function u(c,h){for(var f=0;f<h.length;f++){var d=h[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}return function(c,h,f){return h&&u(c.prototype,h),f&&u(c,f),c}}(),e=Da(),t=r(e),i=kn();function r(u){return u&&u.__esModule?u:{default:u}}function n(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function a(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function o(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var l=function(u){o(c,u);function c(h,f){return n(this,c),a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,i.C_START_CHAR+h,f))}return s(c,[{key:"valid",value:function(){return new RegExp("^"+i.C_CHARS+"+$").test(this.data)}}]),c}(t.default);return Wn.default=l,Wn}var nu;function C3(){if(nu)return Et;nu=1,Object.defineProperty(Et,"__esModule",{value:!0}),Et.CODE128C=Et.CODE128B=Et.CODE128A=Et.CODE128=void 0;var s=D3(),e=l(s),t=S3(),i=l(t),r=O3(),n=l(r),a=A3(),o=l(a);function l(u){return u&&u.__esModule?u:{default:u}}return Et.CODE128=e.default,Et.CODE128A=i.default,Et.CODE128B=n.default,Et.CODE128C=o.default,Et}var rt={},qn={},Ut={},su;function Tn(){return su||(su=1,Object.defineProperty(Ut,"__esModule",{value:!0}),Ut.SIDE_BIN="101",Ut.MIDDLE_BIN="01010",Ut.BINARIES={L:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],G:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"],R:["1110010","1100110","1101100","1000010","1011100","1001110","1010000","1000100","1001000","1110100"],O:["0001101","0011001","0010011","0111101","0100011","0110001","0101111","0111011","0110111","0001011"],E:["0100111","0110011","0011011","0100001","0011101","0111001","0000101","0010001","0001001","0010111"]}
86,Ut.EAN2_STRUCTURE=["LL","LG","GL","GG"],Ut.EAN5_STRUCTURE=["GGLLL","GLGLL","GLLGL","GLLLG","LGGLL","LLGGL","LLLGG","LGLGL","LGLLG","LLGLG"],Ut.EAN13_STRUCTURE=["LLLLLL","LLGLGG","LLGGLG","LLGGGL","LGLLGG","LGGLLG","LGGGLL","LGLGLG","LGLGGL","LGGLGL"]),Ut}var Zn={},Kn={},au;function Dn(){if(au)return Kn;au=1,Object.defineProperty(Kn,"__esModule",{value:!0});var s=Tn(),e=function(i,r,n){var a=i.split("").map(function(l,u){return s.BINARIES[r[u]]}).map(function(l,u){return l?l[i[u]]:""});if(n){var o=i.length-1;a=a.map(function(l,u){return u<o?l+n:l})}return a.join("")};return Kn.default=e,Kn}var ou;function Rc(){if(ou)return Zn;ou=1,Object.defineProperty(Zn,"__esModule",{value:!0});var s=function(){function h(f,d){for(var p=0;p<d.length;p++){var g=d[p];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(f,g.key,g)}}return function(f,d,p){return d&&h(f.prototype,d),p&&h(f,p),f}}(),e=Tn(),t=Dn(),i=a(t),r=Dt(),n=a(r);function a(h){return h&&h.__esModule?h:{default:h}}function o(h,f){if(!(h instanceof f))throw new TypeError("Cannot call a class as a function")}function l(h,f){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:h}function u(h,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);h.prototype=Object.create(f&&f.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(h,f):h.__proto__=f)}var c=function(h){u(f,h);function f(d,p){o(this,f);var g=l(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,d,p));return g.fontSize=!p.flat&&p.fontSize>p.width*10?p.width*10:p.fontSize,g.guardHeight=p.height+g.fontSize/2+p.textMargin,g}return s(f,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(p,g){return this.text.substr(p,g)}},{key:"leftEncode",value:function(p,g){return(0,i.default)(p,g)}},{key:"rightText",value:function(p,g){return this.text.substr(p,g)}},{key:"rightEncode",value:function(p,g){return(0,i.default)(p,g)}},{key:"encodeGuarded",value:function(){var p={fontSize:this.fontSize},g={height:this.guardHeight};return[{data:e.SIDE_BIN,options:g},{data:this.leftEncode(),text:this.leftText(),options:p},{data:e.MIDDLE_BIN,options:g},{data:this.rightEncode(),text:this.rightText(),options:p},{data:e.SIDE_BIN,options:g}]}},{key:"encodeFlat",value:function(){var p=[e.SIDE_BIN,this.leftEncode(),e.MIDDLE_BIN,this.rightEncode(),e.SIDE_BIN];return{data:p.join(""),text:this.text}}}]),f}(n.default);return Zn.default=c,Zn}var lu;function E3(){if(lu)return qn;lu=1,Object.defineProperty(qn,"__esModule",{value:!0});var s=function(){function h(f,d){for(var p=0;p<d.length;p++){var g=d[p];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(f,g.key,g)}}return function(f,d,p){return d&&h(f.prototype,d),p&&h(f,p),f}}(),e=function h(f,d,p){f===null&&(f=Function.prototype);var g=Object.getOwnPropertyDescriptor(f,d);if(g===void 0){var b=Object.getPrototypeOf(f);return b===null?void 0:h(b,d,p)}else{if("value"in g)return g.value;var m=g.get;return m===void 0?void 0:m.call(p)}},t=Tn(),i=Rc(),r=n(i);function n(h){return h&&h.__esModule?h:{default:h}}function a(h,f){if(!(h instanceof f))throw new TypeError("Cannot call a class as a function")}function o(h,f){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:h}function l(h,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);h.prototype=Object.create(f&&f.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(h,f):h.__proto__=f)}var u=function(f){var d=f.substr(0,12).split("").map(function(p){return+p}).reduce(function(p,g,b){return b%2?p+g*3:p+g},0);return(10-d%10)%10},c=function(h){l(f,h);function f(d,p){a(this,f),d.search(/^[0-9]{12}$/)!==-1&&(d+=u(d));var g=o(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,d,p));return g.lastChar=p.lastChar,g}return s(f,[{key:"valid",value:function(){return this.data.search(/^[0-9]{13}$/)!==-1&&+this.data[12]===u(this.data)}},{key:"leftText",value:function(){return e(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"leftText",this).call(this,1,6)}},{key:"leftEncode",value:function(){var p=this.data.substr(1,6),g=t.EAN13_STRUCTURE[this.data[0]];return e(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"leftEncode",this).call(this,p,g)}},{key:"rightText",value:function(){return e(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"rightText",this).call(this,7,6)}},{key:"rightEncode",value:function(){var p=this.data.substr(7,6);return e(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"rightEncode",this).call(this,p,"RRRRRR")}},{key:"encodeGuarded",value:function(){var p=e(f.prototype.__proto__||Object.getPrototypeOf(f.prototype),"encodeGuarded",this).call(this);return this.options.displayValue&&(p.unshift({data:"000000000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),this.options.lastChar&&(p.push({data:"00"}),p.push({data:"00000",text:this.options.lastChar,options:{fontSize:this.fontSize}}))),p}}]),f}(r.default);return qn.default=c,qn}var Jn={},uu;function M3(){if(uu)return Jn;uu=1,Object.defineProperty(Jn,"__esModule",{value:!0});var s=function(){function c(h,f){for(var d=0;d<f.length;d++){var p=f[d];p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(h,p.key,p)}}return function(h,f,d){return f&&c(h.prototype,f),d&&c(h,d),h}}(),e=function c(h,f,d){h===null&&(h=Function.prototype);var p=Object.getOwnPropertyDescriptor(h,f);if(p===void 0){var g=Object.getPrototypeOf(h);return g===null?void 0:c(g,f,d)}else{if("value"in p)return p.value;var b=p.get;return b===void 0?void 0:b.call(d)}},t=Rc(),i=r(t);function r(c){return c&&c.__esModule?c:{default:c}}function n(c,h){if(!(c instanceof h))throw new TypeError("Cannot call a class as a function")}function a(c,h){if(!c)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return h&&(typeof h=="object"||typeof h=="function")?h:c}function o(c,h){if(typeof h!="function"&&h!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof h);c.prototype=Object.create(h&&h.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}}),h&&(Object.setPrototypeOf?Object.setPrototypeOf(c,h):c.__proto__=h)}var l=function(h){var f=h.substr(0,7).split("").map(function(d){return+d}).reduce(function(d,p,g){return g%2?d+p:d+p*3},0);return(10-f%10)%10},u=function(c){o(h,c);function h(f,d){return n(this,h),f.search(/^[0-9]{7}$/)!==-1&&(f+=l(f)),a(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,f,d))}return s(h,[{key:"valid",value:function(){return this.data.search(/^[0-9]{8}$/)!==-1&&+this.data[7]===l(this.data)}},{key:"leftText",value:function(){return e(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"leftText",this).call(this,0,4)}},{key:"leftEncode",value:function(){var d=this.data.substr(0,4);return e(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"leftEncode",this).call(this,d,"LLLL")}},{key:"rightText",value:function(){return e(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"rightText",this).call(this,4,4)}},{key:"rightEncode",value:function(){var d=this.data.substr(4,4);return e(h.prototype.__proto__||Object.getPrototypeOf(h.prototype),"rightEncode",this).call(this,d,"RRRR")}}]),h}(i.default);return Jn.default=u,Jn}var Qn={},cu;function L3(){if(cu)return Qn;cu=1,Object.defineProperty(Qn,"__esModule",{value:!0});var s=function(){function f(d,p){for(var g=0;g<p.length;g++){var b=p[g];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(d,b.key,b)}}return function(d,p,g){return p&&f(d.prototype,p),g&&f(d,g),d}}(),e=Tn(),t=Dn(),i=a(t),r=Dt(),n=a(r);function a(f){return f&&f.__esModule?f:{default:f}}function o(f,d){if(!(f instanceof d))throw new TypeError("Cannot call a class as a function")}function l(f,d){if(!f)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:f}function u(f,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);f.prototype=Object.create(d&&d.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(f,d):f.__proto__=d)}var c=function(d){var p=d.split("").map(function(g){return+g}).reduce(function(g,b,m){return m%2?g+b*9:g+b*3},0);return p%10},h=function(f){u(d,f);function d(p,g){return o(this,d),l(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,p,g))}return s(d,[{key:"valid",value:function(){return this.data.search(/^[0-9]{5}$/)!==-1}},{key:"encode",value:function(){var g=e.EAN5_STRUCTURE[c(this.data)];return{data:"1011"+(0,i.default)(this.data,g,"01"),text:this.text}}}]),d}(n.default);return Qn.default=h,Qn}var es={},hu;function R3(){if(hu)return es;hu=1,Object.defineProperty(es,"__esModule",{value:!0});var s=function(){function h(f,d){for(var p=0;p<d.length;p++){var g=d[p];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(f,g.key,g)}}return function(f,d,p){return d&&h(f.prototype,d),p&&h(f,p),f}}(),e=Tn(),t=Dn(),i=a(t),r=Dt(),n=a(r);function a(h){return h&&h.__esModule?h:{default:h}}function o(h,f){if(!(h instanceof f))throw new TypeError("Cannot call a class as a function")}function l(h,f){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:h}function u(h,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);h.prototype=Object.create(f&&f.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(h,f):h.__proto__=f)}var c=function(h){u(f,h);function f(d,p){return o(this,f),l(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,d,p))}return s(f,[{key:"valid",value:function(){return this.data.search(/^[0-9]{2}$/)!==-1}},{key:"encode",value:function(){var p=e.EAN2_STRUCTURE[parseInt(this.data)%4];return{data:"1011"+(0,i.default)(this.data,p,"01"),text:this.text}}}]),f}(n.default);return es.default=c,es}var Dr={},du;function Ic(){if(du)return Dr;
86du=1,Object.defineProperty(Dr,"__esModule",{value:!0});var s=function(){function h(f,d){for(var p=0;p<d.length;p++){var g=d[p];g.enumerable=g.enumerable||!1,g.configurable=!0,"value"in g&&(g.writable=!0),Object.defineProperty(f,g.key,g)}}return function(f,d,p){return d&&h(f.prototype,d),p&&h(f,p),f}}();Dr.checksum=c;var e=Dn(),t=n(e),i=Dt(),r=n(i);function n(h){return h&&h.__esModule?h:{default:h}}function a(h,f){if(!(h instanceof f))throw new TypeError("Cannot call a class as a function")}function o(h,f){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return f&&(typeof f=="object"||typeof f=="function")?f:h}function l(h,f){if(typeof f!="function"&&f!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof f);h.prototype=Object.create(f&&f.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),f&&(Object.setPrototypeOf?Object.setPrototypeOf(h,f):h.__proto__=f)}var u=function(h){l(f,h);function f(d,p){a(this,f),d.search(/^[0-9]{11}$/)!==-1&&(d+=c(d));var g=o(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,d,p));return g.displayValue=p.displayValue,p.fontSize>p.width*10?g.fontSize=p.width*10:g.fontSize=p.fontSize,g.guardHeight=p.height+g.fontSize/2+p.textMargin,g}return s(f,[{key:"valid",value:function(){return this.data.search(/^[0-9]{12}$/)!==-1&&this.data[11]==c(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var p="";return p+="101",p+=(0,t.default)(this.data.substr(0,6),"LLLLLL"),p+="01010",p+=(0,t.default)(this.data.substr(6,6),"RRRRRR"),p+="101",{data:p,text:this.text}}},{key:"guardedEncoding",value:function(){var p=[];return this.displayValue&&p.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),p.push({data:"101"+(0,t.default)(this.data[0],"L"),options:{height:this.guardHeight}}),p.push({data:(0,t.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),p.push({data:"01010",options:{height:this.guardHeight}}),p.push({data:(0,t.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),p.push({data:(0,t.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&p.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),p}}]),f}(r.default);function c(h){var f=0,d;for(d=1;d<11;d+=2)f+=parseInt(h[d]);for(d=0;d<11;d+=2)f+=parseInt(h[d])*3;return(10-f%10)%10}return Dr.default=u,Dr}var ts={},fu;function I3(){if(fu)return ts;fu=1,Object.defineProperty(ts,"__esModule",{value:!0});var s=function(){function p(g,b){for(var m=0;m<b.length;m++){var v=b[m];v.enumerable=v.enumerable||!1,v.configurable=!0,"value"in v&&(v.writable=!0),Object.defineProperty(g,v.key,v)}}return function(g,b,m){return b&&p(g.prototype,b),m&&p(g,m),g}}(),e=Dn(),t=a(e),i=Dt(),r=a(i),n=Ic();function a(p){return p&&p.__esModule?p:{default:p}}function o(p,g){if(!(p instanceof g))throw new TypeError("Cannot call a class as a function")}function l(p,g){if(!p)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g&&(typeof g=="object"||typeof g=="function")?g:p}function u(p,g){if(typeof g!="function"&&g!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof g);p.prototype=Object.create(g&&g.prototype,{constructor:{value:p,enumerable:!1,writable:!0,configurable:!0}}),g&&(Object.setPrototypeOf?Object.setPrototypeOf(p,g):p.__proto__=g)}var c=["XX00000XXX","XX10000XXX","XX20000XXX","XXX00000XX","XXXX00000X","XXXXX00005","XXXXX00006","XXXXX00007","XXXXX00008","XXXXX00009"],h=[["EEEOOO","OOOEEE"],["EEOEOO","OOEOEE"],["EEOOEO","OOEEOE"],["EEOOOE","OOEEEO"],["EOEEOO","OEOOEE"],["EOOEEO","OEEOOE"],["EOOOEE","OEEEOO"],["EOEOEO","OEOEOE"],["EOEOOE","OEOEEO"],["EOOEOE","OEEOEO"]],f=function(p){u(g,p);function g(b,m){o(this,g);var v=l(this,(g.__proto__||Object.getPrototypeOf(g)).call(this,b,m));if(v.isValid=!1,b.search(/^[0-9]{6}$/)!==-1)v.middleDigits=b,v.upcA=d(b,"0"),v.text=m.text||""+v.upcA[0]+b+v.upcA[v.upcA.length-1],v.isValid=!0;else if(b.search(/^[01][0-9]{7}$/)!==-1)if(v.middleDigits=b.substring(1,b.length-1),v.upcA=d(v.middleDigits,b[0]),v.upcA[v.upcA.length-1]===b[b.length-1])v.isValid=!0;else return l(v);else return l(v);
86return v.displayValue=m.displayValue,m.fontSize>m.width*10?v.fontSize=m.width*10:v.fontSize=m.fontSize,v.guardHeight=m.height+v.fontSize/2+m.textMargin,v}return s(g,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var m="";return m+="101",m+=this.encodeMiddleDigits(),m+="010101",{data:m,text:this.text}}},{key:"guardedEncoding",value:function(){var m=[];return this.displayValue&&m.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),m.push({data:"101",options:{height:this.guardHeight}}),m.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),m.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&m.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),m}},{key:"encodeMiddleDigits",value:function(){var m=this.upcA[0],v=this.upcA[this.upcA.length-1],x=h[parseInt(v)][parseInt(m)];return(0,t.default)(this.middleDigits,x)}}]),g}(r.default);function d(p,g){for(var b=parseInt(p[p.length-1]),m=c[b],v="",x=0,w=0;w<m.length;w++){var P=m[w];P==="X"?v+=p[x++]:v+=P}return v=""+g+v,""+v+(0,n.checksum)(v)}return ts.default=f,ts}var gu;function B3(){if(gu)return rt;gu=1,Object.defineProperty(rt,"__esModule",{value:!0}),rt.UPCE=rt.UPC=rt.EAN2=rt.EAN5=rt.EAN8=rt.EAN13=void 0;var s=E3(),e=f(s),t=M3(),i=f(t),r=L3(),n=f(r),a=R3(),o=f(a),l=Ic(),u=f(l),c=I3(),h=f(c);function f(d){return d&&d.__esModule?d:{default:d}}return rt.EAN13=e.default,rt.EAN8=i.default,rt.EAN5=n.default,rt.EAN2=o.default,rt.UPC=u.default,rt.UPCE=h.default,rt}var Pi={},is={},Wi={},pu;function j3(){return pu||(pu=1,Object.defineProperty(Wi,"__esModule",{value:!0}),Wi.START_BIN="1010",Wi.END_BIN="11101",Wi.BINARIES=["00110","10001","01001","11000","00101","10100","01100","00011","10010","01010"]),Wi}var mu;function Bc(){if(mu)return is;mu=1,Object.defineProperty(is,"__esModule",{value:!0});var s=function(){function u(c,h){for(var f=0;f<h.length;f++){var d=h[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}return function(c,h,f){return h&&u(c.prototype,h),f&&u(c,f),c}}(),e=j3(),t=Dt(),i=r(t);function r(u){return u&&u.__esModule?u:{default:u}}function n(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function a(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function o(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var l=function(u){o(c,u);function c(){return n(this,c),a(this,(c.__proto__||Object.getPrototypeOf(c)).apply(this,arguments))}return s(c,[{key:"valid",value:function(){return this.data.search(/^([0-9]{2})+$/)!==-1}},{key:"encode",value:function(){var f=this,d=this.data.match(/.{2}/g).map(function(p){return f.encodePair(p)}).join("");return{data:e.START_BIN+d+e.END_BIN,text:this.text}}},{key:"encodePair",value:function(f){var d=e.BINARIES[f[1]];return e.BINARIES[f[0]].split("").map(function(p,g){return(p==="1"?"111":"1")+(d[g]==="1"?"000":"0")}).join("")}}]),c}(i.default);return is.default=l,is}var rs={},bu;function F3(){if(bu)return rs;bu=1,Object.defineProperty(rs,"__esModule",{value:!0});var s=function(){function u(c,h){for(var f=0;f<h.length;f++){var d=h[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}return function(c,h,f){return h&&u(c.prototype,h),f&&u(c,f),c}}(),e=Bc(),t=i(e);function i(u){return u&&u.__esModule?u:{default:u}}function r(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function n(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}
86function a(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var o=function(c){var h=c.substr(0,13).split("").map(function(f){return parseInt(f,10)}).reduce(function(f,d,p){return f+d*(3-p%2*2)},0);return Math.ceil(h/10)*10-h},l=function(u){a(c,u);function c(h,f){return r(this,c),h.search(/^[0-9]{13}$/)!==-1&&(h+=o(h)),n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,h,f))}return s(c,[{key:"valid",value:function(){return this.data.search(/^[0-9]{14}$/)!==-1&&+this.data[13]===o(this.data)}}]),c}(t.default);return rs.default=l,rs}var _u;function z3(){if(_u)return Pi;_u=1,Object.defineProperty(Pi,"__esModule",{value:!0}),Pi.ITF14=Pi.ITF=void 0;var s=Bc(),e=r(s),t=F3(),i=r(t);function r(n){return n&&n.__esModule?n:{default:n}}return Pi.ITF=e.default,Pi.ITF14=i.default,Pi}var vt={},ns={},vu;function Sn(){if(vu)return ns;vu=1,Object.defineProperty(ns,"__esModule",{value:!0});var s=function(){function u(c,h){for(var f=0;f<h.length;f++){var d=h[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}return function(c,h,f){return h&&u(c.prototype,h),f&&u(c,f),c}}(),e=Dt(),t=i(e);function i(u){return u&&u.__esModule?u:{default:u}}function r(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function n(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function a(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var o=function(u){a(c,u);function c(h,f){return r(this,c),n(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,h,f))}return s(c,[{key:"encode",value:function(){for(var f="110",d=0;d<this.data.length;d++){var p=parseInt(this.data[d]),g=p.toString(2);g=l(g,4-g.length);for(var b=0;b<g.length;b++)f+=g[b]=="0"?"100":"110"}return f+="1001",{data:f,text:this.text}}},{key:"valid",value:function(){return this.data.search(/^[0-9]+$/)!==-1}}]),c}(t.default);function l(u,c){for(var h=0;h<c;h++)u="0"+u;return u}return ns.default=o,ns}var ss={},Sr={},yu;function Sa(){if(yu)return Sr;
86yu=1,Object.defineProperty(Sr,"__esModule",{value:!0}),Sr.mod10=s,Sr.mod11=e;function s(t){for(var i=0,r=0;r<t.length;r++){var n=parseInt(t[r]);(r+t.length)%2===0?i+=n:i+=n*2%10+Math.floor(n*2/10)}return(10-i%10)%10}function e(t){for(var i=0,r=[2,3,4,5,6,7],n=0;n<t.length;n++){var a=parseInt(t[t.length-1-n]);i+=r[n%r.length]*a}return(11-i%11)%11}return Sr}var wu;function N3(){if(wu)return ss;wu=1,Object.defineProperty(ss,"__esModule",{value:!0});var s=Sn(),e=i(s),t=Sa();function i(l){return l&&l.__esModule?l:{default:l}}function r(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function n(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function a(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var o=function(l){a(u,l);function u(c,h){return r(this,u),n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c+(0,t.mod10)(c),h))}return u}(e.default);return ss.default=o,ss}var as={},xu;function $3(){if(xu)return as;xu=1,Object.defineProperty(as,"__esModule",{value:!0});var s=Sn(),e=i(s),t=Sa();function i(l){return l&&l.__esModule?l:{default:l}}function r(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function n(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function a(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var o=function(l){a(u,l);function u(c,h){return r(this,u),n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c+(0,t.mod11)(c),h))}return u}(e.default);return as.default=o,as}var os={},Pu;function V3(){if(Pu)return os;Pu=1,Object.defineProperty(os,"__esModule",{value:!0});var s=Sn(),e=i(s),t=Sa();function i(l){return l&&l.__esModule?l:{default:l}}function r(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function n(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function a(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var o=function(l){a(u,l);function u(c,h){return r(this,u),c+=(0,t.mod10)(c),c+=(0,t.mod10)(c),n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c,h))}return u}(e.default);return os.default=o,os}var ls={},ku;function Y3(){if(ku)return ls;ku=1,Object.defineProperty(ls,"__esModule",{value:!0});var s=Sn(),e=i(s),t=Sa();function i(l){return l&&l.__esModule?l:{default:l}}function r(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function n(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function a(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var o=function(l){a(u,l);function u(c,h){return r(this,u),c+=(0,t.mod11)(c),c+=(0,t.mod10)(c),n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c,h))}return u}(e.default);return ls.default=o,ls}var Tu;function H3(){if(Tu)return vt;
86Tu=1,Object.defineProperty(vt,"__esModule",{value:!0}),vt.MSI1110=vt.MSI1010=vt.MSI11=vt.MSI10=vt.MSI=void 0;var s=Sn(),e=c(s),t=N3(),i=c(t),r=$3(),n=c(r),a=V3(),o=c(a),l=Y3(),u=c(l);function c(h){return h&&h.__esModule?h:{default:h}}return vt.MSI=e.default,vt.MSI10=i.default,vt.MSI11=n.default,vt.MSI1010=o.default,vt.MSI1110=u.default,vt}var Or={},Du;function X3(){if(Du)return Or;Du=1,Object.defineProperty(Or,"__esModule",{value:!0}),Or.pharmacode=void 0;var s=function(){function l(u,c){for(var h=0;h<c.length;h++){var f=c[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}}return function(u,c,h){return c&&l(u.prototype,c),h&&l(u,h),u}}(),e=Dt(),t=i(e);function i(l){return l&&l.__esModule?l:{default:l}}function r(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function n(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function a(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var o=function(l){a(u,l);function u(c,h){r(this,u);var f=n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c,h));return f.number=parseInt(c,10),f}return s(u,[{key:"encode",value:function(){for(var h=this.number,f="";!isNaN(h)&&h!=0;)h%2===0?(f="11100"+f,h=(h-2)/2):(f="100"+f,h=(h-1)/2);return f=f.slice(0,-2),{data:f,text:this.text}}},{key:"valid",value:function(){return this.number>=3&&this.number<=131070}}]),u}(t.default);return Or.pharmacode=o,Or}var Ar={},Su;function G3(){if(Su)return Ar;Su=1,Object.defineProperty(Ar,"__esModule",{value:!0}),Ar.codabar=void 0;var s=function(){function l(u,c){for(var h=0;h<c.length;h++){var f=c[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}}return function(u,c,h){return c&&l(u.prototype,c),h&&l(u,h),u}}(),e=Dt(),t=i(e);function i(l){return l&&l.__esModule?l:{default:l}}function r(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function n(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function a(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var o=function(l){a(u,l);function u(c,h){r(this,u),c.search(/^[0-9\-\$\:\.\+\/]+$/)===0&&(c="A"+c+"A");var f=n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c.toUpperCase(),h));return f.text=f.options.text||f.text.replace(/[A-D]/g,""),f}return s(u,[{key:"valid",value:function(){return this.data.search(/^[A-D][0-9\-\$\:\.\+\/]+[A-D]$/)!==-1}},{key:"encode",value:function(){for(var h=[],f=this.getEncodings(),d=0;d<this.data.length;d++)h.push(f[this.data.charAt(d)]),d!==this.data.length-1&&h.push("0");return{text:this.text,data:h.join("")}}},{key:"getEncodings",value:function(){return{0:"101010011",1:"101011001",2:"101001011",3:"110010101",4:"101101001",5:"110101001",6:"100101011",7:"100101101",8:"100110101",9:"110100101","-":"101001101",$:"101100101",":":"1101011011","/":"1101101011",".":"1101101101","+":"1011011011",A:"1011001001",B:"1001001011",C:"1010010011",D:"1010011001"}}}]),u}(t.default);return Ar.codabar=o,Ar}var ki={},us={},qi={},Ou;function U3(){return Ou||(Ou=1,Object.defineProperty(qi,"__esModule",{value:!0}),qi.SYMBOLS=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","-","."," ","$","/","+","%","($)","(%)","(/)","(+)","ÿ"],qi.BINARIES=["100010100","101001000","101000100","101000010","100101000","100100100","100100010","101010000","100010010","100001010","110101000","110100100","110100010","110010100","110010010","110001010","101101000","101100100","101100010","100110100","100011010","101011000","101001100","101000110","100101100","100010110","110110100","110110010","110101100","110100110","110010110","110011010","101101100","101100110","100110110","100111010","100101110","111010100","111010010","111001010","101101110","101110110","110101110","100100110","111011010","111010110","100110010","101011110"],qi.MULTI_SYMBOLS={"\0":["(%)","U"],"�":["($)","A"],"�":["($)","B"],"�":["($)","C"],"�":["($)","D"],"�":["($)","E"],"�":["($)","F"],"\x07":["($)","G"],"\b":["($)","H"],"	":["($)","I"],"\n":["($)","J"],"\v":["($)","K"],"\f":["($)","L"],"\r":["($)","M"],"�":["($)","N"],"�":["($)","O"],"�":["($)","P"],"�":["($)","Q"],"�":["($)","R"],"�":["($)","S"],"�":["($)","T"],"�":["($)","U"],"�":["($)","V"],"�":["($)","W"],"�":["($)","X"],"�":["($)","Y"],"�":["($)","Z"],"\x1B":["(%)","A"],"�":["(%)","B"],"�":["(%)","C"],"�":["(%)","D"],"�":["(%)","E"],"!":["(/)","A"],'"':["(/)","B"],"#":["(/)","C"],"&":["(/)","F"],"'"
86:["(/)","G"],"(":["(/)","H"],")":["(/)","I"],"*":["(/)","J"],",":["(/)","L"],":":["(/)","Z"],";":["(%)","F"],"<":["(%)","G"],"=":["(%)","H"],">":["(%)","I"],"?":["(%)","J"],"@":["(%)","V"],"[":["(%)","K"],"\\":["(%)","L"],"]":["(%)","M"],"^":["(%)","N"],_:["(%)","O"],"`":["(%)","W"],a:["(+)","A"],b:["(+)","B"],c:["(+)","C"],d:["(+)","D"],e:["(+)","E"],f:["(+)","F"],g:["(+)","G"],h:["(+)","H"],i:["(+)","I"],j:["(+)","J"],k:["(+)","K"],l:["(+)","L"],m:["(+)","M"],n:["(+)","N"],o:["(+)","O"],p:["(+)","P"],q:["(+)","Q"],r:["(+)","R"],s:["(+)","S"],t:["(+)","T"],u:["(+)","U"],v:["(+)","V"],w:["(+)","W"],x:["(+)","X"],y:["(+)","Y"],z:["(+)","Z"],"{":["(%)","P"],"|":["(%)","Q"],"}":["(%)","R"],"~":["(%)","S"],"�":["(%)","T"]}),qi}var Au;function jc(){if(Au)return us;Au=1,Object.defineProperty(us,"__esModule",{value:!0});var s=function(){function u(c,h){for(var f=0;f<h.length;f++){var d=h[f];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(c,d.key,d)}}return function(c,h,f){return h&&u(c.prototype,h),f&&u(c,f),c}}(),e=U3(),t=Dt(),i=r(t);function r(u){return u&&u.__esModule?u:{default:u}}function n(u,c){if(!(u instanceof c))throw new TypeError("Cannot call a class as a function")}function a(u,c){if(!u)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return c&&(typeof c=="object"||typeof c=="function")?c:u}function o(u,c){if(typeof c!="function"&&c!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof c);u.prototype=Object.create(c&&c.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),c&&(Object.setPrototypeOf?Object.setPrototypeOf(u,c):u.__proto__=c)}var l=function(u){o(c,u);function c(h,f){return n(this,c),a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,h,f))}return s(c,[{key:"valid",value:function(){return/^[0-9A-Z\-. $/+%]+$/.test(this.data)}},{key:"encode",value:function(){var f=this.data.split("").flatMap(function(b){return e.MULTI_SYMBOLS[b]||b}),d=f.map(function(b){return c.getEncoding(b)}).join(""),p=c.checksum(f,20),g=c.checksum(f.concat(p),15);return{text:this.text,data:c.getEncoding("ÿ")+d+c.getEncoding(p)+c.getEncoding(g)+c.getEncoding("ÿ")+"1"}}}],[{key:"getEncoding",value:function(f){return e.BINARIES[c.symbolValue(f)]}},{key:"getSymbol",value:function(f){return e.SYMBOLS[f]}},{key:"symbolValue",value:function(f){return e.SYMBOLS.indexOf(f)}},{key:"checksum",value:function(f,d){var p=f.slice().reverse().reduce(function(g,b,m){var v=m%d+1;return g+c.symbolValue(b)*v},0);return c.getSymbol(p%47)}}]),c}(i.default);return us.default=l,us}var cs={},Cu;function W3(){if(Cu)return cs;Cu=1,Object.defineProperty(cs,"__esModule",{value:!0});var s=function(){function l(u,c){for(var h=0;h<c.length;h++){var f=c[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}}return function(u,c,h){return c&&l(u.prototype,c),h&&l(u,h),u}}(),e=jc(),t=i(e);function i(l){return l&&l.__esModule?l:{default:l}}function r(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function n(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function a(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var o=function(l){a(u,l);function u(c,h){return r(this,u),n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c,h))}return s(u,[{key:"valid",value:function(){return/^[\x00-\x7f]+$/.test(this.data)}}]),u}(t.default);return cs.default=o,cs}var Eu;function q3(){if(Eu)return ki;Eu=1,Object.defineProperty(ki,"__esModule",{value:!0}),ki.CODE93FullASCII=ki.CODE93=void 0;var s=jc(),e=r(s),t=W3(),i=r(t);function r(n){return n&&n.__esModule?n:{default:n}}return ki.CODE93=e.default,ki.CODE93FullASCII=i.default,ki}var Cr={},Mu;function Z3(){if(Mu)return Cr;
86Mu=1,Object.defineProperty(Cr,"__esModule",{value:!0}),Cr.GenericBarcode=void 0;var s=function(){function l(u,c){for(var h=0;h<c.length;h++){var f=c[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}}return function(u,c,h){return c&&l(u.prototype,c),h&&l(u,h),u}}(),e=Dt(),t=i(e);function i(l){return l&&l.__esModule?l:{default:l}}function r(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}function n(l,u){if(!l)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return u&&(typeof u=="object"||typeof u=="function")?u:l}function a(l,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof u);l.prototype=Object.create(u&&u.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),u&&(Object.setPrototypeOf?Object.setPrototypeOf(l,u):l.__proto__=u)}var o=function(l){a(u,l);function u(c,h){return r(this,u),n(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,c,h))}return s(u,[{key:"encode",value:function(){return{data:"10101010101010101010101010101010101010101",text:this.text}}},{key:"valid",value:function(){return!0}}]),u}(t.default);return Cr.GenericBarcode=o,Cr}var Lu;function K3(){if(Lu)return $n;Lu=1,Object.defineProperty($n,"__esModule",{value:!0});var s=k3(),e=C3(),t=B3(),i=z3(),r=H3(),n=X3(),a=G3(),o=q3(),l=Z3();return $n.default={CODE39:s.CODE39,CODE128:e.CODE128,CODE128A:e.CODE128A,CODE128B:e.CODE128B,CODE128C:e.CODE128C,EAN13:t.EAN13,EAN8:t.EAN8,EAN5:t.EAN5,EAN2:t.EAN2,UPC:t.UPC,UPCE:t.UPCE,ITF14:i.ITF14,ITF:i.ITF,MSI:r.MSI,MSI10:r.MSI10,MSI11:r.MSI11,MSI1010:r.MSI1010,MSI1110:r.MSI1110,pharmacode:n.pharmacode,codabar:a.codabar,CODE93:o.CODE93,CODE93FullASCII:o.CODE93FullASCII,GenericBarcode:l.GenericBarcode},$n}var hs={},Ru;function Oa(){if(Ru)return hs;Ru=1,Object.defineProperty(hs,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e};return hs.default=function(e,t){return s({},e,t)},hs}var ds={},Iu;function J3(){if(Iu)return ds;Iu=1,Object.defineProperty(ds,"__esModule",{value:!0}),ds.default=s;function s(e){var t=[];function i(r){if(Array.isArray(r))for(var n=0;n<r.length;n++)i(r[n]);else r.text=r.text||"",r.data=r.data||"",t.push(r)}return i(e),t}return ds}var fs={},Bu;function Q3(){if(Bu)return fs;Bu=1,Object.defineProperty(fs,"__esModule",{value:!0}),fs.default=s;function s(e){return e.marginTop=e.marginTop||e.margin,e.marginBottom=e.marginBottom||e.margin,e.marginRight=e.marginRight||e.margin,e.marginLeft=e.marginLeft||e.margin,e}return fs}var gs={},ps={},ms={},ju;function Fc(){if(ju)return ms;ju=1,Object.defineProperty(ms,"__esModule",{value:!0}),ms.default=s;function s(e){var t=["width","height","textMargin","fontSize","margin","marginTop","marginBottom","marginLeft","marginRight"];for(var i in t)t.hasOwnProperty(i)&&(i=t[i],typeof e[i]=="string"&&(e[i]=parseInt(e[i],10)));
86return typeof e.displayValue=="string"&&(e.displayValue=e.displayValue!="false"),e}return ms}var bs={},Fu;function zc(){if(Fu)return bs;Fu=1,Object.defineProperty(bs,"__esModule",{value:!0});var s={width:2,height:100,format:"auto",displayValue:!0,fontOptions:"",font:"monospace",text:void 0,textAlign:"center",textPosition:"bottom",textMargin:2,fontSize:20,background:"#ffffff",lineColor:"#000000",margin:10,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0,valid:function(){}};return bs.default=s,bs}var zu;function e7(){if(zu)return ps;zu=1,Object.defineProperty(ps,"__esModule",{value:!0});var s=Fc(),e=r(s),t=zc(),i=r(t);function r(a){return a&&a.__esModule?a:{default:a}}function n(a){var o={};for(var l in i.default)i.default.hasOwnProperty(l)&&(a.hasAttribute("jsbarcode-"+l.toLowerCase())&&(o[l]=a.getAttribute("jsbarcode-"+l.toLowerCase())),a.hasAttribute("data-"+l.toLowerCase())&&(o[l]=a.getAttribute("data-"+l.toLowerCase())));return o.value=a.getAttribute("jsbarcode-value")||a.getAttribute("data-value"),o=(0,e.default)(o),o}return ps.default=n,ps}var _s={},vs={},yt={},Nu;function Nc(){if(Nu)return yt;Nu=1,Object.defineProperty(yt,"__esModule",{value:!0}),yt.getTotalWidthOfEncodings=yt.calculateEncodingAttributes=yt.getBarcodePadding=yt.getEncodingHeight=yt.getMaximumHeightOfEncodings=void 0;var s=Oa(),e=t(s);function t(u){return u&&u.__esModule?u:{default:u}}function i(u,c){return c.height+(c.displayValue&&u.text.length>0?c.fontSize+c.textMargin:0)+c.marginTop+c.marginBottom}function r(u,c,h){if(h.displayValue&&c<u){if(h.textAlign=="center")return Math.floor((u-c)/2);if(h.textAlign=="left")return 0;if(h.textAlign=="right")return Math.floor(u-c)}return 0}function n(u,c,h){for(var f=0;f<u.length;f++){var d=u[f],p=(0,e.default)(c,d.options),g;p.displayValue?g=l(d.text,p,h):g=0;var b=d.data.length*p.width;d.width=Math.ceil(Math.max(g,b)),d.height=i(d,p),d.barcodePadding=r(g,b,p)}}function a(u){for(var c=0,h=0;h<u.length;h++)c+=u[h].width;return c}function o(u){for(var c=0,h=0;h<u.length;h++)u[h].height>c&&(c=u[h].height);return c}function l(u,c,h){var f;if(h)f=h;else if(typeof document<"u")f=document.createElement("canvas").getContext("2d");else return 0;f.font=c.fontOptions+" "+c.fontSize+"px "+c.font;var d=f.measureText(u);if(!d)return 0;var p=d.width;return p}return yt.getMaximumHeightOfEncodings=o,yt.getEncodingHeight=i,yt.getBarcodePadding=r,yt.calculateEncodingAttributes=n,yt.getTotalWidthOfEncodings=a,yt}var $u;function t7(){if($u)return vs;$u=1,Object.defineProperty(vs,"__esModule",{value:!0});var s=function(){function o(l,u){for(var c=0;c<u.length;c++){var h=u[c];h.enumerable=h.enumerable||!1,h.configurable=!0,"value"in h&&(h.writable=!0),Object.defineProperty(l,h.key,h)}}return function(l,u,c){return u&&o(l.prototype,u),c&&o(l,c),l}}(),e=Oa(),t=r(e),i=Nc();function r(o){return o&&o.__esModule?o:{default:o}}function n(o,l){if(!(o instanceof l))throw new TypeError("Cannot call a class as a function")}var a=function(){function o(l,u,c){n(this,o),this.canvas=l,this.encodings=u,this.options=c}return s(o,[{key:"render",value:function(){if(!this.canvas.getContext)throw new Error("The browser does not support canvas.");this.prepareCanvas();for(var u=0;u<this.encodings.length;u++){var c=(0,t.default)(this.options,this.encodings[u].options);this.drawCanvasBarcode(c,this.encodings[u]),this.drawCanvasText(c,this.encodings[u]),this.moveCanvasDrawing(this.encodings[u])}this.restoreCanvas()}},{key:"prepareCanvas",value:function(){var u=this.canvas.getContext("2d");u.save(),(0,i.calculateEncodingAttributes)(this.encodings,this.options,u);var c=(0,i.getTotalWidthOfEncodings)(this.encodings),h=(0,i.getMaximumHeightOfEncodings)(this.encodings);this.canvas.width=c+this.options.marginLeft+this.options.marginRight,this.canvas.height=h,u.clearRect(0,0,this.canvas.width,this.canvas.height),this.options.background&&(u.fillStyle=this.options.background,u.fillRect(0,0,this.canvas.width,this.canvas.height)),u.translate(this.options.marginLeft,0)}},{key:"drawCanvasBarcode",value:function(u,c){var h=this.canvas.getContext("2d"),f=c.data,d;u.textPosition=="top"?d=u.marginTop+u.fontSize+u.textMargin:d=u.marginTop,h.fillStyle=u.lineColor;for(var p=0;p<f.length;p++){var g=p*u.width+c.barcodePadding;f[p]==="1"?h.fillRect(g,d,u.width,u.height):f[p]&&h.fillRect(g,d,u.width,u.height*f[p])}}},{key:"drawCanvasText",value:function(u,c){var h=this.canvas.getContext("2d"),f=u.fontOptions+" "+u.fontSize+"px "+u.font;if(u.displayValue){var d,p;u.textPosition=="top"?p=u.marginTop+u.fontSize-u.textMargin:p=u.height+u.textMargin+u.marginTop+u.fontSize,h.font=f,u.textAlign=="left"||c.barcodePadding>0?(d=0,h.textAlign="left"):u.textAlign=="right"?(d=c.width-1,h.textAlign="right"):(d=c.width/2,h.textAlign="center"),h.fillText(c.text,d,p)}}},{key:"moveCanvasDrawing",value:function(u){var c=this.canvas.getContext("2d");c.translate(u.width,0)}},{key:"restoreCanvas",value:function(){var u=this.canvas.getContext("2d");
86u.restore()}}]),o}();return vs.default=a,vs}var ys={},Vu;function i7(){if(Vu)return ys;Vu=1,Object.defineProperty(ys,"__esModule",{value:!0});var s=function(){function l(u,c){for(var h=0;h<c.length;h++){var f=c[h];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}}return function(u,c,h){return c&&l(u.prototype,c),h&&l(u,h),u}}(),e=Oa(),t=r(e),i=Nc();function r(l){return l&&l.__esModule?l:{default:l}}function n(l,u){if(!(l instanceof u))throw new TypeError("Cannot call a class as a function")}var a="http://www.w3.org/2000/svg",o=function(){function l(u,c,h){n(this,l),this.svg=u,this.encodings=c,this.options=h,this.document=h.xmlDocument||document}return s(l,[{key:"render",value:function(){var c=this.options.marginLeft;this.prepareSVG();for(var h=0;h<this.encodings.length;h++){var f=this.encodings[h],d=(0,t.default)(this.options,f.options),p=this.createGroup(c,d.marginTop,this.svg);this.setGroupOptions(p,d),this.drawSvgBarcode(p,d,f),this.drawSVGText(p,d,f),c+=f.width}}},{key:"prepareSVG",value:function(){for(;this.svg.firstChild;)this.svg.removeChild(this.svg.firstChild);(0,i.calculateEncodingAttributes)(this.encodings,this.options);var c=(0,i.getTotalWidthOfEncodings)(this.encodings),h=(0,i.getMaximumHeightOfEncodings)(this.encodings),f=c+this.options.marginLeft+this.options.marginRight;this.setSvgAttributes(f,h),this.options.background&&this.drawRect(0,0,f,h,this.svg).setAttribute("style","fill:"+this.options.background+";")}},{key:"drawSvgBarcode",value:function(c,h,f){var d=f.data,p;h.textPosition=="top"?p=h.fontSize+h.textMargin:p=0;for(var g=0,b=0,m=0;m<d.length;m++)b=m*h.width+f.barcodePadding,d[m]==="1"?g++:g>0&&(this.drawRect(b-h.width*g,p,h.width*g,h.height,c),g=0);g>0&&this.drawRect(b-h.width*(g-1),p,h.width*g,h.height,c)}},{key:"drawSVGText",value:function(c,h,f){var d=this.document.createElementNS(a,"text");if(h.displayValue){var p,g;d.setAttribute("style","font:"+h.fontOptions+" "+h.fontSize+"px "+h.font),h.textPosition=="top"?g=h.fontSize-h.textMargin:g=h.height+h.textMargin+h.fontSize,h.textAlign=="left"||f.barcodePadding>0?(p=0,d.setAttribute("text-anchor","start")):h.textAlign=="right"?(p=f.width-1,d.setAttribute("text-anchor","end")):(p=f.width/2,d.setAttribute("text-anchor","middle")),d.setAttribute("x",p),d.setAttribute("y",g),d.appendChild(this.document.createTextNode(f.text)),c.appendChild(d)}}},{key:"setSvgAttributes",value:function(c,h){var f=this.svg;f.setAttribute("width",c+"px"),f.setAttribute("height",h+"px"),f.setAttribute("x","0px"),f.setAttribute("y","0px"),f.setAttribute("viewBox","0 0 "+c+" "+h),f.setAttribute("xmlns",a),f.setAttribute("version","1.1"),f.setAttribute("style","transform: translate(0,0)")}},{key:"createGroup",value:function(c,h,f){var d=this.document.createElementNS(a,"g");return d.setAttribute("transform","translate("+c+", "+h+")"),f.appendChild(d),d}},{key:"setGroupOptions",value:function(c,h){c.setAttribute("style","fill:"+h.lineColor+";")}},{key:"drawRect",value:function(c,h,f,d,p){var g=this.document.createElementNS(a,"rect");return g.setAttribute("x",c),g.setAttribute("y",h),g.setAttribute("width",f),g.setAttribute("height",d),p.appendChild(g),g}}]),l}();return ys.default=o,ys}var ws={},Yu;function r7(){if(Yu)return ws;Yu=1,Object.defineProperty(ws,"__esModule",{value:!0});var s=function(){function i(r,n){for(var a=0;a<n.length;a++){var o=n[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}return function(r,n,a){return n&&i(r.prototype,n),a&&i(r,a),r}}();function e(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}var t=function(){function i(r,n,a){e(this,i),this.object=r,this.encodings=n,this.options=a}return s(i,[{key:"render",value:function(){this.object.encodings=this.encodings}}]),i}();return ws.default=t,ws}var Hu;function n7(){if(Hu)return _s;Hu=1,Object.defineProperty(_s,"__esModule",{value:!0});var s=t7(),e=a(s),t=i7(),i=a(t),r=r7(),n=a(r);function a(o){return o&&o.__esModule?o:{default:o}}return _s.default={CanvasRenderer:e.default,SVGRenderer:i.default,ObjectRenderer:n.default},_s}var Zi={},Xu;function $c(){if(Xu)return Zi;Xu=1,Object.defineProperty(Zi,"__esModule",{value:!0});function s(a,o){if(!(a instanceof o))throw new TypeError("Cannot call a class as a function")}function e(a,o){if(!a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o&&(typeof o=="object"||typeof o=="function")?o:a}function t(a,o){if(typeof o!="function"&&o!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof o);a.prototype=Object.create(o&&o.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),o&&(Object.setPrototypeOf?Object.setPrototypeOf(a,o):a.__proto__=o)}var i=function(a){t(o,a);function o(l,u){s(this,o);
86var c=e(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return c.name="InvalidInputException",c.symbology=l,c.input=u,c.message='"'+c.input+'" is not a valid input for '+c.symbology,c}return o}(Error),r=function(a){t(o,a);function o(){s(this,o);var l=e(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return l.name="InvalidElementException",l.message="Not supported type to render on",l}return o}(Error),n=function(a){t(o,a);function o(){s(this,o);var l=e(this,(o.__proto__||Object.getPrototypeOf(o)).call(this));return l.name="NoElementException",l.message="No element to render on.",l}return o}(Error);return Zi.InvalidInputException=i,Zi.InvalidElementException=r,Zi.NoElementException=n,Zi}var Gu;function s7(){if(Gu)return gs;Gu=1,Object.defineProperty(gs,"__esModule",{value:!0});var s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c},e=e7(),t=a(e),i=n7(),r=a(i),n=$c();function a(c){return c&&c.__esModule?c:{default:c}}function o(c){if(typeof c=="string")return l(c);if(Array.isArray(c)){for(var h=[],f=0;f<c.length;f++)h.push(o(c[f]));return h}else{if(typeof HTMLCanvasElement<"u"&&c instanceof HTMLImageElement)return u(c);if(c&&c.nodeName&&c.nodeName.toLowerCase()==="svg"||typeof SVGElement<"u"&&c instanceof SVGElement)return{element:c,options:(0,t.default)(c),renderer:r.default.SVGRenderer};if(typeof HTMLCanvasElement<"u"&&c instanceof HTMLCanvasElement)return{element:c,options:(0,t.default)(c),renderer:r.default.CanvasRenderer};if(c&&c.getContext)return{element:c,renderer:r.default.CanvasRenderer};if(c&&(typeof c>"u"?"undefined":s(c))==="object"&&!c.nodeName)return{element:c,renderer:r.default.ObjectRenderer};throw new n.InvalidElementException}}function l(c){var h=document.querySelectorAll(c);if(h.length!==0){for(var f=[],d=0;d<h.length;d++)f.push(o(h[d]));return f}}function u(c){var h=document.createElement("canvas");return{element:h,options:(0,t.default)(c),renderer:r.default.CanvasRenderer,afterRender:function(){c.setAttribute("src",h.toDataURL())}}}return gs.default=o,gs}var xs={},Uu;function a7(){if(Uu)return xs;Uu=1,Object.defineProperty(xs,"__esModule",{value:!0});var s=function(){function i(r,n){for(var a=0;a<n.length;a++){var o=n[a];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}return function(r,n,a){return n&&i(r.prototype,n),a&&i(r,a),r}}();function e(i,r){if(!(i instanceof r))throw new TypeError("Cannot call a class as a function")}var t=function(){function i(r){e(this,i),this.api=r}return s(i,[{key:"handleCatch",value:function(n){if(n.name==="InvalidInputException")if(this.api._options.valid!==this.api._defaults.valid)this.api._options.valid(!1);else throw n.message;else throw n;this.api.render=function(){}}},{key:"wrapBarcodeCall",value:function(n){try{var a=n.apply(void 0,arguments);return this.api._options.valid(!0),a}catch(o){return this.handleCatch(o),this.api}}}]),i}();return xs.default=t,xs}var Ha,Wu;function o7(){if(Wu)return Ha;Wu=1;var s=K3(),e=m(s),t=Oa(),i=m(t),r=J3(),n=m(r),a=Q3(),o=m(a),l=s7(),u=m(l),c=Fc(),h=m(c),f=a7(),d=m(f),p=$c(),g=zc(),b=m(g);function m(S){return S&&S.__esModule?S:{default:S}}var v=function(){},x=function(B,C,$){var A=new v;if(typeof B>"u")throw Error("No element to render on was provided.");return A._renderProperties=(0,u.default)(B),A._encodings=[],A._options=b.default,A._errorHandler=new d.default(A),typeof C<"u"&&($=$||{},$.format||($.format=O()),A.options($)[$.format](C,$).render()),A};x.getModule=function(S){return e.default[S]};for(var w in e.default)e.default.hasOwnProperty(w)&&P(e.default,w);function P(S,B){v.prototype[B]=v.prototype[B.toUpperCase()]=v.prototype[B.toLowerCase()]=function(C,$){var A=this;return A._errorHandler.wrapBarcodeCall(function(){$.text=typeof $.text>"u"?void 0:""+$.text;var N=(0,i.default)(A._options,$);N=(0,h.default)(N);var z=S[B],te=T(C,z,N);return A._encodings.push(te),A})}}function T(S,B,C){S=""+S;var $=new B(S,C);if(!$.valid())throw new p.InvalidInputException($.constructor.name,S);var A=$.encode();A=(0,n.default)(A);for(var N=0;N<A.length;N++)A[N].options=(0,i.default)(C,A[N].options);return A}function O(){return e.default.CODE128?"CODE128":Object.keys(e.default)[0]}v.prototype.options=function(S){return this._options=(0,i.default)(this._options,S),this},v.prototype.blank=function(S){var B=new Array(S+1).join("0");return this._encodings.push({data:B}),this},v.prototype.init=function(){if(this._renderProperties){Array.isArray(this._renderProperties)||(this._renderProperties=[this._renderProperties]);var S;for(var B in this._renderProperties){S=this._renderProperties[B];var C=(0,i.default)(this._options,S.options);C.format=="auto"&&(C.format=O()),this._errorHandler.wrapBarcodeCall(function(){var $=C.value,A=e.default[C.format.toUpperCase()],N=T($,A,C);L(S,N,C)})}}},v.prototype.render=function(){if(!this._renderProperties)throw new p.NoElementException;if(Array.isArray(this._renderProperties))for(var S=0;S<this._renderProperties.length;S++)L(this._renderProperties[S],this._encodings,this._options);else L(this._renderProperties,this._encodings,this._options);return this},v.prototype._defaults=b.default;function L(S,B,C){B=(0,n.default)(B);for(var $=0;$<B.length;$++)B[$].options=(0,i.default)(C,B[$].options),(0,o.default)(B[$].options);(0,o.default)(C);var A=S.renderer,N=new A(S.element,B,C);N.render(),S.afterRender&&S.afterRender()}return typeof window<"u"&&(window.JsBarcode=x),typeof jQuery<"u"&&(jQuery.fn.Js
86Barcode=function(S,B){var C=[];return jQuery(this).each(function(){C.push(this)}),x(C,S,B)}),Ha=x,Ha}var l7=o7();const u7=y1(l7);/*! vue-barcode v2.0.2 | (c) 2018-present Chen Fengyuan | MIT */var c7=G({name:"VueBarcode",props:{value:{type:String,default:void 0},options:{type:Object,default:void 0},tag:{type:String,default:"canvas"}},watch:{$props:{deep:!0,immediate:!0,handler(){this.$el&&this.generate()}}},mounted(){this.generate()},methods:{generate(){u7(this.$el,String(this.value),this.options)}},render(){return Xa(this.tag,this.$slots.default)}});const h7={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function d7(s,e){return y(),E("svg",h7,[...e[0]||(e[0]=[D("path",{d:"M16 4c6.57 0 12 5.43 12 12 0 6.58-5.42 12-12 12S4 22.58 4 16C4 9.44 9.42 4 16 4m2.46 7.99-2.54 2.54L13.39 12c-.5-.5-1.09-.55-1.55-.08-.45.45-.37 1.05.1 1.52l2.53 2.53-2.4 2.4c-.47.47-.54 1.07-.08 1.52.45.46 1.04.41 1.53-.08l2.4-2.4 2.54 2.54c.48.48 1.06.55 1.51.1.46-.46.43-1.04-.07-1.54l-2.54-2.54 2.54-2.54c.49-.49.53-1.07.08-1.53-.46-.45-1.05-.38-1.52.09"},null,-1)])])}const Ps={render:d7},f7={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function g7(s,e){return y(),E("svg",f7,[...e[0]||(e[0]=[D("path",{d:"M16 4a12 12 0 1 1 0 24 12 12 0 0 1 0-24m4.94 8.47a1 1 0 0 0-1.32-.06l-.1.09-4.85 5.03-2.16-2.08a1 1 0 0 0-1.32-.06l-.1.08a1 1 0 0 0-.06 1.33l.09.09 2.76 2.66.05.04.07.08a1 1 0 0 0 1.32.06l.1-.09 5.55-5.75a1 1 0 0 0-.03-1.42"},null,-1)])])}const qu={render:g7},p7={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function m7(s,e){return y(),E("svg",p7,[...e[0]||(e[0]=[D("path",{d:"M16 4a12 12 0 1 1 0 24 12 12 0 0 1 0-24m0 15.43A1.29 1.29 0 1 0 16 22a1.29 1.29 0 0 0 0-2.57m0-8.57a1.51 1.51 0 0 0-1.52 1.56l.01.14.55 4.3a.97.97 0 0 0 1.9.11l.02-.1.54-4.3a1.52 1.52 0 0 0-1.5-1.71"},null,-1)])])}const b7={render:m7};var Wt=(s=>(s.VALID="VALID",s.PENDING="PENDING",s.INVALID="INVALID",s.INACTIVE="INACTIVE",s))(Wt||{});const _7={class:"userdata userdata--loggedin"},v7={class:"oeamtc-text__weight--bold oeamtc-text__size--large"},y7={class:"userdata-box oeamtc-margin--top-large"},w7={class:"userdata__clubcard"},x7={key:0,class:"userdata__clubcard-image",src:x3,alt:"ÖAMTC Clubkarte mit Mitgliedsdaten"},P7={key:1,class:"userdata__clubcard-image",src:P3,alt:"ÖAMTC Clubkarte in monochromen Farben"},k7={class:"userdata__clubcard-infos"},T7={class:"userdata__clubcard-value"},D7={class:"userdata__clubcard-value"},S7={class:"userdata__clubcard-value"},O7={key:0,class:"userdata__membership"},A7={class:"userdata__row"},C7={class:"userdata__column"},E7={class:"oeamtc-text__weight--bold"},M7={class:"userdata__row"},L7={class:"userdata__column"},R7={class:"userdata__details-link"},I7={key:1,class:"userdata__membership"},B7={class:"userdata__row"},j7={class:"userdata__row"},F7={class:"userdata__details-link"},z7=G({__name:"UserdataLoggedIn",props:{account:{},clubcard:{},productInfo:{}},setup(s){const e=s,t=M(()=>({displayValue:!1,height:37.5})),i=M(()=>!(!e.clubcard||typeof e.clubcard.number>"u"||e.clubcard.number.length===0)),r=M(()=>!!e.productInfo),n=M(()=>e.productInfo?e.productInfo.membership===Wt.VALID:!1),a=M(()=>{if(!e.account)return"Willkommen";const o=[];return e.account.salutation&&o.push(e.account.salutation),e.account.firstName&&o.push(e.account.firstName),e.account.lastName&&o.push(e.account.lastName),"Willkommen, "+o.join(" ")});return(o,l)=>{var u,c,h,f,d,p,g,b,m,v,x;return y(),E("div",_7,[D("span",v7,W(a.value),1),D("div",y7,[D("div",w7,[n.value?(y(),E("img",x7)):(y(),E("img",P7)),i.value?(y(),E(q,{key:2},[R(_(c7),{class:"userdata__barcode",tag:"svg",value:(u=s.clubcard)==null?void 0:u.number,options:t.value},null,8,["value","options"]),D("div",k7,[l[0]||(l[0]=D("span",{class:"userdata__clubcard-label"},"Name:",-1)),D("span",T7,W((c=s.clubcard)==null?void 0:c.name),1),l[1]||(l[1]=D("span",{class:"userdata__clubcard-label"},"Mitglied seit:",-1)),D("span",D7,W((h=s.clubcard)==null?void 0:h.since),1),l[2]||(l[2]=D("span",{class:"userdata__clubcard-label"},"Clubkarten-Nummer:",-1)),D("span",S7,[D("pre",null,W((f=s.clubcard)==null?void 0:f.formattedNumber)+"		"+W((d=s.clubcard)==null?void 0:d.category),1)])])],64)):V("",!0)]),r.value?(y(),E("div",O7,[D("div",A7,[e.productInfo.membership===_(Wt).VALID?(y(),j(_(qu),{key:0,height:"42",width:"42",viewBox:"0 0 32 32",class:"userdata__icon userdata__icon-checkmark"})):V("",!0),e.productInfo.membership!==_(Wt).VALID?(y(),j(_(Ps),{key:1,height:"42",width:"42",viewBox:"0 0 32 32",class:"userdata__icon userdata__icon-cross"})):V("",!0),D("div",C7,[D("span",E7,"Mitgliedschaft "+W((p=s.productInfo)==null?void 0:p.category),1),((g=e.productInfo)==null?void 0:g.sepa)===_(Wt).INACTIVE?(y(),j(_(Ji),{key:0,href:"/mein-oeamtc/mein-profil/zahlungsart-bearbeiten"},{default:k(()=>[...l[3]||(l[3]=[H(" SEPA-Lastschrift jetzt erteilen » ",-1)])]),_:1})):V("",!0)])]),l[8]||(l[8]=D("div",{class:"ueserdata__row-spacer"},null,-1)),D("div",M7,[((b=e.productInfo)==null?void 0:b.schutzbrief)===_(Wt).PENDING?(y(),E(q,{key:0},[R(_(b7),{height:"42",width:"42",viewBox:"0 0 32 32",class:"userdata__icon userdata__icon-important"}),l[4]||(l[4]=D("div",{class:"userdata__column"},[D("span",{class:"oeamtc-text__weight--bold"},"Schutzbrief"),D("span",{class:"oeamtc-text__color--danger"},[H(" Bezahlung offen."),D("br"),H(" Derzeit nicht leistungsberechtigt ")])],-1))],64)):(y(),E(q,{key:1},[((m=e.productInfo)==null?void 0:m.schutzbrief)===_(Wt).VALID?(y(),j(_(qu),{key:0,height:"42",width:"42",viewBox:"0 0 32 32",class:"userdata__icon userdata__icon-checkmark"}
86)):V("",!0),((v=e.productInfo)==null?void 0:v.schutzbrief)!==_(Wt).VALID?(y(),j(_(Ps),{key:1,height:"42",width:"42",viewBox:"0 0 32 32",class:"userdata__icon userdata__icon-cross"})):V("",!0),D("div",L7,[l[6]||(l[6]=D("span",{class:"oeamtc-text__weight--bold"},"Schutzbrief",-1)),((x=e.productInfo)==null?void 0:x.schutzbrief)===_(Wt).INACTIVE?(y(),j(_(Ji),{key:0,href:"/mitgliedschaft/leistungen/schutzbrief/unregistriert"},{default:k(()=>[...l[5]||(l[5]=[H("Jetzt bestellen »",-1)])]),_:1})):V("",!0)])],64))]),D("div",R7,[R(_(Ji),{href:"/mein-oeamtc",target:"_blank",rel:"noopener noreferrer"},{default:k(()=>[...l[7]||(l[7]=[H(" Alle Details auf Mein ÖAMTC » ",-1)])]),_:1})])])):(y(),E("div",I7,[D("div",B7,[R(_(Ps),{height:"42",width:"42",viewBox:"0 0 32 32",class:"userdata__icon userdata__icon-cross"}),l[9]||(l[9]=D("div",{class:"userdata__column"},[D("span",{class:"oeamtc-text__weight--bold"},"Mitgliedschaft")],-1))]),l[12]||(l[12]=D("div",{class:"ueserdata__row-spacer"},null,-1)),D("div",j7,[R(_(Ps),{height:"42",width:"42",viewBox:"0 0 32 32",class:"userdata__icon userdata__icon-cross"}),l[10]||(l[10]=D("div",{class:"userdata__column"},[D("span",{class:"oeamtc-text__weight--bold"},"Schutzbrief")],-1))]),D("div",F7,[R(_(Ji),{href:"/mitgliedschaft/mitglied-werden/",target:"_blank",rel:"noopener noreferrer",onClick:_(U5)},{default:k(()=>[...l[11]||(l[11]=[H(" Jetzt Mitglied werden » ",-1)])]),_:1},8,["onClick"])])])),l[13]||(l[13]=D("div",{class:"userdata__schutzbrief"},null,-1))])])}}}),N7={key:0,class:"userdata userdata--loading"},$7={class:"userdata-box oeamtc-margin--top-large"},V7={class:"userdata-loading-card"},Y7={class:"userdata__loading-membership"},H7={class:"userdata__loading-row"},X7={class:"userdata__loading-column"},G7={class:"userdata__loading-row"},U7={class:"userdata__loading-column"},W7=G({__name:"UserdataWrapper",setup(s){const e=ee(),t=ee(),i=ee(),r=ee(!1),{isLoading:n,isLoggedIn:a,user:o}=x1(),l=ee(!1),u=M(()=>n.value||l.value);return At(a,c=>{if(c&&o.value){l.value=!0;const{onResult:h,onError:f}=Ht(Mc,{accessToken:o.value.access_token});f(()=>{r.value=!0,l.value=!1}),h(d=>{d.data&&(e.value=d.data.AccountOidc,t.value=d.data.ClubCardOidc,i.value=d.data.ProductInfoOidc),l.value=!1})}}),(c,h)=>_(u)?(y(),E("div",N7,[R(_(le),{class:"userdata-loading-text"}),D("div",$7,[D("div",V7,[R(_(le),{class:"userdata__loading-card-image"})]),D("div",Y7,[D("div",H7,[D("div",X7,[R(_(le),{class:"userdata__loading-membership-title"})])]),D("div",G7,[D("div",U7,[R(_(le),{class:"userdata__loading-membership-title"})])]),R(_(le),{class:"userdata__loading-link"})])])])):(y(),E(q,{key:1},[_(r)?(y(),j(_(or),{key:0,icon:"",modifier:"danger",class:"oeamtc-margin--top-primary"},{contentSlot:k(()=>[D("div",null,[R(_(Je),{class:"oeamtc-headline__size--small oeamtc-text__line-height--medium","headline-level":"h2"},{default:k(()=>[...h[0]||(h[0]=[H(" Beim Laden der Benutzerdaten ist ein Fehler aufgetreten. ",-1)])]),_:1}),R(_(_n),null,{default:k(()=>[...h[1]||(h[1]=[H(" Bitte versuchen Sie es erneut. Sollte das Service nicht laden gibt es temporäre Probleme die nötigen Daten zu laden. ",-1)])]),_:1})])]),_:1})):(y(),E(q,{key:1},[_(a)?V("",!0):(y(),j(w3,{key:0})),_(a)?(y(),j(z7,{key:1,clubcard:_(t),account:_(e),"product-info":_(i)},null,8,["clubcard","account","product-info"])):V("",!0)],64))],64))}}),q7={key:0,class:"oeamtc-membership-addons__grid"},Z7=G({__name:"MembershipAddons",props:{addons:{}},setup(s){const{$isMobile:e}=ri(),t=s,i=M(()=>!!e||t.addons.length>3),r={scrollbar:!1,loop:!1,slidesPerView:1,shadow:!1,mobileSlidePeek:!0,roundCorners:!1,spaceBetween:20,breakpoints:{768:{slidesPerView:3,spaceBetween:0},1024:{slidesPerView:3,spaceBetween:0}}};return(n,a)=>{const o=_e("OeamtcCarouselSlide"),l=_e("OeamtcCarousel"),u=Ue;return y(),E("div",{class:oe(["oeamtc-membership-addons",{"oeamtc-membership-addons---slider":_(i)}])},[R(u,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-membership-addons__loader oeamtc-decoration__radius--double"})]),default:k(()=>[_(i)?(y(),j(l,{key:1,scrollbar:r.scrollbar,loop:r.loop,"slides-per-view":r.slidesPerView,shadow:r.shadow,breakpoints:r.breakpoints,"mobile-slide-peek":r.mobileSlidePeek,"round-corners":r.roundCorners,"navigation-outside":!_(e),navigation:!_(e),"space-between":r.spaceBetween},{default:k(()=>[(y(!0),E(q,null,ne(t.addons,(c,h)=>(y(),j(o,{key:h,class:"oeamtc-membership-addons__slider-slide"},{default:k(()=>[(y(),j(rr,{key:h,class:"oeamtc-product-teaser-box__teaser",title:c.title,"order-link":c.membershipInfo.orderLink,"product-link":_(et)(c),"date-published":c.frontendDate,image:c.image,price:c.membershipInfo.price,"contract-key":c.membershipInfo.contractKey,"footer-products":c.membershipInfo.footerProducts,"footer-text":c.membershipInfo.footerText,feature:c.membershipInfo.features},null,8,["title","order-link","product-link","date-published","image","price","contract-key","footer-products","footer-text","feature"]))]),_:2},1024))),128))]),_:1},8,["scrollbar","loop","slides-per-view","shadow","breakpoints","mobile-slide-peek","round-corners","navigation-outside","navigation","space-between"])):(y(),E("div",q7,[(y(!0),E(q,null,ne(t.addons,(c,h)=>(y(),j(rr,{key:h,class:"oeamtc-product-teaser-box__teaser",title:c.title,"order-link":c.membershipInfo.orderLink,"product-link":_(et)(c),"date-published":c.frontendDate,image:c.image,price:c.membershipInfo.price,"contract-key":c.membershipInfo.contractKey,"footer-products":c.membershipInfo.footerProducts,"footer-text":c.membershipInfo.footerText,feature:c.membershipInfo.features},null,8,["title","order-link","product-link","date-published","image","price","contract-key","footer-products","footer-text","feature"]))),128))]))]),_:1})],2)}}}),Uo=G({__name:"Breadcrumbs",props:{breadcrumbs:{},maxItems:{default:5},maxItemsMobile:{default:3}},setup(s){const e=s,t=M(()=>e.breadcrumbs.length===0?[]:e.breadcrumbs.map((r,n)=>{if(n===e.breadcrumbs.length-1){const{url:a,...o}=r;return o}return r})),i=r=>{r.url&&(window.location.href=r.url)};return(r,n)=>s.breadcrumbs.length>0?(y(),j(_(Ch),{key:0,items:t.value,"max-visible-items":s.maxItems,"max-visible-items-mobile":s.maxItemsMobile,onItemClick:i},null,8,["items","max-visible-items","max-visible-items-mobile"])):V("",!0)}});function Er(s,e){return!s||!e?null:e?e.find(t=>t.key===s):[]}const K7={class:"oeamtc-article-section oeamtc-membership-detail-section"},J7={key:0,class:"oeamtc-membership-breadcrumbs"},Q7={class:"oeamtc-membership-detail-section__footer-products oeamtc-margin--top-large"},e8=G({__name:"MembershipDetailSection",props:{article:{},id:{},structureLevel:{},title:{},parsedBodyText:{},articles:{},inlineImages:{default:()=>[]},inlineArticles:{default:()=>[]},labels:{},addonsTeasers:{},parentStructureLevel:{default:null},breadcrumbs:{default:()=>[]}},setup(s){const{isLoading:e,isLoggedIn:t,user:i}=x1(),r=s,n=ee(""),a=ee([]),o=ee(null),l=ee(!0);At(t,O=>{if(O&&i.value){const{onResult:L}=Ht(Mc,{accessToken:i.value.access_token});L(S=>{S.data&&(n.value=S.data.ClubCardOidc.category)})}});{const{onError:O,onResult:L}=Ht(o3,{name:"MitgliedschaftVerlinkungen",portal:941});L(S=>{S.data&&(a.value=S.data.LinkedMembershipConfiguration.addons,l.value=!1)}),O(S=>{o.value=S,l.value=!1})}const u=M(()=>{var O;return((O=r.articles)==null?void 0:O[0])??null}),c=M(()=>{var O,L,S;return((S=(L=(O=u.value)==null?void 0:O.teaser)==null?void 0:L.membershipInfo)==null?void 0:S.contractText)??""}),h=M(()=>{var O,L,S,B;return n.value===((B=(S=(L=(O=u.value)==null?void 0:O.teaser)==null?void 0:L.membershipInfo)==null?void 0:S.price)==null?void 0:B.contractKey)}),f=O=>Number.parseFloat(O),d=M(()=>e.value||l.value?"loading":o.value?"error":"success"),p=M(()=>{var O;return(O=Er("detail-headline-user",r.labels))==null?void 0:O.value}),g=M(()=>{var O;return(O=Er("detail-headline-become-member",r.labels))==null?void 0:O.value}),b=M(()=>{var O;return(O=Er("detail-text-become-member",r.labels))==null?void 0:O.value}),m=M(()=>{var O;return(O=Er("detail-headline-addons",r.labels))==null?void 0:O.value}),v=M(()=>{var O;return(O=Er("detail-text-addons",r.labels))==null?void 0:O.value}),x=M(()=>{const O=[];
86return r.addonsTeasers.forEach(L=>{a.value.includes(L.title.trim())&&O.push(L)}),O}),w=M(()=>h.value&&d.value==="success"&&x.value.length>0),P=M(()=>!e.value&&!h.value&&u.value!==null),T=M(()=>$e(r.structureLevel,r.parentStructureLevel));return(O,L)=>(y(),E("section",K7,[R(v3,null,{breadcrumbs:k(()=>[r.breadcrumbs&&r.breadcrumbs.length>0?(y(),E("div",J7,[R(Uo,{breadcrumbs:r.breadcrumbs,membership:!0},null,8,["breadcrumbs"])])):V("",!0)]),headline:k(()=>[p.value?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":T.value,"unique-id":"my-membership"},{default:k(()=>[H(W(p.value),1)]),_:1},8,["headline-level"])):V("",!0)]),userdata:k(()=>[R(W7)]),"overview-headline":k(()=>[_(e)?(y(),j(_(le),{key:0,class:"oeamtc-membership-detail-section__loading-headline"})):w.value&&m.value||P.value&&g.value?(y(),j(_(Je),{key:1,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":T.value,"unique-id":r.id},{default:k(()=>[w.value?(y(),E(q,{key:0},[H(W(m.value),1)],64)):P.value?(y(),E(q,{key:1},[H(W(g.value),1)],64)):V("",!0)]),_:1},8,["headline-level","unique-id"])):V("",!0)]),"overview-text":k(()=>[_(e)?(y(),j(_(le),{key:0,class:"oeamtc-membership-detail-section__loading-text"})):w.value&&v.value||P.value&&b.value?(y(),E("p",{key:1,class:oe({"oeamtc-margin--top-small":w.value&&m.value||P.value&&g.value})},[w.value?(y(),E(q,{key:0},[H(W(v.value),1)],64)):P.value?(y(),E(q,{key:1},[H(W(b.value),1)],64)):V("",!0)],2)):V("",!0)]),"overview-content":k(()=>{var S,B,C,$,A,N;return[_(e)||h.value&&(_(l)||d.value==="error")?(y(),j(_(Yr),{key:0,state:d.value,class:"oeamtc-membership-detail-section__state oeamtc-panel"},{loadingText:k(()=>[_(e)?(y(),E(q,{key:0},[H(" Daten werden geladen. Bitte haben Sie einen Moment Geduld. ")],64)):_(l)?(y(),E(q,{key:1},[H(" Ihre persönliche Auswahl an Zusatzpaketen wird geladen. Bitte haben Sie einen Moment Geduld ")],64)):V("",!0)]),headline:k(()=>[d.value==="error"?(y(),E(q,{key:0},[H(" Es ist ein Fehler aufgetreten. ")],64)):V("",!0)]),text:k(()=>[d.value==="error"?(y(),E(q,{key:0},[H(" Bitte versuchen Sie es erneut. Sollte das Service erneut nicht laden gibt es tempörare Probleme die nötigen Daten zu laden. ")],64)):V("",!0)]),_:1},8,["state"])):w.value?(y(),j(Z7,{key:1,addons:x.value},null,8,["addons"])):P.value?(y(),E(q,{key:2},[R(u3,{class:oe(["oeamtc-membership-detail-section__teaser",{"oeamtc-margin--top-large":w.value&&(m.value||v.value)||P.value&&(g.value||b.value)}]),title:s.article.title,"membership-info":(S=u.value.teaser)==null?void 0:S.membershipInfo,"date-published":(B=u.value.teaser)==null?void 0:B.frontendDate,"user-has-product":h.value,text:c.value},null,8,["class","title","membership-info","date-published","user-has-product","text"]),D("ul",Q7,[D("li",null,W(($=(C=u.value.teaser)==null?void 0:C.membershipInfo)==null?void 0:$.footerText),1),(y(!0),E(q,null,ne((N=(A=u.value.teaser)==null?void 0:A.membershipInfo)==null?void 0:N.footerProducts,(z,te)=>(y(),E("li",{key:te,class:"oeamtc-membership-detail-section__footer-product"},W(z.text)+" - "+W(f(z.price)?`€ ${("formatCurrency"in O?O.formatCurrency:_(a3))(f(z.price))}`:"GRATIS"),1))),128))])],64)):V("",!0)]}),_:1}),re(O.$slots,"default")]))}}),t8={class:"oeamtc-article-section--content-width"},i8=G({__name:"WebcomponentSection",props:{webcomponent:{},grayBackground:{type:Boolean,default:!1}},setup(s){return(e,t)=>{const i=Ue;return y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-webcomponent-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",t8,[R(i,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-article-section--webcomponent-loader oeamtc-decoration__radius--double"})]),default:k(()=>[(y(),j(mi(s.webcomponent)))]),_:1})]),re(e.$slots,"default")],2)}}}),r8={class:"oeamtc-article-section--content-width"},n8=G({__name:"CardTeaserSection",props:{id:{},title:{default:""},text:{default:""},articles:{},buttonText:{default:""},parsedLeadText:{default:""},structureLevel:{},parentStructureLevel:{default:void 0}
86,grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>{var a,o;return(a=e.articles)!=null&&a.length?(o=e.articles[0])==null?void 0:o.teaser:null}),i=M(()=>{var a;return((a=t.value)==null?void 0:a.parsedLeadText)??""}),r=M(()=>{var a;return((a=t.value)==null?void 0:a.image)??void 0}),n=M(()=>$e(e.structureLevel,e.parentStructureLevel));return(a,o)=>t.value?(y(),E("section",De({key:0},a.$attrs,{class:["oeamtc-article-section","oeamtc-article-section-card-teaser",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",r8,[R(ld,{class:oe({"oeamtc-margin--top-primary":!!s.title||!!s.text}),headline:t.value.title,"headline-tag":n.value,description:i.value,"button-link":_(et)(t.value),"button-text":s.buttonText,"link-target":t.value.linkTarget,image:r.value,"has-video":t.value.hasVideo,lazy:""},null,8,["class","headline","headline-tag","description","button-link","button-text","link-target","image","has-video"])]),re(a.$slots,"default")],16)):V("",!0)}}),s8={class:"oeamtc-article-section--content-width oeamtc-important-highlight-section__content"},a8={class:"oeamtc-important-highlight-section--paragraph"},o8=G({__name:"ImportantHighlightSection",props:{title:{},parsedBodyText:{},structureLevel:{},parentStructureLevel:{default:null},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>$e(e.structureLevel,e.parentStructureLevel)),i=M(()=>bt(e.structureLevel,e.parentStructureLevel));return(r,n)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-important-highlight-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",s8,[s.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-important-highlight-section--headline oeamtc-text__line-height--medium","headline-level":_(t)},{default:k(()=>[H(W(s.title),1)]),_:1},8,["headline-level"])):V("",!0),D("div",a8,[R(Re,{text:s.parsedBodyText,"headline-offset":_(i)},null,8,["text","headline-offset"])])]),re(r.$slots,"default")],2))}}),l8={class:"oeamtc-article-section--content-width oeamtc-file-list-section"},u8=G({__name:"FileSection",props:{files:{},grayBackground:{type:Boolean,default:!1}},setup(s){return(e,t)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-flex",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",l8,[(y(!0),E(q,null,ne(s.files,i=>(y(),j(_(ma),{key:i.url,"file-name":i.title,"file-size":i.size,"file-type":i.mimeType,"file-path":i.url,onClick:r=>_(Ta)(i)},null,8,["file-name","file-size","file-type","file-path","onClick"]))),128))]),re(e.$slots,"default")],2))}}),c8={class:"oeamtc-article-section--content-width"},h8=G({__name:"TableSection",props:{tables:{},structureLevel:{},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>$e(e.structureLevel,e.parentStructureLevel));return(i,r)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-table-list-section","oeamtc-flex",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",c8,[(y(!0),E(q,null,ne(s.tables,n=>(y(),j(Ec,{key:n.id,"table-data":n.data,"table-type":n.type,"table-header":n.tableHeader,"table-footer":n.tableFooter,"show-legend":n.showLegend,"single-color":n.singleColor,"mobile-unresponsive":n.mobileUnresponsive,"headline-level":_(t)},mt({_:2},[n.title?{name:"headline",fn:k(()=>[H(W(n.title),1)]),key:"0"}:void 0,n.description?{name:"description",fn:k(()=>[H(W(n.description),1)]),key:"1"}:void 0]),1032,["table-data","table-type","table-header","table-footer","show-legend","single-color","mobile-unresponsive","headline-level"]))),128))]),re(i.$slots,"default")],2))}}),d8={xmlns:"http://www.w3.org/2000/svg",width:"119.664",height:"40"};function f8(s,e){return y(),E("svg",d8,[...e[0]||(e[0]=[bn('<path d="M110.135 0H9.535Q8.986 0 8.44.002q-.457.004-.919.013A13 13 0 0 0 5.517.19a6.7 6.7 0 0 0-1.9.627 6.4 6.4 0 0 0-1.62 1.18A6.3 6.3 0 0 0 .82 3.617 6.6 6.6 0 0 0 .195 5.52a13 13 0 0 0-.179 2.002c-.01.307-.01.615-.015.921V31.56c.005.31.006.61.015.921a13 13 0 0 0 .18 2.002 6.6 6.6 0 0 0 .624 1.905A6.2 6.2 0 0 0 1.998 38a6.3 6.3 0 0 0 1.618 1.179 6.7 6.7 0 0 0 1.901.63 13.5 13.5 0 0 0 2.004.177c.31.007.613.011.919.011.366.002.728.002 1.095.002h100.6c.36 0 .724 0 1.084-.002.304 0 .617-.004.922-.01a13 13 0 0 0 2-.178 6.8 6.8 0 0 0 1.908-.63A6.3 6.3 0 0 0 117.666 38a6.4 6.4 0 0 0 1.182-1.614 6.6 6.6 0 0 0 .619-1.905 13.5 13.5 0 0 0 .185-2.002c.004-.31.004-.61.004-.921.008-.364.008-.725.008-1.094V9.536q.002-.549-.008-1.092.001-.46-.004-.92a13.5 13.5 0 0 0-.185-2.003 6.6 6.6 0 0 0-.62-1.903 6.47 6.47 0 0 0-2.798-2.8 6.8 6.8 0 0 0-1.908-.627 13 13 0 0 0-2-.176c-.305-.005-.618-.011-.922-.013-.36-.002-.725-.002-1.084-.002" style="fill:#a6a6a6;"></path><path d="M8.445 39.125c-.305 0-.602-.004-.904-.01a13 13 0 0 1-1.87-.164 5.9 5.9 0 0 1-1.656-.548 5.4 5.4 0 0 1-1.397-1.016 5.3 5.3 0 0 1-1.02-1.397 5.7 5.7 0 0 1-.544-1.657 12.4 12.4 0 0 1-.166-1.875c-.007-.21-.015-.913-.015-.913v-23.1s.009-.692.015-.895a12.4 12.4 0 0 1 .165-1.872 5.8 5.8 0 0 1 .544-1.662 5.4 5.4 0 0 1 1.015-1.398 5.6 5.6 0 0 1 1.402-1.023 5.8 5.8 0 0 1 1.653-.544A12.6 12.6 0 0 1 7.543.887l.902-.012h102.769l.913.013a12.4 12.4 0 0 1 1.858.162 6 6 0 0 1 1.671.548 5.6 5.6 0 0 1 2.415 2.42 5.8 5.8 0 0 1 .535 1.649 13 13 0 0 1 .174 1.887c.003.283.003.588.003.89.008.375.008.732.008 1.092v20.929c0 .363 0 .718-.008 1.075 0 .325 0 .623-.004.93a13 13 0 0 1-.17 1.853 5.7 5.7 0 0 1-.54 1.67 5.5 5.5 0 0 1-1.016 1.386 5.4 5.4 0 0 1-1.4 1.022 5.9 5.9 0 0 1-1.668.55 12.5 12.5 0 0 1-1.869.163c-.293.007-.6.011-.897.011l-1.084.002Z"></path><g data-name="&lt;Group&gt;"><g data-name="&lt;Group&gt;"><path d="M24.769 20.3a4.95 4.95 0 0 1 2.356-4.151 5.07 5.07 0 0 0-3.99-2.158c-1.68-.176-3.308 1.005-4.164 1.005-.872 0-2.19-.988-3.608-.958a5.32 5.32 0 0 0-4.473 2.728c-1.934 3.348-.491 8.269 1.361 10.976.927 1.325 2.01 2.805 3.428 2.753 1.387-.058 1.905-.885 3.58-.885 1.658 0 2.144.885 3.59.852 1.489-.025 2.426-1.332 3.32-2.67a11 11 0 0 0 1.52-3.092 4.78 4.78 0 0 1-2.92-4.4m-2.732-8.09a4.87 4.87 0 0 0 1.115-3.49 4.96 4.96 0 0 0-3.208 1.66 4.64 4.64 0 0 0-1.144 3.36 4.1 4.1 0 0 0 3.237-1.53" data-name="&lt;Path&gt;" style="fill:#fff;"></path></g><path d="M42.302 27.14H37.57l-1.137 3.356h-2.005l4.484-12.418h2.083l4.483 12.418h-2.039Zm-4.243-1.55h3.752l-1.85-5.446h-.051Zm17.101.38c0 2.813-1.506 4.62-3.779 4.62a3.07 3.07 0 0 1-2.848-1.583h-.043v4.484h-1.86V21.442h1.8v1.506h.033a3.21 3.21 0 0 1 2.883-1.6c2.298 0 3.813 1.816 3.813 4.622Zm-1.91 0c0-1.833-.948-3.038-2.393-3.038-1.42 0-2.375 1.23-2.375 3.038 0 1.824.955 3.046 2.375 3.046 1.445 0 2.393-1.
86197 2.393-3.046m11.875 0c0 2.813-1.506 4.62-3.779 4.62a3.07 3.07 0 0 1-2.848-1.583h-.043v4.484h-1.859V21.442h1.799v1.506h.034a3.21 3.21 0 0 1 2.883-1.6c2.298 0 3.813 1.816 3.813 4.622m-1.91 0c0-1.833-.948-3.038-2.393-3.038-1.42 0-2.375 1.23-2.375 3.038 0 1.824.955 3.046 2.375 3.046 1.445 0 2.392-1.197 2.392-3.046Zm8.495 1.066c.138 1.232 1.334 2.04 2.97 2.04 1.566 0 2.693-.808 2.693-1.919 0-.964-.68-1.54-2.29-1.936l-1.609-.388c-2.28-.55-3.339-1.617-3.339-3.348 0-2.142 1.867-3.614 4.519-3.614 2.624 0 4.423 1.472 4.483 3.614h-1.876c-.112-1.239-1.136-1.987-2.634-1.987s-2.521.757-2.521 1.858c0 .878.654 1.395 2.255 1.79l1.368.336c2.548.603 3.606 1.626 3.606 3.443 0 2.323-1.85 3.778-4.793 3.778-2.754 0-4.614-1.42-4.734-3.667ZM83.346 19.3v2.142h1.722v1.472h-1.722v4.991c0 .776.345 1.137 1.102 1.137a6 6 0 0 0 .611-.043v1.463a5 5 0 0 1-1.032.086c-1.833 0-2.548-.689-2.548-2.445v-5.189h-1.316v-1.472h1.316V19.3Zm2.719 6.67c0-2.849 1.678-4.639 4.294-4.639 2.625 0 4.295 1.79 4.295 4.639 0 2.856-1.661 4.638-4.295 4.638s-4.294-1.782-4.294-4.638m6.695 0c0-1.954-.895-3.108-2.401-3.108s-2.4 1.162-2.4 3.108c0 1.962.894 3.106 2.4 3.106s2.401-1.144 2.401-3.106m3.426-4.528h1.773v1.541h.043a2.16 2.16 0 0 1 2.177-1.635 3 3 0 0 1 .637.069v1.738a2.6 2.6 0 0 0-.835-.112 1.873 1.873 0 0 0-1.937 2.083v5.37h-1.858Zm13.198 6.395c-.25 1.643-1.85 2.771-3.898 2.771-2.634 0-4.269-1.764-4.269-4.595 0-2.84 1.644-4.682 4.19-4.682 2.506 0 4.08 1.72 4.08 4.466v.637h-6.394v.112a2.358 2.358 0 0 0 2.436 2.564 2.05 2.05 0 0 0 2.09-1.273Zm-6.282-2.702h4.526a2.177 2.177 0 0 0-2.22-2.298 2.29 2.29 0 0 0-2.306 2.298" style="fill:#fff;"></path></g><path d="M39.393 14.698H35.67V8.73h.927v5.115h2.795Zm.937-1.274c0-.81.603-1.278 1.674-1.344l1.22-.07v-.389c0-.475-.315-.744-.922-.744-.496 0-.84.182-.939.5h-.86c.09-.773.818-1.27 1.84-1.27 1.129 0 1.765.563 1.765 1.514v3.077h-.855v-.633h-.07a1.52 1.52 0 0 1-1.353.707 1.36 1.36 0 0 1-1.5-1.348m2.894-.384v-.377l-1.1.07c-.62.042-.901.253-.901.65 0 .405.351.64.835.64a1.06 1.06 0 0 0 1.166-.983m2.052-.596c0-1.423.732-2.324 1.87-2.324a1.48 1.48 0 0 1 1.38.79h.067V8.437h.888v6.26h-.851v-.71h-.07a1.56 1.56 0 0 1-1.414.785c-1.146 0-1.87-.901-1.87-2.328m.918 0c0 .955.45 1.53 1.204 1.53.749 0 1.211-.583 1.211-1.526 0-.938-.467-1.53-1.211-1.53-.749 0-1.204.58-1.204 1.526m8.553 1.038a1.83 1.83 0 0 1-1.951 1.303 2.045 2.045 0 0 1-2.08-2.325 2.077 2.077 0 0 1 2.076-2.352c1.253 0 2.009.856 2.009 2.27v.31h-3.18v.05a1.19 1.19 0 0 0 1.2 1.29 1.08 1.08 0 0 0 1.07-.546Zm-3.126-1.451h2.275a1.086 1.086 0 0 0-1.109-1.167 1.15 1.15 0 0 0-1.166 1.167m4.373-1.836h.856v.715h.066a1.35 1.35 0 0 1 1.344-.802 1.465 1.465 0 0 1 1.558 1.675v2.915h-.888v-2.692c0-.724-.315-1.084-.972-1.084a1.033 1.033 0 0 0-1.075 1.141v2.635h-.889Zm7.526-1.332a.576.576 0 1 1 .575.542.547.547 0 0 1-.575-.542m.132 1.332h.885v4.503h-.885Zm2.319 0h.856v.723h.066a1.364 1.364 0 0 1 2.493 0h.07a1.46 1.46 0 0 1 1.37-.81 1.338 1.338 0 0 1 1.438 1.488v3.102h-.888v-2.87c0-.608-.29-.906-.873-.906a.91.91 0 0 0-.95.943v2.833h-.874V11.74a.785.785 0 0 0-.868-.819.97.97 0 0 0-.951 1.022v2.754h-.889Z" data-name="&lt;Group&gt;" style="fill:#fff;"></path>',4)])])}const g8={render:f8},p8={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 135 40"};function m8(s,e){return y(),E("svg",p8,[...e[0]||(e[0]=[bn('<rect width="135" height="40" rx="5" ry="5"></rect><path fill="#a6a6a6" d="M130 .8a4.2 4.2 0 0 1 4.2 4.2v30a4.2 4.2 0 0 1-4.2 4.2H5A4.2 4.2 0 0 1 .8 35V5A4.2 4.2 0 0 1 5 .8zm0-.8H5C2.25 0 0 2.25 0 5v30c0 2.75 2.25 5 5 5h125c2.75 0 5-2.25 5-5V5c0-2.75-2.25-5-5-5"></path><path fill="#fff" d="M68.14 21.75c-2.35 0-4.27 1.79-4.27 4.25s1.92 4.25 4.27 4.25 4.27-1.8 4.27-4.25-1.92-4.25-4.27-4.25m0 6.83c-1.29 0-2.4-1.06-2.4-2.58s1.11-2.58 2.4-2.58 2.4 1.05 2.4 2.58-1.11 2.58-2.4 2.58m-9.32-6.83c-2.35 0-4.27 1.79-4.27 4.25s1.92 4.25 4.27 4.25 4.27-1.8 4.27-4.25-1.92-4.25-4.27-4.25m0 6.83c-1.29 0-2.4-1.06-2.4-2.58s1.11-2.58 2.4-2.58 2.4 1.05 2.4 2.58-1.11 2.58-2.4 2.58m-11.08-5.52v1.8h4.32c-.13 1.02-.47 1.76-.98 2.27-.63.63-1.61 1.32-3.33 1.32-2.66 0-4.74-2.14-4.74-4.8s2.08-4.8 4.74-4.8c1.43 0 2.48.56 3.25 1.29l1.27-1.27c-1.08-1.03-2.51-1.82-4.53-1.82-3.64 0-6.7 2.96-6.7 6.61s3.06 6.61 6.7 6.61c1.97 0 3.45-.64 4.61-1.85 1.19-1.19 1.56-2.87 1.56-4.22 0-.42-.03-.81-.1-1.13h-6.07Zm45.31 1.4c-.35-.95-1.43-2.71-3.64-2.71S85.4 23.47 85.4 26c0 2.38 1.8 4.25 4.22 4.25 1.95 0 3.08-1.19 3.54-1.88l-1.45-.97c-.48.71-1.14 1.18-2.09 1.18s-1.63-.44-2.06-1.29l5.69-2.35-.
8619-.48Zm-5.8 1.42c-.05-1.64 1.27-2.48 2.22-2.48.74 0 1.37.37 1.58.9zM82.63 30h1.87V17.5h-1.87zm-3.06-7.3h-.06c-.42-.5-1.22-.95-2.24-.95-2.13 0-4.08 1.87-4.08 4.27s1.95 4.24 4.08 4.24c1.02 0 1.82-.45 2.24-.97h.06v.61c0 1.63-.87 2.5-2.27 2.5-1.14 0-1.85-.82-2.14-1.51l-1.63.68c.47 1.13 1.71 2.51 3.77 2.51 2.19 0 4.04-1.29 4.04-4.43v-7.64h-1.77zm-2.15 5.88c-1.29 0-2.37-1.08-2.37-2.56s1.08-2.59 2.37-2.59 2.27 1.1 2.27 2.59-1 2.56-2.27 2.56m24.39-11.08h-4.47V30h1.87v-4.74h2.61c2.07 0 4.1-1.5 4.1-3.88s-2.03-3.88-4.1-3.88Zm.04 6.02H99.2v-4.29h2.65c1.4 0 2.19 1.16 2.19 2.14s-.79 2.14-2.19 2.14Zm11.54-1.79c-1.35 0-2.75.6-3.33 1.91l1.66.69c.35-.69 1.01-.92 1.7-.92.96 0 1.95.58 1.96 1.61v.13c-.34-.19-1.06-.48-1.95-.48-1.79 0-3.6.98-3.6 2.81 0 1.67 1.46 2.75 3.1 2.75 1.25 0 1.95-.56 2.38-1.22h.06v.97h1.8v-4.79c0-2.22-1.66-3.46-3.8-3.46Zm-.23 6.85c-.61 0-1.46-.31-1.46-1.06 0-.96 1.06-1.33 1.98-1.33.82 0 1.21.18 1.7.42a2.26 2.26 0 0 1-2.22 1.98ZM123.74 22l-2.14 5.42h-.06L119.32 22h-2.01l3.33 7.58-1.9 4.21h1.95L125.82 22h-2.07Zm-16.8 8h1.87V17.5h-1.87z"></path><path fill="#ea4335" d="m20.72 19.42-10.65 11.3a2.877 2.877 0 0 0 4.24 1.73l.03-.02 11.98-6.91-5.61-6.11Z"></path><path fill="#fbbc04" d="M31.49 17.5h-.01l-5.17-3.01-5.83 5.19 5.85 5.85 5.15-2.97c.9-.49 1.51-1.44 1.51-2.53s-.6-2.04-1.5-2.52Z"></path><path fill="#4285f4" d="M10.07 9.28c-.06.24-.1.48-.1.74v19.97c0 .26.03.5.1.74l11.01-11.01z"></path><path fill="#34a853" d="m20.8 20 5.51-5.51-11.97-6.94a2.89 2.89 0 0 0-4.27 1.72L20.8 19.99Z"></path><path fill="#fff" d="M43.29 13.27c-.48 0-.89-.13-1.25-.39s-.61-.62-.75-1.09l.91-.37c.1.32.24.56.43.7q.285.21.66.21.45 0 .72-.3t.27-.81V6.91h.98v4.27q0 .51-.15.9c-.1.26-.24.48-.41.66s-.38.31-.62.4-.5.13-.78.13Zm4.31-5.43v1.71h2.53v.92H47.6v1.71h2.81v.94h-3.79V6.89h3.79v.94H47.6Zm5.33 5.29V7.84h-1.74V6.9h4.46v.94h-1.74v5.29zm3.33-1.01 3.24-4.28h-3.1V6.9h4.25v1.01l-3.22 4.28h3.25v.94h-4.42zm6.86 1.01V7.84h-1.74V6.9h4.46v.94H64.1v5.29zm5.47-6.23h2.35c.25 0 .49.04.71.13.22.08.42.2.59.35s.31.32.4.53.15.42.15.66q0 .48-.24.81c-.16.22-.36.39-.6.5v.05c.31.11.57.29.76.54s.29.55.29.9c0 .27-.05.51-.16.72-.1.21-.25.4-.43.55s-.39.27-.62.36c-.23.08-.49.13-.75.13h-2.45zm2.32 2.61a.94.94 0 0 0 .68-.26.8.8 0 0 0 .24-.58c0-.11-.02-.21-.06-.31s-.1-.19-.17-.27-.17-.14-.28-.19-.24-.07-.37-.07h-1.37v1.69h1.33Zm.14 2.71c.16 0 .3-.03.42-.08s.22-.12.3-.21.14-.19.19-.3c.04-.11.07-.22.07-.34s-.02-.23-.07-.33a.8.8 0 0 0-.2-.29c-.09-.08-.19-.15-.32-.2s-.27-.08-.43-.08h-1.44v1.83h1.47Zm4.05-4.38v1.71h2.53v.92H75.1v1.71h2.81v.94h-3.79V6.89h3.79v.94H75.1Zm4.03-.94h.98v6.23h-.98z"></path>',8)])])}const b8={render:m8},_8={class:"oeamtc-article-section--content-width oeamtc-highlighted-image-section__content-grid oeamtc-decoration__radius--primary"},v8={class:"oeamtc-highlighted-image-section__text-content"},y8={class:"oeamtc-highlighted-image-section__app-buttons"},w8=["href"],x8=["href"],P8=G({__name:"HighlightedImageSection",props:{id:{},title:{},images:{default:()=>[]},linkAppStore:{default:null},linkPlayStore:{default:null},structureLevel:{},parsedBodyText:{},parentStructureLevel:{default:null},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>e.images&&e.images.length?e.images[0]:null),i=M(()=>$e(e.structureLevel,e.parentStructureLevel));return(r,n)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-highlighted-image-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",_8,[t.value?(y(),j(ht,{key:0,"enable-lightbox":!0,class:"oeamtc-highlighted-image-section__image",size:"4/3",lazy:"","show-copyright":"",type:"jpeg","type-edge":"webp",copyright:t.value.copyright,alt:t.value.altText,image:t.value,"round-corners":"",widths:[400,800,1600]},null,8,["copyright","alt","image"])):V("",!0),D("div",v8,[s.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--large oeamtc-text__line-height--medium","headline-level":i.value,"unique-id":s.id},{default:k(()=>[H(W(s.title),1)]),_:1},8,["headline-level","unique-id"])):V("",!0),s.parsedBodyText?(y(),j(Re,{key:1,class:"oeamtc-highlighted-image-section__body-text",text:s.parsedBodyText},null,8,["text"])):V("",!0),D("div",y8,[s.linkAppStore?(y(),E("a",{key:0,class:"app-link-button app-store",href:s.linkAppStore,target:"_blank",title:"Link öffnet in einem neuen Fenster"},[n[0]||(n[0]=D("span",{class:"oeamtc-sr-only"}
86,"Download von App im Apple App Store",-1)),R(_(g8),{height:"40",width:"120"})],8,w8)):V("",!0),s.linkPlayStore?(y(),E("a",{key:1,class:"app-link-button play-store",href:s.linkPlayStore,target:"_blank",title:"Link öffnet in einem neuen Fenster"},[n[1]||(n[1]=D("span",{class:"oeamtc-sr-only"},"Download von App im Google Play Store",-1)),R(_(b8),{height:"40",width:"120"})],8,x8)):V("",!0)])])]),re(r.$slots,"default")],2))}}),k8={class:"oeamtc-article-section--content-width"},T8={class:"oeamtc-panel"},D8={class:"oeamtc-card-group oeamtc-card-group--grid"},S8=G({__name:"TeaserRowSection",props:{articles:{},grayBackground:{type:Boolean,default:!1}},setup(s){return(e,t)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-three-teaser-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",k8,[D("div",T8,[D("div",D8,[(y(!0),E(q,null,ne(s.articles,(i,r)=>(y(),j(Es,{key:r,title:i.title,"lead-text":i.teaser.parsedLeadText,link:_(et)(i.teaser),author:i.teaser.frontendAuthor,"date-published":i.teaser.frontendDate,image:i.teaser.image,lazy:!0,noline:!1,"link-target":i.teaser.linkTarget,"has-video":i.teaser.hasVideo},null,8,["title","lead-text","link","author","date-published","image","link-target","has-video"]))),128))])])]),re(e.$slots,"default")],2))}}),O8={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function A8(s,e){return y(),E("svg",O8,[...e[0]||(e[0]=[D("path",{d:"m13.26 10.81-2.32-5.24a.97.97 0 0 0-1.23-.5C7.13 6.01 5.89 7.5 6 9.5c.12 2.2 1.65 5 3.25 7.3l.4.57.6.8.38.5.38.48.18.22 1.19 1.4.56.66.4.46.2.23.44.46c1.89 2.02 4.26 4.04 6.86 4.37q3.525.45 5.07-3a.95.95 0 0 0-.39-1.2l-4.36-2.62a.98.98 0 0 0-.59-.13l-2.7.25c-.64.05-1.26-.2-1.67-.68l-3.48-4.1a1.89 1.89 0 0 1-.3-1.97l.84-1.93a1 1 0 0 0 0-.76"},null,-1)])])}const Zu={render:A8},C8={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function E8(s,e){return y(),E("svg",C8,[...e[0]||(e[0]=[D("path",{d:"M12.85 16.62a5 5 0 0 0 6.2.11l.1-.09.06.07L28.46 26H3.6l9.18-9.3zM2 7.35l9.33 7.97L2 24.77zm28 .17v17.2l-9.31-9.36zM28.7 6l-10.75 9.05a3 3 0 0 1-3.72.1l-.16-.12L3.5 6z"},null,-1)])])}const M8={render:E8},L8={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function R8(s,e){return y(),E("svg",L8,[...e[0]||(e[0]=[D("path",{d:"M10.5 3v2.18h11V3h2.2v2.18h1.1c1.16 0 2.11.9 2.2 2.03v17.61c0 1.15-.9 2.1-2.04 2.17l-.16.01H7.2A2.2 2.2 0 0 1 5 24.97V7.36c0-1.14.9-2.1 2.04-2.17H8.3V3zm14.3 7.64H7.2v14.18h17.6zM23 21v2h-2v-2z"},null,-1)])])}const I8={render:R8},B8=s=>s.replace(/\s+/g,""),j8=s=>/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(s),F8={class:"oeamtc-article-section--content-width"},z8={class:"oeamtc-organisation-contacts-section__content oeamtc-decoration__radius--primary"},N8={key:2,class:"oeamtc-organisation-contacts-section__select-container"},$8=["value"],V8=["id"],Y8={class:"oeamtc-organisation-contacts-section__icon"},H8={class:"button__text"},X8={class:"button__text--regulartext"},G8={key:0},U8={class:"oeamtc-organisation-contacts-section__icon"},W8={class:"button__text"},q8={class:"button__text--regulartext"},Z8={class:"oeamtc-organisation-contacts-section__icon"},K8={class:"oeamtc-organisation-contacts-section__icon"},J8={class:"oeamtc-organisation-contacts-section__icon"},Q8={class:"oeamtc-organisation-contacts-section__icon"},e9=G({__name:"OrganisationContactsSection",props:{id:{},title:{default:null},parsedBodyText:{},callbackButton:{type:Boolean,default:!1},appointmentEmailOrLink:{default:""},onlineContactLink:{default:""},chatbotLink:{default:""},contacts:{},structureLevel:{},inlineImages:{default:()=>[]},inlineArticles:{default:()=>[]},inlineVideos:{default:()=>[]},inlineFiles:{default:()=>[]},inlineRiddles:{default:()=>[]},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t={},i={LOWER_AUSTRIA:"Niederösterreich",UPPER_AUSTRIA:"Oberösterreich",VIENNA:"Wien",BURGENLAND:"Burgenland",CARINTHIA:"Kärnten",STYRIA:"Steiermark",SALZBURG:"Salzburg",TYROL:"Tirol",VORARLBERG:"Vorarlberg"}
86,r=ee("Bitte wählen Sie Ihr Bundesland"),n=ee({phone:"",phoneText:"",email:""});e.contacts.forEach(g=>{if(g.type&&g.phone&&g.type!=="DEFAULT"){const b=i[g.type]||g.type;t[b]={phone:g.phone,phoneText:g.phoneText}}});const a=e.contacts.find(g=>g.type==="DEFAULT");a&&(n.value={phone:a.phone,phoneText:a.phoneText,email:a.email});const o=M(()=>Object.keys(t).reduce((g,b)=>(b!=="Standard"&&(g[b]=t[b]),g),{})),l=M(()=>$e(e.structureLevel,e.parentStructureLevel)),u=M(()=>bt(e.structureLevel,e.parentStructureLevel)),c=M(()=>e.inlineArticles.map(g=>g.teaser)),h=M(()=>e.inlineImages),f=M(()=>e.inlineVideos||[]),d=M(()=>e.inlineFiles||[]);At(r,g=>{var b;g!=="Bitte wählen Sie Ihr Bundesland"&&t[g]?n.value={phone:t[g].phone||(a==null?void 0:a.phone)||"",phoneText:t[g].phoneText||(a==null?void 0:a.phoneText)||"",email:((b=e.contacts.find(m=>i[m.type]===g))==null?void 0:b.email)||(a==null?void 0:a.email)||""}:a&&(n.value={phone:a.phone,phoneText:a.phoneText,email:a.email})});const p=Object.keys(o.value).map(g=>({value:g,label:g}));return(g,b)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-organisation-contacts-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",F8,[D("div",z8,[e.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--large oeamtc-text__line-height--medium","headline-level":_(l),"unique-id":e.id},{default:k(()=>[H(W(e.title),1)]),_:1},8,["headline-level","unique-id"])):V("",!0),e.parsedBodyText?(y(),j(Re,{key:1,class:"oeamtc-margin--top-small","inline-articles":_(c),"inline-images":_(h),text:e.parsedBodyText,"headline-offset":_(u),"inline-videos":_(f),"inline-files":_(d),"inline-riddles":s.inlineRiddles},null,8,["inline-articles","inline-images","text","headline-offset","inline-videos","inline-files","inline-riddles"])):V("",!0),Object.keys(t).length?(y(),E("div",N8,[R(_(Ts),{id:"consultation-select-"+e.id,modelValue:_(r),"onUpdate:modelValue":b[0]||(b[0]=m=>Ti(r)?r.value=m:null),options:_(p),placeholder:"Bitte wählen Sie Ihr Bundesland","validation-error":!1},{placeholder:k(()=>[...b[1]||(b[1]=[D("option",{value:"Bitte wählen Sie Ihr Bundesland",selected:""},"Bitte wählen Sie Ihr Bundesland",-1)])]),options:k(()=>[(y(!0),E(q,null,ne(_(o),(m,v)=>(y(),E("option",{key:v,value:v},W(v),9,$8))),128))]),validation:k(()=>[...b[2]||(b[2]=[H("Bitte wählen Sie Ihr Bundesland",-1)])]),_:1},8,["id","modelValue","options"])])):V("",!0),D("div",{id:"contact-"+e.id,class:"oeamtc-organisation-contacts-section__contacts-grid"},[_(n).phone?(y(),j(_(Mt),{key:0,class:"oeamtc-organisation-contacts-section__button",tag:"a",href:"tel:"+_(B8)(_(n).phone),"full-width":!0,link:!0,icon:!0,"slot-content":"Button Primary"},{prefix:k(()=>[D("div",Y8,[R(_(Zu),{role:"img"})])]),default:k(()=>[D("span",H8,[b[3]||(b[3]=D("p",null,"Telefonische Beratung",-1)),D("div",X8,[D("p",null,W(_(n).phone),1),_(n).phoneText?(y(),E("p",G8,W(_(n).phoneText),1)):V("",!0)])])]),_:1},8,["href"])):V("",!0),_(n).email?(y(),j(_(Mt),{key:1,class:"oeamtc-organisation-contacts-section__button",tag:"a",href:"mailto:"+_(n).email,"full-width":!0,link:!0,icon:!0,"slot-content":"Button Primary"},{prefix:k(()=>[D("div",U8,[R(_(M8),{role:"img"})])]),default:k(()=>[D("span",W8,[b[4]||(b[4]=D("p",null,"E-Mail Kontakt",-1)),D("div",q8,[D("p",null,W(_(n).email),1)])])]),_:1},8,["href"])):V("",!0),e.callbackButton?(y(),j(_(Mt),{key:2,class:"oeamtc-organisation-contacts-section__button",tag:"a",href:_(n).email?"mailto:"+_(n).email+"?subject=Rückruf%20vereinbaren":"","full-width":!0,link:!0,icon:!0,"slot-content":"Button Primary"},{prefix:k(()=>[D("div",Z8,[R(_(Zu),{role:"img",width:"32",height:"36",fill:"#000000"})])]),default:k(()=>[b[5]||(b[5]=D("span",{class:"button__text"},[D("p",null,"Rückruf vereinbaren")],-1))]),_:1},8,["href"])):V("",!0),e.appointmentEmailOrLink?(y(),j(_(Mt),{key:3,class:"oeamtc-organisation-contacts-section__button",tag:"a",href:_(j8)(e.appointmentEmailOrLink)?"mailto:"+e.appointmentEmailOrLink:e.appointmentEmailOrLink,"full-width":!0,link:!0,icon:!0,"slot-content":"Button Primary"},{prefix:k(()=>[D("div",K8,[R(_(I8),{role:"img",width:"32",height:"36",fill:"#000000"})])]),default:k(()=>[b[6]||(b[6]=D("span",{class:"button__text"},[D("p",null,"Termin vereinbaren"),D("div",{class:"button__text--regulartext"},[D("p",null,"Wir beraten Sie gerne")])],-1))]),_:1},8,["href"])):V("",!0),e.chatbotLink?(y(),j(_(Mt),{key:4,class:"oeamtc-organisation-contacts-section__button",tag:"a",href:e.chatbotLink,"full-width":!0,link:!0,icon:!0,"slot-content":"Button Primary"},{default:k(()=>[D("i",J8,[R(_(Jo),{role:"img",width:"32",height:"36",fill:"#000000"})]),b[7]||(b[7]=D("span",{class:"button__text"},[D("p",null,"Chatbot"),D("div",{class:"button__text--regulartext"},[D("p",null,"Wir helfen Ihnen gerne")])],-1))]),_:1},8,["href"])):V("",!0),e.onlineContactLink?(y(),j(_(Mt),{key:5,class:"oeamtc-organisation-contacts-section__button",tag:"a",href:e.onlineContactLink,"full-width":!0,link:!0,icon:!0,"slot-content":"Button Primary"},{default:k(()=>[D("i",Q8,[R(_(Jo),{role:"img",width:"32",height:"36",fill:"#000000"})]),b[8]||(b[8]=D("span",{class:"button__text"},[D("p",null,"Online Kontakt")],-1))]),_:1},8,["href"])):V("",!0)],8,V8)])]),re(g.$slots,"default")],2))}}),t9=G({__name:"HorizontalTeaserAutoSection",props:{id:{},articles:{},buttonText:{default:""},structureLevel:{},parentStructureLevel:{default:void 0}
86,grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>{var o,l;return((l=(o=e.articles)==null?void 0:o[0])==null?void 0:l.teaser)??null}),i=M(()=>{var o;return((o=t.value)==null?void 0:o.parsedLeadText)??""}),r=M(()=>{var o;return((o=t.value)==null?void 0:o.image)??null}),n=M(()=>$e(e.structureLevel,e.parentStructureLevel)),a=M(()=>bt(e.structureLevel,e.parentStructureLevel));return(o,l)=>t.value?(y(),E("section",{key:0,class:oe(["oeamtc-channel-box","oeamtc-channel-box--content-width",{"oeamtc-channel-box--bg-color":s.grayBackground}])},[R(_(b1),{class:"oeamtc-horizontal-teaser",headline:t.value.title,"button-text":s.buttonText,"headline-tag":n.value,"button-link":_(et)(t.value),target:t.value.linkTarget,"has-video":t.value.hasVideo,description:""},mt({description:k(()=>[R(Re,{text:i.value,"headline-offset":a.value,"outer-html-tag":"p",class:"oeamtc-horizontal-teaser__description"},null,8,["text","headline-offset"])]),_:2},[r.value?{name:"image",fn:k(()=>[R(ht,{class:"oeamtc-decoration__radius--double oeamtc-horizontal-teaser__image",lazy:"",size:"square",type:"jpeg","type-edge":"webp",copyright:r.value.copyright,alt:r.value.altText,image:r.value,widths:[200,400,800]},null,8,["copyright","alt","image"])]),key:"0"}:void 0]),1032,["headline","button-text","headline-tag","button-link","target","has-video"]),re(o.$slots,"default")],2)):V("",!0)}}),i9=G({__name:"HorizontalTeaserManualSection",props:{title:{default:""},structureLevel:{},parentStructureLevel:{default:void 0},parsedBodyText:{},images:{default:()=>[]},link:{default:""},buttonText:{default:""},grayBackground:{type:Boolean,default:!1},hasVideo:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>{if(e.images&&e.images[0])return e.images[0]}),i=M(()=>!!(e.title||e.parsedBodyText||e.images&&e.images.length>0||e.link||e.buttonText)),r=M(()=>$e(e.structureLevel,e.parentStructureLevel)),n=M(()=>bt(e.structureLevel,e.parentStructureLevel));return(a,o)=>_(i)?(y(),E("section",{key:0,class:oe(["oeamtc-channel-box","oeamtc-channel-box--content-width",{"oeamtc-channel-box--bg-color":s.grayBackground}])},[R(_(b1),{class:"oeamtc-horizontal-teaser oeamtc-horizontal-teaser__image",headline:s.title,"headline-tag":_(r),"button-text":s.buttonText,"button-link":s.link,"has-video":s.hasVideo,description:""},mt({description:k(()=>[R(Re,{text:s.parsedBodyText,"headline-offset":_(n),class:"oeamtc-horizontal-teaser__description"},null,8,["text","headline-offset"])]),_:2},[_(t)?{name:"image",fn:k(()=>[R(ht,{class:"oeamtc-decoration__radius--double oeamtc-horizontal-teaser__image",lazy:"",size:"square",type:"jpeg","type-edge":"webp",copyright:_(t).copyright,alt:_(t).altText,image:_(t),widths:[200,400,800]},null,8,["copyright","alt","image"])]),key:"0"}:void 0]),1032,["headline","headline-tag","button-text","button-link","has-video"]),re(a.$slots,"default")],2)):V("",!0)}}),r9={class:"oeamtc-article-section--content-width"},n9=G({__name:"PickerlRechnerSection",props:{grayBackground:{type:Boolean,default:!1}},setup(s){return(e,t)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-pickerlrechner-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",r9,[R(Gh)]),re(e.$slots,"default")],2))}}),s9={components:{OeamtcCardTeaser:r1,ArtDirectedImageWrapper:$t},props:{headline:{type:String,required:!0},headlineTag:{type:String,required:!1,default:"h2",validator:function(s){return["h1","h2","h3","h4","h5","h6"].includes(s)}},description:{type:String,required:!0},link:{type:String,required:!0},image:{type:Object,required:!1,default:null},lazy:{type:Boolean,required:!1,default:!0},datePublished:{type:String,required:!1,default:""},linkTarget:{type:String,required:!1,default:"_self",validator:function(s){return["_self","_blank","_parent","_top"].includes(s)}},hasVideo:{type:Boolean,required:!1,default:!1}}};function a9(s,e,t,i,r,n){const a=_e("ArtDirectedImageWrapper"),o=_e("OeamtcCardTeaser");return y(),j(o,{headline:t.headline,"headline-tag":t.headlineTag,description:t.description,"date-published":t.datePublished,link:t.link,target:t.linkTarget,"has-video":t.hasVideo},{image:k(()=>[t.image?(y(),j(a,{key:0,class:"oeamtc-card-teaser__image",alt:t.image.altText,copyright:t.image.copyright,"min-width":769,"max-width":768,lazy:t.lazy,image:t.image,widths:[300,500,500],"mobile-widths":[300,500,500],crop:"","data-size":"16/9",size:"16/9","mobile-size":"16/9"},null,8,["alt","copyright","lazy","image"])):V("",!0)]),_:1},8,["headline","headline-tag","description","date-published","link","target","has-video"])}const o9=ui(s9,[["render",a9]]),l9={class:"oeamtc-article-section--content-width"},u9={class:"oeamtc-one-teaser-slider-section__slide-wrapper oeamtc-padding--smallest"},c9=G({__name:"OneTeaserSliderSection",props:{articles:{},navigationDisabled:{type:Boolean,default:!1}
86,grayBackground:{type:Boolean,default:!1}},setup(s){const e={scrollbar:!1,slidesPerView:1,shadow:!1,navigationOutside:!0,mobileSlidePeek:!0,roundCorners:!0,breakpoints:{768:{slidesPerView:1,navigation:!1,navigationOutside:!1},1024:{mobileSlidePeek:!1,navigationOutside:!0}}};return(t,i)=>{const r=_e("OeamtcCarouselSlide"),n=_e("OeamtcCarousel"),a=Ue;return y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-article-section--conclusive","oeamtc-one-teaser-slider-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",l9,[R(a,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-single-video-loader oeamtc-decoration__radius--double"})]),default:k(()=>[R(n,{scrollbar:e.scrollbar,navigation:!s.navigationDisabled,"navigation-outside":e.navigationOutside,"slides-per-view":e.slidesPerView,shadow:e.shadow,breakpoints:e.breakpoints,"mobile-slide-peek":e.mobileSlidePeek,"round-corners":e.roundCorners},{default:k(()=>[(y(!0),E(q,null,ne(s.articles,(o,l)=>(y(),j(r,{key:l,class:"oeamtc-one-teaser-slider-section__slide"},{default:k(()=>[D("div",u9,[R(o9,{headline:o.title,"headline-tag":"h2",description:o.teaser.leadText,link:_(et)(o.teaser),"button-text":"Weiter","link-target":o.teaser.linkTarget,image:o.teaser.image,"has-video":o.teaser.hasVideo},null,8,["headline","description","link","link-target","image","has-video"])])]),_:2},1024))),128))]),_:1},8,["scrollbar","navigation","navigation-outside","slides-per-view","shadow","breakpoints","mobile-slide-peek","round-corners"])]),_:1})]),re(t.$slots,"default")],2)}}}),h9={class:"oeamtc-article-section--content-width"},d9={key:0,class:"oeamtc-panel"},f9={key:1,class:"oeamtc-panel oeamtc-card-group oeamtc-card-group--grid"},g9=G({__name:"ThreeTeaserSliderSection",props:{articles:{},navigationDisabled:{type:Boolean,default:!1},grayBackground:{type:Boolean,default:!1}},setup(s){const e=xd({tablet:360,desktop:768}),t=s,i=M(()=>e.desktop.value?t.articles.length>3:e.tablet.value?t.articles.length>2:t.articles.length>1),r={scrollbar:!1,slidesPerView:1,shadow:!1,navigationOutside:!0,mobileSlidePeek:!0,roundCorners:!1,spaceBetween:0,breakpoints:{0:{slidesPerView:1},360:{slidesPerView:2},768:{slidesPerView:3}}};return(n,a)=>{const o=_e("OeamtcCarouselSlide"),l=_e("OeamtcCarousel"),u=Ue;return y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-three-teaser-slider-section","oeamtc-margin--bottom-smallest",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",h9,[R(u,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-single-video-loader oeamtc-decoration__radius--double"})]),default:k(()=>[_(i)?(y(),E("div",d9,[R(l,{scrollbar:r.scrollbar,navigation:!s.navigationDisabled,"navigation-outside":r.navigationOutside,"slides-per-view":r.slidesPerView,shadow:r.shadow,breakpoints:r.breakpoints,"mobile-slide-peek":r.mobileSlidePeek,"round-corners":r.roundCorners,"space-between":r.spaceBetween},{default:k(()=>[(y(!0),E(q,null,ne(s.articles,(c,h)=>(y(),j(o,{key:h,class:"oeamtc-three-teaser-slider-section__slide"},{default:k(()=>[D("div",null,[R(Es,{class:"oeamtc-three-teaser-slider-section__slide--content",title:c.title,"title-tag":"h2","lead-text":c.teaser.parsedLeadText??"",link:_(et)(c.teaser),"link-target":c.teaser.linkTarget??void 0,author:c.frontendAuthor??void 0,"date-published":c.frontendDate??"",image:c.teaser.image??void 0,lazy:!0,noline:!0,"has-video":c.teaser.hasVideo??!1},null,8,["title","lead-text","link","link-target","author","date-published","image","has-video"])])]),_:2},1024))),128))]),_:1},8,["scrollbar","navigation","navigation-outside","slides-per-view","shadow","breakpoints","mobile-slide-peek","round-corners","space-between"])])):(y(),E("div",f9,[(y(!0),E(q,null,ne(s.articles,(c,h)=>(y(),E("div",{key:h},[c.teaser?(y(),j(Es,{key:0,style:{height:"100%"},title:c.title,"title-tag":"h2","lead-text":c.teaser.parsedLeadText??"",link:_(et)(c.teaser),"link-target":c.teaser.linkTarget??void 0,author:c.frontendAuthor??void 0,"date-published":c.frontendDate??"",image:c.teaser.image??void 0,lazy:!0,noline:!0,"has-video":c.teaser.hasVideo??!1},null,8,["title","lead-text","link","link-target","author","date-published","image","has-video"])):V("",!0)]))),128))]))]),_:1})]),re(n.$slots,"default")],2)}}}),p9={class:"oeamtc-friendship-slider"},m9={class:"oeamtc-friendship-slider__hero-slide"},b9={class:"oeamtc-friendship-slider__hero-slide--image"},_9={class:"oeamtc-friendship-slider__hero-slide--info"},v9={key:0,class:"oeamtc-friendship-slider__hero-slide--headline"}
86,y9={class:"oeamtc-friendship-slider__hero-slide--image"},w9={class:"oeamtc-friendship-slider__hero-slide--info"},x9={key:0,class:"oeamtc-friendship-slider__hero-slide--headline"},P9=G({__name:"FriendshipPromotionSlider",props:{teasers:{}},setup(s){const{$isMobile:e}=ri(),t=ee(),i={breakpoints:{0:{slidesPerView:3},360:{slidesPerView:3},768:{slidesPerView:5},1024:{slidesPerView:7}}};return(r,n)=>{const a=Ue;return y(),E("div",p9,[R(a,null,{fallback:k(()=>[(y(!0),E(q,null,ne(s.teasers,(o,l)=>(y(),E("div",{key:l,class:"oeamtc-friendship-slider__hero-slide"},[D("div",y9,[o.image?(y(),j($t,{key:0,alt:o.image.altText,copyright:o.image.copyright,"min-width":769,"max-width":768,lazy:"",image:o.image,widths:[400,600,600],"mobile-widths":[400,600,600],crop:"",size:"400/400","mobile-size":"400/400"},null,8,["alt","copyright","image"])):V("",!0),o.hasVideo?(y(),j(_(Eh),{key:1})):V("",!0)]),D("div",w9,[o.title?(y(),E("h3",x9,W(o.title),1)):V("",!0),R(Re,{text:o.parsedLeadText,"headline-offset":3,class:"oeamtc-margin--top-small"},null,8,["text"]),R(_(Mt),{tag:"a",href:_(et)(o),class:"oeamtc-friendship-slider__cta-button oeamtc-margin--top-primary"},{default:k(()=>[...n[1]||(n[1]=[H(" Geschenk wählen ",-1)])]),_:1},8,["href"])])]))),128))]),default:k(()=>[s.teasers&&s.teasers.length?(y(),j(_(g1),{key:0,ref_key:"friendshipCarousel",ref:t,navigation:!0,scrollbar:!0,"navigation-outside":!_(e),shadow:!1,"thumbnail-breakpoints":i.breakpoints,"mobile-optimised-buttons":!0},{thumbnail:k(()=>[(y(!0),E(q,null,ne(s.teasers,(o,l)=>(y(),j(_(Mi),{key:l},{default:k(()=>[o.image?(y(),j($t,{key:0,alt:o.image.altText,copyright:o.image.copyright,"min-width":769,"max-width":768,lazy:"",image:o.image,widths:[200,400,400],"mobile-widths":[200,400,400],crop:"",size:"400/400","mobile-size":"400/400"},null,8,["alt","copyright","image"])):V("",!0)]),_:2},1024))),128))]),default:k(()=>[(y(!0),E(q,null,ne(s.teasers,(o,l)=>(y(),j(_(Mi),{key:l,class:"oeamtc-friendship-slider__hero-carousel-slide"},{default:k(()=>[D("div",m9,[D("div",b9,[o.image?(y(),j($t,{key:0,alt:o.image.altText,copyright:o.image.copyright,"min-width":769,"max-width":768,lazy:"",image:o.image,widths:[400,600,600],"mobile-widths":[400,600,600],crop:"",size:"400/400","mobile-size":"400/400"},null,8,["alt","copyright","image"])):V("",!0)]),D("div",_9,[o.title?(y(),E("h3",v9,W(o.title),1)):V("",!0),R(Re,{text:o.parsedLeadText,"headline-offset":3,class:"oeamtc-margin--top-small"},null,8,["text"]),R(_(Mt),{tag:"a",href:_(et)(o),class:"oeamtc-friendship-slider__cta-button oeamtc-margin--top-primary"},{default:k(()=>[...n[0]||(n[0]=[H(" Geschenk wählen ",-1)])]),_:1},8,["href"])])])]),_:2},1024))),128))]),_:1},8,["navigation-outside","thumbnail-breakpoints"])):V("",!0)]),_:1})])}}}),k9=s=>s.map(e=>e.teaser),T9={class:"oeamtc-article-section--content-width"},D9=G({__name:"FriendshipPromotionSection",props:{id:{},articles:{},grayBackground:{type:Boolean,default:!1}},setup(s){const t=k9(s.articles);return(i,r)=>(y(),E("section",{class:oe(["oeamtc-article-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",T9,[R(P9,{teasers:_(t)},null,8,["teasers"])]),re(i.$slots,"default")],2))}}),S9={class:"oeamtc-podigee-player"},O9=G({__name:"PodigeeComponent",props:{podigeeUrl:{}},setup(s){const e=s,t=ee(null);function i(n){const a=n.replace(/([?&])theme=def(&|$)/,"$1theme=standard$2");return a.startsWith("https://embed.podigee.com/oembed?url=")?a:`https://embed.podigee.com/oembed?url=${encodeURIComponent(a)}`}async function r(){const n=i(e.podigeeUrl),u=(await(await fetch(n)).json()).html.replace(/\n/g,"").replace(/'/g,'"').match(/class="([^"]+)" src="([^"]+)" data-configuration="([^"]+)"/);if(!u)return;const[c,h,f,d]=u,p=document.createElement("script");p.setAttribute("class",h),p.setAttribute("src",f),p.setAttribute("data-configuration",d),t.value&&t.value.appendChild(p)}return Ke(()=>{r()}),(n,a)=>{const o=Ue;return y(),j(o,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-podigee-player__loader oeamtc-decoration__radius--double"})]),default:k(()=>[D("div",S9,[D("span",{ref_key:"targetRef",ref:t},null,512)])]),_:1})}}}),A9={class:"oeamtc-podcast oeamtc-decoration__radius--double"},C9=G({__name:"PodigeePlayer",props:{url:{},backgroundImage:{default:""}}
86,setup(s){const{status:e,giveVendorConsent:t,hasVendorConsent:i}=mn(),{result:r,loading:n,error:a}=Ht(ba,{name:"UsercentricsKonfiguration"}),o=M(()=>r.value?_a("Podigee",r):null),l=M(()=>n.value?"loading":a.value?"error":r.value?"success":"default");return(u,c)=>{const h=Ue,f=_e("UsercentricsInlineWrapper");return _(l)==="success"?(y(),j(h,{key:0},{fallback:k(()=>[R(_(le),{class:"oeamtc-podcast-loader oeamtc-decoration__radius--double"})]),default:k(()=>[R(f,{class:"oeamtc-podcast-player-usercentrics",status:_(e),"give-vendor-consent":_(t),"has-vendor-consent":_(i),"vendor-name":_(o).name,"background-image":s.backgroundImage},{"inline-headline":k(()=>[...c[0]||(c[0]=[H(" Um Podcasts nutzen zu können wird eine Einwilligung benötigt ",-1)])]),"inline-text":k(()=>[R(pt,{"html-content":_(o).text},null,8,["html-content"])]),"inline-generaltext":k(()=>[R(pt,{"html-content":_(o).generalText},null,8,["html-content"])]),content:k(()=>[R(h,null,{fallback:k(()=>[R(_(le),{class:"oeamtc-podcast-loader oeamtc-decoration__radiu
86s--double"})]),default:k(()=>[D("div",A9,[R(O9,{"podigee-url":s.url},null,8,["podigee-url"])])]),_:1})]),_:1},8,["status","give-vendor-consent","has-vendor-consent","vendor-name","background-image"])]),_:1})):_(l)==="loading"?(y(),j(_(le),{key:1,class:"oeamtc-podcast-loader oeamtc-decoration__radius--double"})):(y(),j(_(or),{key:2,modifier:"danger",icon:""},{contentSlot:k(()=>[...c[1]||(c[1]=[H(" Der Podcast konnte nicht geladen werden. ",-1)])]),_:1}))}}}),E9={class:"oeamtc-article-section--content-width"},M9=G({__name:"PodigeeSection",props:{podigeeUrl:{},grayBackground:{type:Boolean}},setup(s){return(e,t)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-podigee-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",E9,[R(C9,{url:s.podigeeUrl},null,8,["url"])]),re(e.$slots,"default")],2))}}),L9={class:"oeamtc-article-section--content-width"},R9=G({__name:"RiddleSection",props:{id:{},riddleHtml:{},structureLevel:{},parentStructureLevel:{},grayBackground:{type:Boolean}},setup(s){return(e,t)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-riddle-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",L9,[R(Hh,{id:s.id,class:"oeamtc-margin--top-primary","riddle-html":s.riddleHtml},null,8,["id","riddle-html"])]),re(e.$slots,"default")],2))}}),I9={class:"oeamtc-article-section--content-width"},B9=G({__name:"YoutubeSection",props:{youtubeId:{},grayBackground:{type:Boolean}},setup(s){return(e,t)=>(y(),E("section",{class:oe(["oeamtc-article-section","oeamtc-youtube-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",I9,[R(Xh,{"youtube-id":s.youtubeId},null,8,["youtube-id"])]),re(e.$slots,"default")],2))}}),j9={class:"oeamtc-article-section--content-width"},F9=G({__name:"PriceDisplaySection",props:{id:{},contractKey:{},price:{},link:{default:""},linktext:{default:""},structureLevel:{},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,t=M(()=>{var o,l,u,c;const i=(o=e.contractKey)==null?void 0:o.includes("SB"),r=Number.parseFloat(((l=e.price)==null?void 0:l.price)??"0"),n=Number.parseFloat(((c=(u=e.price)==null?void 0:u.schutzbrief)==null?void 0:c.price)??"0"),a=i?r+n:r;return a>0?a:null});return(i,r)=>(y(),E(q,null,[_(t)!==null?(y(),E("section",De({key:0},i.$attrs,{class:["oeamtc-article-section","oeamtc-price-display-section",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",j9,[R(_(Co),{value:_(t),size:"small"},null,8,["value"]),s.link&&s.linktext?(y(),j(_(Mt),{key:0,tag:"a",href:s.link,class:"oeamtc-price-display-section__button"},{default:k(()=>[H(W(s.linktext),1)]),_:1},8,["href"])):V("",!0)])],16)):V("",!0),re(i.$slots,"default")],64))}}),z9={class:"oeamtc-article-section--content-width"},N9={key:1,class:"oeamtc-article-section-product-teaser__teasers"},$9={class:"oeamtc-article-section-product-teaser__teasers"},V9=G({__name:"ProductTeaserSection",props:{id:{},title:{default:""},parsedBodyText:{default:""},articles:{default:()=>[]},structureLevel:{},parentStructureLevel:{default:void 0},grayBackground:{type:Boolean,default:!1}},setup(s){const e=s,{$isMobile:t}=ri(),i=M(()=>e.articles.map(o=>
86o.teaser).filter(Boolean)),r=M(()=>$e(e.structureLevel,e.parentStructureLevel)),n=M(()=>{const o=bt(e.structureLevel,e.parentStructureLevel)+1;return`h${Math.min(o,6)}`}),a={navigationOutside:!1,slidesPerView:1,shadow:!1,spaceBetween:20,breakpoints:{0:{slidesPerView:1.25},650:{slidesPerView:2.25},768:{slidesPerView:2.25},992:{slidesPerView:4}},mobileSlidePeek:!0};return(o,l)=>{const u=_e("OeamtcCarouselSlide"),c=_e("OeamtcCarousel"),h=Ue;return y(),E(q,null,[_(i).length?(y(),E("section",De({key:0},o.$attrs,{class:["oeamtc-article-section","oeamtc-article-section-product-teaser",{"oeamtc-article-section--grey-bg":s.grayBackground}]}),[D("div",z9,[s.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":_(r),"unique-id":s.id},{default:k(()=>[H(W(s.title),1)]),_:1},8,["headline-level","unique-id"])):V("",!0),s.parsedBodyText?(y(),j(_(_n),{key:1,class:oe({"oeamtc-margin--top-small":s.title}),innerHTML:s.parsedBodyText},null,8,["class","innerHTML"])):V("",!0),R(h,null,{fallback:k(()=>[D("div",$9,[(y(!0),E(q,null,ne(_(i),(f,d)=>(y(),j(rr,{key:d,class:"oeamtc-article-section-product-teaser__teaser","title-tag":_(n),title:f.title,"order-link":f.membershipInfo.orderLink,"product-link":_(et)(f),"date-published":f.frontendDate,image:f.image,price:f.membershipInfo.price,"contract-key":f.membershipInfo.contractKey,"footer-products":f.membershipInfo.footerProducts,"footer-text":f.membershipInfo.footerText,feature:f.membershipInfo.features,target:f.linkTarget,"has-video":f.hasVideo},null,8,["title-tag","title","order-link","product-link","date-published","image","price","contract-key","footer-products","footer-text","feature","target","has-video"]))),128))])]),default:k(()=>[_(t)?(y(),j(c,{key:0,scrollbar:!1,navigation:!1,loop:!1,"navigation-outside":a.navigationOutside,"slides-per-view":a.slidesPerView,shadow:a.shadow,breakpoints:a.breakpoints,"mobile-slide-peek":a.mobileSlidePeek,"space-between":a.spaceBetween},{default:k(()=>[(y(!0),E(q,null,ne(_(i),(f,d)=>(y(),j(u,{key:d,class:"oeamtc-article-section-product-teaser__slider-slide"},{default:k(()=>[R(rr,{class:"oeamtc-article-section-product-teaser__teaser","title-tag":_(n),title:f.title,"order-link":f.membershipInfo.orderLink,"product-link":_(et)(f),"date-published":f.frontendDate,image:f.image,price:f.membershipInfo.price,"contract-key":f.membershipInfo.contractKey,"footer-products":f.membershipInfo.footerProducts,"footer-text":f.membershipInfo.footerText,feature:f.membershipInfo.features,target:f.linkTarget,"has-video":f.hasVideo},null,8,["title-tag","title","order-link","product-link","date-published","image","price","contract-key","footer-products","footer-text","feature","target","has-video"])]),_:2},1024))),128))]),_:1},8,["navigation-outside","slides-per-view","shadow","breakpoints","mobile-slide-peek","space-between"])):(y(),E("div",N9,[(y(!0),E(q,null,ne(_(i),(f,d)=>(y(),j(rr,{key:d,class:"oeamtc-article-section-product-teaser__teaser","title-tag":_(n),title:f.title,"order-link":f.membershipInfo.orderLink,"product-link":_(et)(f),"date-published":f.frontendDate,image:f.image,price:f.membershipInfo.price,"contract-key":f.membershipInfo.contractKey,"footer-products":f.membershipInfo.footerProducts,"footer-text":f.membershipInfo.footerText,feature:f.membershipInfo.features,target:f.linkTarget,"has-video":f.hasVideo},null,8,["title-tag","title","order-link","product-link","date-published","image","price","contract-key","footer-products","footer-text","feature","target","has-video"]))),128))]))]),_:1})])],16)):V("",!0),re(o.$slots,"default")],64)}}}),Y9={name:"SectionsLoop",components:{LegacySection:W0,OneImageSection:J0,OneImageFullwidthSection:t4,ThreeImagesBlockSection:s4,ThreeImagesInlineSection:l4,QuoteFullwidthSection:h4,BigMediaSection:J5,FloatingMediaSection:t6,MediaElementListSection:n6,SliderSection:a6,SliderFullwidthSection:l6,SliderThumbnailSection:c6,TextSection:d6,ContactPersonSection:g6,SingleVideoSection:b6,SpecialProductSection:v6,TestimonialSection:x6,FaqSection:S6,ExpandableBenefitListItemSection:A6,TeaserListItemSection:M6,BenefitListItemSection:R6,VideoPlayerSection:r3,OffeneStellenSection:s3,MembershipDetailSection:e8,WebcomponentSection:i8,CardTeaserSection:n8,ImportantHighlightSection:o8,FileSection:u8,TableSection:h8,OrganisationContactsSection:e9,TeaserRowSection:S8,HorizontalTeaserAutoSection:t9,HorizontalTeaserManualSection:i9,HighlightedImageSection:P8,PickerlRechnerSection:n9,OneTeaserSliderSection:c9,ThreeTeaserSliderSection:g9,FriendshipPromotionSection:D9,PodigeeSection:M9,RiddleSection:R9,YoutubeSection:B9,PriceDisplaySection:F9,ProductTeaserSection:V9},props:{article:{type:Object,required:!0},sections:{type:Array,required:!0},parentStructureLevel:{type:Number,required:!1,default:null},breadcrumbs:{type:Array,required:!1,default:()=>[]}},setup(s){function e(i){return k1(i)+"Section"}const t=M(()=>X0(s.sections));return{sanitizeSectionTemplate:e,structuredSections:t}}};function H9(s,e,t,i,r,n){const a=_e("SectionsLoop",!0);return y(!0),E(q,null,ne(i.structuredSections,(o,l)=>(y(),E("div",{key:l,class:"oeamtc-article-sections-nested"},[(y(),j(mi(i.sanitizeSectionTemplate(o.type)),De({ref_for:!0},o,{article:t.article,"parent-structure-level":t.parentStructureLevel,breadcrumbs:t.breadcrumbs,index:l}),{default:k(()=>[o.children&&o.children.length?(y(),j(a,{key:0,sections:o.children,article:t.article,breadcrumbs:t.breadcrumbs,"parent-structure-level":o.structureLevel},null,8,["sections","article","breadcrumbs","parent-structure-level"])):V("",!0)]),_:2},1040,["article","parent-structure-level","breadcrumbs","index"]))]))),128)}const Vc=ui(Y9,[["render",H9]]),X9={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function G9(s,e){return y(),E("svg",X9,[...e[0]||(e[0]=[D("path",{d:"M24.57 24.58c.56-.58.56-1.51.01-2.06L18.08 16l6.5-6.53c.55-.55.57-1.5 0-2.06a1.48 1.48 0 0 0-2.07 0l-6.5 6.5-6.53-6.5a1.48 1.48 0 0 0-2.06 0 1.5 1.5 0 0 0-.01 2.06l6.5 6.53-6.5 6.5a1.5 1.5 0 0 0 0 2.07 1.5 1.5 0 0 0 2.07.02L16 18.08l6.51 6.5c.55.56 1.5.56 2.06 0"},null,-1)])])}const U9={render:G9},W9={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"};function q9(s,e){return y(),E("svg",W9,[...e[0]||(e[0]=[D("path",{d:"m13.9 16.02 7.91 8.03a1.5 1.5 0 0 1 0 2.1c-.57.59-1.5.6-2.09.02l-7.91-8.03-2.1-2.12 2.09-2.13 7.94-8.05a1.48 1.48 0 0 1 2.1-.01c.59.6.59 1.54 0 2.13z"},null,-1)])])}const Ku={render:q9},Z9={class:"article-image-lightbox__panel"},K9={class:"article-image-lightbox__image-area"},J9={key:0,class:"article-image-lightbox__loading"},Q9=["aria-hidden"],eg={class:"article-image-lightbox__image"},tg=["srcset"],ig=["src","alt"],rg={key:0,class:"article-image-lightbox__caption-area"},ng={key:0,class:"article-image-lightbox__nav-mobile"},Ju=3840,Yc=G({__name:"ArticleImageLightboxProvider",props:{isActive:{type:Boolean},images:{default:()=>[]}},setup(s,{expose:e}){const t=s,i=ee(!1),r=ee(!1),n=ee(!1),a=ee(null),o=ee(null),l=ee(null),u=ee(null),c=ee(null),h=ee(null),f=ee(null);function d(C){var z;const $=(z=C.transformations)==null?void 0:z[0],A=Number($==null?void 0:$.width),N=Number($==null?void 0:$.height);return A>0&&N>0?`${A}/${N}`:null}const p=M(()=>`lightbox-${a.value||"none"}`),g=M(()=>t.images),b=M(()=>
86{if(!a.value)return 0;const C=t.images.findIndex($=>String($.id)===String(a.value));return C>=0?C:0});function m(C){return(C==null?void 0:C.id)?Aa(C,2560,"webp",d(C),!1):""}function v(C){return new Promise($=>{if(!C||typeof window>"u")return $();const A=new Image;A.onload=()=>$(),A.onerror=()=>$(),A.src=C})}function x(){const C=o.value;if(!C)return null;const $=C.querySelector(".swiper")||C.querySelector(".oeamtc-swiper .swiper");return($==null?void 0:$.swiper)||null}function w(C){const $=x();$&&($.slideTo(C,0),$.update(),requestAnimationFrame(()=>{$.update(),requestAnimationFrame(()=>$.update())}))}function P(){const C=x();C&&C.slidePrev()}function T(){const C=x();C&&C.slideNext()}async function O(C,$){var N;if(!t.isActive||!t.images.length)return;f.value={x:window.scrollX,y:window.scrollY},h.value=document.activeElement,a.value=String(C);const A=b.value;n.value=!1,r.value=!0,i.value=!0,await qt(),await v(m(t.images[A])),r.value=!1,n.value=!0,await qt(),w(A),await qt(),(N=l.value)==null||N.focus()}function L(){i.value=!1,r.value=!1,n.value=!1,a.value=null,f.value&&(window.scrollTo(f.value.x,f.value.y),f.value=null),h.value&&(h.value.focus({preventScroll:!0}),h.value=null)}function S(C){if(i.value&&C.key==="Escape"){C.preventDefault(),L();return}}function B(C){if(C.key!=="Tab")return;const $=[l.value,u.value,c.value].filter(Boolean);if($.length===0)return;const A=$[0],N=$[$.length-1];if(C.shiftKey){document.activeElement===A&&(C.preventDefault(),N.focus());return}document.activeElement===N&&(C.preventDefault(),A.focus())}return Ke(()=>{window.addEventListener("keydown",S)}),Gi(()=>{window.removeEventListener("keydown",S),document.documentElement.style.overflow=""}),At(i,async C=>{document.documentElement.style.overflow=C?"hidden":"",C&&(await qt(),await qt(),w(b.value))}),At(n,async C=>{C&&(await qt(),w(b.value))}),e({openByImageId:O,close:L,isOpen:i}),(C,$)=>{const A=_e("OeamtcCarousel"),N=Ue;return y(),j(N,null,{default:k(()=>[R(Mh,{name:"article-image-lightbox",appear:""},{default:k(()=>[i.value?(y(),E("div",{key:0,ref:"lightboxRef",class:oe(["article-image-lightbox",{"article-image-lightbox--ready":n.value}]),role:"dialog","aria-modal":"true",onKeydown:B},[D("button",{class:"article-image-lightbox__backdrop",type:"button","aria-label":"Lightbox schließen",tabindex:"-1",onClick:L}),D("button",{ref_key:"closeButtonRef",ref:l,class:"article-image-lightbox__close",type:"button","aria-label":"Schließen",onClick:L},[R(_(U9),{"aria-hidden":"true"})],512),g.value.length>1?(y(),E("button",{key:0,ref_key:"prevButtonRef",ref:u,class:"article-image-lightbox__nav article-image-lightbox__nav--prev article-image-lightbox__nav--desktop",type:"button","aria-label":"Vorheriges Bild",onClick:P},[R(_(Ku),{"aria-hidden":"true"})],512)):V("",!0),g.value.length>1?(y(),E("button",{key:1,ref_key:"nextButtonRef",ref:c,class:"article-image-lightbox__nav article-image-lightbox__nav--next article-image-lightbox__nav--desktop",type:"button","aria-label":"Nächstes Bild",onClick:T},[R(_(nl),{"aria-hidden":"true"})],512)):V("",!0),D("div",Z9,[D("div",K9,[n.value?V("",!0):(y(),E("div",J9,[R(_(le),{lines:1})])),D("div",{ref_key:"carouselMountRef",ref:o,class:"article-image-lightbox__carousel-mount","aria-hidden":!n.value},[(y(),j(A,{key:p.value,class:"article-image-lightbox__carousel","slides-per-view":1,"space-between":0,navigation:!1,scrollbar:!1,"auto-height":!1,"slide-to-clicked-slide":!1,"mobile-slide-peek":!1,shadow:!1,"round-corners":!1},{default:k(()=>[(y(!0),E(q,null,ne(g.value,z=>(y(),j(_(Mi),{key:z.id,class:"article-image-lightbox__slide"},{default:k(()=>[D("picture",eg,[D("source",{type:"image/webp",srcset:_(Aa)(z,Ju,"webp",d(z),!1)},null,8,tg),D("img",{src:_(Aa)(z,Ju,"jpeg",d(z),!1),alt:z.altText||z.title||"",loading:"lazy",decoding:"async"},null,8,ig)]),z.title||z.description||z.copyright?(y(),E("div",rg,[R(Tt,{title:z.title||"",description:z.description||"",copyright:z.copyright||""},null,8,["title","description","copyright"])])):V("",!0)]),_:2},1024))),128))]),_:1}))],8,Q9)]),g.value.length>1?(y(),E("div",ng,[D("button",{class:"article-image-lightbox__nav article-image-lightbox__nav--prev",type:"button","aria-label":"Vorheriges Bild",onClick:P},[R(_(Ku),{"aria-hidden":"true"})]),D("button",{class:"article-image-lightbox__nav article-image-lightbox__nav--next",type:"button","aria-label":"Nächstes Bild",onClick:T},[R(_(nl),{"aria-hidden":"true"})])])):V("",!0)])],34)):V("",!0)]),_:1})]),_:1})}}}),sg=(s={src:"",async:!0})=>new Promise(function(e,t){const i=document.createElement("script");i.onload=e,i.onerror=t;
86const{dataset:r}=s;delete s.dataset;for(const n in s)i[n]=s[n];for(const n in r)i.dataset[n]=r[n];document.head.appendChild(i)});w1.extend({ö:"oe",Ö:"Oe",ä:"ae",Ä:"Ae",ü:"ue",Ü:"Ue",ß:"ss","ẞ":"SS","&":"und"});function Mr(s){if(!s)return"";const e=w1(s.toString(),{lower:!0,replacement:"-",remove:/[^A-Za-z0-9_.,-]/g,trim:!0});return e&&e.length<255?e:e.slice(0,255)}const ag="ad3.adfarm1.adition.com",og=[{id:3816729,banner:"adv_billboard"},{id:3816728,banner:"adv_halfpagead"},{id:3881439,banner:"adv_mobilebanner"}];function lg({slotConfiguration:s,adFarm:e,pageType:t="Startseite",channelName:i=null,articleId:r=null,deviceType:n="Desktop"}){const a=window.adition||{};a.srq=a.srq||[],a.srq.push(function(o){o.identityService.setAccmod(1),o.registerAdfarm(e),r&&o.setProfile("Article",Mr(r)),i&&o.setProfile("Channel",Mr(i)),o.setProfile("Pagetype",Mr(t)),o.setProfile("Screenwidth",Mr(window.screen.width)),o.setProfile("Device",Mr(n)),s||(s=og),s.forEach(l=>{const{banner:u,id:c}=l;if(c)o.configureRenderSlot(u).setContentunitId(Number(c)),o.renderSlot(u);else{const h=window.document.querySelector(`#${u}`);h&&(h.innerHTML="")}}),o.load().completeRendering(),o.errors&&o.errors.length&&o.errors.forEach(l=>console.error(l))})}const ug=m1("adition",{state:()=>({adScriptsLoaded:!1,loadAdsPromise:null}),actions:{async loadAds({slotConfiguration:s,pageType:e,channelName:t,articleId:i}){if(typeof window>"u")return;const r=window.innerWidth<768?"Mobile":"Desktop";await this.loadScripts(),lg({slotConfiguration:s,adFarm:ag,pageType:e,channelName:t,articleId:i,deviceType:r})},async loadScripts(){if(!(typeof window>"u"))return this.loadAdsPromise?this.loadAdsPromise:(this.loadAdsPromise=(async()=>{try{return await sg({id:"adition",src:"//imagesrv.adition.com/js/srp.js"}),this.adScriptsLoaded=trueq,!0}catch{return this.adScriptsLoaded=!1,!1}})(),this.loadAdsPromise)}}}),cg=["id"],hg=G({__name:"AditionAd",props:{aditionDefinition:{},position:{},channelName:{default:""},articleId:{default:""},pageType:{default:""}},emits:["empty","served"],setup(s,{emit:e}){const t=ug(),i=s,r=e,n=ee(null);let a=null,o=null;Ke(()=>{t.loadAds({slotConfiguration:i.aditionDefinition,pageType:i.pageType||"Artikel",channelName:i.channelName,articleId:i.articleId}),n.value&&(a=new MutationObserver(()=>{var u;(((u=n.value)==null?void 0:u.offsetHeight)??0)>0&&(r("served"),l())}),a.observe(n.value,{childList:!0,subtree:!0}),o=setTimeout(()=>{var u;(((u=n.value)==null?void 0:u.offsetHeight)??0)===0&&r("empty"),l()},3e3))}),Gi(l);function l(){a==null||a.disconnect(),a=null,o!==null&&(clearTimeout(o),o=null)}return(u,c)=>(y(),E("div",{ref_key:"adEl",ref:n,class:"aditionAd",id:i.position},null,8,cg))}}),dg={key:0,class:"adposition"},Hc=G({__name:"AdPositionWithConsent",props:{aditionDefinition:{},position:{},channelName:{default:""},articleId:{default:""},pageType:{default:""}},emits:["empty","served"],setup(s,{emit:e}){const t=e,{status:i,giveVendorConsent:r,hasVendorConsent:n}=mn(),{result:a,loading:o,error:l}=Ht(ba,{name:"UsercentricsKonfiguration"}),u=M(()=>a.value?_a("Adition",a):null),c=M(()=>o.value?"loading":l.value?"error":a.value?"success":"default"),h=s,f=M(()=>h.aditionDefinition.find(p=>p.banner===h.position)),d=M(()=>{var p;return(p=u.value)!=null&&p.name?n(u.value.name):!1});return(p,g)=>{const b=Ue,m=_e("UsercentricsInlineWrapper");return _(f)?(y(),E("div",dg,[_(c)==="success"?(y(),j(b,{key:0},{default:k(()=>[D("div",{class:oe(["adposition__consent",{"adposition__consent--needs-spacing":!_(d)}])},[R(m,{status:_(i),"give-vendor-consent":_(r),"has-vendor-consent":_(n),"vendor-name":_(u).name,"background-image":""},{"inline-headline":k(()=>[...g[2]||(g[2]=[H("Zur Anzeige von Werbung benötigen wir Ihre Zustimmung.",-1)])]),"inline-text":k(()=>[R(pt,{"html-content":_(u).text},null,8,["html-content"])]),"inline-generaltext":k(()=>[R(pt,{"html-content":_(u).generalText},null,8,["html-content"])]),content:k(()=>[R(b,null,{default:k(()=>{var v;return[R(hg,{position:(v=_(f))==null?void 0:v.banner,"adition-definition":h.aditionDefinition,"channel-name":h.channelName,"article-id":h.articleId,"page-type":h.pageType,onEmpty:g[0]||(g[0]=x=>t("empty")),onServed:g[1]||(g[1]=x=>t("served"))},null,8,["position","adition-definition","channel-name","article-id","page-type"])]}),_:1})]),_:1},8,["status","give-vendor-consent","has-vendor-consent","vendor-name"])],2)]),_:1})):_(c)==="loading"?(y(),j(_(le),{key:1,class:"adposition__loader oeamtc-decoration__radius--double"})):(y(),j(_(or),{key:2,modifier:"danger",icon:""},{contentSlot:k(()=>[...g[3]||(g[3]=[H(" Die Werbung konnte nicht geladen werden. ",-1)])]),_:1}))])):V("",!0)}}}),Xc=G({__name:"BillboardAd",props:{aditionDefinition:{},articleId:{default:""},channelName:{default:""}},setup(s){const e=ee(!1),t=ee(!1);return(i,r)=>s.aditionDefinition&&s.aditionDefinition.length>0&&!e.value?(y(),E("div",{key:0,class:oe(["billboard",{"billboard--served":t.value}])},[R(Hc,{position:"adv_billboard","article-id":s.articleId,"channel-name":s.channelName,"adition-definition":s.aditionDefinition,onEmpty:r[0]||(r[0]=n=>e.value=!0),onServed:r[1]||(r[1]=n=>t.value=!0)},null,8,["article-id","channel-name","adition-definition"])],2)):V("",!0)}}),Gc=G({__name:"MobilebannerAd",props:{aditionDefinition:{},articleId:{default:""},channelName:{default:""}},setup(s){const e=ee(!1),t=ee(!1);return(i,r)=>s.aditionDefinition&&s.aditionDefinition.length>0&&!e.value?(y(),E("div",{key:0,class:oe(["mobilebanner",{"mobilebanner--served":t.value}])},[R(Hc,{position:"adv_mobilebanner","article-id":s.articleId,"channel-name":s.channelName,"adition-definition":s.aditionDefinition,onEmpty:r[0]||(r[0]=n=>e.value=!0),onServed:r[1]||(r[1]=n=>t.value=!0)},null,8,["article-id","channel-name","adition-definition"])],2)):V("",!0)}}),fg={class:"oeamtc-article-section--content-width"},gg={class:"oeamtc-panel oeamtc-margin--top-small"},pg={class:"oeamtc-card-group oeamtc-card-group--grid"},Uc=G({__name:"RelatedContent",props:{articles:{},id:{},title:{default:""},text:{default:""}
86,grayBackground:{type:Boolean,default:!1}},setup(s){return(e,t)=>(y(),E("div",{class:oe(["oeamtc-article-section","oeamtc-related-content-section",{"oeamtc-article-section--grey-bg":s.grayBackground}])},[D("div",fg,[s.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":"h2","unique-id":s.id},{default:k(()=>[H(W(s.title),1)]),_:1},8,["unique-id"])):V("",!0),s.text?(y(),j(_(_n),{key:1,class:"oeamtc-margin--top-small"},{default:k(()=>[H(W(s.text),1)]),_:1})):V("",!0),D("div",gg,[D("div",pg,[(y(!0),E(q,null,ne(s.articles,(i,r)=>{var n,a,o,l,u,c;return y(),j(Es,{key:r,title:i.title,"lead-text":((n=i.teaser)==null?void 0:n.parsedLeadText)??"",link:_(et)(i.teaser),author:(a=i.teaser)==null?void 0:a.frontendAuthor,"date-published":(o=i.teaser)==null?void 0:o.frontendDate,image:(l=i.teaser)==null?void 0:l.image,lazy:!0,noline:!1,"link-target":(u=i.teaser)==null?void 0:u.linkTarget,"has-video":(c=i.teaser)==null?void 0:c.hasVideo},null,8,["title","lead-text","link","author","date-published","image","link-target","has-video"])}),128))])])])],2))}}),mg={key:1,class:"oeamtc-article-breadcrumbs"},bg={key:2,class:"oeamtc-article-section"},_g={class:"oeamtc-article-sections"},Wg=G({__name:"DefaultArticle",props:{article:{}},setup(s){const e=s,t=M(()=>[...e.article.articles].concat(e.article.contentSuggestions)),i=ee(null),r=ee(!0);e.article.useAllImagesGallery&&(r.value=!0),_1(v1,{openByImageId:(b,m)=>{var v;return(v=i.value)==null?void 0:v.openByImageId(b,m)},close:()=>{var b;return(b=i.value)==null?void 0:b.close()},get isOpen(){var b;return((b=i.value)==null?void 0:b.isOpen)??ee(!1)},isActive:r});const n=vn(),o=yi().public.BASE_URL,l=M(()=>o+n.fullPath),u=M(()=>e.article.inlineArticles.map(b=>b.teaser)),c=M(()=>e.article.inlineImages),h=M(()=>e.article.inlineVideos),f=M(()=>e.article.inlineFiles),d=M(()=>e.article.sections.some(b=>b.type==="MEMBERSHIP_DETAIL"));function p(b){const m=[];for(const v of b||[]){const x=(v==null?void 0:v.images)||[],w=(v==null?void 0:v.inlineImages)||[];m.push(...x,...w)}return m}const g=M(()=>{const b=e.article.images||[],m=e.article.inlineImages||[],v=p(e.article.sections),x=[...b,...m,...v],w=new Set;return x.filter(P=>{const T=String((P==null?void 0:P.id)||"");return!T||w.has(T)?!1:(w.add(T),!0)})});return(b,m)=>(y(),E(q,null,[D("div",{class:oe(["oeamtc-default-article-content",{"has-membership-section":d.value}])},[s.article.images?(y(),j(O1,{key:0,headline:s.article.title,"headline-level":1,leadtext:s.article.parsedLeadText,"share-url":l.value,"share-title":s.article.pageTitle,images:s.article.images,infobar:s.article.infobar,"show-infobar":!0,date:s.article.frontendDate,"show-author":s.article.showAuthor,"show-article-date":s.article.showArticleDate,authors:s.article.authors,large:s.article.showHigherHeroElement,"show-print-button":s.article.showPrintButton,"show-share-button":s.article.showShareButton,"infobar-alignment-mode":d.value?"membership":"default","show-copyright":""},null,8,["headline","leadtext","share-url","share-title","images","infobar","date","show-author","show-article-date","authors","large","show-print-button","show-share-button","infobar-alignment-mode"])):V("",!0),d.value?V("",!0):(y(),E("div",mg,[R(Uo,{breadcrumbs:s.article.breadcrumbs},null,8,["breadcrumbs"])])),s.article.parsedBodyText?(y(),E("div",bg,[R(Re,{class:"oeamtc-article-section--content-width",text:s.article.parsedBodyText,"inline-articles":u.value,"inline-images":c.value,"inline-videos":h.value,"inline-files":f.value,"inline-riddles":s.article.inlineRiddles,"headline-offset":1,"outer-html-tag":"section"},null,8,["text","inline-articles","inline-images","inline-videos","inline-files","inline-riddles"])])):V("",!0),D("div",_g,[s.article.disableAds?V("",!0):(y(),j(Xc,{key:0,"page-type":"Artikel","article-id":String(s.article.id),"channel-name":s.article.channel.channelName,"adition-definition":s.article.aditionDefinitions},null,8,["article-id","channel-name","adition-definition"])),s.article.disableAds?V("",!0):(y(),j(Gc,{key:1,"page-type":"Artikel","article-id":String(s.article.i
86d),"channel-name":s.article.channel.channelName,"adition-definition":s.article.aditionDefinitions},null,8,["article-id","channel-name","adition-definition"])),s.article.sections.length>0?(y(),j(Vc,{key:2,sections:s.article.sections,article:s.article,breadcrumbs:s.article.breadcrumbs},null,8,["sections","article","breadcrumbs"])):V("",!0)]),s.article.showRelatedContent&&t.value.length>0?(y(),j(Uc,{key:3,id:"related-content-"+s.article.id,articles:t.value,class:"oeamtc-margin--top-larger",title:"Das könnte Sie auch interessieren"},null,8,["id","articles"])):V("",!0)],2),R(Yc,{ref_key:"lightboxRef",ref:i,images:g.value,"is-active":r.value},null,8,["images","is-active"])],64))}}),vg=Object.assign({name:"NuxtErrorBoundary",inheritAttrs:!1},{__name:"nuxt-error-boundary",emits:["error"],setup(s,{expose:e,emit:t}){const i=t,r=je(null);function n(){r.value=null}{let a=function(...l){const[u,c,h]=l;i("error",u),o.hooks.callHook("vue:error",u,c,h),r.value=u};const o=ri();Lh((l,u,c)=>(o.isHydrating?t1(()=>a(l,u,c)):a(l,u,c),!1))}return e({error:r,clearError:n}),(a,o)=>r.value?re(a.$slots,"error",Rh(Ih({error:r.value,clearError:n})),void 0,void 0,0):re(a.$slots,"default",{},void 0,void 0,1)}}),yg={class:"oeamtc-article-section oeamtc-margin--bottom-larger"},wg={class:"oeamtc-article-section--content-width"},xg=G({__name:"AdditionalArticles",props:{id:{},articles:{},title:{default:""},text:{default:""}},setup(s){const e=s;return(t,i)=>{const r=vg;return y(),j(r,null,{default:k(()=>[e.articles?(y(),E("aside",De({key:0},t.$attrs,{class:"oeamtc-article-additional-articles"}),[D("div",yg,[D("div",wg,[e.title?(y(),j(_(Je),{key:0,class:"oeamtc-headline__size--extra-large oeamtc-text__line-height--medium","headline-level":"h2","unique-id":e.id},{default:k(()=>[H(W(e.title),1)]),_:1},8,["unique-id"])):V("",!0),e.text?(y(),j(_(_n),{key:1,class:"oeamtc-margin--top-small"},{default:k(()=>[H(W(e.text),1)]),_:1})):V("",!0),(y(!0),E(q,null,ne(e.articles,(n,a)=>(y(),j(B0,{key:a,class:"oeamtc-margin--top-primary",headline:n.teaser.title,"headline-tag":"h3",description:n.teaser.parsedLeadText,link:_(et)(n.teaser),"show-share-count":!1,"show-like-count":!1,image:n.teaser.image,"date-published":new Date(n.teaser.frontendDate),"link-target":n.teaser.linkTarget,lazy:""},null,8,["headline","description","link","image","date-published","link-target"]))),128))])])],16)):V("",!0)]),_:1})}}}),Pg=vr`
87  query TextsByPortal(
88    $portalId: ID!
89    $offset: Int
90    $limit: Int
91    $order: String
92    $filterChannelId: ID
93    $filterTagId: ID
94  ) {
95    Portal(id: $portalId) {
96      ... on Portal {
97        id
98        url
99      }
100      ... on ErrorResponse {
101        url
102        status
103        statusText
104      }
105    }
106    TextsByPortal(
107      portalId: $portalId
108      offset: $offset
109      limit: $limit
110      order: $order
111      filterChannelId: $filterChannelId
112      filterTagId: $filterTagId
113    ) {
114      ... on Article {
115        id
116        title
117        tags {
118          id
119          name
120        }
121        teaser {
122          ... on ArticleTeaser {
123            id
124            title
125            preTitle
126            leadText
127            parsedLeadText
128            frontendDate
129            frontendAuthor
130            link
131            linkTarget
132            channel {
133              url
134              portal {
135                id
136                name
137                url
138              }
139            }
140            image {
141              ...ImagesData
142            }
143          }
144          ... on ErrorResponse {
145            url
146            status
147            statusText
148          }
149        }
150      }
151      ... on ErrorResponse {
152        url
153        status
154        statusText
155      }
156    }
157  }
158  ${Bh}
159`,kg={class:"oeamtc-blog-article-content"},Tg={class:"oeamtc-article-section oeamtc-article-section--small-margin"},Dg={class:"oeamtc-article-section--content-width"},Sg={key:1,class:"oeamtc-article-section oeamtc-article-section--small-margin"},Og={class:"oeamtc-article-section--content-width"},Ag={key:2,class:"oeamtc-article-section oeamtc-article-section--small-margin"},Cg={class:"oeamtc-blog-article-sections"},Eg={class:"oeamtc-article-section oeamtc-blog-article-footer-share oeamtc-margin--top-larger"},Mg={class:"oeamtc-article-section--content-width"},qg=G({__name:"BlogArticle",props:{article:{}},setup(s){const e=s,t=ee(null),i=ee(!1);e.article.useAllImagesGallery&&(i.value=!0),_1(v1,{openByImageId:(w,P)=>{var T;return(T=t.value)==null?void 0:T.openByImageId(w,P)},close:()=>{var w;return(w=t.value)==null?void 0:w.close()},get isOpen(){var w;return((w=t.value)==null?void 0:w.isOpen)??ee(!1)},isActive:i});const r=vn(),n=yi(),a=n.public.BASE_URL,o=M(()=>a+r.fullPath),{loading:l,error:u,result:c}=Ht(Pg,{portalId:n.public.PORTAL_ID,offset:0,limit:4,filterChannelId:n.public.BLOGCHANNEL_ID}),h=w=>{let P=w.TextsByPortal.filter(T=>
159T.id!==e.article.id);return P.length>3&&(P=P.slice(0,-1)),P},f=M(()=>{var w,P,T;return((T=(P=(w=c.value)==null?void 0:w.TextsByPortal)==null?void 0:P[0])==null?void 0:T.__typename)==="ErrorResponse"}),d=M(()=>e.article.inlineArticles.map(w=>w.teaser)),p=M(()=>e.article.inlineImages),g=M(()=>e.article.inlineVideos),b=M(()=>e.article.inlineFiles),m=M(()=>e.article.inlineRiddles);function v(w){const P=[];for(const T of w||[]){const O=(T==null?void 0:T.images)||[],L=(T==null?void 0:T.inlineImages)||[];P.push(...O,...L)}return P}const x=M(()=>{const w=e.article.images||[],P=e.article.inlineImages||[],T=v(e.article.sections),O=[...w,...P,...T],L=new Set;return O.filter(S=>{const B=String((S==null?void 0:S.id)||"");return!B||L.has(B)?!1:(L.add(B),!0)})});return(w,P)=>{var L,S;const T=Uo,O=Ue;return y(),E(q,null,[D("div",kg,[s.article.images?(y(),j(O1,{key:0,headline:s.article.title,"headline-level":1,leadtext:s.article.parsedLeadText,"share-url":o.value,"share-title":s.article.pageTitle,images:s.article.images,infobar:s.article.infobar,"show-infobar":!0,"date-display":!0,date:s.article.frontendDate,"show-author":s.article.showAuthor,"show-article-date":s.article.showArticleDate,authors:s.article.authors,"show-print-button":s.article.showPrintButton,"show-share-button":s.article.showShareButton,large:s.article.showHigherHeroElement,"show-copyright":""},null,8,["headline","leadtext","share-url","share-title","images","infobar","date","show-author","show-article-date","authors","show-print-button","show-share-button","large"])):V("",!0),D("div",Tg,[D("div",Dg,[R(T,{breadcrumbs:s.article.breadcrumbs},null,8,["breadcrumbs"])])]),s.article.tags.length>0?(y(),E("div",Sg,[D("div",Og,[(y(!0),E(q,null,ne(s.article.tags,(B,C)=>(y(),j(_(jh),{key:C,class:"oeamtc-margin--right-small",color:_(j0)(B.name),href:"/blog/?filter="+B.id},{default:k(()=>[H(W(B.name),1)]),_:2},1032,["color","href"]))),128))])])):V("",!0),s.article.parsedBodyText?(y(),E("div",Ag,[R(Re,{class:"oeamtc-article-section--content-width",text:s.article.parsedBodyText,"inline-articles":d.value,"inline-images":p.value,"inline-videos":g.value,"inline-files":b.value,"inline-riddles":m.value,"headline-offset":1,"outer-html-tag":"section"},null,8,["text","inline-articles","inline-images","inline-videos","inline-files","inline-riddles"])])):V("",!0),D("div",Cg,[s.article.disableAds?V("",!0):(y(),j(Xc,{key:0,"page-type":"Artikel","article-id":String(s.article.id),"channel-name":s.article.channel.channelName,"adition-definition":s.article.aditionDefinitions},null,8,["article-id","channel-name","adition-definition"])),s.article.disableAds?V("",!0):(y(),j(Gc,{key:1,"page-type":"Artikel","article-id":String(s.article.id),"channel-name":s.article.channel.channelName,"adition-definition":s.article.aditionDefinitions},null,8,["article-id","channel-name","adition-definition"])),s.article.sections.length>0?(y(),j(Vc,{key:2,sections:s.article.sections,article:s.article},null,8,["sections","article"])):V("",!0)]),D("div",Eg,[D("div",Mg,[R(O,null,{default:k(()=>[R(_(u1),{"share-url":o.value,"share-title":s.article.pageTitle,"li-enabled":!0,"fb-enabled":!0,"tw-enabled":!0,"ws-enabled":!0},null,8,["share-url","share-title"])]),_:1})])]),!_(l)&&!_(u)&&!f.value&&h(_(c)).length>0?(y(),j(xg,{key:3,id:"additional-articles-blog-"+s.article.id,articles:h(_(c)),class:"oeamtc-margin--top-larger",title:"Neu im ÖAMTC Blog",text:"Gemeinsam spüren wir Geschichten auf! Wir zeigen dir, was hinter den Kulissen des Clubs passiert und geben Tipps und Tricks zur Gestaltung deiner ganz persönlichen Mobilität."},null,8,["id","articles"])):V("",!0),(((L=s.article.articles)==null?void 0:L.length)>0||((S=s.article.contentSuggestions)==null?void 0:S.length)>0)&&s.article.showRelatedContent?(y(),j(Uc,{key:4,id:"related-content-"+s.article.id,articles:[...s.article.articles??[],...s.article.contentSuggestions??[]].slice(0,3),class:"oeamtc-margin--top-larger",title:"Das könnte Sie auch interessieren"},null,8,["id","articles"])):V("",!0)]),R(Yc,{ref_key:"lightboxRef",ref:t,images:x.value,"is-active":i.value},null,8,["images","is-active"])],64)}}});function Lg(s){return s?!!(s.channel.channelName==="Blog"||s.channel.parents.some(e=>e.channelName==="Blog")):!1}function Zg(s,e){return Lg(s)?e.filter(t=>t.name==="blogArticle")[0].comp:e.filter(t=>t.name==="defaultArticle")[0].comp}var Rg;function Ig(){return Rg}function Bg(s){return typeof s=="function"?s():_(s)}function Ao(s){if(s instanceof Promise||s instanceof Date||s instanceof RegExp)return s;const e=Bg(s);if(!s||!e)return e;if(Array.isArray(e))return e.map(t=>Ao(t));if(typeof e=="object"){const t={};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){if(i==="titleTemplate"||i[0]==="o"&&i[1]==="n"){t[i]=_(e[i]);continue}t[i]=Ao(e[i])}return t}return e}var jg="usehead",Qu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e1="__unhead_injection_handler__";
159function Fg(){return e1 in Qu?Qu[e1]():s1(jg)||Ig()}function zg(s,e={}){const t=e.head||Fg();if(t)return t.ssr?t.push(s,e):Ng(t,s,e)}function Ng(s,e,t={}){const i=ee(!1),r=ee({});a1(()=>{r.value=i.value?{}:Ao(e)});const n=s.push(r.value,t);return At(r,o=>{n.patch(o)}),ga()&&(Gi(()=>{n.dispose()}),Fh(()=>{i.value=!0}),zh(()=>{i.value=!1})),n}var $g=s=>typeof s=="function",Kg=(s,e)=>{if(!s)return;const t=M(()=>$g(s)?s():s);zg(()=>t.value?{script:[{type:"application/ld+json",innerHTML:JSON.stringify(t.value,null,"")}]}:{},e)};export{C6 as A,ld as C,o3 as G,Vc as S,Wg as _,Kg as a,Ug as b,k1 as c,qg as d,O1 as e,I0 as f,Zg as g,j0 as h,Lg as i,B0 as j,nl as k,H0 as l,rr as m,a3 as n,Z7 as o,W7 as p,v3 as q,Mc as r,C1 as s,Er as t,j6 as u,t3 as v,P9 as w,C9 as x,Xc as y,Gc as z};

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.