import{r as Qt,h as Vu,g as Fn,n as Dt,i as it,u as we,v as _p,a as be,w as dn,b as Qe,o as yt,c as co,d as uo,t as Ft,e as gn,s as Et,f as ya,j as De,k as de,l as At,p as Ht,m as Ri,q as ul,x as gr,y as Xr,z as ho,A as xn,B as wp,C as yn,D as vr,E as kp,F as dl,G as ot,H as J,I as ue,J as Be,K as Ue,L as kn,M as nt,N as St,O as Oe,P as Wu,Q as Uu,R as Ke,S as Mi,T as fo,U as po,V as vn,W as ve,X as Cp,Y as Rt,Z as pn,_ as xp,$ as mo,a0 as Gu,a1 as Sp,a2 as go,a3 as ke,a4 as He,a5 as Ap,a6 as he,a7 as qu,a8 as yr,a9 as br,aa as Ne,ab as pe,ac as tt,ad as vo,ae as yo,af as bo,ag as ba,ah as _a,ai as _o,aj as sr,ak as Yu,al as Vt,am as Ep,an as Pp,ao as Tp,ap as Mp,aq as hl,ar as en,as as Lp,at as $p,au as Op,av as Dp,aw as Ip,ax as Rp}from"./swiper-vue.35f06100.js";function Xu(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const r in i)if(r!=="default"&&!(r in e)){const a=Object.getOwnPropertyDescriptor(i,r);a&&Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>i[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const Bp=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Fp=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Np=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function jp(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Hp(e);return}return t}function Hp(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function zp(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const i=n.toLowerCase();if(i==="true")return!0;if(i==="false")return!1;if(i==="undefined")return;if(i==="null")return null;if(i==="nan")return Number.NaN;if(i==="infinity")return Number.POSITIVE_INFINITY;if(i==="-infinity")return Number.NEGATIVE_INFINITY}if(!Np.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Bp.test(e)||Fp.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,jp)}return JSON.parse(e)}catch(i){if(t.strict)throw i;return e}}const Vp=/#/g,Wp=/&/g,Up=/\//g,Gp=/=/g,wo=/\+/g,qp=/%5e/gi,Yp=/%60/gi,Xp=/%7c/gi,Qp=/%20/gi;function Kp(e){return encodeURI(""+e).replace(Xp,"|")}function ks(e){return Kp(typeof e=="string"?e:JSON.stringify(e)).replace(wo,"%2B").replace(Qp,"+").replace(Vp,"%23").replace(Wp,"%26").replace(Yp,"`").replace(qp,"^").replace(Up,"%2F")}function za(e){return ks(e).replace(Gp,"%3D")}function Qu(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Zp(e){return Qu(e.replace(wo," "))}function Jp(e){return Qu(e.replace(wo," "))}function em(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const i=n.match(/([^=]+)=?(.*)/)||[];if(i.length<2)continue;const r=Zp(i[1]);if(r==="__proto__"||r==="constructor")continue;const a=Jp(i[2]||"");t[r]===void 0?t[r]=a:Array.isArray(t[r])?t[r].push(a):t[r]=[t[r],a]}return t}function tm(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${za(e)}=${ks(n)}`).join("&"):`${za(e)}=${ks(t)}`:za(e)}function nm(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>tm(t,e[t])).filter(Boolean).join("&")}const im=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,rm=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,am=/^([/\\]\s*){2,}[^/\\]/,sm=/\/$|\/\?|\/#/,om=/^\.?\//;function _r(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?im.test(e):rm.test(e)||(t.acceptRelative?am.test(e):!1)}function Cs(e="",t){return t?sm.test(e):e.endsWith("/")}function Ku(e="",t){if(!t)return(Cs(e)?e.slice(0,-1):e)||"/";if(!Cs(e,!0))return e||"/";let n=e,i="";const r=e.indexOf("#");r>=0&&(n=e.slice(0,r),i=e.slice(r));const[a,...s]=n.split("?");return((a.endsWith("/")?a.slice(0,-1):a)||"/")+(s.length>0?`?${s.join("?")}`:"")+i}function lm(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Cs(e,!0))return e||"/";let n=e,i="";const r=e.indexOf("#");if(r>=0&&(n=e.slice(0,r),i=e.slice(r),!n))return i;const[a,...s]=n.split("?");return a+"/"+(s.length>0?`?${s.join("?")}`:"")+i}function cm(e,t){if(Ju(t)||_r(e))return e;const n=Ku(t);return e.startsWith(n)?e:wr(n,e)}function fl(e,t){if(Ju(t))return e;const n=Ku(t);if(!e.startsWith(n))return e;const i=e.slice(n.length);return i[0]==="/"?i:"/"+i}function Zu(e,t){const n=wa(e),i={...em(n.search),...t};return n.search=nm(i),dm(n)}function Ju(e){return!e||e==="/"}function um(e){return e&&e!=="/"}function wr(e,...t){let n=e||"";for(const i of t.filter(r=>um(r)))if(n){const r=i.replace(om,"");n=lm(n)+r}else n=i;return n}const ed=Symbol.for("ufo:protocolRelative");function wa(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,d,m=""]=n;return{protocol:d.toLowerCase(),pathname:m,href:d+m,auth:"",host:"",search:"",hash:""}}if(!_r(e,{acceptRelative:!0}))return t?wa(t+e):pl(e);const[,i="",r,a=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",o=""]=a.match(/([^#/?]*)(.*)?/)||[];i==="file:"&&(o=o.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=pl(o);return{protocol:i.toLowerCase(),auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:s,pathname:l,search:c,hash:u,[ed]:!i}}function pl(e=""){const[t="",n="",i=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:i}}function dm(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",i=e.hash||"",r=e.auth?e.auth+"@":"",a=e.host||"";return(e.protocol||e[ed]?(e.protocol||"")+"//":"")+r+a+t+n+i}class hm extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function fm(e){var l,c,u,d,m;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((d=e.options)==null?void 0:d.method)||"GET",i=((m=e.request)==null?void 0:m.url)||String(e.request)||"/",r=`[${n}] ${JSON.stringify(i)}`,a=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${r}: ${a}${t?` ${t}`:""}`,o=new hm(s,e.error?{cause:e.error}:void 0);for(const v of["request","options","response"])Object.defineProperty(o,v,{get(){return e[v]}});for(const[v,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(o,v,{get(){return e.response&&e.response[h]}});return o}const pm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function ml(e="GET"){return pm.has(e.toUpperCase())}function mm(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const gm=new Set(["image/svg","application/xml","application/xhtml","application/html"]),vm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function ym(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return vm.test(t)?"json":gm.has(t)||t.startsWith("text/")?"text":"blob"}function bm(e,t,n=globalThis.Headers){const i={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(i.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(i.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){i.headers=new n((t==null?void 0:t.headers)||{});for(const[r,a]of new n((e==null?void 0:e.headers)||{}))i.headers.set(r,a)}return i}const _m=new Set([408,409,425,429,500,502,503,504]),wm=new Set([101,204,205,304]);function td(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:i=globalThis.AbortController}=e;async function r(o){const l=o.error&&o.error.name==="AbortError"&&!o.options.timeout||!1;if(o.options.retry!==!1&&!l){let u;typeof o.options.retry=="number"?u=o.options.retry:u=ml(o.options.method)?0:1;const d=o.response&&o.response.status||500;if(u>0&&(Array.isArray(o.options.retryStatusCodes)?o.options.retryStatusCodes.includes(d):_m.has(d))){const m=o.options.retryDelay||0;return m>0&&await new Promise(v=>setTimeout(v,m)),a(o.request,{...o.options,retry:u-1})}}const c=fm(o);throw Error.captureStackTrace&&Error.captureStackTrace(c,a),c}const a=async function(l,c={}){var v;const u={request:l,options:bm(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(v=u.options.method)==null?void 0:v.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=cm(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=Zu(u.request,{...u.options.params,...u.options.query}))),u.options.body&&ml(u.options.method)&&(mm(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let d;if(!u.options.signal&&u.options.timeout){const h=new i;d=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await r(u)}finally{d&&clearTimeout(d)}if(u.response.body&&!wm.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||ym(u.response.headers.get("content-type")||"");switch(h){case"json":{const f=await u.response.text(),w=u.options.parseResponse||zp;u.response._data=w(f);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await r(u)):u.response},s=async function(l,c){return(await a(l,c))._data};return s.raw=a,s.native=(...o)=>t(...o),s.create=(o={})=>td({...e,defaults:{...e.defaults,...o}}),s}const ko=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),km=ko.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Cm=ko.Headers,xm=ko.AbortController,Sm=td({fetch:km,Headers:Cm,AbortController:xm}),Am=Sm,Em=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},Qr=Em().app,Pm=()=>Qr.baseURL,Tm=()=>Qr.buildAssetsDir,Mm=(...e)=>wr(nd(),Tm(),...e),nd=(...e)=>{const t=Qr.cdnURL||Qr.baseURL;return e.length?wr(t,...e):t};globalThis.__buildAssetsURL=Mm,globalThis.__publicAssetsURL=nd;function xs(e,t={},n){for(const i in e){const r=e[i],a=n?`${n}:${i}`:i;typeof r=="object"&&r!==null?xs(r,t,a):typeof r=="function"&&(t[a]=r)}return t}const Lm={run:e=>e()},$m=()=>Lm,id=typeof console.createTask<"u"?console.createTask:$m;function Om(e,t){const n=t.shift(),i=id(n);return e.reduce((r,a)=>r.then(()=>i.run(()=>a(...t))),Promise.resolve())}function Dm(e,t){const n=t.shift(),i=id(n);return Promise.all(e.map(r=>i.run(()=>r(...t))))}function Va(e,t){for(const n of[...e])n(t)}class Im{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,i={}){if(!t||typeof n!="function")return()=>{};const r=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!i.allowDeprecated){let s=a.message;s||(s=`${r} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let i,r=(...a)=>(typeof i=="function"&&i(),i=void 0,r=void 0,n(...a));return i=this.hook(t,r),i}removeHook(t,n){if(this._hooks[t]){const i=this._hooks[t].indexOf(n);i!==-1&&this._hooks[t].splice(i,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const i=this._hooks[t]||[];delete this._hooks[t];for(const r of i)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=xs(t),i=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of i.splice(0,i.length))r()}}removeHooks(t){const n=xs(t);for(const i in n)this.removeHook(i,n[i])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Om,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Dm,t,...n)}callHookWith(t,n,...i){const r=this._before||this._after?{name:n,args:i,context:{}}:void 0;this._before&&Va(this._before,r);const a=t(n in this._hooks?[...this._hooks[n]]:[],i);return a instanceof Promise?a.finally(()=>{this._after&&r&&Va(this._after,r)}):(this._after&&r&&Va(this._after,r),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function rd(){return new Im}function Rm(e={}){let t,n=!1;const i=s=>{if(t&&t!==s)throw new Error("Context conflict")};let r;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?r=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const a=()=>{if(r&&t===void 0){const s=r.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=a();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>a(),set:(s,o)=>{o||i(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,o)=>{i(s),t=s;try{return r?r.run(s,o):o()}finally{n||(t=void 0)}},async callAsync(s,o){t=s;const l=()=>{t=s},c=()=>t===s?l:void 0;Ss.add(c);try{const u=r?r.run(s,o):o();return n||(t=void 0),await u}finally{Ss.delete(c)}}}}function Bm(e={}){const t={};return{get(n,i={}){return t[n]||(t[n]=Rm({...e,...i})),t[n],t[n]}}}const Kr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},gl="__unctx__",Fm=Kr[gl]||(Kr[gl]=Bm()),Nm=(e,t={})=>Fm.get(e,t),vl="__unctx_async_handlers__",Ss=Kr[vl]||(Kr[vl]=new Set);function Zr(e){const t=[];for(const r of Ss){const a=r();a&&t.push(a)}const n=()=>{for(const r of t)r()};let i=e();return i&&typeof i=="object"&&"catch"in i&&(i=i.catch(r=>{throw n(),r})),[i,n]}const ad=Nm("nuxt-app"),jm="__nuxt_plugin";function Hm(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.6.3"},get vue(){return n.vueApp.version}},payload:Qt({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:r=>Wm(n,r),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=rd(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,a)=>{const s="$"+r;Dr(n,s,a),Dr(n.vueApp.config.globalProperties,s,a)},Dr(n.vueApp,"$nuxt",n),Dr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",a=>{n.callHook("app:chunkError",{error:a.payload})}),window.useNuxtApp=window.useNuxtApp||kt;const r=n.hook("app:error",(...a)=>{console.error("[nuxt] error caught during app initialization",...a)});n.hook("app:mounted",r)}const i=Qt(n.payload.config);return n.provide("config",i),n}async function zm(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const i in n)e.provide(i,n[i])}}async function Vm(e,t){const n=[],i=[];for(const r of t){const a=zm(e,r);r.parallel?n.push(a.catch(s=>i.push(s))):await a}if(await Promise.all(n),i.length)throw i[0]}/*! @__NO_SIDE_EFFECTS__ */function Kt(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[jm]:!0}))}function Wm(e,t,n){const i=()=>n?t(...n):t();return ad.set(e),e.vueApp.runWithContext(i)}/*! @__NO_SIDE_EFFECTS__ */function kt(){var t;let e;if(Vu()&&(e=(t=Fn())==null?void 0:t.appContext.app.$nuxt),e=e||ad.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Gt(){return kt().$config}function Dr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Um="modulepreload",Gm=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},yl={},qm=function(t,n,i){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(a=>{if(a=Gm(a,i),a in yl)return;yl[a]=!0;const s=a.endsWith(".css"),o=s?'[rel="stylesheet"]':"";if(!!i)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===a&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${o}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":Um,s||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),s)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t())},Ve=(...e)=>qm(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Ym=-1,Xm=-2,Qm=-3,Km=-4,Zm=-5,Jm=-6;function eg(e,t){return tg(JSON.parse(e),t)}function tg(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,i=Array(n.length);function r(a,s=!1){if(a===Ym)return;if(a===Qm)return NaN;if(a===Km)return 1/0;if(a===Zm)return-1/0;if(a===Jm)return-0;if(s)throw new Error("Invalid input");if(a in i)return i[a];const o=n[a];if(!o||typeof o!="object")i[a]=o;else if(Array.isArray(o))if(typeof o[0]=="string"){const l=o[0],c=t==null?void 0:t[l];if(c)return i[a]=c(r(o[1]));switch(l){case"Date":i[a]=new Date(o[1]);break;case"Set":const u=new Set;i[a]=u;for(let v=1;v<o.length;v+=1)u.add(r(o[v]));break;case"Map":const d=new Map;i[a]=d;for(let v=1;v<o.length;v+=2)d.set(r(o[v]),r(o[v+1]));break;case"RegExp":i[a]=new RegExp(o[1],o[2]);break;case"Object":i[a]=Object(o[1]);break;case"BigInt":i[a]=BigInt(o[1]);break;case"null":const m=Object.create(null);i[a]=m;for(let v=1;v<o.length;v+=2)m[o[v]]=r(o[v+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(o.length);i[a]=l;for(let c=0;c<o.length;c+=1){const u=o[c];u!==Xm&&(l[c]=r(u))}}else{const l={};i[a]=l;for(const c in o){const u=o[c];l[c]=r(u)}}return i[a]}return r(0)}function ng(e){return Array.isArray(e)?e:[e]}const ig=["title","titleTemplate","script","style","noscript"],zr=["base","meta","link","style","script","noscript"],rg=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],ag=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],sd=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],sg=typeof window<"u";function Co(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function bl(e){return e._h||Co(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function od(e,t){const{props:n,tag:i}=e;if(ag.includes(i))return i;if(i==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const r=["id"];i==="meta"&&r.push("name","property","http-equiv");for(const a of r)if(typeof n[a]<"u"){const s=String(n[a]);return t&&!t(s)?!1:`${i}:${a}:${s}`}return!1}function _l(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function og(e,t,n){const i={tag:e,props:await ld(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return sd.forEach(r=>{const a=typeof i.props[r]<"u"?i.props[r]:n[r];typeof a<"u"&&((!["innerHTML","textContent","children"].includes(r)||ig.includes(i.tag))&&(i[r==="children"?"innerHTML":r]=a),delete i.props[r])}),i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(r=>({...i,props:{...i.props,content:r}})):i}function lg(e,t){var i;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,a])=>e==="style"?`${r}:${a}`:r)),(i=String(Array.isArray(t)?t.join(n):t))==null?void 0:i.split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function ld(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=lg(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!sd.includes(n)){const i=String(e[n]),r=n.startsWith("data-");i==="true"||i===""?e[n]=r?"true":!0:e[n]||(r&&i==="false"?e[n]="false":delete e[n])}}return e}const cg=10;async function ug(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,i])=>typeof i<"u"&&rg.includes(n)).forEach(([n,i])=>{const r=ng(i);t.push(...r.map(a=>og(n,a,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,i)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<cg)+i,n))}const wl={base:-10,title:10},kl={critical:-80,high:-10,low:20};function Jr(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in wl&&(t=wl[e.tag]),typeof n=="string"&&n in kl?t+kl[n]:t)}const dg=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Cl=["onload","onerror","onabort","onprogress","onloadstart"],zn="%separator";function Vr(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function i(s){let o;return["s","pageTitle"].includes(s)?o=t.pageTitle:s.includes(".")?o=s.split(".").reduce((l,c)=>l&&l[c]||void 0,t):o=t[s],typeof o<"u"?(o||"").replace(/"/g,'\\"'):!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(s=>{const o=i(s.slice(1));typeof o=="string"&&(e=e.replace(new RegExp(`\\${s}(\\W|$)`,"g"),(l,c)=>`${o}${c}`).trim())}),e.includes(zn)&&(e.endsWith(zn)&&(e=e.slice(0,-zn.length).trim()),e.startsWith(zn)&&(e=e.slice(zn.length).trim()),e=e.replace(new RegExp(`\\${zn}\\s*\\${zn}`,"g"),zn),e=Vr(e,{separator:n},n)),e}async function hg(e,t={}){var u;const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const i={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",i),!i.shouldRender)return;const r=(await e.resolveTags()).map(d=>({tag:d,id:zr.includes(d.tag)?bl(d):d.tag,shouldRender:!0}));let a=e._dom;if(!a){a={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const d of["body","head"]){const m=(u=n[d])==null?void 0:u.children,v=[];for(const h of[...m].filter(f=>zr.includes(f.tagName.toLowerCase()))){const f={tag:h.tagName.toLowerCase(),props:await ld(h.getAttributeNames().reduce((y,x)=>({...y,[x]:h.getAttribute(x)}),{})),innerHTML:h.innerHTML};let w=1,_=od(f);for(;_&&v.find(y=>y._d===_);)_=`${_}:${w++}`;f._d=_||void 0,v.push(f),a.elMap[h.getAttribute("data-hid")||bl(f)]=h}}}a.pendingSideEffects={...a.sideEffects||{}},a.sideEffects={};function s(d,m,v){const h=`${d}:${m}`;a.sideEffects[h]=v,delete a.pendingSideEffects[h]}function o({id:d,$el:m,tag:v}){const h=v.tag.endsWith("Attrs");a.elMap[d]=m,h||(["textContent","innerHTML"].forEach(f=>{v[f]&&v[f]!==m[f]&&(m[f]=v[f])}),s(d,"el",()=>{var f;(f=a.elMap[d])==null||f.remove(),delete a.elMap[d]}));for(const[f,w]of Object.entries(v._eventHandlers||{}))m.getAttribute(`data-${f}`)!==""&&((v.tag==="bodyAttrs"?n.defaultView:m).addEventListener(f.replace("on",""),w.bind(m)),m.setAttribute(`data-${f}`,""));Object.entries(v.props).forEach(([f,w])=>{const _=`attr:${f}`;if(f==="class")for(const y of(w||"").split(" ").filter(Boolean))h&&s(d,`${_}:${y}`,()=>m.classList.remove(y)),!m.classList.contains(y)&&m.classList.add(y);else if(f==="style")for(const y of(w||"").split(";").filter(Boolean)){const[x,...A]=y.split(":").map(E=>E.trim());s(d,`${_}:${x}`,()=>{m.style.removeProperty(x)}),m.style.setProperty(x,A.join(":"))}else m.getAttribute(f)!==w&&m.setAttribute(f,w===!0?"":String(w)),h&&s(d,_,()=>m.removeAttribute(f))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of r){const{tag:m,shouldRender:v,id:h}=d;if(v){if(m.tag==="title"){n.title=m.textContent;continue}d.$el=d.$el||a.elMap[h],d.$el?o(d):zr.includes(m.tag)&&l.push(d)}}for(const d of l){const m=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),o(d),c[m]=c[m]||n.createDocumentFragment(),c[m].appendChild(d.$el)}for(const d of r)await e.hooks.callHook("dom:renderTag",d,n,s);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(a.pendingSideEffects).forEach(d=>d()),e._dom=a,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:r})}async function fg(e,t={}){const n=t.delayFn||(i=>setTimeout(i,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(i=>n(async()=>{await hg(e,t),delete e._domUpdatePromise,i()}))}function pg(e){return t=>{var i,r;const n=((r=(i=t.resolvedOptions.document)==null?void 0:i.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(a){fg(a,e)}}}}}const mg=["templateParams","htmlAttrs","bodyAttrs"],gg={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(i=>{e.props[i]&&(e.key=e.props[i],delete e.props[i])});const n=od(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(i=>{const r=(i.key?`${i.tag}:${i.key}`:i._d)||i._p,a=t[r];if(a){let o=i==null?void 0:i.tagDuplicateStrategy;if(!o&&mg.includes(i.tag)&&(o="merge"),o==="merge"){const l=a.props;["class","style"].forEach(c=>{l[c]&&(i.props[c]?(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),i.props[c]=`${l[c]} ${i.props[c]}`):i.props[c]=l[c])}),t[r].props={...l,...i.props};return}else if(i._e===a._e){a._duped=a._duped||[],i._d=`${a._d}:${a._duped.length+1}`,a._duped.push(i);return}else if(Jr(i)>Jr(a))return}const s=Object.keys(i.props).length+(i.innerHTML?1:0)+(i.textContent?1:0);if(zr.includes(i.tag)&&s===0){delete t[r];return}t[r]=i});const n=[];Object.values(t).forEach(i=>{const r=i._duped;delete i._duped,n.push(i),r&&n.push(...r)}),e.tags=n,e.tags=e.tags.filter(i=>!(i.tag==="meta"&&(i.props.name||i.props.property)&&!i.props.content))}}},vg={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},yg=["script","link","bodyAttrs"],bg=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(i=>yg.includes(i.tag)))Object.entries(n.props).forEach(([i,r])=>{i.startsWith("on")&&typeof r=="function"&&(e.ssr&&Cl.includes(i)?n.props[i]=`this.dataset.${i}fired = true`:delete n.props[i],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[i]=r)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Co(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var i,r;for(const a of Object.keys((t==null?void 0:t.dataset)||{}).filter(s=>Cl.some(o=>`${o}fired`===s))){const s=a.replace("fired","");(r=(i=n._eventHandlers)==null?void 0:i[s])==null||r.call(t,new Event(s.replace("on","")))}}}}),_g=["link","style","script","noscript"],wg={hooks:{"tag:normalise":({tag:e})=>{e.key&&_g.includes(e.tag)&&(e.props["data-hid"]=e._h=Co(e.key))}}},kg={hooks:{"tags:resolve":e=>{const t=n=>{var i;return(i=e.tags.find(r=>r._d===n))==null?void 0:i._p};for(const{prefix:n,offset:i}of dg)for(const r of e.tags.filter(a=>typeof a.tagPriority=="string"&&a.tagPriority.startsWith(n))){const a=t(r.tagPriority.replace(n,""));typeof a<"u"&&(r._p=a+i)}e.tags.sort((n,i)=>n._p-i._p).sort((n,i)=>Jr(n)-Jr(i))}}},Cg={meta:"content",link:"href",htmlAttrs:"lang"},xg=e=>({hooks:{"tags:resolve":t=>{var o;const{tags:n}=t,i=(o=n.find(l=>l.tag==="title"))==null?void 0:o.textContent,r=n.findIndex(l=>l.tag==="templateParams"),a=r!==-1?n[r].props:{},s=a.separator||"|";delete a.separator,a.pageTitle=Vr(a.pageTitle||i||"",a,s);for(const l of n.filter(c=>c.processTemplateParams!==!1)){const c=Cg[l.tag];c&&typeof l.props[c]=="string"?l.props[c]=Vr(l.props[c],a,s):(l.processTemplateParams===!0||["titleTemplate","title"].includes(l.tag))&&["innerHTML","textContent"].forEach(u=>{typeof l[u]=="string"&&(l[u]=Vr(l[u],a,s))})}e._templateParams=a,e._separator=s,t.tags=n.filter(l=>l.tag!=="templateParams")}}}),Sg={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(r=>r.tag==="titleTemplate");const i=t.findIndex(r=>r.tag==="title");if(i!==-1&&n!==-1){const r=_l(t[n].textContent,t[i].textContent);r!==null?t[i].textContent=r||t[i].textContent:delete t[i]}else if(n!==-1){const r=_l(t[n].textContent);r!==null&&(t[n].textContent=r,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},Ag={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let cd;function Eg(e={}){const t=Pg(e);return t.use(pg()),cd=t}function xl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function Pg(e={}){const t=rd();t.addHooks(e.hooks||{}),e.document=e.document||(sg?document:void 0);const n=!e.document,i=()=>{o.dirty=!0,t.callHook("entries:updated",o)};let r=0,a=[];const s=[],o={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return a},use(l){const c=typeof l=="function"?l(o):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),xl(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:r++,input:l,...c};return xl(u.mode,n)&&(a.push(u),i()),{dispose(){a=a.filter(d=>d._i!==u._i),t.callHook("entries:updated",o),i()},patch(d){a=a.map(m=>(m._i===u._i&&(m.input=u.input=d),m)),i()}}},async resolveTags(){const l={tags:[],entries:[...a]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const d of await ug(c)){const m={tag:d,entry:c,resolvedOptions:o.resolvedOptions};await t.callHook("tag:normalise",m),l.tags.push(m.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[gg,vg,bg,wg,kg,xg,Sg,Ag,...(e==null?void 0:e.plugins)||[]].forEach(l=>o.use(l)),o.hooks.callHook("init",o),o}function Tg(){return cd}const Mg=_p.startsWith("3");function Lg(e){return typeof e=="function"?e():we(e)}function ea(e,t=""){if(e instanceof Promise)return e;const n=Lg(e);return!e||!n?n:Array.isArray(n)?n.map(i=>ea(i,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,r])=>i==="titleTemplate"||i.startsWith("on")?[i,we(r)]:[i,ea(r,i)])):n}const $g={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=ea(t.input)}}},ud="usehead";function Og(e){return{install(n){Mg&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ud,e))}}.install}function Dg(e={}){e.domDelayFn=e.domDelayFn||(n=>Dt(()=>setTimeout(()=>n(),0)));const t=Eg(e);return t.use($g),t.install=Og(t),t}const Sl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Al="__unhead_injection_handler__";function Ig(){if(Al in Sl)return Sl[Al]();const e=it(ud);return e||Tg()}function Rg(e,t={}){const n=t.head||Ig();if(n)return n.ssr?n.push(e,t):Bg(n,e,t)}function Bg(e,t,n={}){const i=be(!1),r=be({});dn(()=>{r.value=i.value?{}:ea(t)});const a=e.push(r.value,n);return Qe(r,o=>{a.patch(o)}),Fn()&&(yt(()=>{a.dispose()}),co(()=>{i.value=!0}),uo(()=>{i.value=!1})),a}const Fg={meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{name:"format-detection",content:"telephone=no"}],link:[{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"stylesheet",href:"https://use.typekit.net/mih5aqu.css"}],style:[],script:[],noscript:[],title:"Heraeus",htmlAttrs:{lang:"en"}},Ng=!1,As=!1,jg=!1,Hg="__nuxt",zg=!0;function El(e,t={}){const n=Vg(e,t),i=kt(),r=i._payloadCache=i._payloadCache||{};return r[n]||(r[n]=dd(n).then(a=>a||(delete r[n],null))),r[n]}const Pl="json";function Vg(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||_r(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const i=t.hash||(t.fresh?Date.now():"");return wr(Gt().app.baseURL,n.pathname,i?`_payload.${i}.${Pl}`:`_payload.${Pl}`)}async function dd(e){try{return zg?hd(await fetch(e).then(t=>t.text())):await Ve(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function Wg(){return!!kt().payload.prerenderedAt}let Ir=null;async function Ug(){if(Ir)return Ir;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=hd(e.textContent||""),n=e.dataset.src?await dd(e.dataset.src):void 0;return Ir={...t,...n,...window.__NUXT__},Ir}function hd(e){return eg(e,kt()._payloadRevivers)}function Gg(e,t){kt()._payloadRevivers[e]=t}const Tl=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function qg(e,t){t?t={...Tl,...t}:t=Tl;const n=fd(t);return n.dispatch(e),n.toString()}const Yg=Object.freeze(["prototype","__proto__","constructor"]);function fd(e){let t="",n=new Map;const i=r=>{t+=r};return{toString(){return t},getContext(){return n},dispatch(r){return e.replacer&&(r=e.replacer(r)),this[r===null?"null":typeof r](r)},object(r){if(r&&typeof r.toJSON=="function")return this.object(r.toJSON());const a=Object.prototype.toString.call(r);let s="";const o=a.length;o<10?s="unknown:["+a+"]":s=a.slice(8,o-1),s=s.toLowerCase();let l=null;if((l=n.get(r))===void 0)n.set(r,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(r))return i("buffer:"),i(r.toString("utf8"));if(s!=="object"&&s!=="function"&&s!=="asyncfunction")this[s]?this[s](r):e.ignoreUnknown||this.unkown(r,s);else{let c=Object.keys(r);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!Ml(r)&&(u=Yg),e.excludeKeys&&(c=c.filter(m=>!e.excludeKeys(m)),u=u.filter(m=>!e.excludeKeys(m))),i("object:"+(c.length+u.length)+":");const d=m=>{this.dispatch(m),i(":"),e.excludeValues||this.dispatch(r[m]),i(",")};for(const m of c)d(m);for(const m of u)d(m)}},array(r,a){if(a=a===void 0?e.unorderedArrays!==!1:a,i("array:"+r.length+":"),!a||r.length<=1){for(const l of r)this.dispatch(l);return}const s=new Map,o=r.map(l=>{const c=fd(e);c.dispatch(l);for(const[u,d]of c.getContext())s.set(u,d);return c.toString()});return n=s,o.sort(),this.array(o,!1)},date(r){return i("date:"+r.toJSON())},symbol(r){return i("symbol:"+r.toString())},unkown(r,a){if(i(a),!!r&&(i(":"),r&&typeof r.entries=="function"))return this.array(Array.from(r.entries()),!0)},error(r){return i("error:"+r.toString())},boolean(r){return i("bool:"+r)},string(r){i("string:"+r.length+":"),i(r)},function(r){i("fn:"),Ml(r)?this.dispatch("[native]"):this.dispatch(r.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(r.name)),e.respectFunctionProperties&&this.object(r)},number(r){return i("number:"+r)},xml(r){return i("xml:"+r.toString())},null(){return i("Null")},undefined(){return i("Undefined")},regexp(r){return i("regex:"+r.toString())},uint8array(r){return i("uint8array:"),this.dispatch(Array.prototype.slice.call(r))},uint8clampedarray(r){return i("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(r))},int8array(r){return i("int8array:"),this.dispatch(Array.prototype.slice.call(r))},uint16array(r){return i("uint16array:"),this.dispatch(Array.prototype.slice.call(r))},int16array(r){return i("int16array:"),this.dispatch(Array.prototype.slice.call(r))},uint32array(r){return i("uint32array:"),this.dispatch(Array.prototype.slice.call(r))},int32array(r){return i("int32array:"),this.dispatch(Array.prototype.slice.call(r))},float32array(r){return i("float32array:"),this.dispatch(Array.prototype.slice.call(r))},float64array(r){return i("float64array:"),this.dispatch(Array.prototype.slice.call(r))},arraybuffer(r){return i("arraybuffer:"),this.dispatch(new Uint8Array(r))},url(r){return i("url:"+r.toString())},map(r){i("map:");const a=[...r];return this.array(a,e.unorderedSets!==!1)},set(r){i("set:");const a=[...r];return this.array(a,e.unorderedSets!==!1)},file(r){return i("file:"),this.dispatch([r.name,r.size,r.type,r.lastModfied])},blob(){if(e.ignoreUnknown)return i("[blob]");throw new Error(`Hashing Blob objects is currently not supported
Use "options.replacer" or "options.ignoreUnknown"
`)},domwindow(){return i("domwindow")},bigint(r){return i("bigint:"+r.toString())},process(){return i("process")},timer(){return i("timer")},pipe(){return i("pipe")},tcp(){return i("tcp")},udp(){return i("udp")},tty(){return i("tty")},statwatcher(){return i("statwatcher")},securecontext(){return i("securecontext")},connection(){return i("connection")},zlib(){return i("zlib")},context(){return i("context")},nodescript(){return i("nodescript")},httpparser(){return i("httpparser")},dataview(){return i("dataview")},signal(){return i("signal")},fsevent(){return i("fsevent")},tlswrap(){return i("tlswrap")}}}const pd="[native code] }",Xg=pd.length;function Ml(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-Xg)===pd}class Xn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||Qg).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const i=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=i<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Xn([...this.words])}}const Qg={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const i=e.words[n>>>2]>>>24-n%4*8&255;t.push((i>>>4).toString(16),(i&15).toString(16))}return t.join("")}},Kg={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let i=0;i<e.sigBytes;i+=3){const r=e.words[i>>>2]>>>24-i%4*8&255,a=e.words[i+1>>>2]>>>24-(i+1)%4*8&255,s=e.words[i+2>>>2]>>>24-(i+2)%4*8&255,o=r<<16|a<<8|s;for(let l=0;l<4&&i*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(o>>>6*(3-l)&63))}return n.join("")}},Zg={parse(e){const t=e.length,n=[];for(let i=0;i<t;i++)n[i>>>2]|=(e.charCodeAt(i)&255)<<24-i%4*8;return new Xn(n,t)}},Jg={parse(e){return Zg.parse(unescape(encodeURIComponent(e)))}};class ev{constructor(){this._data=new Xn,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Xn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=Jg.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,i=this._data.sigBytes/(this.blockSize*4);t?i=Math.ceil(i):i=Math.max((i|0)-this._minBufferSize,0);const r=i*this.blockSize,a=Math.min(r*4,this._data.sigBytes);if(r){for(let s=0;s<r;s+=this.blockSize)this._doProcessBlock(this._data.words,s);n=this._data.words.splice(0,r),this._data.sigBytes-=a}return new Xn(n,a)}}class tv extends ev{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const Ll=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],nv=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],ti=[];class iv extends tv{constructor(){super(...arguments),this._hash=new Xn([...Ll])}reset(){super.reset(),this._hash=new Xn([...Ll])}_doProcessBlock(t,n){const i=this._hash.words;let r=i[0],a=i[1],s=i[2],o=i[3],l=i[4],c=i[5],u=i[6],d=i[7];for(let m=0;m<64;m++){if(m<16)ti[m]=t[n+m]|0;else{const x=ti[m-15],A=(x<<25|x>>>7)^(x<<14|x>>>18)^x>>>3,E=ti[m-2],$=(E<<15|E>>>17)^(E<<13|E>>>19)^E>>>10;ti[m]=A+ti[m-7]+$+ti[m-16]}const v=l&c^~l&u,h=r&a^r&s^a&s,f=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),_=d+w+v+nv[m]+ti[m],y=f+h;d=u,u=c,c=l,l=o+_|0,o=s,s=a,a=r,r=_+y|0}i[0]=i[0]+r|0,i[1]=i[1]+a|0,i[2]=i[2]+s|0,i[3]=i[3]+o|0,i[4]=i[4]+l|0,i[5]=i[5]+c|0,i[6]=i[6]+u|0,i[7]=i[7]+d|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,i=this._data.sigBytes*8;return this._data.words[i>>>5]|=128<<24-i%32,this._data.words[(i+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(i+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function rv(e){return new iv().finalize(e).toString(Kg)}function av(e,t={}){const n=typeof e=="string"?e:qg(e,t);return rv(n).slice(0,10)}function Wa(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function Es(e,t,n=".",i){if(!Wa(t))return Es(e,{},n,i);const r=Object.assign({},t);for(const a in e){if(a==="__proto__"||a==="constructor")continue;const s=e[a];s!=null&&(i&&i(r,a,s,n)||(Array.isArray(s)&&Array.isArray(r[a])?r[a]=[...s,...r[a]]:Wa(s)&&Wa(r[a])?r[a]=Es(s,r[a],(n?`${n}.`:"")+a.toString(),i):r[a]=s))}return r}function sv(e){return(...t)=>t.reduce((n,i)=>Es(n,i,"",e),{})}const ov=sv();function lv(e,t){try{return t in e}catch{return!1}}var cv=Object.defineProperty,uv=(e,t,n)=>t in e?cv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ii=(e,t,n)=>(uv(e,typeof t!="symbol"?t+"":t,n),n);class Ps extends Error{constructor(t,n={}){super(t,n),ii(this,"statusCode",500),ii(this,"fatal",!1),ii(this,"unhandled",!1),ii(this,"statusMessage"),ii(this,"data"),ii(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ms(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=md(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}ii(Ps,"__h3_error__",!0);function Ts(e){if(typeof e=="string")return new Ps(e);if(dv(e))return e;const t=new Ps(e.message??e.statusMessage??"",{cause:e.cause||e});if(lv(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=Ms(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ms(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;md(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function dv(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const hv=/[^\u0009\u0020-\u007E]/g;function md(e=""){return e.replace(hv,"")}function Ms(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const fv="$s";function pv(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,i]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(i!==void 0&&typeof i!="function")throw new Error("[nuxt] [useState] init must be a function: "+i);const r=fv+n,a=kt(),s=Ft(a.payload.state,r);if(s.value===void 0&&i){const o=i();if(gn(o))return a.payload.state[r]=o,o;s.value=o}return s}const gd=Symbol("layout-meta"),kr=Symbol("route"),Qn=()=>{var e;return(e=kt())==null?void 0:e.$router},ka=()=>Vu()?it(kr,kt()._route):kt()._route;/*! @__NO_SIDE_EFFECTS__ */const mv=()=>{try{if(kt()._processingMiddleware)return!0}catch{return!0}return!1},Ji=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Zu(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){{const{target:o="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,d])=>d!==void 0).map(([u,d])=>`${u.toLowerCase()}=${d}`).join(", ");open(n,o,c)}return Promise.resolve()}const i=(t==null?void 0:t.external)||_r(n,{acceptRelative:!0});if(i&&!(t!=null&&t.external))throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(i&&wa(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const r=mv();if(!i&&r)return e;const a=Qn(),s=kt();return i?(t!=null&&t.replace?location.replace(n):location.href=n,r?s.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?a.replace(e):a.push(e)},Ca=()=>Ft(kt().payload,"error"),Ei=e=>{const t=Cr(e);try{const n=kt(),i=Ca();n.hooks.callHook("app:error",t),i.value=i.value||t}catch{throw t}return t},gv=async(e={})=>{const t=kt(),n=Ca();t.callHook("app:error:cleared",e),e.redirect&&await Qn().replace(e.redirect),n.value=null},vv=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Cr=e=>{const t=Ts(e);return t.__nuxt_error=!0,t},$l={NuxtError:e=>Cr(e),EmptyShallowRef:e=>Et(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),EmptyRef:e=>be(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),ShallowRef:e=>Et(e),ShallowReactive:e=>ya(e),Ref:e=>be(e),Reactive:e=>Qt(e)},yv=Kt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const i in $l)Gg(i,$l[i]);Object.assign(e.payload,([t,n]=Zr(()=>e.runWithContext(Ug)),t=await t,n(),t)),window.__NUXT__=e.payload}});/*!
  * vue-router v4.4.0
  * (c) 2024 Eduardo San Martin Morote
  * @license MIT
  */const Si=typeof document<"u";function bv(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ft=Object.assign;function Ua(e,t){const n={};for(const i in t){const r=t[i];n[i]=Cn(r)?r.map(e):e(r)}return n}const er=()=>{},Cn=Array.isArray,vd=/#/g,_v=/&/g,wv=/\//g,kv=/=/g,Cv=/\?/g,yd=/\+/g,xv=/%5B/g,Sv=/%5D/g,bd=/%5E/g,Av=/%60/g,_d=/%7B/g,Ev=/%7C/g,wd=/%7D/g,Pv=/%20/g;function xo(e){return encodeURI(""+e).replace(Ev,"|").replace(xv,"[").replace(Sv,"]")}function Tv(e){return xo(e).replace(_d,"{").replace(wd,"}").replace(bd,"^")}function Ls(e){return xo(e).replace(yd,"%2B").replace(Pv,"+").replace(vd,"%23").replace(_v,"%26").replace(Av,"`").replace(_d,"{").replace(wd,"}").replace(bd,"^")}function Mv(e){return Ls(e).replace(kv,"%3D")}function Lv(e){return xo(e).replace(vd,"%23").replace(Cv,"%3F")}function $v(e){return e==null?"":Lv(e).replace(wv,"%2F")}function or(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Ov=/\/$/,Dv=e=>e.replace(Ov,"");function Ga(e,t,n="/"){let i,r={},a="",s="";const o=t.indexOf("#");let l=t.indexOf("?");return o<l&&o>=0&&(l=-1),l>-1&&(i=t.slice(0,l),a=t.slice(l+1,o>-1?o:t.length),r=e(a)),o>-1&&(i=i||t.slice(0,o),s=t.slice(o,t.length)),i=Fv(i??t,n),{fullPath:i+(a&&"?")+a+s,path:i,query:r,hash:or(s)}}function Iv(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ol(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Rv(e,t,n){const i=t.matched.length-1,r=n.matched.length-1;return i>-1&&i===r&&Li(t.matched[i],n.matched[r])&&kd(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Li(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function kd(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Bv(e[n],t[n]))return!1;return!0}function Bv(e,t){return Cn(e)?Dl(e,t):Cn(t)?Dl(t,e):e===t}function Dl(e,t){return Cn(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function Fv(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),r=i[i.length-1];(r===".."||r===".")&&i.push("");let a=n.length-1,s,o;for(s=0;s<i.length;s++)if(o=i[s],o!==".")if(o==="..")a>1&&a--;else break;return n.slice(0,a).join("/")+"/"+i.slice(s).join("/")}const Sn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var lr;(function(e){e.pop="pop",e.push="push"})(lr||(lr={}));var tr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(tr||(tr={}));function Nv(e){if(!e)if(Si){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Dv(e)}const jv=/^[^#]+#/;function Hv(e,t){return e.replace(jv,"#")+t}function zv(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const xa=()=>({left:window.scrollX,top:window.scrollY});function Vv(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=zv(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Il(e,t){return(history.state?history.state.position-t:-1)+e}const $s=new Map;function Wv(e,t){$s.set(e,t)}function Uv(e){const t=$s.get(e);return $s.delete(e),t}let Gv=()=>location.protocol+"//"+location.host;function Cd(e,t){const{pathname:n,search:i,hash:r}=t,a=e.indexOf("#");if(a>-1){let o=r.includes(e.slice(a))?e.slice(a).length:1,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),Ol(l,"")}return Ol(n,e)+i+r}function qv(e,t,n,i){let r=[],a=[],s=null;const o=({state:m})=>{const v=Cd(e,location),h=n.value,f=t.value;let w=0;if(m){if(n.value=v,t.value=m,s&&s===h){s=null;return}w=f?m.position-f.position:0}else i(v);r.forEach(_=>{_(n.value,h,{delta:w,type:lr.pop,direction:w?w>0?tr.forward:tr.back:tr.unknown})})};function l(){s=n.value}function c(m){r.push(m);const v=()=>{const h=r.indexOf(m);h>-1&&r.splice(h,1)};return a.push(v),v}function u(){const{history:m}=window;m.state&&m.replaceState(ft({},m.state,{scroll:xa()}),"")}function d(){for(const m of a)m();a=[],window.removeEventListener("popstate",o),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",o),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Rl(e,t,n,i=!1,r=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:r?xa():null}}function Yv(e){const{history:t,location:n}=window,i={value:Cd(e,n)},r={value:t.state};r.value||a(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(l,c,u){const d=e.indexOf("#"),m=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:Gv()+e+l;try{t[u?"replaceState":"pushState"](c,"",m),r.value=c}catch(v){console.error(v),n[u?"replace":"assign"](m)}}function s(l,c){const u=ft({},t.state,Rl(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});a(l,u,!0),i.value=l}function o(l,c){const u=ft({},r.value,t.state,{forward:l,scroll:xa()});a(u.current,u,!0);const d=ft({},Rl(i.value,l,null),{position:u.position+1},c);a(l,d,!1),i.value=l}return{location:i,state:r,push:o,replace:s}}function xd(e){e=Nv(e);const t=Yv(e),n=qv(e,t.state,t.location,t.replace);function i(a,s=!0){s||n.pauseListeners(),history.go(a)}const r=ft({location:"",base:e,go:i,createHref:Hv.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Xv(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),xd(e)}function Qv(e){return typeof e=="string"||e&&typeof e=="object"}function Sd(e){return typeof e=="string"||typeof e=="symbol"}const Ad=Symbol("");var Bl;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Bl||(Bl={}));function $i(e,t){return ft(new Error,{type:e,[Ad]:!0},t)}function Ln(e,t){return e instanceof Error&&Ad in e&&(t==null||!!(e.type&t))}const Fl="[^/]+?",Kv={sensitive:!1,strict:!1,start:!0,end:!0},Zv=/[.+*?^${}()[\]/\\]/g;function Jv(e,t){const n=ft({},Kv,t),i=[];let r=n.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;d<c.length;d++){const m=c[d];let v=40+(n.sensitive?.25:0);if(m.type===0)d||(r+="/"),r+=m.value.replace(Zv,"\\$&"),v+=40;else if(m.type===1){const{value:h,repeatable:f,optional:w,regexp:_}=m;a.push({name:h,repeatable:f,optional:w});const y=_||Fl;if(y!==Fl){v+=10;try{new RegExp(`(${y})`)}catch(A){throw new Error(`Invalid custom RegExp for param "${h}" (${y}): `+A.message)}}let x=f?`((?:${y})(?:/(?:${y}))*)`:`(${y})`;d||(x=w&&c.length<2?`(?:/${x})`:"/"+x),w&&(x+="?"),r+=x,v+=20,w&&(v+=-8),f&&(v+=-20),y===".*"&&(v+=-50)}u.push(v)}i.push(u)}if(n.strict&&n.end){const c=i.length-1;i[c][i[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const s=new RegExp(r,n.sensitive?"":"i");function o(c){const u=c.match(s),d={};if(!u)return null;for(let m=1;m<u.length;m++){const v=u[m]||"",h=a[m-1];d[h.name]=v&&h.repeatable?v.split("/"):v}return d}function l(c){let u="",d=!1;for(const m of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const v of m)if(v.type===0)u+=v.value;else if(v.type===1){const{value:h,repeatable:f,optional:w}=v,_=h in c?c[h]:"";if(Cn(_)&&!f)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const y=Cn(_)?_.join("/"):_;if(!y)if(w)m.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${h}"`);u+=y}}return u||"/"}return{re:s,score:i,keys:a,parse:o,stringify:l}}function ey(e,t){let n=0;for(;n<e.length&&n<t.length;){const i=t[n]-e[n];if(i)return i;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Ed(e,t){let n=0;const i=e.score,r=t.score;for(;n<i.length&&n<r.length;){const a=ey(i[n],r[n]);if(a)return a;n++}if(Math.abs(r.length-i.length)===1){if(Nl(i))return 1;if(Nl(r))return-1}return r.length-i.length}function Nl(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ty={type:0,value:""},ny=/[a-zA-Z0-9_]/;function iy(e){if(!e)return[[]];if(e==="/")return[[ty]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${c}": ${v}`)}let n=0,i=n;const r=[];let a;function s(){a&&r.push(a),a=[]}let o=0,l,c="",u="";function d(){c&&(n===0?a.push({type:0,value:c}):n===1||n===2||n===3?(a.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function m(){c+=l}for(;o<e.length;){if(l=e[o++],l==="\\"&&n!==2){i=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),s()):l===":"?(d(),n=1):m();break;case 4:m(),n=i;break;case 1:l==="("?n=2:ny.test(l)?m():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&o--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&o--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),s(),r}function ry(e,t,n){const i=Jv(iy(e.path),n),r=ft(i,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function ay(e,t){const n=[],i=new Map;t=zl({strict:!1,end:!0,sensitive:!1},t);function r(d){return i.get(d)}function a(d,m,v){const h=!v,f=sy(d);f.aliasOf=v&&v.record;const w=zl(t,d),_=[f];if("alias"in d){const A=typeof d.alias=="string"?[d.alias]:d.alias;for(const E of A)_.push(ft({},f,{components:v?v.record.components:f.components,path:E,aliasOf:v?v.record:f}))}let y,x;for(const A of _){const{path:E}=A;if(m&&E[0]!=="/"){const $=m.record.path,B=$[$.length-1]==="/"?"":"/";A.path=m.record.path+(E&&B+E)}if(y=ry(A,m,w),v?v.alias.push(y):(x=x||y,x!==y&&x.alias.push(y),h&&d.name&&!Hl(y)&&s(d.name)),Pd(y)&&l(y),f.children){const $=f.children;for(let B=0;B<$.length;B++)a($[B],y,v&&v.children[B])}v=v||y}return x?()=>{s(x)}:er}function s(d){if(Sd(d)){const m=i.get(d);m&&(i.delete(d),n.splice(n.indexOf(m),1),m.children.forEach(s),m.alias.forEach(s))}else{const m=n.indexOf(d);m>-1&&(n.splice(m,1),d.record.name&&i.delete(d.record.name),d.children.forEach(s),d.alias.forEach(s))}}function o(){return n}function l(d){const m=cy(d,n);n.splice(m,0,d),d.record.name&&!Hl(d)&&i.set(d.record.name,d)}function c(d,m){let v,h={},f,w;if("name"in d&&d.name){if(v=i.get(d.name),!v)throw $i(1,{location:d});w=v.record.name,h=ft(jl(m.params,v.keys.filter(x=>!x.optional).concat(v.parent?v.parent.keys.filter(x=>x.optional):[]).map(x=>x.name)),d.params&&jl(d.params,v.keys.map(x=>x.name))),f=v.stringify(h)}else if(d.path!=null)f=d.path,v=n.find(x=>x.re.test(f)),v&&(h=v.parse(f),w=v.record.name);else{if(v=m.name?i.get(m.name):n.find(x=>x.re.test(m.path)),!v)throw $i(1,{location:d,currentLocation:m});w=v.record.name,h=ft({},m.params,d.params),f=v.stringify(h)}const _=[];let y=v;for(;y;)_.unshift(y.record),y=y.parent;return{name:w,path:f,params:h,matched:_,meta:ly(_)}}e.forEach(d=>a(d));function u(){n.length=0,i.clear()}return{addRoute:a,resolve:c,removeRoute:s,clearRoutes:u,getRoutes:o,getRecordMatcher:r}}function jl(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function sy(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:oy(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function oy(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="object"?n[i]:n;return t}function Hl(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function ly(e){return e.reduce((t,n)=>ft(t,n.meta),{})}function zl(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function cy(e,t){let n=0,i=t.length;for(;n!==i;){const a=n+i>>1;Ed(e,t[a])<0?i=a:n=a+1}const r=uy(e);return r&&(i=t.lastIndexOf(r,i-1)),i}function uy(e){let t=e;for(;t=t.parent;)if(Pd(t)&&Ed(e,t)===0)return t}function Pd({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function dy(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<i.length;++r){const a=i[r].replace(yd," "),s=a.indexOf("="),o=or(s<0?a:a.slice(0,s)),l=s<0?null:or(a.slice(s+1));if(o in t){let c=t[o];Cn(c)||(c=t[o]=[c]),c.push(l)}else t[o]=l}return t}function Vl(e){let t="";for(let n in e){const i=e[n];if(n=Mv(n),i==null){i!==void 0&&(t+=(t.length?"&":"")+n);continue}(Cn(i)?i.map(a=>a&&Ls(a)):[i&&Ls(i)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+n,a!=null&&(t+="="+a))})}return t}function hy(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=Cn(i)?i.map(r=>r==null?null:""+r):i==null?i:""+i)}return t}const fy=Symbol(""),Wl=Symbol(""),Sa=Symbol(""),So=Symbol(""),Os=Symbol("");function Yi(){let e=[];function t(i){return e.push(i),()=>{const r=e.indexOf(i);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Gn(e,t,n,i,r,a=s=>s()){const s=i&&(i.enterCallbacks[r]=i.enterCallbacks[r]||[]);return()=>new Promise((o,l)=>{const c=m=>{m===!1?l($i(4,{from:n,to:t})):m instanceof Error?l(m):Qv(m)?l($i(2,{from:t,to:m})):(s&&i.enterCallbacks[r]===s&&typeof m=="function"&&s.push(m),o())},u=a(()=>e.call(i&&i.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(m=>l(m))})}function qa(e,t,n,i,r=a=>a()){const a=[];for(const s of e)for(const o in s.components){let l=s.components[o];if(!(t!=="beforeRouteEnter"&&!s.instances[o]))if(py(l)){const u=(l.__vccOpts||l)[t];u&&a.push(Gn(u,n,i,s,o,r))}else{let c=l();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${s.path}"`));const d=bv(u)?u.default:u;s.components[o]=d;const v=(d.__vccOpts||d)[t];return v&&Gn(v,n,i,s,o,r)()}))}}return a}function py(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ul(e){const t=it(Sa),n=it(So),i=de(()=>{const l=we(e.to);return t.resolve(l)}),r=de(()=>{const{matched:l}=i.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const m=d.findIndex(Li.bind(null,u));if(m>-1)return m;const v=Gl(l[c-2]);return c>1&&Gl(u)===v&&d[d.length-1].path!==v?d.findIndex(Li.bind(null,l[c-2])):m}),a=de(()=>r.value>-1&&yy(n.params,i.value.params)),s=de(()=>r.value>-1&&r.value===n.matched.length-1&&kd(n.params,i.value.params));function o(l={}){return vy(l)?t[we(e.replace)?"replace":"push"](we(e.to)).catch(er):Promise.resolve()}return{route:i,href:de(()=>i.value.href),isActive:a,isExactActive:s,navigate:o}}const my=De({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Ul,setup(e,{slots:t}){const n=Qt(Ul(e)),{options:i}=it(Sa),r=de(()=>({[ql(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[ql(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const a=t.default&&t.default(n);return e.custom?a:At("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},a)}}}),gy=my;function vy(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function yy(e,t){for(const n in t){const i=t[n],r=e[n];if(typeof i=="string"){if(i!==r)return!1}else if(!Cn(r)||r.length!==i.length||i.some((a,s)=>a!==r[s]))return!1}return!0}function Gl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ql=(e,t,n)=>e??t??n,by=De({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=it(Os),r=de(()=>e.route||i.value),a=it(Wl,0),s=de(()=>{let c=we(a);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),o=de(()=>r.value.matched[s.value]);Ht(Wl,de(()=>s.value+1)),Ht(fy,o),Ht(Os,r);const l=be();return Qe(()=>[l.value,o.value,e.name],([c,u,d],[m,v,h])=>{u&&(u.instances[d]=c,v&&v!==u&&c&&c===m&&(u.leaveGuards.size||(u.leaveGuards=v.leaveGuards),u.updateGuards.size||(u.updateGuards=v.updateGuards))),c&&u&&(!v||!Li(u,v)||!m)&&(u.enterCallbacks[d]||[]).forEach(f=>f(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=o.value,m=d&&d.components[u];if(!m)return Yl(n.default,{Component:m,route:c});const v=d.props[u],h=v?v===!0?c.params:typeof v=="function"?v(c):v:null,w=At(m,ft({},h,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Yl(n.default,{Component:w,route:c})||w}}});function Yl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Td=by;function _y(e){const t=ay(e.routes,e),n=e.parseQuery||dy,i=e.stringifyQuery||Vl,r=e.history,a=Yi(),s=Yi(),o=Yi(),l=Et(Sn);let c=Sn;Si&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ua.bind(null,q=>""+q),d=Ua.bind(null,$v),m=Ua.bind(null,or);function v(q,T){let L,U;return Sd(q)?(L=t.getRecordMatcher(q),U=T):U=q,t.addRoute(U,L)}function h(q){const T=t.getRecordMatcher(q);T&&t.removeRoute(T)}function f(){return t.getRoutes().map(q=>q.record)}function w(q){return!!t.getRecordMatcher(q)}function _(q,T){if(T=ft({},T||l.value),typeof q=="string"){const b=Ga(n,q,T.path),z=t.resolve({path:b.path},T),Y=r.createHref(b.fullPath);return ft(b,z,{params:m(z.params),hash:or(b.hash),redirectedFrom:void 0,href:Y})}let L;if(q.path!=null)L=ft({},q,{path:Ga(n,q.path,T.path).path});else{const b=ft({},q.params);for(const z in b)b[z]==null&&delete b[z];L=ft({},q,{params:d(b)}),T.params=d(T.params)}const U=t.resolve(L,T),ie=q.hash||"";U.params=u(m(U.params));const N=Iv(i,ft({},q,{hash:Tv(ie),path:U.path})),K=r.createHref(N);return ft({fullPath:N,hash:ie,query:i===Vl?hy(q.query):q.query||{}},U,{redirectedFrom:void 0,href:K})}function y(q){return typeof q=="string"?Ga(n,q,l.value.path):ft({},q)}function x(q,T){if(c!==q)return $i(8,{from:T,to:q})}function A(q){return B(q)}function E(q){return A(ft(y(q),{replace:!0}))}function $(q){const T=q.matched[q.matched.length-1];if(T&&T.redirect){const{redirect:L}=T;let U=typeof L=="function"?L(q):L;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=y(U):{path:U},U.params={}),ft({query:q.query,hash:q.hash,params:U.path!=null?{}:q.params},U)}}function B(q,T){const L=c=_(q),U=l.value,ie=q.state,N=q.force,K=q.replace===!0,b=$(L);if(b)return B(ft(y(b),{state:typeof b=="object"?ft({},ie,b.state):ie,force:N,replace:K}),T||L);const z=L;z.redirectedFrom=T;let Y;return!N&&Rv(i,U,L)&&(Y=$i(16,{to:z,from:U}),X(U,U,!0,!1)),(Y?Promise.resolve(Y):F(z,U)).catch(W=>Ln(W)?Ln(W,2)?W:V(W):Z(W,z,U)).then(W=>{if(W){if(Ln(W,2))return B(ft({replace:K},y(W.to),{state:typeof W.to=="object"?ft({},ie,W.to.state):ie,force:N}),T||z)}else W=P(z,U,!0,K,ie);return k(z,U,W),W})}function Q(q,T){const L=x(q,T);return L?Promise.reject(L):Promise.resolve()}function I(q){const T=O.values().next().value;return T&&typeof T.runWithContext=="function"?T.runWithContext(q):q()}function F(q,T){let L;const[U,ie,N]=wy(q,T);L=qa(U.reverse(),"beforeRouteLeave",q,T);for(const b of U)b.leaveGuards.forEach(z=>{L.push(Gn(z,q,T))});const K=Q.bind(null,q,T);return L.push(K),H(L).then(()=>{L=[];for(const b of a.list())L.push(Gn(b,q,T));return L.push(K),H(L)}).then(()=>{L=qa(ie,"beforeRouteUpdate",q,T);for(const b of ie)b.updateGuards.forEach(z=>{L.push(Gn(z,q,T))});return L.push(K),H(L)}).then(()=>{L=[];for(const b of N)if(b.beforeEnter)if(Cn(b.beforeEnter))for(const z of b.beforeEnter)L.push(Gn(z,q,T));else L.push(Gn(b.beforeEnter,q,T));return L.push(K),H(L)}).then(()=>(q.matched.forEach(b=>b.enterCallbacks={}),L=qa(N,"beforeRouteEnter",q,T,I),L.push(K),H(L))).then(()=>{L=[];for(const b of s.list())L.push(Gn(b,q,T));return L.push(K),H(L)}).catch(b=>Ln(b,8)?b:Promise.reject(b))}function k(q,T,L){o.list().forEach(U=>I(()=>U(q,T,L)))}function P(q,T,L,U,ie){const N=x(q,T);if(N)return N;const K=T===Sn,b=Si?history.state:{};L&&(U||K?r.replace(q.fullPath,ft({scroll:K&&b&&b.scroll},ie)):r.push(q.fullPath,ie)),l.value=q,X(q,T,L,K),V()}let C;function p(){C||(C=r.listen((q,T,L)=>{if(!M.listening)return;const U=_(q),ie=$(U);if(ie){B(ft(ie,{replace:!0}),U).catch(er);return}c=U;const N=l.value;Si&&Wv(Il(N.fullPath,L.delta),xa()),F(U,N).catch(K=>Ln(K,12)?K:Ln(K,2)?(B(K.to,U).then(b=>{Ln(b,20)&&!L.delta&&L.type===lr.pop&&r.go(-1,!1)}).catch(er),Promise.reject()):(L.delta&&r.go(-L.delta,!1),Z(K,U,N))).then(K=>{K=K||P(U,N,!1),K&&(L.delta&&!Ln(K,8)?r.go(-L.delta,!1):L.type===lr.pop&&Ln(K,20)&&r.go(-1,!1)),k(U,N,K)}).catch(er)}))}let g=Yi(),D=Yi(),R;function Z(q,T,L){V(q);const U=D.list();return U.length?U.forEach(ie=>ie(q,T,L)):console.error(q),Promise.reject(q)}function G(){return R&&l.value!==Sn?Promise.resolve():new Promise((q,T)=>{g.add([q,T])})}function V(q){return R||(R=!q,p(),g.list().forEach(([T,L])=>q?L(q):T()),g.reset()),q}function X(q,T,L,U){const{scrollBehavior:ie}=e;if(!Si||!ie)return Promise.resolve();const N=!L&&Uv(Il(q.fullPath,0))||(U||!L)&&history.state&&history.state.scroll||null;return Dt().then(()=>ie(q,T,N)).then(K=>K&&Vv(K)).catch(K=>Z(K,q,T))}const ee=q=>r.go(q);let S;const O=new Set,M={currentRoute:l,listening:!0,addRoute:v,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:f,resolve:_,options:e,push:A,replace:E,go:ee,back:()=>ee(-1),forward:()=>ee(1),beforeEach:a.add,beforeResolve:s.add,afterEach:o.add,onError:D.add,isReady:G,install(q){const T=this;q.component("RouterLink",gy),q.component("RouterView",Td),q.config.globalProperties.$router=T,Object.defineProperty(q.config.globalProperties,"$route",{enumerable:!0,get:()=>we(l)}),Si&&!S&&l.value===Sn&&(S=!0,A(r.location).catch(ie=>{}));const L={};for(const ie in Sn)Object.defineProperty(L,ie,{get:()=>l.value[ie],enumerable:!0});q.provide(Sa,T),q.provide(So,ya(L)),q.provide(Os,l);const U=q.unmount;O.add(q),q.unmount=function(){O.delete(q),O.size<1&&(c=Sn,C&&C(),C=null,l.value=Sn,S=!1,R=!1),U()}}};function H(q){return q.reduce((T,L)=>T.then(()=>I(L)),Promise.resolve())}return M}function wy(e,t){const n=[],i=[],r=[],a=Math.max(t.matched.length,e.matched.length);for(let s=0;s<a;s++){const o=t.matched[s];o&&(e.matched.find(c=>Li(c,o))?i.push(o):n.push(o));const l=e.matched[s];l&&(t.matched.find(c=>Li(c,l))||r.push(l))}return[n,i,r]}function Bi(){return it(Sa)}function xr(e){return it(So)}const Xl=[{name:"slug",path:"/:slug(.*)*",meta:{},alias:[],redirect:void 0,component:()=>Ve(()=>import("./_...slug_.7c8b7201.js"),["./_...slug_.7c8b7201.js","./siteCall.950f34b3.js","./swiper-vue.35f06100.js","./swiper-vue.ee355cf6.css"],import.meta.url).then(e=>e.default||e)},{name:"level1-level2-level3-level4-level5-level6-level7-prefix-ps-detail-uniqueAttribute",path:"/:level1?/:level2?/:level3?/:level4?/:level5?/:level6?/:level7?/:prefix()-ps-detail/:uniqueAttribute()",meta:{},alias:[],redirect:void 0,component:()=>Ve(()=>import("./_uniqueAttribute_.ec2e4336.js"),["./_uniqueAttribute_.ec2e4336.js","./siteCall.950f34b3.js","./swiper-vue.35f06100.js","./swiper-vue.ee355cf6.css","./LayoutPDP.c6eca959.js","./LayoutPDP.e73b3e5e.css","./_uniqueAttribute_.6d958afd.css"],import.meta.url).then(e=>e.default||e)}],ky={scrollBehavior(e,t,n){const i=kt();let r=n||void 0;if(!r&&t&&e&&e.meta.scrollToTop!==!1&&Cy(t,e)&&(r={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Ql(e.hash)}}const a=o=>!!(o.meta.pageTransition??As),s=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(o=>{i.hooks.hookOnce(s,async()=>{await Dt(),e.hash&&(r={el:e.hash,top:Ql(e.hash)}),o(r)})})}};function Ql(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function Cy(e,t){const n=t.matched.every((i,r)=>{var a,s,o;return((a=i.components)==null?void 0:a.default)===((o=(s=e.matched[r])==null?void 0:s.components)==null?void 0:o.default)});return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const xy={},Jt={...xy,...ky},Sy=async e=>{var l;let t,n;if(!((l=e.meta)!=null&&l.validate))return;const i=kt(),r=Qn();if(([t,n]=Zr(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const s=Cr({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),o=r.beforeResolve(c=>{if(o(),c===e){const u=r.afterEach(async()=>{u(),await i.runWithContext(()=>Ei(s)),window.history.pushState({},"",e.fullPath)});return!1}})},Ay=()=>null;function En(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,i,r={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof i!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");r.server=r.server??!0,r.default=r.default??Ay,r.lazy=r.lazy??!1,r.immediate=r.immediate??!0;const a=kt(),s=()=>a.isHydrating?a.payload.data[n]:a.static.data[n],o=()=>s()!==void 0;a._asyncData[n]||(a._asyncData[n]={data:be(s()??r.default()),pending:be(!o()),error:Ft(a.payload._errors,n),status:be("idle")});const l={...a._asyncData[n]};l.refresh=l.execute=(m={})=>{if(a._asyncDataPromises[n]){if(m.dedupe===!1)return a._asyncDataPromises[n];a._asyncDataPromises[n].cancelled=!0}if((m._initial||a.isHydrating&&m._initial!==!1)&&o())return s();l.pending.value=!0,l.status.value="pending";const v=new Promise((h,f)=>{try{h(i(a))}catch(w){f(w)}}).then(h=>{if(v.cancelled)return a._asyncDataPromises[n];let f=h;r.transform&&(f=r.transform(h)),r.pick&&(f=Ey(f,r.pick)),l.data.value=f,l.error.value=null,l.status.value="success"}).catch(h=>{if(v.cancelled)return a._asyncDataPromises[n];l.error.value=h,l.data.value=we(r.default()),l.status.value="error"}).finally(()=>{v.cancelled||(l.pending.value=!1,a.payload.data[n]=l.data.value,l.error.value&&(a.payload._errors[n]=Cr(l.error.value)),delete a._asyncDataPromises[n])});return a._asyncDataPromises[n]=v,a._asyncDataPromises[n]};const c=()=>l.refresh({_initial:!0}),u=r.server!==!1&&a.payload.serverRendered;{const m=Fn();if(m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const h=m._nuxtOnBeforeMountCbs;m&&(Ri(()=>{h.forEach(f=>{f()}),h.splice(0,h.length)}),ul(()=>h.splice(0,h.length)))}u&&a.isHydrating&&o()?(l.pending.value=!1,l.status.value=l.error.value?"error":"success"):m&&(a.payload.serverRendered&&a.isHydrating||r.lazy)&&r.immediate?m._nuxtOnBeforeMountCbs.push(c):r.immediate&&c(),r.watch&&Qe(r.watch,()=>l.refresh());const v=a.hook("app:data:refresh",h=>{if(!h||h.includes(n))return l.refresh()});m&&ul(v)}const d=Promise.resolve(a._asyncDataPromises[n]).then(()=>l);return Object.assign(d,l),d}function Ey(e,t){const n={};for(const i of t)n[i]=e[i];return n}function Py(e){return{}}function Xt(e,t,n){const[i={},r]=typeof t=="string"?[{},t]:[t,n],a=i.key||av([r,we(i.baseURL),typeof e=="string"?e:"",we(i.params||i.query)]);if(!a||typeof a!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+a);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const s=a===r?"$f"+a:a,o=de(()=>{let A=e;return typeof A=="function"&&(A=A()),we(A)});if(!i.baseURL&&typeof o.value=="string"&&o.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:d,pick:m,watch:v,immediate:h,...f}=i,w=Qt({...f,cache:typeof i.cache=="boolean"?void 0:i.cache}),_={server:l,lazy:c,default:u,transform:d,pick:m,immediate:h,watch:v===!1?[]:[w,o,...v||[]]};let y;return En(s,()=>{var E;return(E=y==null?void 0:y.abort)==null||E.call(y),y=typeof AbortController<"u"?new AbortController:{},typeof o.value=="string"&&o.value.startsWith("/"),(i.$fetch||globalThis.$fetch)(o.value,{signal:y.signal,...w})},_)}function Ty(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:kt().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const My=!1;/*!
  * pinia v2.0.33
  * (c) 2023 Eduardo San Martin Morote
  * @license MIT
  */let Md;const Sr=e=>Md=e,Ld=Symbol();function Ds(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var nr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(nr||(nr={}));function Ly(){const e=gr(!0),t=e.run(()=>be({}));let n=[],i=[];const r=Xr({install(a){Sr(r),r._a=a,a.provide(Ld,r),a.config.globalProperties.$pinia=r,i.forEach(s=>n.push(s)),i=[]},use(a){return!this._a&&!My?i.push(a):n.push(a),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const $d=()=>{};function Kl(e,t,n,i=$d){e.push(t);const r=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),i())};return!n&&wp()&&yn(r),r}function _i(e,...t){e.slice().forEach(n=>{n(...t)})}function Is(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,i)=>e.set(i,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const i=t[n],r=e[n];Ds(r)&&Ds(i)&&e.hasOwnProperty(n)&&!gn(i)&&!ho(i)?e[n]=Is(r,i):e[n]=i}return e}const $y=Symbol();function Oy(e){return!Ds(e)||!e.hasOwnProperty($y)}const{assign:Un}=Object;function Dy(e){return!!(gn(e)&&e.effect)}function Iy(e,t,n,i){const{state:r,actions:a,getters:s}=t,o=n.state.value[e];let l;function c(){o||(n.state.value[e]=r?r():{});const u=vr(n.state.value[e]);return Un(u,a,Object.keys(s||{}).reduce((d,m)=>(d[m]=Xr(de(()=>{Sr(n);const v=n._s.get(e);return s[m].call(v,v)})),d),{}))}return l=Od(e,c,t,n,i,!0),l}function Od(e,t,n={},i,r,a){let s;const o=Un({actions:{}},n),l={deep:!0};let c,u,d=Xr([]),m=Xr([]),v;const h=i.state.value[e];!a&&!h&&(i.state.value[e]={}),be({});let f;function w(B){let Q;c=u=!1,typeof B=="function"?(B(i.state.value[e]),Q={type:nr.patchFunction,storeId:e,events:v}):(Is(i.state.value[e],B),Q={type:nr.patchObject,payload:B,storeId:e,events:v});const I=f=Symbol();Dt().then(()=>{f===I&&(c=!0)}),u=!0,_i(d,Q,i.state.value[e])}const _=a?function(){const{state:Q}=n,I=Q?Q():{};this.$patch(F=>{Un(F,I)})}:$d;function y(){s.stop(),d=[],m=[],i._s.delete(e)}function x(B,Q){return function(){Sr(i);const I=Array.from(arguments),F=[],k=[];function P(g){F.push(g)}function C(g){k.push(g)}_i(m,{args:I,name:B,store:E,after:P,onError:C});let p;try{p=Q.apply(this&&this.$id===e?this:E,I)}catch(g){throw _i(k,g),g}return p instanceof Promise?p.then(g=>(_i(F,g),g)).catch(g=>(_i(k,g),Promise.reject(g))):(_i(F,p),p)}}const A={_p:i,$id:e,$onAction:Kl.bind(null,m),$patch:w,$reset:_,$subscribe(B,Q={}){const I=Kl(d,B,Q.detached,()=>F()),F=s.run(()=>Qe(()=>i.state.value[e],k=>{(Q.flush==="sync"?u:c)&&B({storeId:e,type:nr.direct,events:v},k)},Un({},l,Q)));return I},$dispose:y},E=Qt(A);i._s.set(e,E);const $=i._e.run(()=>(s=gr(),s.run(()=>t())));for(const B in $){const Q=$[B];if(gn(Q)&&!Dy(Q)||ho(Q))a||(h&&Oy(Q)&&(gn(Q)?Q.value=h[B]:Is(Q,h[B])),i.state.value[e][B]=Q);else if(typeof Q=="function"){const I=x(B,Q);$[B]=I,o.actions[B]=Q}}return Un(E,$),Un(xn(E),$),Object.defineProperty(E,"$state",{get:()=>i.state.value[e],set:B=>{w(Q=>{Un(Q,B)})}}),i._p.forEach(B=>{Un(E,s.run(()=>B({store:E,app:i._a,pinia:i,options:o})))}),h&&a&&n.hydrate&&n.hydrate(E.$state,h),c=!0,u=!0,E}function Dd(e,t,n){let i,r;const a=typeof t=="function";typeof e=="string"?(i=e,r=a?n:t):(r=e,i=e.id);function s(o,l){const c=Fn();return o=o||c&&it(Ld,null),o&&Sr(o),o=Md,o._s.has(i)||(a?Od(i,t,r,o):Iy(i,r,o)),o._s.get(i)}return s.$id=i,s}function mt(e){{e=xn(e);const t={};for(const n in e){const i=e[n];(gn(i)||ho(i))&&(t[n]=Ft(e,n))}return t}}function Fi(e){return e.$config.public.mgnlHost+e.$config.public.mgnlBase}function hi(e){return e.$config.public.mgnlLanguages.toString().split(" ")}function Id(e,t){if(e===void 0)return"";const n=Pt(e).split("/");return t.includes(n[0])?n[1]:n[0]}function Rd(e,t){if(t===void 0)return"";const n=t.split("_"),i=hi(e);return Ar(n,i)?n[0]:t}function Ar(e,t){return e.length===2&&t.includes(e[1])||e.length===3&&t.includes(`${e[1]}_${e[2]}`)}function Ao(e){return e.length===2?e[1]:e.length===3?`${e[1]}_${e[2].toUpperCase()}`:"no-valid-language"}function Eo(e,t){return e.length===1&&!t.includes(Fd(e[0]))}function Ry(e,t){return Eo(e,t)||Ar(e,t)}function Er(e,t){if(e!==void 0){const i=Pt(e).split("/")[0].split("_");return Ar(i,t)}}function Bd(e,t){if(e!==void 0){const n=Pt(e).split("/");return n[0]=n[0].includes(`_${t}`)?n[0]:`${n[0]}_${t}`,`/${n.join("/")}`}}function mn(e,t,n){const i=t?"":e.isServer?`https://${e.location.host}`:`${e.location.protocol}//${e.location.host}`;return t+i+e.$config.public[n]}function By(e,t){var c;const n=e.$config.public.mgnlPublic,i=hi(e),r=Fi(e),a=mn(e,r,t),s=Po(e.pathMatch),o=Id(n?(c=e.site)==null?void 0:c["@path"]:s,i);return{liveCopyRootName:Rd(e,o),rootName:o,receivedPagePath:s,hostAndContext:a}}function Po(e){let t=e.replace(".html","");return(t.indexOf("/")===0?"":"/")+t}function _t(e="",t,n,i,r){const a=Er(e,t)&&!r,s=i==null?void 0:i["@path"];let o=e,l=n;if(r&&s){const c=Pt(e).split("/"),u=c[0].split("_");u.length===2&&t.includes(u[1])&&(l=u[1]),u.length===3&&t.includes(`${u[1]}_${u[2].toUpperCase()}`)&&(l=`${u[1]}_${u[2]}`),(c[0]===Pt(s)||c[0]===`${Pt(s)}_${l}`)&&(c.shift(),o=`/${c.join("/")}`)}return a?Rs(o):`/${$o(l)}${Rs(o)}`}function To(e,t,n,i){var u,d;const r=e.$config.public.mgnlPublic,a=e.isEditMode,s=(u=e.site)==null?void 0:u.isLiveCopy,o=Er(t,n),l=(d=e.site)==null?void 0:d["@path"],c=Pt(t).split("/");if(r&&!a)if(s){const m=`${Pt(l)}_${i.replace("-","_")}`;c.unshift(m)}else c.unshift(Pt(l));else o&&(c[0]=`${Pt(l)}_${i.replace("-","_")}`);return`/${c.join("/")}`}function Pt(e){return(e==null?void 0:e.charAt(0))==="/"?e.substring(1):e}function Fy(e){return e!=null&&e.endsWith("/")?e.slice(0,-1):e}function Mo(e){return(e==null?void 0:e.charAt(0))!=="/"?`/${e}`:e}function Rs(e){return e!=null&&e.endsWith("/")?e:e+"/"}function Lo(e){return/^(http|https):\/\//.test(e)}function Ny(e){var t;return(t=e.replace(/[^a-zA-Z0-9]+/g,"-"))==null?void 0:t.toLowerCase()}function Nt(e){return(e!==void 0?e.toString()+"-":"")+new Date().getTime().toString()+"-"+Math.floor(Math.random()*1e5).toString()}function di(e,t){if(e===void 0)return"";const n=new Date((e==null?void 0:e.split("T")[0])+"T00:00:00"),i=t.replace("_","-");return new Intl.DateTimeFormat(i,{day:"2-digit",month:"2-digit",year:"numeric"}).format(n)}function jy(e,t,n){const i=new Date;i.setTime(i.getTime()+n*24*60*60*1e3);const r=`expires=${i.toUTCString()}`;document.cookie=`${e}=${t}; ${r}; path=/`}function Hy(e){var i;const t=`; ${document.cookie};`,n=t==null?void 0:t.split(`; ${e}=`);if(n&&n.length===2)return(i=n.pop())==null?void 0:i.split(";").shift()}function M5(e){return`${e==null?void 0:e.contactFormLink}?${e==null?void 0:e.paramProducts}=${e==null?void 0:e.uniqueAttributeValues}&${e==null?void 0:e.paramProductSelector}=${e==null?void 0:e.productSelectorAbsoluteUrl}`}function Zl(e){const t={zh:"zh_Hant",zh_CN:"zh"};return t.hasOwnProperty(e)?t[e]:e}function Fd(e=""){return e.replace(/-([a-z]+)/g,(t,n)=>`_${n.toUpperCase()}`)}function $o(e=""){return e.replace("_","-").toLowerCase()}function zy(e,t){const n=new Set([...e,...t]);return Array.from(n)}function Vy(e,t,n){const i=window.location.host;return Rs(`${e}//${i}${n}`)}function ir(e){const t=new Date(e),n=t.getFullYear(),i=String(t.getMonth()+1).padStart(2,"0"),r=String(t.getDate()).padStart(2,"0");return`${n}-${i}-${r}`}function Ni(e,t){const n=fi(e,t),i=new RegExp(`/${n.toLowerCase()}($|/)`,"i"),r=new RegExp(`/${n.replace("_","-")}($|/)`,"i");return t.replace(i,"/").replace(r,"/")}function fi(e,t){const n=hi(e),i=e.$config.public.mgnlPublic,r=Pt(t).split("/");r[0]=r[0].replace("-","_");const a=`/${r.join("/")}`,s=i?a.toLowerCase():t.toLowerCase();for(const o of n)if(new RegExp("/"+o.toLowerCase()+"($|/)").test(s)||new RegExp("/.*_"+o.toLowerCase()+"($|/)").test(s))return o;return n[0]}function Aa(e,t,n,i){const r=To({$config:n,site:i.site,isEditMode:e},t,i.languages,i.currentLanguage);return Pt(r).split("/")[0]}function Wy(e){return new URLSearchParams(e).get("mgnlVersion")}function Nd(e,t){(e==null?void 0:e.pageLink)!==void 0&&(e==null?void 0:e.clientPageLink)===void 0&&(e.clientPageLink=_t(e==null?void 0:e.pageLink,t.languages,t.currentLanguage,t.site,t.isPublic)),"@nodes"in e&&e["@nodes"].forEach(n=>Nd(e[n],t))}function Ea(e,t,n="",i){var r,a,s,o,l,c,u,d,m,v,h,f,w,_,y,x,A,E;if(((r=e==null?void 0:e.image)==null?void 0:r.metadata)!==void 0&&(e.image._linkPattern={default:`${t}${n}/.imaging/mte/default/{width}/dam${e.image["@path"]}/jcr:content/${e.image.metadata.fileName}`,area:`${t}${n}/.imaging/focalarea/{crop}/{width}/dam/${e.image["@id"]}/${e.image.metadata.fileName}`}),(e==null?void 0:e.downloadLink)!==void 0&&(e._downloadLink=`${t}${(a=e.downloadLink)==null?void 0:a["@link"]}`),(e==null?void 0:e.type)==="video"&&typeof e.video=="object"&&e.video!==null&&(e.video._videoLink=`${t}${(s=e.video)==null?void 0:s["@link"]}`),((l=(o=e==null?void 0:e.logo)==null?void 0:o.image)==null?void 0:l["@link"])!==void 0&&(e.logo.url=`${t}${(u=(c=e.logo)==null?void 0:c.image)==null?void 0:u["@link"]}`),"@nodes"in e&&"categories"in e&&((d=e.intro)!=null&&d["0"])&&typeof((m=e.intro)==null?void 0:m["0"])=="object"&&((v=e==null?void 0:e.categories)!=null&&v.sub)&&(e.intro[0].categories={sub:[...(f=(h=e==null?void 0:e.categories)==null?void 0:h.sub)==null?void 0:f.map($=>({displayName:$.displayName,level:$.level}))]}),"@nodes"in e&&"newsCategory"in e&&((_=(w=e.intro)==null?void 0:w["@nodes"])!=null&&_[0])){const $=e.intro[(y=e.intro)==null?void 0:y["@nodes"][0]];$.releaseDate=e==null?void 0:e.releaseDate,$.lastModified=e==null?void 0:e["mgnl:lastModified"],$.headerTag=e==null?void 0:e.newsCategory.value,e!=null&&e.topicTags&&($.bodyTags=[...(x=e==null?void 0:e.topicTags)==null?void 0:x.map(B=>({id:B["@id"],label:B.value}))])}if("@nodes"in e){if(!i){const $=e["@nodes"].filter(B=>{var Q;return(Q=e[B])==null?void 0:Q.hideComponent});$==null||$.forEach(B=>{const Q=e["@nodes"].indexOf(B);Q!==-1&&(e["@nodes"].splice(Q,1),delete e[B])})}e["@nodes"].forEach($=>Ea(e[$],t,n,i))}(A=e.backgroundImage)!=null&&A["@link"]&&(e._backgroundImagePath=`${t}${(E=e.backgroundImage)==null?void 0:E["@link"]}`)}function jd(e,t){const n=e.$config.public.mgnlPublic,i=hi(e),r=Po(e.pathMatch),a=Ni(e,r),s=fi(e,r),o=Fi(e),l=mn(e,o,t),c=Id(r,i),u=Wy(e.query),d=["localhost:3000","localhost"].some(m=>m===e.location.host)?e.$config.public.mgnlPublicHost:e.location.host;return{isPublic:n,languages:i,receivedPagePath:r,pagePath:a,currentLanguage:s,apiBasePath:o,hostAndContext:l,rootName:c,hostname:d,version:u}}function pi(e,t){var v,h;const n=jd(e,t),{pagePath:i,languages:r,currentLanguage:a,isPublic:s,receivedPagePath:o}=n,l=By(e,t),c=To(e,i,r,a),u=Er(o,r),d=`${Pt((v=e.site)==null?void 0:v["@path"])}_${a.replace("-","_")}`,m=u||(h=e.site)!=null&&h.isLiveCopy&&s?d:l.rootName;return{...n,paths:l,fullPathWithParams:c,queryRoot:m}}function Hd(e,t){return(e==null?void 0:e["@nodes"].length)<=1?"":e["@nodes"].find(n=>{var r;const i=(r=e[n])==null?void 0:r.languages;return!e[n].site&&(i==null?void 0:i["@nodes"].find(a=>{const s=i==null?void 0:i[a];return Uy(t,s)}))})??""}function Uy(e,t){const{language:n,country:i}=t??{};return e.includes("-")?`${n}-${i}`===e:e.includes("_")?`${n}_${i==null?void 0:i.toUpperCase()}`===e:n===e}function Gy(e,t){return e["@nodes"].filter(n=>n!==t).flatMap(n=>{const i=e[n];return i.languages["@nodes"].map(r=>{const a=i.languages[r],s=a!=null&&a.country?`_${a.country.toUpperCase()}`:"";return`${a==null?void 0:a.language}${s}`})||[]})||[]}function tn(e,t,...n){const i=Ze();i!=null&&i.isDebugMode&&(e==="log"?console.log(t,...n):e==="info"?console.info(t,...n):e==="warn"?console.warn(t,...n):e==="error"&&console.error(t,...n))}const zd={"web-frontend-fetch":"true"},ji={headers:{...zd}};async function qy(e){var l,c,u,d;const{isPublic:t,hostname:n,hostAndContext:i,currentLanguage:r,rootName:a}=jd(e,"mgnlApiSite"),s=t?`${i}?domain=${n}&lang=${r}`:`${i}/${Rd(e,a)}?lang=${r}`,o=await $fetch(s,{headers:{...zd,"x-trace-id":((u=(c=(l=e.event)==null?void 0:l.req)==null?void 0:c.headers)==null?void 0:u["x-fastly-trace-id"])??""}}).catch(m=>{throw tn("error","fetch.ts fetchSite HTTP response code: ",m.response.status),m});return t?(d=o.results)==null?void 0:d[0]:o}async function Yy(e){const t=pi(e,"mgnlApiPages"),{currentLanguage:n,languages:i,version:r,apiBasePath:a,queryRoot:s,isPublic:o}=t;let l=t.hostAndContext,c=t.fullPathWithParams;i.includes(n)&&(c+=(c.indexOf("?")>-1?"&":"?")+"lang="+n),r&&(c+=(c.indexOf("?")>-1?"&":"?")+"version="+r,l=mn(e,a,"mgnlApiPreview"));const u=Pt(c).split("/")[0].includes(s),d=o&&!u?`/${s}`:"",m=l+d+c;return tn("log","fetch.ts fetchPage",m),{page:await $fetch(m,ji)}}async function Xy(e){const{currentLanguage:t,hostAndContext:n}=pi(e,"mgnlApiLabels"),i=n+"?lang="+t;tn("log","fetch.ts fetchLabels",i);const r=await $fetch(i,ji);return r==null?void 0:r.results}async function Qy(e){var a;const{paths:t,currentLanguage:n}=pi(e,"mgnlApiHeader"),i=`${t.hostAndContext}?name=${t.liveCopyRootName}&lang=${n}`;tn("log","fetch.ts fetchHeader",i);const r=await $fetch(i,ji);return(a=r.results)!=null&&a.length?r.results[0]:null}async function Ky(e){var a;const{paths:t,currentLanguage:n}=pi(e,"mgnlApiFooter"),i=`${t.hostAndContext}?name=${t.liveCopyRootName}&lang=${n}`;tn("log","fetch.ts fetchFooter",i);const r=await $fetch(i,ji);return(a=r.results)!=null&&a.length?r.results[0]:null}async function Zy(e){const{paths:t,currentLanguage:n,queryRoot:i}=pi(e,"mgnlApiNav"),r=`${t.hostAndContext}/${i}?lang=${n}`,a=await $fetch(r,ji);return a.currentPagePath=Pt(t.receivedPagePath),a}async function L5(e){const{hostAndContext:t}=pi(e,"mgnlApiMarketingTags"),n=`${t}?@ancestor=${e.path}`,{results:i}=await $fetch(n);return i}async function Ya(e){const{url:t,query:n}=e;return(await $fetch(t,{method:"POST",headers:{"Content-Type":"application/graphql"},body:JSON.stringify({query:n})})).data}async function Jy(e){var l,c,u;const{paths:t}=pi(e,"mgnlApiHrefLang"),n=t.hostAndContext;if(!((l=e.site)!=null&&l.name))return;const{name:i}=e.site,r=`${n}?@ancestor=/${i}/`,a=await $fetch(r,ji);if(!((u=(c=a==null?void 0:a.results)==null?void 0:c[0])!=null&&u["href-lang"]))return;const s=a.results[0]["source lang"];return{mappings:a.results[0]["href-lang"].filter(d=>d!==s),sourceLang:s.replace("-","_")}}const Ze=Dd("site",{state:()=>({labels:[],site:void 0,header:void 0,footer:void 0,navigation:void 0,entryPointToggled:!1,currentEntryPointPath:"",currentLanguage:"",videoPlayingId:"",currentPath:"",activePath:"",currentQuery:{},languages:[],isLiveCopyClonedPathPattern:void 0,isPublic:void 0,availableLanguages:[],page:{name:"",path:"",availableLanguages:[],isStartPage:void 0,anchorNav:{},contentType:void 0,introBgColor:void 0,isSearchResultPage:void 0},youtubeIframeAPIReady:!1,wistiaIframeAPIReady:!1,videoModalContent:null,isDebugMode:!1,customHrefLangMappings:{mappings:[],sourceLang:""},stockMarketClosed:!1,stockMarketChecked:!1}),getters:{label:({labels:e})=>t=>{const n=e.find(i=>i.name===t);return n?n.value:t}},actions:{async fetchSite(e){let t=e;return this.site=await qy(t).catch(n=>{throw Cr({statusCode:n.response.status,statusMessage:`Error fetching site data on ${e.pathMatch}`,fatal:!0})}),this.site.isHPM=this.site.theme==="pale-green",this.site},async fetchLabels(e){return this.labels=await Xy(e).catch(t=>{throw new Error(`Error fetching labels: ${t}`)}),this.labels},async fetchHeader(e){return this.header=await Qy(e).catch(t=>{throw new Error(`Error fetching header: ${t}`)}),this.header},async fetchFooter(e){return this.footer=await Ky(e).catch(t=>{throw new Error(`Error fetching footer: ${t}`)}),this.footer},async fetchNavigation(e){return this.navigation=await Zy(e).catch(t=>{throw new Error(`Error fetching navigation: ${t}`)}),this.navigation},async fetchCustomHrefLangMappings(e){const t=await Jy(e).catch(n=>{throw new Error(`Error fetching Href Language Mappings ${n}`)});return this.customHrefLangMappings=t,this.customHrefLangMappings},setCurrentPath(e){this.currentPath=e},setActivePath(e){this.activePath=e},setCurrentQuery(e){this.currentQuery=e},setCurrentLanguage(e,t){this.currentLanguage=fi(e,t)},videoPlaying(e){this.videoPlayingId=e},setLanguages(e){var t;this.languages=(t=e.$config.public.mgnlLanguages)==null?void 0:t.toString().split(" ")},setPublic(e){this.isPublic=e},setLiveCopyClonedPathPattern(e){this.isLiveCopyClonedPathPattern=e},setVideoModalContent(e){this.videoModalContent=e},setDebugMode(e){this.isDebugMode=e},setEntryPointToggled(e){this.entryPointToggled=e},setCurrentEntryPointPath(e){this.currentEntryPointPath=_t(e,this.languages,this.currentLanguage,this.site,this.isPublic)},setPmPricesType(e){this.pmPricesType=e},setStockMarketClosed(e){this.stockMarketClosed=e},setStockMarketChecked(e){this.stockMarketChecked=e}}}),e0=e=>{Ze().setDebugMode("debug"in e.query)},t0=(e,t)=>{var v,h;const n=Gt(),i=$o(fi({$config:n},e.path)),r=new RegExp("/"+i+"($|/)").test(e.path);if(Rg({htmlAttrs:{class:i==="zh"?"is-tc-chinese-language":i==="zh-cn"?"is-sc-chinese-language":i==="ko"?"is-korean-language":i==="ja"?"is-japan-language":""}}),r)return;const s=n.public.mgnlLanguages.split(" "),o=Pt(e.fullPath).split("/"),l=o[0].split("_");Ry(l,s)?o[0]=`${i}/${l[0]}`:o[0]=i;const c=`/${o.join("/")}`,u=((v=e.query)==null?void 0:v.mgnlPreview)!==void 0||((h=e.query)==null?void 0:h.mgnlChannel)!==void 0;if(n.public.mgnlPublic&&!u&&e.path!==r&&e.fullPath!==c&&!n.public.ssg)return Ji(c,{redirectCode:301})},n0=[Sy,e0,t0],rr={};function i0(e,t,n){const{pathname:i,search:r,hash:a}=t,s=e.indexOf("#");if(s>-1){const l=a.includes(e.slice(s))?e.slice(s).length:1;let c=a.slice(l);return c[0]!=="/"&&(c="/"+c),fl(c,"")}const o=n||fl(i,e);return o+(o.includes("?")?"":r)+a}const r0=Kt({name:"nuxt:router",enforce:"pre",async setup(e){var f,w;let t,n,i=Gt().app.baseURL;Jt.hashMode&&!i.includes("#")&&(i+="#");const r=((f=Jt.history)==null?void 0:f.call(Jt,i))??(Jt.hashMode?Xv(i):xd(i)),a=((w=Jt.routes)==null?void 0:w.call(Jt,Xl))??Xl;let s;const o=i0(i,window.location,e.payload.path),l=_y({...Jt,scrollBehavior:(_,y,x)=>{var A;if(y===Sn){s=x;return}return l.options.scrollBehavior=Jt.scrollBehavior,(A=Jt.scrollBehavior)==null?void 0:A.call(Jt,_,Sn,s||x)},history:r,routes:a});e.vueApp.use(l);const c=Et(l.currentRoute.value);l.afterEach((_,y)=>{c.value=y}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=Et(l.resolve(o)),d=()=>{u.value=l.currentRoute.value};e.hook("page:finish",d),l.afterEach((_,y)=>{var x,A,E,$;((A=(x=_.matched[0])==null?void 0:x.components)==null?void 0:A.default)===(($=(E=y.matched[0])==null?void 0:E.components)==null?void 0:$.default)&&d()});const m={};for(const _ in u.value)Object.defineProperty(m,_,{get:()=>u.value[_]});e._route=ya(m),e._middleware=e._middleware||{global:[],named:{}};const v=Ca();try{[t,n]=Zr(()=>l.isReady()),await t,n()}catch(_){[t,n]=Zr(()=>e.runWithContext(()=>Ei(_))),await t,n()}const h=pv("_layout");return l.beforeEach(async(_,y)=>{var x;_.meta=Qt(_.meta),e.isHydrating&&h.value&&!kp(_.meta.layout)&&(_.meta.layout=h.value),e._processingMiddleware=!0;{const A=new Set([...n0,...e._middleware.global]);for(const E of _.matched){const $=E.meta.middleware;if($)if(Array.isArray($))for(const B of $)A.add(B);else A.add($)}for(const E of A){const $=typeof E=="string"?e._middleware.named[E]||await((x=rr[E])==null?void 0:x.call(rr).then(Q=>Q.default||Q)):E;if(!$)throw new Error(`Unknown route middleware: '${E}'.`);const B=await e.runWithContext(()=>$(_,y));if(!e.payload.serverRendered&&e.isHydrating&&(B===!1||B instanceof Error)){const Q=B||Ts({statusCode:404,statusMessage:`Page Not Found: ${o}`});return await e.runWithContext(()=>Ei(Q)),!1}if(B||B===!1)return B}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(_,y,x)=>{delete e._processingMiddleware,!e.isHydrating&&v.value&&await e.runWithContext(gv),_.matched.length===0&&await e.runWithContext(()=>Ei(Ts({statusCode:404,fatal:!1,statusMessage:`Page not found: ${_.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(o),name:void 0,force:!0}),l.options.scrollBehavior=Jt.scrollBehavior}catch(_){await e.runWithContext(()=>Ei(_))}}),{provide:{router:l}}}}),a0=Kt({name:"nuxt:payload",setup(e){Wg()&&(e.hooks.hook("link:prefetch",async t=>{wa(t).protocol||await El(t)}),Qn().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const i=await El(t.path);i&&Object.assign(e.static.data,i.data)}))}}),s0=Kt(e=>{const t=Ly();return e.vueApp.use(t),Sr(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}}),o0=Kt({name:"nuxt:global-components"}),l0=Kt({name:"nuxt:head",setup(e){const n=Dg();n.push(Fg),e.vueApp.use(n);{let i=!0;const r=()=>{i=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",a=>{a.shouldRender=!i}),e.hooks.hook("page:start",()=>{i=!0}),e.hooks.hook("page:finish",r),e.hooks.hook("app:suspense:resolve",r)}}}),si={layout:dl(()=>Ve(()=>Promise.resolve().then(()=>qx),void 0,import.meta.url).then(e=>e.default||e)),"layout-pdp":dl(()=>Ve(()=>import("./LayoutPDP.c6eca959.js"),["./LayoutPDP.c6eca959.js","./swiper-vue.35f06100.js","./swiper-vue.ee355cf6.css","./LayoutPDP.e73b3e5e.css"],import.meta.url).then(e=>e.default||e))},c0=Kt({name:"nuxt:prefetch",setup(e){const t=Qn();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{var r;const i=(r=n==null?void 0:n.meta)==null?void 0:r.layout;i&&typeof si[i]=="function"&&await si[i]()})}),e.hooks.hook("link:prefetch",n=>{var s,o,l,c;if(_r(n))return;const i=t.resolve(n);if(!i)return;const r=(s=i==null?void 0:i.meta)==null?void 0:s.layout;let a=Array.isArray((o=i==null?void 0:i.meta)==null?void 0:o.middleware)?(l=i==null?void 0:i.meta)==null?void 0:l.middleware:[(c=i==null?void 0:i.meta)==null?void 0:c.middleware];a=a.filter(u=>typeof u=="string");for(const u of a)typeof rr[u]=="function"&&rr[u]();r&&typeof si[r]=="function"&&si[r]()})}});var nn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Hi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $5(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function i(){if(this instanceof i){var r=[null];r.push.apply(r,arguments);var a=Function.bind.apply(t,r);return new a}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(i){var r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(n,i,r.get?r:{enumerable:!0,get:function(){return e[i]}})}),n}var Vd={exports:{}};(function(e){(function(t,n){e.exports?(n.default=n,e.exports=t&&t.document?n(t):n):(t.Highcharts&&t.Highcharts.error(16,!0),t.Highcharts=n(t))})(typeof window<"u"?window:nn,function(t){var n={};function i(r,a,s,o){!r.hasOwnProperty(a)&&(r[a]=o.apply(null,s),t&&typeof CustomEvent=="function"&&t.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:a,module:r[a]}})))}return i(n,"Core/Globals.js",[],function(){var r,a;return(a=r||(r={})).SVG_NS="http://www.w3.org/2000/svg",a.product="Highcharts",a.version="11.4.8",a.win=t!==void 0?t:{},a.doc=a.win.document,a.svg=a.doc&&a.doc.createElementNS&&!!a.doc.createElementNS(a.SVG_NS,"svg").createSVGRect,a.userAgent=a.win.navigator&&a.win.navigator.userAgent||"",a.isChrome=a.win.chrome,a.isFirefox=a.userAgent.indexOf("Firefox")!==-1,a.isMS=/(edge|msie|trident)/i.test(a.userAgent)&&!a.win.opera,a.isSafari=!a.isChrome&&a.userAgent.indexOf("Safari")!==-1,a.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(a.userAgent),a.isWebKit=a.userAgent.indexOf("AppleWebKit")!==-1,a.deg2rad=2*Math.PI/360,a.hasBidiBug=a.isFirefox&&4>parseInt(a.userAgent.split("Firefox/")[1],10),a.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],a.noop=function(){},a.supportsPassiveEvents=function(){let s=!1;if(!a.isMS){let o=Object.defineProperty({},"passive",{get:function(){s=!0}});a.win.addEventListener&&a.win.removeEventListener&&(a.win.addEventListener("testPassive",a.noop,o),a.win.removeEventListener("testPassive",a.noop,o))}return s}(),a.charts=[],a.composed=[],a.dateFormats={},a.seriesTypes={},a.symbolSizes={},a.chartCount=0,r}),i(n,"Core/Utilities.js",[n["Core/Globals.js"]],function(r){let a,{charts:s,doc:o,win:l}=r;function c(p,g,D,R){let Z=g?"Highcharts error":"Highcharts warning";p===32&&(p=`${Z}: Deprecated member`);let G=w(p),V=G?`${Z} #${p}: www.highcharts.com/errors/${p}/`:p.toString();if(R!==void 0){let X="";G&&(V+="?"),F(R,function(ee,S){X+=`
 - ${S}: ${ee}`,G&&(V+=encodeURI(S)+"="+encodeURI(ee))}),V+=X}P(r,"displayError",{chart:D,code:p,message:V,params:R},function(){if(g)throw Error(V);l.console&&c.messages.indexOf(V)===-1&&console.warn(V)}),c.messages.push(V)}function u(p,g){return parseInt(p,g||10)}function d(p){return typeof p=="string"}function m(p){let g=Object.prototype.toString.call(p);return g==="[object Array]"||g==="[object Array Iterator]"}function v(p,g){return!!p&&typeof p=="object"&&(!g||!m(p))}function h(p){return v(p)&&typeof p.nodeType=="number"}function f(p){let g=p&&p.constructor;return!!(v(p,!0)&&!h(p)&&g&&g.name&&g.name!=="Object")}function w(p){return typeof p=="number"&&!isNaN(p)&&p<1/0&&p>-1/0}function _(p){return p!=null}function y(p,g,D){let R,Z=d(g)&&!_(D),G=(V,X)=>{_(V)?p.setAttribute(X,V):Z?(R=p.getAttribute(X))||X!=="class"||(R=p.getAttribute(X+"Name")):p.removeAttribute(X)};return d(g)?G(D,g):F(g,G),R}function x(p){return m(p)?p:[p]}function A(p,g){let D;for(D in p||(p={}),g)p[D]=g[D];return p}function E(){let p=arguments,g=p.length;for(let D=0;D<g;D++){let R=p[D];if(R!=null)return R}}function $(p,g){A(p.style,g)}function B(p){return Math.pow(10,Math.floor(Math.log(p)/Math.LN10))}function Q(p,g){return p>1e14?p:parseFloat(p.toPrecision(g||14))}(c||(c={})).messages=[],Math.easeInOutSine=function(p){return-.5*(Math.cos(Math.PI*p)-1)};let I=Array.prototype.find?function(p,g){return p.find(g)}:function(p,g){let D,R=p.length;for(D=0;D<R;D++)if(g(p[D],D))return p[D]};function F(p,g,D){for(let R in p)Object.hasOwnProperty.call(p,R)&&g.call(D||p[R],p[R],R,p)}function k(p,g,D){function R(V,X){let ee=p.removeEventListener;ee&&ee.call(p,V,X,!1)}function Z(V){let X,ee;p.nodeName&&(g?(X={})[g]=!0:X=V,F(X,function(S,O){if(V[O])for(ee=V[O].length;ee--;)R(O,V[O][ee].fn)}))}let G=typeof p=="function"&&p.prototype||p;if(Object.hasOwnProperty.call(G,"hcEvents")){let V=G.hcEvents;if(g){let X=V[g]||[];D?(V[g]=X.filter(function(ee){return D!==ee.fn}),R(g,D)):(Z(V),V[g]=[])}else Z(V),delete G.hcEvents}}function P(p,g,D,R){if(D=D||{},o.createEvent&&(p.dispatchEvent||p.fireEvent&&p!==r)){let Z=o.createEvent("Events");Z.initEvent(g,!0,!0),D=A(Z,D),p.dispatchEvent?p.dispatchEvent(D):p.fireEvent(g,D)}else if(p.hcEvents){D.target||A(D,{preventDefault:function(){D.defaultPrevented=!0},target:p,type:g});let Z=[],G=p,V=!1;for(;G.hcEvents;)Object.hasOwnProperty.call(G,"hcEvents")&&G.hcEvents[g]&&(Z.length&&(V=!0),Z.unshift.apply(Z,G.hcEvents[g])),G=Object.getPrototypeOf(G);V&&Z.sort((X,ee)=>X.order-ee.order),Z.forEach(X=>{X.fn.call(p,D)===!1&&D.preventDefault()})}R&&!D.defaultPrevented&&R.call(p,D)}F({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(p,g){r[g]=function(D){return c(32,!1,void 0,{[`Highcharts.${g}`]:`use Array.${p}`}),Array.prototype[p].apply(D,[].slice.call(arguments,1))}});let C=function(){let p=Math.random().toString(36).substring(2,9)+"-",g=0;return function(){return"highcharts-"+(a?"":p)+g++}}();return l.jQuery&&(l.jQuery.fn.highcharts=function(){let p=[].slice.call(arguments);if(this[0])return p[0]?(new r[d(p[0])?p.shift():"Chart"](this[0],p[0],p[1]),this):s[y(this[0],"data-highcharts-chart")]}),{addEvent:function(p,g,D,R={}){let Z=typeof p=="function"&&p.prototype||p;Object.hasOwnProperty.call(Z,"hcEvents")||(Z.hcEvents={});let G=Z.hcEvents;r.Point&&p instanceof r.Point&&p.series&&p.series.chart&&(p.series.chart.runTrackerClick=!0);let V=p.addEventListener;V&&V.call(p,g,D,!!r.supportsPassiveEvents&&{passive:R.passive===void 0?g.indexOf("touch")!==-1:R.passive,capture:!1}),G[g]||(G[g]=[]);let X={fn:D,order:typeof R.order=="number"?R.order:1/0};return G[g].push(X),G[g].sort((ee,S)=>ee.order-S.order),function(){k(p,g,D)}},arrayMax:function(p){let g=p.length,D=p[0];for(;g--;)p[g]>D&&(D=p[g]);return D},arrayMin:function(p){let g=p.length,D=p[0];for(;g--;)p[g]<D&&(D=p[g]);return D},attr:y,clamp:function(p,g,D){return p>g?p<D?p:D:g},clearTimeout:function(p){_(p)&&clearTimeout(p)},correctFloat:Q,createElement:function(p,g,D,R,Z){let G=o.createElement(p);return g&&A(G,g),Z&&$(G,{padding:"0",border:"none",margin:"0"}),D&&$(G,D),R&&R.appendChild(G),G},crisp:(p,g=0,D)=>{let R=g%2/2,Z=D?-1:1;return(Math.round(p*Z-R)+R)*Z},css:$,defined:_,destroyObjectProperties:function(p,g,D){F(p,function(R,Z){R!==g&&(R!=null&&R.destroy)&&R.destroy(),(R!=null&&R.destroy||!D)&&delete p[Z]})},diffObjects:function(p,g,D,R){let Z={};return function G(V,X,ee,S){let O=D?X:V;F(V,function(M,H){if(!S&&R&&R.indexOf(H)>-1&&X[H]){M=x(M),ee[H]=[];for(let q=0;q<Math.max(M.length,X[H].length);q++)X[H][q]&&(M[q]===void 0?ee[H][q]=X[H][q]:(ee[H][q]={},G(M[q],X[H][q],ee[H][q],S+1)))}else v(M,!0)&&!M.nodeType?(ee[H]=m(M)?[]:{},G(M,X[H]||{},ee[H],S+1),Object.keys(ee[H]).length!==0||H==="colorAxis"&&S===0||delete ee[H]):(V[H]!==X[H]||H in V&&!(H in X))&&H!=="__proto__"&&H!=="constructor"&&(ee[H]=O[H])})}(p,g,Z,0),Z},discardElement:function(p){p&&p.parentElement&&p.parentElement.removeChild(p)},erase:function(p,g){let D=p.length;for(;D--;)if(p[D]===g){p.splice(D,1);break}},error:c,extend:A,extendClass:function(p,g){let D=function(){};return D.prototype=new p,A(D.prototype,g),D},find:I,fireEvent:P,getClosestDistance:function(p,g){let D,R,Z,G=!g;return p.forEach(V=>{if(V.length>1)for(Z=V.length-1;Z>0;Z--)(R=V[Z]-V[Z-1])<0&&!G?(g==null||g(),g=void 0):R&&(D===void 0||R<D)&&(D=R)}),D},getMagnitude:B,getNestedProperty:function(p,g){let D=p.split(".");for(;D.length&&_(g);){let R=D.shift();if(R===void 0||R==="__proto__")return;if(R==="this"){let G;return v(g)&&(G=g["@this"]),G??g}let Z=g[R];if(!_(Z)||typeof Z=="function"||typeof Z.nodeType=="number"||Z===l)return;g=Z}return g},getStyle:function p(g,D,R){let Z;if(D==="width"){let V=Math.min(g.offsetWidth,g.scrollWidth),X=g.getBoundingClientRect&&g.getBoundingClientRect().width;return X<V&&X>=V-1&&(V=Math.floor(X)),Math.max(0,V-(p(g,"padding-left",!0)||0)-(p(g,"padding-right",!0)||0))}if(D==="height")return Math.max(0,Math.min(g.offsetHeight,g.scrollHeight)-(p(g,"padding-top",!0)||0)-(p(g,"padding-bottom",!0)||0));let G=l.getComputedStyle(g,void 0);return G&&(Z=G.getPropertyValue(D),E(R,D!=="opacity")&&(Z=u(Z))),Z},inArray:function(p,g,D){return c(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),g.indexOf(p,D)},insertItem:function(p,g){let D,R=p.options.index,Z=g.length;for(D=p.options.isInternal?Z:0;D<Z+1;D++)if(!g[D]||w(R)&&R<E(g[D].options.index,g[D]._i)||g[D].options.isInternal){g.splice(D,0,p);break}return D},isArray:m,isClass:f,isDOMElement:h,isFunction:function(p){return typeof p=="function"},isNumber:w,isObject:v,isString:d,keys:function(p){return c(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(p)},merge:function(){let p,g=arguments,D={},R=function(G,V){return typeof G!="object"&&(G={}),F(V,function(X,ee){ee!=="__proto__"&&ee!=="constructor"&&(!v(X,!0)||f(X)||h(X)?G[ee]=V[ee]:G[ee]=R(G[ee]||{},X))}),G};g[0]===!0&&(D=g[1],g=Array.prototype.slice.call(g,2));let Z=g.length;for(p=0;p<Z;p++)D=R(D,g[p]);return D},normalizeTickInterval:function(p,g,D,R,Z){let G,V=p;D=E(D,B(p));let X=p/D;for(!g&&(g=Z?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],R===!1&&(D===1?g=g.filter(function(ee){return ee%1==0}):D<=.1&&(g=[1/D]))),G=0;G<g.length&&(V=g[G],(!Z||!(V*D>=p))&&(Z||!(X<=(g[G]+(g[G+1]||g[G]))/2)));G++);return Q(V*D,-Math.round(Math.log(.001)/Math.LN10))},objectEach:F,offset:function(p){let g=o.documentElement,D=p.parentElement||p.parentNode?p.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:D.top+(l.pageYOffset||g.scrollTop)-(g.clientTop||0),left:D.left+(l.pageXOffset||g.scrollLeft)-(g.clientLeft||0),width:D.width,height:D.height}},pad:function(p,g,D){return Array((g||2)+1-String(p).replace("-","").length).join(D||"0")+p},pick:E,pInt:u,pushUnique:function(p,g){return 0>p.indexOf(g)&&!!p.push(g)},relativeLength:function(p,g,D){return/%$/.test(p)?g*parseFloat(p)/100+(D||0):parseFloat(p)},removeEvent:k,replaceNested:function(p,...g){let D,R;do for(R of(D=p,g))p=p.replace(R[0],R[1]);while(p!==D);return p},splat:x,stableSort:function(p,g){let D,R,Z=p.length;for(R=0;R<Z;R++)p[R].safeI=R;for(p.sort(function(G,V){return(D=g(G,V))===0?G.safeI-V.safeI:D}),R=0;R<Z;R++)delete p[R].safeI},syncTimeout:function(p,g,D){return g>0?setTimeout(p,g,D):(p.call(0,D),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:C,useSerialIds:function(p){return a=E(p,a)},wrap:function(p,g,D){let R=p[g];p[g]=function(){let Z=arguments,G=this;return D.apply(this,[function(){return R.apply(G,arguments.length?arguments:Z)}].concat([].slice.call(arguments)))}}}}),i(n,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),i(n,"Core/Color/Palettes.js",[],function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}}),i(n,"Core/Time.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a){let{win:s}=r,{defined:o,error:l,extend:c,isNumber:u,isObject:d,merge:m,objectEach:v,pad:h,pick:f,splat:w,timeUnits:_}=a,y=r.isSafari&&s.Intl&&s.Intl.DateTimeFormat.prototype.formatRange,x=r.isSafari&&s.Intl&&!s.Intl.DateTimeFormat.prototype.formatRange;class A{constructor($){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=s.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update($)}get($,B){if(this.variableTimezone||this.timezoneOffset){let Q=B.getTime(),I=Q-this.getTimezoneOffset(B);B.setTime(I);let F=B["getUTC"+$]();return B.setTime(Q),F}return this.useUTC?B["getUTC"+$]():B["get"+$]()}set($,B,Q){if(this.variableTimezone||this.timezoneOffset){if($==="Milliseconds"||$==="Seconds"||$==="Minutes"&&this.getTimezoneOffset(B)%36e5==0)return B["setUTC"+$](Q);let I=this.getTimezoneOffset(B),F=B.getTime()-I;B.setTime(F),B["setUTC"+$](Q);let k=this.getTimezoneOffset(B);return F=B.getTime()+k,B.setTime(F)}return this.useUTC||y&&$==="FullYear"?B["setUTC"+$](Q):B["set"+$](Q)}update($={}){let B=f($.useUTC,!0);this.options=$=m(!0,this.options,$),this.Date=$.Date||s.Date||Date,this.useUTC=B,this.timezoneOffset=B&&$.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=B&&!!($.getTimezoneOffset||$.timezone)}makeTime($,B,Q,I,F,k){let P,C,p;return this.useUTC?(P=this.Date.UTC.apply(0,arguments),C=this.getTimezoneOffset(P),P+=C,C!==(p=this.getTimezoneOffset(P))?P+=p-C:C-36e5!==this.getTimezoneOffset(P-36e5)||x||(P-=36e5)):P=new this.Date($,B,f(Q,1),f(I,0),f(F,0),f(k,0)).getTime(),P}timezoneOffsetFunction(){let $=this,B=this.options,Q=B.getTimezoneOffset;return this.useUTC?B.timezone?I=>{try{let F=`shortOffset,${B.timezone||""}`,[k,P,C,p,g=0]=(A.formatCache[F]=A.formatCache[F]||Intl.DateTimeFormat("en",{timeZone:B.timezone,timeZoneName:"shortOffset"})).format(I).split(/(GMT|:)/).map(Number),D=-(36e5*(C+g/60));if(u(D))return D}catch{l(34)}return 0}:this.useUTC&&Q?I=>6e4*Q(I.valueOf()):()=>6e4*($.timezoneOffset||0):I=>6e4*new Date(I.toString()).getTimezoneOffset()}dateFormat($,B,Q){if(!o(B)||isNaN(B))return r.defaultOptions.lang&&r.defaultOptions.lang.invalidDate||"";$=f($,"%Y-%m-%d %H:%M:%S");let I=this,F=new this.Date(B),k=this.get("Hours",F),P=this.get("Day",F),C=this.get("Date",F),p=this.get("Month",F),g=this.get("FullYear",F),D=r.defaultOptions.lang,R=D&&D.weekdays,Z=D&&D.shortWeekdays;return v(c({a:Z?Z[P]:R[P].substr(0,3),A:R[P],d:h(C),e:h(C,2," "),w:P,b:D.shortMonths[p],B:D.months[p],m:h(p+1),o:p+1,y:g.toString().substr(2,2),Y:g,H:h(k),k,I:h(k%12||12),l:k%12||12,M:h(this.get("Minutes",F)),p:k<12?"AM":"PM",P:k<12?"am":"pm",S:h(this.get("Seconds",F)),L:h(Math.floor(B%1e3),3)},r.dateFormats),function(G,V){for(;$.indexOf("%"+V)!==-1;)$=$.replace("%"+V,typeof G=="function"?G.call(I,B):G)}),Q?$.substr(0,1).toUpperCase()+$.substr(1):$}resolveDTLFormat($){return d($,!0)?$:{main:($=w($))[0],from:$[1],to:$[2]}}getTimeTicks($,B,Q,I){let F,k,P,C,p=this,g=p.Date,D=[],R={},Z=new g(B),G=$.unitRange,V=$.count||1;if(I=f(I,1),o(B)){p.set("Milliseconds",Z,G>=_.second?0:V*Math.floor(p.get("Milliseconds",Z)/V)),G>=_.second&&p.set("Seconds",Z,G>=_.minute?0:V*Math.floor(p.get("Seconds",Z)/V)),G>=_.minute&&p.set("Minutes",Z,G>=_.hour?0:V*Math.floor(p.get("Minutes",Z)/V)),G>=_.hour&&p.set("Hours",Z,G>=_.day?0:V*Math.floor(p.get("Hours",Z)/V)),G>=_.day&&p.set("Date",Z,G>=_.month?1:Math.max(1,V*Math.floor(p.get("Date",Z)/V))),G>=_.month&&(p.set("Month",Z,G>=_.year?0:V*Math.floor(p.get("Month",Z)/V)),k=p.get("FullYear",Z)),G>=_.year&&(k-=k%V,p.set("FullYear",Z,k)),G===_.week&&(C=p.get("Day",Z),p.set("Date",Z,p.get("Date",Z)-C+I+(C<I?-7:0))),k=p.get("FullYear",Z);let X=p.get("Month",Z),ee=p.get("Date",Z),S=p.get("Hours",Z);B=Z.getTime(),(p.variableTimezone||!p.useUTC)&&o(Q)&&(P=Q-B>4*_.month||p.getTimezoneOffset(B)!==p.getTimezoneOffset(Q));let O=Z.getTime();for(F=1;O<Q;)D.push(O),G===_.year?O=p.makeTime(k+F*V,0):G===_.month?O=p.makeTime(k,X+F*V):P&&(G===_.day||G===_.week)?O=p.makeTime(k,X,ee+F*V*(G===_.day?1:7)):P&&G===_.hour&&V>1?O=p.makeTime(k,X,ee,S+F*V):O+=G*V,F++;D.push(O),G<=_.hour&&D.length<1e4&&D.forEach(function(M){M%18e5==0&&p.dateFormat("%H%M%S%L",M)==="000000000"&&(R[M]="day")})}return D.info=c($,{higherRanks:R,totalRange:G*V}),D}getDateFormat($,B,Q,I){let F=this.dateFormat("%m-%d %H:%M:%S.%L",B),k="01-01 00:00:00.000",P={millisecond:15,second:12,minute:9,hour:6,day:3},C="millisecond",p=C;for(C in _){if($===_.week&&+this.dateFormat("%w",B)===Q&&F.substr(6)===k.substr(6)){C="week";break}if(_[C]>$){C=p;break}if(P[C]&&F.substr(P[C])!==k.substr(P[C]))break;C!=="week"&&(p=C)}return this.resolveDTLFormat(I[C]).main}}return A.formatCache={},A}),i(n,"Core/Defaults.js",[n["Core/Chart/ChartDefaults.js"],n["Core/Globals.js"],n["Core/Color/Palettes.js"],n["Core/Time.js"],n["Core/Utilities.js"]],function(r,a,s,o,l){let{isTouchDevice:c}=a,{fireEvent:u,merge:d}=l,m={colors:s.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:r,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:h=>Math.sqrt(1-Math.pow(h-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:c?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};m.chart.styledMode=!1;let v=new o(m.time);return{defaultOptions:m,defaultTime:v,getOptions:function(){return m},setOptions:function(h){return u(a,"setOptions",{options:h}),d(!0,m,h),(h.time||h.global)&&(a.time?a.time.update(d(m.global,m.time,h.global,h.time)):a.time=v),m}}}),i(n,"Core/Color/Color.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a){let{isNumber:s,merge:o,pInt:l}=a;class c{static parse(d){return d?new c(d):c.None}constructor(d){let m,v,h,f;this.rgba=[NaN,NaN,NaN,NaN],this.input=d;let w=r.Color;if(w&&w!==c)return new w(d);if(typeof d=="object"&&d.stops!==void 0)this.stops=d.stops.map(_=>new c(_[1]));else if(typeof d=="string"){if(this.input=d=c.names[d.toLowerCase()]||d,d.charAt(0)==="#"){let _=d.length,y=parseInt(d.substr(1),16);_===7?v=[(16711680&y)>>16,(65280&y)>>8,255&y,1]:_===4&&(v=[(3840&y)>>4|(3840&y)>>8,(240&y)>>4|240&y,(15&y)<<4|15&y,1])}if(!v)for(h=c.parsers.length;h--&&!v;)(m=(f=c.parsers[h]).regex.exec(d))&&(v=f.parse(m))}v&&(this.rgba=v)}get(d){let m=this.input,v=this.rgba;if(typeof m=="object"&&this.stops!==void 0){let h=o(m);return h.stops=[].slice.call(h.stops),this.stops.forEach((f,w)=>{h.stops[w]=[h.stops[w][0],f.get(d)]}),h}return v&&s(v[0])?d!=="rgb"&&(d||v[3]!==1)?d==="a"?`${v[3]}`:"rgba("+v.join(",")+")":"rgb("+v[0]+","+v[1]+","+v[2]+")":m}brighten(d){let m=this.rgba;if(this.stops)this.stops.forEach(function(v){v.brighten(d)});else if(s(d)&&d!==0)for(let v=0;v<3;v++)m[v]+=l(255*d),m[v]<0&&(m[v]=0),m[v]>255&&(m[v]=255);return this}setOpacity(d){return this.rgba[3]=d,this}tweenTo(d,m){let v=this.rgba,h=d.rgba;if(!s(v[0])||!s(h[0]))return d.input||"none";let f=h[3]!==1||v[3]!==1;return(f?"rgba(":"rgb(")+Math.round(h[0]+(v[0]-h[0])*(1-m))+","+Math.round(h[1]+(v[1]-h[1])*(1-m))+","+Math.round(h[2]+(v[2]-h[2])*(1-m))+(f?","+(h[3]+(v[3]-h[3])*(1-m)):"")+")"}}return c.names={white:"#ffffff",black:"#000000"},c.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(u){return[l(u[1]),l(u[2]),l(u[3]),parseFloat(u[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(u){return[l(u[1]),l(u[2]),l(u[3]),1]}}],c.None=new c(""),c}),i(n,"Core/Animation/Fx.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a,s){let{parse:o}=r,{win:l}=a,{isNumber:c,objectEach:u}=s;class d{constructor(v,h,f){this.pos=NaN,this.options=h,this.elem=v,this.prop=f}dSetter(){let v=this.paths,h=v&&v[0],f=v&&v[1],w=this.now||0,_=[];if(w!==1&&h&&f)if(h.length===f.length&&w<1)for(let y=0;y<f.length;y++){let x=h[y],A=f[y],E=[];for(let $=0;$<A.length;$++){let B=x[$],Q=A[$];c(B)&&c(Q)&&!(A[0]==="A"&&($===4||$===5))?E[$]=B+w*(Q-B):E[$]=Q}_.push(E)}else _=f;else _=this.toD||[];this.elem.attr("d",_,void 0,!0)}update(){let v=this.elem,h=this.prop,f=this.now,w=this.options.step;this[h+"Setter"]?this[h+"Setter"]():v.attr?v.element&&v.attr(h,f,null,!0):v.style[h]=f+this.unit,w&&w.call(v,f,this)}run(v,h,f){let w=this,_=w.options,y=function(E){return!y.stopped&&w.step(E)},x=l.requestAnimationFrame||function(E){setTimeout(E,13)},A=function(){for(let E=0;E<d.timers.length;E++)d.timers[E]()||d.timers.splice(E--,1);d.timers.length&&x(A)};v!==h||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=v,this.end=h,this.unit=f,this.now=this.start,this.pos=0,y.elem=this.elem,y.prop=this.prop,y()&&d.timers.push(y)===1&&x(A)):(delete _.curAnim[this.prop],_.complete&&Object.keys(_.curAnim).length===0&&_.complete.call(this.elem))}step(v){let h,f,w=+new Date,_=this.options,y=this.elem,x=_.complete,A=_.duration,E=_.curAnim;return y.attr&&!y.element?h=!1:v||w>=A+this.startTime?(this.now=this.end,this.pos=1,this.update(),E[this.prop]=!0,f=!0,u(E,function($){$!==!0&&(f=!1)}),f&&x&&x.call(y),h=!1):(this.pos=_.easing((w-this.startTime)/A),this.now=this.start+(this.end-this.start)*this.pos,this.update(),h=!0),h}initPath(v,h,f){let w=v.startX,_=v.endX,y=f.slice(),x=v.isArea,A=x?2:1,E=h&&f.length>h.length&&f.hasStackedCliffs,$,B,Q,I,F=h&&h.slice();if(!F||E)return[y,y];function k(C,p){for(;C.length<B;){let g=C[0],D=p[B-C.length];if(D&&g[0]==="M"&&(D[0]==="C"?C[0]=["C",g[1],g[2],g[1],g[2],g[1],g[2]]:C[0]=["L",g[1],g[2]]),C.unshift(g),x){let R=C.pop();C.push(C[C.length-1],R)}}}function P(C){for(;C.length<B;){let p=C[Math.floor(C.length/A)-1].slice();if(p[0]==="C"&&(p[1]=p[5],p[2]=p[6]),x){let g=C[Math.floor(C.length/A)].slice();C.splice(C.length/2,0,p,g)}else C.push(p)}}if(w&&_&&_.length){for(Q=0;Q<w.length;Q++){if(w[Q]===_[0]){$=Q;break}if(w[0]===_[_.length-w.length+Q]){$=Q,I=!0;break}if(w[w.length-1]===_[_.length-w.length+Q]){$=w.length-Q;break}}$===void 0&&(F=[])}return F.length&&c($)&&(B=y.length+$*A,I?(k(F,y),P(y)):(k(y,F),P(F))),[F,y]}fillSetter(){d.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,o(this.start).tweenTo(o(this.end),this.pos),void 0,!0)}}return d.timers=[],d}),i(n,"Core/Animation/AnimationUtilities.js",[n["Core/Animation/Fx.js"],n["Core/Utilities.js"]],function(r,a){let{defined:s,getStyle:o,isArray:l,isNumber:c,isObject:u,merge:d,objectEach:m,pick:v}=a;function h(w){return u(w)?d({duration:500,defer:0},w):{duration:w?500:0,defer:0}}function f(w,_){let y=r.timers.length;for(;y--;)r.timers[y].elem!==w||_&&_!==r.timers[y].prop||(r.timers[y].stopped=!0)}return{animate:function(w,_,y){let x,A="",E,$,B;u(y)||(B=arguments,y={duration:B[2],easing:B[3],complete:B[4]}),c(y.duration)||(y.duration=400),y.easing=typeof y.easing=="function"?y.easing:Math[y.easing]||Math.easeInOutSine,y.curAnim=d(_),m(_,function(Q,I){f(w,I),$=new r(w,y,I),E=void 0,I==="d"&&l(_.d)?($.paths=$.initPath(w,w.pathArray,_.d),$.toD=_.d,x=0,E=1):w.attr?x=w.attr(I):(x=parseFloat(o(w,I))||0,I!=="opacity"&&(A="px")),E||(E=Q),typeof E=="string"&&E.match("px")&&(E=E.replace(/px/g,"")),$.run(x,E,A)})},animObject:h,getDeferredAnimation:function(w,_,y){let x=h(_),A=y?[y]:w.series,E=0,$=0;return A.forEach(B=>{let Q=h(B.options.animation);E=u(_)&&s(_.defer)?x.defer:Math.max(E,Q.duration+Q.defer),$=Math.min(x.duration,Q.duration)}),w.renderer.forExport&&(E=0),{defer:Math.max(0,E-$),duration:Math.min(E,$)}},setAnimation:function(w,_){_.renderer.globalAnimation=v(w,_.options.chart.animation,!0)},stop:f}}),i(n,"Core/Renderer/HTML/AST.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a){let{SVG_NS:s,win:o}=r,{attr:l,createElement:c,css:u,error:d,isFunction:m,isString:v,objectEach:h,splat:f}=a,{trustedTypes:w}=o,_=w&&m(w.createPolicy)&&w.createPolicy("highcharts",{createHTML:E=>E}),y=_?_.createHTML(""):"",x=function(){try{return!!new DOMParser().parseFromString(y,"text/html")}catch{return!1}}();class A{static filterUserAttributes($){return h($,(B,Q)=>{let I=!0;A.allowedAttributes.indexOf(Q)===-1&&(I=!1),["background","dynsrc","href","lowsrc","src"].indexOf(Q)!==-1&&(I=v(B)&&A.allowedReferences.some(F=>B.indexOf(F)===0)),I||(d(33,!1,void 0,{"Invalid attribute in config":`${Q}`}),delete $[Q]),v(B)&&$[Q]&&($[Q]=B.replace(/</g,"&lt;"))}),$}static parseStyle($){return $.split(";").reduce((B,Q)=>{let I=Q.split(":").map(k=>k.trim()),F=I.shift();return F&&I.length&&(B[F.replace(/-([a-z])/g,k=>k[1].toUpperCase())]=I.join(":")),B},{})}static setElementHTML($,B){$.innerHTML=A.emptyHTML,B&&new A(B).addToDOM($)}constructor($){this.nodes=typeof $=="string"?this.parseMarkup($):$}addToDOM($){return function B(Q,I){let F;return f(Q).forEach(function(k){let P,C=k.tagName,p=k.textContent?r.doc.createTextNode(k.textContent):void 0,g=A.bypassHTMLFiltering;if(C)if(C==="#text")P=p;else if(A.allowedTags.indexOf(C)!==-1||g){let D=C==="svg"?s:I.namespaceURI||s,R=r.doc.createElementNS(D,C),Z=k.attributes||{};h(k,function(G,V){V!=="tagName"&&V!=="attributes"&&V!=="children"&&V!=="style"&&V!=="textContent"&&(Z[V]=G)}),l(R,g?Z:A.filterUserAttributes(Z)),k.style&&u(R,k.style),p&&R.appendChild(p),B(k.children||[],R),P=R}else d(33,!1,void 0,{"Invalid tagName in config":C});P&&I.appendChild(P),F=P}),F}(this.nodes,$)}parseMarkup($){let B,Q=[];if($=$.trim().replace(/ style=(["'])/g," data-style=$1"),x)B=new DOMParser().parseFromString(_?_.createHTML($):$,"text/html");else{let F=c("div");F.innerHTML=$,B={body:F}}let I=(F,k)=>{let P=F.nodeName.toLowerCase(),C={tagName:P};P==="#text"&&(C.textContent=F.textContent||"");let p=F.attributes;if(p){let g={};[].forEach.call(p,D=>{D.name==="data-style"?C.style=A.parseStyle(D.value):g[D.name]=D.value}),C.attributes=g}if(F.childNodes.length){let g=[];[].forEach.call(F.childNodes,D=>{I(D,g)}),g.length&&(C.children=g)}k.push(C)};return[].forEach.call(B.body.childNodes,F=>I(F,Q)),Q}}return A.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],A.allowedReferences=["https://","http://","mailto:","/","../","./","#"],A.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],A.emptyHTML=y,A.bypassHTMLFiltering=!1,A}),i(n,"Core/Templating.js",[n["Core/Defaults.js"],n["Core/Utilities.js"]],function(r,a){let{defaultOptions:s,defaultTime:o}=r,{extend:l,getNestedProperty:c,isArray:u,isNumber:d,isObject:m,pick:v,pInt:h}=a,f={add:(y,x)=>y+x,divide:(y,x)=>x!==0?y/x:"",eq:(y,x)=>y==x,each:function(y){let x=arguments[arguments.length-1];return!!u(y)&&y.map((A,E)=>w(x.body,l(m(A)?A:{"@this":A},{"@index":E,"@first":E===0,"@last":E===y.length-1}))).join("")},ge:(y,x)=>y>=x,gt:(y,x)=>y>x,if:y=>!!y,le:(y,x)=>y<=x,lt:(y,x)=>y<x,multiply:(y,x)=>y*x,ne:(y,x)=>y!=x,subtract:(y,x)=>y-x,unless:y=>!y};function w(y="",x,A){let E=/\{([\w\:\.\,;\-\/<>%@"'’= #\(\)]+)\}/g,$=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,B=[],Q=/f$/,I=/\.(\d)/,F=s.lang,k=A&&A.time||o,P=A&&A.numberFormatter||_,C=(Z="")=>{let G;return Z==="true"||Z!=="false"&&((G=Number(Z)).toString()===Z?G:c(Z,x))},p,g,D=0,R;for(;(p=E.exec(y))!==null;){let Z=$.exec(p[1]);Z&&(p=Z,R=!0),g&&g.isBlock||(g={ctx:x,expression:p[1],find:p[0],isBlock:p[1].charAt(0)==="#",start:p.index,startInner:p.index+p[0].length,length:p[0].length});let G=p[1].split(" ")[0].replace("#","");f[G]&&(g.isBlock&&G===g.fn&&D++,g.fn||(g.fn=G));let V=p[1]==="else";if(g.isBlock&&g.fn&&(p[1]===`/${g.fn}`||V))if(D)!V&&D--;else{let X=g.startInner,ee=y.substr(X,p.index-X);g.body===void 0?(g.body=ee,g.startInner=p.index+p[0].length):g.elseBody=ee,g.find+=ee+p[0],V||(B.push(g),g=void 0)}else g.isBlock||B.push(g);if(Z&&!(g!=null&&g.isBlock))break}return B.forEach(Z=>{let G,V,{body:X,elseBody:ee,expression:S,fn:O}=Z;if(O){let M=[Z],H=S.split(" ");for(V=f[O].length;V--;)M.unshift(C(H[V+1]));G=f[O].apply(x,M),Z.isBlock&&typeof G=="boolean"&&(G=w(G?X:ee,x,A))}else{let M=S.split(":");if(G=C(M.shift()||""),M.length&&typeof G=="number"){let H=M.join(":");if(Q.test(H)){let q=parseInt((H.match(I)||["","-1"])[1],10);G!==null&&(G=P(G,q,F.decimalPoint,H.indexOf(",")>-1?F.thousandsSep:""))}else G=k.dateFormat(H,G)}}y=y.replace(Z.find,v(G,""))}),R?w(y,x,A):y}function _(y,x,A,E){let $,B;y=+y||0,x=+x;let Q=s.lang,I=(y.toString().split(".")[1]||"").split("e")[0].length,F=y.toString().split("e"),k=x;x===-1?x=Math.min(I,20):d(x)?x&&F[1]&&F[1]<0&&((B=x+ +F[1])>=0?(F[0]=(+F[0]).toExponential(B).split("e")[0],x=B):(F[0]=F[0].split(".")[0]||0,y=x<20?(F[0]*Math.pow(10,F[1])).toFixed(x):0,F[1]=0)):x=2;let P=(Math.abs(F[1]?F[0]:y)+Math.pow(10,-Math.max(x,I)-1)).toFixed(x),C=String(h(P)),p=C.length>3?C.length%3:0;return A=v(A,Q.decimalPoint),E=v(E,Q.thousandsSep),$=(y<0?"-":"")+(p?C.substr(0,p)+E:""),0>+F[1]&&!k?$="0":$+=C.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+E),x?$+=A+P.slice(-x):+$==0&&($="0"),F[1]&&+$!=0&&($+="e"+F[1]),$}return{dateFormat:function(y,x,A){return o.dateFormat(y,x,A)},format:w,helpers:f,numberFormat:_}}),i(n,"Core/Renderer/RendererRegistry.js",[n["Core/Globals.js"]],function(r){var a,s;let o;return(s=a||(a={})).rendererTypes={},s.getRendererType=function(l=o){return s.rendererTypes[l]||s.rendererTypes[o]},s.registerRendererType=function(l,c,u){s.rendererTypes[l]=c,(!o||u)&&(o=l,r.Renderer=c)},a}),i(n,"Core/Renderer/RendererUtilities.js",[n["Core/Utilities.js"]],function(r){var a;let{clamp:s,pick:o,pushUnique:l,stableSort:c}=r;return(a||(a={})).distribute=function u(d,m,v){let h=d,f=h.reducedLen||m,w=(C,p)=>C.target-p.target,_=[],y=d.length,x=[],A=_.push,E,$,B,Q=!0,I,F,k=0,P;for(E=y;E--;)k+=d[E].size;if(k>f){for(c(d,(C,p)=>(p.rank||0)-(C.rank||0)),B=(P=d[0].rank===d[d.length-1].rank)?y/2:-1,$=P?B:y-1;B&&k>f;)I=d[E=Math.floor($)],l(x,E)&&(k-=I.size),$+=B,P&&$>=d.length&&(B/=2,$=B);x.sort((C,p)=>p-C).forEach(C=>A.apply(_,d.splice(C,1)))}for(c(d,w),d=d.map(C=>({size:C.size,targets:[C.target],align:o(C.align,.5)}));Q;){for(E=d.length;E--;)I=d[E],F=(Math.min.apply(0,I.targets)+Math.max.apply(0,I.targets))/2,I.pos=s(F-I.size*I.align,0,m-I.size);for(E=d.length,Q=!1;E--;)E>0&&d[E-1].pos+d[E-1].size>d[E].pos&&(d[E-1].size+=d[E].size,d[E-1].targets=d[E-1].targets.concat(d[E].targets),d[E-1].align=.5,d[E-1].pos+d[E-1].size>m&&(d[E-1].pos=m-d[E-1].size),d.splice(E,1),Q=!0)}return A.apply(h,_),E=0,d.some(C=>{let p=0;return(C.targets||[]).some(()=>(h[E].pos=C.pos+p,v!==void 0&&Math.abs(h[E].pos-h[E].target)>v?(h.slice(0,E+1).forEach(g=>delete g.pos),h.reducedLen=(h.reducedLen||m)-.1*m,h.reducedLen>.1*m&&u(h,m,v),!0):(p+=h[E].size,E++,!1)))}),c(h,w),h},a}),i(n,"Core/Renderer/SVG/SVGElement.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a,s,o){let{animate:l,animObject:c,stop:u}=r,{deg2rad:d,doc:m,svg:v,SVG_NS:h,win:f}=s,{addEvent:w,attr:_,createElement:y,crisp:x,css:A,defined:E,erase:$,extend:B,fireEvent:Q,isArray:I,isFunction:F,isObject:k,isString:P,merge:C,objectEach:p,pick:g,pInt:D,pushUnique:R,replaceNested:Z,syncTimeout:G,uniqueKey:V}=o;class X{_defaultGetter(S){let O=g(this[S+"Value"],this[S],this.element?this.element.getAttribute(S):null,0);return/^-?[\d\.]+$/.test(O)&&(O=parseFloat(O)),O}_defaultSetter(S,O,M){M.setAttribute(O,S)}add(S){let O,M=this.renderer,H=this.element;return S&&(this.parentGroup=S),this.textStr!==void 0&&this.element.nodeName==="text"&&M.buildText(this),this.added=!0,(!S||S.handleZ||this.zIndex)&&(O=this.zIndexSetter()),O||(S?S.element:M.box).appendChild(H),this.onAdd&&this.onAdd(),this}addClass(S,O){let M=O?"":this.attr("class")||"";return(S=(S||"").split(/ /g).reduce(function(H,q){return M.indexOf(q)===-1&&H.push(q),H},M?[M]:[]).join(" "))!==M&&this.attr("class",S),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(S,O,M,H=!0){let q,T,L,U,ie={},N=this.renderer,K=N.alignedObjects,b=!!S;S?(this.alignOptions=S,this.alignByTranslate=O,this.alignTo=M):(S=this.alignOptions||{},O=this.alignByTranslate,M=this.alignTo);let z=!M||P(M)?M||"renderer":void 0;z&&(b&&R(K,this),M=void 0);let Y=g(M,N[z],N),W=S.align,j=S.verticalAlign;return q=(Y.x||0)+(S.x||0),T=(Y.y||0)+(S.y||0),W==="right"?L=1:W==="center"&&(L=2),L&&(q+=((Y.width||0)-(S.width||0))/L),ie[O?"translateX":"x"]=Math.round(q),j==="bottom"?U=1:j==="middle"&&(U=2),U&&(T+=((Y.height||0)-(S.height||0))/U),ie[O?"translateY":"y"]=Math.round(T),H&&(this[this.placed?"animate":"attr"](ie),this.placed=!0),this.alignAttr=ie,this}alignSetter(S){let O={left:"start",center:"middle",right:"end"};O[S]&&(this.alignValue=S,this.element.setAttribute("text-anchor",O[S]))}animate(S,O,M){let H=c(g(O,this.renderer.globalAnimation,!0)),q=H.defer;return m.hidden&&(H.duration=0),H.duration!==0?(M&&(H.complete=M),G(()=>{this.element&&l(this,S,H)},q)):(this.attr(S,void 0,M||H.complete),p(S,function(T,L){H.step&&H.step.call(this,T,{prop:L,pos:1,elem:this})},this)),this}applyTextOutline(S){let O=this.element;S.indexOf("contrast")!==-1&&(S=S.replace(/contrast/g,this.renderer.getContrast(O.style.fill)));let M=S.split(" "),H=M[M.length-1],q=M[0];if(q&&q!=="none"&&s.svg){this.fakeTS=!0,q=q.replace(/(^[\d\.]+)(.*?)$/g,function(N,K,b){return 2*Number(K)+b}),this.removeTextOutline();let T=m.createElementNS(h,"tspan");_(T,{class:"highcharts-text-outline",fill:H,stroke:H,"stroke-width":q,"stroke-linejoin":"round"});let L=O.querySelector("textPath")||O;[].forEach.call(L.childNodes,N=>{let K=N.cloneNode(!0);K.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(b=>K.removeAttribute(b)),T.appendChild(K)});let U=0;[].forEach.call(L.querySelectorAll("text tspan"),N=>{U+=Number(N.getAttribute("dy"))});let ie=m.createElementNS(h,"tspan");ie.textContent="​",_(ie,{x:Number(O.getAttribute("x")),dy:-U}),T.appendChild(ie),L.insertBefore(T,L.firstChild)}}attr(S,O,M,H){let{element:q}=this,T=X.symbolCustomAttribs,L,U,ie=this,N;return typeof S=="string"&&O!==void 0&&(L=S,(S={})[L]=O),typeof S=="string"?ie=(this[S+"Getter"]||this._defaultGetter).call(this,S,q):(p(S,function(K,b){N=!1,H||u(this,b),this.symbolName&&T.indexOf(b)!==-1&&(U||(this.symbolAttr(S),U=!0),N=!0),this.rotation&&(b==="x"||b==="y")&&(this.doTransform=!0),N||(this[b+"Setter"]||this._defaultSetter).call(this,K,b,q)},this),this.afterSetters()),M&&M.call(this),ie}clip(S){if(S&&!S.clipPath){let O=V()+"-",M=this.renderer.createElement("clipPath").attr({id:O}).add(this.renderer.defs);B(S,{clipPath:M,id:O,count:0}),S.add(M)}return this.attr("clip-path",S?`url(${this.renderer.url}#${S.id})`:"none")}crisp(S,O){O=Math.round(O||S.strokeWidth||0);let M=S.x||this.x||0,H=S.y||this.y||0,q=(S.width||this.width||0)+M,T=(S.height||this.height||0)+H,L=x(M,O),U=x(H,O);return B(S,{x:L,y:U,width:x(q,O)-L,height:x(T,O)-U}),E(S.strokeWidth)&&(S.strokeWidth=O),S}complexColor(S,O,M){let H=this.renderer,q,T,L,U,ie,N,K,b,z,Y,W=[],j;Q(this.renderer,"complexColor",{args:arguments},function(){if(S.radialGradient?T="radialGradient":S.linearGradient&&(T="linearGradient"),T){if(L=S[T],ie=H.gradients,N=S.stops,z=M.radialReference,I(L)&&(S[T]=L={x1:L[0],y1:L[1],x2:L[2],y2:L[3],gradientUnits:"userSpaceOnUse"}),T==="radialGradient"&&z&&!E(L.gradientUnits)&&(U=L,L=C(L,H.getRadialAttr(z,U),{gradientUnits:"userSpaceOnUse"})),p(L,function(ne,se){se!=="id"&&W.push(se,ne)}),p(N,function(ne){W.push(ne)}),ie[W=W.join(",")])Y=ie[W].attr("id");else{L.id=Y=V();let ne=ie[W]=H.createElement(T).attr(L).add(H.defs);ne.radAttr=U,ne.stops=[],N.forEach(function(se){se[1].indexOf("rgba")===0?(K=(q=a.parse(se[1])).get("rgb"),b=q.get("a")):(K=se[1],b=1);let ce=H.createElement("stop").attr({offset:se[0],"stop-color":K,"stop-opacity":b}).add(ne);ne.stops.push(ce)})}j="url("+H.url+"#"+Y+")",M.setAttribute(O,j),M.gradient=W,S.toString=function(){return j}}})}css(S){let O=this.styles,M={},H=this.element,q,T=!O;if(O&&p(S,function(L,U){O&&O[U]!==L&&(M[U]=L,T=!0)}),T){O&&(S=B(O,M)),S.width===null||S.width==="auto"?delete this.textWidth:H.nodeName.toLowerCase()==="text"&&S.width&&(q=this.textWidth=D(S.width)),B(this.styles,S),q&&!v&&this.renderer.forExport&&delete S.width;let L=C(S);H.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(U=>L&&delete L[U]),L.color&&(L.fill=L.color)),A(H,L)}return this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),S.textOutline&&this.applyTextOutline(S.textOutline)),this}dashstyleSetter(S){let O,M=this["stroke-width"];if(M==="inherit"&&(M=1),S=S&&S.toLowerCase()){let H=S.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(O=H.length;O--;)H[O]=""+D(H[O])*g(M,NaN);S=H.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",S)}}destroy(){var U;let S=this,O=S.element||{},M=S.renderer,H=O.ownerSVGElement,q=O.nodeName==="SPAN"&&S.parentGroup||void 0,T,L;if(O.onclick=O.onmouseout=O.onmouseover=O.onmousemove=O.point=null,u(S),S.clipPath&&H){let ie=S.clipPath;[].forEach.call(H.querySelectorAll("[clip-path],[CLIP-PATH]"),function(N){N.getAttribute("clip-path").indexOf(ie.element.id)>-1&&N.removeAttribute("clip-path")}),S.clipPath=ie.destroy()}if(S.connector=(U=S.connector)==null?void 0:U.destroy(),S.stops){for(L=0;L<S.stops.length;L++)S.stops[L].destroy();S.stops.length=0,S.stops=void 0}for(S.safeRemoveChild(O);q&&q.div&&q.div.childNodes.length===0;)T=q.parentGroup,S.safeRemoveChild(q.div),delete q.div,q=T;S.alignOptions&&$(M.alignedObjects,S),p(S,function(ie,N){S[N]&&S[N].parentGroup===S&&S[N].destroy&&S[N].destroy(),delete S[N]})}dSetter(S,O,M){I(S)&&(typeof S[0]=="string"&&(S=this.renderer.pathToSegments(S)),this.pathArray=S,S=S.reduce((H,q,T)=>q&&q.join?(T?H+" ":"")+q.join(" "):(q||"").toString(),"")),/(NaN| {2}|^$)/.test(S)&&(S="M 0 0"),this[O]!==S&&(M.setAttribute(O,S),this[O]=S)}fillSetter(S,O,M){typeof S=="string"?M.setAttribute(O,S):S&&this.complexColor(S,O,M)}hrefSetter(S,O,M){M.setAttributeNS("http://www.w3.org/1999/xlink",O,S)}getBBox(S,O){let M,H,q,T,{alignValue:L,element:U,renderer:ie,styles:N,textStr:K}=this,{cache:b,cacheKeys:z}=ie,Y=U.namespaceURI===this.SVG_NS,W=g(O,this.rotation,0),j=ie.styledMode?U&&X.prototype.getStyle.call(U,"font-size"):N.fontSize;if(E(K)&&((T=K.toString()).indexOf("<")===-1&&(T=T.replace(/\d/g,"0")),T+=["",ie.rootFontSize,j,W,this.textWidth,L,N.textOverflow,N.fontWeight].join(",")),T&&!S&&(M=b[T]),!M||M.polygon){if(Y||ie.forExport){try{q=this.fakeTS&&function(se){let ce=U.querySelector(".highcharts-text-outline");ce&&A(ce,{display:se})},F(q)&&q("none"),M=U.getBBox?B({},U.getBBox()):{width:U.offsetWidth,height:U.offsetHeight,x:0,y:0},F(q)&&q("")}catch{}(!M||M.width<0)&&(M={x:0,y:0,width:0,height:0})}else M=this.htmlGetBBox();H=M.height,Y&&(M.height=H={"11px,17":14,"13px,20":16}[`${j||""},${Math.round(H)}`]||H),W&&(M=this.getRotatedBox(M,W));let ne={bBox:M};Q(this,"afterGetBBox",ne),M=ne.bBox}if(T&&(K===""||M.height>0)){for(;z.length>250;)delete b[z.shift()];b[T]||z.push(T),b[T]=M}return M}getRotatedBox(S,O){let{x:M,y:H,width:q,height:T}=S,{alignValue:L,translateY:U,rotationOriginX:ie=0,rotationOriginY:N=0}=this,K={right:1,center:.5}[L||0]||0,b=Number(this.element.getAttribute("y")||0)-(U?0:H),z=O*d,Y=(O-90)*d,W=Math.cos(z),j=Math.sin(z),ne=q*W,se=q*j,ce=Math.cos(Y),oe=Math.sin(Y),[[re,te],[ae,le]]=[ie,N].map(Ye=>[Ye-Ye*W,Ye*j]),fe=M+K*(q-ne)+re+le+b*ce,me=fe+ne,ge=me-T*ce,_e=ge-ne,Ce=H+b-K*se-te+ae+b*oe,xe=Ce+se,Se=xe-T*oe,Pe=Se-se,Le=Math.min(fe,me,ge,_e),Te=Math.min(Ce,xe,Se,Pe),Me=Math.max(fe,me,ge,_e)-Le,$e=Math.max(Ce,xe,Se,Pe)-Te;return{x:Le,y:Te,width:Me,height:$e,polygon:[[fe,Ce],[me,xe],[ge,Se],[_e,Pe]]}}getStyle(S){return f.getComputedStyle(this.element||this,"").getPropertyValue(S)}hasClass(S){return(""+this.attr("class")).split(" ").indexOf(S)!==-1}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(S,O){this.onEvents={},this.opacity=1,this.SVG_NS=h,this.element=O==="span"||O==="body"?y(O):m.createElementNS(this.SVG_NS,O),this.renderer=S,this.styles={},Q(this,"afterInit")}on(S,O){let{onEvents:M}=this;return M[S]&&M[S](),M[S]=w(this.element,S,O),this}opacitySetter(S,O,M){let H=Number(Number(S).toFixed(3));this.opacity=H,M.setAttribute(O,H)}reAlign(){var S;(S=this.alignOptions)!=null&&S.width&&this.alignOptions.align!=="left"&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(S){return this.attr("class",(""+this.attr("class")).replace(P(S)?RegExp(`(^| )${S}( |$)`):S," ").replace(/ +/g," ").trim())}removeTextOutline(){let S=this.element.querySelector("tspan.highcharts-text-outline");S&&this.safeRemoveChild(S)}safeRemoveChild(S){let O=S.parentNode;O&&O.removeChild(S)}setRadialReference(S){let O=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=S,O&&O.radAttr&&O.animate(this.renderer.getRadialAttr(S,O.radAttr)),this}shadow(S){var q;let{renderer:O}=this,M=C(((q=this.parentGroup)==null?void 0:q.rotation)===90?{offsetX:-1,offsetY:-1}:{},k(S)?S:{}),H=O.shadowDefinition(M);return this.attr({filter:S?`url(${O.url}#${H})`:"none"})}show(S=!0){return this.attr({visibility:S?"inherit":"visible"})}"stroke-widthSetter"(S,O,M){this[O]=S,M.setAttribute(O,S)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let S=this.getStyle("stroke-width"),O=0,M;return/px$/.test(S)?O=D(S):S!==""&&(_(M=m.createElementNS(h,"rect"),{width:S,"stroke-width":0}),this.element.parentNode.appendChild(M),O=M.getBBox().width,M.parentNode.removeChild(M)),O}symbolAttr(S){let O=this;X.symbolCustomAttribs.forEach(function(M){O[M]=g(S[M],O[M])}),O.attr({d:O.renderer.symbols[O.symbolName](O.x,O.y,O.width,O.height,O)})}textSetter(S){S!==this.textStr&&(delete this.textPxLength,this.textStr=S,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(S){let O=this.element,M=O.getElementsByTagName("title")[0]||m.createElementNS(this.SVG_NS,"title");O.insertBefore?O.insertBefore(M,O.firstChild):O.appendChild(M),M.textContent=Z(g(S,""),[/<[^>]*>/g,""]).replace(/&lt;/g,"<").replace(/&gt;/g,">")}toFront(){let S=this.element;return S.parentNode.appendChild(S),this}translate(S,O){return this.attr({translateX:S,translateY:O})}updateTransform(S="transform"){var b;let{element:O,matrix:M,rotation:H=0,rotationOriginX:q,rotationOriginY:T,scaleX:L,scaleY:U,translateX:ie=0,translateY:N=0}=this,K=["translate("+ie+","+N+")"];E(M)&&K.push("matrix("+M.join(",")+")"),H&&(K.push("rotate("+H+" "+g(q,O.getAttribute("x"),0)+" "+g(T,O.getAttribute("y")||0)+")"),((b=this.text)==null?void 0:b.element.tagName)==="SPAN"&&this.text.attr({rotation:H,rotationOriginX:(q||0)-this.padding,rotationOriginY:(T||0)-this.padding})),(E(L)||E(U))&&K.push("scale("+g(L,1)+" "+g(U,1)+")"),K.length&&!(this.text||this).textPath&&O.setAttribute(S,K.join(" "))}visibilitySetter(S,O,M){S==="inherit"?M.removeAttribute(O):this[O]!==S&&M.setAttribute(O,S),this[O]=S}xGetter(S){return this.element.nodeName==="circle"&&(S==="x"?S="cx":S==="y"&&(S="cy")),this._defaultGetter(S)}zIndexSetter(S,O){let M=this.renderer,H=this.parentGroup,q=(H||M).element||M.box,T=this.element,L=q===M.box,U,ie,N,K=!1,b,z=this.added,Y;if(E(S)?(T.setAttribute("data-z-index",S),S=+S,this[O]===S&&(z=!1)):E(this[O])&&T.removeAttribute("data-z-index"),this[O]=S,z){for((S=this.zIndex)&&H&&(H.handleZ=!0),Y=(U=q.childNodes).length-1;Y>=0&&!K;Y--)b=!E(N=(ie=U[Y]).getAttribute("data-z-index")),ie!==T&&(S<0&&b&&!L&&!Y?(q.insertBefore(T,U[Y]),K=!0):(D(N)<=S||b&&(!E(S)||S>=0))&&(q.insertBefore(T,U[Y+1]),K=!0));K||(q.insertBefore(T,U[L?3:0]),K=!0)}return K}}return X.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],X.prototype.strokeSetter=X.prototype.fillSetter,X.prototype.yGetter=X.prototype.xGetter,X.prototype.matrixSetter=X.prototype.rotationOriginXSetter=X.prototype.rotationOriginYSetter=X.prototype.rotationSetter=X.prototype.scaleXSetter=X.prototype.scaleYSetter=X.prototype.translateXSetter=X.prototype.translateYSetter=X.prototype.verticalAlignSetter=function(ee,S){this[S]=ee,this.doTransform=!0},X}),i(n,"Core/Renderer/SVG/SVGLabel.js",[n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(r,a){let{defined:s,extend:o,isNumber:l,merge:c,pick:u,removeEvent:d}=a;class m extends r{constructor(h,f,w,_,y,x,A,E,$,B){let Q;super(h,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=f,this.x=w,this.y=_,this.anchorX=x,this.anchorY=A,this.baseline=$,this.className=B,this.addClass(B==="button"?"highcharts-no-tooltip":"highcharts-label"),B&&this.addClass("highcharts-"+B),this.text=h.text(void 0,0,0,E).attr({zIndex:1}),typeof y=="string"&&((Q=/^url\((.*?)\)$/.test(y))||this.renderer.symbols[y])&&(this.symbolKey=y),this.bBox=m.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=h.styledMode||Q,this.deferredAttr={},this.alignFactor=0}alignSetter(h){let f={left:0,center:.5,right:1}[h];f!==this.alignFactor&&(this.alignFactor=f,this.bBox&&l(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(h,f){this.anchorX=h,this.boxAttr(f,Math.round(h)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(h,f){this.anchorY=h,this.boxAttr(f,h-this.ySetting)}boxAttr(h,f){this.box?this.box.attr(h,f):this.deferredAttr[h]=f}css(h){if(h){let f={};h=c(h),m.textProps.forEach(w=>{h[w]!==void 0&&(f[w]=h[w],delete h[w])}),this.text.css(f),"fontSize"in f||"fontWeight"in f?this.updateTextPadding():("width"in f||"textOverflow"in f)&&this.updateBoxSize()}return r.prototype.css.call(this,h)}destroy(){d(this.element,"mouseenter"),d(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),r.prototype.destroy.call(this)}fillSetter(h,f){h&&(this.needsBox=!0),this.fill=h,this.boxAttr(f,h)}getBBox(h,f){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();let{padding:w,height:_=0,translateX:y=0,translateY:x=0,width:A=0}=this,E=u(this.paddingLeft,w),$=f??(this.rotation||0),B={width:A,height:_,x:y+this.bBox.x-E,y:x+this.bBox.y-w+this.baselineOffset};return $&&(B=this.getRotatedBox(B,$)),B}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(h){this.heightSetting=h,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:u(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&s(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(h,f){l(h)?h!==this[f]&&(this[f]=h,this.updateTextPadding()):this[f]=void 0}rSetter(h,f){this.boxAttr(f,h)}strokeSetter(h,f){this.stroke=h,this.boxAttr(f,h)}"stroke-widthSetter"(h,f){h&&(this.needsBox=!0),this["stroke-width"]=h,this.boxAttr(f,h)}"text-alignSetter"(h){this.textAlign=h}textSetter(h){h!==void 0&&this.text.attr({text:h}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let h,f=this.text,w={},_=this.padding,y=this.bBox=(!l(this.widthSetting)||!l(this.heightSetting)||this.textAlign)&&s(f.textStr)?f.getBBox(void 0,0):m.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||y.height||0)+2*_;let x=this.renderer.fontMetrics(f);if(this.baselineOffset=_+Math.min((this.text.firstLineMetrics||x).b,y.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-x.h)/2),this.needsBox&&!f.textPath){if(!this.box){let A=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();A.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),A.add(this)}h=this.getCrispAdjust(),w.x=h,w.y=(this.baseline?-this.baselineOffset:0)+h,w.width=Math.round(this.width),w.height=Math.round(this.height),this.box.attr(o(w,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let h=this.text;if(!h.textPath){this.updateBoxSize();let f=this.baseline?0:this.baselineOffset,w=u(this.paddingLeft,this.padding);s(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(w+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(w!==h.x||f!==h.y)&&(h.attr("x",w),h.hasBoxWidthChanged&&(this.bBox=h.getBBox(!0)),f!==void 0&&h.attr("y",f)),h.x=w,h.y=f}}widthSetter(h){this.widthSetting=l(h)?h:void 0,this.doUpdate=!0}getPaddedWidth(){let h=this.padding,f=u(this.paddingLeft,h),w=u(this.paddingRight,h);return(this.widthSetting||this.bBox.width||0)+f+w}xSetter(h){this.x=h,this.alignFactor&&(h-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(h),this.attr("translateX",this.xSetting)}ySetter(h){this.ySetting=this.y=Math.round(h),this.attr("translateY",this.ySetting)}}return m.emptyBBox={width:0,height:0,x:0,y:0},m.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],m}),i(n,"Core/Renderer/SVG/Symbols.js",[n["Core/Utilities.js"]],function(r){let{defined:a,isNumber:s,pick:o}=r;function l(d,m,v,h,f){let w=[];if(f){let _=f.start||0,y=o(f.r,v),x=o(f.r,h||v),A=2e-4/(f.borderRadius?1:Math.max(y,1)),E=Math.abs((f.end||0)-_-2*Math.PI)<A,$=(f.end||0)-(E?A:0),B=f.innerR,Q=o(f.open,E),I=Math.cos(_),F=Math.sin(_),k=Math.cos($),P=Math.sin($),C=o(f.longArc,$-_-Math.PI<A?0:1),p=["A",y,x,0,C,o(f.clockwise,1),d+y*k,m+x*P];p.params={start:_,end:$,cx:d,cy:m},w.push(["M",d+y*I,m+x*F],p),a(B)&&((p=["A",B,B,0,C,a(f.clockwise)?1-f.clockwise:0,d+B*I,m+B*F]).params={start:$,end:_,cx:d,cy:m},w.push(Q?["M",d+B*k,m+B*P]:["L",d+B*k,m+B*P],p)),Q||w.push(["Z"])}return w}function c(d,m,v,h,f){return f&&f.r?u(d,m,v,h,f):[["M",d,m],["L",d+v,m],["L",d+v,m+h],["L",d,m+h],["Z"]]}function u(d,m,v,h,f){let w=(f==null?void 0:f.r)||0;return[["M",d+w,m],["L",d+v-w,m],["A",w,w,0,0,1,d+v,m+w],["L",d+v,m+h-w],["A",w,w,0,0,1,d+v-w,m+h],["L",d+w,m+h],["A",w,w,0,0,1,d,m+h-w],["L",d,m+w],["A",w,w,0,0,1,d+w,m],["Z"]]}return{arc:l,callout:function(d,m,v,h,f){let w=Math.min(f&&f.r||0,v,h),_=w+6,y=f&&f.anchorX,x=f&&f.anchorY||0,A=u(d,m,v,h,{r:w});if(!s(y)||y<v&&y>0&&x<h&&x>0)return A;if(d+y>v-_)if(x>m+_&&x<m+h-_)A.splice(3,1,["L",d+v,x-6],["L",d+v+6,x],["L",d+v,x+6],["L",d+v,m+h-w]);else if(y<v){let E=x<m+_,$=E?m:m+h;A.splice(E?2:5,0,["L",y,x],["L",d+v-w,$])}else A.splice(3,1,["L",d+v,h/2],["L",y,x],["L",d+v,h/2],["L",d+v,m+h-w]);else if(d+y<_)if(x>m+_&&x<m+h-_)A.splice(7,1,["L",d,x+6],["L",d-6,x],["L",d,x-6],["L",d,m+w]);else if(y>0){let E=x<m+_,$=E?m:m+h;A.splice(E?1:6,0,["L",y,x],["L",d+w,$])}else A.splice(7,1,["L",d,h/2],["L",y,x],["L",d,h/2],["L",d,m+w]);else x>h&&y<v-_?A.splice(5,1,["L",y+6,m+h],["L",y,m+h+6],["L",y-6,m+h],["L",d+w,m+h]):x<0&&y>_&&A.splice(1,1,["L",y-6,m],["L",y,m-6],["L",y+6,m],["L",v-w,m]);return A},circle:function(d,m,v,h){return l(d+v/2,m+h/2,v/2,h/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(d,m,v,h){return[["M",d+v/2,m],["L",d+v,m+h/2],["L",d+v/2,m+h],["L",d,m+h/2],["Z"]]},rect:c,roundedRect:u,square:c,triangle:function(d,m,v,h){return[["M",d+v/2,m],["L",d+v,m+h],["L",d,m+h],["Z"]]},"triangle-down":function(d,m,v,h){return[["M",d,m],["L",d+v,m],["L",d+v/2,m+h],["Z"]]}}}),i(n,"Core/Renderer/SVG/TextBuilder.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a,s){let{doc:o,SVG_NS:l,win:c}=a,{attr:u,extend:d,fireEvent:m,isString:v,objectEach:h,pick:f}=s;return class{constructor(w){let _=w.styles;this.renderer=w.renderer,this.svgElement=w,this.width=w.textWidth,this.textLineHeight=_&&_.lineHeight,this.textOutline=_&&_.textOutline,this.ellipsis=!!(_&&_.textOverflow==="ellipsis"),this.noWrap=!!(_&&_.whiteSpace==="nowrap")}buildSVG(){let w=this.svgElement,_=w.element,y=w.renderer,x=f(w.textStr,"").toString(),A=x.indexOf("<")!==-1,E=_.childNodes,$=!w.added&&y.box,B=[x,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,w.getStyle("font-size"),this.width].join(",");if(B!==w.textCache){w.textCache=B,delete w.actualWidth;for(let Q=E.length;Q--;)_.removeChild(E[Q]);if(A||this.ellipsis||this.width||w.textPath||x.indexOf(" ")!==-1&&(!this.noWrap||/<br.*?>/g.test(x))){if(x!==""){$&&$.appendChild(_);let Q=new r(x);this.modifyTree(Q.nodes),Q.addToDOM(_),this.modifyDOM(),this.ellipsis&&(_.textContent||"").indexOf("…")!==-1&&w.attr("title",this.unescapeEntities(w.textStr||"",["&lt;","&gt;"])),$&&$.removeChild(_)}}else _.appendChild(o.createTextNode(this.unescapeEntities(x)));v(this.textOutline)&&w.applyTextOutline&&w.applyTextOutline(this.textOutline)}}modifyDOM(){let w,_=this.svgElement,y=u(_.element,"x");for(_.firstLineMetrics=void 0;(w=_.element.firstChild)&&/^[\s\u200B]*$/.test(w.textContent||" ");)_.element.removeChild(w);[].forEach.call(_.element.querySelectorAll("tspan.highcharts-br"),($,B)=>{$.nextSibling&&$.previousSibling&&(B===0&&$.previousSibling.nodeType===1&&(_.firstLineMetrics=_.renderer.fontMetrics($.previousSibling)),u($,{dy:this.getLineHeight($.nextSibling),x:y}))});let x=this.width||0;if(!x)return;let A=($,B)=>{let Q=$.textContent||"",I=Q.replace(/([^\^])-/g,"$1- ").split(" "),F=!this.noWrap&&(I.length>1||_.element.childNodes.length>1),k=this.getLineHeight(B),P=0,C=_.actualWidth;if(this.ellipsis)Q&&this.truncate($,Q,void 0,0,Math.max(0,x-.8*k),(p,g)=>p.substring(0,g)+"…");else if(F){let p=[],g=[];for(;B.firstChild&&B.firstChild!==$;)g.push(B.firstChild),B.removeChild(B.firstChild);for(;I.length;)I.length&&!this.noWrap&&P>0&&(p.push($.textContent||""),$.textContent=I.join(" ").replace(/- /g,"-")),this.truncate($,void 0,I,P===0&&C||0,x,(D,R)=>I.slice(0,R).join(" ").replace(/- /g,"-")),C=_.actualWidth,P++;g.forEach(D=>{B.insertBefore(D,$)}),p.forEach(D=>{B.insertBefore(o.createTextNode(D),$);let R=o.createElementNS(l,"tspan");R.textContent="​",u(R,{dy:k,x:y}),B.insertBefore(R,$)})}},E=$=>{[].slice.call($.childNodes).forEach(B=>{B.nodeType===c.Node.TEXT_NODE?A(B,$):(B.className.baseVal.indexOf("highcharts-br")!==-1&&(_.actualWidth=0),E(B))})};E(_.element)}getLineHeight(w){let _=w.nodeType===c.Node.TEXT_NODE?w.parentElement:w;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(_||this.svgElement.element).h}modifyTree(w){let _=(y,x)=>{let{attributes:A={},children:E,style:$={},tagName:B}=y,Q=this.renderer.styledMode;if(B==="b"||B==="strong"?Q?A.class="highcharts-strong":$.fontWeight="bold":(B==="i"||B==="em")&&(Q?A.class="highcharts-emphasized":$.fontStyle="italic"),$&&$.color&&($.fill=$.color),B==="br"){A.class="highcharts-br",y.textContent="​";let I=w[x+1];I&&I.textContent&&(I.textContent=I.textContent.replace(/^ +/gm,""))}else B==="a"&&E&&E.some(I=>I.tagName==="#text")&&(y.children=[{children:E,tagName:"tspan"}]);B!=="#text"&&B!=="a"&&(y.tagName="tspan"),d(y,{attributes:A,style:$}),E&&E.filter(I=>I.tagName!=="#text").forEach(_)};w.forEach(_),m(this.svgElement,"afterModifyTree",{nodes:w})}truncate(w,_,y,x,A,E){let $,B,Q=this.svgElement,{rotation:I}=Q,F=[],k=y?1:0,P=(_||y||"").length,C=P,p=function(g,D){let R=D||g,Z=w.parentNode;if(Z&&F[R]===void 0&&Z.getSubStringLength)try{F[R]=x+Z.getSubStringLength(0,y?R+1:R)}catch{}return F[R]};if(Q.rotation=0,x+(B=p(w.textContent.length))>A){for(;k<=P;)C=Math.ceil((k+P)/2),y&&($=E(y,C)),B=p(C,$&&$.length-1),k===P?k=P+1:B>A?P=C-1:k=C;P===0?w.textContent="":_&&P===_.length-1||(w.textContent=$||E(_||y,C))}y&&y.splice(0,C),Q.actualWidth=B,Q.rotation=I}unescapeEntities(w,_){return h(this.renderer.escapes,function(y,x){_&&_.indexOf(y)!==-1||(w=w.toString().replace(RegExp(y,"g"),x))}),w}}}),i(n,"Core/Renderer/SVG/SVGRenderer.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Defaults.js"],n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGLabel.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Renderer/SVG/TextBuilder.js"],n["Core/Utilities.js"]],function(r,a,s,o,l,c,u,d,m,v){let h,{defaultOptions:f}=a,{charts:w,deg2rad:_,doc:y,isFirefox:x,isMS:A,isWebKit:E,noop:$,SVG_NS:B,symbolSizes:Q,win:I}=o,{addEvent:F,attr:k,createElement:P,crisp:C,css:p,defined:g,destroyObjectProperties:D,extend:R,isArray:Z,isNumber:G,isObject:V,isString:X,merge:ee,pick:S,pInt:O,replaceNested:M,uniqueKey:H}=v;class q{constructor(L,U,ie,N,K,b,z){let Y,W,j=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),ne=j.element;z||j.css(this.getStyle(N||{})),L.appendChild(ne),k(L,"dir","ltr"),L.innerHTML.indexOf("xmlns")===-1&&k(ne,"xmlns",this.SVG_NS),this.box=ne,this.boxWrapper=j,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(y.createTextNode("Created with Highcharts 11.4.8")),this.defs=this.createElement("defs").add(),this.allowHTML=b,this.forExport=K,this.styledMode=z,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=j.getStyle("font-size"),this.setSize(U,ie,!1),x&&L.getBoundingClientRect&&((Y=function(){p(L,{left:0,top:0}),W=L.getBoundingClientRect(),p(L,{left:Math.ceil(W.left)-W.left+"px",top:Math.ceil(W.top)-W.top+"px"})})(),this.unSubPixelFix=F(I,"resize",Y))}definition(L){return new r([L]).addToDOM(this.defs.element)}getReferenceURL(){if((x||E)&&y.getElementsByTagName("base").length){if(!g(h)){let L=H(),U=new r([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:L},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${L})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(y.body);p(U,{position:"fixed",top:0,left:0,zIndex:9e5});let ie=y.elementFromPoint(6,6);h=(ie&&ie.id)==="hitme",y.body.removeChild(U)}if(h)return M(I.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(L){return this.style=R({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},L),this.style}setStyle(L){this.boxWrapper.css(this.getStyle(L))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let L=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),D(this.gradients||{}),this.gradients=null,this.defs=L.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(L){return new this.Element(this,L)}getRadialAttr(L,U){return{cx:L[0]-L[2]/2+(U.cx||0)*L[2],cy:L[1]-L[2]/2+(U.cy||0)*L[2],r:(U.r||0)*L[2]}}shadowDefinition(L){let U=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(L).map(N=>`${N}-${L[N]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),ie=ee({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},L);return this.defs.element.querySelector(`#${U}`)||this.definition({tagName:"filter",attributes:{id:U,filterUnits:ie.filterUnits},children:this.getShadowFilterContent(ie)}),U}getShadowFilterContent(L){return[{tagName:"feDropShadow",attributes:{dx:L.offsetX,dy:L.offsetY,"flood-color":L.color,"flood-opacity":Math.min(5*L.opacity,1),stdDeviation:L.width/2}}]}buildText(L){new m(L).buildSVG()}getContrast(L){let U=s.parse(L).rgba.map(N=>{let K=N/255;return K<=.03928?K/12.92:Math.pow((K+.055)/1.055,2.4)}),ie=.2126*U[0]+.7152*U[1]+.0722*U[2];return 1.05/(ie+.05)>(ie+.05)/.05?"#FFFFFF":"#000000"}button(L,U,ie,N,K={},b,z,Y,W,j){let ne=this.label(L,U,ie,W,void 0,void 0,j,void 0,"button"),se=this.styledMode,ce=arguments,oe=0;K=ee(f.global.buttonTheme,K),se&&(delete K.fill,delete K.stroke,delete K["stroke-width"]);let re=K.states||{},te=K.style||{};delete K.states,delete K.style;let ae=[r.filterUserAttributes(K)],le=[te];return se||["hover","select","disabled"].forEach((fe,me)=>{ae.push(ee(ae[0],r.filterUserAttributes(ce[me+5]||re[fe]||{}))),le.push(ae[me+1].style),delete ae[me+1].style}),F(ne.element,A?"mouseover":"mouseenter",function(){oe!==3&&ne.setState(1)}),F(ne.element,A?"mouseout":"mouseleave",function(){oe!==3&&ne.setState(oe)}),ne.setState=(fe=0)=>{if(fe!==1&&(ne.state=oe=fe),ne.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][fe]),!se){ne.attr(ae[fe]);let me=le[fe];V(me)&&ne.css(me)}},ne.attr(ae[0]),!se&&(ne.css(R({cursor:"default"},te)),j&&ne.text.css({pointerEvents:"none"})),ne.on("touchstart",fe=>fe.stopPropagation()).on("click",function(fe){oe!==3&&N.call(ne,fe)})}crispLine(L,U){let[ie,N]=L;return g(ie[1])&&ie[1]===N[1]&&(ie[1]=N[1]=C(ie[1],U)),g(ie[2])&&ie[2]===N[2]&&(ie[2]=N[2]=C(ie[2],U)),L}path(L){let U=this.styledMode?{}:{fill:"none"};return Z(L)?U.d=L:V(L)&&R(U,L),this.createElement("path").attr(U)}circle(L,U,ie){let N=V(L)?L:L===void 0?{}:{x:L,y:U,r:ie},K=this.createElement("circle");return K.xSetter=K.ySetter=function(b,z,Y){Y.setAttribute("c"+z,b)},K.attr(N)}arc(L,U,ie,N,K,b){let z;V(L)?(U=(z=L).y,ie=z.r,N=z.innerR,K=z.start,b=z.end,L=z.x):z={innerR:N,start:K,end:b};let Y=this.symbol("arc",L,U,ie,ie,z);return Y.r=ie,Y}rect(L,U,ie,N,K,b){let z=V(L)?L:L===void 0?{}:{x:L,y:U,r:K,width:Math.max(ie||0,0),height:Math.max(N||0,0)},Y=this.createElement("rect");return this.styledMode||(b!==void 0&&(z["stroke-width"]=b,R(z,Y.crisp(z))),z.fill="none"),Y.rSetter=function(W,j,ne){Y.r=W,k(ne,{rx:W,ry:W})},Y.rGetter=function(){return Y.r||0},Y.attr(z)}roundedRect(L){return this.symbol("roundedRect").attr(L)}setSize(L,U,ie){this.width=L,this.height=U,this.boxWrapper.animate({width:L,height:U},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:S(ie,!0)?void 0:0}),this.alignElements()}g(L){let U=this.createElement("g");return L?U.attr({class:"highcharts-"+L}):U}image(L,U,ie,N,K,b){let z={preserveAspectRatio:"none"};G(U)&&(z.x=U),G(ie)&&(z.y=ie),G(N)&&(z.width=N),G(K)&&(z.height=K);let Y=this.createElement("image").attr(z),W=function(j){Y.attr({href:L}),b.call(Y,j)};if(b){Y.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let j=new I.Image;F(j,"load",W),j.src=L,j.complete&&W({})}else Y.attr({href:L});return Y}symbol(L,U,ie,N,K,b){let z,Y,W,j,ne=this,se=/^url\((.*?)\)$/,ce=se.test(L),oe=!ce&&(this.symbols[L]?L:"circle"),re=oe&&this.symbols[oe];if(re)typeof U=="number"&&(Y=re.call(this.symbols,U||0,ie||0,N||0,K||0,b)),z=this.path(Y),ne.styledMode||z.attr("fill","none"),R(z,{symbolName:oe||void 0,x:U,y:ie,width:N,height:K}),b&&R(z,b);else if(ce){W=L.match(se)[1];let te=z=this.image(W);te.imgwidth=S(b&&b.width,Q[W]&&Q[W].width),te.imgheight=S(b&&b.height,Q[W]&&Q[W].height),j=ae=>ae.attr({width:ae.width,height:ae.height}),["width","height"].forEach(ae=>{te[`${ae}Setter`]=function(le,fe){this[fe]=le;let{alignByTranslate:me,element:ge,width:_e,height:Ce,imgwidth:xe,imgheight:Se}=this,Pe=fe==="width"?xe:Se,Le=1;b&&b.backgroundSize==="within"&&_e&&Ce&&xe&&Se?(Le=Math.min(_e/xe,Ce/Se),k(ge,{width:Math.round(xe*Le),height:Math.round(Se*Le)})):ge&&Pe&&ge.setAttribute(fe,Pe),!me&&xe&&Se&&this.translate(((_e||0)-xe*Le)/2,((Ce||0)-Se*Le)/2)}}),g(U)&&te.attr({x:U,y:ie}),te.isImg=!0,te.symbolUrl=L,g(te.imgwidth)&&g(te.imgheight)?j(te):(te.attr({width:0,height:0}),P("img",{onload:function(){let ae=w[ne.chartIndex];this.width===0&&(p(this,{position:"absolute",top:"-999em"}),y.body.appendChild(this)),Q[W]={width:this.width,height:this.height},te.imgwidth=this.width,te.imgheight=this.height,te.element&&j(te),this.parentNode&&this.parentNode.removeChild(this),ne.imgCount--,ne.imgCount||!ae||ae.hasLoaded||ae.onload()},src:W}),this.imgCount++)}return z}clipRect(L,U,ie,N){return this.rect(L,U,ie,N,0)}text(L,U,ie,N){let K={};if(N&&(this.allowHTML||!this.forExport))return this.html(L,U,ie);K.x=Math.round(U||0),ie&&(K.y=Math.round(ie)),g(L)&&(K.text=L);let b=this.createElement("text").attr(K);return N&&(!this.forExport||this.allowHTML)||(b.xSetter=function(z,Y,W){let j=W.getElementsByTagName("tspan"),ne=W.getAttribute(Y);for(let se=0,ce;se<j.length;se++)(ce=j[se]).getAttribute(Y)===ne&&ce.setAttribute(Y,z);W.setAttribute(Y,z)}),b}fontMetrics(L){let U=O(c.prototype.getStyle.call(L,"font-size")||0),ie=U<24?U+3:Math.round(1.2*U),N=Math.round(.8*ie);return{h:ie,b:N,f:U}}rotCorr(L,U,ie){let N=L;return U&&ie&&(N=Math.max(N*Math.cos(U*_),4)),{x:-L/3*Math.sin(U*_),y:N}}pathToSegments(L){let U=[],ie=[],N={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let K=0;K<L.length;K++)X(ie[0])&&G(L[K])&&ie.length===N[ie[0].toUpperCase()]&&L.splice(K,0,ie[0].replace("M","L").replace("m","l")),typeof L[K]=="string"&&(ie.length&&U.push(ie.slice(0)),ie.length=0),ie.push(L[K]);return U.push(ie.slice(0)),U}label(L,U,ie,N,K,b,z,Y,W){return new u(this,L,U,ie,N,K,b,z,Y,W)}alignElements(){this.alignedObjects.forEach(L=>L.align())}}return R(q.prototype,{Element:c,SVG_NS:B,escapes:{"&":"&amp;","<":"&lt;",">":"&gt;","'":"&#39;",'"':"&quot;"},symbols:d,draw:$}),l.registerRendererType("svg",q,!0),q}),i(n,"Core/Renderer/HTML/HTMLElement.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(r,a,s,o){let{composed:l}=a,{attr:c,css:u,createElement:d,defined:m,extend:v,pInt:h,pushUnique:f}=o;function w(A,E,$){var Q;let B=((Q=this.div)==null?void 0:Q.style)||$.style;s.prototype[`${E}Setter`].call(this,A,E,$),B&&(B[E]=A)}let _=(A,E)=>{var $;if(!A.div){let B=c(A.element,"class"),Q=A.css,I=d("div",B?{className:B}:void 0,{position:"absolute",left:`${A.translateX||0}px`,top:`${A.translateY||0}px`,...A.styles,display:A.display,opacity:A.opacity,visibility:A.visibility},(($=A.parentGroup)==null?void 0:$.div)||E);A.classSetter=(F,k,P)=>{P.setAttribute("class",F),I.className=F},A.translateXSetter=A.translateYSetter=(F,k)=>{A[k]=F,I.style[k==="translateX"?"left":"top"]=`${F}px`,A.doTransform=!0},A.opacitySetter=A.visibilitySetter=w,A.css=F=>(Q.call(A,F),F.cursor&&(I.style.cursor=F.cursor),F.pointerEvents&&(I.style.pointerEvents=F.pointerEvents),A),A.on=function(){return s.prototype.on.apply({element:I,onEvents:A.onEvents},arguments),A},A.div=I}return A.div};class y extends s{static compose(E){f(l,this.compose)&&(E.prototype.html=function($,B,Q){return new y(this,"span").attr({text:$,x:Math.round(B),y:Math.round(Q)})})}constructor(E,$){super(E,$),this.css({position:"absolute",...E.styledMode?{}:{fontFamily:E.style.fontFamily,fontSize:E.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(E,$,B){this.xCorr=-E*B,this.yCorr=-$}css(E){let $,{element:B}=this,Q=B.tagName==="SPAN"&&E&&"width"in E,I=Q&&E.width;return Q&&(delete E.width,this.textWidth=h(I)||void 0,$=!0),(E==null?void 0:E.textOverflow)==="ellipsis"&&(E.whiteSpace="nowrap",E.overflow="hidden"),v(this.styles,E),u(B,E),$&&this.updateTransform(),this}htmlGetBBox(){let{element:E}=this;return{x:E.offsetLeft,y:E.offsetTop,width:E.offsetWidth,height:E.offsetHeight}}updateTransform(){var G;if(!this.added){this.alignOnAdd=!0;return}let{element:E,renderer:$,rotation:B,rotationOriginX:Q,rotationOriginY:I,styles:F,textAlign:k="left",textWidth:P,translateX:C=0,translateY:p=0,x:g=0,y:D=0}=this,R={left:0,center:.5,right:1}[k],Z=F.whiteSpace;if(u(E,{marginLeft:`${C}px`,marginTop:`${p}px`}),E.tagName==="SPAN"){let V=[B,k,E.innerHTML,P,this.textAlign].join(","),X=-(((G=this.parentGroup)==null?void 0:G.padding)*1)||0,ee,S=!1;if(P!==this.oldTextWidth){let T=this.textPxLength?this.textPxLength:(u(E,{width:"",whiteSpace:Z||"nowrap"}),E.offsetWidth),L=P||0;(L>this.oldTextWidth||T>L)&&(/[ \-]/.test(E.textContent||E.innerText)||E.style.textOverflow==="ellipsis")&&(u(E,{width:T>L||B?P+"px":"auto",display:"block",whiteSpace:Z||"normal"}),this.oldTextWidth=P,S=!0)}this.hasBoxWidthChanged=S,V!==this.cTT&&(ee=$.fontMetrics(E).b,m(B)&&(B!==(this.oldRotation||0)||k!==this.oldAlign)&&this.setSpanRotation(B,X,X),this.getSpanCorrection(!m(B)&&this.textPxLength||E.offsetWidth,ee,R));let{xCorr:O=0,yCorr:M=0}=this,H=(Q??g)-O-g-X,q=(I??D)-M-D-X;u(E,{left:`${g+O}px`,top:`${D+M}px`,transformOrigin:`${H}px ${q}px`}),this.cTT=V,this.oldRotation=B,this.oldAlign=k}}setSpanRotation(E,$,B){u(this.element,{transform:`rotate(${E}deg)`,transformOrigin:`${$}% ${B}px`})}add(E){let $,B=this.renderer.box.parentNode,Q=[];if(this.parentGroup=E,E&&!($=E.div)){let I=E;for(;I;)Q.push(I),I=I.parentGroup;for(let F of Q.reverse())$=_(F,B)}return($||B).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(E){E!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,r.setElementHTML(this.element,E??""),this.textStr=E,this.doTransform=!0)}alignSetter(E){this.alignValue=this.textAlign=E,this.doTransform=!0}xSetter(E,$){this[$]=E,this.doTransform=!0}}let x=y.prototype;return x.visibilitySetter=x.opacitySetter=w,x.ySetter=x.rotationSetter=x.rotationOriginXSetter=x.rotationOriginYSetter=x.xSetter,y}),i(n,"Core/Axis/AxisDefaults.js",[],function(){var r,a;return(a=r||(r={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},a.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:s}=this.axis.chart;return s(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},r}),i(n,"Core/Foundation.js",[n["Core/Utilities.js"]],function(r){var a;let{addEvent:s,isFunction:o,objectEach:l,removeEvent:c}=r;return(a||(a={})).registerEventOptions=function(u,d){u.eventOptions=u.eventOptions||{},l(d.events,function(m,v){u.eventOptions[v]!==m&&(u.eventOptions[v]&&(c(u,v,u.eventOptions[v]),delete u.eventOptions[v]),o(m)&&(u.eventOptions[v]=m,s(u,v,m,{order:0})))})},a}),i(n,"Core/Axis/Tick.js",[n["Core/Templating.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a,s){let{deg2rad:o}=a,{clamp:l,correctFloat:c,defined:u,destroyObjectProperties:d,extend:m,fireEvent:v,isNumber:h,merge:f,objectEach:w,pick:_}=s;return class{constructor(y,x,A,E,$){this.isNew=!0,this.isNewLabel=!0,this.axis=y,this.pos=x,this.type=A||"",this.parameters=$||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,v(this,"init"),A||E||this.addLabel()}addLabel(){let y=this,x=y.axis,A=x.options,E=x.chart,$=x.categories,B=x.logarithmic,Q=x.names,I=y.pos,F=_(y.options&&y.options.labels,A.labels),k=x.tickPositions,P=I===k[0],C=I===k[k.length-1],p=(!F.step||F.step===1)&&x.tickInterval===1,g=k.info,D=y.label,R,Z,G,V=this.parameters.category||($?_($[I],Q[I],I):I);B&&h(V)&&(V=c(B.lin2log(V))),x.dateTime&&(g?R=(Z=E.time.resolveDTLFormat(A.dateTimeLabelFormats[!A.grid&&g.higherRanks[I]||g.unitName])).main:h(V)&&(R=x.dateTime.getXDateFormat(V,A.dateTimeLabelFormats||{}))),y.isFirst=P,y.isLast=C;let X={axis:x,chart:E,dateTimeLabelFormat:R,isFirst:P,isLast:C,pos:I,tick:y,tickPositionInfo:g,value:V};v(this,"labelFormat",X);let ee=M=>F.formatter?F.formatter.call(M,M):F.format?(M.text=x.defaultLabelFormatter.call(M),r.format(F.format,M,E)):x.defaultLabelFormatter.call(M),S=ee.call(X,X),O=Z&&Z.list;O?y.shortenLabel=function(){for(G=0;G<O.length;G++)if(m(X,{dateTimeLabelFormat:O[G]}),D.attr({text:ee.call(X,X)}),D.getBBox().width<x.getSlotWidth(y)-2*(F.padding||0))return;D.attr({text:""})}:y.shortenLabel=void 0,p&&x._addedPlotLB&&y.moveLabel(S,F),u(D)||y.movedLabel?D&&D.textStr!==S&&!p&&(!D.textWidth||F.style.width||D.styles.width||D.css({width:null}),D.attr({text:S}),D.textPxLength=D.getBBox().width):(y.label=D=y.createLabel(S,F),y.rotation=0)}createLabel(y,x,A){let E=this.axis,$=E.chart,B=u(y)&&x.enabled?$.renderer.text(y,A==null?void 0:A.x,A==null?void 0:A.y,x.useHTML).add(E.labelGroup):void 0;return B&&($.styledMode||B.css(f(x.style)),B.textPxLength=B.getBBox().width),B}destroy(){d(this,this.axis)}getPosition(y,x,A,E){let $=this.axis,B=$.chart,Q=E&&B.oldChartHeight||B.chartHeight,I={x:y?c($.translate(x+A,void 0,void 0,E)+$.transB):$.left+$.offset+($.opposite?(E&&B.oldChartWidth||B.chartWidth)-$.right-$.left:0),y:y?Q-$.bottom+$.offset-($.opposite?$.height:0):c(Q-$.translate(x+A,void 0,void 0,E)-$.transB)};return I.y=l(I.y,-1e9,1e9),v(this,"afterGetPosition",{pos:I}),I}getLabelPosition(y,x,A,E,$,B,Q,I){let F,k,P=this.axis,C=P.transA,p=P.isLinked&&P.linkedParent?P.linkedParent.reversed:P.reversed,g=P.staggerLines,D=P.tickRotCorr||{x:0,y:0},R=E||P.reserveSpaceDefault?0:-P.labelOffset*(P.labelAlign==="center"?.5:1),Z=$.distance,G={};return F=P.side===0?A.rotation?-Z:-A.getBBox().height:P.side===2?D.y+Z:Math.cos(A.rotation*o)*(D.y-A.getBBox(!1,0).height/2),u($.y)&&(F=P.side===0&&P.horiz?$.y+F:$.y),y=y+_($.x,[0,1,0,-1][P.side]*Z)+R+D.x-(B&&E?B*C*(p?-1:1):0),x=x+F-(B&&!E?B*C*(p?1:-1):0),g&&(k=Q/(I||1)%g,P.opposite&&(k=g-k-1),x+=k*(P.labelOffset/g)),G.x=y,G.y=Math.round(x),v(this,"afterGetLabelPosition",{pos:G,tickmarkOffset:B,index:Q}),G}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(y,x,A,E,$=!1,B){return B.crispLine([["M",y,x],["L",y+($?0:-A),x+($?A:0)]],E)}handleOverflow(y){let x=this.axis,A=x.options.labels,E=y.x,$=x.chart.chartWidth,B=x.chart.spacing,Q=_(x.labelLeft,Math.min(x.pos,B[3])),I=_(x.labelRight,Math.max(x.isRadial?0:x.pos+x.len,$-B[1])),F=this.label,k=this.rotation,P={left:0,center:.5,right:1}[x.labelAlign||F.attr("align")],C=F.getBBox().width,p=x.getSlotWidth(this),g={},D=p,R=1,Z,G,V;k||A.overflow!=="justify"?k<0&&E-P*C<Q?V=Math.round(E/Math.cos(k*o)-Q):k>0&&E+P*C>I&&(V=Math.round(($-E)/Math.cos(k*o))):(Z=E-P*C,G=E+(1-P)*C,Z<Q?D=y.x+D*(1-P)-Q:G>I&&(D=I-y.x+D*P,R=-1),(D=Math.min(p,D))<p&&x.labelAlign==="center"&&(y.x+=R*(p-D-P*(p-Math.min(C,D)))),(C>D||x.autoRotation&&(F.styles||{}).width)&&(V=D)),V&&(this.shortenLabel?this.shortenLabel():(g.width=Math.floor(V)+"px",(A.style||{}).textOverflow||(g.textOverflow="ellipsis"),F.css(g)))}moveLabel(y,x){let A=this,E=A.label,$=A.axis,B=!1,Q;E&&E.textStr===y?(A.movedLabel=E,B=!0,delete A.label):w($.ticks,function(I){B||I.isNew||I===A||!I.label||I.label.textStr!==y||(A.movedLabel=I.label,B=!0,I.labelPos=A.movedLabel.xy,delete I.label)}),!B&&(A.labelPos||E)&&(Q=A.labelPos||E.xy,A.movedLabel=A.createLabel(y,x,Q),A.movedLabel&&A.movedLabel.attr({opacity:0}))}render(y,x,A){let E=this.axis,$=E.horiz,B=this.pos,Q=_(this.tickmarkOffset,E.tickmarkOffset),I=this.getPosition($,B,Q,x),F=I.x,k=I.y,P=E.pos,C=P+E.len,p=$?F:k;!E.chart.polar&&this.isNew&&(c(p)<P||p>C)&&(A=0);let g=_(A,this.label&&this.label.newOpacity,1);A=_(A,1),this.isActive=!0,this.renderGridLine(x,A),this.renderMark(I,A),this.renderLabel(I,x,g,y),this.isNew=!1,v(this,"afterRender")}renderGridLine(y,x){let A=this.axis,E=A.options,$={},B=this.pos,Q=this.type,I=_(this.tickmarkOffset,A.tickmarkOffset),F=A.chart.renderer,k=this.gridLine,P,C=E.gridLineWidth,p=E.gridLineColor,g=E.gridLineDashStyle;this.type==="minor"&&(C=E.minorGridLineWidth,p=E.minorGridLineColor,g=E.minorGridLineDashStyle),k||(A.chart.styledMode||($.stroke=p,$["stroke-width"]=C||0,$.dashstyle=g),Q||($.zIndex=1),y&&(x=0),this.gridLine=k=F.path().attr($).addClass("highcharts-"+(Q?Q+"-":"")+"grid-line").add(A.gridGroup)),k&&(P=A.getPlotLinePath({value:B+I,lineWidth:k.strokeWidth(),force:"pass",old:y,acrossPanes:!1}))&&k[y||this.isNew?"attr":"animate"]({d:P,opacity:x})}renderMark(y,x){let A=this.axis,E=A.options,$=A.chart.renderer,B=this.type,Q=A.tickSize(B?B+"Tick":"tick"),I=y.x,F=y.y,k=_(E[B!=="minor"?"tickWidth":"minorTickWidth"],!B&&A.isXAxis?1:0),P=E[B!=="minor"?"tickColor":"minorTickColor"],C=this.mark,p=!C;Q&&(A.opposite&&(Q[0]=-Q[0]),C||(this.mark=C=$.path().addClass("highcharts-"+(B?B+"-":"")+"tick").add(A.axisGroup),A.chart.styledMode||C.attr({stroke:P,"stroke-width":k})),C[p?"attr":"animate"]({d:this.getMarkPath(I,F,Q[0],C.strokeWidth(),A.horiz,$),opacity:x}))}renderLabel(y,x,A,E){let $=this.axis,B=$.horiz,Q=$.options,I=this.label,F=Q.labels,k=F.step,P=_(this.tickmarkOffset,$.tickmarkOffset),C=y.x,p=y.y,g=!0;I&&h(C)&&(I.xy=y=this.getLabelPosition(C,p,I,B,F,P,E,k),(!this.isFirst||this.isLast||Q.showFirstLabel)&&(!this.isLast||this.isFirst||Q.showLastLabel)?!B||F.step||F.rotation||x||A===0||this.handleOverflow(y):g=!1,k&&E%k&&(g=!1),g&&h(y.y)?(y.opacity=A,I[this.isNewLabel?"attr":"animate"](y).show(!0),this.isNewLabel=!1):(I.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let y=this.label,x=this.axis;y&&!this.isNew&&(y.animate({opacity:0},void 0,y.destroy),delete this.label),x.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),i(n,"Core/Axis/Axis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/AxisDefaults.js"],n["Core/Color/Color.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Axis/Tick.js"],n["Core/Utilities.js"]],function(r,a,s,o,l,c,u,d){let{animObject:m}=r,{xAxis:v,yAxis:h}=a,{defaultOptions:f}=o,{registerEventOptions:w}=l,{deg2rad:_}=c,{arrayMax:y,arrayMin:x,clamp:A,correctFloat:E,defined:$,destroyObjectProperties:B,erase:Q,error:I,extend:F,fireEvent:k,getClosestDistance:P,insertItem:C,isArray:p,isNumber:g,isString:D,merge:R,normalizeTickInterval:Z,objectEach:G,pick:V,relativeLength:X,removeEvent:ee,splat:S,syncTimeout:O}=d,M=(q,T)=>Z(T,void 0,void 0,V(q.options.allowDecimals,T<.5||q.tickAmount!==void 0),!!q.tickAmount);F(f,{xAxis:v,yAxis:R(v,h)});class H{constructor(T,L,U){this.init(T,L,U)}init(T,L,U=this.coll){let ie=U==="xAxis",N=this.isZAxis||(T.inverted?!ie:ie);this.chart=T,this.horiz=N,this.isXAxis=ie,this.coll=U,k(this,"init",{userOptions:L}),this.opposite=V(L.opposite,this.opposite),this.side=V(L.side,this.side,N?this.opposite?0:2:this.opposite?1:3),this.setOptions(L);let K=this.options,b=K.labels;this.type??(this.type=K.type||"linear"),this.uniqueNames??(this.uniqueNames=K.uniqueNames??!0),k(this,"afterSetType"),this.userOptions=L,this.minPixelPadding=0,this.reversed=V(K.reversed,this.reversed),this.visible=K.visible,this.zoomEnabled=K.zoomEnabled,this.hasNames=this.type==="category"||K.categories===!0,this.categories=p(K.categories)&&K.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=$(K.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=K.minRange||K.maxZoom,this.range=K.range,this.offset=K.offset||0,this.max=void 0,this.min=void 0;let z=V(K.crosshair,S(T.options.tooltip.crosshairs)[ie?0:1]);this.crosshair=z===!0?{}:z,T.axes.indexOf(this)===-1&&(ie?T.axes.splice(T.xAxis.length,0,this):T.axes.push(this),C(this,T[this.coll])),T.orderItems(this.coll),this.series=this.series||[],T.inverted&&!this.isZAxis&&ie&&!$(this.reversed)&&(this.reversed=!0),this.labelRotation=g(b.rotation)?b.rotation:void 0,w(this,K),k(this,"afterInit")}setOptions(T){let L=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=R(L,f[this.coll],T),k(this,"afterSetOptions",{userOptions:T})}defaultLabelFormatter(){let T=this.axis,{numberFormatter:L}=this.chart,U=g(this.value)?this.value:NaN,ie=T.chart.time,N=T.categories,K=this.dateTimeLabelFormat,b=f.lang,z=b.numericSymbols,Y=b.numericSymbolMagnitude||1e3,W=T.logarithmic?Math.abs(U):T.tickInterval,j=z&&z.length,ne,se;if(N)se=`${this.value}`;else if(K)se=ie.dateFormat(K,U);else if(j&&z&&W>=1e3)for(;j--&&se===void 0;)W>=(ne=Math.pow(Y,j+1))&&10*U%ne==0&&z[j]!==null&&U!==0&&(se=L(U/ne,-1)+z[j]);return se===void 0&&(se=Math.abs(U)>=1e4?L(U,-1):L(U,-1,void 0,"")),se}getSeriesExtremes(){let T,L=this;k(this,"getSeriesExtremes",null,function(){L.hasVisibleSeries=!1,L.dataMin=L.dataMax=L.threshold=void 0,L.softThreshold=!L.isXAxis,L.series.forEach(U=>{if(U.reserveSpace()){let ie=U.options,N,K=ie.threshold,b,z;if(L.hasVisibleSeries=!0,L.positiveValuesOnly&&0>=(K||0)&&(K=void 0),L.isXAxis)(N=U.xData)&&N.length&&(N=L.logarithmic?N.filter(Y=>Y>0):N,b=(T=U.getXExtremes(N)).min,z=T.max,g(b)||b instanceof Date||(N=N.filter(g),b=(T=U.getXExtremes(N)).min,z=T.max),N.length&&(L.dataMin=Math.min(V(L.dataMin,b),b),L.dataMax=Math.max(V(L.dataMax,z),z)));else{let Y=U.applyExtremes();g(Y.dataMin)&&(b=Y.dataMin,L.dataMin=Math.min(V(L.dataMin,b),b)),g(Y.dataMax)&&(z=Y.dataMax,L.dataMax=Math.max(V(L.dataMax,z),z)),$(K)&&(L.threshold=K),(!ie.softThreshold||L.positiveValuesOnly)&&(L.softThreshold=!1)}}})}),k(this,"afterGetSeriesExtremes")}translate(T,L,U,ie,N,K){var oe;let b=this.linkedParent||this,z=ie&&b.old?b.old.min:b.min;if(!g(z))return NaN;let Y=b.minPixelPadding,W=(b.isOrdinal||((oe=b.brokenAxis)==null?void 0:oe.hasBreaks)||b.logarithmic&&N)&&b.lin2val,j=1,ne=0,se=ie&&b.old?b.old.transA:b.transA,ce=0;return se||(se=b.transA),U&&(j*=-1,ne=b.len),b.reversed&&(j*=-1,ne-=j*(b.sector||b.len)),L?(ce=(T=T*j+ne-Y)/se+z,W&&(ce=b.lin2val(ce))):(W&&(T=b.val2lin(T)),ce=j*(T-z)*se+ne+j*Y+(g(K)?se*K:0),b.isRadial||(ce=E(ce))),ce}toPixels(T,L){return this.translate(T,!1,!this.horiz,void 0,!0)+(L?0:this.pos)}toValue(T,L){return this.translate(T-(L?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(T){let L=this,U=L.chart,ie=L.left,N=L.top,K=T.old,b=T.value,z=T.lineWidth,Y=K&&U.oldChartHeight||U.chartHeight,W=K&&U.oldChartWidth||U.chartWidth,j=L.transB,ne=T.translatedValue,se=T.force,ce,oe,re,te,ae;function le(me,ge,_e){return se!=="pass"&&(me<ge||me>_e)&&(se?me=A(me,ge,_e):ae=!0),me}let fe={value:b,lineWidth:z,old:K,force:se,acrossPanes:T.acrossPanes,translatedValue:ne};return k(this,"getPlotLinePath",fe,function(me){ce=re=(ne=A(ne=V(ne,L.translate(b,void 0,void 0,K)),-1e9,1e9))+j,oe=te=Y-ne-j,g(ne)?L.horiz?(oe=N,te=Y-L.bottom+(L.options.isInternal?0:U.scrollablePixelsY||0),ce=re=le(ce,ie,ie+L.width)):(ce=ie,re=W-L.right+(U.scrollablePixelsX||0),oe=te=le(oe,N,N+L.height)):(ae=!0,se=!1),me.path=ae&&!se?void 0:U.renderer.crispLine([["M",ce,oe],["L",re,te]],z||1)}),fe.path}getLinearTickPositions(T,L,U){let ie,N,K,b=E(Math.floor(L/T)*T),z=E(Math.ceil(U/T)*T),Y=[];if(E(b+T)===b&&(K=20),this.single)return[L];for(ie=b;ie<=z&&(Y.push(ie),(ie=E(ie+T,K))!==N);)N=ie;return Y}getMinorTickInterval(){let{minorTicks:T,minorTickInterval:L}=this.options;return T===!0?V(L,"auto"):T!==!1?L:void 0}getMinorTickPositions(){let T=this.options,L=this.tickPositions,U=this.minorTickInterval,ie=this.pointRangePadding||0,N=(this.min||0)-ie,K=(this.max||0)+ie,b=K-N,z=[],Y;if(b&&b/U<this.len/3){let W=this.logarithmic;if(W)this.paddedTicks.forEach(function(j,ne,se){ne&&z.push.apply(z,W.getLogTickPositions(U,se[ne-1],se[ne],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")z=z.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(U),N,K,T.startOfWeek));else for(Y=N+(L[0]-N)%U;Y<=K&&Y!==z[0];Y+=U)z.push(Y)}return z.length!==0&&this.trimTicks(z),z}adjustForMinRange(){let T=this.options,L=this.logarithmic,{max:U,min:ie,minRange:N}=this,K,b,z,Y;this.isXAxis&&N===void 0&&!L&&(N=$(T.min)||$(T.max)||$(T.floor)||$(T.ceiling)?null:Math.min(5*(P(this.series.map(W=>{var j;return(W.xIncrement?(j=W.xData)==null?void 0:j.slice(0,2):W.xData)||[]}))||0),this.dataMax-this.dataMin)),g(U)&&g(ie)&&g(N)&&U-ie<N&&(b=this.dataMax-this.dataMin>=N,K=(N-U+ie)/2,z=[ie-K,V(T.min,ie-K)],b&&(z[2]=L?L.log2lin(this.dataMin):this.dataMin),Y=[(ie=y(z))+N,V(T.max,ie+N)],b&&(Y[2]=L?L.log2lin(this.dataMax):this.dataMax),(U=x(Y))-ie<N&&(z[0]=U-N,z[1]=V(T.min,U-N),ie=y(z))),this.minRange=N,this.min=ie,this.max=U}getClosest(){let T,L;if(this.categories)L=1;else{let U=[];this.series.forEach(function(ie){var K;let N=ie.closestPointRange;((K=ie.xData)==null?void 0:K.length)===1?U.push(ie.xData[0]):!ie.noSharedTooltip&&$(N)&&ie.reserveSpace()&&(L=$(L)?Math.min(L,N):N)}),U.length&&(U.sort((ie,N)=>ie-N),T=P([U]))}return T&&L?Math.min(T,L):T||L}nameToX(T){let L=p(this.options.categories),U=L?this.categories:this.names,ie=T.options.x,N;return T.series.requireSorting=!1,$(ie)||(ie=this.uniqueNames&&U?L?U.indexOf(T.name):V(U.keys[T.name],-1):T.series.autoIncrement()),ie===-1?!L&&U&&(N=U.length):N=ie,N!==void 0?(this.names[N]=T.name,this.names.keys[T.name]=N):T.x&&(N=T.x),N}updateNames(){let T=this,L=this.names;L.length>0&&(Object.keys(L.keys).forEach(function(U){delete L.keys[U]}),L.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(U=>{U.xIncrement=null,(!U.points||U.isDirtyData)&&(T.max=Math.max(T.max,U.xData.length-1),U.processData(),U.generatePoints()),U.data.forEach(function(ie,N){let K;ie!=null&&ie.options&&ie.name!==void 0&&(K=T.nameToX(ie))!==void 0&&K!==ie.x&&(ie.x=K,U.xData[N]=K)})}))}setAxisTranslation(){let T=this,L=T.max-T.min,U=T.linkedParent,ie=!!T.categories,N=T.isXAxis,K=T.axisPointRange||0,b,z=0,Y=0,W,j=T.transA;(N||ie||K)&&(b=T.getClosest(),U?(z=U.minPointOffset,Y=U.pointRangePadding):T.series.forEach(function(ne){let se=ie?1:N?V(ne.options.pointRange,b,0):T.axisPointRange||0,ce=ne.options.pointPlacement;if(K=Math.max(K,se),!T.single||ie){let oe=ne.is("xrange")?!N:N;z=Math.max(z,oe&&D(ce)?0:se/2),Y=Math.max(Y,oe&&ce==="on"?0:se)}}),W=T.ordinal&&T.ordinal.slope&&b?T.ordinal.slope/b:1,T.minPointOffset=z*=W,T.pointRangePadding=Y*=W,T.pointRange=Math.min(K,T.single&&ie?1:L),N&&b&&(T.closestPointRange=b)),T.translationSlope=T.transA=j=T.staticScale||T.len/(L+Y||1),T.transB=T.horiz?T.left:T.bottom,T.minPixelPadding=j*z,k(this,"afterSetAxisTranslation")}minFromRange(){let{max:T,min:L}=this;return g(T)&&g(L)&&T-L||void 0}setTickInterval(T){var Me,$e,Ye,Ge;let{categories:L,chart:U,dataMax:ie,dataMin:N,dateTime:K,isXAxis:b,logarithmic:z,options:Y,softThreshold:W}=this,j=g(this.threshold)?this.threshold:void 0,ne=this.minRange||0,{ceiling:se,floor:ce,linkedTo:oe,softMax:re,softMin:te}=Y,ae=g(oe)&&((Me=U[this.coll])==null?void 0:Me[oe]),le=Y.tickPixelInterval,fe=Y.maxPadding,me=Y.minPadding,ge=0,_e,Ce=g(Y.tickInterval)&&Y.tickInterval>=0?Y.tickInterval:void 0,xe,Se,Pe,Le;if(K||L||ae||this.getTickAmount(),Pe=V(this.userMin,Y.min),Le=V(this.userMax,Y.max),ae?(this.linkedParent=ae,_e=ae.getExtremes(),this.min=V(_e.min,_e.dataMin),this.max=V(_e.max,_e.dataMax),this.type!==ae.type&&I(11,!0,U)):(W&&$(j)&&g(ie)&&g(N)&&(N>=j?(xe=j,me=0):ie<=j&&(Se=j,fe=0)),this.min=V(Pe,xe,N),this.max=V(Le,Se,ie)),g(this.max)&&g(this.min)&&(z&&(this.positiveValuesOnly&&!T&&0>=Math.min(this.min,V(N,this.min))&&I(10,!0,U),this.min=E(z.log2lin(this.min),16),this.max=E(z.log2lin(this.max),16)),this.range&&g(N)&&(this.userMin=this.min=Pe=Math.max(N,this.minFromRange()||0),this.userMax=Le=this.max,this.range=void 0)),k(this,"foundExtremes"),this.adjustForMinRange(),g(this.min)&&g(this.max)){if(!g(this.userMin)&&g(te)&&te<this.min&&(this.min=Pe=te),!g(this.userMax)&&g(re)&&re>this.max&&(this.max=Le=re),L||this.axisPointRange||($e=this.stacking)!=null&&$e.usePercentage||ae||!(ge=this.max-this.min)||(!$(Pe)&&me&&(this.min-=ge*me),$(Le)||!fe||(this.max+=ge*fe)),!g(this.userMin)&&g(ce)&&(this.min=Math.max(this.min,ce)),!g(this.userMax)&&g(se)&&(this.max=Math.min(this.max,se)),W&&g(N)&&g(ie)){let Xe=j||0;!$(Pe)&&this.min<Xe&&N>=Xe?this.min=Y.minRange?Math.min(Xe,this.max-ne):Xe:!$(Le)&&this.max>Xe&&ie<=Xe&&(this.max=Y.minRange?Math.max(Xe,this.min+ne):Xe)}!U.polar&&this.min>this.max&&($(Y.min)?this.max=this.min:$(Y.max)&&(this.min=this.max)),ge=this.max-this.min}if(this.min!==this.max&&g(this.min)&&g(this.max)?ae&&!Ce&&le===ae.options.tickPixelInterval?this.tickInterval=Ce=ae.tickInterval:this.tickInterval=V(Ce,this.tickAmount?ge/Math.max(this.tickAmount-1,1):void 0,L?1:ge*le/Math.max(this.len,le)):this.tickInterval=1,b&&!T){let Xe=this.min!==((Ye=this.old)==null?void 0:Ye.min)||this.max!==((Ge=this.old)==null?void 0:Ge.max);this.series.forEach(function(et){var at;et.forceCrop=(at=et.forceCropping)==null?void 0:at.call(et),et.processData(Xe)}),k(this,"postProcessData",{hasExtremesChanged:Xe})}this.setAxisTranslation(),k(this,"initialAxisTranslation"),this.pointRange&&!Ce&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let Te=V(Y.minTickInterval,K&&!this.series.some(Xe=>Xe.noSharedTooltip)?this.closestPointRange:0);!Ce&&this.tickInterval<Te&&(this.tickInterval=Te),K||z||Ce||(this.tickInterval=M(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var W,j;let T=this.options,L=T.tickPositions,U=T.tickPositioner,ie=this.getMinorTickInterval(),N=!this.isPanning,K=N&&T.startOnTick,b=N&&T.endOnTick,z=[],Y;if(this.tickmarkOffset=this.categories&&T.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.single=this.min===this.max&&$(this.min)&&!this.tickAmount&&(this.min%1==0||T.allowDecimals!==!1),L)z=L.slice();else if(g(this.min)&&g(this.max)){if(!((W=this.ordinal)!=null&&W.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))z=[this.min,this.max],I(19,!1,this.chart);else if(this.dateTime)z=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,T.units),this.min,this.max,T.startOfWeek,(j=this.ordinal)==null?void 0:j.positions,this.closestPointRange,!0);else if(this.logarithmic)z=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let ne=this.tickInterval,se=ne;for(;se<=2*ne&&(z=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&z.length>this.tickAmount);)this.tickInterval=M(this,se*=1.1)}z.length>this.len&&(z=[z[0],z[z.length-1]])[0]===z[1]&&(z.length=1),U&&(this.tickPositions=z,(Y=U.apply(this,[this.min,this.max]))&&(z=Y))}this.tickPositions=z,this.minorTickInterval=ie==="auto"&&this.tickInterval?this.tickInterval/T.minorTicksPerMajor:ie,this.paddedTicks=z.slice(0),this.trimTicks(z,K,b),!this.isLinked&&g(this.min)&&g(this.max)&&(this.single&&z.length<2&&!this.categories&&!this.series.some(ne=>ne.is("heatmap")&&ne.options.pointPlacement==="between")&&(this.min-=.5,this.max+=.5),L||Y||this.adjustTickAmount()),k(this,"afterSetTickPositions")}trimTicks(T,L,U){let ie=T[0],N=T[T.length-1],K=!this.isOrdinal&&this.minPointOffset||0;if(k(this,"trimTicks"),!this.isLinked){if(L&&ie!==-1/0)this.min=ie;else for(;this.min-K>T[0];)T.shift();if(U)this.max=N;else for(;this.max+K<T[T.length-1];)T.pop();T.length===0&&$(ie)&&!this.options.tickPositions&&T.push((N+ie)/2)}}alignToOthers(){let T,L=this,U=L.chart,ie=[this],N=L.options,K=U.options.chart,b=this.coll==="yAxis"&&K.alignThresholds,z=[];if(L.thresholdAlignment=void 0,(K.alignTicks!==!1&&N.alignTicks||b)&&N.startOnTick!==!1&&N.endOnTick!==!1&&!L.logarithmic){let Y=j=>{let{horiz:ne,options:se}=j;return[ne?se.left:se.top,se.width,se.height,se.pane].join(",")},W=Y(this);U[this.coll].forEach(function(j){let{series:ne}=j;ne.length&&ne.some(se=>se.visible)&&j!==L&&Y(j)===W&&(T=!0,ie.push(j))})}if(T&&b){ie.forEach(W=>{let j=W.getThresholdAlignment(L);g(j)&&z.push(j)});let Y=z.length>1?z.reduce((W,j)=>W+=j,0)/z.length:void 0;ie.forEach(W=>{W.thresholdAlignment=Y})}return T}getThresholdAlignment(T){if((!g(this.dataMin)||this!==T&&this.series.some(L=>L.isDirty||L.isDirtyData))&&this.getSeriesExtremes(),g(this.threshold)){let L=A((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(L=1-L),L}}getTickAmount(){let T=this.options,L=T.tickPixelInterval,U=T.tickAmount;$(T.tickInterval)||U||!(this.len<L)||this.isRadial||this.logarithmic||!T.startOnTick||!T.endOnTick||(U=2),!U&&this.alignToOthers()&&(U=Math.ceil(this.len/L)+1),U<4&&(this.finalTickAmt=U,U=5),this.tickAmount=U}adjustTickAmount(){let T=this,{finalTickAmt:L,max:U,min:ie,options:N,tickPositions:K,tickAmount:b,thresholdAlignment:z}=T,Y=K==null?void 0:K.length,W=V(T.threshold,T.softThreshold?0:null),j,ne,se=T.tickInterval,ce,oe=()=>K.push(E(K[K.length-1]+se)),re=()=>K.unshift(E(K[0]-se));if(g(z)&&(ce=z<.5?Math.ceil(z*(b-1)):Math.floor(z*(b-1)),N.reversed&&(ce=b-1-ce)),T.hasData()&&g(ie)&&g(U)){let te=()=>{T.transA*=(Y-1)/(b-1),T.min=N.startOnTick?K[0]:Math.min(ie,K[0]),T.max=N.endOnTick?K[K.length-1]:Math.max(U,K[K.length-1])};if(g(ce)&&g(T.threshold)){for(;K[ce]!==W||K.length!==b||K[0]>ie||K[K.length-1]<U;){for(K.length=0,K.push(T.threshold);K.length<b;)K[ce]===void 0||K[ce]>T.threshold?re():oe();if(se>8*T.tickInterval)break;se*=2}te()}else if(Y<b){for(;K.length<b;)K.length%2||ie===W?oe():re();te()}if($(L)){for(ne=j=K.length;ne--;)(L===3&&ne%2==1||L<=2&&ne>0&&ne<j-1)&&K.splice(ne,1);T.finalTickAmt=void 0}}}setScale(){var K,b;let{coll:T,stacking:L}=this,U=!1,ie=!1;this.series.forEach(z=>{U=U||z.isDirtyData||z.isDirty,ie=ie||z.xAxis&&z.xAxis.isDirty||!1}),this.setAxisSize();let N=this.len!==(this.old&&this.old.len);N||U||ie||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(L&&T==="yAxis"&&L.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),L&&T==="xAxis"&&L.buildStacks(),this.isDirty||(this.isDirty=N||this.min!==((K=this.old)==null?void 0:K.min)||this.max!==((b=this.old)==null?void 0:b.max))):L&&L.cleanStacks(),U&&delete this.allExtremes,k(this,"afterSetScale")}setExtremes(T,L,U=!0,ie,N){this.series.forEach(K=>{delete K.kdTree}),k(this,"setExtremes",N=F(N,{min:T,max:L}),K=>{this.userMin=K.min,this.userMax=K.max,this.eventArgs=K,U&&this.chart.redraw(ie)})}setAxisSize(){let T=this.chart,L=this.options,U=L.offsets||[0,0,0,0],ie=this.horiz,N=this.width=Math.round(X(V(L.width,T.plotWidth-U[3]+U[1]),T.plotWidth)),K=this.height=Math.round(X(V(L.height,T.plotHeight-U[0]+U[2]),T.plotHeight)),b=this.top=Math.round(X(V(L.top,T.plotTop+U[0]),T.plotHeight,T.plotTop)),z=this.left=Math.round(X(V(L.left,T.plotLeft+U[3]),T.plotWidth,T.plotLeft));this.bottom=T.chartHeight-K-b,this.right=T.chartWidth-N-z,this.len=Math.max(ie?N:K,0),this.pos=ie?z:b}getExtremes(){let T=this.logarithmic;return{min:T?E(T.lin2log(this.min)):this.min,max:T?E(T.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(T){let L=this.logarithmic,U=L?L.lin2log(this.min):this.min,ie=L?L.lin2log(this.max):this.max;return T===null||T===-1/0?T=U:T===1/0?T=ie:U>T?T=U:ie<T&&(T=ie),this.translate(T,0,1,0,1)}autoLabelAlign(T){let L=(V(T,0)-90*this.side+720)%360,U={align:"center"};return k(this,"autoLabelAlign",U,function(ie){L>15&&L<165?ie.align="right":L>195&&L<345&&(ie.align="left")}),U.align}tickSize(T){let L=this.options,U=V(L[T==="tick"?"tickWidth":"minorTickWidth"],T==="tick"&&this.isXAxis&&!this.categories?1:0),ie=L[T==="tick"?"tickLength":"minorTickLength"],N;U&&ie&&(L[T+"Position"]==="inside"&&(ie=-ie),N=[ie,U]);let K={tickSize:N};return k(this,"afterTickSize",K),K.tickSize}labelMetrics(){let T=this.chart.renderer,L=this.ticks,U=L[Object.keys(L)[0]]||{};return this.chart.renderer.fontMetrics(U.label||U.movedLabel||T.box)}unsquish(){let T=this.options.labels,L=T.padding||0,U=this.horiz,ie=this.tickInterval,N=this.len/(((this.categories?1:0)+this.max-this.min)/ie),K=T.rotation,b=E(.8*this.labelMetrics().h),z=Math.max(this.max-this.min,0),Y=function(ce){let oe=(ce+2*L)/(N||1);return(oe=oe>1?Math.ceil(oe):1)*ie>z&&ce!==1/0&&N!==1/0&&z&&(oe=Math.ceil(z/ie)),E(oe*ie)},W=ie,j,ne=Number.MAX_VALUE,se;if(U){if(!T.staggerLines&&(g(K)?se=[K]:N<T.autoRotationLimit&&(se=T.autoRotation)),se){let ce,oe;for(let re of se)(re===K||re&&re>=-90&&re<=90)&&(oe=(ce=Y(Math.abs(b/Math.sin(_*re))))+Math.abs(re/360))<ne&&(ne=oe,j=re,W=ce)}}else W=Y(.75*b);return this.autoRotation=se,this.labelRotation=V(j,g(K)?K:0),T.step?ie:W}getSlotWidth(T){let L=this.chart,U=this.horiz,ie=this.options.labels,N=Math.max(this.tickPositions.length-(this.categories?0:1),1),K=L.margin[3];if(T&&g(T.slotWidth))return T.slotWidth;if(U&&ie.step<2)return ie.rotation?0:(this.staggerLines||1)*this.len/N;if(!U){let b=ie.style.width;if(b!==void 0)return parseInt(String(b),10);if(K)return K-L.spacing[3]}return .33*L.chartWidth}renderUnsquish(){let T=this.chart,L=T.renderer,U=this.tickPositions,ie=this.ticks,N=this.options.labels,K=N.style,b=this.horiz,z=this.getSlotWidth(),Y=Math.max(1,Math.round(z-(b?2*(N.padding||0):N.distance||0))),W={},j=this.labelMetrics(),ne=K.textOverflow,se,ce,oe=0,re,te;if(D(N.rotation)||(W.rotation=N.rotation||0),U.forEach(function(ae){let le=ie[ae];le.movedLabel&&le.replaceMovedLabel(),le&&le.label&&le.label.textPxLength>oe&&(oe=le.label.textPxLength)}),this.maxLabelLength=oe,this.autoRotation)oe>Y&&oe>j.h?W.rotation=this.labelRotation:this.labelRotation=0;else if(z&&(se=Y,!ne))for(ce="clip",te=U.length;!b&&te--;)(re=ie[U[te]].label)&&(re.styles.textOverflow==="ellipsis"?re.css({textOverflow:"clip"}):re.textPxLength>z&&re.css({width:z+"px"}),re.getBBox().height>this.len/U.length-(j.h-j.f)&&(re.specificTextOverflow="ellipsis"));W.rotation&&(se=oe>.5*T.chartHeight?.33*T.chartHeight:oe,ne||(ce="ellipsis")),this.labelAlign=N.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(W.align=this.labelAlign),U.forEach(function(ae){let le=ie[ae],fe=le&&le.label,me=K.width,ge={};fe&&(fe.attr(W),le.shortenLabel?le.shortenLabel():se&&!me&&K.whiteSpace!=="nowrap"&&(se<fe.textPxLength||fe.element.tagName==="SPAN")?(ge.width=se+"px",ne||(ge.textOverflow=fe.specificTextOverflow||ce),fe.css(ge)):!fe.styles.width||ge.width||me||fe.css({width:null}),delete fe.specificTextOverflow,le.rotation=W.rotation)},this),this.tickRotCorr=L.rotCorr(j.b,this.labelRotation||0,this.side!==0)}hasData(){return this.series.some(function(T){return T.hasData()})||this.options.showEmpty&&$(this.min)&&$(this.max)}addTitle(T){let L,U=this.chart.renderer,ie=this.horiz,N=this.opposite,K=this.options.title,b=this.chart.styledMode;this.axisTitle||((L=K.textAlign)||(L=(ie?{low:"left",middle:"center",high:"right"}:{low:N?"right":"left",middle:"center",high:N?"left":"right"})[K.align]),this.axisTitle=U.text(K.text||"",0,0,K.useHTML).attr({zIndex:7,rotation:K.rotation||0,align:L}).addClass("highcharts-axis-title"),b||this.axisTitle.css(R(K.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),b||K.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[T?"show":"hide"](T)}generateTick(T){let L=this.ticks;L[T]?L[T].addLabel():L[T]=new u(this,T)}createGroups(){let{axisParent:T,chart:L,coll:U,options:ie}=this,N=L.renderer,K=(b,z,Y)=>N.g(b).attr({zIndex:Y}).addClass(`highcharts-${U.toLowerCase()}${z} `+(this.isRadial?`highcharts-radial-axis${z} `:"")+(ie.className||"")).add(T);this.axisGroup||(this.gridGroup=K("grid","-grid",ie.gridZIndex),this.axisGroup=K("axis","",ie.zIndex),this.labelGroup=K("axis-labels","-labels",ie.labels.zIndex))}getOffset(){let T=this,{chart:L,horiz:U,options:ie,side:N,ticks:K,tickPositions:b,coll:z}=T,Y=L.inverted&&!T.isZAxis?[1,0,3,2][N]:N,W=T.hasData(),j=ie.title,ne=ie.labels,se=g(ie.crossing),ce=L.axisOffset,oe=L.clipOffset,re=[-1,1,1,-1][N],te,ae=0,le,fe=0,me=0,ge,_e;if(T.showAxis=te=W||ie.showEmpty,T.staggerLines=T.horiz&&ne.staggerLines||void 0,T.createGroups(),W||T.isLinked?(b.forEach(function(Ce){T.generateTick(Ce)}),T.renderUnsquish(),T.reserveSpaceDefault=N===0||N===2||{1:"left",3:"right"}[N]===T.labelAlign,V(ne.reserveSpace,!se&&null,T.labelAlign==="center"||null,T.reserveSpaceDefault)&&b.forEach(function(Ce){me=Math.max(K[Ce].getLabelSize(),me)}),T.staggerLines&&(me*=T.staggerLines),T.labelOffset=me*(T.opposite?-1:1)):G(K,function(Ce,xe){Ce.destroy(),delete K[xe]}),j!=null&&j.text&&j.enabled!==!1&&(T.addTitle(te),te&&!se&&j.reserveSpace!==!1&&(T.titleOffset=ae=T.axisTitle.getBBox()[U?"height":"width"],fe=$(le=j.offset)?0:V(j.margin,U?5:10))),T.renderLine(),T.offset=re*V(ie.offset,ce[N]?ce[N]+(ie.margin||0):0),T.tickRotCorr=T.tickRotCorr||{x:0,y:0},_e=N===0?-T.labelMetrics().h:N===2?T.tickRotCorr.y:0,ge=Math.abs(me)+fe,me&&(ge-=_e,ge+=re*(U?V(ne.y,T.tickRotCorr.y+re*ne.distance):V(ne.x,re*ne.distance))),T.axisTitleMargin=V(le,ge),T.getMaxLabelDimensions&&(T.maxLabelDimensions=T.getMaxLabelDimensions(K,b)),z!=="colorAxis"&&oe){let Ce=this.tickSize("tick");ce[N]=Math.max(ce[N],(T.axisTitleMargin||0)+ae+re*T.offset,ge,b&&b.length&&Ce?Ce[0]+re*T.offset:0);let xe=!T.axisLine||ie.offset?0:T.axisLine.strokeWidth()/2;oe[Y]=Math.max(oe[Y],xe)}k(this,"afterGetOffset")}getLinePath(T){let L=this.chart,U=this.opposite,ie=this.offset,N=this.horiz,K=this.left+(U?this.width:0)+ie,b=L.chartHeight-this.bottom-(U?this.height:0)+ie;return U&&(T*=-1),L.renderer.crispLine([["M",N?this.left:K,N?b:this.top],["L",N?L.chartWidth-this.right:K,N?b:L.chartHeight-this.bottom]],T)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(T){let L=this.horiz,U=this.left,ie=this.top,N=this.len,K=this.options.title,b=L?U:ie,z=this.opposite,Y=this.offset,W=K.x,j=K.y,ne=this.chart.renderer.fontMetrics(T),se=T?Math.max(T.getBBox(!1,0).height-ne.h-1,0):0,ce={low:b+(L?0:N),middle:b+N/2,high:b+(L?N:0)}[K.align],oe=(L?ie+this.height:U)+(L?1:-1)*(z?-1:1)*(this.axisTitleMargin||0)+[-se,se,ne.f,-se][this.side],re={x:L?ce+W:oe+(z?this.width:0)+Y+W,y:L?oe+j-(z?this.height:0)+Y:ce+j};return k(this,"afterGetTitlePosition",{titlePosition:re}),re}renderMinorTick(T,L){let U=this.minorTicks;U[T]||(U[T]=new u(this,T,"minor")),L&&U[T].isNew&&U[T].render(null,!0),U[T].render(null,!1,1)}renderTick(T,L,U){let ie=this.isLinked,N=this.ticks;(!ie||T>=this.min&&T<=this.max||this.grid&&this.grid.isColumn)&&(N[T]||(N[T]=new u(this,T)),U&&N[T].isNew&&N[T].render(L,!0,-1),N[T].render(L))}render(){let T,L,U=this,ie=U.chart,N=U.logarithmic,K=ie.renderer,b=U.options,z=U.isLinked,Y=U.tickPositions,W=U.axisTitle,j=U.ticks,ne=U.minorTicks,se=U.alternateBands,ce=b.stackLabels,oe=b.alternateGridColor,re=b.crossing,te=U.tickmarkOffset,ae=U.axisLine,le=U.showAxis,fe=m(K.globalAnimation);if(U.labelEdge.length=0,U.overlap=!1,[j,ne,se].forEach(function(me){G(me,function(ge){ge.isActive=!1})}),g(re)){let me=this.isXAxis?ie.yAxis[0]:ie.xAxis[0],ge=[1,-1,-1,1][this.side];if(me){let _e=me.toPixels(re,!0);U.horiz&&(_e=me.len-_e),U.offset=ge*_e}}if(U.hasData()||z){let me=U.chart.hasRendered&&U.old&&g(U.old.min);U.minorTickInterval&&!U.categories&&U.getMinorTickPositions().forEach(function(ge){U.renderMinorTick(ge,me)}),Y.length&&(Y.forEach(function(ge,_e){U.renderTick(ge,_e,me)}),te&&(U.min===0||U.single)&&(j[-1]||(j[-1]=new u(U,-1,null,!0)),j[-1].render(-1))),oe&&Y.forEach(function(ge,_e){L=Y[_e+1]!==void 0?Y[_e+1]+te:U.max-te,_e%2==0&&ge<U.max&&L<=U.max+(ie.polar?-te:te)&&(se[ge]||(se[ge]=new c.PlotLineOrBand(U,{})),T=ge+te,se[ge].options={from:N?N.lin2log(T):T,to:N?N.lin2log(L):L,color:oe,className:"highcharts-alternate-grid"},se[ge].render(),se[ge].isActive=!0)}),U._addedPlotLB||(U._addedPlotLB=!0,(b.plotLines||[]).concat(b.plotBands||[]).forEach(function(ge){U.addPlotBandOrLine(ge)}))}[j,ne,se].forEach(function(me){let ge=[],_e=fe.duration;G(me,function(Ce,xe){Ce.isActive||(Ce.render(xe,!1,0),Ce.isActive=!1,ge.push(xe))}),O(function(){let Ce=ge.length;for(;Ce--;)me[ge[Ce]]&&!me[ge[Ce]].isActive&&(me[ge[Ce]].destroy(),delete me[ge[Ce]])},me!==se&&ie.hasRendered&&_e?_e:0)}),ae&&(ae[ae.isPlaced?"animate":"attr"]({d:this.getLinePath(ae.strokeWidth())}),ae.isPlaced=!0,ae[le?"show":"hide"](le)),W&&le&&(W[W.isNew?"attr":"animate"](U.getTitlePosition(W)),W.isNew=!1),ce&&ce.enabled&&U.stacking&&U.stacking.renderStackTotals(),U.old={len:U.len,max:U.max,min:U.min,transA:U.transA,userMax:U.userMax,userMin:U.userMin},U.isDirty=!1,k(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(T){T.render()})),this.series.forEach(function(T){T.isDirty=!0})}getKeepProps(){return this.keepProps||H.keepProps}destroy(T){let L=this,U=L.plotLinesAndBands,ie=this.eventOptions;if(k(this,"destroy",{keepEvents:T}),T||ee(L),[L.ticks,L.minorTicks,L.alternateBands].forEach(function(N){B(N)}),U){let N=U.length;for(;N--;)U[N].destroy()}for(let N in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(K){L[K]&&(L[K]=L[K].destroy())}),L.plotLinesAndBandsGroups)L.plotLinesAndBandsGroups[N]=L.plotLinesAndBandsGroups[N].destroy();G(L,function(N,K){L.getKeepProps().indexOf(K)===-1&&delete L[K]}),this.eventOptions=ie}drawCrosshair(T,L){let U=this.crosshair,ie=V(U&&U.snap,!0),N=this.chart,K,b,z,Y=this.cross,W;if(k(this,"drawCrosshair",{e:T,point:L}),T||(T=this.cross&&this.cross.e),U&&($(L)||!ie)!==!1){if(ie?$(L)&&(b=V(this.coll!=="colorAxis"?L.crosshairPos:null,this.isXAxis?L.plotX:this.len-L.plotY)):b=T&&(this.horiz?T.chartX-this.pos:this.len-T.chartY+this.pos),$(b)&&(W={value:L&&(this.isXAxis?L.x:V(L.stackY,L.y)),translatedValue:b},N.polar&&F(W,{isCrosshair:!0,chartX:T&&T.chartX,chartY:T&&T.chartY,point:L}),K=this.getPlotLinePath(W)||null),!$(K)){this.hideCrosshair();return}z=this.categories&&!this.isRadial,Y||(this.cross=Y=N.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(z?"category ":"thin ")+(U.className||"")).attr({zIndex:V(U.zIndex,2)}).add(),!N.styledMode&&(Y.attr({stroke:U.color||(z?s.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":V(U.width,1)}).css({"pointer-events":"none"}),U.dashStyle&&Y.attr({dashstyle:U.dashStyle}))),Y.show().attr({d:K}),z&&!U.width&&Y.attr({"stroke-width":this.transA}),this.cross.e=T}else this.hideCrosshair();k(this,"afterDrawCrosshair",{e:T,point:L})}hideCrosshair(){this.cross&&this.cross.hide(),k(this,"afterHideCrosshair")}update(T,L){let U=this.chart;T=R(this.userOptions,T),this.destroy(!0),this.init(U,T),U.isDirtyBox=!0,V(L,!0)&&U.redraw()}remove(T){let L=this.chart,U=this.coll,ie=this.series,N=ie.length;for(;N--;)ie[N]&&ie[N].remove(!1);Q(L.axes,this),Q(L[U]||[],this),L.orderItems(U),this.destroy(),L.isDirtyBox=!0,V(T,!0)&&L.redraw()}setTitle(T,L){this.update({title:T},L)}setCategories(T,L){this.update({categories:T},L)}}return H.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],H}),i(n,"Core/Axis/DateTimeAxis.js",[n["Core/Utilities.js"]],function(r){var a;let{addEvent:s,getMagnitude:o,normalizeTickInterval:l,timeUnits:c}=r;return function(u){function d(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function m(){if(this.type!=="datetime"){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new v(this))}u.compose=function(h){return h.keepProps.includes("dateTime")||(h.keepProps.push("dateTime"),h.prototype.getTimeTicks=d,s(h,"afterSetType",m)),h};class v{constructor(f){this.axis=f}normalizeTimeTickInterval(f,w){let _=w||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],y=_[_.length-1],x=c[y[0]],A=y[1],E;for(E=0;E<_.length&&(x=c[(y=_[E])[0]],A=y[1],!_[E+1]||!(f<=(x*A[A.length-1]+c[_[E+1][0]])/2));E++);x===c.year&&f<5*x&&(A=[1,2,5]);let $=l(f/x,A,y[0]==="year"?Math.max(o(f/x),1):1);return{unitRange:x,count:$,unitName:y[0]}}getXDateFormat(f,w){let{axis:_}=this,y=_.chart.time;return _.closestPointRange?y.getDateFormat(_.closestPointRange,f,_.options.startOfWeek,w)||y.resolveDTLFormat(w.year).main:y.resolveDTLFormat(w.day).main}}u.Additions=v}(a||(a={})),a}),i(n,"Core/Axis/LogarithmicAxis.js",[n["Core/Utilities.js"]],function(r){var a;let{addEvent:s,normalizeTickInterval:o,pick:l}=r;return function(c){function u(){this.type!=="logarithmic"?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new m(this))}function d(){let v=this.logarithmic;v&&(this.lin2val=function(h){return v.lin2log(h)},this.val2lin=function(h){return v.log2lin(h)})}c.compose=function(v){return v.keepProps.includes("logarithmic")||(v.keepProps.push("logarithmic"),s(v,"afterSetType",u),s(v,"afterInit",d)),v};class m{constructor(h){this.axis=h}getLogTickPositions(h,f,w,_){let y=this.axis,x=y.len,A=y.options,E=[];if(_||(this.minorAutoInterval=void 0),h>=.5)h=Math.round(h),E=y.getLinearTickPositions(h,f,w);else if(h>=.08){let $,B,Q,I,F,k,P,C=Math.floor(f);for($=h>.3?[1,2,4]:h>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],B=C;B<w+1&&!P;B++)for(Q=0,I=$.length;Q<I&&!P;Q++)(F=this.log2lin(this.lin2log(B)*$[Q]))>f&&(!_||k<=w)&&k!==void 0&&E.push(k),k>w&&(P=!0),k=F}else{let $=this.lin2log(f),B=this.lin2log(w),Q=_?y.getMinorTickInterval():A.tickInterval,I=A.tickPixelInterval/(_?5:1),F=_?x/y.tickPositions.length:x;h=o(h=l(Q==="auto"?null:Q,this.minorAutoInterval,(B-$)*I/(F||1))),E=y.getLinearTickPositions(h,$,B).map(this.log2lin),_||(this.minorAutoInterval=h/5)}return _||(y.tickInterval=h),E}lin2log(h){return Math.pow(10,h)}log2lin(h){return Math.log(h)/Math.LN10}}c.Additions=m}(a||(a={})),a}),i(n,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[n["Core/Utilities.js"]],function(r){var a;let{erase:s,extend:o,isNumber:l}=r;return function(c){let u;function d(y){return this.addPlotBandOrLine(y,"plotBands")}function m(y,x){let A=this.userOptions,E=new u(this,y);if(this.visible&&(E=E.render()),E){if(this._addedPlotLB||(this._addedPlotLB=!0,(A.plotLines||[]).concat(A.plotBands||[]).forEach($=>{this.addPlotBandOrLine($)})),x){let $=A[x]||[];$.push(y),A[x]=$}this.plotLinesAndBands.push(E)}return E}function v(y){return this.addPlotBandOrLine(y,"plotLines")}function h(y,x,A){A=A||this.options;let E=this.getPlotLinePath({value:x,force:!0,acrossPanes:A.acrossPanes}),$=[],B=this.horiz,Q=!l(this.min)||!l(this.max)||y<this.min&&x<this.min||y>this.max&&x>this.max,I=this.getPlotLinePath({value:y,force:!0,acrossPanes:A.acrossPanes}),F,k=1,P;if(I&&E)for(Q&&(P=I.toString()===E.toString(),k=0),F=0;F<I.length;F+=2){let C=I[F],p=I[F+1],g=E[F],D=E[F+1];(C[0]==="M"||C[0]==="L")&&(p[0]==="M"||p[0]==="L")&&(g[0]==="M"||g[0]==="L")&&(D[0]==="M"||D[0]==="L")&&(B&&g[1]===C[1]?(g[1]+=k,D[1]+=k):B||g[2]!==C[2]||(g[2]+=k,D[2]+=k),$.push(["M",C[1],C[2]],["L",p[1],p[2]],["L",D[1],D[2]],["L",g[1],g[2]],["Z"])),$.isFlat=P}return $}function f(y){this.removePlotBandOrLine(y)}function w(y){let x=this.plotLinesAndBands,A=this.options,E=this.userOptions;if(x){let $=x.length;for(;$--;)x[$].id===y&&x[$].destroy();[A.plotLines||[],E.plotLines||[],A.plotBands||[],E.plotBands||[]].forEach(function(B){for($=B.length;$--;)(B[$]||{}).id===y&&s(B,B[$])})}}function _(y){this.removePlotBandOrLine(y)}c.compose=function(y,x){let A=x.prototype;return A.addPlotBand||(u=y,o(A,{addPlotBand:d,addPlotLine:v,addPlotBandOrLine:m,getPlotBandPath:h,removePlotBand:f,removePlotLine:_,removePlotBandOrLine:w})),x}}(a||(a={})),a}),i(n,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[n["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],n["Core/Utilities.js"]],function(r,a){let{addEvent:s,arrayMax:o,arrayMin:l,defined:c,destroyObjectProperties:u,erase:d,fireEvent:m,merge:v,objectEach:h,pick:f}=a;class w{static compose(y,x){return s(y,"afterInit",function(){this.labelCollectors.push(()=>{var E;let A=[];for(let $ of this.axes)for(let{label:B,options:Q}of $.plotLinesAndBands)B&&!((E=Q==null?void 0:Q.label)!=null&&E.allowOverlap)&&A.push(B);return A})}),r.compose(w,x)}constructor(y,x){this.axis=y,this.options=x,this.id=x.id}render(){m(this,"render");let{axis:y,options:x}=this,{horiz:A,logarithmic:E}=y,{color:$,events:B,zIndex:Q=0}=x,I={},F=y.chart.renderer,k=x.to,P=x.from,C=x.value,p=x.borderWidth,g=x.label,{label:D,svgElem:R}=this,Z=[],G,V=c(P)&&c(k),X=c(C),ee=!R,S={class:"highcharts-plot-"+(V?"band ":"line ")+(x.className||"")},O=V?"bands":"lines";if(!y.chart.styledMode&&(X?(S.stroke=$||"#999999",S["stroke-width"]=f(x.width,1),x.dashStyle&&(S.dashstyle=x.dashStyle)):V&&(S.fill=$||"#e6e9ff",p&&(S.stroke=x.borderColor,S["stroke-width"]=p))),I.zIndex=Q,O+="-"+Q,(G=y.plotLinesAndBandsGroups[O])||(y.plotLinesAndBandsGroups[O]=G=F.g("plot-"+O).attr(I).add()),R||(this.svgElem=R=F.path().attr(S).add(G)),c(C))Z=y.getPlotLinePath({value:(E==null?void 0:E.log2lin(C))??C,lineWidth:R.strokeWidth(),acrossPanes:x.acrossPanes});else{if(!(c(P)&&c(k)))return;Z=y.getPlotBandPath((E==null?void 0:E.log2lin(P))??P,(E==null?void 0:E.log2lin(k))??k,x)}return!this.eventsAdded&&B&&(h(B,(M,H)=>{R==null||R.on(H,q=>{B[H].apply(this,[q])})}),this.eventsAdded=!0),(ee||!R.d)&&(Z!=null&&Z.length)?R.attr({d:Z}):R&&(Z?(R.show(),R.animate({d:Z})):R.d&&(R.hide(),D&&(this.label=D=D.destroy()))),g&&(c(g.text)||c(g.formatter))&&(Z!=null&&Z.length)&&y.width>0&&y.height>0&&!Z.isFlat?(g=v({align:A&&V?"center":void 0,x:A?!V&&4:10,verticalAlign:!A&&V?"middle":void 0,y:A?V?16:10:V?6:-4,rotation:A&&!V?90:0,...V?{inside:!0}:{}},g),this.renderLabel(g,Z,V,Q)):D&&D.hide(),this}renderLabel(y,x,A,E){var g;let $=this.axis,B=$.chart.renderer,Q=y.inside,I=this.label;I||(this.label=I=B.text(this.getLabelText(y),0,0,y.useHTML).attr({align:y.textAlign||y.align,rotation:y.rotation,class:"highcharts-plot-"+(A?"band":"line")+"-label "+(y.className||""),zIndex:E}),$.chart.styledMode||I.css(v({fontSize:"0.8em",textOverflow:A&&!Q?"":"ellipsis"},y.style)),I.add());let F=x.xBounds||[x[0][1],x[1][1],A?x[2][1]:x[0][1]],k=x.yBounds||[x[0][2],x[1][2],A?x[2][2]:x[0][2]],P=l(F),C=l(k),p=o(F)-P;I.align(y,!1,{x:P,y:C,width:p,height:o(k)-C}),(!I.alignValue||I.alignValue==="left"||c(Q))&&I.css({width:(((g=y.style)==null?void 0:g.width)||(A&&Q?p:I.rotation===90?$.height-(I.alignAttr.y-$.top):(y.clip?$.width:$.chart.chartWidth)-(I.alignAttr.x-$.left)))+"px"}),I.show(!0)}getLabelText(y){return c(y.formatter)?y.formatter.call(this):y.text}destroy(){d(this.axis.plotLinesAndBands,this),delete this.axis,u(this)}}return w}),i(n,"Core/Tooltip.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Templating.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],function(r,a,s,o,l,c){var u;let{animObject:d}=r,{format:m}=a,{composed:v,doc:h,isSafari:f}=s,{distribute:w}=o,{addEvent:_,clamp:y,css:x,discardElement:A,extend:E,fireEvent:$,isArray:B,isNumber:Q,isString:I,merge:F,pick:k,pushUnique:P,splat:C,syncTimeout:p}=c;class g{constructor(R,Z,G){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=R,this.init(R,Z),this.pointer=G}bodyFormatter(R){return R.map(function(Z){let G=Z.series.tooltipOptions;return(G[(Z.point.formatPrefix||"point")+"Formatter"]||Z.point.tooltipFormatter).call(Z.point,G[(Z.point.formatPrefix||"point")+"Format"]||"")})}cleanSplit(R){this.chart.series.forEach(function(Z){let G=Z&&Z.tt;G&&(!G.isActive||R?Z.tt=G.destroy():G.isActive=!1)})}defaultFormatter(R){let Z,G=this.points||C(this);return(Z=(Z=[R.tooltipFooterHeaderFormatter(G[0])]).concat(R.bodyFormatter(G))).push(R.tooltipFooterHeaderFormatter(G[0],!0)),Z}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),A(this.container)),c.clearTimeout(this.hideTimer)}getAnchor(R,Z){let G,{chart:V,pointer:X}=this,ee=V.inverted,S=V.plotTop,O=V.plotLeft;if((R=C(R))[0].series&&R[0].series.yAxis&&!R[0].series.yAxis.options.reversedStacks&&(R=R.slice().reverse()),this.followPointer&&Z)Z.chartX===void 0&&(Z=X.normalize(Z)),G=[Z.chartX-O,Z.chartY-S];else if(R[0].tooltipPos)G=R[0].tooltipPos;else{let M=0,H=0;R.forEach(function(q){let T=q.pos(!0);T&&(M+=T[0],H+=T[1])}),M/=R.length,H/=R.length,this.shared&&R.length>1&&Z&&(ee?M=Z.chartX:H=Z.chartY),G=[M-O,H-S]}return G.map(Math.round)}getClassName(R,Z,G){let V=this.options,X=R.series,ee=X.options;return[V.className,"highcharts-label",G&&"highcharts-tooltip-header",Z?"highcharts-tooltip-box":"highcharts-tooltip",!G&&"highcharts-color-"+k(R.colorIndex,X.colorIndex),ee&&ee.className].filter(I).join(" ")}getLabel({anchorX:R,anchorY:Z}={anchorX:0,anchorY:0}){let G=this,V=this.chart.styledMode,X=this.options,ee=this.split&&this.allowShared,S=this.container,O=this.chart.renderer;if(this.label){let M=!this.label.hasClass("highcharts-label");(!ee&&M||ee&&!M)&&this.destroy()}if(!this.label){if(this.outside){let M=this.chart.options.chart.style,H=l.getRendererType();this.container=S=s.doc.createElement("div"),S.className="highcharts-tooltip-container",x(S,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(M&&M.zIndex||0)+3)}),this.renderer=O=new H(S,0,0,M,void 0,void 0,O.styledMode)}if(ee?this.label=O.g("tooltip"):(this.label=O.label("",R,Z,X.shape,void 0,void 0,X.useHTML,void 0,"tooltip").attr({padding:X.padding,r:X.borderRadius}),V||this.label.attr({fill:X.backgroundColor,"stroke-width":X.borderWidth||0}).css(X.style).css({pointerEvents:X.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),G.outside){let M=this.label;[M.xSetter,M.ySetter].forEach((H,q)=>{M[q?"ySetter":"xSetter"]=T=>{H.call(M,G.distance),M[q?"y":"x"]=T,S&&(S.style[q?"top":"left"]=`${T}px`)}})}this.label.attr({zIndex:8}).shadow(X.shadow).add()}return S&&!S.parentElement&&s.doc.body.appendChild(S),this.label}getPlayingField(){let{body:R,documentElement:Z}=h,{chart:G,distance:V,outside:X}=this;return{width:X?Math.max(R.scrollWidth,Z.scrollWidth,R.offsetWidth,Z.offsetWidth,Z.clientWidth)-2*V:G.chartWidth,height:X?Math.max(R.scrollHeight,Z.scrollHeight,R.offsetHeight,Z.offsetHeight,Z.clientHeight):G.chartHeight}}getPosition(R,Z,G){var fe,me;let{distance:V,chart:X,outside:ee,pointer:S}=this,{inverted:O,plotLeft:M,plotTop:H,polar:q}=X,{plotX:T=0,plotY:L=0}=G,U={},ie=O&&G.h||0,{height:N,width:K}=this.getPlayingField(),b=S.getChartPosition(),z=ge=>ge*b.scaleX,Y=ge=>ge*b.scaleY,W=ge=>{let _e=ge==="x";return[ge,_e?K:N,_e?R:Z].concat(ee?[_e?z(R):Y(Z),_e?b.left-V+z(T+M):b.top-V+Y(L+H),0,_e?K:N]:[_e?R:Z,_e?T+M:L+H,_e?M:H,_e?M+X.plotWidth:H+X.plotHeight])},j=W("y"),ne=W("x"),se,ce=!!G.negative;!q&&((me=(fe=X.hoverSeries)==null?void 0:fe.yAxis)!=null&&me.reversed)&&(ce=!ce);let oe=!this.followPointer&&k(G.ttBelow,!q&&!O===ce),re=function(ge,_e,Ce,xe,Se,Pe,Le){let Te=ee?ge==="y"?Y(V):z(V):V,Me=(Ce-xe)/2,$e=xe<Se-V,Ye=Se+V+xe<_e,Ge=Se-Te-Ce+Me,Xe=Se+Te-Me;if(oe&&Ye)U[ge]=Xe;else if(!oe&&$e)U[ge]=Ge;else if($e)U[ge]=Math.min(Le-xe,Ge-ie<0?Ge:Ge-ie);else{if(!Ye)return!1;U[ge]=Math.max(Pe,Xe+ie+Ce>_e?Xe:Xe+ie)}},te=function(ge,_e,Ce,xe,Se){if(Se<V||Se>_e-V)return!1;Se<Ce/2?U[ge]=1:Se>_e-xe/2?U[ge]=_e-xe-2:U[ge]=Se-Ce/2},ae=function(ge){[j,ne]=[ne,j],se=ge},le=()=>{re.apply(0,j)!==!1?te.apply(0,ne)!==!1||se||(ae(!0),le()):se?U.x=U.y=0:(ae(!0),le())};return(O&&!q||this.len>1)&&ae(),le(),U}hide(R){let Z=this;c.clearTimeout(this.hideTimer),R=k(R,this.options.hideDelay),this.isHidden||(this.hideTimer=p(function(){let G=Z.getLabel();Z.getLabel().animate({opacity:0},{duration:R&&150,complete:()=>{G.hide(),Z.container&&Z.container.remove()}}),Z.isHidden=!0},R))}init(R,Z){this.chart=R,this.options=Z,this.crosshairs=[],this.isHidden=!0,this.split=Z.split&&!R.inverted&&!R.polar,this.shared=Z.shared||this.split,this.outside=k(Z.outside,!!(R.scrollablePixelsX||R.scrollablePixelsY))}shouldStickOnContact(R){return!!(!this.followPointer&&this.options.stickOnContact&&(!R||this.pointer.inClass(R.target,"highcharts-tooltip")))}move(R,Z,G,V){let X=this,ee=d(!X.isHidden&&X.options.animation),S=X.followPointer||(X.len||0)>1,O={x:R,y:Z};S||(O.anchorX=G,O.anchorY=V),ee.step=()=>X.drawTracker(),X.getLabel().animate(O,ee)}refresh(R,Z){let{chart:G,options:V,pointer:X,shared:ee}=this,S=C(R),O=S[0],M=[],H=V.format,q=V.formatter||this.defaultFormatter,T=G.styledMode,L={},U=this.allowShared;if(!V.enabled||!O.series)return;c.clearTimeout(this.hideTimer),this.allowShared=!(!B(R)&&R.series&&R.series.noSharedTooltip),U=U&&!this.allowShared,this.followPointer=!this.split&&O.series.tooltipOptions.followPointer;let ie=this.getAnchor(R,Z),N=ie[0],K=ie[1];ee&&this.allowShared?(X.applyInactiveState(S),S.forEach(function(Y){Y.setState("hover"),M.push(Y.getLabelConfig())}),(L=O.getLabelConfig()).points=M):L=O.getLabelConfig(),this.len=M.length;let b=I(H)?m(H,L,G):q.call(L,this),z=O.series;if(this.distance=k(z.tooltipOptions.distance,16),b===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(b,S);else{let Y=N,W=K;if(Z&&X.isDirectTouch&&(Y=Z.chartX-G.plotLeft,W=Z.chartY-G.plotTop),G.polar||z.options.clip===!1||S.some(j=>X.isDirectTouch||j.series.shouldShowTooltip(Y,W))){let j=this.getLabel(U&&this.tt||{});(!V.style.width||T)&&j.css({width:(this.outside?this.getPlayingField():G.spacingBox).width+"px"}),j.attr({class:this.getClassName(O),text:b&&b.join?b.join(""):b}),this.outside&&j.attr({x:y(j.x||0,0,this.getPlayingField().width-(j.width||0))}),T||j.attr({stroke:V.borderColor||O.color||z.color||"#666666"}),this.updatePosition({plotX:N,plotY:K,negative:O.negative,ttBelow:O.ttBelow,h:ie[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}$(this,"refresh")}renderSplit(R,Z){var _e;let G=this,{chart:V,chart:{chartWidth:X,chartHeight:ee,plotHeight:S,plotLeft:O,plotTop:M,scrollablePixelsY:H=0,scrollablePixelsX:q,styledMode:T},distance:L,options:U,options:{positioner:ie},pointer:N}=G,{scrollLeft:K=0,scrollTop:b=0}=((_e=V.scrollablePlotArea)==null?void 0:_e.scrollingContainer)||{},z=G.outside&&typeof q!="number"?h.documentElement.getBoundingClientRect():{left:K,right:K+X,top:b,bottom:b+ee},Y=G.getLabel(),W=this.renderer||V.renderer,j=!!(V.xAxis[0]&&V.xAxis[0].opposite),{left:ne,top:se}=N.getChartPosition(),ce=M+b,oe=0,re=S-H;function te(Ce,xe,Se,Pe,Le=!0){let Te,Me;return Se?(Te=j?0:re,Me=y(Ce-Pe/2,z.left,z.right-Pe-(G.outside?ne:0))):(Te=xe-ce,Me=y(Me=Le?Ce-Pe-L:Ce+L,Le?Me:z.left,z.right)),{x:Me,y:Te}}I(R)&&(R=[!1,R]);let ae=R.slice(0,Z.length+1).reduce(function(Ce,xe,Se){if(xe!==!1&&xe!==""){let Pe=Z[Se-1]||{isHeader:!0,plotX:Z[0].plotX,plotY:S,series:{}},Le=Pe.isHeader,Te=Le?G:Pe.series,Me=Te.tt=function(et,at,bt){let ye=et,{isHeader:Ae,series:Ee}=at;if(!ye){let Ie={padding:U.padding,r:U.borderRadius};T||(Ie.fill=U.backgroundColor,Ie["stroke-width"]=U.borderWidth??1),ye=W.label("",0,0,U[Ae?"headerShape":"shape"],void 0,void 0,U.useHTML).addClass(G.getClassName(at,!0,Ae)).attr(Ie).add(Y)}return ye.isActive=!0,ye.attr({text:bt}),T||ye.css(U.style).attr({stroke:U.borderColor||at.color||Ee.color||"#333333"}),ye}(Te.tt,Pe,xe.toString()),$e=Me.getBBox(),Ye=$e.width+Me.strokeWidth();Le&&(oe=$e.height,re+=oe,j&&(ce-=oe));let{anchorX:Ge,anchorY:Xe}=function(et){let at,bt,{isHeader:ye,plotX:Ae=0,plotY:Ee=0,series:Ie}=et;if(ye)at=Math.max(O+Ae,O),bt=M+S/2;else{let{xAxis:je,yAxis:Fe}=Ie;at=je.pos+y(Ae,-L,je.len+L),Ie.shouldShowTooltip(0,Fe.pos-M+Ee,{ignoreX:!0})&&(bt=Fe.pos+Ee)}return{anchorX:at=y(at,z.left-L,z.right+L),anchorY:bt}}(Pe);if(typeof Xe=="number"){let et=$e.height+1,at=ie?ie.call(G,Ye,et,Pe):te(Ge,Xe,Le,Ye);Ce.push({align:ie?0:void 0,anchorX:Ge,anchorY:Xe,boxWidth:Ye,point:Pe,rank:k(at.rank,Le?1:0),size:et,target:at.y,tt:Me,x:at.x})}else Me.isActive=!1}return Ce},[]);!ie&&ae.some(Ce=>{let{outside:xe}=G,Se=(xe?ne:0)+Ce.anchorX;return Se<z.left&&Se+Ce.boxWidth<z.right||Se<ne-z.left+Ce.boxWidth&&z.right-Se>Se})&&(ae=ae.map(Ce=>{let{x:xe,y:Se}=te(Ce.anchorX,Ce.anchorY,Ce.point.isHeader,Ce.boxWidth,!1);return E(Ce,{target:Se,x:xe})})),G.cleanSplit(),w(ae,re);let le={left:ne,right:ne};ae.forEach(function(Ce){let{x:xe,boxWidth:Se,isHeader:Pe}=Ce;!Pe&&(G.outside&&ne+xe<le.left&&(le.left=ne+xe),!Pe&&G.outside&&le.left+Se>le.right&&(le.right=ne+xe))}),ae.forEach(function(Ce){let{x:xe,anchorX:Se,anchorY:Pe,pos:Le,point:{isHeader:Te}}=Ce,Me={visibility:Le===void 0?"hidden":"inherit",x:xe,y:(Le||0)+ce,anchorX:Se,anchorY:Pe};if(G.outside&&xe<Se){let $e=ne-le.left;$e>0&&(Te||(Me.x=xe+$e,Me.anchorX=Se+$e),Te&&(Me.x=(le.right-le.left)/2,Me.anchorX=Se+$e))}Ce.tt.attr(Me)});let{container:fe,outside:me,renderer:ge}=G;if(me&&fe&&ge){let{width:Ce,height:xe,x:Se,y:Pe}=Y.getBBox();ge.setSize(Ce+Se,xe+Pe,!1),fe.style.left=le.left+"px",fe.style.top=se+"px"}f&&Y.attr({opacity:Y.opacity===1?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let R=this.chart,Z=this.label,G=this.shared?R.hoverPoints:R.hoverPoint;if(!Z||!G)return;let V={x:0,y:0,width:0,height:0},X=this.getAnchor(G),ee=Z.getBBox();X[0]+=R.plotLeft-(Z.translateX||0),X[1]+=R.plotTop-(Z.translateY||0),V.x=Math.min(0,X[0]),V.y=Math.min(0,X[1]),V.width=X[0]<0?Math.max(Math.abs(X[0]),ee.width-X[0]):Math.max(Math.abs(X[0]),ee.width),V.height=X[1]<0?Math.max(Math.abs(X[1]),ee.height-Math.abs(X[1])):Math.max(Math.abs(X[1]),ee.height),this.tracker?this.tracker.attr(V):(this.tracker=Z.renderer.rect(V).addClass("highcharts-tracker").add(Z),R.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(R){return R.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(R,Z){let G=R.series,V=G.tooltipOptions,X=G.xAxis,ee=X&&X.dateTime,S={isFooter:Z,labelConfig:R},O=V.xDateFormat,M=V[Z?"footerFormat":"headerFormat"];return $(this,"headerFormatter",S,function(H){ee&&!O&&Q(R.key)&&(O=ee.getXDateFormat(R.key,V.dateTimeLabelFormats)),ee&&O&&(R.point&&R.point.tooltipDateKeys||["key"]).forEach(function(q){M=M.replace("{point."+q+"}","{point."+q+":"+O+"}")}),G.chart.styledMode&&(M=this.styledModeFormat(M)),H.text=m(M,{point:R,series:G},this.chart)}),S.text}update(R){this.destroy(),this.init(this.chart,F(!0,this.options,R))}updatePosition(R){let{chart:Z,container:G,distance:V,options:X,pointer:ee,renderer:S}=this,{height:O=0,width:M=0}=this.getLabel(),{left:H,top:q,scaleX:T,scaleY:L}=ee.getChartPosition(),U=(X.positioner||this.getPosition).call(this,M,O,R),ie=(R.plotX||0)+Z.plotLeft,N=(R.plotY||0)+Z.plotTop,K;S&&G&&(X.positioner&&(U.x+=H-V,U.y+=q-V),K=(X.borderWidth||0)+2*V+2,S.setSize(M+K,O+K,!1),(T!==1||L!==1)&&(x(G,{transform:`scale(${T}, ${L})`}),ie*=T,N*=L),ie+=H-U.x,N+=q-U.y),this.move(Math.round(U.x),Math.round(U.y||0),ie,N)}}return(u=g||(g={})).compose=function(D){P(v,"Core.Tooltip")&&_(D,"afterInit",function(){let R=this.chart;R.options.tooltip&&(R.tooltip=new u(R,R.options.tooltip,this))})},g}),i(n,"Core/Series/Point.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/Templating.js"],n["Core/Utilities.js"]],function(r,a,s,o,l){let{animObject:c}=a,{defaultOptions:u}=s,{format:d}=o,{addEvent:m,crisp:v,erase:h,extend:f,fireEvent:w,getNestedProperty:_,isArray:y,isFunction:x,isNumber:A,isObject:E,merge:$,pick:B,syncTimeout:Q,removeEvent:I,uniqueKey:F}=l;class k{animateBeforeDestroy(){let C=this,p={x:C.startXPos,opacity:0},g=C.getGraphicalProps();g.singular.forEach(function(D){C[D]=C[D].animate(D==="dataLabel"?{x:C[D].startXPos,y:C[D].startYPos,opacity:0}:p)}),g.plural.forEach(function(D){C[D].forEach(function(R){R.element&&R.animate(f({x:C.startXPos},R.startYPos?{x:R.startXPos,y:R.startYPos}:{}))})})}applyOptions(C,p){let g=this.series,D=g.options.pointValKey||g.pointValKey;return f(this,C=k.prototype.optionsToObject.call(this,C)),this.options=this.options?f(this.options,C):C,C.group&&delete this.group,C.dataLabels&&delete this.dataLabels,D&&(this.y=k.prototype.getNestedProperty.call(this,D)),this.selected&&(this.state="select"),"name"in this&&p===void 0&&g.xAxis&&g.xAxis.hasNames&&(this.x=g.xAxis.nameToX(this)),this.x===void 0&&g?this.x=p??g.autoIncrement():A(C.x)&&g.options.relativeXValue&&(this.x=g.autoIncrement(C.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let C=this,p=C.series,g=p.chart,D=p.options.dataSorting,R=g.hoverPoints,Z=c(C.series.chart.renderer.globalAnimation),G=()=>{for(let V in(C.graphic||C.graphics||C.dataLabel||C.dataLabels)&&(I(C),C.destroyElements()),C)delete C[V]};C.legendItem&&g.legend.destroyItem(C),R&&(C.setState(),h(R,C),R.length||(g.hoverPoints=null)),C===g.hoverPoint&&C.onMouseOut(),D&&D.enabled?(this.animateBeforeDestroy(),Q(G,Z.duration)):G(),g.pointCount--}this.destroyed=!0}destroyElements(C){let p=this,g=p.getGraphicalProps(C);g.singular.forEach(function(D){p[D]=p[D].destroy()}),g.plural.forEach(function(D){p[D].forEach(function(R){R&&R.element&&R.destroy()}),delete p[D]})}firePointEvent(C,p,g){let D=this,R=this.series.options;D.manageEvent(C),C==="click"&&R.allowPointSelect&&(g=function(Z){!D.destroyed&&D.select&&D.select(null,Z.ctrlKey||Z.metaKey||Z.shiftKey)}),w(D,C,p,g)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(this.colorIndex!==void 0?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(C){let p,g,D=this,R=[],Z={singular:[],plural:[]};for((C=C||{graphic:1,dataLabel:1}).graphic&&R.push("graphic","connector"),C.dataLabel&&R.push("dataLabel","dataLabelPath","dataLabelUpper"),g=R.length;g--;)D[p=R[g]]&&Z.singular.push(p);return["graphic","dataLabel"].forEach(function(G){let V=G+"s";C[G]&&D[V]&&Z.plural.push(V)}),Z}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(C){return C?C.indexOf("custom.")===0?_(C,this.options):this[C]:void 0}getZone(){let C=this.series,p=C.zones,g=C.zoneAxis||"y",D,R=0;for(D=p[0];this[g]>=D.value;)D=p[++R];return this.nonZonedColor||(this.nonZonedColor=this.color),D&&D.color&&!this.options.color?this.color=D.color:this.color=this.nonZonedColor,D}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(C,p,g){this.formatPrefix="point",this.visible=!0,this.series=C,this.applyOptions(p,g),this.id??(this.id=F()),this.resolveColor(),C.chart.pointCount++,w(this,"afterInit")}isValid(){return(A(this.x)||this.x instanceof Date)&&A(this.y)}optionsToObject(C){let p=this.series,g=p.options.keys,D=g||p.pointArrayMap||["y"],R=D.length,Z={},G,V=0,X=0;if(A(C)||C===null)Z[D[0]]=C;else if(y(C))for(!g&&C.length>R&&((G=typeof C[0])=="string"?Z.name=C[0]:G==="number"&&(Z.x=C[0]),V++);X<R;)g&&C[V]===void 0||(D[X].indexOf(".")>0?k.prototype.setNestedProperty(Z,C[V],D[X]):Z[D[X]]=C[V]),V++,X++;else typeof C=="object"&&(Z=C,C.dataLabels&&(p.hasDataLabels=()=>!0),C.marker&&(p._hasPointMarkers=!0));return Z}pos(C,p=this.plotY){if(!this.destroyed){let{plotX:g,series:D}=this,{chart:R,xAxis:Z,yAxis:G}=D,V=0,X=0;if(A(g)&&A(p))return C&&(V=Z?Z.pos:R.plotLeft,X=G?G.pos:R.plotTop),R.inverted&&Z&&G?[G.len-p+X,Z.len-g+V]:[g+V,p+X]}}resolveColor(){let C=this.series,p=C.chart.options.chart,g=C.chart.styledMode,D,R,Z=p.colorCount,G;delete this.nonZonedColor,C.options.colorByPoint?(g||(D=(R=C.options.colors||C.chart.options.colors)[C.colorCounter],Z=R.length),G=C.colorCounter,C.colorCounter++,C.colorCounter===Z&&(C.colorCounter=0)):(g||(D=C.color),G=C.colorIndex),this.colorIndex=B(this.options.colorIndex,G),this.color=B(this.options.color,D)}setNestedProperty(C,p,g){return g.split(".").reduce(function(D,R,Z,G){let V=G.length-1===Z;return D[R]=V?p:E(D[R],!0)?D[R]:{},D[R]},C),C}shouldDraw(){return!this.isNull}tooltipFormatter(C){let p=this.series,g=p.tooltipOptions,D=B(g.valueDecimals,""),R=g.valuePrefix||"",Z=g.valueSuffix||"";return p.chart.styledMode&&(C=p.chart.tooltip.styledModeFormat(C)),(p.pointArrayMap||["y"]).forEach(function(G){G="{point."+G,(R||Z)&&(C=C.replace(RegExp(G+"}","g"),R+G+"}"+Z)),C=C.replace(RegExp(G+"}","g"),G+":,."+D+"f}")}),d(C,{point:this,series:this.series},p.chart)}update(C,p,g,D){let R,Z=this,G=Z.series,V=Z.graphic,X=G.chart,ee=G.options;function S(){Z.applyOptions(C);let O=V&&Z.hasMockGraphic,M=Z.y===null?!O:O;V&&M&&(Z.graphic=V.destroy(),delete Z.hasMockGraphic),E(C,!0)&&(V&&V.element&&C&&C.marker&&C.marker.symbol!==void 0&&(Z.graphic=V.destroy()),C!=null&&C.dataLabels&&Z.dataLabel&&(Z.dataLabel=Z.dataLabel.destroy())),R=Z.index,G.updateParallelArrays(Z,R),ee.data[R]=E(ee.data[R],!0)||E(C,!0)?Z.options:B(C,ee.data[R]),G.isDirty=G.isDirtyData=!0,!G.fixedBox&&G.hasCartesianSeries&&(X.isDirtyBox=!0),ee.legendType==="point"&&(X.isDirtyLegend=!0),p&&X.redraw(g)}p=B(p,!0),D===!1?S():Z.firePointEvent("update",{options:C},S)}remove(C,p){this.series.removePoint(this.series.data.indexOf(this),C,p)}select(C,p){let g=this,D=g.series,R=D.chart;C=B(C,!g.selected),this.selectedStaging=C,g.firePointEvent(C?"select":"unselect",{accumulate:p},function(){g.selected=g.options.selected=C,D.options.data[D.data.indexOf(g)]=g.options,g.setState(C&&"select"),p||R.getSelectedPoints().forEach(function(Z){let G=Z.series;Z.selected&&Z!==g&&(Z.selected=Z.options.selected=!1,G.options.data[G.data.indexOf(Z)]=Z.options,Z.setState(R.hoverPoints&&G.options.inactiveOtherPoints?"inactive":""),Z.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(C){let{inverted:p,pointer:g}=this.series.chart;g&&(C=C?g.normalize(C):g.getChartCoordinatesFromPoint(this,p),g.runPointActions(C,this))}onMouseOut(){let C=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(C.hoverPoints||[]).forEach(function(p){p.setState()}),C.hoverPoints=C.hoverPoint=null}manageEvent(C){var D,R,Z,G,V,X;let p=$(this.series.options.point,this.options),g=(D=p.events)==null?void 0:D[C];x(g)&&(!((R=this.hcEvents)!=null&&R[C])||((G=(Z=this.hcEvents)==null?void 0:Z[C])==null?void 0:G.map(ee=>ee.fn).indexOf(g))===-1)?((V=this.importedUserEvent)==null||V.call(this),this.importedUserEvent=m(this,C,g)):this.importedUserEvent&&!g&&((X=this.hcEvents)!=null&&X[C])&&(I(this,C),delete this.hcEvents[C],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(C,p){var b;let g=this.series,D=this.state,R=g.options.states[C||"normal"]||{},Z=u.plotOptions[g.type].marker&&g.options.marker,G=Z&&Z.enabled===!1,V=Z&&Z.states&&Z.states[C||"normal"]||{},X=V.enabled===!1,ee=this.marker||{},S=g.chart,O=Z&&g.markerAttribs,M=g.halo,H,q,T,L=g.stateMarkerGraphic,U;if((C=C||"")===this.state&&!p||this.selected&&C!=="select"||R.enabled===!1||C&&(X||G&&V.enabled===!1)||C&&ee.states&&ee.states[C]&&ee.states[C].enabled===!1)return;if(this.state=C,O&&(H=g.markerAttribs(this,C)),this.graphic&&!this.hasMockGraphic){if(D&&this.graphic.removeClass("highcharts-point-"+D),C&&this.graphic.addClass("highcharts-point-"+C),!S.styledMode){q=g.pointAttribs(this,C),T=B(S.options.chart.animation,R.animation);let z=q.opacity;g.options.inactiveOtherPoints&&A(z)&&(this.dataLabels||[]).forEach(function(Y){Y&&!Y.hasClass("highcharts-data-label-hidden")&&(Y.animate({opacity:z},T),Y.connector&&Y.connector.animate({opacity:z},T))}),this.graphic.animate(q,T)}H&&this.graphic.animate(H,B(S.options.chart.animation,V.animation,Z.animation)),L&&L.hide()}else C&&V&&(U=ee.symbol||g.symbol,L&&L.currentSymbol!==U&&(L=L.destroy()),H&&(L?L[p?"animate":"attr"]({x:H.x,y:H.y}):U&&(g.stateMarkerGraphic=L=S.renderer.symbol(U,H.x,H.y,H.width,H.height).add(g.markerGroup),L.currentSymbol=U)),!S.styledMode&&L&&this.state!=="inactive"&&L.attr(g.pointAttribs(this,C))),L&&(L[C&&this.isInside?"show":"hide"](),L.element.point=this,L.addClass(this.getClassName(),!0));let ie=R.halo,N=this.graphic||L,K=N&&N.visibility||"inherit";ie&&ie.size&&N&&K!=="hidden"&&!this.isCluster?(M||(g.halo=M=S.renderer.path().add(N.parentGroup)),M.show()[p?"animate":"attr"]({d:this.haloPath(ie.size)}),M.attr({class:"highcharts-halo highcharts-color-"+B(this.colorIndex,g.colorIndex)+(this.className?" "+this.className:""),visibility:K,zIndex:-1}),M.point=this,S.styledMode||M.attr(f({fill:this.color||g.color,"fill-opacity":ie.opacity},r.filterUserAttributes(ie.attributes||{})))):(b=M==null?void 0:M.point)!=null&&b.haloPath&&!M.point.destroyed&&M.animate({d:M.point.haloPath(0)},null,M.hide),w(this,"afterSetState",{state:C})}haloPath(C){let p=this.pos();return p?this.series.chart.renderer.symbols.circle(v(p[0],1)-C,p[1]-C,2*C,2*C):[]}}return k}),i(n,"Core/Pointer.js",[n["Core/Color/Color.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a,s){var o;let{parse:l}=r,{charts:c,composed:u,isTouchDevice:d}=a,{addEvent:m,attr:v,css:h,extend:f,find:w,fireEvent:_,isNumber:y,isObject:x,objectEach:A,offset:E,pick:$,pushUnique:B,splat:Q}=s;class I{applyInactiveState(k){let P=[],C;(k||[]).forEach(function(p){C=p.series,P.push(C),C.linkedParent&&P.push(C.linkedParent),C.linkedSeries&&(P=P.concat(C.linkedSeries)),C.navigatorSeries&&P.push(C.navigatorSeries)}),this.chart.series.forEach(function(p){P.indexOf(p)===-1?p.setState("inactive",!0):p.options.inactiveOtherPoints&&p.setAllPointsToState("inactive")})}destroy(){let k=this;this.eventsToUnbind.forEach(P=>P()),this.eventsToUnbind=[],!a.chartCount&&(I.unbindDocumentMouseUp&&I.unbindDocumentMouseUp.forEach(P=>P()),I.unbindDocumentTouchEnd&&(I.unbindDocumentTouchEnd=I.unbindDocumentTouchEnd())),clearInterval(k.tooltipTimeout),A(k,function(P,C){k[C]=void 0})}getSelectionMarkerAttrs(k,P){let C={args:{chartX:k,chartY:P},attrs:{},shapeType:"rect"};return _(this,"getSelectionMarkerAttrs",C,p=>{let g,{chart:D,zoomHor:R,zoomVert:Z}=this,{mouseDownX:G=0,mouseDownY:V=0}=D,X=p.attrs;X.x=D.plotLeft,X.y=D.plotTop,X.width=R?1:D.plotWidth,X.height=Z?1:D.plotHeight,R&&(g=k-G,X.width=Math.max(1,Math.abs(g)),X.x=(g>0?0:g)+G),Z&&(g=P-V,X.height=Math.max(1,Math.abs(g)),X.y=(g>0?0:g)+V)}),C}drag(k){let{chart:P}=this,{mouseDownX:C=0,mouseDownY:p=0}=P,{panning:g,panKey:D,selectionMarkerFill:R}=P.options.chart,Z=P.plotLeft,G=P.plotTop,V=P.plotWidth,X=P.plotHeight,ee=x(g)?g.enabled:g,S=D&&k[`${D}Key`],O=k.chartX,M=k.chartY,H,q=this.selectionMarker;if((!q||!q.touch)&&(O<Z?O=Z:O>Z+V&&(O=Z+V),M<G?M=G:M>G+X&&(M=G+X),this.hasDragged=Math.sqrt(Math.pow(C-O,2)+Math.pow(p-M,2)),this.hasDragged>10)){H=P.isInsidePlot(C-Z,p-G,{visiblePlotOnly:!0});let{shapeType:T,attrs:L}=this.getSelectionMarkerAttrs(O,M);(P.hasCartesianSeries||P.mapView)&&this.hasZoom&&H&&!S&&!q&&(this.selectionMarker=q=P.renderer[T](),q.attr({class:"highcharts-selection-marker",zIndex:7}).add(),P.styledMode||q.attr({fill:R||l("#334eff").setOpacity(.25).get()})),q&&q.attr(L),H&&!q&&ee&&P.pan(k,g)}}dragStart(k){let P=this.chart;P.mouseIsDown=k.type,P.cancelClick=!1,P.mouseDownX=k.chartX,P.mouseDownY=k.chartY}getSelectionBox(k){let P={args:{marker:k},result:k.getBBox()};return _(this,"getSelectionBox",P),P.result}drop(k){let P,{chart:C,selectionMarker:p}=this;for(let g of C.axes)g.isPanning&&(g.isPanning=!1,(g.options.startOnTick||g.options.endOnTick||g.series.some(D=>D.boosted))&&(g.forceRedraw=!0,g.setExtremes(g.userMin,g.userMax,!1),P=!0));if(P&&C.redraw(),p&&k){if(this.hasDragged){let g=this.getSelectionBox(p);C.transform({axes:C.axes.filter(D=>D.zoomEnabled&&(D.coll==="xAxis"&&this.zoomX||D.coll==="yAxis"&&this.zoomY)),selection:{originalEvent:k,xAxis:[],yAxis:[],...g},from:g})}y(C.index)&&(this.selectionMarker=p.destroy())}C&&y(C.index)&&(h(C.container,{cursor:C._cursor}),C.cancelClick=this.hasDragged>10,C.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(k,P,C){let p;return k.forEach(function(g){let D=!(g.noSharedTooltip&&P)&&0>g.options.findNearestPointBy.indexOf("y"),R=g.searchPoint(C,D);x(R,!0)&&R.series&&(!x(p,!0)||function(Z,G){var S,O;let V=Z.distX-G.distX,X=Z.dist-G.dist,ee=((S=G.series.group)==null?void 0:S.zIndex)-((O=Z.series.group)==null?void 0:O.zIndex);return V!==0&&P?V:X!==0?X:ee!==0?ee:Z.series.index>G.series.index?-1:1}(p,R)>0)&&(p=R)}),p}getChartCoordinatesFromPoint(k,P){let{xAxis:C,yAxis:p}=k.series,g=k.shapeArgs;if(C&&p){let D=k.clientX??k.plotX??0,R=k.plotY||0;return k.isNode&&g&&y(g.x)&&y(g.y)&&(D=g.x,R=g.y),P?{chartX:p.len+p.pos-R,chartY:C.len+C.pos-D}:{chartX:D+C.pos,chartY:R+p.pos}}if(g&&g.x&&g.y)return{chartX:g.x,chartY:g.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:k}=this.chart,P=E(k);this.chartPosition={left:P.left,top:P.top,scaleX:1,scaleY:1};let{offsetHeight:C,offsetWidth:p}=k;return p>2&&C>2&&(this.chartPosition.scaleX=P.width/p,this.chartPosition.scaleY=P.height/C),this.chartPosition}getCoordinates(k){let P={xAxis:[],yAxis:[]};for(let C of this.chart.axes)P[C.isXAxis?"xAxis":"yAxis"].push({axis:C,value:C.toValue(k[C.horiz?"chartX":"chartY"])});return P}getHoverData(k,P,C,p,g,D){let R=[],Z=function(S){return S.visible&&!(!g&&S.directTouch)&&$(S.options.enableMouseTracking,!0)},G=P,V,X={chartX:D?D.chartX:void 0,chartY:D?D.chartY:void 0,shared:g};_(this,"beforeGetHoverData",X),V=G&&!G.stickyTracking?[G]:C.filter(S=>S.stickyTracking&&(X.filter||Z)(S));let ee=p&&k||!D?k:this.findNearestKDPoint(V,g,D);return G=ee&&ee.series,ee&&(g&&!G.noSharedTooltip?(V=C.filter(function(S){return X.filter?X.filter(S):Z(S)&&!S.noSharedTooltip})).forEach(function(S){let O=w(S.points,function(M){return M.x===ee.x&&!M.isNull});x(O)&&(S.boosted&&S.boost&&(O=S.boost.getPoint(O)),R.push(O))}):R.push(ee)),_(this,"afterGetHoverData",X={hoverPoint:ee}),{hoverPoint:X.hoverPoint,hoverSeries:G,hoverPoints:R}}getPointFromEvent(k){let P=k.target,C;for(;P&&!C;)C=P.point,P=P.parentNode;return C}onTrackerMouseOut(k){let P=this.chart,C=k.relatedTarget,p=P.hoverSeries;this.isDirectTouch=!1,!p||!C||p.stickyTracking||this.inClass(C,"highcharts-tooltip")||this.inClass(C,"highcharts-series-"+p.index)&&this.inClass(C,"highcharts-tracker")||p.onMouseOut()}inClass(k,P){let C=k,p;for(;C;){if(p=v(C,"class")){if(p.indexOf(P)!==-1)return!0;if(p.indexOf("highcharts-container")!==-1)return!1}C=C.parentElement}}constructor(k,P){var C;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=P,this.chart=k,this.runChartClick=!!((C=P.chart.events)!=null&&C.click),this.pinchDown=[],this.setDOMEvents(),_(this,"afterInit")}normalize(k,P){let C=k.touches,p=C?C.length?C.item(0):$(C.changedTouches,k.changedTouches)[0]:k;P||(P=this.getChartPosition());let g=p.pageX-P.left,D=p.pageY-P.top;return f(k,{chartX:Math.round(g/=P.scaleX),chartY:Math.round(D/=P.scaleY)})}onContainerClick(k){let P=this.chart,C=P.hoverPoint,p=this.normalize(k),g=P.plotLeft,D=P.plotTop;!P.cancelClick&&(C&&this.inClass(p.target,"highcharts-tracker")?(_(C.series,"click",f(p,{point:C})),P.hoverPoint&&C.firePointEvent("click",p)):(f(p,this.getCoordinates(p)),P.isInsidePlot(p.chartX-g,p.chartY-D,{visiblePlotOnly:!0})&&_(P,"click",p)))}onContainerMouseDown(k){var C;let P=(1&(k.buttons||k.button))==1;k=this.normalize(k),a.isFirefox&&k.button!==0&&this.onContainerMouseMove(k),(k.button===void 0||P)&&(this.zoomOption(k),P&&((C=k.preventDefault)==null||C.call(k)),this.dragStart(k))}onContainerMouseLeave(k){let{pointer:P}=c[$(I.hoverChartIndex,-1)]||{};k=this.normalize(k),this.onContainerMouseMove(k),P&&!this.inClass(k.relatedTarget,"highcharts-tooltip")&&(P.reset(),P.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(k){let P=this.chart,C=P.tooltip,p=this.normalize(k);this.setHoverChartIndex(k),(P.mouseIsDown==="mousedown"||this.touchSelect(p))&&this.drag(p),!P.openMenu&&(this.inClass(p.target,"highcharts-tracker")||P.isInsidePlot(p.chartX-P.plotLeft,p.chartY-P.plotTop,{visiblePlotOnly:!0}))&&!(C&&C.shouldStickOnContact(p))&&(this.inClass(p.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(p))}onDocumentTouchEnd(k){this.onDocumentMouseUp(k)}onContainerTouchMove(k){this.touchSelect(k)?this.onContainerMouseMove(k):this.touch(k)}onContainerTouchStart(k){this.touchSelect(k)?this.onContainerMouseDown(k):(this.zoomOption(k),this.touch(k,!0))}onDocumentMouseMove(k){let P=this.chart,C=P.tooltip,p=this.chartPosition,g=this.normalize(k,p);!p||P.isInsidePlot(g.chartX-P.plotLeft,g.chartY-P.plotTop,{visiblePlotOnly:!0})||C&&C.shouldStickOnContact(g)||g.target!==P.container.ownerDocument&&this.inClass(g.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(k){var P,C;(C=(P=c[$(I.hoverChartIndex,-1)])==null?void 0:P.pointer)==null||C.drop(k)}pinch(k){let P=this,{chart:C,hasZoom:p,lastTouches:g}=P,D=[].map.call(k.touches||[],X=>P.normalize(X)),R=D.length,Z=R===1&&(P.inClass(k.target,"highcharts-tracker")&&C.runTrackerClick||P.runChartClick),G=C.tooltip,V=R===1&&$(G==null?void 0:G.options.followTouchMove,!0);R>1?P.initiated=!0:V&&(P.initiated=!1),p&&P.initiated&&!Z&&k.cancelable!==!1&&k.preventDefault(),k.type==="touchstart"?(P.pinchDown=D,P.res=!0,C.mouseDownX=k.chartX):V?this.runPointActions(P.normalize(k)):g&&(_(C,"touchpan",{originalEvent:k,touches:D},()=>{let X=ee=>{let S=ee[0],O=ee[1]||S;return{x:S.chartX,y:S.chartY,width:O.chartX-S.chartX,height:O.chartY-S.chartY}};C.transform({axes:C.axes.filter(ee=>ee.zoomEnabled&&(this.zoomHor&&ee.horiz||this.zoomVert&&!ee.horiz)),to:X(D),from:X(g),trigger:k.type})}),P.res&&(P.res=!1,this.reset(!1,0))),P.lastTouches=D}reset(k,P){let C=this.chart,p=C.hoverSeries,g=C.hoverPoint,D=C.hoverPoints,R=C.tooltip,Z=R&&R.shared?D:g;k&&Z&&Q(Z).forEach(function(G){G.series.isCartesian&&G.plotX===void 0&&(k=!1)}),k?R&&Z&&Q(Z).length&&(R.refresh(Z),R.shared&&D?D.forEach(function(G){G.setState(G.state,!0),G.series.isCartesian&&(G.series.xAxis.crosshair&&G.series.xAxis.drawCrosshair(null,G),G.series.yAxis.crosshair&&G.series.yAxis.drawCrosshair(null,G))}):g&&(g.setState(g.state,!0),C.axes.forEach(function(G){G.crosshair&&g.series[G.coll]===G&&G.drawCrosshair(null,g)}))):(g&&g.onMouseOut(),D&&D.forEach(function(G){G.setState()}),p&&p.onMouseOut(),R&&R.hide(P),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),C.axes.forEach(function(G){G.hideCrosshair()}),C.hoverPoints=C.hoverPoint=void 0)}runPointActions(k,P,C){let p=this.chart,g=p.series,D=p.tooltip&&p.tooltip.options.enabled?p.tooltip:void 0,R=!!D&&D.shared,Z=P||p.hoverPoint,G=Z&&Z.series||p.hoverSeries,V=(!k||k.type!=="touchmove")&&(!!P||G&&G.directTouch&&this.isDirectTouch),X=this.getHoverData(Z,G,g,V,R,k);Z=X.hoverPoint,G=X.hoverSeries;let ee=X.hoverPoints,S=G&&G.tooltipOptions.followPointer&&!G.tooltipOptions.split,O=R&&G&&!G.noSharedTooltip;if(Z&&(C||Z!==p.hoverPoint||D&&D.isHidden)){if((p.hoverPoints||[]).forEach(function(M){ee.indexOf(M)===-1&&M.setState()}),p.hoverSeries!==G&&G.onMouseOver(),this.applyInactiveState(ee),(ee||[]).forEach(function(M){M.setState("hover")}),p.hoverPoint&&p.hoverPoint.firePointEvent("mouseOut"),!Z.series)return;p.hoverPoints=ee,p.hoverPoint=Z,Z.firePointEvent("mouseOver",void 0,()=>{D&&Z&&D.refresh(O?ee:Z,k)})}else if(S&&D&&!D.isHidden){let M=D.getAnchor([{}],k);p.isInsidePlot(M[0],M[1],{visiblePlotOnly:!0})&&D.updatePosition({plotX:M[0],plotY:M[1]})}this.unDocMouseMove||(this.unDocMouseMove=m(p.container.ownerDocument,"mousemove",M=>{var H,q;return(q=(H=c[I.hoverChartIndex??-1])==null?void 0:H.pointer)==null?void 0:q.onDocumentMouseMove(M)}),this.eventsToUnbind.push(this.unDocMouseMove)),p.axes.forEach(function(M){let H,q=$((M.crosshair||{}).snap,!0);!q||(H=p.hoverPoint)&&H.series[M.coll]===M||(H=w(ee,T=>T.series&&T.series[M.coll]===M)),H||!q?M.drawCrosshair(k,H):M.hideCrosshair()})}setDOMEvents(){let k=this.chart.container,P=k.ownerDocument;k.onmousedown=this.onContainerMouseDown.bind(this),k.onmousemove=this.onContainerMouseMove.bind(this),k.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(m(k,"mouseenter",this.onContainerMouseEnter.bind(this)),m(k,"mouseleave",this.onContainerMouseLeave.bind(this))),I.unbindDocumentMouseUp||(I.unbindDocumentMouseUp=[]),I.unbindDocumentMouseUp.push(m(P,"mouseup",this.onDocumentMouseUp.bind(this)));let C=this.chart.renderTo.parentElement;for(;C&&C.tagName!=="BODY";)this.eventsToUnbind.push(m(C,"scroll",()=>{delete this.chartPosition})),C=C.parentElement;this.eventsToUnbind.push(m(k,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),m(k,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),I.unbindDocumentTouchEnd||(I.unbindDocumentTouchEnd=m(P,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),m(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var g,D;if(!d)return;let k=this.pointerCaptureEventsToUnbind,P=this.chart,C=P.container,p=$((g=P.options.tooltip)==null?void 0:g.followTouchMove,!0)&&P.series.some(R=>R.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&p?(k.push(m(C,"pointerdown",R=>{var Z,G;(Z=R.target)!=null&&Z.hasPointerCapture(R.pointerId)&&((G=R.target)==null||G.releasePointerCapture(R.pointerId))}),m(C,"pointermove",R=>{var Z,G;(G=(Z=P.pointer)==null?void 0:Z.getPointFromEvent(R))==null||G.onMouseOver(R)})),P.styledMode||h(C,{"touch-action":"none"}),C.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!p&&(k.forEach(R=>R()),k.length=0,P.styledMode||h(C,{"touch-action":$((D=P.options.chart.style)==null?void 0:D["touch-action"],"manipulation")}),C.className=C.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(k){var p;let P=this.chart,C=a.charts[$(I.hoverChartIndex,-1)];if(C&&C!==P){let g={relatedTarget:P.container};k&&!(k!=null&&k.relatedTarget)&&(k={...g,...k}),(p=C.pointer)==null||p.onContainerMouseLeave(k||g)}C&&C.mouseIsDown||(I.hoverChartIndex=P.index)}touch(k,P){let C,{chart:p,pinchDown:g=[]}=this;this.setHoverChartIndex(),(k=this.normalize(k)).touches.length===1?p.isInsidePlot(k.chartX-p.plotLeft,k.chartY-p.plotTop,{visiblePlotOnly:!0})&&!p.openMenu?(P&&this.runPointActions(k),k.type==="touchmove"&&(C=!!g[0]&&Math.pow(g[0].chartX-k.chartX,2)+Math.pow(g[0].chartY-k.chartY,2)>=16),$(C,!0)&&this.pinch(k)):P&&this.reset():k.touches.length===2&&this.pinch(k)}touchSelect(k){return!!(this.chart.zooming.singleTouch&&k.touches&&k.touches.length===1)}zoomOption(k){let P=this.chart,C=P.inverted,p=P.zooming.type||"",g,D;/touch/.test(k.type)&&(p=$(P.zooming.pinchType,p)),this.zoomX=g=/x/.test(p),this.zoomY=D=/y/.test(p),this.zoomHor=g&&!C||D&&C,this.zoomVert=D&&!C||g&&C,this.hasZoom=g||D}}return(o=I||(I={})).compose=function(F){B(u,"Core.Pointer")&&m(F,"beforeRender",function(){this.pointer=new o(this,this.options)})},I}),i(n,"Core/Legend/LegendSymbol.js",[n["Core/Utilities.js"]],function(r){var a;let{extend:s,merge:o,pick:l}=r;return function(c){function u(d,m,v){var C,p;let h=this.legendItem=this.legendItem||{},{chart:f,options:w}=this,{baseline:_=0,symbolWidth:y,symbolHeight:x}=d,A=this.symbol||"circle",E=x/2,$=f.renderer,B=h.group,Q=_-Math.round((((C=d.fontMetrics)==null?void 0:C.b)||x)*(v?.4:.3)),I={},F,k=w.marker,P=0;if(f.styledMode||(I["stroke-width"]=Math.min(w.lineWidth||0,24),w.dashStyle?I.dashstyle=w.dashStyle:w.linecap==="square"||(I["stroke-linecap"]="round")),h.line=$.path().addClass("highcharts-graph").attr(I).add(B),v&&(h.area=$.path().addClass("highcharts-area").add(B)),I["stroke-linecap"]&&(P=Math.min(h.line.strokeWidth(),y)/2),y){let g=[["M",P,Q],["L",y-P,Q]];h.line.attr({d:g}),(p=h.area)==null||p.attr({d:[...g,["L",y-P,_],["L",P,_]]})}if(k&&k.enabled!==!1&&y){let g=Math.min(l(k.radius,E),E);A.indexOf("url")===0&&(k=o(k,{width:x,height:x}),g=0),h.symbol=F=$.symbol(A,y/2-g,Q-g,2*g,2*g,s({context:"legend"},k)).addClass("highcharts-point").add(B),F.isMarker=!0}}c.areaMarker=function(d,m){u.call(this,d,m,!0)},c.lineMarker=u,c.rectangle=function(d,m){let v=m.legendItem||{},h=d.options,f=d.symbolHeight,w=h.squareSymbol,_=w?f:d.symbolWidth;v.symbol=this.chart.renderer.rect(w?(d.symbolWidth-f)/2:0,d.baseline-f+1,_,f,l(d.options.symbolRadius,f/2)).addClass("highcharts-point").attr({zIndex:3}).add(v.group)}}(a||(a={})),a}),i(n,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:r}=this.series.chart;return typeof this.y!="number"?"":r(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),i(n,"Core/Series/SeriesRegistry.js",[n["Core/Globals.js"],n["Core/Defaults.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],function(r,a,s,o){var l;let{defaultOptions:c}=a,{extend:u,extendClass:d,merge:m}=o;return function(v){function h(f,w){let _=c.plotOptions||{},y=w.defaultOptions,x=w.prototype;return x.type=f,x.pointClass||(x.pointClass=s),!v.seriesTypes[f]&&(y&&(_[f]=y),v.seriesTypes[f]=w,!0)}v.seriesTypes=r.seriesTypes,v.registerSeriesType=h,v.seriesType=function(f,w,_,y,x){let A=c.plotOptions||{};if(w=w||"",A[f]=m(A[w],_),delete v.seriesTypes[f],h(f,d(v.seriesTypes[w]||function(){},y)),v.seriesTypes[f].prototype.type=f,x){class E extends s{}u(E.prototype,x),v.seriesTypes[f].prototype.pointClass=E}return v.seriesTypes[f]}}(l||(l={})),l}),i(n,"Core/Series/Series.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Defaults.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Series/Point.js"],n["Core/Series/SeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Utilities.js"]],function(r,a,s,o,l,c,u,d,m,v){let{animObject:h,setAnimation:f}=r,{defaultOptions:w}=a,{registerEventOptions:_}=s,{svg:y,win:x}=o,{seriesTypes:A}=d,{arrayMax:E,arrayMin:$,clamp:B,correctFloat:Q,crisp:I,defined:F,destroyObjectProperties:k,diffObjects:P,erase:C,error:p,extend:g,find:D,fireEvent:R,getClosestDistance:Z,getNestedProperty:G,insertItem:V,isArray:X,isNumber:ee,isString:S,merge:O,objectEach:M,pick:H,removeEvent:q,splat:T,syncTimeout:L}=v;class U{constructor(){this.zoneAxis="y"}init(N,K){let b;R(this,"init",{options:K});let z=this,Y=N.series;this.eventsToUnbind=[],z.chart=N,z.options=z.setOptions(K);let W=z.options,j=W.visible!==!1;z.linkedSeries=[],z.bindAxes(),g(z,{name:W.name,state:"",visible:j,selected:W.selected===!0}),_(this,W);let ne=W.events;(ne&&ne.click||W.point&&W.point.events&&W.point.events.click||W.allowPointSelect)&&(N.runTrackerClick=!0),z.getColor(),z.getSymbol(),z.parallelArrays.forEach(function(se){z[se+"Data"]||(z[se+"Data"]=[])}),z.isCartesian&&(N.hasCartesianSeries=!0),Y.length&&(b=Y[Y.length-1]),z._i=H(b&&b._i,-1)+1,z.opacity=z.options.opacity,N.orderItems("series",V(this,Y)),W.dataSorting&&W.dataSorting.enabled?z.setDataSortingOptions():z.points||z.data||z.setData(W.data,!1),R(this,"afterInit")}is(N){return A[N]&&this instanceof A[N]}bindAxes(){let N,K=this,b=K.options,z=K.chart;R(this,"bindAxes",null,function(){(K.axisTypes||[]).forEach(function(Y){(z[Y]||[]).forEach(function(W){N=W.options,(H(b[Y],0)===W.index||b[Y]!==void 0&&b[Y]===N.id)&&(V(K,W.series),K[Y]=W,W.isDirty=!0)}),K[Y]||K.optionalAxis===Y||p(18,!0,z)})}),R(this,"afterBindAxes")}updateParallelArrays(N,K,b){let z=N.series,Y=ee(K)?function(W){let j=W==="y"&&z.toYData?z.toYData(N):N[W];z[W+"Data"][K]=j}:function(W){Array.prototype[K].apply(z[W+"Data"],b)};z.parallelArrays.forEach(Y)}hasData(){return this.visible&&this.dataMax!==void 0&&this.dataMin!==void 0||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(N,K){let b=N.marker,z=K.marker||{};return b&&(z.enabled&&!b.enabled||z.symbol!==b.symbol||z.height!==b.height||z.width!==b.width)}autoIncrement(N){let K=this.options,b=K.pointIntervalUnit,z=K.relativeXValue,Y=this.chart.time,W=this.xIncrement,j,ne;return W=H(W,K.pointStart,0),this.pointInterval=ne=H(this.pointInterval,K.pointInterval,1),z&&ee(N)&&(ne*=N),b&&(j=new Y.Date(W),b==="day"?Y.set("Date",j,Y.get("Date",j)+ne):b==="month"?Y.set("Month",j,Y.get("Month",j)+ne):b==="year"&&Y.set("FullYear",j,Y.get("FullYear",j)+ne),ne=j.getTime()-W),z&&ee(N)?W+ne:(this.xIncrement=W+ne,W)}setDataSortingOptions(){let N=this.options;g(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),F(N.pointRange)||(N.pointRange=1)}setOptions(N){var fe,me;let K,b=this.chart,z=b.options.plotOptions,Y=b.userOptions||{},W=O(N),j=b.styledMode,ne={plotOptions:z,userOptions:W};R(this,"setOptions",ne);let se=ne.plotOptions[this.type],ce=Y.plotOptions||{},oe=ce.series||{},re=w.plotOptions[this.type]||{},te=ce[this.type]||{};this.userOptions=ne.userOptions;let ae=O(se,z.series,te,W);this.tooltipOptions=O(w.tooltip,(fe=w.plotOptions.series)==null?void 0:fe.tooltip,re==null?void 0:re.tooltip,b.userOptions.tooltip,(me=ce.series)==null?void 0:me.tooltip,te.tooltip,W.tooltip),this.stickyTracking=H(W.stickyTracking,te.stickyTracking,oe.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||ae.stickyTracking),se.marker===null&&delete ae.marker,this.zoneAxis=ae.zoneAxis||"y";let le=this.zones=(ae.zones||[]).map(ge=>({...ge}));return(ae.negativeColor||ae.negativeFillColor)&&!ae.zones&&(K={value:ae[this.zoneAxis+"Threshold"]||ae.threshold||0,className:"highcharts-negative"},j||(K.color=ae.negativeColor,K.fillColor=ae.negativeFillColor),le.push(K)),le.length&&F(le[le.length-1].value)&&le.push(j?{}:{color:this.color,fillColor:this.fillColor}),R(this,"afterSetOptions",{options:ae}),ae}getName(){return H(this.options.name,"Series "+(this.index+1))}getCyclic(N,K,b){let z,Y,W=this.chart,j=`${N}Index`,ne=`${N}Counter`,se=(b==null?void 0:b.length)||W.options.chart.colorCount;!K&&(F(Y=H(N==="color"?this.options.colorIndex:void 0,this[j]))?z=Y:(W.series.length||(W[ne]=0),z=W[ne]%se,W[ne]+=1),b&&(K=b[z])),z!==void 0&&(this[j]=z),this[N]=K}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||w.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let N=this.options.marker;this.getCyclic("symbol",N.symbol,this.chart.options.symbols)}findPointIndex(N,K){let b,z,Y,W=N.id,j=N.x,ne=this.points,se=this.options.dataSorting;if(W){let ce=this.chart.get(W);ce instanceof c&&(b=ce)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let ce=oe=>!oe.touched&&oe.index===N.index;if(se&&se.matchByName?ce=oe=>!oe.touched&&oe.name===N.name:this.options.relativeXValue&&(ce=oe=>!oe.touched&&oe.options.x===N.x),!(b=D(ne,ce)))return}return b&&(Y=b&&b.index)!==void 0&&(z=!0),Y===void 0&&ee(j)&&(Y=this.xData.indexOf(j,K)),Y!==-1&&Y!==void 0&&this.cropped&&(Y=Y>=this.cropStart?Y-this.cropStart:Y),!z&&ee(Y)&&ne[Y]&&ne[Y].touched&&(Y=void 0),Y}updateData(N,K){let b=this.options,z=b.dataSorting,Y=this.points,W=[],j=this.requireSorting,ne=N.length===Y.length,se,ce,oe,re,te=!0;if(this.xIncrement=null,N.forEach(function(ae,le){let fe,me=F(ae)&&this.pointClass.prototype.optionsToObject.call({series:this},ae)||{},ge=me.x;me.id||ee(ge)?((fe=this.findPointIndex(me,re))===-1||fe===void 0?W.push(ae):Y[fe]&&ae!==b.data[fe]?(Y[fe].update(ae,!1,null,!1),Y[fe].touched=!0,j&&(re=fe+1)):Y[fe]&&(Y[fe].touched=!0),(!ne||le!==fe||z&&z.enabled||this.hasDerivedData)&&(se=!0)):W.push(ae)},this),se)for(ce=Y.length;ce--;)(oe=Y[ce])&&!oe.touched&&oe.remove&&oe.remove(!1,K);else!ne||z&&z.enabled?te=!1:(N.forEach(function(ae,le){ae===Y[le].y||Y[le].destroyed||Y[le].update(ae,!1,null,!1)}),W.length=0);return Y.forEach(function(ae){ae&&(ae.touched=!1)}),!!te&&(W.forEach(function(ae){this.addPoint(ae,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=E(this.xData),this.autoIncrement()),!0)}setData(N,K=!0,b,z){var Te;let Y=this,W=Y.points,j=W&&W.length||0,ne=Y.options,se=Y.chart,ce=ne.dataSorting,oe=Y.xAxis,re=ne.turboThreshold,te=this.xData,ae=this.yData,le=Y.pointArrayMap,fe=le&&le.length,me=ne.keys,ge,_e,Ce,xe=0,Se=1,Pe;se.options.chart.allowMutatingData||(ne.data&&delete Y.options.data,Y.userOptions.data&&delete Y.userOptions.data,Pe=O(!0,N));let Le=(N=Pe||N||[]).length;if(ce&&ce.enabled&&(N=this.sortData(N)),se.options.chart.allowMutatingData&&z!==!1&&Le&&j&&!Y.cropped&&!Y.hasGroupedData&&Y.visible&&!Y.boosted&&(Ce=this.updateData(N,b)),!Ce){Y.xIncrement=null,Y.colorCounter=0,this.parallelArrays.forEach(function($e){Y[$e+"Data"].length=0});let Me=re&&Le>re;if(Me){let $e=Y.getFirstValidPoint(N),Ye=Y.getFirstValidPoint(N,Le-1,-1),Ge=Xe=>!!(X(Xe)&&(me||ee(Xe[0])));if(ee($e)&&ee(Ye))for(ge=0;ge<Le;ge++)te[ge]=this.autoIncrement(),ae[ge]=N[ge];else if(Ge($e)&&Ge(Ye))if(fe)if($e.length===fe)for(ge=0;ge<Le;ge++)te[ge]=this.autoIncrement(),ae[ge]=N[ge];else for(ge=0;ge<Le;ge++)_e=N[ge],te[ge]=_e[0],ae[ge]=_e.slice(1,fe+1);else if(me&&(xe=me.indexOf("x"),Se=me.indexOf("y"),xe=xe>=0?xe:0,Se=Se>=0?Se:1),$e.length===1&&(Se=0),xe===Se)for(ge=0;ge<Le;ge++)te[ge]=this.autoIncrement(),ae[ge]=N[ge][Se];else for(ge=0;ge<Le;ge++)_e=N[ge],te[ge]=_e[xe],ae[ge]=_e[Se];else Me=!1}if(!Me)for(ge=0;ge<Le;ge++)_e={series:Y},Y.pointClass.prototype.applyOptions.apply(_e,[N[ge]]),Y.updateParallelArrays(_e,ge);for(ae&&S(ae[0])&&p(14,!0,se),Y.data=[],Y.options.data=Y.userOptions.data=N,ge=j;ge--;)(Te=W[ge])==null||Te.destroy();oe&&(oe.minRange=oe.userMinRange),Y.isDirty=se.isDirtyBox=!0,Y.isDirtyData=!!W,b=!1}ne.legendType==="point"&&(this.processData(),this.generatePoints()),K&&se.redraw(b)}sortData(N){let K=this,b=K.options.dataSorting.sortKey||"y",z=function(Y,W){return F(W)&&Y.pointClass.prototype.optionsToObject.call({series:Y},W)||{}};return N.forEach(function(Y,W){N[W]=z(K,Y),N[W].index=W},this),N.concat().sort((Y,W)=>{let j=G(b,Y),ne=G(b,W);return ne<j?-1:ne>j?1:0}).forEach(function(Y,W){Y.x=W},this),K.linkedSeries&&K.linkedSeries.forEach(function(Y){let W=Y.options,j=W.data;W.dataSorting&&W.dataSorting.enabled||!j||(j.forEach(function(ne,se){j[se]=z(Y,ne),N[se]&&(j[se].x=N[se].x,j[se].index=se)}),Y.setData(j,!1))}),N}getProcessedData(N){let K=this,b=K.xAxis,z=K.options.cropThreshold,Y=b==null?void 0:b.logarithmic,W=K.isCartesian,j,ne,se=0,ce,oe,re,te=K.xData,ae=K.yData,le=!1,fe=te.length;b&&(oe=(ce=b.getExtremes()).min,re=ce.max,le=!!(b.categories&&!b.names.length)),W&&K.sorted&&!N&&(!z||fe>z||K.forceCrop)&&(te[fe-1]<oe||te[0]>re?(te=[],ae=[]):K.yData&&(te[0]<oe||te[fe-1]>re)&&(te=(j=this.cropData(K.xData,K.yData,oe,re)).xData,ae=j.yData,se=j.start,ne=!0));let me=Z([Y?te.map(Y.log2lin):te],()=>K.requireSorting&&!le&&p(15,!1,K.chart));return{xData:te,yData:ae,cropped:ne,cropStart:se,closestPointRange:me}}processData(N){let K=this.xAxis;if(this.isCartesian&&!this.isDirty&&!K.isDirty&&!this.yAxis.isDirty&&!N)return!1;let b=this.getProcessedData();this.cropped=b.cropped,this.cropStart=b.cropStart,this.processedXData=b.xData,this.processedYData=b.yData,this.closestPointRange=this.basePointRange=b.closestPointRange,R(this,"afterProcessData")}cropData(N,K,b,z){let Y=N.length,W,j,ne=0,se=Y;for(W=0;W<Y;W++)if(N[W]>=b){ne=Math.max(0,W-1);break}for(j=W;j<Y;j++)if(N[j]>z){se=j+1;break}return{xData:N.slice(ne,se),yData:K.slice(ne,se),start:ne,end:se}}generatePoints(){let N=this.options,K=this.processedData||N.data,b=this.processedXData,z=this.processedYData,Y=this.pointClass,W=b.length,j=this.cropStart||0,ne=this.hasGroupedData,se=N.keys,ce=[],oe=N.dataGrouping&&N.dataGrouping.groupAll?j:0,re,te,ae,le,fe=this.data;if(!fe&&!ne){let me=[];me.length=K.length,fe=this.data=me}for(se&&ne&&(this.options.keys=!1),le=0;le<W;le++)te=j+le,ne?((ae=new Y(this,[b[le]].concat(T(z[le])))).dataGroup=this.groupMap[oe+le],ae.dataGroup.options&&(ae.options=ae.dataGroup.options,g(ae,ae.dataGroup.options),delete ae.dataLabels)):(ae=fe[te])||K[te]===void 0||(fe[te]=ae=new Y(this,K[te],b[le])),ae&&(ae.index=ne?oe+le:te,ce[le]=ae);if(this.options.keys=se,fe&&(W!==(re=fe.length)||ne))for(le=0;le<re;le++)le!==j||ne||(le+=W),fe[le]&&(fe[le].destroyElements(),fe[le].plotX=void 0);this.data=fe,this.points=ce,R(this,"afterGeneratePoints")}getXExtremes(N){return{min:$(N),max:E(N)}}getExtremes(N,K){let b=this.xAxis,z=this.yAxis,Y=[],W=this.requireSorting&&!this.is("column")?1:0,j=!!z&&z.positiveValuesOnly,ne=K||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:se,processedYData:ce}=this,oe,re,te,ae,le,fe,me,ge=0,_e=0,Ce=0;if(this.cropped&&ne){let Le=this.getProcessedData(!0);se=Le.xData,ce=Le.yData}let xe=(N=N||this.stackedYData||ce||[]).length,Se=se||this.xData;for(b&&(ge=(oe=b.getExtremes()).min,_e=oe.max),fe=0;fe<xe;fe++)if(ae=Se[fe],re=(ee(le=N[fe])||X(le))&&((ee(le)?le>0:le.length)||!j),te=K||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!b||(Se[fe+W]||ae)>=ge&&(Se[fe-W]||ae)<=_e,re&&te)if(me=le.length)for(;me--;)ee(le[me])&&(Y[Ce++]=le[me]);else Y[Ce++]=le;let Pe={activeYData:Y,dataMin:$(Y),dataMax:E(Y)};return R(this,"afterGetExtremes",{dataExtremes:Pe}),Pe}applyExtremes(){let N=this.getExtremes();return this.dataMin=N.dataMin,this.dataMax=N.dataMax,N}getFirstValidPoint(N,K=0,b=1){let z=N.length,Y=K;for(;Y>=0&&Y<z;){if(F(N[Y]))return N[Y];Y+=b}}translate(){var _e;this.processedXData||this.processData(),this.generatePoints();let N=this.options,K=N.stacking,b=this.xAxis,z=b.categories,Y=this.enabledDataSorting,W=this.yAxis,j=this.points,ne=j.length,se=this.pointPlacementToXValue(),ce=!!se,oe=N.threshold,re=N.startFromThreshold?oe:0,te,ae,le,fe,me=Number.MAX_VALUE;function ge(Ce){return B(Ce,-1e9,1e9)}for(te=0;te<ne;te++){let Ce,xe=j[te],Se=xe.x,Pe,Le,Te=xe.y,Me=xe.low,$e=K&&((_e=W.stacking)==null?void 0:_e.stacks[(this.negStacks&&Te<(re?0:oe)?"-":"")+this.stackKey]);ae=b.translate(Se,!1,!1,!1,!0,se),xe.plotX=ee(ae)?Q(ge(ae)):void 0,K&&this.visible&&$e&&$e[Se]&&(fe=this.getStackIndicator(fe,Se,this.index),!xe.isNull&&fe.key&&(Le=(Pe=$e[Se]).points[fe.key]),Pe&&X(Le)&&(Me=Le[0],Te=Le[1],Me===re&&fe.key===$e[Se].base&&(Me=H(ee(oe)?oe:W.min)),W.positiveValuesOnly&&F(Me)&&Me<=0&&(Me=void 0),xe.total=xe.stackTotal=H(Pe.total),xe.percentage=F(xe.y)&&Pe.total?xe.y/Pe.total*100:void 0,xe.stackY=Te,this.irregularWidths||Pe.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),xe.yBottom=F(Me)?ge(W.translate(Me,!1,!0,!1,!0)):void 0,this.dataModify&&(Te=this.dataModify.modifyValue(Te,te)),ee(Te)&&xe.plotX!==void 0&&(Ce=ee(Ce=W.translate(Te,!1,!0,!1,!0))?ge(Ce):void 0),xe.plotY=Ce,xe.isInside=this.isPointInside(xe),xe.clientX=ce?Q(b.translate(Se,!1,!1,!1,!0,se)):ae,xe.negative=(xe.y||0)<(oe||0),xe.category=H(z&&z[xe.x],xe.x),xe.isNull||xe.visible===!1||(le!==void 0&&(me=Math.min(me,Math.abs(ae-le))),le=ae),xe.zone=this.zones.length?xe.getZone():void 0,!xe.graphic&&this.group&&Y&&(xe.isNew=!0)}this.closestPointRangePx=me,R(this,"afterTranslate")}getValidPoints(N,K,b){let z=this.chart;return(N||this.points||[]).filter(function(Y){let{plotX:W,plotY:j}=Y;return!!((b||!Y.isNull&&ee(j))&&(!K||z.isInsidePlot(W,j,{inverted:z.inverted})))&&Y.visible!==!1})}getClipBox(){let{chart:N,xAxis:K,yAxis:b}=this,{x:z,y:Y,width:W,height:j}=O(N.clipBox);return K&&K.len!==N.plotSizeX&&(W=K.len),b&&b.len!==N.plotSizeY&&(j=b.len),N.inverted&&!this.invertible&&([W,j]=[j,W]),{x:z,y:Y,width:W,height:j}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:N,group:K,markerGroup:b}=this,z=N.sharedClips,Y=N.renderer,W=this.getClipBox(),j=this.getSharedClipKey(),ne=z[j];ne?ne.animate(W):z[j]=ne=Y.clipRect(W),K&&K.clip(this.options.clip===!1?void 0:ne),b&&b.clip()}animate(N){let{chart:K,group:b,markerGroup:z}=this,Y=K.inverted,W=h(this.options.animation),j=[this.getSharedClipKey(),W.duration,W.easing,W.defer].join(","),ne=K.sharedClips[j],se=K.sharedClips[j+"m"];if(N&&b){let ce=this.getClipBox();if(ne)ne.attr("height",ce.height);else{ce.width=0,Y&&(ce.x=K.plotHeight),ne=K.renderer.clipRect(ce),K.sharedClips[j]=ne;let oe={x:-99,y:-99,width:Y?K.plotWidth+199:99,height:Y?99:K.plotHeight+199};se=K.renderer.clipRect(oe),K.sharedClips[j+"m"]=se}b.clip(ne),z==null||z.clip(se)}else if(ne&&!ne.hasClass("highcharts-animating")){let ce=this.getClipBox(),oe=W.step;(z!=null&&z.element.childNodes.length||K.series.length>1)&&(W.step=function(re,te){oe&&oe.apply(te,arguments),te.prop==="width"&&(se!=null&&se.element)&&se.attr(Y?"height":"width",re+99)}),ne.addClass("highcharts-animating").animate(ce,W)}}afterAnimate(){this.setClip(),M(this.chart.sharedClips,(N,K,b)=>{N&&!this.chart.container.querySelector(`[clip-path="url(#${N.id})"]`)&&(N.destroy(),delete b[K])}),this.finishedAnimating=!0,R(this,"afterAnimate")}drawPoints(N=this.points){let K,b,z,Y,W,j,ne,se=this.chart,ce=se.styledMode,{colorAxis:oe,options:re}=this,te=re.marker,ae=this[this.specialGroup||"markerGroup"],le=this.xAxis,fe=H(te.enabled,!le||!!le.isRadial||null,this.closestPointRangePx>=te.enabledThreshold*te.radius);if(te.enabled!==!1||this._hasPointMarkers)for(K=0;K<N.length;K++)if(Y=(z=(b=N[K]).graphic)?"animate":"attr",W=b.marker||{},j=!!b.marker,(fe&&W.enabled===void 0||W.enabled)&&!b.isNull&&b.visible!==!1){let me=H(W.symbol,this.symbol,"rect");ne=this.markerAttribs(b,b.selected&&"select"),this.enabledDataSorting&&(b.startXPos=le.reversed?-(ne.width||0):le.width);let ge=b.isInside!==!1;if(!z&&ge&&((ne.width||0)>0||b.hasImage)&&(b.graphic=z=se.renderer.symbol(me,ne.x,ne.y,ne.width,ne.height,j?W:te).add(ae),this.enabledDataSorting&&se.hasRendered&&(z.attr({x:b.startXPos}),Y="animate")),z&&Y==="animate"&&z[ge?"show":"hide"](ge).animate(ne),z){let _e=this.pointAttribs(b,ce||!b.selected?void 0:"select");ce?oe&&z.css({fill:_e.fill}):z[Y](_e)}z&&z.addClass(b.getClassName(),!0)}else z&&(b.graphic=z.destroy())}markerAttribs(N,K){let b=this.options,z=b.marker,Y=N.marker||{},W=Y.symbol||z.symbol,j={},ne,se,ce=H(Y.radius,z&&z.radius);K&&(ne=z.states[K],ce=H((se=Y.states&&Y.states[K])&&se.radius,ne&&ne.radius,ce&&ce+(ne&&ne.radiusPlus||0))),N.hasImage=W&&W.indexOf("url")===0,N.hasImage&&(ce=0);let oe=N.pos();return ee(ce)&&oe&&(b.crisp&&(oe[0]=I(oe[0],N.hasImage?0:W==="rect"?(z==null?void 0:z.lineWidth)||0:1)),j.x=oe[0]-ce,j.y=oe[1]-ce),ce&&(j.width=j.height=2*ce),j}pointAttribs(N,K){let b=this.options.marker,z=N&&N.options,Y=z&&z.marker||{},W=z&&z.color,j=N&&N.color,ne=N&&N.zone&&N.zone.color,se,ce,oe=this.color,re,te,ae=H(Y.lineWidth,b.lineWidth),le=1;return oe=W||ne||j||oe,re=Y.fillColor||b.fillColor||oe,te=Y.lineColor||b.lineColor||oe,K=K||"normal",se=b.states[K]||{},ae=H((ce=Y.states&&Y.states[K]||{}).lineWidth,se.lineWidth,ae+H(ce.lineWidthPlus,se.lineWidthPlus,0)),re=ce.fillColor||se.fillColor||re,{stroke:te=ce.lineColor||se.lineColor||te,"stroke-width":ae,fill:re,opacity:le=H(ce.opacity,se.opacity,le)}}destroy(N){let K,b,z,Y=this,W=Y.chart,j=/AppleWebKit\/533/.test(x.navigator.userAgent),ne=Y.data||[];for(R(Y,"destroy",{keepEventsForUpdate:N}),this.removeEvents(N),(Y.axisTypes||[]).forEach(function(se){(z=Y[se])&&z.series&&(C(z.series,Y),z.isDirty=z.forceRedraw=!0)}),Y.legendItem&&Y.chart.legend.destroyItem(Y),K=ne.length;K--;)(b=ne[K])&&b.destroy&&b.destroy();for(let se of Y.zones)k(se,void 0,!0);v.clearTimeout(Y.animationTimeout),M(Y,function(se,ce){se instanceof m&&!se.survive&&se[j&&ce==="group"?"hide":"destroy"]()}),W.hoverSeries===Y&&(W.hoverSeries=void 0),C(W.series,Y),W.orderItems("series"),M(Y,function(se,ce){N&&ce==="hcEvents"||delete Y[ce]})}applyZones(){let{area:N,chart:K,graph:b,zones:z,points:Y,xAxis:W,yAxis:j,zoneAxis:ne}=this,{inverted:se,renderer:ce}=K,oe=this[`${ne}Axis`],{isXAxis:re,len:te=0}=oe||{},ae=((b==null?void 0:b.strokeWidth())||0)/2+1,le=(fe,me=0,ge=0)=>{se&&(ge=te-ge);let{translated:_e=0,lineClip:Ce}=fe,xe=ge-_e;Ce==null||Ce.push(["L",me,Math.abs(xe)<ae?ge-ae*(xe<=0?-1:1):_e])};if(z.length&&(b||N)&&oe&&ee(oe.min)){let fe=oe.getExtremes().max,me=Ce=>{Ce.forEach((xe,Se)=>{(xe[0]==="M"||xe[0]==="L")&&(Ce[Se]=[xe[0],re?te-xe[1]:xe[1],re?xe[2]:te-xe[2]])})};if(z.forEach(Ce=>{Ce.lineClip=[],Ce.translated=B(oe.toPixels(H(Ce.value,fe),!0)||0,0,te)}),b&&!this.showLine&&b.hide(),N&&N.hide(),ne==="y"&&Y.length<W.len)for(let Ce of Y){let{plotX:xe,plotY:Se,zone:Pe}=Ce,Le=Pe&&z[z.indexOf(Pe)-1];Pe&&le(Pe,xe,Se),Le&&le(Le,xe,Se)}let ge=[],_e=oe.toPixels(oe.getExtremes().min,!0);z.forEach(Ce=>{var et,at;let xe=Ce.lineClip||[],Se=Math.round(Ce.translated||0);W.reversed&&xe.reverse();let{clip:Pe,simpleClip:Le}=Ce,Te=0,Me=0,$e=W.len,Ye=j.len;re?(Te=Se,$e=_e):(Me=Se,Ye=_e);let Ge=[["M",Te,Me],["L",$e,Me],["L",$e,Ye],["L",Te,Ye],["Z"]],Xe=[Ge[0],...xe,Ge[1],Ge[2],...ge,Ge[3],Ge[4]];ge=xe.reverse(),_e=Se,se&&(me(Xe),N&&me(Ge)),Pe?(Pe.animate({d:Xe}),Le==null||Le.animate({d:Ge})):(Pe=Ce.clip=ce.path(Xe),N&&(Le=Ce.simpleClip=ce.path(Ge))),b&&((et=Ce.graph)==null||et.clip(Pe)),N&&((at=Ce.area)==null||at.clip(Le))})}else this.visible&&(b&&b.show(),N&&N.show())}plotGroup(N,K,b,z,Y){let W=this[N],j=!W,ne={visibility:b,zIndex:z||.1};return F(this.opacity)&&!this.chart.styledMode&&this.state!=="inactive"&&(ne.opacity=this.opacity),W||(this[N]=W=this.chart.renderer.g().add(Y)),W.addClass("highcharts-"+K+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(F(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(W.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),W.attr(ne)[j?"attr":"animate"](this.getPlotBox(K)),W}getPlotBox(N){let K=this.xAxis,b=this.yAxis,z=this.chart,Y=z.inverted&&!z.polar&&K&&this.invertible&&N==="series";return z.inverted&&(K=b,b=this.xAxis),{translateX:K?K.left:z.plotLeft,translateY:b?b.top:z.plotTop,rotation:Y?90:0,rotationOriginX:Y?(K.len-b.len)/2:0,rotationOriginY:Y?(K.len+b.len)/2:0,scaleX:Y?-1:1,scaleY:1}}removeEvents(N){let{eventsToUnbind:K}=this;N||q(this),K.length&&(K.forEach(b=>{b()}),K.length=0)}render(){var ce,oe,re,te,ae;let N=this,{chart:K,options:b,hasRendered:z}=N,Y=h(b.animation),W=N.visible?"inherit":"hidden",j=b.zIndex,ne=K.seriesGroup,se=N.finishedAnimating?0:Y.duration;R(this,"render"),N.plotGroup("group","series",W,j,ne),N.markerGroup=N.plotGroup("markerGroup","markers",W,j,ne),b.clip!==!1&&N.setClip(),se&&((ce=N.animate)==null||ce.call(N,!0)),N.drawGraph&&(N.drawGraph(),N.applyZones()),N.visible&&N.drawPoints(),(oe=N.drawDataLabels)==null||oe.call(N),(re=N.redrawPoints)==null||re.call(N),b.enableMouseTracking&&((te=N.drawTracker)==null||te.call(N)),se&&((ae=N.animate)==null||ae.call(N)),z||(se&&Y.defer&&(se+=Y.defer),N.animationTimeout=L(()=>{N.afterAnimate()},se||0)),N.isDirty=!1,N.hasRendered=!0,R(N,"afterRender")}redraw(){let N=this.isDirty||this.isDirtyData;this.translate(),this.render(),N&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(N,K){let{xAxis:b,yAxis:z}=this,Y=this.chart.inverted;return this.searchKDTree({clientX:Y?b.len-N.chartY+b.pos:N.chartX-b.pos,plotY:Y?z.len-N.chartX+z.pos:N.chartY-z.pos},K,N)}buildKDTree(N){this.buildingKdTree=!0;let K=this,b=K.options.findNearestPointBy.indexOf("y")>-1?2:1;delete K.kdTree,L(function(){K.kdTree=function z(Y,W,j){let ne,se,ce=Y==null?void 0:Y.length;if(ce)return ne=K.kdAxisArray[W%j],Y.sort((oe,re)=>(oe[ne]||0)-(re[ne]||0)),{point:Y[se=Math.floor(ce/2)],left:z(Y.slice(0,se),W+1,j),right:z(Y.slice(se+1),W+1,j)}}(K.getValidPoints(void 0,!K.directTouch),b,b),K.buildingKdTree=!1},K.options.kdNow||(N==null?void 0:N.type)==="touchstart"?0:1)}searchKDTree(N,K,b){let z=this,[Y,W]=this.kdAxisArray,j=K?"distX":"dist",ne=(z.options.findNearestPointBy||"").indexOf("y")>-1?2:1,se=!!z.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(b),this.kdTree)return function ce(oe,re,te,ae){var Pe;let le=re.point,fe=z.kdAxisArray[te%ae],me,ge,_e=le;(function(Le,Te){var bt;let Me=Le[Y],$e=Te[Y],Ye=F(Me)&&F($e)?Me-$e:null,Ge=Le[W],Xe=Te[W],et=F(Ge)&&F(Xe)?Ge-Xe:0,at=se&&((bt=Te.marker)==null?void 0:bt.radius)||0;Te.dist=Math.sqrt((Ye&&Ye*Ye||0)+et*et)-at,Te.distX=F(Ye)?Math.abs(Ye)-at:Number.MAX_VALUE})(oe,le);let Ce=(oe[fe]||0)-(le[fe]||0)+(se&&((Pe=le.marker)==null?void 0:Pe.radius)||0),xe=Ce<0?"left":"right",Se=Ce<0?"right":"left";return re[xe]&&(_e=(me=ce(oe,re[xe],te+1,ae))[j]<_e[j]?me:le),re[Se]&&Math.sqrt(Ce*Ce)<_e[j]&&(_e=(ge=ce(oe,re[Se],te+1,ae))[j]<_e[j]?ge:_e),_e}(N,this.kdTree,ne,ne)}pointPlacementToXValue(){let{options:N,xAxis:K}=this,b=N.pointPlacement;return b==="between"&&(b=K.reversed?-.5:.5),ee(b)?b*(N.pointRange||K.pointRange):0}isPointInside(N){let{chart:K,xAxis:b,yAxis:z}=this,{plotX:Y=-1,plotY:W=-1}=N;return W>=0&&W<=(z?z.len:K.plotHeight)&&Y>=0&&Y<=(b?b.len:K.plotWidth)}drawTracker(){var re;let N=this,K=N.options,b=K.trackByArea,z=[].concat((b?N.areaPath:N.graphPath)||[]),Y=N.chart,W=Y.pointer,j=Y.renderer,ne=((re=Y.options.tooltip)==null?void 0:re.snap)||0,se=()=>{K.enableMouseTracking&&Y.hoverSeries!==N&&N.onMouseOver()},ce="rgba(192,192,192,"+(y?1e-4:.002)+")",oe=N.tracker;oe?oe.attr({d:z}):N.graph&&(N.tracker=oe=j.path(z).attr({visibility:N.visible?"inherit":"hidden",zIndex:2}).addClass(b?"highcharts-tracker-area":"highcharts-tracker-line").add(N.group),Y.styledMode||oe.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:ce,fill:b?ce:"none","stroke-width":N.graph.strokeWidth()+(b?0:2*ne)}),[N.tracker,N.markerGroup,N.dataLabelsGroup].forEach(te=>{te&&(te.addClass("highcharts-tracker").on("mouseover",se).on("mouseout",ae=>{W==null||W.onTrackerMouseOut(ae)}),K.cursor&&!Y.styledMode&&te.css({cursor:K.cursor}),te.on("touchstart",se))})),R(this,"afterDrawTracker")}addPoint(N,K,b,z,Y){let W,j,ne=this.options,se=this.data,ce=this.chart,oe=this.xAxis,re=oe&&oe.hasNames&&oe.names,te=ne.data,ae=this.xData;K=H(K,!0);let le={series:this};this.pointClass.prototype.applyOptions.apply(le,[N]);let fe=le.x;if(j=ae.length,this.requireSorting&&fe<ae[j-1])for(W=!0;j&&ae[j-1]>fe;)j--;this.updateParallelArrays(le,"splice",[j,0,0]),this.updateParallelArrays(le,j),re&&le.name&&(re[fe]=le.name),te.splice(j,0,N),(W||this.processedData)&&(this.data.splice(j,0,null),this.processData()),ne.legendType==="point"&&this.generatePoints(),b&&(se[0]&&se[0].remove?se[0].remove(!1):(se.shift(),this.updateParallelArrays(le,"shift"),te.shift())),Y!==!1&&R(this,"addPoint",{point:le}),this.isDirty=!0,this.isDirtyData=!0,K&&ce.redraw(z)}removePoint(N,K,b){let z=this,Y=z.data,W=Y[N],j=z.points,ne=z.chart,se=function(){j&&j.length===Y.length&&j.splice(N,1),Y.splice(N,1),z.options.data.splice(N,1),z.updateParallelArrays(W||{series:z},"splice",[N,1]),W&&W.destroy(),z.isDirty=!0,z.isDirtyData=!0,K&&ne.redraw()};f(b,ne),K=H(K,!0),W?W.firePointEvent("remove",null,se):se()}remove(N,K,b,z){let Y=this,W=Y.chart;function j(){Y.destroy(z),W.isDirtyLegend=W.isDirtyBox=!0,W.linkSeries(z),H(N,!0)&&W.redraw(K)}b!==!1?R(Y,"remove",null,j):j()}update(N,K){var me,ge,_e;R(this,"update",{options:N=P(N,this.userOptions)});let b=this,z=b.chart,Y=b.userOptions,W=b.initialType||b.type,j=z.options.plotOptions,ne=A[W].prototype,se=b.finishedAnimating&&{animation:!1},ce={},oe,re,te=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],ae=N.type||Y.type||z.options.chart.type,le=!(this.hasDerivedData||ae&&ae!==this.type||N.pointStart!==void 0||N.pointInterval!==void 0||N.relativeXValue!==void 0||N.joinBy||N.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(Ce=>b.hasOptionChanged(Ce)));ae=ae||W,le&&(te.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),N.visible!==!1&&te.push("area","graph"),b.parallelArrays.forEach(function(Ce){te.push(Ce+"Data")}),N.data&&(N.dataSorting&&g(b.options.dataSorting,N.dataSorting),this.setData(N.data,!1))),N=O(Y,{index:Y.index===void 0?b.index:Y.index,pointStart:((me=j==null?void 0:j.series)==null?void 0:me.pointStart)??Y.pointStart??((ge=b.xData)==null?void 0:ge[0])},!le&&{data:b.options.data},N,se),le&&N.data&&(N.data=b.options.data),(te=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(te)).forEach(function(Ce){te[Ce]=b[Ce],delete b[Ce]});let fe=!1;if(A[ae]){if(fe=ae!==b.type,b.remove(!1,!1,!1,!0),fe)if(z.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(b,A[ae].prototype);else{let Ce=Object.hasOwnProperty.call(b,"hcEvents")&&b.hcEvents;for(re in ne)b[re]=void 0;g(b,A[ae].prototype),Ce?b.hcEvents=Ce:delete b.hcEvents}}else p(17,!0,z,{missingModuleFor:ae});if(te.forEach(function(Ce){b[Ce]=te[Ce]}),b.init(z,N),le&&this.points)for(let Ce of((oe=b.options).visible===!1?(ce.graphic=1,ce.dataLabel=1):(this.hasMarkerChanged(oe,Y)&&(ce.graphic=1),(_e=b.hasDataLabels)!=null&&_e.call(b)||(ce.dataLabel=1)),this.points))Ce&&Ce.series&&(Ce.resolveColor(),Object.keys(ce).length&&Ce.destroyElements(ce),oe.showInLegend===!1&&Ce.legendItem&&z.legend.destroyItem(Ce));b.initialType=W,z.linkSeries(),z.setSortedData(),fe&&b.linkedSeries.length&&(b.isDirtyData=!0),R(this,"afterUpdate"),H(K,!0)&&z.redraw(!!le&&void 0)}setName(N){this.name=this.options.name=this.userOptions.name=N,this.chart.isDirtyLegend=!0}hasOptionChanged(N){var j,ne;let K=this.chart,b=this.options[N],z=K.options.plotOptions,Y=this.userOptions[N],W=H((j=z==null?void 0:z[this.type])==null?void 0:j[N],(ne=z==null?void 0:z.series)==null?void 0:ne[N]);return Y&&!F(W)?b!==Y:b!==H(W,b)}onMouseOver(){let N=this.chart,K=N.hoverSeries,b=N.pointer;b==null||b.setHoverChartIndex(),K&&K!==this&&K.onMouseOut(),this.options.events.mouseOver&&R(this,"mouseOver"),this.setState("hover"),N.hoverSeries=this}onMouseOut(){let N=this.options,K=this.chart,b=K.tooltip,z=K.hoverPoint;K.hoverSeries=null,z&&z.onMouseOut(),this&&N.events.mouseOut&&R(this,"mouseOut"),b&&!this.stickyTracking&&(!b.shared||this.noSharedTooltip)&&b.hide(),K.series.forEach(function(Y){Y.setState("",!0)})}setState(N,K){let b=this,z=b.options,Y=b.graph,W=z.inactiveOtherPoints,j=z.states,ne=H(j[N||"normal"]&&j[N||"normal"].animation,b.chart.options.chart.animation),se=z.lineWidth,ce=z.opacity;if(N=N||"",b.state!==N&&([b.group,b.markerGroup,b.dataLabelsGroup].forEach(function(oe){oe&&(b.state&&oe.removeClass("highcharts-series-"+b.state),N&&oe.addClass("highcharts-series-"+N))}),b.state=N,!b.chart.styledMode)){if(j[N]&&j[N].enabled===!1)return;if(N&&(se=j[N].lineWidth||se+(j[N].lineWidthPlus||0),ce=H(j[N].opacity,ce)),Y&&!Y.dashstyle&&ee(se))for(let oe of[Y,...this.zones.map(re=>re.graph)])oe==null||oe.animate({"stroke-width":se},ne);W||[b.group,b.markerGroup,b.dataLabelsGroup,b.labelBySeries].forEach(function(oe){oe&&oe.animate({opacity:ce},ne)})}K&&W&&b.points&&b.setAllPointsToState(N||void 0)}setAllPointsToState(N){this.points.forEach(function(K){K.setState&&K.setState(N)})}setVisible(N,K){var ne;let b=this,z=b.chart,Y=z.options.chart.ignoreHiddenSeries,W=b.visible;b.visible=N=b.options.visible=b.userOptions.visible=N===void 0?!W:N;let j=N?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(se=>{var ce;(ce=b[se])==null||ce[j]()}),(z.hoverSeries===b||((ne=z.hoverPoint)==null?void 0:ne.series)===b)&&b.onMouseOut(),b.legendItem&&z.legend.colorizeItem(b,N),b.isDirty=!0,b.options.stacking&&z.series.forEach(se=>{se.options.stacking&&se.visible&&(se.isDirty=!0)}),b.linkedSeries.forEach(se=>{se.setVisible(N,!1)}),Y&&(z.isDirtyBox=!0),R(b,j),K!==!1&&z.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(N){this.selected=N=this.options.selected=N===void 0?!this.selected:N,this.checkbox&&(this.checkbox.checked=N),R(this,N?"select":"unselect")}shouldShowTooltip(N,K,b={}){return b.series=this,b.visiblePlotOnly=!0,this.chart.isInsidePlot(N,K,b)}drawLegendSymbol(N,K){var b;(b=l[this.options.legendSymbol||"rectangle"])==null||b.call(this,N,K)}}return U.defaultOptions=u,U.types=d.seriesTypes,U.registerType=d.registerSeriesType,g(U.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:c,requireSorting:!0,sorted:!0}),d.series=U,U}),i(n,"Core/Legend/Legend.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Series/Point.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Templating.js"],n["Core/Utilities.js"]],function(r,a,s,o,l,c,u,d){var m;let{animObject:v,setAnimation:h}=r,{registerEventOptions:f}=a,{composed:w,marginNames:_}=s,{distribute:y}=c,{format:x}=u,{addEvent:A,createElement:E,css:$,defined:B,discardElement:Q,find:I,fireEvent:F,isNumber:k,merge:P,pick:C,pushUnique:p,relativeLength:g,stableSort:D,syncTimeout:R}=d;class Z{constructor(V,X){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=V,this.setOptions(X),X.enabled&&(this.render(),f(this,X),A(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),A(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(V){let X=C(V.padding,8);this.options=V,this.chart.styledMode||(this.itemStyle=V.itemStyle,this.itemHiddenStyle=P(this.itemStyle,V.itemHiddenStyle)),this.itemMarginTop=V.itemMarginTop,this.itemMarginBottom=V.itemMarginBottom,this.padding=X,this.initialItemY=X-5,this.symbolWidth=C(V.symbolWidth,16),this.pages=[],this.proximate=V.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0}update(V,X){let ee=this.chart;this.setOptions(P(!0,this.options,V)),"events"in this.options&&f(this,this.options),this.destroy(),ee.isDirtyLegend=ee.isDirtyBox=!0,C(X,!0)&&ee.redraw(),F(this,"afterUpdate",{redraw:X})}colorizeItem(V,X){let{area:ee,group:S,label:O,line:M,symbol:H}=V.legendItem||{};if(S==null||S[X?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:q={}}=this,T=q.color,{fillColor:L,fillOpacity:U,lineColor:ie,marker:N}=V.options,K=b=>(!X&&(b.fill&&(b.fill=T),b.stroke&&(b.stroke=T)),b);O==null||O.css(P(X?this.itemStyle:q)),M==null||M.attr(K({stroke:ie||V.color})),H&&H.attr(K(N&&H.isMarker?V.pointAttribs():{fill:V.color})),ee==null||ee.attr(K({fill:L||V.color,"fill-opacity":L?1:U??.75}))}F(this,"afterColorizeItem",{item:V,visible:X})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(V){let{group:X,x:ee=0,y:S=0}=V.legendItem||{},O=this.options,M=O.symbolPadding,H=!O.rtl,q=V.checkbox;if(X&&X.element){let T={translateX:H?ee:this.legendWidth-ee-2*M-4,translateY:S};X[B(X.translateY)?"animate":"attr"](T,void 0,()=>{F(this,"afterPositionItem",{item:V})})}q&&(q.x=ee,q.y=S)}destroyItem(V){let X=V.checkbox,ee=V.legendItem||{};for(let S of["group","label","line","symbol"])ee[S]&&(ee[S]=ee[S].destroy());X&&Q(X),V.legendItem=void 0}destroy(){for(let V of this.getAllItems())this.destroyItem(V);for(let V of["clipRect","up","down","pager","nav","box","title","group"])this[V]&&(this[V]=this[V].destroy());this.display=null}positionCheckboxes(){let V,X=this.group&&this.group.alignAttr,ee=this.clipHeight||this.legendHeight,S=this.titleHeight;X&&(V=X.translateY,this.allItems.forEach(function(O){let M,H=O.checkbox;H&&(M=V+S+H.y+(this.scrollOffset||0)+3,$(H,{left:X.translateX+O.checkboxOffset+H.x-20+"px",top:M+"px",display:this.proximate||M>V-6&&M<V+ee-6?"":"none"}))},this))}renderTitle(){let V=this.options,X=this.padding,ee=V.title,S,O=0;ee.text&&(this.title||(this.title=this.chart.renderer.label(ee.text,X-3,X-4,void 0,void 0,void 0,V.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(ee.style),this.title.add(this.group)),ee.width||this.title.css({width:this.maxLegendWidth+"px"}),O=(S=this.title.getBBox()).height,this.offsetWidth=S.width,this.contentGroup.attr({translateY:O})),this.titleHeight=O}setText(V){let X=this.options;V.legendItem.label.attr({text:X.labelFormat?x(X.labelFormat,V,this.chart):X.labelFormatter.call(V)})}renderItem(V){let X=V.legendItem=V.legendItem||{},ee=this.chart,S=ee.renderer,O=this.options,M=O.layout==="horizontal",H=this.symbolWidth,q=O.symbolPadding||0,T=this.itemStyle,L=this.itemHiddenStyle,U=M?C(O.itemDistance,20):0,ie=!O.rtl,N=!V.series,K=!N&&V.series.drawLegendSymbol?V.series:V,b=K.options,z=!!this.createCheckboxForItem&&b&&b.showCheckbox,Y=O.useHTML,W=V.options.className,j=X.label,ne=H+q+U+(z?20:0);!j&&(X.group=S.g("legend-item").addClass("highcharts-"+K.type+"-series highcharts-color-"+V.colorIndex+(W?" "+W:"")+(N?" highcharts-series-"+V.index:"")).attr({zIndex:1}).add(this.scrollGroup),X.label=j=S.text("",ie?H+q:-q,this.baseline||0,Y),ee.styledMode||j.css(P(V.visible?T:L)),j.attr({align:ie?"left":"right",zIndex:2}).add(X.group),!this.baseline&&(this.fontMetrics=S.fontMetrics(j),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,j.attr("y",this.baseline),this.symbolHeight=C(O.symbolHeight,this.fontMetrics.f),O.squareSymbol&&(this.symbolWidth=C(O.symbolWidth,Math.max(this.symbolHeight,16)),ne=this.symbolWidth+q+U+(z?20:0),ie&&j.attr("x",this.symbolWidth+q))),K.drawLegendSymbol(this,V),this.setItemEvents&&this.setItemEvents(V,j,Y)),z&&!V.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(V),this.colorizeItem(V,V.visible),(ee.styledMode||!T.width)&&j.css({width:(O.itemWidth||this.widthOption||ee.spacingBox.width)-ne+"px"}),this.setText(V);let se=j.getBBox(),ce=this.fontMetrics&&this.fontMetrics.h||0;V.itemWidth=V.checkboxOffset=O.itemWidth||X.labelWidth||se.width+ne,this.maxItemWidth=Math.max(this.maxItemWidth,V.itemWidth),this.totalItemWidth+=V.itemWidth,this.itemHeight=V.itemHeight=Math.round(X.labelHeight||(se.height>1.5*ce?se.height:ce))}layoutItem(V){let X=this.options,ee=this.padding,S=X.layout==="horizontal",O=V.itemHeight,M=this.itemMarginBottom,H=this.itemMarginTop,q=S?C(X.itemDistance,20):0,T=this.maxLegendWidth,L=X.alignColumns&&this.totalItemWidth>T?this.maxItemWidth:V.itemWidth,U=V.legendItem||{};S&&this.itemX-ee+L>T&&(this.itemX=ee,this.lastLineHeight&&(this.itemY+=H+this.lastLineHeight+M),this.lastLineHeight=0),this.lastItemY=H+this.itemY+M,this.lastLineHeight=Math.max(O,this.lastLineHeight),U.x=this.itemX,U.y=this.itemY,S?this.itemX+=L:(this.itemY+=H+O+M,this.lastLineHeight=O),this.offsetWidth=this.widthOption||Math.max((S?this.itemX-ee-(V.checkbox?0:q):L)+ee,this.offsetWidth)}getAllItems(){let V=[];return this.chart.series.forEach(function(X){let ee=X&&X.options;X&&C(ee.showInLegend,!B(ee.linkedTo)&&void 0,!0)&&(V=V.concat((X.legendItem||{}).labels||(ee.legendType==="point"?X.data:X)))}),F(this,"afterGetAllItems",{allItems:V}),V}getAlignment(){let V=this.options;return this.proximate?V.align.charAt(0)+"tv":V.floating?"":V.align.charAt(0)+V.verticalAlign.charAt(0)+V.layout.charAt(0)}adjustMargins(V,X){let ee=this.chart,S=this.options,O=this.getAlignment();O&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(M,H){M.test(O)&&!B(V[H])&&(ee[_[H]]=Math.max(ee[_[H]],ee.legend[(H+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][H]*S[H%2?"x":"y"]+C(S.margin,12)+X[H]+(ee.titleOffset[H]||0)))})}proximatePositions(){let V,X=this.chart,ee=[],S=this.options.align==="left";for(let O of(this.allItems.forEach(function(M){let H,q,T=S,L,U;M.yAxis&&(M.xAxis.options.reversed&&(T=!T),M.points&&(H=I(T?M.points:M.points.slice(0).reverse(),function(ie){return k(ie.plotY)})),q=this.itemMarginTop+M.legendItem.label.getBBox().height+this.itemMarginBottom,U=M.yAxis.top-X.plotTop,L=M.visible?(H?H.plotY:M.yAxis.height)+(U-.3*q):U+M.yAxis.height,ee.push({target:L,size:q,item:M}))},this),y(ee,X.plotHeight)))V=O.item.legendItem||{},k(O.pos)&&(V.y=X.plotTop-X.spacing[0]+O.pos)}render(){let V=this.chart,X=V.renderer,ee=this.options,S=this.padding,O=this.getAllItems(),M,H,q,T=this.group,L,U=this.box;this.itemX=S,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=g(ee.width,V.spacingBox.width-S),L=V.spacingBox.width-2*S-ee.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(L/=2),this.maxLegendWidth=this.widthOption||L,T||(this.group=T=X.g("legend").addClass(ee.className||"").attr({zIndex:7}).add(),this.contentGroup=X.g().attr({zIndex:1}).add(T),this.scrollGroup=X.g().add(this.contentGroup)),this.renderTitle(),D(O,(ie,N)=>(ie.options&&ie.options.legendIndex||0)-(N.options&&N.options.legendIndex||0)),ee.reversed&&O.reverse(),this.allItems=O,this.display=M=!!O.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,O.forEach(this.renderItem,this),O.forEach(this.layoutItem,this),H=(this.widthOption||this.offsetWidth)+S,q=this.lastItemY+this.lastLineHeight+this.titleHeight,q=this.handleOverflow(q)+S,U||(this.box=U=X.rect().addClass("highcharts-legend-box").attr({r:ee.borderRadius}).add(T)),V.styledMode||U.attr({stroke:ee.borderColor,"stroke-width":ee.borderWidth||0,fill:ee.backgroundColor||"none"}).shadow(ee.shadow),H>0&&q>0&&U[U.placed?"animate":"attr"](U.crisp.call({},{x:0,y:0,width:H,height:q},U.strokeWidth())),T[M?"show":"hide"](),V.styledMode&&T.getStyle("display")==="none"&&(H=q=0),this.legendWidth=H,this.legendHeight=q,M&&this.align(),this.proximate||this.positionItems(),F(this,"afterRender")}align(V=this.chart.spacingBox){let X=this.chart,ee=this.options,S=V.y;/(lth|ct|rth)/.test(this.getAlignment())&&X.titleOffset[0]>0?S+=X.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&X.titleOffset[2]>0&&(S-=X.titleOffset[2]),S!==V.y&&(V=P(V,{y:S})),X.hasRendered||(this.group.placed=!1),this.group.align(P(ee,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":ee.verticalAlign}),!0,V)}handleOverflow(V){let X=this,ee=this.chart,S=ee.renderer,O=this.options,M=O.y,H=O.verticalAlign==="top",q=this.padding,T=O.maxHeight,L=O.navigation,U=C(L.animation,!0),ie=L.arrowSize||12,N=this.pages,K=this.allItems,b=function(oe){typeof oe=="number"?ce.attr({height:oe}):ce&&(X.clipRect=ce.destroy(),X.contentGroup.clip()),X.contentGroup.div&&(X.contentGroup.div.style.clip=oe?"rect("+q+"px,9999px,"+(q+oe)+"px,0)":"auto")},z=function(oe){return X[oe]=S.circle(0,0,1.3*ie).translate(ie/2,ie/2).add(se),ee.styledMode||X[oe].attr("fill","rgba(0,0,0,0.0001)"),X[oe]},Y,W,j,ne=ee.spacingBox.height+(H?-M:M)-q,se=this.nav,ce=this.clipRect;return O.layout!=="horizontal"||O.verticalAlign==="middle"||O.floating||(ne/=2),T&&(ne=Math.min(ne,T)),N.length=0,V&&ne>0&&V>ne&&L.enabled!==!1?(this.clipHeight=Y=Math.max(ne-20-this.titleHeight-q,0),this.currentPage=C(this.currentPage,1),this.fullHeight=V,K.forEach((oe,re)=>{let te=(j=oe.legendItem||{}).y||0,ae=Math.round(j.label.getBBox().height),le=N.length;(!le||te-N[le-1]>Y&&(W||te)!==N[le-1])&&(N.push(W||te),le++),j.pageIx=le-1,W&&((K[re-1].legendItem||{}).pageIx=le-1),re===K.length-1&&te+ae-N[le-1]>Y&&te>N[le-1]&&(N.push(te),j.pageIx=le),te!==W&&(W=te)}),ce||(ce=X.clipRect=S.clipRect(0,q-2,9999,0),X.contentGroup.clip(ce)),b(Y),se||(this.nav=se=S.g().attr({zIndex:1}).add(this.group),this.up=S.symbol("triangle",0,0,ie,ie).add(se),z("upTracker").on("click",function(){X.scroll(-1,U)}),this.pager=S.text("",15,10).addClass("highcharts-legend-navigation"),!ee.styledMode&&L.style&&this.pager.css(L.style),this.pager.add(se),this.down=S.symbol("triangle-down",0,0,ie,ie).add(se),z("downTracker").on("click",function(){X.scroll(1,U)})),X.scroll(0),V=ne):se&&(b(),this.nav=se.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),V}scroll(V,X){let ee=this.chart,S=this.pages,O=S.length,M=this.clipHeight,H=this.options.navigation,q=this.pager,T=this.padding,L=this.currentPage+V;L>O&&(L=O),L>0&&(X!==void 0&&h(X,ee),this.nav.attr({translateX:T,translateY:M+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(U){U.attr({class:L===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),q.attr({text:L+"/"+O}),[this.down,this.downTracker].forEach(function(U){U.attr({x:18+this.pager.getBBox().width,class:L===O?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),ee.styledMode||(this.up.attr({fill:L===1?H.inactiveColor:H.activeColor}),this.upTracker.css({cursor:L===1?"default":"pointer"}),this.down.attr({fill:L===O?H.inactiveColor:H.activeColor}),this.downTracker.css({cursor:L===O?"default":"pointer"})),this.scrollOffset=-S[L-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=L,this.positionCheckboxes(),R(()=>{F(this,"afterScroll",{currentPage:L})},v(C(X,ee.renderer.globalAnimation,!0)).duration))}setItemEvents(V,X,ee){let S=this,O=V.legendItem||{},M=S.chart.renderer.boxWrapper,H=V instanceof l,q=V instanceof o,T="highcharts-legend-"+(H?"point":"series")+"-active",L=S.chart.styledMode,U=ee?[X,O.symbol]:[O.group],ie=N=>{S.allItems.forEach(K=>{V!==K&&[K].concat(K.linkedSeries||[]).forEach(b=>{b.setState(N,!H)})})};for(let N of U)N&&N.on("mouseover",function(){V.visible&&ie("inactive"),V.setState("hover"),V.visible&&M.addClass(T),L||X.css(S.options.itemHoverStyle)}).on("mouseout",function(){S.chart.styledMode||X.css(P(V.visible?S.itemStyle:S.itemHiddenStyle)),ie(""),M.removeClass(T),V.setState()}).on("click",function(K){let b=function(){V.setVisible&&V.setVisible(),ie(V.visible?"inactive":"")};M.removeClass(T),F(S,"itemClick",{browserEvent:K,legendItem:V},b),H?V.firePointEvent("legendItemClick",{browserEvent:K}):q&&F(V,"legendItemClick",{browserEvent:K})})}createCheckboxForItem(V){V.checkbox=E("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:V.selected,defaultChecked:V.selected},this.options.itemCheckboxStyle,this.chart.container),A(V.checkbox,"click",function(X){let ee=X.target;F(V.series||V,"checkboxClick",{checked:ee.checked,item:V},function(){V.select()})})}}return(m=Z||(Z={})).compose=function(G){p(w,"Core.Legend")&&A(G,"beforeMargins",function(){this.legend=new m(this,this.options.legend)})},Z}),i(n,"Core/Chart/Chart.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Defaults.js"],n["Core/Templating.js"],n["Core/Foundation.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Time.js"],n["Core/Utilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Axis/Tick.js"]],function(r,a,s,o,l,c,u,d,m,v,h,f,w,_){let{animate:y,animObject:x,setAnimation:A}=r,{defaultOptions:E,defaultTime:$}=s,{numberFormat:B}=o,{registerEventOptions:Q}=l,{charts:I,doc:F,marginNames:k,svg:P,win:C}=c,{seriesTypes:p}=m,{addEvent:g,attr:D,createElement:R,css:Z,defined:G,diffObjects:V,discardElement:X,erase:ee,error:S,extend:O,find:M,fireEvent:H,getStyle:q,isArray:T,isNumber:L,isObject:U,isString:ie,merge:N,objectEach:K,pick:b,pInt:z,relativeLength:Y,removeEvent:W,splat:j,syncTimeout:ne,uniqueKey:se}=f;class ce{static chart(re,te,ae){return new ce(re,te,ae)}constructor(re,te,ae){this.sharedClips={};let le=[...arguments];(ie(re)||re.nodeName)&&(this.renderTo=le.shift()),this.init(le[0],le[1])}setZoomOptions(){let re=this.options.chart,te=re.zooming;this.zooming={...te,type:b(re.zoomType,te.type),key:b(re.zoomKey,te.key),pinchType:b(re.pinchType,te.pinchType),singleTouch:b(re.zoomBySingleTouch,te.singleTouch,!1),resetButton:N(te.resetButton,re.resetZoomButton)}}init(re,te){H(this,"init",{args:arguments},function(){let ae=N(E,re),le=ae.chart;this.userOptions=O({},re),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=te,this.isResizing=0,this.options=ae,this.axes=[],this.series=[],this.time=re.time&&Object.keys(re.time).length?new h(re.time):c.time,this.numberFormatter=le.numberFormatter||B,this.styledMode=le.styledMode,this.hasCartesianSeries=le.showAxes,this.index=I.length,I.push(this),c.chartCount++,Q(this,le),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),H(this,"afterInit"),this.firstRender()})}initSeries(re){let te=this.options.chart,ae=re.type||te.type,le=p[ae];le||S(17,!0,this,{missingModuleFor:ae});let fe=new le;return typeof fe.init=="function"&&fe.init(this,re),fe}setSortedData(){this.getSeriesOrderByLinks().forEach(function(re){re.points||re.data||!re.enabledDataSorting||re.setData(re.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(re,te){return re.linkedSeries.length||te.linkedSeries.length?te.linkedSeries.length-re.linkedSeries.length:0})}orderItems(re,te=0){let ae=this[re],le=this.options[re]=j(this.options[re]).slice(),fe=this.userOptions[re]=this.userOptions[re]?j(this.userOptions[re]).slice():[];if(this.hasRendered&&(le.splice(te),fe.splice(te)),ae)for(let me=te,ge=ae.length;me<ge;++me){let _e=ae[me];_e&&(_e.index=me,_e instanceof d&&(_e.name=_e.getName()),_e.options.isInternal||(le[me]=_e.options,fe[me]=_e.userOptions))}}isInsidePlot(re,te,ae={}){var $e;let{inverted:le,plotBox:fe,plotLeft:me,plotTop:ge,scrollablePlotBox:_e}=this,{scrollLeft:Ce=0,scrollTop:xe=0}=ae.visiblePlotOnly&&(($e=this.scrollablePlotArea)==null?void 0:$e.scrollingContainer)||{},Se=ae.series,Pe=ae.visiblePlotOnly&&_e||fe,Le=ae.inverted?te:re,Te=ae.inverted?re:te,Me={x:Le,y:Te,isInsidePlot:!0,options:ae};if(!ae.ignoreX){let Ye=Se&&(le&&!this.polar?Se.yAxis:Se.xAxis)||{pos:me,len:1/0},Ge=ae.paneCoordinates?Ye.pos+Le:me+Le;Ge>=Math.max(Ce+me,Ye.pos)&&Ge<=Math.min(Ce+me+Pe.width,Ye.pos+Ye.len)||(Me.isInsidePlot=!1)}if(!ae.ignoreY&&Me.isInsidePlot){let Ye=!le&&ae.axis&&!ae.axis.isXAxis&&ae.axis||Se&&(le?Se.xAxis:Se.yAxis)||{pos:ge,len:1/0},Ge=ae.paneCoordinates?Ye.pos+Te:ge+Te;Ge>=Math.max(xe+ge,Ye.pos)&&Ge<=Math.min(xe+ge+Pe.height,Ye.pos+Ye.len)||(Me.isInsidePlot=!1)}return H(this,"afterIsInsidePlot",Me),Me.isInsidePlot}redraw(re){H(this,"beforeRedraw");let te=this.hasCartesianSeries?this.axes:this.colorAxis||[],ae=this.series,le=this.pointer,fe=this.legend,me=this.userOptions.legend,ge=this.renderer,_e=ge.isHidden(),Ce=[],xe,Se,Pe,Le=this.isDirtyBox,Te=this.isDirtyLegend,Me;for(ge.rootFontSize=ge.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),A(!!this.hasRendered&&re,this),_e&&this.temporaryDisplay(),this.layOutTitles(!1),Pe=ae.length;Pe--;)if(((Me=ae[Pe]).options.stacking||Me.options.centerInCategory)&&(Se=!0,Me.isDirty)){xe=!0;break}if(xe)for(Pe=ae.length;Pe--;)(Me=ae[Pe]).options.stacking&&(Me.isDirty=!0);ae.forEach(function($e){$e.isDirty&&($e.options.legendType==="point"?(typeof $e.updateTotals=="function"&&$e.updateTotals(),Te=!0):me&&(me.labelFormatter||me.labelFormat)&&(Te=!0)),$e.isDirtyData&&H($e,"updatedData")}),Te&&fe&&fe.options.enabled&&(fe.render(),this.isDirtyLegend=!1),Se&&this.getStacks(),te.forEach(function($e){$e.updateNames(),$e.setScale()}),this.getMargins(),te.forEach(function($e){$e.isDirty&&(Le=!0)}),te.forEach(function($e){let Ye=$e.min+","+$e.max;$e.extKey!==Ye&&($e.extKey=Ye,Ce.push(function(){H($e,"afterSetExtremes",O($e.eventArgs,$e.getExtremes())),delete $e.eventArgs})),(Le||Se)&&$e.redraw()}),Le&&this.drawChartBox(),H(this,"predraw"),ae.forEach(function($e){(Le||$e.isDirty)&&$e.visible&&$e.redraw(),$e.isDirtyData=!1}),le&&le.reset(!0),ge.draw(),H(this,"redraw"),H(this,"render"),_e&&this.temporaryDisplay(!0),Ce.forEach(function($e){$e.call()})}get(re){let te=this.series;function ae(fe){return fe.id===re||fe.options&&fe.options.id===re}let le=M(this.axes,ae)||M(this.series,ae);for(let fe=0;!le&&fe<te.length;fe++)le=M(te[fe].points||[],ae);return le}getAxes(){let re=this.userOptions;for(let te of(H(this,"getAxes"),["xAxis","yAxis"]))for(let ae of re[te]=j(re[te]||{}))new a(this,ae,te);H(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce((re,te)=>(te.getPointsCollection().forEach(ae=>{b(ae.selectedStaging,ae.selected)&&re.push(ae)}),re),[])}getSelectedSeries(){return this.series.filter(function(re){return re.selected})}setTitle(re,te,ae){this.applyDescription("title",re),this.applyDescription("subtitle",te),this.applyDescription("caption",void 0),this.layOutTitles(ae)}applyDescription(re,te){let ae=this,le=this.options[re]=N(this.options[re],te),fe=this[re];fe&&te&&(this[re]=fe=fe.destroy()),le&&!fe&&((fe=this.renderer.text(le.text,0,0,le.useHTML).attr({align:le.align,class:"highcharts-"+re,zIndex:le.zIndex||4}).add()).update=function(me,ge){ae.applyDescription(re,me),ae.layOutTitles(ge)},this.styledMode||fe.css(O(re==="title"?{fontSize:this.options.isStock?"1em":"1.2em"}:{},le.style)),this[re]=fe)}layOutTitles(re=!0){let te=[0,0,0],ae=this.renderer,le=this.spacingBox;["title","subtitle","caption"].forEach(function(me){let ge=this[me],_e=this.options[me],Ce=_e.verticalAlign||"top",xe=me==="title"?Ce==="top"?-3:0:Ce==="top"?te[0]+2:0;if(ge){ge.css({width:(_e.width||le.width+(_e.widthAdjust||0))+"px"});let Se=ae.fontMetrics(ge).b,Pe=Math.round(ge.getBBox(_e.useHTML).height);ge.align(O({y:Ce==="bottom"?Se:xe+Se,height:Pe},_e),!1,"spacingBox"),_e.floating||(Ce==="top"?te[0]=Math.ceil(te[0]+Pe):Ce==="bottom"&&(te[2]=Math.ceil(te[2]+Pe)))}},this),te[0]&&(this.options.title.verticalAlign||"top")==="top"&&(te[0]+=this.options.title.margin),te[2]&&this.options.caption.verticalAlign==="bottom"&&(te[2]+=this.options.caption.margin);let fe=!this.titleOffset||this.titleOffset.join(",")!==te.join(",");this.titleOffset=te,H(this,"afterLayOutTitles"),!this.isDirtyBox&&fe&&(this.isDirtyBox=this.isDirtyLegend=fe,this.hasRendered&&re&&this.isDirtyBox&&this.redraw())}getContainerBox(){let re=[].map.call(this.renderTo.children,ae=>{if(ae!==this.container){let le=ae.style.display;return ae.style.display="none",[ae,le]}}),te={width:q(this.renderTo,"width",!0)||0,height:q(this.renderTo,"height",!0)||0};return re.filter(Boolean).forEach(([ae,le])=>{ae.style.display=le}),te}getChartSize(){var me;let re=this.options.chart,te=re.width,ae=re.height,le=this.getContainerBox(),fe=le.height>1&&!(!((me=this.renderTo.parentElement)!=null&&me.style.height)&&this.renderTo.style.height==="100%");this.chartWidth=Math.max(0,te||le.width||600),this.chartHeight=Math.max(0,Y(ae,this.chartWidth)||(fe?le.height:400)),this.containerBox=le}temporaryDisplay(re){let te=this.renderTo,ae;if(re)for(;te&&te.style;)te.hcOrigStyle&&(Z(te,te.hcOrigStyle),delete te.hcOrigStyle),te.hcOrigDetached&&(F.body.removeChild(te),te.hcOrigDetached=!1),te=te.parentNode;else for(;te&&te.style&&(F.body.contains(te)||te.parentNode||(te.hcOrigDetached=!0,F.body.appendChild(te)),(q(te,"display",!1)==="none"||te.hcOricDetached)&&(te.hcOrigStyle={display:te.style.display,height:te.style.height,overflow:te.style.overflow},ae={display:"block",overflow:"hidden"},te!==this.renderTo&&(ae.height=0),Z(te,ae),te.offsetWidth||te.style.setProperty("display","block","important")),(te=te.parentNode)!==F.body););}setClassName(re){this.container.className="highcharts-container "+(re||"")}getContainer(){var Pe;let re=this.options,te=re.chart,ae="data-highcharts-chart",le=se(),fe,me=this.renderTo;me||(this.renderTo=me=te.renderTo),ie(me)&&(this.renderTo=me=F.getElementById(me)),me||S(13,!0,this);let ge=z(D(me,ae));L(ge)&&I[ge]&&I[ge].hasRendered&&I[ge].destroy(),D(me,ae,this.index),me.innerHTML=w.emptyHTML,te.skipClone||me.offsetWidth||this.temporaryDisplay(),this.getChartSize();let _e=this.chartHeight,Ce=this.chartWidth;Z(me,{overflow:"hidden"}),this.styledMode||(fe=O({position:"relative",overflow:"hidden",width:Ce+"px",height:_e+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},te.style||{}));let xe=R("div",{id:le},fe,me);this.container=xe,this.getChartSize(),Ce===this.chartWidth||(Ce=this.chartWidth,this.styledMode||Z(xe,{width:b((Pe=te.style)==null?void 0:Pe.width,Ce+"px")})),this.containerBox=this.getContainerBox(),this._cursor=xe.style.cursor;let Se=te.renderer||!P?u.getRendererType(te.renderer):v;if(this.renderer=new Se(xe,Ce,_e,void 0,te.forExport,re.exporting&&re.exporting.allowHTML,this.styledMode),A(void 0,this),this.setClassName(te.className),this.styledMode)for(let Le in re.defs)this.renderer.definition(re.defs[Le]);else this.renderer.setStyle(te.style);this.renderer.chartIndex=this.index,H(this,"afterGetContainer")}getMargins(re){let{spacing:te,margin:ae,titleOffset:le}=this;this.resetMargins(),le[0]&&!G(ae[0])&&(this.plotTop=Math.max(this.plotTop,le[0]+te[0])),le[2]&&!G(ae[2])&&(this.marginBottom=Math.max(this.marginBottom,le[2]+te[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(ae,te),H(this,"getMargins"),re||this.getAxisMargins()}getAxisMargins(){let re=this,te=re.axisOffset=[0,0,0,0],ae=re.colorAxis,le=re.margin,fe=function(me){me.forEach(function(ge){ge.visible&&ge.getOffset()})};re.hasCartesianSeries?fe(re.axes):ae&&ae.length&&fe(ae),k.forEach(function(me,ge){G(le[ge])||(re[me]+=te[ge])}),re.setChartSize()}getOptions(){return V(this.userOptions,E)}reflow(re){var fe;let te=this,ae=te.containerBox,le=te.getContainerBox();(fe=te.pointer)==null||delete fe.chartPosition,!te.isPrinting&&!te.isResizing&&ae&&le.width&&((le.width!==ae.width||le.height!==ae.height)&&(f.clearTimeout(te.reflowTimeout),te.reflowTimeout=ne(function(){te.container&&te.setSize(void 0,void 0,!1)},re?100:0)),te.containerBox=le)}setReflow(){let re=this,te=ae=>{var le;(le=re.options)!=null&&le.chart.reflow&&re.hasLoaded&&re.reflow(ae)};if(typeof ResizeObserver=="function")new ResizeObserver(te).observe(re.renderTo);else{let ae=g(C,"resize",te);g(this,"destroy",ae)}}setSize(re,te,ae){let le=this,fe=le.renderer;le.isResizing+=1,A(ae,le);let me=fe.globalAnimation;le.oldChartHeight=le.chartHeight,le.oldChartWidth=le.chartWidth,re!==void 0&&(le.options.chart.width=re),te!==void 0&&(le.options.chart.height=te),le.getChartSize();let{chartWidth:ge,chartHeight:_e,scrollablePixelsX:Ce=0,scrollablePixelsY:xe=0}=le;(le.isDirtyBox||ge!==le.oldChartWidth||_e!==le.oldChartHeight)&&(le.styledMode||(me?y:Z)(le.container,{width:`${ge+Ce}px`,height:`${_e+xe}px`},me),le.setChartSize(!0),fe.setSize(ge,_e,me),le.axes.forEach(function(Se){Se.isDirty=!0,Se.setScale()}),le.isDirtyLegend=!0,le.isDirtyBox=!0,le.layOutTitles(),le.getMargins(),le.redraw(me),le.oldChartHeight=void 0,H(le,"resize"),setTimeout(()=>{le&&H(le,"endResize")},x(me).duration)),le.isResizing-=1}setChartSize(re){let te,ae,le,fe,{chartHeight:me,chartWidth:ge,inverted:_e,spacing:Ce,renderer:xe}=this,Se=this.clipOffset,Pe=Math[_e?"floor":"round"];this.plotLeft=te=Math.round(this.plotLeft),this.plotTop=ae=Math.round(this.plotTop),this.plotWidth=le=Math.max(0,Math.round(ge-te-this.marginRight)),this.plotHeight=fe=Math.max(0,Math.round(me-ae-this.marginBottom)),this.plotSizeX=_e?fe:le,this.plotSizeY=_e?le:fe,this.spacingBox=xe.spacingBox={x:Ce[3],y:Ce[0],width:ge-Ce[3]-Ce[1],height:me-Ce[0]-Ce[2]},this.plotBox=xe.plotBox={x:te,y:ae,width:le,height:fe},Se&&(this.clipBox={x:Pe(Se[3]),y:Pe(Se[0]),width:Pe(this.plotSizeX-Se[1]-Se[3]),height:Pe(this.plotSizeY-Se[0]-Se[2])}),re||(this.axes.forEach(function(Le){Le.setAxisSize(),Le.setAxisTranslation()}),xe.alignElements()),H(this,"afterSetChartSize",{skipAxes:re})}resetMargins(){H(this,"resetMargins");let re=this,te=re.options.chart,ae=te.plotBorderWidth||0,le=ae/2;["margin","spacing"].forEach(function(fe){let me=te[fe],ge=U(me)?me:[me,me,me,me];["Top","Right","Bottom","Left"].forEach(function(_e,Ce){re[fe][Ce]=b(te[fe+_e],ge[Ce])})}),k.forEach(function(fe,me){re[fe]=b(re.margin[me],re.spacing[me])}),re.axisOffset=[0,0,0,0],re.clipOffset=[le,le,le,le],re.plotBorderWidth=ae}drawChartBox(){let re=this.options.chart,te=this.renderer,ae=this.chartWidth,le=this.chartHeight,fe=this.styledMode,me=this.plotBGImage,ge=re.backgroundColor,_e=re.plotBackgroundColor,Ce=re.plotBackgroundImage,xe=this.plotLeft,Se=this.plotTop,Pe=this.plotWidth,Le=this.plotHeight,Te=this.plotBox,Me=this.clipRect,$e=this.clipBox,Ye=this.chartBackground,Ge=this.plotBackground,Xe=this.plotBorder,et,at,bt,ye="animate";Ye||(this.chartBackground=Ye=te.rect().addClass("highcharts-background").add(),ye="attr"),fe?et=at=Ye.strokeWidth():(at=(et=re.borderWidth||0)+(re.shadow?8:0),bt={fill:ge||"none"},(et||Ye["stroke-width"])&&(bt.stroke=re.borderColor,bt["stroke-width"]=et),Ye.attr(bt).shadow(re.shadow)),Ye[ye]({x:at/2,y:at/2,width:ae-at-et%2,height:le-at-et%2,r:re.borderRadius}),ye="animate",Ge||(ye="attr",this.plotBackground=Ge=te.rect().addClass("highcharts-plot-background").add()),Ge[ye](Te),!fe&&(Ge.attr({fill:_e||"none"}).shadow(re.plotShadow),Ce&&(me?(Ce!==me.attr("href")&&me.attr("href",Ce),me.animate(Te)):this.plotBGImage=te.image(Ce,xe,Se,Pe,Le).add())),Me?Me.animate({width:$e.width,height:$e.height}):this.clipRect=te.clipRect($e),ye="animate",Xe||(ye="attr",this.plotBorder=Xe=te.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),fe||Xe.attr({stroke:re.plotBorderColor,"stroke-width":re.plotBorderWidth||0,fill:"none"}),Xe[ye](Xe.crisp({x:xe,y:Se,width:Pe,height:Le},-Xe.strokeWidth())),this.isDirtyBox=!1,H(this,"afterDrawChartBox")}propFromSeries(){let re,te,ae,le=this,fe=le.options.chart,me=le.options.series;["inverted","angular","polar"].forEach(function(ge){for(te=p[fe.type],ae=fe[ge]||te&&te.prototype[ge],re=me&&me.length;!ae&&re--;)(te=p[me[re].type])&&te.prototype[ge]&&(ae=!0);le[ge]=ae})}linkSeries(re){let te=this,ae=te.series;ae.forEach(function(le){le.linkedSeries.length=0}),ae.forEach(function(le){let{linkedTo:fe}=le.options;if(ie(fe)){let me;(me=fe===":previous"?te.series[le.index-1]:te.get(fe))&&me.linkedParent!==le&&(me.linkedSeries.push(le),le.linkedParent=me,me.enabledDataSorting&&le.setDataSortingOptions(),le.visible=b(le.options.visible,me.options.visible,le.visible))}}),H(this,"afterLinkSeries",{isUpdating:re})}renderSeries(){this.series.forEach(function(re){re.translate(),re.render()})}render(){var xe;let re=this.axes,te=this.colorAxis,ae=this.renderer,le=this.options.chart.axisLayoutRuns||2,fe=Se=>{Se.forEach(Pe=>{Pe.visible&&Pe.render()})},me=0,ge=!0,_e,Ce=0;for(let Se of(this.setTitle(),H(this,"beforeMargins"),(xe=this.getStacks)==null||xe.call(this),this.getMargins(!0),this.setChartSize(),re)){let{options:Pe}=Se,{labels:Le}=Pe;if(this.hasCartesianSeries&&Se.horiz&&Se.visible&&Le.enabled&&Se.series.length&&Se.coll!=="colorAxis"&&!this.polar){me=Pe.tickLength,Se.createGroups();let Te=new _(Se,0,"",!0),Me=Te.createLabel("x",Le);if(Te.destroy(),Me&&b(Le.reserveSpace,!L(Pe.crossing))&&(me=Me.getBBox().height+Le.distance+Math.max(Pe.offset||0,0)),me){Me==null||Me.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-me,0);(ge||_e||le>1)&&Ce<le;){let Se=this.plotWidth,Pe=this.plotHeight;for(let Le of re)Ce===0?Le.setScale():(Le.horiz&&ge||!Le.horiz&&_e)&&Le.setTickInterval(!0);Ce===0?this.getAxisMargins():this.getMargins(),ge=Se/this.plotWidth>(Ce?1:1.1),_e=Pe/this.plotHeight>(Ce?1:1.05),Ce++}this.drawChartBox(),this.hasCartesianSeries?fe(re):te&&te.length&&fe(te),this.seriesGroup||(this.seriesGroup=ae.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(re){let te=this,ae=N(!0,this.options.credits,re);ae.enabled&&!this.credits&&(this.credits=this.renderer.text(ae.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){ae.href&&(C.location.href=ae.href)}).attr({align:ae.position.align,zIndex:8}),te.styledMode||this.credits.css(ae.style),this.credits.add().align(ae.position),this.credits.update=function(le){te.credits=te.credits.destroy(),te.addCredits(le)})}destroy(){let re,te=this,ae=te.axes,le=te.series,fe=te.container,me=fe&&fe.parentNode;for(H(te,"destroy"),te.renderer.forExport?ee(I,te):I[te.index]=void 0,c.chartCount--,te.renderTo.removeAttribute("data-highcharts-chart"),W(te),re=ae.length;re--;)ae[re]=ae[re].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),re=le.length;re--;)le[re]=le[re].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(ge){let _e=te[ge];_e&&_e.destroy&&(te[ge]=_e.destroy())}),fe&&(fe.innerHTML=w.emptyHTML,W(fe),me&&X(fe)),K(te,function(ge,_e){delete te[_e]})}firstRender(){var le;let re=this,te=re.options;re.getContainer(),re.resetMargins(),re.setChartSize(),re.propFromSeries(),re.getAxes();let ae=T(te.series)?te.series:[];te.series=[],ae.forEach(function(fe){re.initSeries(fe)}),re.linkSeries(),re.setSortedData(),H(re,"beforeRender"),re.render(),(le=re.pointer)==null||le.getChartPosition(),re.renderer.imgCount||re.hasLoaded||re.onload(),re.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(re){re&&this.index!==void 0&&re.apply(this,[this])},this),H(this,"load"),H(this,"render"),G(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:re,title:te}=this;!re||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(te&&te.element.textContent||"").replace(/</g,"&lt;")}),re.accessibility&&re.accessibility.enabled===!1||S('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(re,te,ae){let le,fe=this;return re&&(te=b(te,!0),H(fe,"addSeries",{options:re},function(){le=fe.initSeries(re),fe.isDirtyLegend=!0,fe.linkSeries(),le.enabledDataSorting&&le.setData(re.data,!1),H(fe,"afterAddSeries",{series:le}),te&&fe.redraw(ae)})),le}addAxis(re,te,ae,le){return this.createAxis(te?"xAxis":"yAxis",{axis:re,redraw:ae,animation:le})}addColorAxis(re,te,ae){return this.createAxis("colorAxis",{axis:re,redraw:te,animation:ae})}createAxis(re,te){let ae=new a(this,te.axis,re);return b(te.redraw,!0)&&this.redraw(te.animation),ae}showLoading(re){let te=this,ae=te.options,le=ae.loading,fe=function(){me&&Z(me,{left:te.plotLeft+"px",top:te.plotTop+"px",width:te.plotWidth+"px",height:te.plotHeight+"px"})},me=te.loadingDiv,ge=te.loadingSpan;me||(te.loadingDiv=me=R("div",{className:"highcharts-loading highcharts-loading-hidden"},null,te.container)),ge||(te.loadingSpan=ge=R("span",{className:"highcharts-loading-inner"},null,me),g(te,"redraw",fe)),me.className="highcharts-loading",w.setElementHTML(ge,b(re,ae.lang.loading,"")),te.styledMode||(Z(me,O(le.style,{zIndex:10})),Z(ge,le.labelStyle),te.loadingShown||(Z(me,{opacity:0,display:""}),y(me,{opacity:le.style.opacity||.5},{duration:le.showDuration||0}))),te.loadingShown=!0,fe()}hideLoading(){let re=this.options,te=this.loadingDiv;te&&(te.className="highcharts-loading highcharts-loading-hidden",this.styledMode||y(te,{opacity:0},{duration:re.loading.hideDuration||100,complete:function(){Z(te,{display:"none"})}})),this.loadingShown=!1}update(re,te,ae,le){let fe,me,ge,_e=this,Ce={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},xe=re.isResponsiveOptions,Se=[];H(_e,"update",{options:re}),xe||_e.setResponsive(!1,!0),re=V(re,_e.options),_e.userOptions=N(_e.userOptions,re);let Pe=re.chart;Pe&&(N(!0,_e.options.chart,Pe),this.setZoomOptions(),"className"in Pe&&_e.setClassName(Pe.className),("inverted"in Pe||"polar"in Pe||"type"in Pe)&&(_e.propFromSeries(),fe=!0),"alignTicks"in Pe&&(fe=!0),"events"in Pe&&Q(this,Pe),K(Pe,function(Me,$e){_e.propsRequireUpdateSeries.indexOf("chart."+$e)!==-1&&(me=!0),_e.propsRequireDirtyBox.indexOf($e)!==-1&&(_e.isDirtyBox=!0),_e.propsRequireReflow.indexOf($e)===-1||(_e.isDirtyBox=!0,xe||(ge=!0))}),!_e.styledMode&&Pe.style&&_e.renderer.setStyle(_e.options.chart.style||{})),!_e.styledMode&&re.colors&&(this.options.colors=re.colors),re.time&&(this.time===$&&(this.time=new h(re.time)),N(!0,_e.options.time,re.time)),K(re,function(Me,$e){_e[$e]&&typeof _e[$e].update=="function"?_e[$e].update(Me,!1):typeof _e[Ce[$e]]=="function"?_e[Ce[$e]](Me):$e!=="colors"&&_e.collectionsWithUpdate.indexOf($e)===-1&&N(!0,_e.options[$e],re[$e]),$e!=="chart"&&_e.propsRequireUpdateSeries.indexOf($e)!==-1&&(me=!0)}),this.collectionsWithUpdate.forEach(function(Me){re[Me]&&(j(re[Me]).forEach(function($e,Ye){let Ge,Xe=G($e.id);Xe&&(Ge=_e.get($e.id)),!Ge&&_e[Me]&&(Ge=_e[Me][b($e.index,Ye)])&&(Xe&&G(Ge.options.id)||Ge.options.isInternal)&&(Ge=void 0),Ge&&Ge.coll===Me&&(Ge.update($e,!1),ae&&(Ge.touched=!0)),!Ge&&ae&&_e.collectionsWithInit[Me]&&(_e.collectionsWithInit[Me][0].apply(_e,[$e].concat(_e.collectionsWithInit[Me][1]||[]).concat([!1])).touched=!0)}),ae&&_e[Me].forEach(function($e){$e.touched||$e.options.isInternal?delete $e.touched:Se.push($e)}))}),Se.forEach(function(Me){Me.chart&&Me.remove&&Me.remove(!1)}),fe&&_e.axes.forEach(function(Me){Me.update({},!1)}),me&&_e.getSeriesOrderByLinks().forEach(function(Me){Me.chart&&Me.update({},!1)},this);let Le=Pe&&Pe.width,Te=Pe&&(ie(Pe.height)?Y(Pe.height,Le||_e.chartWidth):Pe.height);ge||L(Le)&&Le!==_e.chartWidth||L(Te)&&Te!==_e.chartHeight?_e.setSize(Le,Te,le):b(te,!0)&&_e.redraw(le),H(_e,"afterUpdate",{options:re,redraw:te,animation:le})}setSubtitle(re,te){this.applyDescription("subtitle",re),this.layOutTitles(te)}setCaption(re,te){this.applyDescription("caption",re),this.layOutTitles(te)}showResetZoom(){let re=this,te=E.lang,ae=re.zooming.resetButton,le=ae.theme,fe=ae.relativeTo==="chart"||ae.relativeTo==="spacingBox"?null:"plotBox";function me(){re.zoomOut()}H(this,"beforeShowResetZoom",null,function(){re.resetZoomButton=re.renderer.button(te.resetZoom,null,null,me,le).attr({align:ae.position.align,title:te.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(ae.position,!1,fe)}),H(this,"afterShowResetZoom")}zoomOut(){H(this,"selection",{resetSelection:!0},()=>this.transform({reset:!0,trigger:"zoom"}))}pan(re,te){let ae=this,le=typeof te=="object"?te:{enabled:te,type:"x"},fe=le.type,me=fe&&ae[{x:"xAxis",xy:"axes",y:"yAxis"}[fe]].filter(_e=>_e.options.panningEnabled&&!_e.options.isInternal),ge=ae.options.chart;ge!=null&&ge.panning&&(ge.panning=le),H(this,"pan",{originalEvent:re},()=>{ae.transform({axes:me,event:re,to:{x:re.chartX-(ae.mouseDownX||0),y:re.chartY-(ae.mouseDownY||0)},trigger:"pan"}),Z(ae.container,{cursor:"move"})})}transform(re){var Le;let{axes:te=this.axes,event:ae,from:le={},reset:fe,selection:me,to:ge={},trigger:_e}=re,{inverted:Ce}=this,xe=!1,Se,Pe;for(let Te of((Le=this.hoverPoints)==null||Le.forEach(Me=>Me.setState()),te)){let{horiz:Me,len:$e,minPointOffset:Ye=0,options:Ge,reversed:Xe}=Te,et=Me?"width":"height",at=Me?"x":"y",bt=b(ge[et],Te.len),ye=b(le[et],Te.len),Ae=10>Math.abs(bt)?1:bt/ye,Ee=(le[at]||0)+ye/2-Te.pos,Ie=Ee-((ge[at]??Te.pos)+bt/2-Te.pos)/Ae,je=Xe&&!Ce||!Xe&&Ce?-1:1;if(!fe&&(Ee<0||Ee>Te.len))continue;let Fe=Te.toValue(Ie,!0)+(me||Te.isOrdinal?0:Ye*je),qe=Te.toValue(Ie+$e/Ae,!0)-(me||Te.isOrdinal?0:Ye*je||0),We=Te.allExtremes;if(Fe>qe&&([Fe,qe]=[qe,Fe]),Ae===1&&!fe&&Te.coll==="yAxis"&&!We){for(let bi of Te.series){let ei=bi.getExtremes(bi.getProcessedData(!0).yData,!0);We??(We={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),L(ei.dataMin)&&L(ei.dataMax)&&(We.dataMin=Math.min(ei.dataMin,We.dataMin),We.dataMax=Math.max(ei.dataMax,We.dataMax))}Te.allExtremes=We}let{dataMin:dt,dataMax:ht,min:gt,max:vt}=O(Te.getExtremes(),We||{}),ct=dt??Ge.min,Ct=ht??Ge.max,Ot=qe-Fe,Lt=Te.categories?0:Math.min(Ot,Ct-ct),$t=ct-Lt*(G(Ge.min)?0:Ge.minPadding),Zn=Ct+Lt*(G(Ge.max)?0:Ge.maxPadding),yi=Te.allowZoomOutside||Ae===1||_e!=="zoom"&&Ae>1,Hn=Math.min(Ge.min??$t,$t,yi?gt:$t),Jn=Math.max(Ge.max??Zn,Zn,yi?vt:Zn);(!Te.isOrdinal||Te.options.overscroll||Ae!==1||fe)&&(Fe<Hn&&(Fe=Hn,Ae>=1&&(qe=Fe+Ot)),qe>Jn&&(qe=Jn,Ae>=1&&(Fe=qe-Ot)),(fe||Te.series.length&&(Fe!==gt||qe!==vt)&&Fe>=Hn&&qe<=Jn)&&(me?me[Te.coll].push({axis:Te,min:Fe,max:qe}):(Te.isPanning=_e!=="zoom",Te.isPanning&&(Pe=!0),Te.setExtremes(fe?void 0:Fe,fe?void 0:qe,!1,!1,{move:Ie,trigger:_e,scale:Ae}),!fe&&(Fe>Hn||qe<Jn)&&_e!=="mousewheel"&&(Se=!0)),xe=!0),ae&&(this[Me?"mouseDownX":"mouseDownY"]=ae[Me?"chartX":"chartY"]))}return xe&&(me?H(this,"selection",me,()=>{delete re.selection,re.trigger="zoom",this.transform(re)}):(!Se||Pe||this.resetZoomButton?!Se&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw(_e==="zoom"&&(this.options.chart.animation??this.pointCount<100)))),xe}}return O(ce.prototype,{callbacks:[],collectionsWithInit:{xAxis:[ce.prototype.addAxis,[!0]],yAxis:[ce.prototype.addAxis,[!1]],series:[ce.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),ce}),i(n,"Extensions/ScrollablePlotArea.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Globals.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Utilities.js"]],function(r,a,s,o){let{stop:l}=r,{composed:c}=a,{addEvent:u,createElement:d,css:m,defined:v,merge:h,pushUnique:f}=o;function w(){let x=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!x&&(this.scrollablePlotArea=x=new y(this)),x==null||x.applyFixed()}function _(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class y{static compose(A,E,$){f(c,this.compose)&&(u(A,"afterInit",_),u(E,"afterSetChartSize",B=>this.afterSetSize(B.target,B)),u(E,"render",w),u($,"show",_))}static afterSetSize(A,E){let $,B,Q,{minWidth:I,minHeight:F}=A.options.chart.scrollablePlotArea||{},{clipBox:k,plotBox:P,inverted:C,renderer:p}=A;if(!p.forExport&&(I?(A.scrollablePixelsX=$=Math.max(0,I-A.chartWidth),$&&(A.scrollablePlotBox=h(A.plotBox),P.width=A.plotWidth+=$,k[C?"height":"width"]+=$,Q=!0)):F&&(A.scrollablePixelsY=B=Math.max(0,F-A.chartHeight),v(B)&&(A.scrollablePlotBox=h(A.plotBox),P.height=A.plotHeight+=B,k[C?"width":"height"]+=B,Q=!1)),v(Q)&&!E.skipAxes))for(let g of A.axes)g.horiz===Q&&(g.setAxisSize(),g.setAxisTranslation())}constructor(A){var D;let E,$=A.options.chart,B=s.getRendererType(),Q=$.scrollablePlotArea||{},I=this.moveFixedElements.bind(this),F={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};A.scrollablePixelsX&&(F.overflowX="auto"),A.scrollablePixelsY&&(F.overflowY="auto"),this.chart=A;let k=this.parentDiv=d("div",{className:"highcharts-scrolling-parent"},{position:"relative"},A.renderTo),P=this.scrollingContainer=d("div",{className:"highcharts-scrolling"},F,k),C=this.innerContainer=d("div",{className:"highcharts-inner-container"},void 0,P),p=this.fixedDiv=d("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(((D=$.style)==null?void 0:D.zIndex)||0)+2,top:0},void 0,!0),g=this.fixedRenderer=new B(p,A.chartWidth,A.chartHeight,$.style);this.mask=g.path().attr({fill:$.backgroundColor||"#fff","fill-opacity":Q.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),P.parentNode.insertBefore(p,P),m(A.renderTo,{overflow:"visible"}),u(A,"afterShowResetZoom",I),u(A,"afterApplyDrilldown",I),u(A,"afterLayOutTitles",I),u(P,"scroll",()=>{let{pointer:R,hoverPoint:Z}=A;R&&(delete R.chartPosition,Z&&(E=Z),R.runPointActions(void 0,E,!0))}),C.appendChild(A.container)}applyFixed(){var L;let{chart:A,fixedRenderer:E,isDirty:$,scrollingContainer:B}=this,{axisOffset:Q,chartWidth:I,chartHeight:F,container:k,plotHeight:P,plotLeft:C,plotTop:p,plotWidth:g,scrollablePixelsX:D=0,scrollablePixelsY:R=0}=A,{scrollPositionX:Z=0,scrollPositionY:G=0}=A.options.chart.scrollablePlotArea||{},V=I+D,X=F+R;E.setSize(I,F),($??!0)&&(this.isDirty=!1,this.moveFixedElements()),l(A.container),m(k,{width:`${V}px`,height:`${X}px`}),A.renderer.boxWrapper.attr({width:V,height:X,viewBox:[0,0,V,X].join(" ")}),(L=A.chartBackground)==null||L.attr({width:V,height:X}),m(B,{width:`${I}px`,height:`${F}px`}),v($)||(B.scrollLeft=D*Z,B.scrollTop=R*G);let ee=p-Q[0]-1,S=C-Q[3]-1,O=p+P+Q[2]+1,M=C+g+Q[1]+1,H=C+g-D,q=p+P-R,T=[["M",0,0]];D?T=[["M",0,ee],["L",C-1,ee],["L",C-1,O],["L",0,O],["Z"],["M",H,ee],["L",I,ee],["L",I,O],["L",H,O],["Z"]]:R&&(T=[["M",S,0],["L",S,p-1],["L",M,p-1],["L",M,0],["Z"],["M",S,q],["L",S,F],["L",M,F],["L",M,q],["Z"]]),A.redrawTrigger!=="adjustHeight"&&this.mask.attr({d:T})}moveFixedElements(){let A,{container:E,inverted:$,scrollablePixelsX:B,scrollablePixelsY:Q}=this.chart,I=this.fixedRenderer,F=y.fixedSelectors;for(let k of(B&&!$?A=".highcharts-yaxis":B&&$||Q&&!$?A=".highcharts-xaxis":Q&&$&&(A=".highcharts-yaxis"),A&&F.push(`${A}:not(.highcharts-radial-axis)`,`${A}-labels:not(.highcharts-radial-axis-labels)`),F))[].forEach.call(E.querySelectorAll(k),P=>{(P.namespaceURI===I.SVG_NS?I.box:I.box.parentNode).appendChild(P),P.style.pointerEvents="auto"})}}return y.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],y}),i(n,"Core/Axis/Stacking/StackItem.js",[n["Core/Templating.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(r,a,s){let{format:o}=r,{series:l}=a,{destroyObjectProperties:c,fireEvent:u,isNumber:d,pick:m}=s;return class{constructor(v,h,f,w,_){let y=v.chart.inverted,x=v.reversed;this.axis=v;let A=this.isNegative=!!f!=!!x;this.options=h=h||{},this.x=w,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=_,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:h.align||(y?A?"left":"right":"center"),verticalAlign:h.verticalAlign||(y?"middle":A?"bottom":"top"),y:h.y,x:h.x},this.textAlign=h.textAlign||(y?A?"right":"left":"center")}destroy(){c(this,this.axis)}render(v){let h=this.axis.chart,f=this.options,w=f.format,_=w?o(w,this,h):f.formatter.call(this);if(this.label)this.label.attr({text:_,visibility:"hidden"});else{this.label=h.renderer.label(_,null,void 0,f.shape,void 0,void 0,f.useHTML,!1,"stack-labels");let y={r:f.borderRadius||0,text:_,padding:m(f.padding,5),visibility:"hidden"};h.styledMode||(y.fill=f.backgroundColor,y.stroke=f.borderColor,y["stroke-width"]=f.borderWidth,this.label.css(f.style||{})),this.label.attr(y),this.label.added||this.label.add(v)}this.label.labelrank=h.plotSizeY,u(this,"afterRender")}setOffset(v,h,f,w,_,y){let{alignOptions:x,axis:A,label:E,options:$,textAlign:B}=this,Q=A.chart,I=this.getStackBox({xOffset:v,width:h,boxBottom:f,boxTop:w,defaultX:_,xAxis:y}),{verticalAlign:F}=x;if(E&&I){let k=E.getBBox(void 0,0),P=E.padding,C=m($.overflow,"justify")==="justify",p;x.x=$.x||0,x.y=$.y||0;let{x:g,y:D}=this.adjustStackPosition({labelBox:k,verticalAlign:F,textAlign:B});I.x-=g,I.y-=D,E.align(x,!1,I),(p=Q.isInsidePlot(E.alignAttr.x+x.x+g,E.alignAttr.y+x.y+D))||(C=!1),C&&l.prototype.justifyDataLabel.call(A,E,x,E.alignAttr,k,I),E.attr({x:E.alignAttr.x,y:E.alignAttr.y,rotation:$.rotation,rotationOriginX:k.width*{left:0,center:.5,right:1}[$.textAlign||"center"],rotationOriginY:k.height/2}),m(!C&&$.crop,!0)&&(p=d(E.x)&&d(E.y)&&Q.isInsidePlot(E.x-P+(E.width||0),E.y)&&Q.isInsidePlot(E.x+P,E.y)),E[p?"show":"hide"]()}u(this,"afterSetOffset",{xOffset:v,width:h})}adjustStackPosition({labelBox:v,verticalAlign:h,textAlign:f}){let w={bottom:0,middle:1,top:2,right:1,center:0,left:-1},_=w[h],y=w[f];return{x:v.width/2+v.width/2*y,y:v.height/2*_}}getStackBox(v){let h=this.axis,f=h.chart,{boxTop:w,defaultX:_,xOffset:y,width:x,boxBottom:A}=v,E=h.stacking.usePercentage?100:m(w,this.total,0),$=h.toPixels(E),B=v.xAxis||f.xAxis[0],Q=m(_,B.translate(this.x))+y,I=Math.abs($-h.toPixels(A||d(h.min)&&h.logarithmic&&h.logarithmic.lin2log(h.min)||0)),F=f.inverted,k=this.isNegative;return F?{x:(k?$:$-I)-f.plotLeft,y:B.height-Q-x+B.top-f.plotTop,width:I,height:x}:{x:Q+B.transB-f.plotLeft,y:(k?$-I:$)-f.plotTop,width:x,height:I}}}}),i(n,"Core/Axis/Stacking/StackingAxis.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Axis/Axis.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Axis/Stacking/StackItem.js"],n["Core/Utilities.js"]],function(r,a,s,o,l){var c;let{getDeferredAnimation:u}=r,{series:{prototype:d}}=s,{addEvent:m,correctFloat:v,defined:h,destroyObjectProperties:f,fireEvent:w,isArray:_,isNumber:y,objectEach:x,pick:A}=l;function E(){let p=this.inverted;this.axes.forEach(g=>{g.stacking&&g.stacking.stacks&&g.hasVisibleSeries&&(g.stacking.oldStacks=g.stacking.stacks)}),this.series.forEach(g=>{let D=g.xAxis&&g.xAxis.options||{};g.options.stacking&&g.reserveSpace()&&(g.stackKey=[g.type,A(g.options.stack,""),p?D.top:D.left,p?D.height:D.width].join(","))})}function $(){var g;let p=this.stacking;if(p){let D=p.stacks;x(D,(R,Z)=>{f(R),delete D[Z]}),(g=p.stackTotalGroup)==null||g.destroy()}}function B(){this.stacking||(this.stacking=new C(this))}function Q(p,g,D,R){return!h(p)||p.x!==g||R&&p.stackKey!==R?p={x:g,index:0,key:R,stackKey:R}:p.index++,p.key=[D,g,p.index].join(","),p}function I(){let p,g=this,D=g.yAxis,R=g.stackKey||"",Z=D.stacking.stacks,G=g.processedXData,V=g.options.stacking,X=g[V+"Stacker"];X&&[R,"-"+R].forEach(ee=>{var q;let S=G.length,O,M,H;for(;S--;)O=G[S],p=g.getStackIndicator(p,O,g.index,ee),M=(q=Z[ee])==null?void 0:q[O],(H=M==null?void 0:M.points[p.key||""])&&X.call(g,H,M,S)})}function F(p,g,D){let R=g.total?100/g.total:0;p[0]=v(p[0]*R),p[1]=v(p[1]*R),this.stackedYData[D]=p[1]}function k(p){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?d.setStackedPoints.call(this,p,"group"):p.stacking.resetStacks())}function P(p,g){var se,ce;let D,R,Z,G,V,X,ee,S,O,M=g||this.options.stacking;if(!M||!this.reserveSpace()||({group:"xAxis"}[M]||"yAxis")!==p.coll)return;let H=this.processedXData,q=this.processedYData,T=[],L=q.length,U=this.options,ie=U.threshold||0,N=U.startFromThreshold?ie:0,K=U.stack,b=g?`${this.type},${M}`:this.stackKey||"",z="-"+b,Y=this.negStacks,W=p.stacking,j=W.stacks,ne=W.oldStacks;for(W.stacksTouched+=1,ee=0;ee<L;ee++){S=H[ee],O=q[ee],X=(D=this.getStackIndicator(D,S,this.index)).key||"",j[V=(R=Y&&O<(N?0:ie))?z:b]||(j[V]={}),j[V][S]||((se=ne[V])!=null&&se[S]?(j[V][S]=ne[V][S],j[V][S].total=null):j[V][S]=new o(p,p.options.stackLabels,!!R,S,K)),Z=j[V][S],O!==null?(Z.points[X]=Z.points[this.index]=[A(Z.cumulative,N)],h(Z.cumulative)||(Z.base=X),Z.touched=W.stacksTouched,D.index>0&&this.singleStacks===!1&&(Z.points[X][0]=Z.points[this.index+","+S+",0"][0])):(delete Z.points[X],delete Z.points[this.index]);let oe=Z.total||0;M==="percent"?(G=R?b:z,oe=Y&&((ce=j[G])!=null&&ce[S])?(G=j[G][S]).total=Math.max(G.total||0,oe)+Math.abs(O)||0:v(oe+(Math.abs(O)||0))):M==="group"?(_(O)&&(O=O[0]),O!==null&&oe++):oe=v(oe+(O||0)),M==="group"?Z.cumulative=(oe||1)-1:Z.cumulative=v(A(Z.cumulative,N)+(O||0)),Z.total=oe,O!==null&&(Z.points[X].push(Z.cumulative),T[ee]=Z.cumulative,Z.hasValidPoints=!0)}M==="percent"&&(W.usePercentage=!0),M!=="group"&&(this.stackedYData=T),W.oldStacks={}}class C{constructor(g){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=g}buildStacks(){let g,D,R=this.axis,Z=R.series,G=R.coll==="xAxis",V=R.options.reversedStacks,X=Z.length;for(this.resetStacks(),this.usePercentage=!1,D=X;D--;)g=Z[V?D:X-D-1],G&&g.setGroupedPoints(R),g.setStackedPoints(R);if(!G)for(D=0;D<X;D++)Z[D].modifyStacks();w(R,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,x(this.stacks,g=>{x(g,D=>{D.cumulative=D.total})}))}resetStacks(){x(this.stacks,g=>{x(g,(D,R)=>{y(D.touched)&&D.touched<this.stacksTouched?(D.destroy(),delete g[R]):(D.total=null,D.cumulative=null)})})}renderStackTotals(){var X;let g=this.axis,D=g.chart,R=D.renderer,Z=this.stacks,G=u(D,((X=g.options.stackLabels)==null?void 0:X.animation)||!1),V=this.stackTotalGroup=this.stackTotalGroup||R.g("stack-labels").attr({zIndex:6,opacity:0}).add();V.translate(D.plotLeft,D.plotTop),x(Z,ee=>{x(ee,S=>{S.render(V)})}),V.animate({opacity:1},G)}}return(c||(c={})).compose=function(p,g,D){let R=g.prototype,Z=D.prototype;R.getStacks||(m(p,"init",B),m(p,"destroy",$),R.getStacks=E,Z.getStackIndicator=Q,Z.modifyStacks=I,Z.percentStacker=F,Z.setGroupedPoints=k,Z.setStackedPoints=P)},c}),i(n,"Series/Line/LineSeries.js",[n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(r,a,s){let{defined:o,merge:l,isObject:c}=s;class u extends r{drawGraph(){let m=this.options,v=(this.gappedPath||this.getGraphPath).call(this),h=this.chart.styledMode;[this,...this.zones].forEach((f,w)=>{let _,y=f.graph,x=y?"animate":"attr",A=f.dashStyle||m.dashStyle;y?(y.endX=this.preventGraphAnimation?null:v.xMap,y.animate({d:v})):v.length&&(f.graph=y=this.chart.renderer.path(v).addClass("highcharts-graph"+(w?` highcharts-zone-graph-${w-1} `:" ")+(w&&f.className||"")).attr({zIndex:1}).add(this.group)),y&&!h&&(_={stroke:!w&&m.lineColor||f.color||this.color||"#cccccc","stroke-width":m.lineWidth||0,fill:this.fillGraph&&this.color||"none"},A?_.dashstyle=A:m.linecap!=="square"&&(_["stroke-linecap"]=_["stroke-linejoin"]="round"),y[x](_).shadow(w<2&&m.shadow&&l({filterUnits:"userSpaceOnUse"},c(m.shadow)?m.shadow:{}))),y&&(y.startX=v.xMap,y.isArea=v.isArea)})}getGraphPath(m,v,h){let f=this,w=f.options,_=[],y=[],x,A=w.step,E=(m=m||f.points).reversed;return E&&m.reverse(),(A={right:1,center:2}[A]||A&&3)&&E&&(A=4-A),(m=this.getValidPoints(m,!1,!(w.connectNulls&&!v&&!h))).forEach(function($,B){let Q,I=$.plotX,F=$.plotY,k=m[B-1],P=$.isNull||typeof F!="number";($.leftCliff||k&&k.rightCliff)&&!h&&(x=!0),P&&!o(v)&&B>0?x=!w.connectNulls:P&&!v?x=!0:(B===0||x?Q=[["M",$.plotX,$.plotY]]:f.getPointSpline?Q=[f.getPointSpline(m,$,B)]:A?(Q=A===1?[["L",k.plotX,F]]:A===2?[["L",(k.plotX+I)/2,k.plotY],["L",(k.plotX+I)/2,F]]:[["L",I,k.plotY]]).push(["L",I,F]):Q=[["L",I,F]],y.push($.x),A&&(y.push($.x),A===2&&y.push($.x)),_.push.apply(_,Q),x=!1)}),_.xMap=y,f.graphPath=_,_}}return u.defaultOptions=l(r.defaultOptions,{legendSymbol:"lineMarker"}),a.registerSeriesType("line",u),u}),i(n,"Series/Area/AreaSeriesDefaults.js",[],function(){return{threshold:0,legendSymbol:"areaMarker"}}),i(n,"Series/Area/AreaSeries.js",[n["Series/Area/AreaSeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(r,a,s){let{seriesTypes:{line:o}}=a,{extend:l,merge:c,objectEach:u,pick:d}=s;class m extends o{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:h,options:f}=this;[this,...this.zones].forEach((w,_)=>{let y={},x=w.fillColor||f.fillColor,A=w.area,E=A?"animate":"attr";A?(A.endX=this.preventGraphAnimation?null:h.xMap,A.animate({d:h})):(y.zIndex=0,(A=w.area=this.chart.renderer.path(h).addClass("highcharts-area"+(_?` highcharts-zone-area-${_-1} `:" ")+(_&&w.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(y.fill=x||w.color||this.color,y["fill-opacity"]=x?1:f.fillOpacity??.75,A.css({pointerEvents:this.stickyTracking?"none":"auto"})),A[E](y),A.startX=h.xMap,A.shiftUnit=f.step?2:1})}getGraphPath(h){let f,w,_,y=o.prototype.getGraphPath,x=this.options,A=x.stacking,E=this.yAxis,$=[],B=[],Q=this.index,I=E.stacking.stacks[this.stackKey],F=x.threshold,k=Math.round(E.getThreshold(x.threshold)),P=d(x.connectNulls,A==="percent"),C=function(G,V,X){let ee=h[G],S=A&&I[ee.x].points[Q],O=ee[X+"Null"]||0,M=ee[X+"Cliff"]||0,H,q,T=!0;M||O?(H=(O?S[0]:S[1])+M,q=S[0]+M,T=!!O):!A&&h[V]&&h[V].isNull&&(H=q=F),H!==void 0&&(B.push({plotX:f,plotY:H===null?k:E.getThreshold(H),isNull:T,isCliff:!0}),$.push({plotX:f,plotY:q===null?k:E.getThreshold(q),doCurve:!1}))};h=h||this.points,A&&(h=this.getStackPoints(h));for(let G=0,V=h.length;G<V;++G)A||(h[G].leftCliff=h[G].rightCliff=h[G].leftNull=h[G].rightNull=void 0),w=h[G].isNull,f=d(h[G].rectPlotX,h[G].plotX),_=A?d(h[G].yBottom,k):k,w&&!P||(P||C(G,G-1,"left"),w&&!A&&P||(B.push(h[G]),$.push({x:G,plotX:f,plotY:_})),P||C(G,G+1,"right"));let p=y.call(this,B,!0,!0);$.reversed=!0;let g=y.call(this,$,!0,!0),D=g[0];D&&D[0]==="M"&&(g[0]=["L",D[1],D[2]]);let R=p.concat(g);R.length&&R.push(["Z"]);let Z=y.call(this,B,!1,P);return this.chart.series.length>1&&A&&B.some(G=>G.isCliff)&&(R.hasStackedCliffs=Z.hasStackedCliffs=!0),R.xMap=p.xMap,this.areaPath=R,Z}getStackPoints(h){let f=this,w=[],_=[],y=this.xAxis,x=this.yAxis,A=x.stacking.stacks[this.stackKey],E={},$=x.series,B=$.length,Q=x.options.reversedStacks?1:-1,I=$.indexOf(f);if(h=h||this.points,this.options.stacking){for(let k=0;k<h.length;k++)h[k].leftNull=h[k].rightNull=void 0,E[h[k].x]=h[k];u(A,function(k,P){k.total!==null&&_.push(P)}),_.sort(function(k,P){return k-P});let F=$.map(k=>k.visible);_.forEach(function(k,P){let C=0,p,g;if(E[k]&&!E[k].isNull)w.push(E[k]),[-1,1].forEach(function(D){let R=D===1?"rightNull":"leftNull",Z=A[_[P+D]],G=0;if(Z){let V=I;for(;V>=0&&V<B;){let X=$[V].index;!(p=Z.points[X])&&(X===f.index?E[k][R]=!0:F[V]&&(g=A[k].points[X])&&(G-=g[1]-g[0])),V+=Q}}E[k][D===1?"rightCliff":"leftCliff"]=G});else{let D=I;for(;D>=0&&D<B;){let R=$[D].index;if(p=A[k].points[R]){C=p[1];break}D+=Q}C=d(C,0),C=x.translate(C,0,1,0,1),w.push({isNull:!0,plotX:y.translate(k,0,0,0,1),x:k,plotY:C,yBottom:C})}})}return w}}return m.defaultOptions=c(o.defaultOptions,r),l(m.prototype,{singleStacks:!1}),a.registerSeriesType("area",m),m}),i(n,"Series/Spline/SplineSeries.js",[n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(r,a){let{line:s}=r.seriesTypes,{merge:o,pick:l}=a;class c extends s{getPointSpline(d,m,v){let h,f,w,_,y=m.plotX||0,x=m.plotY||0,A=d[v-1],E=d[v+1];function $(Q){return Q&&!Q.isNull&&Q.doCurve!==!1&&!m.isCliff}if($(A)&&$(E)){let Q=A.plotX||0,I=A.plotY||0,F=E.plotX||0,k=E.plotY||0,P=0;h=(1.5*y+Q)/2.5,f=(1.5*x+I)/2.5,w=(1.5*y+F)/2.5,_=(1.5*x+k)/2.5,w!==h&&(P=(_-f)*(w-y)/(w-h)+x-_),f+=P,_+=P,f>I&&f>x?(f=Math.max(I,x),_=2*x-f):f<I&&f<x&&(f=Math.min(I,x),_=2*x-f),_>k&&_>x?(_=Math.max(k,x),f=2*x-_):_<k&&_<x&&(_=Math.min(k,x),f=2*x-_),m.rightContX=w,m.rightContY=_,m.controlPoints={low:[h,f],high:[w,_]}}let B=["C",l(A.rightContX,A.plotX,0),l(A.rightContY,A.plotY,0),l(h,y,0),l(f,x,0),y,x];return A.rightContX=A.rightContY=void 0,B}}return c.defaultOptions=o(s.defaultOptions),r.registerSeriesType("spline",c),c}),i(n,"Series/AreaSpline/AreaSplineSeries.js",[n["Series/Spline/SplineSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(r,a,s){let{area:o,area:{prototype:l}}=a.seriesTypes,{extend:c,merge:u}=s;class d extends r{}return d.defaultOptions=u(r.defaultOptions,o.defaultOptions),c(d.prototype,{getGraphPath:l.getGraphPath,getStackPoints:l.getStackPoints,drawGraph:l.drawGraph}),a.registerSeriesType("areaspline",d),d}),i(n,"Series/Column/ColumnSeriesDefaults.js",[],function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}),i(n,"Series/Column/ColumnSeries.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Color/Color.js"],n["Series/Column/ColumnSeriesDefaults.js"],n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(r,a,s,o,l,c,u){let{animObject:d}=r,{parse:m}=a,{noop:v}=o,{clamp:h,crisp:f,defined:w,extend:_,fireEvent:y,isArray:x,isNumber:A,merge:E,pick:$,objectEach:B}=u;class Q extends l{animate(F){let k,P,C=this,p=this.yAxis,g=p.pos,D=p.reversed,R=C.options,{clipOffset:Z,inverted:G}=this.chart,V={},X=G?"translateX":"translateY";F&&Z?(V.scaleY=.001,P=h(p.toPixels(R.threshold),g,g+p.len),G?(P+=D?-Math.floor(Z[0]):Math.ceil(Z[2]),V.translateX=P-p.len):(P+=D?Math.ceil(Z[0]):-Math.floor(Z[2]),V.translateY=P),C.clipBox&&C.setClip(),C.group.attr(V)):(k=Number(C.group.attr(X)),C.group.animate({scaleY:1},_(d(C.options.animation),{step:function(ee,S){C.group&&(V[X]=k+S.pos*(g-k),C.group.attr(V))}})))}init(F,k){super.init.apply(this,arguments);let P=this;(F=P.chart).hasRendered&&F.series.forEach(function(C){C.type===P.type&&(C.isDirty=!0)})}getColumnMetrics(){var O,M;let F=this,k=F.options,P=F.xAxis,C=F.yAxis,p=P.options.reversedStacks,g=P.reversed&&!p||!P.reversed&&p,D={},R,Z=0;k.grouping===!1?Z=1:F.chart.series.forEach(function(H){let q,T=H.yAxis,L=H.options;H.type===F.type&&H.reserveSpace()&&C.len===T.len&&C.pos===T.pos&&(L.stacking&&L.stacking!=="group"?(D[R=H.stackKey]===void 0&&(D[R]=Z++),q=D[R]):L.grouping!==!1&&(q=Z++),H.columnIndex=q)});let G=Math.min(Math.abs(P.transA)*(!((O=P.brokenAxis)!=null&&O.hasBreaks)&&((M=P.ordinal)==null?void 0:M.slope)||k.pointRange||P.closestPointRange||P.tickInterval||1),P.len),V=G*k.groupPadding,X=(G-2*V)/(Z||1),ee=Math.min(k.maxPointWidth||P.len,$(k.pointWidth,X*(1-2*k.pointPadding))),S=(F.columnIndex||0)+(g?1:0);return F.columnMetrics={width:ee,offset:(X-ee)/2+(V+S*X-G/2)*(g?-1:1),paddedWidth:X,columnCount:Z},F.columnMetrics}crispCol(F,k,P,C){let p=this.borderWidth,g=this.chart.inverted;return C=f(k+C,p,g)-(k=f(k,p,g)),this.options.crisp&&(P=f(F+P,p)-(F=f(F,p))),{x:F,y:k,width:P,height:C}}adjustForMissingColumns(F,k,P,C){var p;if(!P.isNull&&C.columnCount>1){let g=this.xAxis.series.filter(G=>G.visible).map(G=>G.index),D=0,R=0;B((p=this.xAxis.stacking)==null?void 0:p.stacks,G=>{if(typeof P.x=="number"){let V=G[P.x.toString()];if(V&&x(V.points[this.index])){let X=Object.keys(V.points).filter(ee=>!ee.match(",")&&V.points[ee]&&V.points[ee].length>1).map(parseFloat).filter(ee=>g.indexOf(ee)!==-1).sort((ee,S)=>S-ee);D=X.indexOf(this.index),R=X.length}}}),D=this.xAxis.reversed?R-1-D:D;let Z=(R-1)*C.paddedWidth+k;F=(P.plotX||0)+Z/2-k-D*C.paddedWidth}return F}translate(){let F=this,k=F.chart,P=F.options,C=F.dense=F.closestPointRange*F.xAxis.transA<2,p=F.borderWidth=$(P.borderWidth,C?0:1),g=F.xAxis,D=F.yAxis,R=P.threshold,Z=$(P.minPointLength,5),G=F.getColumnMetrics(),V=G.width,X=F.pointXOffset=G.offset,ee=F.dataMin,S=F.dataMax,O=F.translatedThreshold=D.getThreshold(R),M=F.barW=Math.max(V,1+2*p);P.pointPadding&&(M=Math.ceil(M)),l.prototype.translate.apply(F),F.points.forEach(function(H){let q=$(H.yBottom,O),T=999+Math.abs(q),L=H.plotX||0,U=h(H.plotY,-T,D.len+T),ie,N=Math.min(U,q),K=Math.max(U,q)-N,b=V,z=L+X,Y=M;Z&&Math.abs(K)<Z&&(K=Z,ie=!D.reversed&&!H.negative||D.reversed&&H.negative,A(R)&&A(S)&&H.y===R&&S<=R&&(D.min||0)<R&&(ee!==S||(D.max||0)<=R)&&(ie=!ie,H.negative=!H.negative),N=Math.abs(N-O)>Z?q-Z:O-(ie?Z:0)),w(H.options.pointWidth)&&(z-=Math.round(((b=Y=Math.ceil(H.options.pointWidth))-V)/2)),P.centerInCategory&&!P.stacking&&(z=F.adjustForMissingColumns(z,b,H,G)),H.barX=z,H.pointWidth=b,H.tooltipPos=k.inverted?[h(D.len+D.pos-k.plotLeft-U,D.pos-k.plotLeft,D.len+D.pos-k.plotLeft),g.len+g.pos-k.plotTop-z-Y/2,K]:[g.left-k.plotLeft+z+Y/2,h(U+D.pos-k.plotTop,D.pos-k.plotTop,D.len+D.pos-k.plotTop),K],H.shapeType=F.pointClass.prototype.shapeType||"roundedRect",H.shapeArgs=F.crispCol(z,H.isNull?O:N,Y,H.isNull?0:K)}),y(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(F,k){let P=this.options,C=this.pointAttrToOptions||{},p=C.stroke||"borderColor",g=C["stroke-width"]||"borderWidth",D,R,Z,G=F&&F.color||this.color,V=F&&F[p]||P[p]||G,X=F&&F.options.dashStyle||P.dashStyle,ee=F&&F[g]||P[g]||this[g]||0,S=$(F&&F.opacity,P.opacity,1);F&&this.zones.length&&(R=F.getZone(),G=F.options.color||R&&(R.color||F.nonZonedColor)||this.color,R&&(V=R.borderColor||V,X=R.dashStyle||X,ee=R.borderWidth||ee)),k&&F&&(Z=(D=E(P.states[k],F.options.states&&F.options.states[k]||{})).brightness,G=D.color||Z!==void 0&&m(G).brighten(D.brightness).get()||G,V=D[p]||V,ee=D[g]||ee,X=D.dashStyle||X,S=$(D.opacity,S));let O={fill:G,stroke:V,"stroke-width":ee,opacity:S};return X&&(O.dashstyle=X),O}drawPoints(F=this.points){let k,P=this,C=this.chart,p=P.options,g=C.renderer,D=p.animationLimit||250;F.forEach(function(R){let Z=R.plotY,G=R.graphic,V=!!G,X=G&&C.pointCount<D?"animate":"attr";A(Z)&&R.y!==null?(k=R.shapeArgs,G&&R.hasNewShapeType()&&(G=G.destroy()),P.enabledDataSorting&&(R.startXPos=P.xAxis.reversed?-(k&&k.width||0):P.xAxis.width),!G&&(R.graphic=G=g[R.shapeType](k).add(R.group||P.group),G&&P.enabledDataSorting&&C.hasRendered&&C.pointCount<D&&(G.attr({x:R.startXPos}),V=!0,X="animate")),G&&V&&G[X](E(k)),C.styledMode||G[X](P.pointAttribs(R,R.selected&&"select")).shadow(R.allowShadow!==!1&&p.shadow),G&&(G.addClass(R.getClassName(),!0),G.attr({visibility:R.visible?"inherit":"hidden"}))):G&&(R.graphic=G.destroy())})}drawTracker(F=this.points){let k,P=this,C=P.chart,p=C.pointer,g=function(D){let R=p==null?void 0:p.getPointFromEvent(D);p&&R&&P.options.enableMouseTracking&&(p.isDirectTouch=!0,R.onMouseOver(D))};F.forEach(function(D){k=x(D.dataLabels)?D.dataLabels:D.dataLabel?[D.dataLabel]:[],D.graphic&&(D.graphic.element.point=D),k.forEach(function(R){(R.div||R.element).point=D})}),P._hasTracking||(P.trackerGroups.forEach(function(D){P[D]&&(P[D].addClass("highcharts-tracker").on("mouseover",g).on("mouseout",function(R){p==null||p.onTrackerMouseOut(R)}).on("touchstart",g),!C.styledMode&&P.options.cursor&&P[D].css({cursor:P.options.cursor}))}),P._hasTracking=!0),y(this,"afterDrawTracker")}remove(){let F=this,k=F.chart;k.hasRendered&&k.series.forEach(function(P){P.type===F.type&&(P.isDirty=!0)}),l.prototype.remove.apply(F,arguments)}}return Q.defaultOptions=E(l.defaultOptions,s),_(Q.prototype,{directTouch:!0,getSymbol:v,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),c.registerSeriesType("column",Q),Q}),i(n,"Core/Series/DataLabel.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Templating.js"],n["Core/Utilities.js"]],function(r,a,s){var o;let{getDeferredAnimation:l}=r,{format:c}=a,{defined:u,extend:d,fireEvent:m,isArray:v,isString:h,merge:f,objectEach:w,pick:_,pInt:y,splat:x}=s;return function(A){function E(){return P(this).some(p=>p==null?void 0:p.enabled)}function $(p,g,D,R,Z){var U;let{chart:G,enabledDataSorting:V}=this,X=this.isCartesian&&G.inverted,ee=p.plotX,S=p.plotY,O=D.rotation||0,M=u(ee)&&u(S)&&G.isInsidePlot(ee,Math.round(S),{inverted:X,paneCoordinates:!0,series:this}),H=O===0&&_(D.overflow,V?"none":"justify")==="justify",q=this.visible&&p.visible!==!1&&u(ee)&&(p.series.forceDL||V&&!H||M||_(D.inside,!!this.options.stacking)&&R&&G.isInsidePlot(ee,X?R.x+1:R.y+R.height-1,{inverted:X,paneCoordinates:!0,series:this})),T=p.pos();if(q&&T){var L;let ie=g.getBBox(),N=g.getBBox(void 0,0),K={right:1,center:.5}[D.align||0]||0,b={bottom:1,middle:.5}[D.verticalAlign||0]||0;if(R=d({x:T[0],y:Math.round(T[1]),width:0,height:0},R||{}),D.alignTo==="plotEdges"&&this.isCartesian&&(R[X?"x":"y"]=0,R[X?"width":"height"]=((U=this.yAxis)==null?void 0:U.len)||0),d(D,{width:ie.width,height:ie.height}),L=R,V&&this.xAxis&&!H&&this.setDataLabelStartPos(p,g,Z,M,L),g.align(f(D,{width:N.width,height:N.height}),!1,R,!1),g.alignAttr.x+=K*(N.width-ie.width),g.alignAttr.y+=b*(N.height-ie.height),g[g.placed?"animate":"attr"]({x:g.alignAttr.x+(ie.width-N.width)/2,y:g.alignAttr.y+(ie.height-N.height)/2,rotationOriginX:(g.width||0)/2,rotationOriginY:(g.height||0)/2}),H&&R.height>=0)this.justifyDataLabel(g,D,g.alignAttr,ie,R,Z);else if(_(D.crop,!0)){let{x:z,y:Y}=g.alignAttr;q=G.isInsidePlot(z,Y,{paneCoordinates:!0,series:this})&&G.isInsidePlot(z+ie.width-1,Y+ie.height-1,{paneCoordinates:!0,series:this})}D.shape&&!O&&g[Z?"attr":"animate"]({anchorX:T[0],anchorY:T[1]})}Z&&V&&(g.placed=!1),q||V&&!H?(g.show(),g.placed=!0):(g.hide(),g.placed=!1)}function B(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function Q(p){let g=this.hasRendered||0,D=this.initDataLabelsGroup().attr({opacity:+g});return!g&&D&&(this.visible&&D.show(),this.options.animation?D.animate({opacity:1},p):D.attr({opacity:1})),D}function I(p){var q;let g;p=p||this.points;let D=this,R=D.chart,Z=D.options,G=R.renderer,{backgroundColor:V,plotBackgroundColor:X}=R.options.chart,ee=G.getContrast(h(X)&&X||h(V)&&V||"#000000"),S=P(D),{animation:O,defer:M}=S[0],H=M?l(R,O,D):{defer:0,duration:0};m(this,"drawDataLabels"),(q=D.hasDataLabels)!=null&&q.call(D)&&(g=this.initDataLabels(H),p.forEach(T=>{var ie,N;let L=T.dataLabels||[];x(k(S,T.dlOptions||((ie=T.options)==null?void 0:ie.dataLabels))).forEach((K,b)=>{let z=K.enabled&&(T.visible||T.dataLabelOnHidden)&&(!T.isNull||T.dataLabelOnNull)&&function(me,ge){let _e=ge.filter;if(_e){let Ce=_e.operator,xe=me[_e.property],Se=_e.value;return Ce===">"&&xe>Se||Ce==="<"&&xe<Se||Ce===">="&&xe>=Se||Ce==="<="&&xe<=Se||Ce==="=="&&xe==Se||Ce==="==="&&xe===Se||Ce==="!="&&xe!=Se||Ce==="!=="&&xe!==Se}return!0}(T,K),{backgroundColor:Y,borderColor:W,distance:j,style:ne={}}=K,se,ce,oe,re,te={},ae=L[b],le=!ae,fe;z&&(ce=_(K[T.formatPrefix+"Format"],K.format),se=T.getLabelConfig(),oe=u(ce)?c(ce,se,R):(K[T.formatPrefix+"Formatter"]||K.formatter).call(se,K),re=K.rotation,!R.styledMode&&(ne.color=_(K.color,ne.color,h(D.color)?D.color:void 0,"#000000"),ne.color==="contrast"?(Y!=="none"&&(fe=Y),T.contrastColor=G.getContrast(fe!=="auto"&&fe||T.color||D.color),ne.color=fe||!u(j)&&K.inside||0>y(j||0)||Z.stacking?T.contrastColor:ee):delete T.contrastColor,Z.cursor&&(ne.cursor=Z.cursor)),te={r:K.borderRadius||0,rotation:re,padding:K.padding,zIndex:1},R.styledMode||(te.fill=Y==="auto"?T.color:Y,te.stroke=W==="auto"?T.color:W,te["stroke-width"]=K.borderWidth),w(te,(me,ge)=>{me===void 0&&delete te[ge]})),!ae||z&&u(oe)&&!!ae.div==!!K.useHTML&&(ae.rotation&&K.rotation||ae.rotation===K.rotation)||(ae=void 0,le=!0),z&&u(oe)&&(ae?te.text=oe:(ae=G.label(oe,0,0,K.shape,void 0,void 0,K.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+T.colorIndex+" "+(K.className||"")+(K.useHTML?" highcharts-tracker":"")),ae&&(ae.options=K,ae.attr(te),R.styledMode?ne.width&&ae.css({width:ne.width,textOverflow:ne.textOverflow}):ae.css(ne).shadow(K.shadow),m(ae,"beforeAddingDataLabel",{labelOptions:K,point:T}),ae.added||ae.add(g),D.alignDataLabel(T,ae,K,void 0,le),ae.isActive=!0,L[b]&&L[b]!==ae&&L[b].destroy(),L[b]=ae))});let U=L.length;for(;U--;)L[U]&&L[U].isActive?L[U].isActive=!1:((N=L[U])==null||N.destroy(),L.splice(U,1));T.dataLabel=L[0],T.dataLabels=L})),m(this,"afterDrawDataLabels")}function F(p,g,D,R,Z,G){let V=this.chart,X=g.align,ee=g.verticalAlign,S=p.box?0:p.padding||0,O=V.inverted?this.yAxis:this.xAxis,M=O?O.left-V.plotLeft:0,H=V.inverted?this.xAxis:this.yAxis,q=H?H.top-V.plotTop:0,{x:T=0,y:L=0}=g,U,ie;return(U=(D.x||0)+S+M)<0&&(X==="right"&&T>=0?(g.align="left",g.inside=!0):T-=U,ie=!0),(U=(D.x||0)+R.width-S+M)>V.plotWidth&&(X==="left"&&T<=0?(g.align="right",g.inside=!0):T+=V.plotWidth-U,ie=!0),(U=D.y+S+q)<0&&(ee==="bottom"&&L>=0?(g.verticalAlign="top",g.inside=!0):L-=U,ie=!0),(U=(D.y||0)+R.height-S+q)>V.plotHeight&&(ee==="top"&&L<=0?(g.verticalAlign="bottom",g.inside=!0):L+=V.plotHeight-U,ie=!0),ie&&(g.x=T,g.y=L,p.placed=!G,p.align(g,void 0,Z)),ie}function k(p,g){let D=[],R;if(v(p)&&!v(g))D=p.map(function(Z){return f(Z,g)});else if(v(g)&&!v(p))D=g.map(function(Z){return f(p,Z)});else if(v(p)||v(g)){if(v(p)&&v(g))for(R=Math.max(p.length,g.length);R--;)D[R]=f(p[R],g[R])}else D=f(p,g);return D}function P(p){var D,R;let g=p.chart.options.plotOptions;return x(k(k((D=g==null?void 0:g.series)==null?void 0:D.dataLabels,(R=g==null?void 0:g[p.type])==null?void 0:R.dataLabels),p.options.dataLabels))}function C(p,g,D,R,Z){let G=this.chart,V=G.inverted,X=this.xAxis,ee=X.reversed,S=((V?g.height:g.width)||0)/2,O=p.pointWidth,M=O?O/2:0;g.startXPos=V?Z.x:ee?-S-M:X.width-S+M,g.startYPos=V?ee?this.yAxis.height-S+M:-S-M:Z.y,R?g.visibility==="hidden"&&(g.show(),g.attr({opacity:0}).animate({opacity:1})):g.attr({opacity:1}).animate({opacity:0},void 0,g.hide),G.hasRendered&&(D&&g.attr({x:g.startXPos,y:g.startYPos}),g.placed=!0)}A.compose=function(p){let g=p.prototype;g.initDataLabels||(g.initDataLabels=Q,g.initDataLabelsGroup=B,g.alignDataLabel=$,g.drawDataLabels=I,g.justifyDataLabel=F,g.setDataLabelStartPos=C,g.hasDataLabels=E)}}(o||(o={})),o}),i(n,"Series/Column/ColumnDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Globals.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(r,a,s,o){var l;let{composed:c}=a,{series:u}=s,{merge:d,pick:m,pushUnique:v}=o;return function(h){function f(w,_,y,x,A){let E=this.chart.inverted,$=w.series,B=($.xAxis?$.xAxis.len:this.chart.plotSizeX)||0,Q=($.yAxis?$.yAxis.len:this.chart.plotSizeY)||0,I=w.dlBox||w.shapeArgs,F=m(w.below,w.plotY>m(this.translatedThreshold,Q)),k=m(y.inside,!!this.options.stacking);if(I){if(x=d(I),!(y.overflow==="allow"&&y.crop===!1)){x.y<0&&(x.height+=x.y,x.y=0);let P=x.y+x.height-Q;P>0&&P<x.height-1&&(x.height-=P)}E&&(x={x:Q-x.y-x.height,y:B-x.x-x.width,width:x.height,height:x.width}),k||(E?(x.x+=F?0:x.width,x.width=0):(x.y+=F?x.height:0,x.height=0))}y.align=m(y.align,!E||k?"center":F?"right":"left"),y.verticalAlign=m(y.verticalAlign,E||k?"middle":F?"top":"bottom"),u.prototype.alignDataLabel.call(this,w,_,y,x,A),y.inside&&w.contrastColor&&_.css({color:w.contrastColor})}h.compose=function(w){r.compose(u),v(c,"ColumnDataLabel")&&(w.prototype.alignDataLabel=f)}}(l||(l={})),l}),i(n,"Series/Bar/BarSeries.js",[n["Series/Column/ColumnSeries.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(r,a,s){let{extend:o,merge:l}=s;class c extends r{}return c.defaultOptions=l(r.defaultOptions,{}),o(c.prototype,{inverted:!0}),a.registerSeriesType("bar",c),c}),i(n,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),i(n,"Series/Scatter/ScatterSeries.js",[n["Series/Scatter/ScatterSeriesDefaults.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(r,a,s){let{column:o,line:l}=a.seriesTypes,{addEvent:c,extend:u,merge:d}=s;class m extends l{applyJitter(){let h=this,f=this.options.jitter,w=this.points.length;f&&this.points.forEach(function(_,y){["x","y"].forEach(function(x,A){if(f[x]&&!_.isNull){let E=`plot${x.toUpperCase()}`,$=h[`${x}Axis`],B=f[x]*$.transA;if($&&!$.logarithmic){let Q=Math.max(0,(_[E]||0)-B),I=Math.min($.len,(_[E]||0)+B);_[E]=Q+(I-Q)*function(F){let k=1e4*Math.sin(F);return k-Math.floor(k)}(y+A*w),x==="x"&&(_.clientX=_.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return m.defaultOptions=d(l.defaultOptions,r),u(m.prototype,{drawTracker:o.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),c(m,"afterTranslate",function(){this.applyJitter()}),a.registerSeriesType("scatter",m),m}),i(n,"Series/CenteredUtilities.js",[n["Core/Globals.js"],n["Core/Series/Series.js"],n["Core/Utilities.js"]],function(r,a,s){var o,l;let{deg2rad:c}=r,{fireEvent:u,isNumber:d,pick:m,relativeLength:v}=s;return(l=o||(o={})).getCenter=function(){let h=this.options,f=this.chart,w=2*(h.slicedOffset||0),_=f.plotWidth-2*w,y=f.plotHeight-2*w,x=h.center,A=Math.min(_,y),E=h.thickness,$,B=h.size,Q=h.innerSize||0,I,F;typeof B=="string"&&(B=parseFloat(B)),typeof Q=="string"&&(Q=parseFloat(Q));let k=[m(x[0],"50%"),m(x[1],"50%"),m(B&&B<0?void 0:h.size,"100%"),m(Q&&Q<0?void 0:h.innerSize||0,"0%")];for(!f.angular||this instanceof a||(k[3]=0),I=0;I<4;++I)F=k[I],$=I<2||I===2&&/%$/.test(F),k[I]=v(F,[_,y,A,k[2]][I])+($?w:0);return k[3]>k[2]&&(k[3]=k[2]),d(E)&&2*E<k[2]&&E>0&&(k[3]=k[2]-2*E),u(this,"afterGetCenter",{positions:k}),k},l.getStartAndEndRadians=function(h,f){let w=d(h)?h:0,_=d(f)&&f>w&&f-w<360?f:w+360;return{start:c*(w+-90),end:c*(_+-90)}},o}),i(n,"Series/Pie/PiePoint.js",[n["Core/Animation/AnimationUtilities.js"],n["Core/Series/Point.js"],n["Core/Utilities.js"]],function(r,a,s){let{setAnimation:o}=r,{addEvent:l,defined:c,extend:u,isNumber:d,pick:m,relativeLength:v}=s;class h extends a{getConnectorPath(w){let _=w.dataLabelPosition,y=w.options||{},x=y.connectorShape,A=this.connectorShapes[x]||x;return _&&A.call(this,{..._.computed,alignment:_.alignment},_.connectorPosition,y)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(w){let _=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(_.x,_.y,_.r+w,_.r+w,{innerR:_.r-1,start:_.start,end:_.end,borderRadius:_.borderRadius})}constructor(w,_,y){super(w,_,y),this.half=0,this.name??(this.name="Slice");let x=A=>{this.slice(A.type==="select")};l(this,"select",x),l(this,"unselect",x)}isValid(){return d(this.y)&&this.y>=0}setVisible(w,_=!0){w!==this.visible&&this.update({visible:w??!this.visible},_,void 0,!1)}slice(w,_,y){let x=this.series;o(y,x.chart),_=m(_,!0),this.sliced=this.options.sliced=w=c(w)?w:!this.sliced,x.options.data[x.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return u(h.prototype,{connectorShapes:{fixedOffset:function(f,w,_){let y=w.breakAt,x=w.touchingSliceAt,A=_.softConnector?["C",f.x+(f.alignment==="left"?-5:5),f.y,2*y.x-x.x,2*y.y-x.y,y.x,y.y]:["L",y.x,y.y];return[["M",f.x,f.y],A,["L",x.x,x.y]]},straight:function(f,w){let _=w.touchingSliceAt;return[["M",f.x,f.y],["L",_.x,_.y]]},crookedLine:function(f,w,_){let{breakAt:y,touchingSliceAt:x}=w,{series:A}=this,[E,$,B]=A.center,Q=B/2,{plotLeft:I,plotWidth:F}=A.chart,k=f.alignment==="left",{x:P,y:C}=f,p=y.x;if(_.crookDistance){let D=v(_.crookDistance,1);p=k?E+Q+(F+I-E-Q)*(1-D):I+(E-Q)*D}else p=E+($-C)*Math.tan((this.angle||0)-Math.PI/2);let g=[["M",P,C]];return(k?p<=P&&p>=y.x:p>=P&&p<=y.x)&&g.push(["L",p,C]),g.push(["L",y.x,y.y],["L",x.x,x.y]),g}}}),h}),i(n,"Series/Pie/PieSeriesDefaults.js",[],function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),i(n,"Series/Pie/PieSeries.js",[n["Series/CenteredUtilities.js"],n["Series/Column/ColumnSeries.js"],n["Core/Globals.js"],n["Series/Pie/PiePoint.js"],n["Series/Pie/PieSeriesDefaults.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Renderer/SVG/Symbols.js"],n["Core/Utilities.js"]],function(r,a,s,o,l,c,u,d,m){let{getStartAndEndRadians:v}=r,{noop:h}=s,{clamp:f,extend:w,fireEvent:_,merge:y,pick:x}=m;class A extends c{animate($){let B=this,Q=B.points,I=B.startAngleRad;$||Q.forEach(function(F){let k=F.graphic,P=F.shapeArgs;k&&P&&(k.attr({r:x(F.startR,B.center&&B.center[3]/2),start:I,end:I}),k.animate({r:P.r,start:P.start,end:P.end},B.options.animation))})}drawEmpty(){let $,B,Q=this.startAngleRad,I=this.endAngleRad,F=this.options;this.total===0&&this.center?($=this.center[0],B=this.center[1],this.graph||(this.graph=this.chart.renderer.arc($,B,this.center[1]/2,0,Q,I).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:d.arc($,B,this.center[2]/2,0,{start:Q,end:I,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":F.borderWidth,fill:F.fillColor||"none",stroke:F.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let $=this.chart.renderer;this.points.forEach(function(B){B.graphic&&B.hasNewShapeType()&&(B.graphic=B.graphic.destroy()),B.graphic||(B.graphic=$[B.shapeType](B.shapeArgs).add(B.series.group),B.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX($,B,Q,I){let F=this.center,k=this.radii?this.radii[Q.index]||0:F[2]/2,P=I.dataLabelPosition,C=(P==null?void 0:P.distance)||0,p=Math.asin(f(($-F[1])/(k+C),-1,1));return F[0]+Math.cos(p)*(k+C)*(B?-1:1)+(C>0?(B?-1:1)*(I.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let $,B,Q,I,F=this,k=F.chart;this.drawEmpty(),F.group&&!k.styledMode&&F.group.shadow(F.options.shadow),F.points.forEach(function(P){let C={};B=P.graphic,!P.isNull&&B?(I=P.shapeArgs,$=P.getTranslate(),k.styledMode||(Q=F.pointAttribs(P,P.selected&&"select")),P.delayedRendering?(B.setRadialReference(F.center).attr(I).attr($),k.styledMode||B.attr(Q).attr({"stroke-linejoin":"round"}),P.delayedRendering=!1):(B.setRadialReference(F.center),k.styledMode||y(!0,C,Q),y(!0,C,I,$),B.animate(C)),B.attr({visibility:P.visible?"inherit":"hidden"}),B.addClass(P.getClassName(),!0)):B&&(P.graphic=B.destroy())})}sortByAngle($,B){$.sort(function(Q,I){return Q.angle!==void 0&&(I.angle-Q.angle)*B})}translate($){_(this,"translate"),this.generatePoints();let B=this.options,Q=B.slicedOffset,I=v(B.startAngle,B.endAngle),F=this.startAngleRad=I.start,k=(this.endAngleRad=I.end)-F,P=this.points,C=B.ignoreHiddenPoint,p=P.length,g,D,R,Z,G,V,X,ee=0;for($||(this.center=$=this.getCenter()),V=0;V<p;V++){X=P[V],g=F+ee*k,X.isValid()&&(!C||X.visible)&&(ee+=X.percentage/100),D=F+ee*k;let S={x:$[0],y:$[1],r:$[2]/2,innerR:$[3]/2,start:Math.round(1e3*g)/1e3,end:Math.round(1e3*D)/1e3};X.shapeType="arc",X.shapeArgs=S,(R=(D+g)/2)>1.5*Math.PI?R-=2*Math.PI:R<-Math.PI/2&&(R+=2*Math.PI),X.slicedTranslation={translateX:Math.round(Math.cos(R)*Q),translateY:Math.round(Math.sin(R)*Q)},Z=Math.cos(R)*$[2]/2,G=Math.sin(R)*$[2]/2,X.tooltipPos=[$[0]+.7*Z,$[1]+.7*G],X.half=R<-Math.PI/2||R>Math.PI/2?1:0,X.angle=R}_(this,"afterTranslate")}updateTotals(){let $=this.points,B=$.length,Q=this.options.ignoreHiddenPoint,I,F,k=0;for(I=0;I<B;I++)(F=$[I]).isValid()&&(!Q||F.visible)&&(k+=F.y);for(I=0,this.total=k;I<B;I++)(F=$[I]).percentage=k>0&&(F.visible||!Q)?F.y/k*100:0,F.total=k}}return A.defaultOptions=y(c.defaultOptions,l),w(A.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:a.prototype.drawTracker,getCenter:r.getCenter,getSymbol:h,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:a.prototype.pointAttribs,pointClass:o,requireSorting:!1,searchPoint:h,trackerGroups:["group","dataLabelsGroup"]}),u.registerSeriesType("pie",A),A}),i(n,"Series/Pie/PieDataLabel.js",[n["Core/Series/DataLabel.js"],n["Core/Globals.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Series/SeriesRegistry.js"],n["Core/Utilities.js"]],function(r,a,s,o,l){var c;let{composed:u,noop:d}=a,{distribute:m}=s,{series:v}=o,{arrayMax:h,clamp:f,defined:w,pick:_,pushUnique:y,relativeLength:x}=l;return function(A){let E={radialDistributionY:function(F,k){var P;return(((P=k.dataLabelPosition)==null?void 0:P.top)||0)+F.distributeBox.pos},radialDistributionX:function(F,k,P,C,p){let g=p.dataLabelPosition;return F.getX(P<((g==null?void 0:g.top)||0)+2||P>((g==null?void 0:g.bottom)||0)-2?C:P,k.half,k,p)},justify:function(F,k,P,C){var p;return C[0]+(F.half?-1:1)*(P+(((p=k.dataLabelPosition)==null?void 0:p.distance)||0))},alignToPlotEdges:function(F,k,P,C){let p=F.getBBox().width;return k?p+C:P-p-C},alignToConnectors:function(F,k,P,C){let p=0,g;return F.forEach(function(D){(g=D.dataLabel.getBBox().width)>p&&(p=g)}),k?p+C:P-p-C}};function $(F,k){let{center:P,options:C}=this,p=P[2]/2,g=F.angle||0,D=Math.cos(g),R=Math.sin(g),Z=P[0]+D*p,G=P[1]+R*p,V=Math.min((C.slicedOffset||0)+(C.borderWidth||0),k/5);return{natural:{x:Z+D*k,y:G+R*k},computed:{},alignment:k<0?"center":F.half?"right":"left",connectorPosition:{breakAt:{x:Z+D*V,y:G+R*V},touchingSliceAt:{x:Z,y:G}},distance:k}}function B(){var q;let F=this,k=F.points,P=F.chart,C=P.plotWidth,p=P.plotHeight,g=P.plotLeft,D=Math.round(P.chartWidth/3),R=F.center,Z=R[2]/2,G=R[1],V=[[],[]],X=[0,0,0,0],ee=F.dataLabelPositioners,S,O,M,H=0;F.visible&&((q=F.hasDataLabels)!=null&&q.call(F))&&(k.forEach(T=>{(T.dataLabels||[]).forEach(L=>{L.shortened&&(L.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),L.shortened=!1)})}),v.prototype.drawDataLabels.apply(F),k.forEach(T=>{(T.dataLabels||[]).forEach((L,U)=>{var b;let ie=R[2]/2,N=L.options,K=x((N==null?void 0:N.distance)||0,ie);U===0&&V[T.half].push(T),!w((b=N==null?void 0:N.style)==null?void 0:b.width)&&L.getBBox().width>D&&(L.css({width:Math.round(.7*D)+"px"}),L.shortened=!0),L.dataLabelPosition=this.getDataLabelPosition(T,K),H=Math.max(H,K)})}),V.forEach((T,L)=>{let U=T.length,ie=[],N,K,b=0,z;U&&(F.sortByAngle(T,L-.5),H>0&&(N=Math.max(0,G-Z-H),K=Math.min(G+Z+H,P.plotHeight),T.forEach(Y=>{(Y.dataLabels||[]).forEach(W=>{var ne;let j=W.dataLabelPosition;j&&j.distance>0&&(j.top=Math.max(0,G-Z-j.distance),j.bottom=Math.min(G+Z+j.distance,P.plotHeight),b=W.getBBox().height||21,W.lineHeight=P.renderer.fontMetrics(W.text||W).h+2*W.padding,Y.distributeBox={target:(((ne=W.dataLabelPosition)==null?void 0:ne.natural.y)||0)-j.top+W.lineHeight/2,size:b,rank:Y.y},ie.push(Y.distributeBox))})}),m(ie,z=K+b-N,z/5)),T.forEach(Y=>{(Y.dataLabels||[]).forEach(W=>{let j=W.options||{},ne=Y.distributeBox,se=W.dataLabelPosition,ce=(se==null?void 0:se.natural.y)||0,oe=j.connectorPadding||0,re=W.lineHeight||21,te=(re-W.getBBox().height)/2,ae=0,le=ce,fe="inherit";if(se){if(ie&&w(ne)&&se.distance>0&&(ne.pos===void 0?fe="hidden":(M=ne.size,le=ee.radialDistributionY(Y,W))),j.justify)ae=ee.justify(Y,W,Z,R);else switch(j.alignTo){case"connectors":ae=ee.alignToConnectors(T,L,C,g);break;case"plotEdges":ae=ee.alignToPlotEdges(W,L,C,g);break;default:ae=ee.radialDistributionX(F,Y,le-te,ce,W)}if(se.attribs={visibility:fe,align:se.alignment},se.posAttribs={x:ae+(j.x||0)+({left:oe,right:-oe}[se.alignment]||0),y:le+(j.y||0)-re/2},se.computed.x=ae,se.computed.y=le-te,_(j.crop,!0)){let me;ae-(O=W.getBBox().width)<oe&&L===1?(me=Math.round(O-ae+oe),X[3]=Math.max(me,X[3])):ae+O>C-oe&&L===0&&(me=Math.round(ae+O-C+oe),X[1]=Math.max(me,X[1])),le-M/2<0?X[0]=Math.max(Math.round(-le+M/2),X[0]):le+M/2>p&&(X[2]=Math.max(Math.round(le+M/2-p),X[2])),se.sideOverflow=me}}})}))}),(h(X)===0||this.verifyDataLabelOverflow(X))&&(this.placeDataLabels(),this.points.forEach(T=>{(T.dataLabels||[]).forEach(L=>{var K;let{connectorColor:U,connectorWidth:ie=1}=L.options||{},N=L.dataLabelPosition;if(ie){let b;S=L.connector,N&&N.distance>0?(b=!S,S||(L.connector=S=P.renderer.path().addClass("highcharts-data-label-connector  highcharts-color-"+T.colorIndex+(T.className?" "+T.className:"")).add(F.dataLabelsGroup)),P.styledMode||S.attr({"stroke-width":ie,stroke:U||T.color||"#666666"}),S[b?"attr":"animate"]({d:T.getConnectorPath(L)}),S.attr({visibility:(K=N.attribs)==null?void 0:K.visibility})):S&&(L.connector=S.destroy())}})})))}function Q(){this.points.forEach(F=>{(F.dataLabels||[]).forEach(k=>{var C;let P=k.dataLabelPosition;P?(P.sideOverflow&&(k.css({width:Math.max(k.getBBox().width-P.sideOverflow,0)+"px",textOverflow:(((C=k.options)==null?void 0:C.style)||{}).textOverflow||"ellipsis"}),k.shortened=!0),k.attr(P.attribs),k[k.moved?"animate":"attr"](P.posAttribs),k.moved=!0):k&&k.attr({y:-9999})}),delete F.distributeBox},this)}function I(F){let k=this.center,P=this.options,C=P.center,p=P.minSize||80,g=p,D=P.size!==null;return!D&&(C[0]!==null?g=Math.max(k[2]-Math.max(F[1],F[3]),p):(g=Math.max(k[2]-F[1]-F[3],p),k[0]+=(F[3]-F[1])/2),C[1]!==null?g=f(g,p,k[2]-Math.max(F[0],F[2])):(g=f(g,p,k[2]-F[0]-F[2]),k[1]+=(F[0]-F[2])/2),g<k[2]?(k[2]=g,k[3]=Math.min(P.thickness?Math.max(0,g-2*P.thickness):Math.max(0,x(P.innerSize||0,g)),g),this.translate(k),this.drawDataLabels&&this.drawDataLabels()):D=!0),D}A.compose=function(F){if(r.compose(v),y(u,"PieDataLabel")){let k=F.prototype;k.dataLabelPositioners=E,k.alignDataLabel=d,k.drawDataLabels=B,k.getDataLabelPosition=$,k.placeDataLabels=Q,k.verifyDataLabelOverflow=I}}}(c||(c={})),c}),i(n,"Core/Geometry/GeometryUtilities.js",[],function(){var r,a;return(a=r||(r={})).getCenterOfPoints=function(s){let o=s.reduce((l,c)=>(l.x+=c.x,l.y+=c.y,l),{x:0,y:0});return{x:o.x/s.length,y:o.y/s.length}},a.getDistanceBetweenPoints=function(s,o){return Math.sqrt(Math.pow(o.x-s.x,2)+Math.pow(o.y-s.y,2))},a.getAngleBetweenPoints=function(s,o){return Math.atan2(o.x-s.x,o.y-s.y)},a.pointInPolygon=function({x:s,y:o},l){let c=l.length,u,d,m=!1;for(u=0,d=c-1;u<c;d=u++){let[v,h]=l[u],[f,w]=l[d];h>o!=w>o&&s<(f-v)*(o-h)/(w-h)+v&&(m=!m)}return m},r}),i(n,"Extensions/OverlappingDataLabels.js",[n["Core/Geometry/GeometryUtilities.js"],n["Core/Utilities.js"]],function(r,a){let{pointInPolygon:s}=r,{addEvent:o,fireEvent:l,objectEach:c,pick:u}=a;function d(h){let f=h.length,w=(Q,I)=>!(I.x>=Q.x+Q.width||I.x+I.width<=Q.x||I.y>=Q.y+Q.height||I.y+I.height<=Q.y),_=(Q,I)=>{for(let F of Q)if(s({x:F[0],y:F[1]},I))return!0;return!1},y,x,A,E,$,B=!1;for(let Q=0;Q<f;Q++)(y=h[Q])&&(y.oldOpacity=y.opacity,y.newOpacity=1,y.absoluteBox=function(I){var F,k;if(I&&(!I.alignAttr||I.placed)){let P=I.box?0:I.padding||0,C=I.alignAttr||{x:I.attr("x"),y:I.attr("y")},p=I.getBBox();return I.width=p.width,I.height=p.height,{x:C.x+(((F=I.parentGroup)==null?void 0:F.translateX)||0)+P,y:C.y+(((k=I.parentGroup)==null?void 0:k.translateY)||0)+P,width:(I.width||0)-2*P,height:(I.height||0)-2*P,polygon:p==null?void 0:p.polygon}}}(y));h.sort((Q,I)=>(I.labelrank||0)-(Q.labelrank||0));for(let Q=0;Q<f;++Q){E=(x=h[Q])&&x.absoluteBox;let I=E==null?void 0:E.polygon;for(let F=Q+1;F<f;++F){$=(A=h[F])&&A.absoluteBox;let k=!1;if(E&&$&&x!==A&&x.newOpacity!==0&&A.newOpacity!==0&&x.visibility!=="hidden"&&A.visibility!=="hidden"){let P=$.polygon;if(I&&P&&I!==P?_(I,P)&&(k=!0):w(E,$)&&(k=!0),k){let C=x.labelrank<A.labelrank?x:A,p=C.text;C.newOpacity=0,p!=null&&p.element.querySelector("textPath")&&p.hide()}}}}for(let Q of h)m(Q,this)&&(B=!0);B&&l(this,"afterHideAllOverlappingLabels")}function m(h,f){let w,_,y=!1;return h&&(_=h.newOpacity,h.oldOpacity!==_&&(h.hasClass("highcharts-data-label")?(h[_?"removeClass":"addClass"]("highcharts-data-label-hidden"),w=function(){f.styledMode||h.css({pointerEvents:_?"auto":"none"})},y=!0,h[h.isOld?"animate":"attr"]({opacity:_},void 0,w),l(f,"afterHideOverlappingLabel")):h.attr({opacity:_})),h.isOld=!0),y}function v(){var w;let h=this,f=[];for(let _ of h.labelCollectors||[])f=f.concat(_());for(let _ of h.yAxis||[])_.stacking&&_.options.stackLabels&&!_.options.stackLabels.allowOverlap&&c(_.stacking.stacks,y=>{c(y,x=>{x.label&&f.push(x.label)})});for(let _ of h.series||[])if(_.visible&&((w=_.hasDataLabels)!=null&&w.call(_))){let y=x=>{for(let A of x)A.visible&&(A.dataLabels||[]).forEach(E=>{var B;let $=E.options||{};E.labelrank=u($.labelrank,A.labelrank,(B=A.shapeArgs)==null?void 0:B.height),$.allowOverlap??Number($.distance)>0?(E.oldOpacity=E.opacity,E.newOpacity=1,m(E,h)):f.push(E)})};y(_.nodes||[]),y(_.points)}this.hideOverlappingLabels(f)}return{compose:function(h){let f=h.prototype;f.hideOverlappingLabels||(f.hideOverlappingLabels=d,o(h,"render",v))}}}),i(n,"Extensions/BorderRadius.js",[n["Core/Defaults.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a,s){let{defaultOptions:o}=r,{noop:l}=a,{addEvent:c,extend:u,isObject:d,merge:m,relativeLength:v}=s,h={radius:0,scope:"stack",where:void 0},f=l,w=l;function _($,B,Q,I,F={}){let k=f($,B,Q,I,F),{innerR:P=0,r:C=Q,start:p=0,end:g=0}=F;if(F.open||!F.borderRadius)return k;let D=g-p,R=Math.sin(D/2),Z=Math.max(Math.min(v(F.borderRadius||0,C-P),(C-P)/2,C*R/(1+R)),0),G=Math.min(Z,D/Math.PI*2*P),V=k.length-1;for(;V--;)(function(X,ee,S){let O,M,H,q=X[ee],T=X[ee+1];if(T[0]==="Z"&&(T=X[0]),(q[0]==="M"||q[0]==="L")&&T[0]==="A"?(O=q,M=T,H=!0):q[0]==="A"&&(T[0]==="M"||T[0]==="L")&&(O=T,M=q),O&&M&&M.params){let L=M[1],U=M[5],ie=M.params,{start:N,end:K,cx:b,cy:z}=ie,Y=U?L-S:L+S,W=Y?Math.asin(S/Y):0,j=U?W:-W,ne=Math.cos(W)*Y;H?(ie.start=N+j,O[1]=b+ne*Math.cos(N),O[2]=z+ne*Math.sin(N),X.splice(ee+1,0,["A",S,S,0,0,1,b+L*Math.cos(ie.start),z+L*Math.sin(ie.start)])):(ie.end=K-j,M[6]=b+L*Math.cos(ie.end),M[7]=z+L*Math.sin(ie.end),X.splice(ee+1,0,["A",S,S,0,0,1,b+ne*Math.cos(K),z+ne*Math.sin(K)])),M[4]=Math.abs(ie.end-ie.start)<Math.PI?0:1}})(k,V,V>1?G:Z);return k}function y(){var $,B;if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:Q,yAxis:I}=this,F=Q.stacking==="percent",k=(B=($=o.plotOptions)==null?void 0:$[this.type])==null?void 0:B.borderRadius,P=x(Q.borderRadius,d(k)?k:{}),C=I.options.reversed;for(let p of this.points){let{shapeArgs:g}=p;if(p.shapeType==="roundedRect"&&g){let{width:D=0,height:R=0,y:Z=0}=g,G=Z,V=R;if(P.scope==="stack"&&p.stackTotal){let O=I.translate(F?100:p.stackTotal,!1,!0,!1,!0),M=I.translate(Q.threshold||0,!1,!0,!1,!0),H=this.crispCol(0,Math.min(O,M),0,Math.abs(O-M));G=H.y,V=H.height}let X=(p.negative?-1:1)*(C?-1:1)==-1,ee=P.where;!ee&&this.is("waterfall")&&Math.abs((p.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(ee="all"),ee||(ee="end");let S=Math.min(v(P.radius,D),D/2,ee==="all"?R/2:1/0)||0;ee==="end"&&(X&&(G-=S),V+=S),u(g,{brBoxHeight:V,brBoxY:G,r:S})}}}}function x($,B){return d($)||($={radius:$||0}),m(h,B,$)}function A(){let $=x(this.options.borderRadius);for(let B of this.points){let Q=B.shapeArgs;Q&&(Q.borderRadius=v($.radius,(Q.r||0)-(Q.innerR||0)))}}function E($,B,Q,I,F={}){let k=w($,B,Q,I,F),{r:P=0,brBoxHeight:C=I,brBoxY:p=B}=F,g=B-p,D=p+C-(B+I),R=g-P>-.1?0:P,Z=D-P>-.1?0:P,G=Math.max(R&&g,0),V=Math.max(Z&&D,0),X=[$+R,B],ee=[$+Q-R,B],S=[$+Q,B+R],O=[$+Q,B+I-Z],M=[$+Q-Z,B+I],H=[$+Z,B+I],q=[$,B+I-Z],T=[$,B+R],L=(U,ie)=>Math.sqrt(Math.pow(U,2)-Math.pow(ie,2));if(G){let U=L(R,R-G);X[0]-=U,ee[0]+=U,S[1]=T[1]=B+R-G}if(I<R-G){let U=L(R,R-G-I);S[0]=O[0]=$+Q-R+U,M[0]=Math.min(S[0],M[0]),H[0]=Math.max(O[0],H[0]),q[0]=T[0]=$+R-U,S[1]=T[1]=B+I}if(V){let U=L(Z,Z-V);M[0]+=U,H[0]-=U,O[1]=q[1]=B+I-Z+V}if(I<Z-V){let U=L(Z,Z-V-I);S[0]=O[0]=$+Q-Z+U,ee[0]=Math.min(S[0],ee[0]),X[0]=Math.max(O[0],X[0]),q[0]=T[0]=$+Z-U,O[1]=q[1]=B}return k.length=0,k.push(["M",...X],["L",...ee],["A",R,R,0,0,1,...S],["L",...O],["A",Z,Z,0,0,1,...M],["L",...H],["A",Z,Z,0,0,1,...q],["L",...T],["A",R,R,0,0,1,...X],["Z"]),k}return{compose:function($,B,Q){let I=$.types.pie;if(!B.symbolCustomAttribs.includes("borderRadius")){let F=Q.prototype.symbols;c($,"afterColumnTranslate",y,{order:9}),c(I,"afterTranslate",A),B.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),f=F.arc,w=F.roundedRect,F.arc=_,F.roundedRect=E}},optionsToObject:x}}),i(n,"Core/Responsive.js",[n["Core/Utilities.js"]],function(r){var a;let{diffObjects:s,extend:o,find:l,merge:c,pick:u,uniqueKey:d}=r;return function(m){function v(f,w){let _=f.condition;(_.callback||function(){return this.chartWidth<=u(_.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=u(_.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=u(_.minWidth,0)&&this.chartHeight>=u(_.minHeight,0)}).call(this)&&w.push(f._id)}function h(f,w){let _=this.options.responsive,y=this.currentResponsive,x=[],A;!w&&_&&_.rules&&_.rules.forEach(B=>{B._id===void 0&&(B._id=d()),this.matchResponsiveRule(B,x)},this);let E=c(...x.map(B=>l((_||{}).rules||[],Q=>Q._id===B)).map(B=>B&&B.chartOptions));E.isResponsiveOptions=!0,x=x.toString()||void 0;let $=y&&y.ruleIds;x===$||(y&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(y.undoOptions,f,!0),this.updatingResponsive=!1),x?((A=s(E,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:x,mergedOptions:E,undoOptions:A},this.updatingResponsive||this.update(E,f,!0)):this.currentResponsive=void 0)}m.compose=function(f){let w=f.prototype;return w.matchResponsiveRule||o(w,{matchResponsiveRule:v,setResponsive:h}),f}}(a||(a={})),a}),i(n,"masters/highcharts.src.js",[n["Core/Globals.js"],n["Core/Utilities.js"],n["Core/Defaults.js"],n["Core/Animation/Fx.js"],n["Core/Animation/AnimationUtilities.js"],n["Core/Renderer/HTML/AST.js"],n["Core/Templating.js"],n["Core/Renderer/RendererRegistry.js"],n["Core/Renderer/RendererUtilities.js"],n["Core/Renderer/SVG/SVGElement.js"],n["Core/Renderer/SVG/SVGRenderer.js"],n["Core/Renderer/HTML/HTMLElement.js"],n["Core/Axis/Axis.js"],n["Core/Axis/DateTimeAxis.js"],n["Core/Axis/LogarithmicAxis.js"],n["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],n["Core/Axis/Tick.js"],n["Core/Tooltip.js"],n["Core/Series/Point.js"],n["Core/Pointer.js"],n["Core/Legend/Legend.js"],n["Core/Legend/LegendSymbol.js"],n["Core/Chart/Chart.js"],n["Extensions/ScrollablePlotArea.js"],n["Core/Axis/Stacking/StackingAxis.js"],n["Core/Axis/Stacking/StackItem.js"],n["Core/Series/Series.js"],n["Core/Series/SeriesRegistry.js"],n["Series/Column/ColumnDataLabel.js"],n["Series/Pie/PieDataLabel.js"],n["Core/Series/DataLabel.js"],n["Extensions/OverlappingDataLabels.js"],n["Extensions/BorderRadius.js"],n["Core/Responsive.js"],n["Core/Color/Color.js"],n["Core/Time.js"]],function(r,a,s,o,l,c,u,d,m,v,h,f,w,_,y,x,A,E,$,B,Q,I,F,k,P,C,p,g,D,R,Z,G,V,X,ee,S){return r.AST=c,r.Axis=w,r.Chart=F,r.Color=ee,r.DataLabel=Z,r.Fx=o,r.HTMLElement=f,r.Legend=Q,r.LegendSymbol=I,r.OverlappingDataLabels=r.OverlappingDataLabels||G,r.PlotLineOrBand=x,r.Point=$,r.Pointer=B,r.RendererRegistry=d,r.Series=p,r.SeriesRegistry=g,r.StackItem=C,r.SVGElement=v,r.SVGRenderer=h,r.Templating=u,r.Tick=A,r.Time=S,r.Tooltip=E,r.animate=l.animate,r.animObject=l.animObject,r.chart=F.chart,r.color=ee.parse,r.dateFormat=u.dateFormat,r.defaultOptions=s.defaultOptions,r.distribute=m.distribute,r.format=u.format,r.getDeferredAnimation=l.getDeferredAnimation,r.getOptions=s.getOptions,r.numberFormat=u.numberFormat,r.seriesType=g.seriesType,r.setAnimation=l.setAnimation,r.setOptions=s.setOptions,r.stop=l.stop,r.time=s.defaultTime,r.timers=o.timers,V.compose(r.Series,r.SVGElement,r.SVGRenderer),D.compose(r.Series.types.column),Z.compose(r.Series),_.compose(r.Axis),f.compose(r.SVGRenderer),Q.compose(r.Chart),y.compose(r.Axis),G.compose(r.Chart),R.compose(r.Series.types.pie),x.compose(r.Chart,r.Axis),B.compose(r.Chart),X.compose(r.Chart),k.compose(r.Axis,r.Chart,r.Series),P.compose(r.Axis,r.Chart,r.Series),E.compose(r.Pointer),a.extend(r,a),r}),n["masters/highcharts.src.js"]._modules=n,n["masters/highcharts.src.js"]})})(Vd);var u0=Vd.exports;const ta=Hi(u0),d0={accessibility:()=>Ve(()=>import("./accessibility.9ad3350b.js").then(e=>e.a),[],import.meta.url),"annotations-advanced":()=>Ve(()=>import("./annotations-advanced.5a1a370b.js").then(e=>e.a),[],import.meta.url),annotations:()=>Ve(()=>import("./annotations.1a7695dc.js").then(e=>e.a),[],import.meta.url),"arc-diagram":()=>Ve(()=>import("./arc-diagram.580044d0.js").then(e=>e.a),[],import.meta.url),"arrow-symbols":()=>Ve(()=>import("./arrow-symbols.0622875a.js").then(e=>e.a),[],import.meta.url),"boost-canvas":()=>Ve(()=>import("./boost-canvas.ccb16fdc.js").then(e=>e.b),[],import.meta.url),boost:()=>Ve(()=>import("./boost.49abf5dd.js").then(e=>e.b),[],import.meta.url),"broken-axis":()=>Ve(()=>import("./broken-axis.dddfd205.js").then(e=>e.b),[],import.meta.url),bullet:()=>Ve(()=>import("./bullet.647a223f.js").then(e=>e.b),[],import.meta.url),coloraxis:()=>Ve(()=>import("./coloraxis.00046f81.js").then(e=>e.c),[],import.meta.url),"current-date-indicator":()=>Ve(()=>import("./current-date-indicator.600cb4e3.js").then(e=>e.c),[],import.meta.url),cylinder:()=>Ve(()=>import("./cylinder.c3cd505a.js").then(e=>e.c),[],import.meta.url),"data-tools":()=>Ve(()=>import("./data-tools.1d9c8b86.js").then(e=>e.d),[],import.meta.url),data:()=>Ve(()=>import("./data.d48f6ba0.js").then(e=>e.d),[],import.meta.url),datagrouping:()=>Ve(()=>import("./datagrouping.65565ddc.js").then(e=>e.d),[],import.meta.url),debugger:()=>Ve(()=>import("./debugger.8e5f0a91.js").then(e=>e._),[],import.meta.url),"dependency-wheel":()=>Ve(()=>import("./dependency-wheel.c9efc76c.js").then(e=>e.d),[],import.meta.url),dotplot:()=>Ve(()=>import("./dotplot.bafeb837.js").then(e=>e.d),[],import.meta.url),"drag-panes":()=>Ve(()=>import("./drag-panes.c00a6e50.js").then(e=>e.d),[],import.meta.url),"draggable-points":()=>Ve(()=>import("./draggable-points.4a2a8c36.js").then(e=>e.d),[],import.meta.url),drilldown:()=>Ve(()=>import("./drilldown.3c17172e.js").then(e=>e.d),[],import.meta.url),dumbbell:()=>Ve(()=>import("./dumbbell.46c31510.js").then(e=>e.d),[],import.meta.url),"export-data":()=>Ve(()=>Promise.resolve().then(()=>f5),void 0,import.meta.url),exporting:()=>Ve(()=>Promise.resolve().then(()=>h5),void 0,import.meta.url),flowmap:()=>Ve(()=>import("./flowmap.b97ea5c4.js").then(e=>e.f),[],import.meta.url),"full-screen":()=>Ve(()=>import("./full-screen.fa3e58fd.js").then(e=>e.f),[],import.meta.url),funnel:()=>Ve(()=>import("./funnel.1db70af7.js").then(e=>e.f),[],import.meta.url),funnel3d:()=>Ve(()=>import("./funnel3d.fd90006c.js").then(e=>e.f),[],import.meta.url),gantt:()=>Ve(()=>import("./gantt.719421d0.js").then(e=>e.g),[],import.meta.url),geoheatmap:()=>Ve(()=>import("./geoheatmap.2bb1bd94.js").then(e=>e.g),[],import.meta.url),"grid-axis":()=>Ve(()=>import("./grid-axis.870201a9.js").then(e=>e.g),[],import.meta.url),heatmap:()=>Ve(()=>import("./heatmap.a89f003b.js").then(e=>e.h),[],import.meta.url),heikinashi:()=>Ve(()=>import("./heikinashi.24d06ae2.js").then(e=>e.h),[],import.meta.url),"histogram-bellcurve":()=>Ve(()=>import("./histogram-bellcurve.6aff95a2.js").then(e=>e.h),[],import.meta.url),hollowcandlestick:()=>Ve(()=>import("./hollowcandlestick.b5f9a83a.js").then(e=>e.h),[],import.meta.url),"item-series":()=>Ve(()=>import("./item-series.9ec4c6aa.js").then(e=>e.i),[],import.meta.url),lollipop:()=>Ve(()=>import("./lollipop.7fe739e5.js").then(e=>e.l),[],import.meta.url),map:()=>Ve(()=>import("./map.40b6f23f.js").then(e=>e.m),[],import.meta.url),"marker-clusters":()=>Ve(()=>import("./marker-clusters.559abed0.js").then(e=>e.m),[],import.meta.url),"mouse-wheel-zoom":()=>Ve(()=>import("./mouse-wheel-zoom.8c451838.js").then(e=>e.m),[],import.meta.url),navigator:()=>Ve(()=>import("./navigator.06f0f0c4.js").then(e=>e.n),[],import.meta.url),networkgraph:()=>Ve(()=>import("./networkgraph.55ac362d.js").then(e=>e.n),[],import.meta.url),"no-data-to-display":()=>Ve(()=>import("./no-data-to-display.51577146.js").then(e=>e.n),[],import.meta.url),"offline-exporting":()=>Ve(()=>import("./offline-exporting.0bb59715.js").then(e=>e.o),[],import.meta.url),organization:()=>Ve(()=>import("./organization.e2a0a77d.js").then(e=>e.o),[],import.meta.url),"overlapping-datalabels":()=>Ve(()=>import("./overlapping-datalabels.6dede747.js").then(e=>e.o),[],import.meta.url),"parallel-coordinates":()=>Ve(()=>import("./parallel-coordinates.3c4d0128.js").then(e=>e.p),[],import.meta.url),pareto:()=>Ve(()=>import("./pareto.f54c68ac.js").then(e=>e.p),[],import.meta.url),pathfinder:()=>Ve(()=>import("./pathfinder.cd5b4f94.js").then(e=>e.p),[],import.meta.url),"pattern-fill":()=>Ve(()=>import("./pattern-fill.9c28acfb.js").then(e=>e.p),[],import.meta.url),pictorial:()=>Ve(()=>import("./pictorial.d59778b2.js").then(e=>e.p),[],import.meta.url),"price-indicator":()=>Ve(()=>import("./price-indicator.1e0fa29a.js").then(e=>e.p),[],import.meta.url),pyramid3d:()=>Ve(()=>import("./pyramid3d.896885b2.js").then(e=>e.p),[],import.meta.url),sankey:()=>Ve(()=>import("./sankey.1b346959.js").then(e=>e.s),[],import.meta.url),"series-label":()=>Ve(()=>import("./series-label.6fadc867.js").then(e=>e.s),[],import.meta.url),"series-on-point":()=>Ve(()=>import("./series-on-point.bb801f38.js").then(e=>e.s),[],import.meta.url),"solid-gauge":()=>Ve(()=>import("./solid-gauge.052fd904.js").then(e=>e.s),[],import.meta.url),sonification:()=>Ve(()=>import("./sonification.67ff5116.js").then(e=>e.s),[],import.meta.url),"static-scale":()=>Ve(()=>import("./static-scale.395aaf17.js").then(e=>e.s),[],import.meta.url),"stock-tools":()=>Ve(()=>import("./stock-tools.77cdba7c.js").then(e=>e.s),[],import.meta.url),stock:()=>Ve(()=>import("./stock.799d5e6b.js").then(e=>e.s),[],import.meta.url),streamgraph:()=>Ve(()=>import("./streamgraph.14ad3845.js").then(e=>e.s),[],import.meta.url),sunburst:()=>Ve(()=>import("./sunburst.f1695243.js").then(e=>e.s),[],import.meta.url),textpath:()=>Ve(()=>import("./textpath.3b2c7b63.js").then(e=>e.t),[],import.meta.url),tiledwebmap:()=>Ve(()=>import("./tiledwebmap.23b162b9.js").then(e=>e.t),[],import.meta.url),tilemap:()=>Ve(()=>import("./tilemap.21dee613.js").then(e=>e.t),[],import.meta.url),timeline:()=>Ve(()=>import("./timeline.129cd879.js").then(e=>e.t),[],import.meta.url),treegraph:()=>Ve(()=>import("./treegraph.49fba6fa.js").then(e=>e.t),[],import.meta.url),treegrid:()=>Ve(()=>import("./treegrid.68154e16.js").then(e=>e.t),[],import.meta.url),treemap:()=>Ve(()=>import("./treemap.5424311d.js").then(e=>e.t),[],import.meta.url),"variable-pie":()=>Ve(()=>import("./variable-pie.01cc9c2d.js").then(e=>e.v),[],import.meta.url),variwide:()=>Ve(()=>import("./variwide.b1cf7993.js").then(e=>e.v),[],import.meta.url),vector:()=>Ve(()=>import("./vector.ebb70a19.js").then(e=>e.v),[],import.meta.url),venn:()=>Ve(()=>import("./venn.6394b3c7.js").then(e=>e.v),[],import.meta.url),windbarb:()=>Ve(()=>import("./windbarb.068ad3be.js").then(e=>e.w),[],import.meta.url),wordcloud:()=>Ve(()=>import("./wordcloud.f993a8a2.js").then(e=>e.w),[],import.meta.url),xrange:()=>Ve(()=>import("./xrange.90a9c112.js").then(e=>e.x),[],import.meta.url)},Jl={mapChart:["map"],stockChart:["stock"]};let Bs;function h0(e){Bs={},e.forEach(t=>{Bs[t]=n=>({type:Object,default:()=>n[t]||{}})})}const Xa=Object.freeze({async stock({HC:e}){const t=(await Ve(()=>import("./data.d48f6ba0.js").then(i=>i.d),[],import.meta.url)).default,n=(await Ve(()=>import("./indicators-all.src.bd4deec5.js").then(i=>i.i),[],import.meta.url)).default;t(e),n(e)},async map({mapName:e="myMapName",mapData:t,HC:n}){if(!t){console.error("[nuxt-highcharts] No mapData provided");return}typeof t=="string"&&(t=await(await fetch(t)).json()),n.maps[e]={...t}}});function f0(e="chart",t={}){const n={options:{type:Object,default:()=>t.chartOptions||{}},redraw:{type:Boolean,default:!0},oneToOne:{type:Boolean,default:!0},animation:{type:Object,default:()=>({})},highcharts:{default:()=>ta},exporting:{type:Boolean,default:t.exporting!==void 0?t.exporting:!1},update:{type:Array,default:()=>["options"]},setOptions:{type:Object,default:()=>t.setOptions},modules:{type:Array,default:()=>[]},more:{type:Boolean,default:!1}};Object.entries(Bs).forEach(([r,a])=>{n[r]===void 0&&Xa[r]&&(n[r]=a(t))});const i="chart"+Date.now();return{render:()=>At("div",{ref:t.ref||i}),props:n,computed:{optsCopy(){return{...this.options}}},methods:{constructChart(r){const a=r[e];this.chart=a(this.$refs[t.ref||i],this.optsCopy,s=>{this.$emit("chartLoaded",s)})},"options.caption"(r){this.chart.setCaption(r)},"options.series"(r){r&&this.chart.series.forEach((a,s)=>{a.update(r[s],this.redraw)})},"options.subtitle"(r){this.chart.setSubtitle(r)},"options.title"(r){this.chart.setTitle(r)},"options.yAxis"(r){r&&(Array.isArray(r)?this.chart.yAxis.forEach((a,s)=>{a.update(r[s],this.redraw)}):this.chart.yAxis[0].update(r,this.redraw))},"options.xAxis"(r){r&&(Array.isArray(r)?this.chart.xAxis.forEach((a,s)=>{a.update(r[s],this.redraw)}):this.chart.xAxis[0].update(r,this.redraw))},updateAll(r){this.chart.update(r,this.redraw,this.oneToOne,this.animation)},updateWatchers(){this.unwatch.forEach(r=>r()),this.unwatch=[],this.update.forEach(r=>{const a=this[r]||this.updateAll;r==="options"?this.unwatch.push(this.$watch(r,this.updateAll,{deep:!0})):a&&typeof a=="function"&&this.unwatch.push(this.$watch(r,a,{deep:!0}))})}},async mounted(){const r=this.highcharts;if(this.setOptions&&r.setOptions(this.setOptions),this.more){const{default:o}=await Ve(()=>import("./highcharts-more.2b4081b6.js").then(l=>l.h),[],import.meta.url);o(r)}const a=this.modules;Jl[e]&&a.unshift(...Jl[e]);const s=a.map(async o=>{const{default:l}=await d0[o]();if(await l(r),r[o+"Chart"]&&(e=o+"Chart"),Xa[o]){const c={...this[o],HC:r};await Xa[o](c)}});await Promise.all(s),this.chart||this.constructChart(r),this.unwatch=[],this.updateWatchers(),this.$watch("update",this.updateWatchers)},beforeUnmount(){this.chart&&this.chart.destroy()}}}const p0=Kt(e=>{const{pluginOptions:t,hcMods:n}=e.$config.public.nuxtHighcharts;h0(n);const i={chartTypes:["Spline","AreaSpline","Line","Scatter","Column","Area"],components:[{name:"highchart",variant:"chart"},{name:"highstock",variant:"stockChart"},{name:"highmap",variant:"mapChart"}]};i.components.forEach(({name:a,variant:s})=>{e.vueApp.component(a,f0(s,t))});function r(a){return Object.freeze({})}Object.entries(i).forEach(([a,s])=>{Object.defineProperty(r,a,{writable:!1,value:Object.freeze(s)})}),e.provide("highcharts",r)});var m0,g0=()=>m0;function v0(e){return typeof e=="function"?e():we(e)}function Fs(e,t=""){if(e instanceof Promise)return e;const n=v0(e);return!e||!n?n:Array.isArray(n)?n.map(i=>Fs(i,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,r])=>i==="titleTemplate"||i.startsWith("on")?[i,we(r)]:[i,Fs(r,i)])):n}var y0=typeof window<"u",b0="usehead";function Oo(){return Fn()&&it(b0)||g0()}function _0(e,t={}){const n=Oo(),i=be(!1),r=be({});dn(()=>{r.value=i.value?{}:Fs(e)});const a=n.push(r.value,t);return Qe(r,o=>{a.patch(o)}),Fn()&&(yt(()=>{a.dispose()}),co(()=>{i.value=!0}),uo(()=>{i.value=!1})),a}function w0(e,t={}){return Oo().push(e,t)}function k0(e,t={}){var i;const n=Oo();if(n){const r=y0||!!((i=n.resolvedOptions)!=null&&i.document);return t.mode==="server"&&r||t.mode==="client"&&!r?void 0:r?_0(e,t):w0(e,t)}}var C0=e=>{const t={created(){var r;if(typeof((r=this.$options)==null?void 0:r.jsonld)!="function")return;const i=de(()=>this.$options.jsonld.call(this));k0(()=>({script:[{type:"application/ld+json",children:i.value?JSON.stringify(i.value,null,""):void 0}]}))}},n={install(i){i.mixin(t)}};e.vueApp.use(n)},x0=Kt(C0);const S0=Kt({name:"nuxt:chunk-reload",setup(e){const t=Qn(),n=Gt(),i=new Set;t.beforeEach(()=>{i.clear()}),e.hook("app:chunkError",({error:r})=>{i.add(r)}),t.onError((r,a)=>{if(i.has(r)){const o="href"in a&&a.href.startsWith("#")?n.app.baseURL+a.href:wr(n.app.baseURL,a.fullPath);Ty({path:o,persistState:!0})}})}}),A0=Kt(()=>{const e=n=>{var _,y;const r=n.target.closest('a[href*="#"]');if(!r)return;const a=!!document.querySelector('[id^="anchor-navigation--"]'),s=r==null?void 0:r.hash,o=s?t((_=window==null?void 0:window.location)==null?void 0:_.href):(y=window==null?void 0:window.location)==null?void 0:y.href,l=s?t(r==null?void 0:r.href):r==null?void 0:r.href;if(!s||a||!(o===l))return;n.preventDefault();const u=document.querySelector("div.c-header__inner"),d=document.querySelector('[id^="anchor-navigation--"]'),m=(u==null?void 0:u.offsetHeight)??86,v=(d==null?void 0:d.offsetHeight)??0,h=document.getElementById(s.substring(1)),f=24;if(Qn().replace({hash:s}),h){const x=h.getBoundingClientRect().top+window.scrollY-m-v-f;requestAnimationFrame(()=>{window.scrollTo({top:x,behavior:"smooth"})})}},t=n=>{let i=n==null?void 0:n.split("#")[0];return i.endsWith("/")&&(i=i.slice(0,-1)),i};document.body.addEventListener("click",e)}),E0=Kt(e=>{e.provide("marketingTags",{add(t){for(const n of t)try{if(!document)return;const i=document.createRange().createContextualFragment(n.content);switch(n.placeToPut){case"headerScripts":document.head.append(i);break;case"bodyBeginScripts":document.body.prepend(i);break;case"bodyEndScripts":document.body.append(i);break}}catch{console.info("could not apply marketing tag")}}})});function P0({columns:e,columnWidth:t,emit:n,gap:i,items:r,maxColumns:a,minColumns:s,nextTick:o,onBeforeUnmount:l,onMounted:c,rtl:u,scrollContainer:d,ssrColumns:m,vue:v,wall:h,watch:f}){function w(I,F,k,P){const C=_(k);return P+F+C<=I?w(I,F,k+1,P+F+C):k}function _(I){const F=Array.isArray(t.value)?t.value:[t.value];return F[I%F.length]}function y(){const I=w(h.value.getBoundingClientRect().width,i.value,0,-i.value),F=A(x(I));return F>0?F:1}function x(I){const F=a==null?void 0:a.value;return F&&I>F?F:I}function A(I){const F=s==null?void 0:s.value;return F&&I<F?F:I}function E(I){return Array.from({length:I}).map(()=>[])}if(m.value>0){const I=E(m.value);r.value.forEach((F,k)=>I[k%m.value].push(k)),e.value=I}async function $(I){if(I>=r.value.length)return;await o();const F=[...h.value.children];u.value&&F.reverse();const k=F.reduce((P,C)=>C.getBoundingClientRect().height<P.getBoundingClientRect().height?C:P);e.value[+k.dataset.index].push(I),await $(I+1)}async function B(I=!1){if(e.value.length===y()&&!I){n(v===2?"redraw-skip":"redrawSkip");return}e.value=E(y());const F=d==null?void 0:d.value,k=F?F.scrollTop:window.scrollY;await $(0),F?F.scrollBy({top:k-F.scrollTop}):window.scrollTo({top:k}),n("redraw")}const Q=typeof ResizeObserver>"u"?void 0:new ResizeObserver(()=>B());return c(()=>{B(),Q==null||Q.observe(h.value)}),l(()=>Q==null?void 0:Q.unobserve(h.value)),f([r,u],()=>B(!0)),f([t,i,s,a],()=>B()),{getColumnWidthTarget:_}}const T0=["data-index"],M0=De({__name:"masonry-wall",props:{columnWidth:{default:400},items:{},gap:{default:0},rtl:{type:Boolean,default:!1},ssrColumns:{default:0},scrollContainer:{default:null},minColumns:{default:1},maxColumns:{default:void 0},keyMapper:{type:Function,default:(e,t,n,i)=>i}},emits:["redraw","redrawSkip"],setup(e,{emit:t}){const n=e,i=be([]),r=be(),{getColumnWidthTarget:a}=P0({columns:i,emit:t,nextTick:Dt,onBeforeUnmount:yt,onMounted:ot,vue:3,wall:r,watch:Qe,...vr(n)});return(s,o)=>(J(),ue("div",{ref_key:"wall",ref:r,class:"masonry-wall",style:kn({display:"flex",gap:`${s.gap}px`})},[(J(!0),ue(Be,null,Ue(i.value,(l,c)=>(J(),ue("div",{key:c,class:"masonry-column","data-index":c,style:kn({display:"flex","flex-basis":`${we(a)(c)}px`,"flex-direction":"column","flex-grow":1,gap:`${s.gap}px`,height:["-webkit-max-content","-moz-max-content","max-content"],"min-width":0})},[(J(!0),ue(Be,null,Ue(l,(u,d)=>(J(),ue("div",{key:s.keyMapper(s.items[u],c,d,u),class:"masonry-item"},[nt(s.$slots,"default",{item:s.items[u],column:c,row:d,index:u},()=>[St(Oe(s.items[u]),1)])]))),128))],12,T0))),128))],4))}}),L0=(()=>{const e=M0;return e.install=t=>{t.component("MasonryWall",e)},e})(),$0=Kt(e=>{e.vueApp.use(L0)}),O0=Kt(()=>{const e=document.querySelector("div.c-header__inner"),t=document.querySelector(".c-anchor-navigation__wrapper"),n=(e==null?void 0:e.offsetHeight)??86,i=t?62:0,r=24,a=n+i+r,s=Qn();s.options.scrollBehavior=o=>{if(o.hash)return new Promise(l=>{requestAnimationFrame(()=>{l({el:o.hash,top:a})})})}});const Tt=typeof window<"u",Wd=Tt&&"IntersectionObserver"in window,D0=Tt&&("ontouchstart"in window||window.navigator.maxTouchPoints>0);function I0(e,t,n){const i=t.length-1;if(i<0)return e===void 0?n:e;for(let r=0;r<i;r++){if(e==null)return n;e=e[t[r]]}return e==null||e[t[i]]===void 0?n:e[t[i]]}function Do(e,t){if(e===t)return!0;if(e instanceof Date&&t instanceof Date&&e.getTime()!==t.getTime()||e!==Object(e)||t!==Object(t))return!1;const n=Object.keys(e);return n.length!==Object.keys(t).length?!1:n.every(i=>Do(e[i],t[i]))}function ec(e,t,n){return e==null||!t||typeof t!="string"?n:e[t]!==void 0?e[t]:(t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,""),I0(e,t.split("."),n))}function Pa(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Array.from({length:e},(n,i)=>t+i)}function wt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"px";if(!(e==null||e===""))return isNaN(+e)?String(e):isFinite(+e)?`${Number(e)}${t}`:void 0}function na(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)}function R0(e){if(e&&"$el"in e){const t=e.$el;return(t==null?void 0:t.nodeType)===Node.TEXT_NODE?t.nextElementSibling:t}return e}const tc=Object.freeze({enter:13,tab:9,delete:46,esc:27,space:32,up:38,down:40,left:37,right:39,end:35,home:36,del:46,backspace:8,insert:45,pageup:33,pagedown:34,shift:16});function Ud(e){return Object.keys(e)}function Qa(e,t){return t.every(n=>e.hasOwnProperty(n))}function B0(e,t){const n={},i=new Set(Object.keys(e));for(const r of t)i.has(r)&&(n[r]=e[r]);return n}function cr(e,t){const n={...e};return t.forEach(i=>delete n[i]),n}const F0=/^on[^a-z]/,Gd=e=>F0.test(e);function ar(e){return e==null?[]:Array.isArray(e)?e:[e]}function Ns(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1;return Math.max(t,Math.min(n,e))}function nc(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0";return e+n.repeat(Math.max(0,t-e.length))}function ic(e,t){return(arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0").repeat(Math.max(0,t-e.length))+e}function N0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const n=[];let i=0;for(;i<e.length;)n.push(e.substr(i,t)),i+=t;return n}function un(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const i={};for(const r in e)i[r]=e[r];for(const r in t){const a=e[r],s=t[r];if(na(a)&&na(s)){i[r]=un(a,s,n);continue}if(Array.isArray(a)&&Array.isArray(s)&&n){i[r]=n(a,s);continue}i[r]=s}return i}function qd(e){return e.map(t=>t.type===Be?qd(t.children):t).flat()}function oi(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(oi.cache.has(e))return oi.cache.get(e);const t=e.replace(/[^a-z]/gi,"-").replace(/\B([A-Z])/g,"-$1").toLowerCase();return oi.cache.set(e,t),t}oi.cache=new Map;function Ki(e,t){if(!t||typeof t!="object")return[];if(Array.isArray(t))return t.map(n=>Ki(e,n)).flat(1);if(t.suspense)return Ki(e,t.ssContent);if(Array.isArray(t.children))return t.children.map(n=>Ki(e,n)).flat(1);if(t.component){if(Object.getOwnPropertySymbols(t.component.provides).includes(e))return[t.component];if(t.component.subTree)return Ki(e,t.component.subTree).flat(1)}return[]}function Io(e){const t=Qt({}),n=de(e);return dn(()=>{for(const i in n.value)t[i]=n.value[i]},{flush:"sync"}),vr(t)}function ia(e,t){return e.includes(t)}function Yd(e){return e[2].toLowerCase()+e.slice(3)}const j0=()=>[Function,Array];function rc(e,t){return t="on"+Wu(t),!!(e[t]||e[`${t}Once`]||e[`${t}Capture`]||e[`${t}OnceCapture`]||e[`${t}CaptureOnce`])}function H0(e,t){if(!(Tt&&typeof CSS<"u"&&typeof CSS.supports<"u"&&CSS.supports(`selector(${t})`)))return null;try{return!!e&&e.matches(t)}catch{return null}}function z0(e,t){if(!Tt||e===0)return t(),()=>{};const n=window.setTimeout(t,e);return()=>window.clearTimeout(n)}function ra(){const e=Et(),t=n=>{e.value=n};return Object.defineProperty(t,"value",{enumerable:!0,get:()=>e.value,set:n=>e.value=n}),Object.defineProperty(t,"el",{enumerable:!0,get:()=>R0(e.value)}),t}const Xd=["top","bottom"],V0=["start","end","left","right"];function js(e,t){let[n,i]=e.split(" ");return i||(i=ia(Xd,n)?"start":ia(V0,n)?"top":"center"),{side:ac(n,t),align:ac(i,t)}}function ac(e,t){return e==="start"?t?"right":"left":e==="end"?t?"left":"right":e}function Ka(e){return{side:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.side],align:e.align}}function Za(e){return{side:e.side,align:{center:"center",top:"bottom",bottom:"top",left:"right",right:"left"}[e.align]}}function sc(e){return{side:e.align,align:e.side}}function oc(e){return ia(Xd,e.side)?"y":"x"}class li{constructor(t){let{x:n,y:i,width:r,height:a}=t;this.x=n,this.y=i,this.width=r,this.height=a}get top(){return this.y}get bottom(){return this.y+this.height}get left(){return this.x}get right(){return this.x+this.width}}function lc(e,t){return{x:{before:Math.max(0,t.left-e.left),after:Math.max(0,e.right-t.right)},y:{before:Math.max(0,t.top-e.top),after:Math.max(0,e.bottom-t.bottom)}}}function W0(e){return Array.isArray(e)?new li({x:e[0],y:e[1],width:0,height:0}):e.getBoundingClientRect()}function U0(e){const t=e.getBoundingClientRect(),n=getComputedStyle(e),i=n.transform;if(i){let r,a,s,o,l;if(i.startsWith("matrix3d("))r=i.slice(9,-1).split(/, /),a=+r[0],s=+r[5],o=+r[12],l=+r[13];else if(i.startsWith("matrix("))r=i.slice(7,-1).split(/, /),a=+r[0],s=+r[3],o=+r[4],l=+r[5];else return new li(t);const c=n.transformOrigin,u=t.x-o-(1-a)*parseFloat(c),d=t.y-l-(1-s)*parseFloat(c.slice(c.indexOf(" ")+1)),m=a?t.width/a:e.offsetWidth+1,v=s?t.height/s:e.offsetHeight+1;return new li({x:u,y:d,width:m,height:v})}else return new li(t)}function G0(e,t,n){if(typeof e.animate>"u")return{finished:Promise.resolve()};let i;try{i=e.animate(t,n)}catch{return{finished:Promise.resolve()}}return typeof i.finished>"u"&&(i.finished=new Promise(r=>{i.onfinish=()=>{r(i)}})),i}const Wr=new WeakMap;function q0(e,t){Object.keys(t).forEach(n=>{if(Gd(n)){const i=Yd(n),r=Wr.get(e);if(t[n]==null)r==null||r.forEach(a=>{const[s,o]=a;s===i&&(e.removeEventListener(i,o),r.delete(a))});else if(!r||![...r].some(a=>a[0]===i&&a[1]===t[n])){e.addEventListener(i,t[n]);const a=r||new Set;a.add([i,t[n]]),Wr.has(e)||Wr.set(e,a)}}else t[n]==null?e.removeAttribute(n):e.setAttribute(n,t[n])})}function Y0(e,t){Object.keys(t).forEach(n=>{if(Gd(n)){const i=Yd(n),r=Wr.get(e);r==null||r.forEach(a=>{const[s,o]=a;s===i&&(e.removeEventListener(i,o),r.delete(a))})}else e.removeAttribute(n)})}const wi=2.4,cc=.2126729,uc=.7151522,dc=.072175,X0=.55,Q0=.58,K0=.57,Z0=.62,Rr=.03,hc=1.45,J0=5e-4,eb=1.25,tb=1.25,fc=.078,pc=12.82051282051282,Br=.06,mc=.001;function gc(e,t){const n=(e.r/255)**wi,i=(e.g/255)**wi,r=(e.b/255)**wi,a=(t.r/255)**wi,s=(t.g/255)**wi,o=(t.b/255)**wi;let l=n*cc+i*uc+r*dc,c=a*cc+s*uc+o*dc;if(l<=Rr&&(l+=(Rr-l)**hc),c<=Rr&&(c+=(Rr-c)**hc),Math.abs(c-l)<J0)return 0;let u;if(c>l){const d=(c**X0-l**Q0)*eb;u=d<mc?0:d<fc?d-d*pc*Br:d-Br}else{const d=(c**Z0-l**K0)*tb;u=d>-mc?0:d>-fc?d-d*pc*Br:d+Br}return u*100}const aa=.20689655172413793,nb=e=>e>aa**3?Math.cbrt(e):e/(3*aa**2)+4/29,ib=e=>e>aa?e**3:3*aa**2*(e-4/29);function Qd(e){const t=nb,n=t(e[1]);return[116*n-16,500*(t(e[0]/.95047)-n),200*(n-t(e[2]/1.08883))]}function Kd(e){const t=ib,n=(e[0]+16)/116;return[t(n+e[1]/500)*.95047,t(n),t(n-e[2]/200)*1.08883]}const rb=[[3.2406,-1.5372,-.4986],[-.9689,1.8758,.0415],[.0557,-.204,1.057]],ab=e=>e<=.0031308?e*12.92:1.055*e**(1/2.4)-.055,sb=[[.4124,.3576,.1805],[.2126,.7152,.0722],[.0193,.1192,.9505]],ob=e=>e<=.04045?e/12.92:((e+.055)/1.055)**2.4;function Zd(e){const t=Array(3),n=ab,i=rb;for(let r=0;r<3;++r)t[r]=Math.round(Ns(n(i[r][0]*e[0]+i[r][1]*e[1]+i[r][2]*e[2]))*255);return{r:t[0],g:t[1],b:t[2]}}function Ro(e){let{r:t,g:n,b:i}=e;const r=[0,0,0],a=ob,s=sb;t=a(t/255),n=a(n/255),i=a(i/255);for(let o=0;o<3;++o)r[o]=s[o][0]*t+s[o][1]*n+s[o][2]*i;return r}function Hs(e){return!!e&&/^(#|var\(--|(rgb|hsl)a?\()/.test(e)}function lb(e){return Hs(e)&&!/^((rgb|hsl)a?\()?var\(--/.test(e)}const vc=/^(?<fn>(?:rgb|hsl)a?)\((?<values>.+)\)/,cb={rgb:(e,t,n,i)=>({r:e,g:t,b:n,a:i}),rgba:(e,t,n,i)=>({r:e,g:t,b:n,a:i}),hsl:(e,t,n,i)=>yc({h:e,s:t,l:n,a:i}),hsla:(e,t,n,i)=>yc({h:e,s:t,l:n,a:i}),hsv:(e,t,n,i)=>ur({h:e,s:t,v:n,a:i}),hsva:(e,t,n,i)=>ur({h:e,s:t,v:n,a:i})};function Mn(e){if(typeof e=="number")return{r:(e&16711680)>>16,g:(e&65280)>>8,b:e&255};if(typeof e=="string"&&vc.test(e)){const{groups:t}=e.match(vc),{fn:n,values:i}=t,r=i.split(/,\s*/).map(a=>a.endsWith("%")&&["hsl","hsla","hsv","hsva"].includes(n)?parseFloat(a)/100:parseFloat(a));return cb[n](...r)}else if(typeof e=="string"){let t=e.startsWith("#")?e.slice(1):e;return[3,4].includes(t.length)?t=t.split("").map(n=>n+n).join(""):[6,8].includes(t.length),db(t)}else if(typeof e=="object"){if(Qa(e,["r","g","b"]))return e;if(Qa(e,["h","s","l"]))return ur(Jd(e));if(Qa(e,["h","s","v"]))return ur(e)}throw new TypeError(`Invalid color: ${e==null?e:String(e)||e.constructor.name}
Expected #hex, #hexa, rgb(), rgba(), hsl(), hsla(), object or number`)}function ur(e){const{h:t,s:n,v:i,a:r}=e,a=o=>{const l=(o+t/60)%6;return i-i*n*Math.max(Math.min(l,4-l,1),0)},s=[a(5),a(3),a(1)].map(o=>Math.round(o*255));return{r:s[0],g:s[1],b:s[2],a:r}}function yc(e){return ur(Jd(e))}function Jd(e){const{h:t,s:n,l:i,a:r}=e,a=i+n*Math.min(i,1-i),s=a===0?0:2-2*i/a;return{h:t,s,v:a,a:r}}function Fr(e){const t=Math.round(e).toString(16);return("00".substr(0,2-t.length)+t).toUpperCase()}function ub(e){let{r:t,g:n,b:i,a:r}=e;return`#${[Fr(t),Fr(n),Fr(i),r!==void 0?Fr(Math.round(r*255)):""].join("")}`}function db(e){e=hb(e);let[t,n,i,r]=N0(e,2).map(a=>parseInt(a,16));return r=r===void 0?r:r/255,{r:t,g:n,b:i,a:r}}function hb(e){return e.startsWith("#")&&(e=e.slice(1)),e=e.replace(/([^0-9a-f])/gi,"F"),(e.length===3||e.length===4)&&(e=e.split("").map(t=>t+t).join("")),e.length!==6&&(e=nc(nc(e,6),8,"F")),e}function fb(e,t){const n=Qd(Ro(e));return n[0]=n[0]+t*10,Zd(Kd(n))}function pb(e,t){const n=Qd(Ro(e));return n[0]=n[0]-t*10,Zd(Kd(n))}function mb(e){const t=Mn(e);return Ro(t)[1]}function eh(e){const t=Math.abs(gc(Mn(0),Mn(e)));return Math.abs(gc(Mn(16777215),Mn(e)))>Math.min(t,50)?"#fff":"#000"}function rt(e,t){return n=>Object.keys(e).reduce((i,r)=>{const s=typeof e[r]=="object"&&e[r]!=null&&!Array.isArray(e[r])?e[r]:{type:e[r]};return n&&r in n?i[r]={...s,default:n[r]}:i[r]=s,t&&!i[r].source&&(i[r].source=t),i},{})}const mi=rt({class:[String,Array,Object],style:{type:[String,Array,Object],default:null}},"component");function an(e,t){const n=Fn();if(!n)throw new Error(`[Vuetify] ${e} ${t||"must be called from inside a setup function"}`);return n}function Kn(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"composables";const t=an(e).type;return oi((t==null?void 0:t.aliasName)||(t==null?void 0:t.name))}let th=0,Ur=new WeakMap;function Ta(){const e=an("getUid");if(Ur.has(e))return Ur.get(e);{const t=th++;return Ur.set(e,t),t}}Ta.reset=()=>{th=0,Ur=new WeakMap};function gb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:an("injectSelf");const{provides:n}=t;if(n&&e in n)return n[e]}const Oi=Symbol.for("vuetify:defaults");function vb(e){return be(e)}function Bo(){const e=it(Oi);if(!e)throw new Error("[Vuetify] Could not find defaults instance");return e}function nh(e,t){const n=Bo(),i=be(e),r=de(()=>{if(we(t==null?void 0:t.disabled))return n.value;const s=we(t==null?void 0:t.scoped),o=we(t==null?void 0:t.reset),l=we(t==null?void 0:t.root);if(i.value==null&&!(s||o||l))return n.value;let c=un(i.value,{prev:n.value});if(s)return c;if(o||l){const u=Number(o||1/0);for(let d=0;d<=u&&!(!c||!("prev"in c));d++)c=c.prev;return c&&typeof l=="string"&&l in c&&(c=un(un(c,{prev:c}),c[l])),c}return c.prev?un(c.prev,c):c});return Ht(Oi,r),r}function yb(e,t){var n,i;return typeof((n=e.props)==null?void 0:n[t])<"u"||typeof((i=e.props)==null?void 0:i[oi(t)])<"u"}function bb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Bo();const i=an("useDefaults");if(t=t??i.type.name??i.type.__name,!t)throw new Error("[Vuetify] Could not determine component name");const r=de(()=>{var l;return(l=n.value)==null?void 0:l[e._as??t]}),a=new Proxy(e,{get(l,c){var d,m,v,h,f,w,_;const u=Reflect.get(l,c);return c==="class"||c==="style"?[(d=r.value)==null?void 0:d[c],u].filter(y=>y!=null):typeof c=="string"&&!yb(i.vnode,c)?((m=r.value)==null?void 0:m[c])!==void 0?(v=r.value)==null?void 0:v[c]:((f=(h=n.value)==null?void 0:h.global)==null?void 0:f[c])!==void 0?(_=(w=n.value)==null?void 0:w.global)==null?void 0:_[c]:u:u}}),s=Et();dn(()=>{if(r.value){const l=Object.entries(r.value).filter(c=>{let[u]=c;return u.startsWith(u[0].toUpperCase())});s.value=l.length?Object.fromEntries(l):void 0}else s.value=void 0});function o(){const l=gb(Oi,i);Ht(Oi,de(()=>s.value?un((l==null?void 0:l.value)??{},s.value):l==null?void 0:l.value))}return{props:a,provideSubDefaults:o}}function Pr(e){if(e._setup=e._setup??e.setup,!e.name)return e;if(e._setup){e.props=rt(e.props??{},e.name)();const t=Object.keys(e.props).filter(n=>n!=="class"&&n!=="style");e.filterProps=function(i){return B0(i,t)},e.props._as=String,e.setup=function(i,r){const a=Bo();if(!a.value)return e._setup(i,r);const{props:s,provideSubDefaults:o}=bb(i,i._as??e.name,a),l=e._setup(s,r);return o(),l}}return e}function It(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;return t=>(e?Pr:De)(t)}function ih(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"div",n=arguments.length>2?arguments[2]:void 0;return It()({name:n??Wu(Uu(e.replace(/__/g,"-"))),props:{tag:{type:String,default:t},...mi()},setup(i,r){let{slots:a}=r;return()=>{var s;return At(i.tag,{class:[e,i.class],style:i.style},(s=a.default)==null?void 0:s.call(a))}}})}function rh(e){if(typeof e.getRootNode!="function"){for(;e.parentNode;)e=e.parentNode;return e!==document?null:document}const t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}const _b="cubic-bezier(0.4, 0, 0.2, 1)";function wb(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;for(;e;){if(t?kb(e):Fo(e))return e;e=e.parentElement}return document.scrollingElement}function sa(e,t){const n=[];if(t&&e&&!t.contains(e))return n;for(;e&&(Fo(e)&&n.push(e),e!==t);)e=e.parentElement;return n}function Fo(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return t.overflowY==="scroll"||t.overflowY==="auto"&&e.scrollHeight>e.clientHeight}function kb(e){if(!e||e.nodeType!==Node.ELEMENT_NODE)return!1;const t=window.getComputedStyle(e);return["scroll","auto"].includes(t.overflowY)}function Cb(e){for(;e;){if(window.getComputedStyle(e).position==="fixed")return!0;e=e.offsetParent}return!1}function sn(e){const t=an("useRender");t.render=e}function xb(){return!0}function ah(e,t,n){if(!e||sh(e,n)===!1)return!1;const i=rh(t);if(typeof ShadowRoot<"u"&&i instanceof ShadowRoot&&i.host===e.target)return!1;const r=(typeof n.value=="object"&&n.value.include||(()=>[]))();return r.push(t),!r.some(a=>a==null?void 0:a.contains(e.target))}function sh(e,t){return(typeof t.value=="object"&&t.value.closeConditional||xb)(e)}function Sb(e,t,n){const i=typeof n.value=="function"?n.value:n.value.handler;t._clickOutside.lastMousedownWasOutside&&ah(e,t,n)&&setTimeout(()=>{sh(e,n)&&i&&i(e)},0)}function bc(e,t){const n=rh(e);t(document),typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&t(n)}const No={mounted(e,t){const n=r=>Sb(r,e,t),i=r=>{e._clickOutside.lastMousedownWasOutside=ah(r,e,t)};bc(e,r=>{r.addEventListener("click",n,!0),r.addEventListener("mousedown",i,!0)}),e._clickOutside||(e._clickOutside={lastMousedownWasOutside:!1}),e._clickOutside[t.instance.$.uid]={onClick:n,onMousedown:i}},unmounted(e,t){e._clickOutside&&(bc(e,n=>{var a;if(!n||!((a=e._clickOutside)!=null&&a[t.instance.$.uid]))return;const{onClick:i,onMousedown:r}=e._clickOutside[t.instance.$.uid];n.removeEventListener("click",i,!0),n.removeEventListener("mousedown",r,!0)}),delete e._clickOutside[t.instance.$.uid])}};function Ab(e,t){if(!Wd)return;const n=t.modifiers||{},i=t.value,{handler:r,options:a}=typeof i=="object"?i:{handler:i,options:{}},s=new IntersectionObserver(function(){var d;let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0;const c=(d=e._observe)==null?void 0:d[t.instance.$.uid];if(!c)return;const u=o.some(m=>m.isIntersecting);r&&(!n.quiet||c.init)&&(!n.once||u||c.init)&&r(u,o,l),u&&n.once?oh(e,t):c.init=!0},a);e._observe=Object(e._observe),e._observe[t.instance.$.uid]={init:!1,observer:s},s.observe(e)}function oh(e,t){var i;const n=(i=e._observe)==null?void 0:i[t.instance.$.uid];n&&(n.observer.unobserve(e),delete e._observe[t.instance.$.uid])}const Eb={mounted:Ab,unmounted:oh};function Pb(e,t){const n=t.modifiers||{},i=t.value,{once:r,immediate:a,...s}=n,o=!Object.keys(s).length,{handler:l,options:c}=typeof i=="object"?i:{handler:i,options:{attributes:(s==null?void 0:s.attr)??o,characterData:(s==null?void 0:s.char)??o,childList:(s==null?void 0:s.child)??o,subtree:(s==null?void 0:s.sub)??o}},u=new MutationObserver(function(){let d=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],m=arguments.length>1?arguments[1]:void 0;l==null||l(d,m),r&&lh(e,t)});a&&(l==null||l([],u)),e._mutate=Object(e._mutate),e._mutate[t.instance.$.uid]={observer:u},u.observe(e,c)}function lh(e,t){var n;(n=e._mutate)!=null&&n[t.instance.$.uid]&&(e._mutate[t.instance.$.uid].observer.disconnect(),delete e._mutate[t.instance.$.uid])}const Tb={mounted:Pb,unmounted:lh};function Mb(e,t){var r,a;const n=t.value,i={passive:!((r=t.modifiers)!=null&&r.active)};window.addEventListener("resize",n,i),e._onResize=Object(e._onResize),e._onResize[t.instance.$.uid]={handler:n,options:i},(a=t.modifiers)!=null&&a.quiet||n()}function Lb(e,t){var r;if(!((r=e._onResize)!=null&&r[t.instance.$.uid]))return;const{handler:n,options:i}=e._onResize[t.instance.$.uid];window.removeEventListener("resize",n,i),delete e._onResize[t.instance.$.uid]}const $b={mounted:Mb,unmounted:Lb};const zs=Symbol("rippleStop"),Ob=80;function _c(e,t){e.style.transform=t,e.style.webkitTransform=t}function Vs(e){return e.constructor.name==="TouchEvent"}function ch(e){return e.constructor.name==="KeyboardEvent"}const Db=function(e,t){var d;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=0,r=0;if(!ch(e)){const m=t.getBoundingClientRect(),v=Vs(e)?e.touches[e.touches.length-1]:e;i=v.clientX-m.left,r=v.clientY-m.top}let a=0,s=.3;(d=t._ripple)!=null&&d.circle?(s=.15,a=t.clientWidth/2,a=n.center?a:a+Math.sqrt((i-a)**2+(r-a)**2)/4):a=Math.sqrt(t.clientWidth**2+t.clientHeight**2)/2;const o=`${(t.clientWidth-a*2)/2}px`,l=`${(t.clientHeight-a*2)/2}px`,c=n.center?o:`${i-a}px`,u=n.center?l:`${r-a}px`;return{radius:a,scale:s,x:c,y:u,centerX:o,centerY:l}},oa={show(e,t){var v;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!((v=t==null?void 0:t._ripple)!=null&&v.enabled))return;const i=document.createElement("span"),r=document.createElement("span");i.appendChild(r),i.className="v-ripple__container",n.class&&(i.className+=` ${n.class}`);const{radius:a,scale:s,x:o,y:l,centerX:c,centerY:u}=Db(e,t,n),d=`${a*2}px`;r.className="v-ripple__animation",r.style.width=d,r.style.height=d,t.appendChild(i);const m=window.getComputedStyle(t);m&&m.position==="static"&&(t.style.position="relative",t.dataset.previousPosition="static"),r.classList.add("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--visible"),_c(r,`translate(${o}, ${l}) scale3d(${s},${s},${s})`),r.dataset.activated=String(performance.now()),setTimeout(()=>{r.classList.remove("v-ripple__animation--enter"),r.classList.add("v-ripple__animation--in"),_c(r,`translate(${c}, ${u}) scale3d(1,1,1)`)},0)},hide(e){var a;if(!((a=e==null?void 0:e._ripple)!=null&&a.enabled))return;const t=e.getElementsByClassName("v-ripple__animation");if(t.length===0)return;const n=t[t.length-1];if(n.dataset.isHiding)return;n.dataset.isHiding="true";const i=performance.now()-Number(n.dataset.activated),r=Math.max(250-i,0);setTimeout(()=>{n.classList.remove("v-ripple__animation--in"),n.classList.add("v-ripple__animation--out"),setTimeout(()=>{var o;e.getElementsByClassName("v-ripple__animation").length===1&&e.dataset.previousPosition&&(e.style.position=e.dataset.previousPosition,delete e.dataset.previousPosition),((o=n.parentNode)==null?void 0:o.parentNode)===e&&e.removeChild(n.parentNode)},300)},r)}};function uh(e){return typeof e>"u"||!!e}function dr(e){const t={},n=e.currentTarget;if(!(!(n!=null&&n._ripple)||n._ripple.touched||e[zs])){if(e[zs]=!0,Vs(e))n._ripple.touched=!0,n._ripple.isTouch=!0;else if(n._ripple.isTouch)return;if(t.center=n._ripple.centered||ch(e),n._ripple.class&&(t.class=n._ripple.class),Vs(e)){if(n._ripple.showTimerCommit)return;n._ripple.showTimerCommit=()=>{oa.show(e,n,t)},n._ripple.showTimer=window.setTimeout(()=>{var i;(i=n==null?void 0:n._ripple)!=null&&i.showTimerCommit&&(n._ripple.showTimerCommit(),n._ripple.showTimerCommit=null)},Ob)}else oa.show(e,n,t)}}function wc(e){e[zs]=!0}function cn(e){const t=e.currentTarget;if(t!=null&&t._ripple){if(window.clearTimeout(t._ripple.showTimer),e.type==="touchend"&&t._ripple.showTimerCommit){t._ripple.showTimerCommit(),t._ripple.showTimerCommit=null,t._ripple.showTimer=window.setTimeout(()=>{cn(e)});return}window.setTimeout(()=>{t._ripple&&(t._ripple.touched=!1)}),oa.hide(t)}}function dh(e){const t=e.currentTarget;t!=null&&t._ripple&&(t._ripple.showTimerCommit&&(t._ripple.showTimerCommit=null),window.clearTimeout(t._ripple.showTimer))}let hr=!1;function hh(e){!hr&&(e.keyCode===tc.enter||e.keyCode===tc.space)&&(hr=!0,dr(e))}function fh(e){hr=!1,cn(e)}function ph(e){hr&&(hr=!1,cn(e))}function mh(e,t,n){const{value:i,modifiers:r}=t,a=uh(i);if(a||oa.hide(e),e._ripple=e._ripple??{},e._ripple.enabled=a,e._ripple.centered=r.center,e._ripple.circle=r.circle,na(i)&&i.class&&(e._ripple.class=i.class),a&&!n){if(r.stop){e.addEventListener("touchstart",wc,{passive:!0}),e.addEventListener("mousedown",wc);return}e.addEventListener("touchstart",dr,{passive:!0}),e.addEventListener("touchend",cn,{passive:!0}),e.addEventListener("touchmove",dh,{passive:!0}),e.addEventListener("touchcancel",cn),e.addEventListener("mousedown",dr),e.addEventListener("mouseup",cn),e.addEventListener("mouseleave",cn),e.addEventListener("keydown",hh),e.addEventListener("keyup",fh),e.addEventListener("blur",ph),e.addEventListener("dragstart",cn,{passive:!0})}else!a&&n&&gh(e)}function gh(e){e.removeEventListener("mousedown",dr),e.removeEventListener("touchstart",dr),e.removeEventListener("touchend",cn),e.removeEventListener("touchmove",dh),e.removeEventListener("touchcancel",cn),e.removeEventListener("mouseup",cn),e.removeEventListener("mouseleave",cn),e.removeEventListener("keydown",hh),e.removeEventListener("keyup",fh),e.removeEventListener("dragstart",cn),e.removeEventListener("blur",ph)}function Ib(e,t){mh(e,t,!1)}function Rb(e){delete e._ripple,gh(e)}function Bb(e,t){if(t.value===t.oldValue)return;const n=uh(t.oldValue);mh(e,t,n)}const vh={mounted:Ib,unmounted:Rb,updated:Bb};function yh(e,t){const{self:n=!1}=t.modifiers??{},i=t.value,r=typeof i=="object"&&i.options||{passive:!0},a=typeof i=="function"||"handleEvent"in i?i:i.handler,s=n?e:t.arg?document.querySelector(t.arg):window;s&&(s.addEventListener("scroll",a,r),e._onScroll=Object(e._onScroll),e._onScroll[t.instance.$.uid]={handler:a,options:r,target:n?void 0:s})}function bh(e,t){var a;if(!((a=e._onScroll)!=null&&a[t.instance.$.uid]))return;const{handler:n,options:i,target:r=e}=e._onScroll[t.instance.$.uid];r.removeEventListener("scroll",n,i),delete e._onScroll[t.instance.$.uid]}function Fb(e,t){t.value!==t.oldValue&&(bh(e,t),yh(e,t))}const Nb={mounted:yh,unmounted:bh,updated:Fb},jb=e=>{const{touchstartX:t,touchendX:n,touchstartY:i,touchendY:r}=e,a=.5,s=16;e.offsetX=n-t,e.offsetY=r-i,Math.abs(e.offsetY)<a*Math.abs(e.offsetX)&&(e.left&&n<t-s&&e.left(e),e.right&&n>t+s&&e.right(e)),Math.abs(e.offsetX)<a*Math.abs(e.offsetY)&&(e.up&&r<i-s&&e.up(e),e.down&&r>i+s&&e.down(e))};function Hb(e,t){var i;const n=e.changedTouches[0];t.touchstartX=n.clientX,t.touchstartY=n.clientY,(i=t.start)==null||i.call(t,{originalEvent:e,...t})}function zb(e,t){var i;const n=e.changedTouches[0];t.touchendX=n.clientX,t.touchendY=n.clientY,(i=t.end)==null||i.call(t,{originalEvent:e,...t}),jb(t)}function Vb(e,t){var i;const n=e.changedTouches[0];t.touchmoveX=n.clientX,t.touchmoveY=n.clientY,(i=t.move)==null||i.call(t,{originalEvent:e,...t})}function Wb(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t={touchstartX:0,touchstartY:0,touchendX:0,touchendY:0,touchmoveX:0,touchmoveY:0,offsetX:0,offsetY:0,left:e.left,right:e.right,up:e.up,down:e.down,start:e.start,move:e.move,end:e.end};return{touchstart:n=>Hb(n,t),touchend:n=>zb(n,t),touchmove:n=>Vb(n,t)}}function Ub(e,t){var o;const n=t.value,i=n!=null&&n.parent?e.parentElement:e,r=(n==null?void 0:n.options)??{passive:!0},a=(o=t.instance)==null?void 0:o.$.uid;if(!i||!a)return;const s=Wb(t.value);i._touchHandlers=i._touchHandlers??Object.create(null),i._touchHandlers[a]=s,Ud(s).forEach(l=>{i.addEventListener(l,s[l],r)})}function Gb(e,t){var a,s;const n=(a=t.value)!=null&&a.parent?e.parentElement:e,i=(s=t.instance)==null?void 0:s.$.uid;if(!(n!=null&&n._touchHandlers)||!i)return;const r=n._touchHandlers[i];Ud(r).forEach(o=>{n.removeEventListener(o,r[o])}),delete n._touchHandlers[i]}const qb={mounted:Ub,unmounted:Gb};function Ma(e,t){let n;function i(){n=gr(),n.run(()=>t.length?t(()=>{n==null||n.stop(),i()}):t())}Qe(e,r=>{r&&!n?i():r||(n==null||n.stop(),n=void 0)},{immediate:!0}),yn(()=>{n==null||n.stop()})}function Ja(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Yb(e,t){return{x:e.x-t.x,y:e.y-t.y}}function kc(e,t){if(e.side==="top"||e.side==="bottom"){const{side:n,align:i}=e,r=i==="left"?0:i==="center"?t.width/2:i==="right"?t.width:i,a=n==="top"?0:n==="bottom"?t.height:n;return Ja({x:r,y:a},t)}else if(e.side==="left"||e.side==="right"){const{side:n,align:i}=e,r=n==="left"?0:n==="right"?t.width:n,a=i==="top"?0:i==="center"?t.height/2:i==="bottom"?t.height:i;return Ja({x:r,y:a},t)}return Ja({x:t.width/2,y:t.height/2},t)}const _h={static:Kb,connected:Jb},Xb=rt({locationStrategy:{type:[String,Function],default:"static",validator:e=>typeof e=="function"||e in _h},location:{type:String,default:"bottom"},origin:{type:String,default:"auto"},offset:[Number,String,Array]},"VOverlay-location-strategies");function Qb(e,t){const n=be({}),i=be();Tt&&Ma(()=>!!(t.isActive.value&&e.locationStrategy),a=>{var s,o;Qe(()=>e.locationStrategy,a),yn(()=>{window.removeEventListener("resize",r),i.value=void 0}),window.addEventListener("resize",r,{passive:!0}),typeof e.locationStrategy=="function"?i.value=(s=e.locationStrategy(t,e,n))==null?void 0:s.updateLocation:i.value=(o=_h[e.locationStrategy](t,e,n))==null?void 0:o.updateLocation});function r(a){var s;(s=i.value)==null||s.call(i,a)}return{contentStyles:n,updateLocation:i}}function Kb(){}function Zb(e,t){t?e.style.removeProperty("left"):e.style.removeProperty("right");const n=U0(e);return t?n.x+=parseFloat(e.style.right||0):n.x-=parseFloat(e.style.left||0),n.y-=parseFloat(e.style.top||0),n}function Jb(e,t,n){(Array.isArray(e.target.value)||Cb(e.target.value))&&Object.assign(n.value,{position:"fixed",top:0,[e.isRtl.value?"right":"left"]:0});const{preferredAnchor:r,preferredOrigin:a}=Io(()=>{const h=js(t.location,e.isRtl.value),f=t.origin==="overlap"?h:t.origin==="auto"?Ka(h):js(t.origin,e.isRtl.value);return h.side===f.side&&h.align===Za(f).align?{preferredAnchor:sc(h),preferredOrigin:sc(f)}:{preferredAnchor:h,preferredOrigin:f}}),[s,o,l,c]=["minWidth","minHeight","maxWidth","maxHeight"].map(h=>de(()=>{const f=parseFloat(t[h]);return isNaN(f)?1/0:f})),u=de(()=>{if(Array.isArray(t.offset))return t.offset;if(typeof t.offset=="string"){const h=t.offset.split(" ").map(parseFloat);return h.length<2&&h.push(0),h}return typeof t.offset=="number"?[t.offset,0]:[0,0]});let d=!1;const m=new ResizeObserver(()=>{d&&v()});Qe([e.target,e.contentEl],(h,f)=>{let[w,_]=h,[y,x]=f;y&&!Array.isArray(y)&&m.unobserve(y),w&&!Array.isArray(w)&&m.observe(w),x&&m.unobserve(x),_&&m.observe(_)},{immediate:!0}),yn(()=>{m.disconnect()});function v(){if(d=!1,requestAnimationFrame(()=>d=!0),!e.target.value||!e.contentEl.value)return;const h=W0(e.target.value),f=Zb(e.contentEl.value,e.isRtl.value),w=sa(e.contentEl.value),_=12;w.length||(w.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style.left||(f.x-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x")||0),f.y-=parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y")||0)));const y=w.reduce((k,P)=>{const C=P.getBoundingClientRect(),p=new li({x:P===document.documentElement?0:C.x,y:P===document.documentElement?0:C.y,width:P.clientWidth,height:P.clientHeight});return k?new li({x:Math.max(k.left,p.left),y:Math.max(k.top,p.top),width:Math.min(k.right,p.right)-Math.max(k.left,p.left),height:Math.min(k.bottom,p.bottom)-Math.max(k.top,p.top)}):p},void 0);y.x+=_,y.y+=_,y.width-=_*2,y.height-=_*2;let x={anchor:r.value,origin:a.value};function A(k){const P=new li(f),C=kc(k.anchor,h),p=kc(k.origin,P);let{x:g,y:D}=Yb(C,p);switch(k.anchor.side){case"top":D-=u.value[0];break;case"bottom":D+=u.value[0];break;case"left":g-=u.value[0];break;case"right":g+=u.value[0];break}switch(k.anchor.align){case"top":D-=u.value[1];break;case"bottom":D+=u.value[1];break;case"left":g-=u.value[1];break;case"right":g+=u.value[1];break}return P.x+=g,P.y+=D,P.width=Math.min(P.width,l.value),P.height=Math.min(P.height,c.value),{overflows:lc(P,y),x:g,y:D}}let E=0,$=0;const B={x:0,y:0},Q={x:!1,y:!1};let I=-1;for(;!(I++>10);){const{x:k,y:P,overflows:C}=A(x);E+=k,$+=P,f.x+=k,f.y+=P;{const p=oc(x.anchor),g=C.x.before||C.x.after,D=C.y.before||C.y.after;let R=!1;if(["x","y"].forEach(Z=>{if(Z==="x"&&g&&!Q.x||Z==="y"&&D&&!Q.y){const G={anchor:{...x.anchor},origin:{...x.origin}},V=Z==="x"?p==="y"?Za:Ka:p==="y"?Ka:Za;G.anchor=V(G.anchor),G.origin=V(G.origin);const{overflows:X}=A(G);(X[Z].before<=C[Z].before&&X[Z].after<=C[Z].after||X[Z].before+X[Z].after<(C[Z].before+C[Z].after)/2)&&(x=G,R=Q[Z]=!0)}}),R)continue}C.x.before&&(E+=C.x.before,f.x+=C.x.before),C.x.after&&(E-=C.x.after,f.x-=C.x.after),C.y.before&&($+=C.y.before,f.y+=C.y.before),C.y.after&&($-=C.y.after,f.y-=C.y.after);{const p=lc(f,y);B.x=y.width-p.x.before-p.x.after,B.y=y.height-p.y.before-p.y.after,E+=p.x.before,f.x+=p.x.before,$+=p.y.before,f.y+=p.y.before}break}const F=oc(x.anchor);return Object.assign(n.value,{"--v-overlay-anchor-origin":`${x.anchor.side} ${x.anchor.align}`,transformOrigin:`${x.origin.side} ${x.origin.align}`,top:wt(es($)),left:e.isRtl.value?void 0:wt(es(E)),right:e.isRtl.value?wt(es(-E)):void 0,minWidth:wt(F==="y"?Math.min(s.value,h.width):s.value),maxWidth:wt(Cc(Ns(B.x,s.value===1/0?0:s.value,l.value))),maxHeight:wt(Cc(Ns(B.y,o.value===1/0?0:o.value,c.value)))}),{available:B,contentBox:f}}return Qe(()=>[r.value,a.value,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>v()),Dt(()=>{const h=v();if(!h)return;const{available:f,contentBox:w}=h;w.height>f.y&&requestAnimationFrame(()=>{v(),requestAnimationFrame(()=>{v()})})}),{updateLocation:v}}function es(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Cc(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}let Ws=!0;const la=[];function e1(e){!Ws||la.length?(la.push(e),Us()):(Ws=!1,e(),Us())}let xc=-1;function Us(){cancelAnimationFrame(xc),xc=requestAnimationFrame(()=>{const e=la.shift();e&&e(),la.length?Us():Ws=!0})}const Gr={none:null,close:i1,block:r1,reposition:a1},t1=rt({scrollStrategy:{type:[String,Function],default:"block",validator:e=>typeof e=="function"||e in Gr}},"VOverlay-scroll-strategies");function n1(e,t){if(!Tt)return;let n;dn(async()=>{n==null||n.stop(),t.isActive.value&&e.scrollStrategy&&(n=gr(),await new Promise(i=>setTimeout(i)),n.active&&n.run(()=>{var i;typeof e.scrollStrategy=="function"?e.scrollStrategy(t,e,n):(i=Gr[e.scrollStrategy])==null||i.call(Gr,t,e,n)}))}),yn(()=>{n==null||n.stop()})}function i1(e){function t(n){e.isActive.value=!1}wh(e.targetEl.value??e.contentEl.value,t)}function r1(e,t){var s;const n=(s=e.root.value)==null?void 0:s.offsetParent,i=[...new Set([...sa(e.targetEl.value,t.contained?n:void 0),...sa(e.contentEl.value,t.contained?n:void 0)])].filter(o=>!o.classList.contains("v-overlay-scroll-blocked")),r=window.innerWidth-document.documentElement.offsetWidth,a=(o=>Fo(o)&&o)(n||document.documentElement);a&&e.root.value.classList.add("v-overlay--scroll-blocked"),i.forEach((o,l)=>{o.style.setProperty("--v-body-scroll-x",wt(-o.scrollLeft)),o.style.setProperty("--v-body-scroll-y",wt(-o.scrollTop)),o!==document.documentElement&&o.style.setProperty("--v-scrollbar-offset",wt(r)),o.classList.add("v-overlay-scroll-blocked")}),yn(()=>{i.forEach((o,l)=>{const c=parseFloat(o.style.getPropertyValue("--v-body-scroll-x")),u=parseFloat(o.style.getPropertyValue("--v-body-scroll-y")),d=o.style.scrollBehavior;o.style.scrollBehavior="auto",o.style.removeProperty("--v-body-scroll-x"),o.style.removeProperty("--v-body-scroll-y"),o.style.removeProperty("--v-scrollbar-offset"),o.classList.remove("v-overlay-scroll-blocked"),o.scrollLeft=-c,o.scrollTop=-u,o.style.scrollBehavior=d}),a&&e.root.value.classList.remove("v-overlay--scroll-blocked")})}function a1(e,t,n){let i=!1,r=-1,a=-1;function s(o){e1(()=>{var u,d;const l=performance.now();(d=(u=e.updateLocation).value)==null||d.call(u,o),i=(performance.now()-l)/(1e3/60)>2})}a=(typeof requestIdleCallback>"u"?o=>o():requestIdleCallback)(()=>{n.run(()=>{wh(e.targetEl.value??e.contentEl.value,o=>{i?(cancelAnimationFrame(r),r=requestAnimationFrame(()=>{r=requestAnimationFrame(()=>{s(o)})})):s(o)})})}),yn(()=>{typeof cancelIdleCallback<"u"&&cancelIdleCallback(a),cancelAnimationFrame(r)})}function wh(e,t){const n=[document,...sa(e)];n.forEach(i=>{i.addEventListener("scroll",t,{passive:!0})}),yn(()=>{n.forEach(i=>{i.removeEventListener("scroll",t)})})}const s1=Symbol.for("vuetify:v-menu"),o1=rt({closeDelay:[Number,String],openDelay:[Number,String]},"delay");function l1(e,t){let n=()=>{};function i(s){n==null||n();const o=Number(s?e.openDelay:e.closeDelay);return new Promise(l=>{n=z0(o,()=>{t==null||t(s),l(s)})})}function r(){return i(!0)}function a(){return i(!1)}return{clearDelay:n,runOpenDelay:r,runCloseDelay:a}}const c1=rt({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},closeOnContentClick:Boolean,...o1()},"VOverlay-activator");function u1(e,t){let{isActive:n,isTop:i}=t;const r=an("useActivator"),a=be();let s=!1,o=!1,l=!0;const c=de(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),u=de(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!c.value),{runOpenDelay:d,runCloseDelay:m}=l1(e,B=>{B===(e.openOnHover&&s||c.value&&o)&&!(e.openOnHover&&n.value&&!i.value)&&(n.value!==B&&(l=!0),n.value=B)}),v=be(),h={onClick:B=>{B.stopPropagation(),a.value=B.currentTarget||B.target,n.value||(v.value=[B.clientX,B.clientY]),n.value=!n.value},onMouseenter:B=>{var Q;(Q=B.sourceCapabilities)!=null&&Q.firesTouchEvents||(s=!0,a.value=B.currentTarget||B.target,d())},onMouseleave:B=>{s=!1,m()},onFocus:B=>{H0(B.target,":focus-visible")!==!1&&(o=!0,B.stopPropagation(),a.value=B.currentTarget||B.target,d())},onBlur:B=>{o=!1,B.stopPropagation(),m()}},f=de(()=>{const B={};return u.value&&(B.onClick=h.onClick),e.openOnHover&&(B.onMouseenter=h.onMouseenter,B.onMouseleave=h.onMouseleave),c.value&&(B.onFocus=h.onFocus,B.onBlur=h.onBlur),B}),w=de(()=>{const B={};if(e.openOnHover&&(B.onMouseenter=()=>{s=!0,d()},B.onMouseleave=()=>{s=!1,m()}),c.value&&(B.onFocusin=()=>{o=!0,d()},B.onFocusout=()=>{o=!1,m()}),e.closeOnContentClick){const Q=it(s1,null);B.onClick=()=>{n.value=!1,Q==null||Q.closeParents()}}return B}),_=de(()=>{const B={};return e.openOnHover&&(B.onMouseenter=()=>{l&&(s=!0,l=!1,d())},B.onMouseleave=()=>{s=!1,m()}),B});Qe(i,B=>{B&&(e.openOnHover&&!s&&(!c.value||!o)||c.value&&!o&&(!e.openOnHover||!s))&&(n.value=!1)}),Qe(n,B=>{B||setTimeout(()=>{v.value=void 0})},{flush:"post"});const y=ra();dn(()=>{y.value&&Dt(()=>{a.value=y.el})});const x=ra(),A=de(()=>e.target==="cursor"&&v.value?v.value:x.value?x.el:kh(e.target,r)||a.value),E=de(()=>Array.isArray(A.value)?void 0:A.value);let $;return Qe(()=>!!e.activator,B=>{B&&Tt?($=gr(),$.run(()=>{d1(e,r,{activatorEl:a,activatorEvents:f})})):$&&$.stop()},{flush:"post",immediate:!0}),yn(()=>{$==null||$.stop()}),{activatorEl:a,activatorRef:y,target:A,targetEl:E,targetRef:x,activatorEvents:f,contentEvents:w,scrimEvents:_}}function d1(e,t,n){let{activatorEl:i,activatorEvents:r}=n;Qe(()=>e.activator,(l,c)=>{if(c&&l!==c){const u=o(c);u&&s(u)}l&&Dt(()=>a())},{immediate:!0}),Qe(()=>e.activatorProps,()=>{a()}),yn(()=>{s()});function a(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&q0(l,Ke(r.value,c))}function s(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o(),c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e.activatorProps;l&&Y0(l,Ke(r.value,c))}function o(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:e.activator;const c=kh(l,t);return i.value=(c==null?void 0:c.nodeType)===Node.ELEMENT_NODE?c:void 0,i.value}}function kh(e,t){var i,r;if(!e)return;let n;if(e==="parent"){let a=(r=(i=t==null?void 0:t.proxy)==null?void 0:i.$el)==null?void 0:r.parentNode;for(;a!=null&&a.hasAttribute("data-no-activator");)a=a.parentNode;n=a}else typeof e=="string"?n=document.querySelector(e):"$el"in e?n=e.$el:n=e;return n}function jo(e){return Io(()=>{const t=[],n={};if(e.value.background)if(Hs(e.value.background)){if(n.backgroundColor=e.value.background,!e.value.text&&lb(e.value.background)){const i=Mn(e.value.background);if(i.a==null||i.a===1){const r=eh(i);n.color=r,n.caretColor=r}}}else t.push(`bg-${e.value.background}`);return e.value.text&&(Hs(e.value.text)?(n.color=e.value.text,n.caretColor=e.value.text):t.push(`text-${e.value.text}`)),{colorClasses:t,colorStyles:n}})}function Gs(e,t){const n=de(()=>({text:gn(e)?e.value:t?e[t]:null})),{colorClasses:i,colorStyles:r}=jo(n);return{textColorClasses:i,textColorStyles:r}}function La(e,t){const n=de(()=>({background:gn(e)?e.value:t?e[t]:null})),{colorClasses:i,colorStyles:r}=jo(n);return{backgroundColorClasses:i,backgroundColorStyles:r}}const Ho=rt({height:[Number,String],maxHeight:[Number,String],maxWidth:[Number,String],minHeight:[Number,String],minWidth:[Number,String],width:[Number,String]},"dimension");function zo(e){return{dimensionStyles:de(()=>{const n={},i=wt(e.height),r=wt(e.maxHeight),a=wt(e.maxWidth),s=wt(e.minHeight),o=wt(e.minWidth),l=wt(e.width);return i!=null&&(n.height=i),r!=null&&(n.maxHeight=r),a!=null&&(n.maxWidth=a),s!=null&&(n.minHeight=s),o!=null&&(n.minWidth=o),l!=null&&(n.width=l),n})}}const qs=Symbol.for("vuetify:display"),Sc={mobileBreakpoint:"lg",thresholds:{xs:0,sm:600,md:960,lg:1280,xl:1920,xxl:2560}},h1=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Sc;return un(Sc,e)};function Ac(e){return Tt&&!e?window.innerWidth:typeof e=="object"&&e.clientWidth||0}function Ec(e){return Tt&&!e?window.innerHeight:typeof e=="object"&&e.clientHeight||0}function Pc(e){const t=Tt&&!e?window.navigator.userAgent:"ssr";function n(h){return!!t.match(h)}const i=n(/android/i),r=n(/iphone|ipad|ipod/i),a=n(/cordova/i),s=n(/electron/i),o=n(/chrome/i),l=n(/edge/i),c=n(/firefox/i),u=n(/opera/i),d=n(/win/i),m=n(/mac/i),v=n(/linux/i);return{android:i,ios:r,cordova:a,electron:s,chrome:o,edge:l,firefox:c,opera:u,win:d,mac:m,linux:v,touch:D0,ssr:t==="ssr"}}function f1(e,t){const{thresholds:n,mobileBreakpoint:i}=h1(e),r=Et(Ec(t)),a=Et(Pc(t)),s=Qt({}),o=Et(Ac(t));function l(){r.value=Ec(),o.value=Ac()}function c(){l(),a.value=Pc()}return dn(()=>{const u=o.value<n.sm,d=o.value<n.md&&!u,m=o.value<n.lg&&!(d||u),v=o.value<n.xl&&!(m||d||u),h=o.value<n.xxl&&!(v||m||d||u),f=o.value>=n.xxl,w=u?"xs":d?"sm":m?"md":v?"lg":h?"xl":"xxl",_=typeof i=="number"?i:n[i],y=o.value<_;s.xs=u,s.sm=d,s.md=m,s.lg=v,s.xl=h,s.xxl=f,s.smAndUp=!u,s.mdAndUp=!(u||d),s.lgAndUp=!(u||d||m),s.xlAndUp=!(u||d||m||v),s.smAndDown=!(m||v||h||f),s.mdAndDown=!(v||h||f),s.lgAndDown=!(h||f),s.xlAndDown=!f,s.name=w,s.height=r.value,s.width=o.value,s.mobile=y,s.mobileBreakpoint=i,s.platform=a.value,s.thresholds=n}),Tt&&window.addEventListener("resize",l,{passive:!0}),{...vr(s),update:c,ssr:!!t}}function p1(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kn();const n=it(qs);if(!n)throw new Error("Could not find Vuetify display injection");const i=de(()=>{if(e.mobile!=null)return e.mobile;if(!e.mobileBreakpoint)return n.mobile.value;const a=typeof e.mobileBreakpoint=="number"?e.mobileBreakpoint:n.thresholds.value[e.mobileBreakpoint];return n.width.value<a}),r=de(()=>t?{[`${t}--mobile`]:i.value}:{});return{...n,displayClasses:r,mobile:i}}function m1(){if(!Tt)return Et(!1);const{ssr:e}=p1();if(e){const t=Et(!1);return ot(()=>{t.value=!0}),t}else return Et(!0)}const g1=rt({eager:Boolean},"lazy");function v1(e,t){const n=Et(!1),i=de(()=>n.value||e.eager||t.value);Qe(t,()=>n.value=!0);function r(){e.eager||(n.value=!1)}return{isBooted:n,hasContent:i,onAfterLeave:r}}function _n(e,t,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:d=>d,r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:d=>d;const a=an("useProxiedModel"),s=be(e[t]!==void 0?e[t]:n),o=oi(t),c=o!==t?de(()=>{var d,m,v,h;return e[t],!!(((d=a.vnode.props)!=null&&d.hasOwnProperty(t)||(m=a.vnode.props)!=null&&m.hasOwnProperty(o))&&((v=a.vnode.props)!=null&&v.hasOwnProperty(`onUpdate:${t}`)||(h=a.vnode.props)!=null&&h.hasOwnProperty(`onUpdate:${o}`)))}):de(()=>{var d,m;return e[t],!!((d=a.vnode.props)!=null&&d.hasOwnProperty(t)&&((m=a.vnode.props)!=null&&m.hasOwnProperty(`onUpdate:${t}`)))});Ma(()=>!c.value,()=>{Qe(()=>e[t],d=>{s.value=d})});const u=de({get(){const d=e[t];return i(c.value?d:s.value)},set(d){const m=r(d),v=xn(c.value?e[t]:s.value);v===m||i(v)===d||(s.value=m,a==null||a.emit(`update:${t}`,m))}});return Object.defineProperty(u,"externalValue",{get:()=>c.value?e[t]:s.value}),u}const y1={badge:"Badge",open:"Open",close:"Close",dismiss:"Dismiss",confirmEdit:{ok:"OK",cancel:"Cancel"},dataIterator:{noResultsText:"No matching records found",loadingText:"Loading items..."},dataTable:{itemsPerPageText:"Rows per page:",ariaLabel:{sortDescending:"Sorted descending.",sortAscending:"Sorted ascending.",sortNone:"Not sorted.",activateNone:"Activate to remove sorting.",activateDescending:"Activate to sort descending.",activateAscending:"Activate to sort ascending."},sortBy:"Sort by"},dataFooter:{itemsPerPageText:"Items per page:",itemsPerPageAll:"All",nextPage:"Next page",prevPage:"Previous page",firstPage:"First page",lastPage:"Last page",pageText:"{0}-{1} of {2}"},dateRangeInput:{divider:"to"},datePicker:{itemsSelected:"{0} selected",range:{title:"Select dates",header:"Enter dates"},title:"Select date",header:"Enter date",input:{placeholder:"Enter date"}},noDataText:"No data available",carousel:{prev:"Previous visual",next:"Next visual",ariaLabel:{delimiter:"Carousel slide {0} of {1}"}},calendar:{moreEvents:"{0} more",today:"Today"},input:{clear:"Clear {0}",prependAction:"{0} prepended action",appendAction:"{0} appended action",otp:"Please enter OTP character {0}"},fileInput:{counter:"{0} files",counterSize:"{0} files ({1} in total)"},timePicker:{am:"AM",pm:"PM",title:"Select Time"},pagination:{ariaLabel:{root:"Pagination Navigation",next:"Next page",previous:"Previous page",page:"Go to page {0}",currentPage:"Page {0}, Current page",first:"First page",last:"Last page"}},stepper:{next:"Next",prev:"Previous"},rating:{ariaLabel:{item:"Rating {0} of {1}"}},loading:"Loading...",infiniteScroll:{loadMore:"Load more",empty:"No more"}},Tc="$vuetify.",Mc=(e,t)=>e.replace(/\{(\d+)\}/g,(n,i)=>String(t[+i])),Ch=(e,t,n)=>function(i){for(var r=arguments.length,a=new Array(r>1?r-1:0),s=1;s<r;s++)a[s-1]=arguments[s];if(!i.startsWith(Tc))return Mc(i,a);const o=i.replace(Tc,""),l=e.value&&n.value[e.value],c=t.value&&n.value[t.value];let u=ec(l,o,null);return u||(`${i}${e.value}`,u=ec(c,o,null)),u||(u=i),typeof u!="string"&&(u=i),Mc(u,a)};function xh(e,t){return(n,i)=>new Intl.NumberFormat([e.value,t.value],i).format(n)}function ts(e,t,n){const i=_n(e,t,e[t]??n.value);return i.value=e[t]??n.value,Qe(n,r=>{e[t]==null&&(i.value=n.value)}),i}function Sh(e){return t=>{const n=ts(t,"locale",e.current),i=ts(t,"fallback",e.fallback),r=ts(t,"messages",e.messages);return{name:"vuetify",current:n,fallback:i,messages:r,t:Ch(n,i,r),n:xh(n,i),provide:Sh({current:n,fallback:i,messages:r})}}}function b1(e){const t=Et((e==null?void 0:e.locale)??"en"),n=Et((e==null?void 0:e.fallback)??"en"),i=be({en:y1,...e==null?void 0:e.messages});return{name:"vuetify",current:t,fallback:n,messages:i,t:Ch(t,n,i),n:xh(t,n),provide:Sh({current:t,fallback:n,messages:i})}}const ca=Symbol.for("vuetify:locale");function _1(e){return e.name!=null}function w1(e){const t=e!=null&&e.adapter&&_1(e==null?void 0:e.adapter)?e==null?void 0:e.adapter:b1(e),n=C1(t,e);return{...t,...n}}function Ah(){const e=it(ca);if(!e)throw new Error("[Vuetify] Could not find injected locale instance");return e}function k1(){return{af:!1,ar:!0,bg:!1,ca:!1,ckb:!1,cs:!1,de:!1,el:!1,en:!1,es:!1,et:!1,fa:!0,fi:!1,fr:!1,hr:!1,hu:!1,he:!0,id:!1,it:!1,ja:!1,km:!1,ko:!1,lv:!1,lt:!1,nl:!1,no:!1,pl:!1,pt:!1,ro:!1,ru:!1,sk:!1,sl:!1,srCyrl:!1,srLatn:!1,sv:!1,th:!1,tr:!1,az:!1,uk:!1,vi:!1,zhHans:!1,zhHant:!1}}function C1(e,t){const n=be((t==null?void 0:t.rtl)??k1()),i=de(()=>n.value[e.current.value]??!1);return{isRtl:i,rtl:n,rtlClasses:de(()=>`v-locale--is-${i.value?"rtl":"ltr"}`)}}function Eh(){const e=it(ca);if(!e)throw new Error("[Vuetify] Could not find injected rtl instance");return{isRtl:e.isRtl,rtlClasses:e.rtlClasses}}function x1(){const e=an("useRoute");return de(()=>{var t;return(t=e==null?void 0:e.proxy)==null?void 0:t.$route})}function S1(){var e,t;return(t=(e=an("useRouter"))==null?void 0:e.proxy)==null?void 0:t.$router}function A1(e,t){var c,u;const n=Mi("RouterLink"),i=de(()=>!!(e.href||e.to)),r=de(()=>(i==null?void 0:i.value)||rc(t,"click")||rc(e,"click"));if(typeof n=="string"||!("useLink"in n))return{isLink:i,isClickable:r,href:Ft(e,"href")};const a=de(()=>({...e,to:Ft(()=>e.to||"")})),s=n.useLink(a.value),o=de(()=>e.to?s:void 0),l=x1();return{isLink:i,isClickable:r,route:(c=o.value)==null?void 0:c.route,navigate:(u=o.value)==null?void 0:u.navigate,isActive:de(()=>{var d,m,v;return o.value?e.exact?l.value?((v=o.value.isExactActive)==null?void 0:v.value)&&Do(o.value.route.value.query,l.value.query):((m=o.value.isExactActive)==null?void 0:m.value)??!1:((d=o.value.isActive)==null?void 0:d.value)??!1:!1}),href:de(()=>{var d;return e.to?(d=o.value)==null?void 0:d.route.value.href:e.href})}}const E1=rt({href:String,replace:Boolean,to:[String,Object],exact:Boolean},"router");let ns=!1;function P1(e,t){let n=!1,i,r;Tt&&(Dt(()=>{window.addEventListener("popstate",a),i=e==null?void 0:e.beforeEach((s,o,l)=>{ns?n?t(l):l():setTimeout(()=>n?t(l):l()),ns=!0}),r=e==null?void 0:e.afterEach(()=>{ns=!1})}),yn(()=>{window.removeEventListener("popstate",a),i==null||i(),r==null||r()}));function a(s){var o;(o=s.state)!=null&&o.replaced||(n=!0,setTimeout(()=>n=!1))}}function Ph(){const t=an("useScopeId").vnode.scopeId;return{scopeId:t?{[t]:""}:void 0}}const Lc=Symbol.for("vuetify:stack"),Xi=Qt([]);function T1(e,t,n){const i=an("useStack"),r=!n,a=it(Lc,void 0),s=Qt({activeChildren:new Set});Ht(Lc,s);const o=Et(+t.value);Ma(e,()=>{var d;const u=(d=Xi.at(-1))==null?void 0:d[1];o.value=u?u+10:+t.value,r&&Xi.push([i.uid,o.value]),a==null||a.activeChildren.add(i.uid),yn(()=>{if(r){const m=xn(Xi).findIndex(v=>v[0]===i.uid);Xi.splice(m,1)}a==null||a.activeChildren.delete(i.uid)})});const l=Et(!0);r&&dn(()=>{var d;const u=((d=Xi.at(-1))==null?void 0:d[0])===i.uid;setTimeout(()=>l.value=u)});const c=de(()=>!s.activeChildren.size);return{globalTop:fo(l),localTop:c,stackStyles:de(()=>({zIndex:o.value}))}}function M1(e){return{teleportTarget:de(()=>{const n=e();if(n===!0||!Tt)return;const i=n===!1?document.body:typeof n=="string"?document.querySelector(n):n;if(i==null)return;let r=i.querySelector(":scope > .v-overlay-container");return r||(r=document.createElement("div"),r.className="v-overlay-container",i.appendChild(r)),r})}}const ua=Symbol.for("vuetify:theme"),zi=rt({theme:String},"theme");function $c(){return{defaultTheme:"light",variations:{colors:[],lighten:0,darken:0},themes:{light:{dark:!1,colors:{background:"#FFFFFF",surface:"#FFFFFF","surface-bright":"#FFFFFF","surface-light":"#EEEEEE","surface-variant":"#424242","on-surface-variant":"#EEEEEE",primary:"#1867C0","primary-darken-1":"#1F5592",secondary:"#48A9A6","secondary-darken-1":"#018786",error:"#B00020",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#000000","border-opacity":.12,"high-emphasis-opacity":.87,"medium-emphasis-opacity":.6,"disabled-opacity":.38,"idle-opacity":.04,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.12,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#F5F5F5","theme-on-code":"#000000"}},dark:{dark:!0,colors:{background:"#121212",surface:"#212121","surface-bright":"#ccbfd6","surface-light":"#424242","surface-variant":"#a3a3a3","on-surface-variant":"#424242",primary:"#2196F3","primary-darken-1":"#277CC1",secondary:"#54B6B2","secondary-darken-1":"#48A9A6",error:"#CF6679",info:"#2196F3",success:"#4CAF50",warning:"#FB8C00"},variables:{"border-color":"#FFFFFF","border-opacity":.12,"high-emphasis-opacity":1,"medium-emphasis-opacity":.7,"disabled-opacity":.5,"idle-opacity":.1,"hover-opacity":.04,"focus-opacity":.12,"selected-opacity":.08,"activated-opacity":.12,"pressed-opacity":.16,"dragged-opacity":.08,"theme-kbd":"#212529","theme-on-kbd":"#FFFFFF","theme-code":"#343434","theme-on-code":"#CCCCCC"}}}}}function L1(){var i,r;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$c();const t=$c();if(!e)return{...t,isDisabled:!0};const n={};for(const[a,s]of Object.entries(e.themes??{})){const o=s.dark||a==="dark"?(i=t.themes)==null?void 0:i.dark:(r=t.themes)==null?void 0:r.light;n[a]=un(o,s)}return un(t,{...e,themes:n})}function $1(e){const t=L1(e),n=be(t.defaultTheme),i=be(t.themes),r=de(()=>{const u={};for(const[d,m]of Object.entries(i.value)){const v=u[d]={...m,colors:{...m.colors}};if(t.variations)for(const h of t.variations.colors){const f=v.colors[h];if(f)for(const w of["lighten","darken"]){const _=w==="lighten"?fb:pb;for(const y of Pa(t.variations[w],1))v.colors[`${h}-${w}-${y}`]=ub(_(Mn(f),y))}}for(const h of Object.keys(v.colors)){if(/^on-[a-z]/.test(h)||v.colors[`on-${h}`])continue;const f=`on-${h}`,w=Mn(v.colors[h]);v.colors[f]=eh(w)}}return u}),a=de(()=>r.value[n.value]),s=de(()=>{var h;const u=[];(h=a.value)!=null&&h.dark&&ni(u,":root",["color-scheme: dark"]),ni(u,":root",Oc(a.value));for(const[f,w]of Object.entries(r.value))ni(u,`.v-theme--${f}`,[`color-scheme: ${w.dark?"dark":"normal"}`,...Oc(w)]);const d=[],m=[],v=new Set(Object.values(r.value).flatMap(f=>Object.keys(f.colors)));for(const f of v)/^on-[a-z]/.test(f)?ni(m,`.${f}`,[`color: rgb(var(--v-theme-${f})) !important`]):(ni(d,`.bg-${f}`,[`--v-theme-overlay-multiplier: var(--v-theme-${f}-overlay-multiplier)`,`background-color: rgb(var(--v-theme-${f})) !important`,`color: rgb(var(--v-theme-on-${f})) !important`]),ni(m,`.text-${f}`,[`color: rgb(var(--v-theme-${f})) !important`]),ni(m,`.border-${f}`,[`--v-border-color: var(--v-theme-${f})`]));return u.push(...d,...m),u.map((f,w)=>w===0?f:`    ${f}`).join("")});function o(){return{style:[{children:s.value,id:"vuetify-theme-stylesheet",nonce:t.cspNonce||!1}]}}function l(u){if(t.isDisabled)return;const d=u._context.provides.usehead;if(d)if(d.push){const m=d.push(o);Tt&&Qe(s,()=>{m.patch(o)})}else Tt?(d.addHeadObjs(de(o)),dn(()=>d.updateDOM())):d.addHeadObjs(o());else{let v=function(){if(typeof document<"u"&&!m){const h=document.createElement("style");h.type="text/css",h.id="vuetify-theme-stylesheet",t.cspNonce&&h.setAttribute("nonce",t.cspNonce),m=h,document.head.appendChild(m)}m&&(m.innerHTML=s.value)},m=Tt?document.getElementById("vuetify-theme-stylesheet"):null;Tt?Qe(s,v,{immediate:!0}):v()}}const c=de(()=>t.isDisabled?void 0:`v-theme--${n.value}`);return{install:l,isDisabled:t.isDisabled,name:n,themes:i,current:a,computedThemes:r,themeClasses:c,styles:s,global:{name:n,current:a}}}function Vi(e){an("provideTheme");const t=it(ua,null);if(!t)throw new Error("Could not find Vuetify theme injection");const n=de(()=>e.theme??t.name.value),i=de(()=>t.themes.value[n.value]),r=de(()=>t.isDisabled?void 0:`v-theme--${n.value}`),a={...t,name:n,current:i,themeClasses:r};return Ht(ua,a),a}function ni(e,t,n){e.push(`${t} {
`,...n.map(i=>`  ${i};
`),`}
`)}function Oc(e){const t=e.dark?2:1,n=e.dark?1:2,i=[];for(const[r,a]of Object.entries(e.colors)){const s=Mn(a);i.push(`--v-theme-${r}: ${s.r},${s.g},${s.b}`),r.startsWith("on-")||i.push(`--v-theme-${r}-overlay-multiplier: ${mb(a)>.18?t:n}`)}for(const[r,a]of Object.entries(e.variables)){const s=typeof a=="string"&&a.startsWith("#")?Mn(a):void 0,o=s?`${s.r}, ${s.g}, ${s.b}`:void 0;i.push(`--v-${r}: ${o??a}`)}return i}const O1=rt({transition:{type:[Boolean,String,Object],default:"fade-transition",validator:e=>e!==!0}},"transition"),Vo=(e,t)=>{let{slots:n}=t;const{transition:i,disabled:r,group:a,...s}=e,{component:o=a?po:vn,...l}=typeof i=="object"?i:{};return At(o,Ke(typeof i=="string"?{name:r?"":i}:l,typeof i=="string"?{}:Object.fromEntries(Object.entries({disabled:r,group:a}).filter(c=>{let[u,d]=c;return d!==void 0})),s),n)};function D1(e){const{modelValue:t,color:n,...i}=e;return ve(vn,{name:"fade-transition",appear:!0},{default:()=>[e.modelValue&&ve("div",Ke({class:["v-overlay__scrim",e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},i),null)]})}const Th=rt({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...c1(),...mi(),...Ho(),...g1(),...Xb(),...t1(),...zi(),...O1()},"VOverlay"),Dc=It()({name:"VOverlay",directives:{ClickOutside:No},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,...Th()},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,t){let{slots:n,attrs:i,emit:r}=t;const a=_n(e,"modelValue"),s=de({get:()=>a.value,set:M=>{M&&e.disabled||(a.value=M)}}),{themeClasses:o}=Vi(e),{rtlClasses:l,isRtl:c}=Eh(),{hasContent:u,onAfterLeave:d}=v1(e,s),m=La(de(()=>typeof e.scrim=="string"?e.scrim:null)),{globalTop:v,localTop:h,stackStyles:f}=T1(s,Ft(e,"zIndex"),e._disableGlobalStack),{activatorEl:w,activatorRef:_,target:y,targetEl:x,targetRef:A,activatorEvents:E,contentEvents:$,scrimEvents:B}=u1(e,{isActive:s,isTop:h}),{teleportTarget:Q}=M1(()=>{var q;const M=e.attach||e.contained;if(M)return M;const H=(q=w==null?void 0:w.value)==null?void 0:q.getRootNode();return H instanceof ShadowRoot?H:!1}),{dimensionStyles:I}=zo(e),F=m1(),{scopeId:k}=Ph();Qe(()=>e.disabled,M=>{M&&(s.value=!1)});const P=be(),C=be(),p=be(),{contentStyles:g,updateLocation:D}=Qb(e,{isRtl:c,contentEl:p,target:y,isActive:s});n1(e,{root:P,contentEl:p,targetEl:x,isActive:s,updateLocation:D});function R(M){r("click:outside",M),e.persistent?ee():s.value=!1}function Z(M){return s.value&&v.value&&(!e.scrim||M.target===C.value)}Tt&&Qe(s,M=>{M?window.addEventListener("keydown",G):window.removeEventListener("keydown",G)},{immediate:!0}),yt(()=>{Tt&&window.removeEventListener("keydown",G)});function G(M){var H,q;M.key==="Escape"&&v.value&&(e.persistent?ee():(s.value=!1,(H=p.value)!=null&&H.contains(document.activeElement)&&((q=w.value)==null||q.focus())))}const V=S1();Ma(()=>e.closeOnBack,()=>{P1(V,M=>{v.value&&s.value?(M(!1),e.persistent?ee():s.value=!1):M()})});const X=be();Qe(()=>s.value&&(e.absolute||e.contained)&&Q.value==null,M=>{if(M){const H=wb(P.value);H&&H!==document.scrollingElement&&(X.value=H.scrollTop)}});function ee(){e.noClickAnimation||p.value&&G0(p.value,[{transformOrigin:"center"},{transform:"scale(1.03)"},{transformOrigin:"center"}],{duration:150,easing:_b})}function S(){r("afterEnter")}function O(){d(),r("afterLeave")}return sn(()=>{var M;return ve(Be,null,[(M=n.activator)==null?void 0:M.call(n,{isActive:s.value,targetRef:A,props:Ke({ref:_},E.value,e.activatorProps)}),F.value&&u.value&&ve(Cp,{disabled:!Q.value,to:Q.value},{default:()=>[ve("div",Ke({class:["v-overlay",{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":s.value,"v-overlay--contained":e.contained},o.value,l.value,e.class],style:[f.value,{"--v-overlay-opacity":e.opacity,top:wt(X.value)},e.style],ref:P},k,i),[ve(D1,Ke({color:m,modelValue:s.value&&!!e.scrim,ref:C},B.value),null),ve(Vo,{appear:!0,persisted:!0,transition:e.transition,target:y.value,onAfterEnter:S,onAfterLeave:O},{default:()=>{var H;return[Rt(ve("div",Ke({ref:p,class:["v-overlay__content",e.contentClass],style:[I.value,g.value]},$.value,e.contentProps),[(H=n.default)==null?void 0:H.call(n,{isActive:s})]),[[pn,s.value],[xp("click-outside"),{handler:R,closeConditional:Z,include:()=>[w.value]}]])]}})])]})])}),{activatorEl:w,scrimEl:C,target:y,animateClick:ee,contentEl:p,globalTop:v,localTop:h,updateLocation:D}}}),is=Symbol("Forwarded refs");function rs(e,t){let n=e;for(;n;){const i=Reflect.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}function I1(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return e[is]=n,new Proxy(e,{get(r,a){if(Reflect.has(r,a))return Reflect.get(r,a);if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const s of n)if(s.value&&Reflect.has(s.value,a)){const o=Reflect.get(s.value,a);return typeof o=="function"?o.bind(s.value):o}}},has(r,a){if(Reflect.has(r,a))return!0;if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const s of n)if(s.value&&Reflect.has(s.value,a))return!0;return!1},set(r,a,s){if(Reflect.has(r,a))return Reflect.set(r,a,s);if(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))return!1;for(const o of n)if(o.value&&Reflect.has(o.value,a))return Reflect.set(o.value,a,s);return!1},getOwnPropertyDescriptor(r,a){var o;const s=Reflect.getOwnPropertyDescriptor(r,a);if(s)return s;if(!(typeof a=="symbol"||a.startsWith("$")||a.startsWith("__"))){for(const l of n){if(!l.value)continue;const c=rs(l.value,a)??("_"in l.value?rs((o=l.value._)==null?void 0:o.setupState,a):void 0);if(c)return c}for(const l of n){const c=l.value&&l.value[is];if(!c)continue;const u=c.slice();for(;u.length;){const d=u.shift(),m=rs(d.value,a);if(m)return m;const v=d.value&&d.value[is];v&&u.push(...v)}}}}})}const R1=rt({id:String,text:String,...cr(Th({closeOnBack:!1,location:"end",locationStrategy:"connected",eager:!0,minWidth:0,offset:10,openOnClick:!1,openOnHover:!0,origin:"auto",scrim:!1,scrollStrategy:"reposition",transition:!1}),["absolute","persistent"])},"VTooltip"),B1=It()({name:"VTooltip",props:R1(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const i=_n(e,"modelValue"),{scopeId:r}=Ph(),a=Ta(),s=de(()=>e.id||`v-tooltip-${a}`),o=be(),l=de(()=>e.location.split(" ").length>1?e.location:e.location+" center"),c=de(()=>e.origin==="auto"||e.origin==="overlap"||e.origin.split(" ").length>1||e.location.split(" ").length>1?e.origin:e.origin+" center"),u=de(()=>e.transition?e.transition:i.value?"scale-transition":"fade-transition"),d=de(()=>Ke({"aria-describedby":s.value},e.activatorProps));return sn(()=>{const m=Dc.filterProps(e);return ve(Dc,Ke({ref:o,class:["v-tooltip",e.class],style:e.style,id:s.value},m,{modelValue:i.value,"onUpdate:modelValue":v=>i.value=v,transition:u.value,absolute:!0,location:l.value,origin:c.value,persistent:!0,role:"tooltip",activatorProps:d.value,_disableGlobalStack:!0},r),{activator:n.activator,default:function(){var w;for(var v=arguments.length,h=new Array(v),f=0;f<v;f++)h[f]=arguments[f];return((w=n.default)==null?void 0:w.call(n,...h))??e.text}})}),I1({},o)}});function F1(e,t){const n=typeof e=="string"?mo(e):e,i=N1(n,t);return{mounted:i,updated:i,unmounted(r){Gu(null,r)}}}function N1(e,t){return function(n,i,r){var d,m,v;const a=typeof t=="function"?t(i):t,s=((d=i.value)==null?void 0:d.text)??i.value??(a==null?void 0:a.text),o=na(i.value)?i.value:{},l=()=>s??n.innerHTML,c=(r.ctx===i.instance.$?(m=j1(r,i.instance.$))==null?void 0:m.provides:(v=r.ctx)==null?void 0:v.provides)??i.instance.$.provides,u=At(e,Ke(a,o),l);u.appContext=Object.assign(Object.create(null),i.instance.$.appContext,{provides:c}),Gu(u,n)}}function j1(e,t){const n=new Set,i=a=>{var s,o;for(const l of a){if(!l)continue;if(l===e)return!0;n.add(l);let c;if(l.suspense?c=i([l.ssContent]):Array.isArray(l.children)?c=i(l.children):(s=l.component)!=null&&s.vnode&&(c=i([(o=l.component)==null?void 0:o.subTree])),c)return c;n.delete(l)}return!1};if(!i([t.subTree]))throw new Error("Could not find original vnode");const r=Array.from(n).reverse();for(const a of r)if(a.component)return a.component;return t}const H1=F1(B1,e=>{var t;return{activator:"parent",location:((t=e.arg)==null?void 0:t.replace("-"," "))??"top",text:typeof e.value=="boolean"?void 0:e.value}}),z1=Object.freeze(Object.defineProperty({__proto__:null,ClickOutside:No,Intersect:Eb,Mutate:Tb,Resize:$b,Ripple:vh,Scroll:Nb,Tooltip:H1,Touch:qb},Symbol.toStringTag,{value:"Module"})),$a={"001":1,AD:1,AE:6,AF:6,AG:0,AI:1,AL:1,AM:1,AN:1,AR:1,AS:0,AT:1,AU:1,AX:1,AZ:1,BA:1,BD:0,BE:1,BG:1,BH:6,BM:1,BN:1,BR:0,BS:0,BT:0,BW:0,BY:1,BZ:0,CA:0,CH:1,CL:1,CM:1,CN:1,CO:0,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DM:0,DO:0,DZ:6,EC:1,EE:1,EG:6,ES:1,ET:0,FI:1,FJ:1,FO:1,FR:1,GB:1,"GB-alt-variant":0,GE:1,GF:1,GP:1,GR:1,GT:0,GU:0,HK:0,HN:0,HR:1,HU:1,ID:0,IE:1,IL:0,IN:0,IQ:6,IR:6,IS:1,IT:1,JM:0,JO:6,JP:0,KE:0,KG:1,KH:0,KR:0,KW:6,KZ:1,LA:0,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MH:0,MK:1,MM:0,MN:1,MO:0,MQ:1,MT:0,MV:5,MX:0,MY:1,MZ:0,NI:0,NL:1,NO:1,NP:0,NZ:1,OM:6,PA:0,PE:0,PH:0,PK:0,PL:1,PR:0,PT:0,PY:0,QA:6,RE:1,RO:1,RS:1,RU:1,SA:0,SD:6,SE:1,SG:0,SI:1,SK:1,SM:1,SV:0,SY:6,TH:0,TJ:1,TM:1,TR:1,TT:0,TW:0,UA:1,UM:0,US:0,UY:1,UZ:1,VA:1,VE:0,VI:0,VN:1,WS:0,XK:1,YE:0,ZA:0,ZW:0};function V1(e,t,n){const i=[];let r=[];const a=Mh(e),s=Lh(e),o=n??$a[t.slice(-2).toUpperCase()]??0,l=(a.getDay()-o+7)%7,c=(s.getDay()-o+7)%7;for(let u=0;u<l;u++){const d=new Date(a);d.setDate(d.getDate()-(l-u)),r.push(d)}for(let u=1;u<=s.getDate();u++){const d=new Date(e.getFullYear(),e.getMonth(),u);r.push(d),r.length===7&&(i.push(r),r=[])}for(let u=1;u<7-c;u++){const d=new Date(s);d.setDate(d.getDate()+u),r.push(d)}return r.length>0&&i.push(r),i}function W1(e,t,n){const i=n??$a[t.slice(-2).toUpperCase()]??0,r=new Date(e);for(;r.getDay()!==i;)r.setDate(r.getDate()-1);return r}function U1(e,t){const n=new Date(e),i=(($a[t.slice(-2).toUpperCase()]??0)+6)%7;for(;n.getDay()!==i;)n.setDate(n.getDate()+1);return n}function Mh(e){return new Date(e.getFullYear(),e.getMonth(),1)}function Lh(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function G1(e){const t=e.split("-").map(Number);return new Date(t[0],t[1]-1,t[2])}const q1=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function $h(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e=="string"){let t;if(q1.test(e))return G1(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}const Ic=new Date(2e3,0,2);function Y1(e,t){const n=t??$a[e.slice(-2).toUpperCase()]??0;return Pa(7).map(i=>{const r=new Date(Ic);return r.setDate(Ic.getDate()+n+i),new Intl.DateTimeFormat(e,{weekday:"narrow"}).format(r)})}function X1(e,t,n,i){const r=$h(e)??new Date,a=i==null?void 0:i[t];if(typeof a=="function")return a(r,t,n);let s={};switch(t){case"fullDate":s={year:"numeric",month:"long",day:"numeric"};break;case"fullDateWithWeekday":s={weekday:"long",year:"numeric",month:"long",day:"numeric"};break;case"normalDate":const o=r.getDate(),l=new Intl.DateTimeFormat(n,{month:"long"}).format(r);return`${o} ${l}`;case"normalDateWithWeekday":s={weekday:"short",day:"numeric",month:"short"};break;case"shortDate":s={month:"short",day:"numeric"};break;case"year":s={year:"numeric"};break;case"month":s={month:"long"};break;case"monthShort":s={month:"short"};break;case"monthAndYear":s={month:"long",year:"numeric"};break;case"monthAndDate":s={month:"long",day:"numeric"};break;case"weekday":s={weekday:"long"};break;case"weekdayShort":s={weekday:"short"};break;case"dayOfMonth":return new Intl.NumberFormat(n).format(r.getDate());case"hours12h":s={hour:"numeric",hour12:!0};break;case"hours24h":s={hour:"numeric",hour12:!1};break;case"minutes":s={minute:"numeric"};break;case"seconds":s={second:"numeric"};break;case"fullTime":s={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime12h":s={hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullTime24h":s={hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"fullDateTime":s={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime12h":s={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"fullDateTime24h":s={year:"numeric",month:"long",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDate":s={year:"numeric",month:"2-digit",day:"2-digit"};break;case"keyboardDateTime":s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;case"keyboardDateTime12h":s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!0};break;case"keyboardDateTime24h":s={year:"numeric",month:"2-digit",day:"2-digit",hour:"numeric",minute:"numeric",second:"numeric",hour12:!1};break;default:s=a??{timeZone:"UTC",timeZoneName:"short"}}return new Intl.DateTimeFormat(n,s).format(r)}function Q1(e,t){const n=e.toJsDate(t),i=n.getFullYear(),r=ic(String(n.getMonth()+1),2,"0"),a=ic(String(n.getDate()),2,"0");return`${i}-${r}-${a}`}function K1(e){const[t,n,i]=e.split("-").map(Number);return new Date(t,n-1,i)}function Z1(e,t){const n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function J1(e,t){const n=new Date(e);return n.setHours(n.getHours()+t),n}function e_(e,t){const n=new Date(e);return n.setDate(n.getDate()+t),n}function t_(e,t){const n=new Date(e);return n.setDate(n.getDate()+t*7),n}function n_(e,t){const n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function i_(e){return e.getFullYear()}function r_(e){return e.getMonth()}function a_(e){return e.getDate()}function s_(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function o_(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function l_(e){return e.getHours()}function c_(e){return e.getMinutes()}function u_(e){return new Date(e.getFullYear(),0,1)}function d_(e){return new Date(e.getFullYear(),11,31)}function h_(e,t){return da(e,t[0])&&m_(e,t[1])}function f_(e){const t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function da(e,t){return e.getTime()>t.getTime()}function p_(e,t){return da(Ys(e),Ys(t))}function m_(e,t){return e.getTime()<t.getTime()}function Rc(e,t){return e.getTime()===t.getTime()}function g_(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function v_(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function y_(e,t){return e.getFullYear()===t.getFullYear()}function b_(e,t,n){const i=new Date(e),r=new Date(t);switch(n){case"years":return i.getFullYear()-r.getFullYear();case"quarters":return Math.floor((i.getMonth()-r.getMonth()+(i.getFullYear()-r.getFullYear())*12)/4);case"months":return i.getMonth()-r.getMonth()+(i.getFullYear()-r.getFullYear())*12;case"weeks":return Math.floor((i.getTime()-r.getTime())/(1e3*60*60*24*7));case"days":return Math.floor((i.getTime()-r.getTime())/(1e3*60*60*24));case"hours":return Math.floor((i.getTime()-r.getTime())/(1e3*60*60));case"minutes":return Math.floor((i.getTime()-r.getTime())/(1e3*60));case"seconds":return Math.floor((i.getTime()-r.getTime())/1e3);default:return i.getTime()-r.getTime()}}function __(e,t){const n=new Date(e);return n.setHours(t),n}function w_(e,t){const n=new Date(e);return n.setMinutes(t),n}function k_(e,t){const n=new Date(e);return n.setMonth(t),n}function C_(e,t){const n=new Date(e);return n.setDate(t),n}function x_(e,t){const n=new Date(e);return n.setFullYear(t),n}function Ys(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function S_(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}class A_{constructor(t){this.locale=t.locale,this.formats=t.formats}date(t){return $h(t)}toJsDate(t){return t}toISO(t){return Q1(this,t)}parseISO(t){return K1(t)}addMinutes(t,n){return Z1(t,n)}addHours(t,n){return J1(t,n)}addDays(t,n){return e_(t,n)}addWeeks(t,n){return t_(t,n)}addMonths(t,n){return n_(t,n)}getWeekArray(t,n){return V1(t,this.locale,n?Number(n):void 0)}startOfWeek(t,n){return W1(t,this.locale,n?Number(n):void 0)}endOfWeek(t){return U1(t,this.locale)}startOfMonth(t){return Mh(t)}endOfMonth(t){return Lh(t)}format(t,n){return X1(t,n,this.locale,this.formats)}isEqual(t,n){return Rc(t,n)}isValid(t){return f_(t)}isWithinRange(t,n){return h_(t,n)}isAfter(t,n){return da(t,n)}isAfterDay(t,n){return p_(t,n)}isBefore(t,n){return!da(t,n)&&!Rc(t,n)}isSameDay(t,n){return g_(t,n)}isSameMonth(t,n){return v_(t,n)}isSameYear(t,n){return y_(t,n)}setMinutes(t,n){return w_(t,n)}setHours(t,n){return __(t,n)}setMonth(t,n){return k_(t,n)}setDate(t,n){return C_(t,n)}setYear(t,n){return x_(t,n)}getDiff(t,n,i){return b_(t,n,i)}getWeekdays(t){return Y1(this.locale,t?Number(t):void 0)}getYear(t){return i_(t)}getMonth(t){return r_(t)}getDate(t){return a_(t)}getNextMonth(t){return s_(t)}getPreviousMonth(t){return o_(t)}getHours(t){return l_(t)}getMinutes(t){return c_(t)}startOfDay(t){return Ys(t)}endOfDay(t){return S_(t)}startOfYear(t){return u_(t)}endOfYear(t){return d_(t)}}const Oh=Symbol.for("vuetify:date-options"),Bc=Symbol.for("vuetify:date-adapter");function E_(e,t){const n=un({adapter:A_,locale:{af:"af-ZA",bg:"bg-BG",ca:"ca-ES",ckb:"",cs:"cs-CZ",de:"de-DE",el:"el-GR",en:"en-US",et:"et-EE",fa:"fa-IR",fi:"fi-FI",hr:"hr-HR",hu:"hu-HU",he:"he-IL",id:"id-ID",it:"it-IT",ja:"ja-JP",ko:"ko-KR",lv:"lv-LV",lt:"lt-LT",nl:"nl-NL",no:"no-NO",pl:"pl-PL",pt:"pt-PT",ro:"ro-RO",ru:"ru-RU",sk:"sk-SK",sl:"sl-SI",srCyrl:"sr-SP",srLatn:"sr-SP",sv:"sv-SE",th:"th-TH",tr:"tr-TR",az:"az-AZ",uk:"uk-UA",vi:"vi-VN",zhHans:"zh-CN",zhHant:"zh-TW"}},e);return{options:n,instance:Dh(n,t)}}function Dh(e,t){const n=Qt(typeof e.adapter=="function"?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return Qe(t.current,i=>{n.locale=e.locale[i]??i??n.locale}),n}function gi(){const e=it(Oh);if(!e)throw new Error("[Vuetify] Could not find injected date options");const t=Ah();return Dh(e,t)}function P_(e,t){const n=e.toJsDate(t);let i=n.getFullYear(),r=new Date(i,0,1);if(n<r)i=i-1,r=new Date(i,0,1);else{const o=new Date(i+1,0,1);n>=o&&(i=i+1,r=o)}const a=Math.abs(n.getTime()-r.getTime()),s=Math.ceil(a/(1e3*60*60*24));return Math.floor(s/7)+1}const T_=Symbol.for("vuetify:goto");function M_(){return{container:void 0,duration:300,layout:!1,offset:0,easing:"easeInOutCubic",patterns:{linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5}}}function L_(e,t){return{rtl:t.isRtl,options:un(M_(),e)}}const $_={collapse:"mdi-chevron-up",complete:"mdi-check",cancel:"mdi-close-circle",close:"mdi-close",delete:"mdi-close-circle",clear:"mdi-close-circle",success:"mdi-check-circle",info:"mdi-information",warning:"mdi-alert-circle",error:"mdi-close-circle",prev:"mdi-chevron-left",next:"mdi-chevron-right",checkboxOn:"mdi-checkbox-marked",checkboxOff:"mdi-checkbox-blank-outline",checkboxIndeterminate:"mdi-minus-box",delimiter:"mdi-circle",sortAsc:"mdi-arrow-up",sortDesc:"mdi-arrow-down",expand:"mdi-chevron-down",menu:"mdi-menu",subgroup:"mdi-menu-down",dropdown:"mdi-menu-down",radioOn:"mdi-radiobox-marked",radioOff:"mdi-radiobox-blank",edit:"mdi-pencil",ratingEmpty:"mdi-star-outline",ratingFull:"mdi-star",ratingHalf:"mdi-star-half-full",loading:"mdi-cached",first:"mdi-page-first",last:"mdi-page-last",unfold:"mdi-unfold-more-horizontal",file:"mdi-paperclip",plus:"mdi-plus",minus:"mdi-minus",calendar:"mdi-calendar",treeviewCollapse:"mdi-menu-down",treeviewExpand:"mdi-menu-right",eyeDropper:"mdi-eyedropper"},O_={component:e=>At(Rh,{...e,class:"mdi"})},ci=[String,Function,Object,Array],Xs=Symbol.for("vuetify:icons"),Oa=rt({icon:{type:ci},tag:{type:String,required:!0}},"icon"),Fc=It()({name:"VComponentIcon",props:Oa(),setup(e,t){let{slots:n}=t;return()=>{const i=e.icon;return ve(e.tag,null,{default:()=>{var r;return[e.icon?ve(i,null,null):(r=n.default)==null?void 0:r.call(n)]}})}}}),Ih=Pr({name:"VSvgIcon",inheritAttrs:!1,props:Oa(),setup(e,t){let{attrs:n}=t;return()=>ve(e.tag,Ke(n,{style:null}),{default:()=>[ve("svg",{class:"v-icon__svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",role:"img","aria-hidden":"true"},[Array.isArray(e.icon)?e.icon.map(i=>Array.isArray(i)?ve("path",{d:i[0],"fill-opacity":i[1]},null):ve("path",{d:i},null)):ve("path",{d:e.icon},null)])]})}});Oa();const Rh=Pr({name:"VClassIcon",props:Oa(),setup(e){return()=>ve(e.tag,{class:e.icon},null)}});function D_(){return{svg:{component:Ih},class:{component:Rh}}}function I_(e){const t=D_(),n=(e==null?void 0:e.defaultSet)??"mdi";return n==="mdi"&&!t.mdi&&(t.mdi=O_),un({defaultSet:n,sets:t,aliases:{...$_,vuetify:["M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z",["M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z",.6]],"vuetify-outline":"svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z","vuetify-play":["m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z",["M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z",.6]]}},e)}const R_=e=>{const t=it(Xs);if(!t)throw new Error("Missing Vuetify Icons provide!");return{iconData:de(()=>{var l;const i=we(e);if(!i)return{component:Fc};let r=i;if(typeof r=="string"&&(r=r.trim(),r.startsWith("$")&&(r=(l=t.aliases)==null?void 0:l[r.slice(1)])),Array.isArray(r))return{component:Ih,icon:r};if(typeof r!="string")return{component:Fc,icon:r};const a=Object.keys(t.sets).find(c=>typeof r=="string"&&r.startsWith(`${c}:`)),s=a?r.slice(a.length+1):r;return{component:t.sets[a??t.defaultSet].component,icon:s}})}};function B_(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"content";const n=ra(),i=be();if(Tt){const r=new ResizeObserver(a=>{e==null||e(a,r),a.length&&(t==="content"?i.value=a[0].contentRect:i.value=a[0].target.getBoundingClientRect())});yt(()=>{r.disconnect()}),Qe(()=>n.el,(a,s)=>{s&&(r.unobserve(s),i.value=void 0),a&&r.observe(a)},{flush:"post"})}return{resizeRef:n,contentRect:fo(i)}}function Bh(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{blueprint:t,...n}=e,i=un(t,n),{aliases:r={},components:a={},directives:s={}}=i,o=vb(i.defaults),l=f1(i.display,i.ssr),c=$1(i.theme),u=I_(i.icons),d=w1(i.locale),m=E_(i.date,d),v=L_(i.goTo,d);return{install:f=>{for(const w in s)f.directive(w,s[w]);for(const w in a)f.component(w,a[w]);for(const w in r)f.component(w,Pr({...r[w],name:w,aliasName:r[w].name}));if(c.install(f),f.provide(Oi,o),f.provide(qs,l),f.provide(ua,c),f.provide(Xs,u),f.provide(ca,d),f.provide(Oh,m.options),f.provide(Bc,m.instance),f.provide(T_,v),Tt&&i.ssr)if(f.$nuxt)f.$nuxt.hook("app:suspense:resolve",()=>{l.update()});else{const{mount:w}=f;f.mount=function(){const _=w(...arguments);return Dt(()=>l.update()),f.mount=w,_}}Ta.reset(),f.mixin({computed:{$vuetify(){return Qt({defaults:ki.call(this,Oi),display:ki.call(this,qs),theme:ki.call(this,ua),icons:ki.call(this,Xs),locale:ki.call(this,ca),date:ki.call(this,Bc)})}}})},defaults:o,display:l,theme:c,icons:u,locale:d,date:m,goTo:v}}const F_="3.6.13";Bh.version=F_;function ki(e){var i,r;const t=this.$,n=((i=t.parent)==null?void 0:i.provides)??((r=t.vnode.appContext)==null?void 0:r.provides);if(n&&e in n)return n[e]}const N_=Kt(e=>{const t=Bh({directives:{...z1}});e.vueApp.use(t)}),j_=[yv,r0,a0,s0,o0,l0,c0,p0,x0,S0,A0,E0,$0,O0,N_],H_=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>{var i;return((i=e.params[n.slice(1)])==null?void 0:i.toString())||""}),Qs=(e,t)=>{const n=e.route.matched.find(r=>{var a;return((a=r.components)==null?void 0:a.default)===e.Component.type}),i=t??(n==null?void 0:n.meta.key)??(n&&H_(e.route,n));return typeof i=="function"?i(e.route):i},z_=(e,t)=>({default:()=>e?At(Sp,e===!0?{}:e,t):t}),V_=De({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,i={};for(const r in e.route)Object.defineProperty(i,r,{get:()=>t===e.renderKey?e.route[r]:n[r]});return Ht(kr,ya(i)),()=>At(e.vnode,{ref:e.vnodeRef})}}),Fh=(e,t,n)=>(t=t===!0?{}:t,{default:()=>{var i;return t?At(e,t,n):(i=n.default)==null?void 0:i.call(n)}}),W_=De({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const i=kt(),r=be(),a=it(kr,null);n({pageRef:r});const s=it(gd,null);let o;return()=>At(Td,{name:e.name,route:e.route,...t},{default:l=>{const c=q_(a,l.route,l.Component),u=a&&a.matched.length===l.route.matched.length;if(!l.Component)return o&&!u?o:void 0;if(o&&s&&!s.isCurrent(l.route))return o;if(c&&a&&(!s||s!=null&&s.isCurrent(a)))return u?o:null;const d=Qs(l,e.pageKey),m=i.deferHydration(),v=!!(e.transition??l.route.meta.pageTransition??As),h=v&&G_([e.transition,l.route.meta.pageTransition,As,{onAfterLeave:()=>{i.callHook("page:transition:finish",l.Component)}}].filter(Boolean));return o=Fh(vn,v&&h,z_(e.keepalive??l.route.meta.keepalive??jg,At(go,{suspensible:!0,onPending:()=>i.callHook("page:start",l.Component),onResolve:()=>{Dt(()=>i.callHook("page:finish",l.Component).finally(m))}},{default:()=>At(V_,{key:d,vnode:l.Component,route:l.route,renderKey:d,trackRootNodes:v,vnodeRef:r})}))).default(),o}})}});function U_(e){return Array.isArray(e)?e:e?[e]:[]}function G_(e){const t=e.map(n=>({...n,onAfterLeave:U_(n.onAfterLeave)}));return ov(...t)}function q_(e,t,n){if(!e)return!1;const i=t.matched.findIndex(r=>{var a;return((a=r.components)==null?void 0:a.default)===(n==null?void 0:n.type)});return!i||i===-1?!1:t.matched.slice(0,i).some((r,a)=>{var s,o,l;return((s=r.components)==null?void 0:s.default)!==((l=(o=e.matched[a])==null?void 0:o.components)==null?void 0:l.default)})||n&&Qs({route:t,Component:n})!==Qs({route:e,Component:n})}const Y_=De({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=kt(),i=it(kr),r=i===ka()?xr():i,a=de(()=>we(e.name)??r.meta.layout??"default"),s=be();return t.expose({layoutRef:s}),()=>{const o=n.deferHydration(),l=a.value&&a.value in si,c=r.meta.layoutTransition??Ng;return Fh(vn,l&&c,{default:()=>At(go,{suspensible:!0,onResolve:()=>{Dt(o)}},{default:()=>At(X_,{layoutProps:Ke(t.attrs,{ref:s}),key:a.value,name:a.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),X_=De({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Ht(gd,{isCurrent:i=>n===(i.meta.layout??"default")}),()=>{var i,r;return!n||typeof n=="string"&&!(n in si)?(r=(i=t.slots).default)==null?void 0:r.call(i):At(si[n],e.layoutProps,t.slots)}}}),ze=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},Q_={};function K_(e,t){const n=W_,i=Y_;return J(),ke(i,null,{default:He(()=>[ve(n)]),_:1})}const Z_=ze(Q_,[["render",K_]]);var J_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Nh={exports:{}},Nc={exports:{}};/*! For license information please see mgnl-service.min.js.LICENSE.txt */var jc;function ew(){return jc||(jc=1,function(e,t){(function(n,i){e.exports=i()})(J_,()=>(()=>{var n={61:(s,o,l)=>{var c=l(698).default;function u(){s.exports=u=function(){return d},s.exports.__esModule=!0,s.exports.default=s.exports;var d={},m=Object.prototype,v=m.hasOwnProperty,h=Object.defineProperty||function(S,O,M){S[O]=M.value},f=typeof Symbol=="function"?Symbol:{},w=f.iterator||"@@iterator",_=f.asyncIterator||"@@asyncIterator",y=f.toStringTag||"@@toStringTag";function x(S,O,M){return Object.defineProperty(S,O,{value:M,enumerable:!0,configurable:!0,writable:!0}),S[O]}try{x({},"")}catch{x=function(S,O,M){return S[O]=M}}function A(S,O,M,H){var q=O&&O.prototype instanceof B?O:B,T=Object.create(q.prototype),L=new V(H||[]);return h(T,"_invoke",{value:D(S,M,L)}),T}function E(S,O,M){try{return{type:"normal",arg:S.call(O,M)}}catch(H){return{type:"throw",arg:H}}}d.wrap=A;var $={};function B(){}function Q(){}function I(){}var F={};x(F,w,function(){return this});var k=Object.getPrototypeOf,P=k&&k(k(X([])));P&&P!==m&&v.call(P,w)&&(F=P);var C=I.prototype=B.prototype=Object.create(F);function p(S){["next","throw","return"].forEach(function(O){x(S,O,function(M){return this._invoke(O,M)})})}function g(S,O){function M(q,T,L,U){var ie=E(S[q],S,T);if(ie.type!=="throw"){var N=ie.arg,K=N.value;return K&&c(K)=="object"&&v.call(K,"__await")?O.resolve(K.__await).then(function(b){M("next",b,L,U)},function(b){M("throw",b,L,U)}):O.resolve(K).then(function(b){N.value=b,L(N)},function(b){return M("throw",b,L,U)})}U(ie.arg)}var H;h(this,"_invoke",{value:function(q,T){function L(){return new O(function(U,ie){M(q,T,U,ie)})}return H=H?H.then(L,L):L()}})}function D(S,O,M){var H="suspendedStart";return function(q,T){if(H==="executing")throw new Error("Generator is already running");if(H==="completed"){if(q==="throw")throw T;return{value:void 0,done:!0}}for(M.method=q,M.arg=T;;){var L=M.delegate;if(L){var U=R(L,M);if(U){if(U===$)continue;return U}}if(M.method==="next")M.sent=M._sent=M.arg;else if(M.method==="throw"){if(H==="suspendedStart")throw H="completed",M.arg;M.dispatchException(M.arg)}else M.method==="return"&&M.abrupt("return",M.arg);H="executing";var ie=E(S,O,M);if(ie.type==="normal"){if(H=M.done?"completed":"suspendedYield",ie.arg===$)continue;return{value:ie.arg,done:M.done}}ie.type==="throw"&&(H="completed",M.method="throw",M.arg=ie.arg)}}}function R(S,O){var M=O.method,H=S.iterator[M];if(H===void 0)return O.delegate=null,M==="throw"&&S.iterator.return&&(O.method="return",O.arg=void 0,R(S,O),O.method==="throw")||M!=="return"&&(O.method="throw",O.arg=new TypeError("The iterator does not provide a '"+M+"' method")),$;var q=E(H,S.iterator,O.arg);if(q.type==="throw")return O.method="throw",O.arg=q.arg,O.delegate=null,$;var T=q.arg;return T?T.done?(O[S.resultName]=T.value,O.next=S.nextLoc,O.method!=="return"&&(O.method="next",O.arg=void 0),O.delegate=null,$):T:(O.method="throw",O.arg=new TypeError("iterator result is not an object"),O.delegate=null,$)}function Z(S){var O={tryLoc:S[0]};1 in S&&(O.catchLoc=S[1]),2 in S&&(O.finallyLoc=S[2],O.afterLoc=S[3]),this.tryEntries.push(O)}function G(S){var O=S.completion||{};O.type="normal",delete O.arg,S.completion=O}function V(S){this.tryEntries=[{tryLoc:"root"}],S.forEach(Z,this),this.reset(!0)}function X(S){if(S){var O=S[w];if(O)return O.call(S);if(typeof S.next=="function")return S;if(!isNaN(S.length)){var M=-1,H=function q(){for(;++M<S.length;)if(v.call(S,M))return q.value=S[M],q.done=!1,q;return q.value=void 0,q.done=!0,q};return H.next=H}}return{next:ee}}function ee(){return{value:void 0,done:!0}}return Q.prototype=I,h(C,"constructor",{value:I,configurable:!0}),h(I,"constructor",{value:Q,configurable:!0}),Q.displayName=x(I,y,"GeneratorFunction"),d.isGeneratorFunction=function(S){var O=typeof S=="function"&&S.constructor;return!!O&&(O===Q||(O.displayName||O.name)==="GeneratorFunction")},d.mark=function(S){return Object.setPrototypeOf?Object.setPrototypeOf(S,I):(S.__proto__=I,x(S,y,"GeneratorFunction")),S.prototype=Object.create(C),S},d.awrap=function(S){return{__await:S}},p(g.prototype),x(g.prototype,_,function(){return this}),d.AsyncIterator=g,d.async=function(S,O,M,H,q){q===void 0&&(q=Promise);var T=new g(A(S,O,M,H),q);return d.isGeneratorFunction(O)?T:T.next().then(function(L){return L.done?L.value:T.next()})},p(C),x(C,y,"Generator"),x(C,w,function(){return this}),x(C,"toString",function(){return"[object Generator]"}),d.keys=function(S){var O=Object(S),M=[];for(var H in O)M.push(H);return M.reverse(),function q(){for(;M.length;){var T=M.pop();if(T in O)return q.value=T,q.done=!1,q}return q.done=!0,q}},d.values=X,V.prototype={constructor:V,reset:function(S){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(G),!S)for(var O in this)O.charAt(0)==="t"&&v.call(this,O)&&!isNaN(+O.slice(1))&&(this[O]=void 0)},stop:function(){this.done=!0;var S=this.tryEntries[0].completion;if(S.type==="throw")throw S.arg;return this.rval},dispatchException:function(S){if(this.done)throw S;var O=this;function M(ie,N){return T.type="throw",T.arg=S,O.next=ie,N&&(O.method="next",O.arg=void 0),!!N}for(var H=this.tryEntries.length-1;H>=0;--H){var q=this.tryEntries[H],T=q.completion;if(q.tryLoc==="root")return M("end");if(q.tryLoc<=this.prev){var L=v.call(q,"catchLoc"),U=v.call(q,"finallyLoc");if(L&&U){if(this.prev<q.catchLoc)return M(q.catchLoc,!0);if(this.prev<q.finallyLoc)return M(q.finallyLoc)}else if(L){if(this.prev<q.catchLoc)return M(q.catchLoc,!0)}else{if(!U)throw new Error("try statement without catch or finally");if(this.prev<q.finallyLoc)return M(q.finallyLoc)}}}},abrupt:function(S,O){for(var M=this.tryEntries.length-1;M>=0;--M){var H=this.tryEntries[M];if(H.tryLoc<=this.prev&&v.call(H,"finallyLoc")&&this.prev<H.finallyLoc){var q=H;break}}q&&(S==="break"||S==="continue")&&q.tryLoc<=O&&O<=q.finallyLoc&&(q=null);var T=q?q.completion:{};return T.type=S,T.arg=O,q?(this.method="next",this.next=q.finallyLoc,$):this.complete(T)},complete:function(S,O){if(S.type==="throw")throw S.arg;return S.type==="break"||S.type==="continue"?this.next=S.arg:S.type==="return"?(this.rval=this.arg=S.arg,this.method="return",this.next="end"):S.type==="normal"&&O&&(this.next=O),$},finish:function(S){for(var O=this.tryEntries.length-1;O>=0;--O){var M=this.tryEntries[O];if(M.finallyLoc===S)return this.complete(M.completion,M.afterLoc),G(M),$}},catch:function(S){for(var O=this.tryEntries.length-1;O>=0;--O){var M=this.tryEntries[O];if(M.tryLoc===S){var H=M.completion;if(H.type==="throw"){var q=H.arg;G(M)}return q}}throw new Error("illegal catch attempt")},delegateYield:function(S,O,M){return this.delegate={iterator:X(S),resultName:O,nextLoc:M},this.method==="next"&&(this.arg=void 0),$}},d}s.exports=u,s.exports.__esModule=!0,s.exports.default=s.exports},698:s=>{function o(l){return s.exports=o=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},s.exports.__esModule=!0,s.exports.default=s.exports,o(l)}s.exports=o,s.exports.__esModule=!0,s.exports.default=s.exports},687:(s,o,l)=>{var c=l(61)();s.exports=c;try{regeneratorRuntime=c}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=c:Function("r","regeneratorRuntime = r")(c)}}},i={};function r(s){var o=i[s];if(o!==void 0)return o.exports;var l=i[s]={exports:{}};return n[s](l,l.exports,r),l.exports}r.n=s=>{var o=s&&s.__esModule?()=>s.default:()=>s;return r.d(o,{a:o}),o},r.d=(s,o)=>{for(var l in o)r.o(o,l)&&!r.o(s,l)&&Object.defineProperty(s,l,{enumerable:!0,get:o[l]})},r.o=(s,o)=>Object.prototype.hasOwnProperty.call(s,o),r.r=s=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})};var a={};return(()=>{function s(S){return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},s(S)}function o(S,O){(O==null||O>S.length)&&(O=S.length);for(var M=0,H=new Array(O);M<O;M++)H[M]=S[M];return H}function l(S,O){return function(M){if(Array.isArray(M))return M}(S)||function(M,H){var q=M==null?null:typeof Symbol<"u"&&M[Symbol.iterator]||M["@@iterator"];if(q!=null){var T,L,U,ie,N=[],K=!0,b=!1;try{if(U=(q=q.call(M)).next,H===0){if(Object(q)!==q)return;K=!1}else for(;!(K=(T=U.call(q)).done)&&(N.push(T.value),N.length!==H);K=!0);}catch(z){b=!0,L=z}finally{try{if(!K&&q.return!=null&&(ie=q.return(),Object(ie)!==ie))return}finally{if(b)throw L}}return N}}(S,O)||function(M,H){if(M){if(typeof M=="string")return o(M,H);var q=Object.prototype.toString.call(M).slice(8,-1);return q==="Object"&&M.constructor&&(q=M.constructor.name),q==="Map"||q==="Set"?Array.from(M):q==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(q)?o(M,H):void 0}}(S,O)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}r.r(a),r.d(a,{EditorContextHelper:()=>C,LoggerService:()=>g,PageEditorBridge:()=>ee,PersonalizationService:()=>G,TemplateAnnotations:()=>f});var c={content:function(S,O){var M=S?S[O]:null;return M!=null?"website:".concat(M):""},availableComponents:function(S,O,M){return M&&M[O]?Object.keys(M[O]).map(function(H){return M[O][H].id}).join(","):""},showAddButton:function(S,O,M,H){return!M||M.maxComponents==null||!H||H.componentCount==null||H.componentCount<M.maxComponents},activationStatus:function(S){if(!S||!S["mgnl:activationStatus"]||S["mgnl:activationStatus"]==="false")return 0;var O=S["mgnl:lastModified"]?new Date(S["mgnl:lastModified"]):null,M=S["mgnl:lastActivated"]?new Date(S["mgnl:lastActivated"]):null;return O&&M&&O.getTime()>M.getTime()?1:2}},u={content:["@path",""],dialog:["dialog","",h]},d={name:["@name",""],content:u.content,dialog:u.dialog,availableComponents:["availableComponents",[]],type:["type","list",h],label:["title","",h],inherit:["inheritance",!1,h],optional:["optional",!1,h],createdAreaNode:["createAreaNode",!0,h],showAddButton:["maxComponents",!0],showNewComponentArea:[null,!0],description:["description","",h],activationStatus:[null,0]},m={content:u.content,dialog:u.dialog,label:["title","",h],description:["description","",h],activationStatus:[null,0]};function v(S,O,M,H){var q=[];return Object.keys(O).forEach(function(T){var L=l(O[T],3),U=L[0],ie=L[1],N=L[2],K=c[T],b=ie;K?b=K(S,U,M,H):N?b=N(M,U,ie):S!=null&&U!==null&&(b=S[U]||"");var z={key:T,value:b};(typeof z.value!="string"||z.value)&&q.push("".concat(T,'="').concat(z.value,'"'))}),q.join(" ")}function h(S,O,M){var H=S&&s(S)==="object"&&O?S[O]:null;return H=H??M,(H=typeof M=="boolean"?!!H:H)!=null?H:M}const f={getAreaCommentString:function(S,O,M){var H={componentCount:M},q=O&&O.areas?O.areas[S["@name"]]:{};return"cms:area ".concat(v(S,d,q,H))},getComponentCommentString:function(S,O){return"cms:component ".concat(v(S,m,O))},getPageCommentString:function(S,O){return"cms:page ".concat(v(S,u,O))},generateMissingAreas:function(S,O){if(!S||!O)return S;var M=JSON.parse(JSON.stringify(S));return Object.keys(O).forEach(function(H){if(H.includes(S==null?void 0:S["@path"])&&O[H].startsWith("cms:area")){var q=H.split("/").pop();q in S||(M[q]={"@path":"".concat(S==null?void 0:S["@path"],"/").concat(q),"@nodes":[],"@id":"".concat(S==null?void 0:S["@path"],"/").concat(q)})}}),M}};function w(S,O,M,H,q,T,L){try{var U=S[T](L),ie=U.value}catch(N){return void M(N)}U.done?O(ie):Promise.resolve(ie).then(H,q)}function _(S){return function(){var O=this,M=arguments;return new Promise(function(H,q){var T=S.apply(O,M);function L(ie){w(T,H,q,L,U,"next",ie)}function U(ie){w(T,H,q,L,U,"throw",ie)}L(void 0)})}}var y=r(687),x=r.n(y),A=function(){try{return window.parent.location.href!=null}catch{return!1}};function E(){if(typeof window<"u")return A()?window.parent:window}var $={serverUrl:A()&&typeof window<"u"?E().location.href:""},B=function(S){return new Promise(function(O){setTimeout(O,S)})},Q=function(){var S=_(x().mark(function O(M){return x().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(M()){H.next=5;break}return H.next=3,B(200);case 3:H.next=0;break;case 5:return H.abrupt("return",M());case 6:case"end":return H.stop()}},O)}));return function(O){return S.apply(this,arguments)}}(),I=function(){return $.serverUrl.endsWith(":edit")},F=null,k=function(S){F&&clearTimeout(F),F=setTimeout(P,S)},P=function(){var S=E();S.mgnlRefresh&&(document.documentElement.innerHTML.indexOf("cms:page content=")>-1?S.mgnlRefresh():k(200))};const C={inEditor:I,inEditorAsync:function(){var S=_(x().mark(function O(){return x().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,Q(function(){return $.serverUrl.length>0});case 2:if(!M.sent){M.next=4;break}return M.abrupt("return",$.serverUrl.endsWith(":edit"));case 4:return M.abrupt("return",!1);case 5:case"end":return M.stop()}},O)}));return function(){return S.apply(this,arguments)}}(),inEditorPreview:function(){return $.serverUrl.endsWith(":view")},inIframe:function(){return typeof window<"u"&&window!==window.parent},isRenderingAnnotation:function(){return I()||!$.serverUrl},isSameOrigin:A,refresh:k,setServerUrl:function(S){$.serverUrl=S},isPageEditorReady:function(){return E().mgnlFrameReady!==void 0},onFrameReady:function(){var S=E();S.mgnlFrameReady&&S.mgnlFrameReady()},inPreviewAsVisitor:function(){var S=E();return new URLSearchParams(S.location.search).get("mgnlPreviewAsVisitor")==="true"},getMagnoliaContext:function(S,O,M){var H=function(b){try{var z=/^http(s?):\/\//i.test(b)?b:"http://valid-url.com"+(b.startsWith("/")?b:"/"+b);return new URL(z)}catch{return console.warn("requestUrl is not a valid URL"),!1}}(S),q={isMagnolia:!1,isMagnoliaEdit:!1,isMagnoliaPreview:!1,version:void 0,nodePath:void 0,currentLanguage:void 0,searchParams:void 0,search:void 0};if(H){var T=H.pathname,L=new URLSearchParams(H.search),U=L.get("mgnlPreview"),ie=L.get("mgnlPreviewAsVisitor"),N=L.get("mgnlVersion"),K=U??ie;K&&(q.isMagnolia=!0,K==="false"&&(q.isMagnoliaEdit=!0),K==="true"&&(q.isMagnoliaPreview=!0)),q.isMagnolia&&!ie&&L.set("variants","all"),N?(q.version=N,L.set("version",N)):delete q.version,M&&(q.currentLanguage=M[0],M.some(function(b){return!!new RegExp("/"+b+"($|/)").test(T)&&(q.currentLanguage=b,!0)}),L.set("lang",q.currentLanguage)),O&&(q.nodePath=O+T.replace(new RegExp("(.*"+O+"|.html|/$)","g"),""),q.currentLanguage&&(q.nodePath=q.nodePath.replace(new RegExp("/"+q.currentLanguage+"($|/)"),"/")),q.nodePath.slice(-1)==="/"&&(q.nodePath=q.nodePath.slice(0,-1))),q.searchParams=Object.fromEntries(L),q.search="?"+L.toString()}return q}};function p(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"log",O=arguments.length>1?arguments[1]:void 0;if(typeof console<"u"){for(var M=arguments.length,H=new Array(M>2?M-2:0),q=2;q<M;q++)H[q-2]=arguments[q];console[S](O,H)}}const g={log:function(S){for(var O=arguments.length,M=new Array(O>1?O-1:0),H=1;H<O;H++)M[H-1]=arguments[H];p("log",S,M)},info:function(S){for(var O=arguments.length,M=new Array(O>1?O-1:0),H=1;H<O;H++)M[H-1]=arguments[H];p("info",S,M)},warn:function(S){for(var O=arguments.length,M=new Array(O>1?O-1:0),H=1;H<O;H++)M[H-1]=arguments[H];p("warn",S,M)},error:function(S){for(var O=arguments.length,M=new Array(O>1?O-1:0),H=1;H<O;H++)M[H-1]=arguments[H];p("error",S,M)}};function D(S,O,M){return(O=function(H){var q=function(T,L){if(s(T)!=="object"||T===null)return T;var U=T[Symbol.toPrimitive];if(U!==void 0){var ie=U.call(T,"string");if(s(ie)!=="object")return ie;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(T)}(H);return s(q)==="symbol"?q:String(q)}(O))in S?Object.defineProperty(S,O,{value:M,enumerable:!0,configurable:!0,writable:!0}):S[O]=M,S}function R(S,O){var M=Object.keys(S);if(Object.getOwnPropertySymbols){var H=Object.getOwnPropertySymbols(S);O&&(H=H.filter(function(q){return Object.getOwnPropertyDescriptor(S,q).enumerable})),M.push.apply(M,H)}return M}function Z(S){for(var O=1;O<arguments.length;O++){var M=arguments[O]!=null?arguments[O]:{};O%2?R(Object(M),!0).forEach(function(H){D(S,H,M[H])}):Object.getOwnPropertyDescriptors?Object.defineProperties(S,Object.getOwnPropertyDescriptors(M)):R(Object(M)).forEach(function(H){Object.defineProperty(S,H,Object.getOwnPropertyDescriptor(M,H))})}return S}const G={getVariant:function(S,O){return!C.inIframe()||C.inPreviewAsVisitor()?S:function(M,H){if(!M||!H)return M;var q=H[M==null?void 0:M["@path"]],T=q?q.match(/selectedVariant="(.+)"/):null;if(!T)return M;var L=T[1];return L===M["@name"]?M:M[L]}(S,O)},wrap:function(S,O){if(!O)return S;var M={},H=/selectedVariant="(.+?)"/,q=/content="(.+?)"/,T=/((variants|variantTitles)=".+?")/g;return Object.entries(S).forEach(function(L){var U=l(L,2),ie=U[0],N=U[1];if(H.test(N)&&ie in O){var K=O[ie];if(K==="original")K=ie.split("/").pop(),M[ie]=N.replace(H,'selectedVariant="'.concat(K,'"'));else{var b=ie+"/variants/"+K,z=S[b];z!=null?(M[ie]=z.replace(q,N.match(q)[0]),M[ie]=M[ie].concat(" ",N.match(T).join(" ")),M[ie]=M[ie].concat(" ",'selectedVariant="'.concat(K,'"'))):g.warn("Cannot find the variant with path '%s'. Please review the document https://docs.magnolia-cms.com/headless/spa-development/personalization-of-headless-SPA-projects.html#_notes.",b)}}}),Z(Z({},S),M)}};var V=function(S,O,M){if(O&&typeof M=="function"){var H=O.toLowerCase();S[H]=S[H]||[],S[H].push(M)}},X=function(){window.parent.postMessage(JSON.stringify({element:{dialog:"",path:"/",workspace:"website"},action:"initialize",elementType:"page"}),"*")};const ee={init:function(S,O){typeof window>"u"||C.isSameOrigin()||(window.addEventListener("message",function(M){if(M.data&&typeof M.data=="string"&&M.data.startsWith("{")){var H=JSON.parse(M.data),q=function(T,L){return L&&T[L.toLowerCase()]||[]}(S,H.action);q.forEach(function(T){try{T(H)}catch(L){console.error(L)}})}}),V(S,"updateState",function(M){var H=M.serverUrl;C.setServerUrl(H),function(q,T){var L="mgnlPageEditorBridge",U=document.getElementById(L);if(!U&&T){var ie=function(b){var z=new URL(b);return"".concat(z.protocol,"//").concat(z.hostname).concat(z.port?":".concat(z.port):"").concat(z.pathname.substring(0,z.pathname.indexOf(".magnolia")))}(T),N=document.getElementsByTagName("script")[0];(U=document.createElement("script")).id=L,U.src="".concat(ie,"VAADIN/widgetsets/info.magnolia.PageEditor/info.magnolia.PageEditor.nocache.js"),N.parentNode.insertBefore(U,N),U.onload=function(){setTimeout(function b(){C.isPageEditorReady()?(C.onFrameReady(),C.refresh(),typeof q=="function"&&q()):setTimeout(b,100)},50)};var K=document.createElement("link");K.href="".concat(ie,"VAADIN/themes/pages-app/page-editor.css"),K.type="text/css",K.rel="stylesheet",document.head.insertBefore(K,document.head.firstChild)}else typeof q=="function"&&q()}(O,H)}),X())},onMessage:V,requestServerUrl:X}})(),a})())}(Nc)),Nc.exports}Nh.exports=ew();var Bt=Nh.exports;const Ks="mgnl:template",tw=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n},nw={name:"DefaultFallbackComponent",props:{metadata:{type:Object},data:{type:Object}},computed:{templateId(){return this.metadata[Ks]}},methods:{trimIfObject(e){return e==="[object Object]"?"[object]":e},formatValue(e){return this.trimIfObject(""+e)}}},iw=he("p",null,null,-1);function rw(e,t,n,i,r,a){return J(),ue("div",null,[he("div",null,[he("strong",null,[he("em",null,"Template not found: "+Oe(a.templateId),1)])]),(J(!0),ue(Be,null,Ue(n.data,(s,o)=>(J(),ue("div",{key:o},Oe(o)+": "+Oe(a.formatValue(s)),1))),128)),iw])}const jh=tw(nw,[["render",rw]]),Da=(e,t,n)=>{e&&(e.parentNode.insertBefore(document.createComment(t),e),e.parentNode.insertBefore(document.createComment(n),e.nextSibling))};function Hc(e){e&&e.nodeType===8&&e.remove()}const Hh=e=>{e&&(Hc(e.previousSibling),Hc(e.nextSibling))},ha=e=>e["@name"],zh=(e,t,n)=>{if(!e||typeof e!="object")return{};const i={};let r;return n?(i.data={},r=i.data):r=i,i.metadata={"@index":t},i.key=ha(e),Object.keys(e).forEach(a=>{a.match(/^(@|mgnl:|jcr:)/)?i.metadata[a]=e[a]:r[a.replace("-","_")]=e[a]}),i},Vh=(e,t,n,i,r)=>{if(!e){const c="Component content is missing";return Bt.LoggerService.error(c),null}if(!t){const c="Component mappings is missing";return Bt.LoggerService.error(c),null}let a=t[e[Ks]],s=!1;if(!a){const c=`Component with ID ${e[Ks]} is not mapped.`;Bt.LoggerService.error(c);const u=aw(n);if(!u)return null;a=u,s=!0}const o=zh(e,r,s),l=Ap(a)?xn(a):a;return At(l,o,i)};function aw(e){const t=typeof e=="function"?e():e;return t!=null&&typeof t!="boolean"?t:t?jh:null}const Wo=(e,t,n,i,r=0)=>Vh(e,t,n,i,r),sw=Object.freeze(Object.defineProperty({__proto__:null,buildKey:ha,getComponentProperties:zh,getRenderedComponent:Vh,insertComments:Da,mgnlRender:Wo,removeComments:Hh},Symbol.toStringTag,{value:"Module"})),fa=Bt.PersonalizationService;function ow(){return Bt.EditorContextHelper.inEditorAsync()}function lw(){return Bt.EditorContextHelper.inEditorPreview()}function cw(){return Bt.EditorContextHelper.isRenderingAnnotation()}function uw(){return Bt.EditorContextHelper.inIframe()}function dw(){return Bt.EditorContextHelper.isSameOrigin()}function hw(e){Bt.EditorContextHelper.refresh(e)}function fw(e){Bt.EditorContextHelper.setServerUrl(e)}function pw(){return Bt.EditorContextHelper.isPageEditorReady()}function mw(){Bt.EditorContextHelper.onFrameReady()}function gw(){return Bt.EditorContextHelper.inPreviewAsVisitor()}function vw(e,t,n){return Bt.EditorContextHelper.getMagnoliaContext(e,t,n)}const Dn={inIframe:uw,isSameOrigin:dw,refresh:hw,setServerUrl:fw,isPageEditorReady:pw,onFrameReady:mw,inPreviewAsVisitor:gw,inEditorAsync:ow,inEditorPreview:lw,isRenderingAnnotation:cw,getMagnoliaContext:vw},yw={name:"EditablePage",props:{content:{type:Object},config:{type:Object,required:!0},templateAnnotations:{type:Object}},setup(e){let t={};return e.templateAnnotations&&(t=be({value:e.templateAnnotations})),{reactiveTemplateAnnotations:t}},data(){return{selectedComponentVariants:"",listeners:{}}},computed:{renderingContent(){const e=Bt.TemplateAnnotations.generateMissingAreas(this.content,this.reactiveTemplateAnnotations.value);return fa.getVariant(e,this.reactiveTemplateAnnotations.value)}},methods:{writeAnnotation(){if(this.content&&this.reactiveTemplateAnnotations.value&&this.reactiveTemplateAnnotations.value[this.renderingContent["@path"]]){Hh(this.$el);const e=this.reactiveTemplateAnnotations.value[this.renderingContent["@path"]];Da(this.$el,e,"/cms:page"),Dn.onFrameReady(),Dn.refresh()}},updateTemplateAnnotationsProvider(){this.reactiveTemplateAnnotations.value=fa.wrap(this.templateAnnotations,this.selectedComponentVariants)}},provide(){return{config:this.config,templateAnnotations:this.reactiveTemplateAnnotations}},mounted(){Dn.inIframe()&&(Bt.PageEditorBridge.onMessage(this.listeners,"updateState",e=>{this.selectedComponentVariants=e.selectedComponentVariants,this.updateTemplateAnnotationsProvider()}),Bt.PageEditorBridge.init(this.listeners),this.writeAnnotation())},beforeUpdate(){Dn.inIframe()&&(this.updateTemplateAnnotationsProvider(),this.writeAnnotation())},render(){return Wo(this.renderingContent,this.config.componentMappings,this.config.fallbackComponent)}},Wh=yw,bw={name:"EditableComponent",inject:["config","templateAnnotations"],props:["content","index"],computed:{renderingContent(){return Bt.TemplateAnnotations.generateMissingAreas(this.personalizedContent,this.templateAnnotations.value)}},data(){return{personalizedContent:this.content}},methods:{writeAnnotation(){if(this.content&&this.templateAnnotations.value&&this.templateAnnotations.value[this.renderingContent["@path"]]){const e=this.templateAnnotations.value[this.renderingContent["@path"]];Da(this.$el,e,"/cms:component"),Dn.refresh()}}},async mounted(){Dn.inEditorAsync().then(e=>{e&&this.writeAnnotation(),this.personalizedContent=fa.getVariant(this.content,this.templateAnnotations.value)})},render(){return Wo(this.renderingContent,this.config.componentMappings,this.config.fallbackComponent,{},this.index)}},fr=bw,_w={name:"EditableArea",components:{EditableComponent:fr},inject:["config","templateAnnotations"],props:{content:{type:Object},parentTemplateId:{type:String,required:!1},elementType:{type:String,default:"div"},customView:{type:Object}},methods:{writeAnnotation(){if(this.content&&this.templateAnnotations.value&&this.templateAnnotations.value[this.content["@path"]]){const e=this.templateAnnotations.value[this.content["@path"]];Da(this.$el,e,"/cms:area"),Dn.refresh()}}},async mounted(){await Dn.inEditorAsync()&&this.writeAnnotation()},render(){if(!this.content)return null;const e=this.content["@nodes"].map(n=>this.content[n]);let t=[];return this.$slots.default?At(this.elementType,null,this.$slots.default({content:this.content})):(t=e.map((n,i)=>At(fr,{content:n,key:ha(n),index:i},null)),At(this.elementType,null,this.customView?At(this.customView,{content:this.content,key:ha(this.content)}):t))}},jt=_w,zc=Object.freeze(Object.defineProperty({__proto__:null,DefaultFallbackComponent:jh,EditableArea:jt,EditableComponent:fr,EditablePage:Wh,EditorContextHelper:Dn,PersonalizationService:fa,helper:sw},Symbol.toStringTag,{value:"Module"})),ww={install(e){(Object.keys(zc)||[]).forEach(t=>{if(t!=="helper"&&t!=="EditableMixin"){const n=zc[t];e.component(n.name,n)}})}};typeof window<"u"&&window.Vue&&window.Vue.use(ww);function Zs(e,t,n){var i,r,a,s,o;t==null&&(t=100);function l(){var u=Date.now()-s;u<t&&u>=0?i=setTimeout(l,t-u):(i=null,n||(o=e.apply(a,r),a=r=null))}var c=function(){a=this,r=arguments,s=Date.now();var u=n&&!i;return i||(i=setTimeout(l,t)),u&&(o=e.apply(a,r),a=r=null),o};return c.clear=function(){i&&(clearTimeout(i),i=null)},c.flush=function(){i&&(o=e.apply(a,r),a=r=null,clearTimeout(i),i=null)},c}Zs.debounce=Zs;var Mt=Zs;const kw=e=>(yr("data-v-c816f591"),e=e(),br(),e),Cw={class:"c-page"},xw=qu('<header class="c-header" data-v-c816f591><div class="c-header__inner" data-v-c816f591><div class="c-header__content" data-v-c816f591><svg class="c-header__logo-svg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 360 60" data-v-c816f591><path d="M308.62,42.76C310.63,58.25,325,60,335.09,60,347.17,60,360,55.79,360,42.29c0-11.85-11.29-13.5-22.1-15-8-1.14-15.57-1-15.57-6.1,0-4.66,4.87-6.52,10.89-6.52,4.68,0,11.53,1.93,12.87,7.62h13.46c-1.1-12.61-14.79-16.83-26.13-16.83-10.42,0-23.77,4.34-23.77,16.92,0,9.77,7.88,13.39,17.64,14.75,12.89,1.8,20,1,20,7.09,0,4.58-6.2,6.34-12.32,6.34-5.83,0-13.1-2.89-13.1-7.77Z" data-v-c816f591></path><path d="M119,57.15h12.47V32.64c0-7.29.56-12.85,9.62-12.85h6V7.84h-1.87c-4.38,0-12,4.07-14.66,11.44V7.81H119Z" data-v-c816f591></path><path d="M269,7.73c-4.81,0-4.29,0-12.22,0V37.94c0,10.51,7.39,20.79,20.94,20.79a20.77,20.77,0,0,0,17.12-9.36c0,2.56,0,5.2,0,7.77l12.22,0,0-49.36H294.91l0,28c0,6.69-4.87,13.49-13.86,13.49-7.34,0-12-4.23-12-13.39V7.73" data-v-c816f591></path><polygon points="-0.04 57.1 12.74 57.1 12.74 34.71 44.27 34.71 44.27 57.1 57.05 57.1 57.05 0 44.27 0 44.27 24.61 12.74 24.61 12.74 0 -0.04 0 -0.04 57.1" data-v-c816f591></polygon><path d="M211,25.75C211,24.07,214.8,14,226,14S241,22.21,241,25.75Zm43.45,9c0-.65,0-1.25,0-2.08C254.5,15.9,241.73,5.44,226,5.44c-15.83,0-28.67,11-28.67,27.77,0,16,11.58,26.79,28.91,26.79,16.92,0,26.26-13,26.63-17.34H239.58c-1.42,4.25-6,8.47-13.06,8.47-10.94,0-16.11-8.67-16.11-16.33Z" data-v-c816f591></path><path d="M73.21,25.75C73.21,24.07,77,14,88.23,14s14.94,8.18,14.94,11.73Zm43.59,9c0-.65,0-1.25,0-2.08,0-16.82-12.9-27.28-28.58-27.28s-28.66,11-28.66,27.77c0,16,11.59,26.79,28.91,26.79,16.92,0,26.25-13,26.63-17.34H101.77c-1.42,4.25-6,8.47-13.05,8.47-10.95,0-16.11-8.67-16.11-16.33Z" data-v-c816f591></path><path d="M159.56,19.74c.49-5.42,6.45-7,11.56-7,5.87,0,11.54,1.11,11.54,7.25,0,2.79-.29,6-11.14,6H158.29c-7.57,0-16.92,4.54-16.92,15.71,0,8.08,5.06,17,18.77,17,13.08,0,18.75-4,22.67-8.72.09,1.64,0,5.45,0,7.28h12l0-11.7V24.74c0-9.32-4.14-19.18-24.23-19.18-18.24,0-21.71,8-22.16,14.18ZM182.76,40c0,4.7-6.67,10.24-17.51,10.24-6.66,0-11.08-3-11.08-9.07,0-3.13,1.93-7.34,9.69-7.34,1.41,0,4.62-.06,6.82-.06,7.42,0,10.81-1.72,12.09-4.38Z" data-v-c816f591></path></svg></div></div></header>',1),Sw={class:"c-page__content"},Aw={class:"c-section"},Ew={class:"c-section__inner"},Pw={class:"text-grid"},Tw={class:"text-box"},Mw={class:"typo-h1"},Lw=kw(()=>he("p",{class:"typo-default"},"Sorry, something went wrong. We are currently trying to fix the problem.",-1)),$w=De({__name:"CeError",props:{error:{type:Object,default:()=>({statusCode:500,statusMessage:"Internal server error"})}},setup(e){const t=e,n=de(()=>{var i;return((i=t==null?void 0:t.error)==null?void 0:i.statusCode)>=500?"Internal server error":"Page not found"});return tn("error","LOGGER: CeError.vue => Error Object: ",t==null?void 0:t.error),(i,r)=>{var a;return J(),ue("div",Cw,[xw,he("div",Sw,[he("div",Aw,[he("div",Ew,[he("div",Pw,[he("div",Tw,[he("h1",Mw,Oe((a=e.error)==null?void 0:a.statusCode)+" - "+Oe(n.value),1),Lw])])])])])])}}});const Ow=ze($w,[["__scopeId","data-v-c816f591"]]),as=function(){document.documentElement.style.setProperty("--vh100",`${window.innerHeight}px`)};var $n=(e=>(e.LEFT="left",e.RIGHT="right",e.MIDDLE="middle",e))($n||{});const Dw={headline:String},Iw={id:String,label:String,href:String},Rw=["id","href","title","innerHTML"],Bw=De({__name:"CeNavTab",props:Iw,setup(e){return(t,n)=>(J(),ue("a",{id:t.id,class:"c-nav-tab",href:t.href,title:t.label,innerHTML:t.label},null,8,Rw))}});const Uh=ze(Bw,[["__scopeId","data-v-864654a0"]]),Fw={qa:String,backgroundStyle:String},Nw=["data-qa"],jw={class:"c-section__inner"},Hw=De({__name:"CeSection",props:Fw,setup(e){const t=e,n=de(()=>t.backgroundStyle?` is-bg-${t.backgroundStyle}`:void 0);return(i,r)=>(J(),ue("section",{class:Ne([n.value,"c-section"]),"data-qa":i.qa},[he("div",jw,[nt(i.$slots,"default",{},void 0,!0)])],10,Nw))}});const ut=ze(Hw,[["__scopeId","data-v-3c6fe452"]]),zw=["innerHTML"],Vw=De({__name:"E09AnchorNavigation",props:Dw,setup(e){const t=Ze(),n=Bi(),i=w=>{var _,y,x,A;if(w.target instanceof HTMLElement){const E=(x=(y=(_=w.target.closest("a"))==null?void 0:_.getAttribute("href"))==null?void 0:y.split("#"))==null?void 0:x[1],$=E&&((A=document.getElementById(E))==null?void 0:A.closest(".c-section")),B=document.querySelector("div.c-header__inner"),Q=document.querySelector("a.c-nav-tab"),I=(B==null?void 0:B.offsetHeight)??86,F=(Q==null?void 0:Q.offsetHeight)??62,k=48;n==null||n.replace({hash:"#"+E}),setTimeout(()=>{$ instanceof HTMLElement&&window.scrollTo({top:$.offsetTop-I-F-k,behavior:"smooth"})})}},r=be(""),a=(w,_)=>{const y=window.getComputedStyle(w,null);return parseInt(y.getPropertyValue(_))},s=()=>{const w=document.querySelector("div.c-header__content");if(w){const _=a(w,"padding-left"),y=a(w,"padding-right"),x=a(w,"margin-left"),A=a(w,"margin-right");r.value=`padding-right: ${y+A}px; padding-left: ${_+x}px;`}},o=be(""),l=be($n.LEFT),c=()=>{if(!h()){o.value="";return}l.value===$n.LEFT?o.value="c-anchor-navigation__wrapper--gradient-after":l.value===$n.RIGHT?o.value="c-anchor-navigation__wrapper--gradient-before":l.value===$n.MIDDLE&&(o.value="c-anchor-navigation__wrapper--gradient-before c-anchor-navigation__wrapper--gradient-after")},u=de(()=>{var w;return(w=t.page)!=null&&w.introBgColor?`is-bg-${t.page.introBgColor}`:""}),d=w=>{l.value=w,c()},m=be(0),v=()=>{var w;m.value=((w=document.querySelector("div.swiper"))==null?void 0:w.scrollWidth)??0,c()},h=()=>(window.innerWidth??0)<m.value,f=[];return ot(()=>{d($n.LEFT);const w=document.querySelectorAll("[data-anchor-nav-headline]");for(let _=0,y=w.length;_<y;_++){const x=w==null?void 0:w[_];if(x){const A={id:x.id,label:x.dataset.anchorNavHeadline};f.push(A)}}s(),window.addEventListener("resize",s),window.addEventListener("resize",c)}),yt(()=>{window.removeEventListener("resize",s),window.removeEventListener("resize",c)}),(w,_)=>{const y=ba,x=_a;return J(),ue(Be,null,[ve(ut,null,{default:He(()=>[w.headline?(J(),ue("h3",{key:0,class:"is-typo-h3 c-anchor-navigation__headline",innerHTML:w.headline},null,8,zw)):pe("",!0)]),_:1}),he("div",{class:Ne(["c-anchor-navigation__wrapper",o.value,u.value])},[ve(x,{style:kn(r.value),modules:[we(vo),we(yo),we(bo)],"slides-per-view":"auto",scrollbar:!0,mousewheel:!0,"free-mode":{enabled:!0,sticky:!0},onReachBeginning:_[0]||(_[0]=()=>{d(we($n).LEFT)}),onFromEdge:_[1]||(_[1]=()=>{d(we($n).MIDDLE)}),onReachEnd:_[2]||(_[2]=()=>{d(we($n).RIGHT)}),onUpdate:v},{default:He(()=>[(J(),ue(Be,null,Ue(f,A=>ve(y,{key:`filter-tag--${A}`},{default:He(()=>[(J(),ke(Uh,{id:`anchor-navigation--${A.label}`,key:`anchor-navigation--${A.label}`,href:"#"+A.id,label:A.label,onClick:tt(i,["prevent"])},null,8,["id","href","label"]))]),_:2},1024)),64))]),_:1},8,["style","modules"])],2)],64)}}});const Ww=De({__name:"E09AnchorNavigationWrap",setup(e){var r,a,s,o;const t=Ze(),n=((a=(r=t.page)==null?void 0:r.anchorNav)==null?void 0:a.field)==="true",i=(o=(s=t.page)==null?void 0:s.anchorNav)==null?void 0:o.inputField;return(l,c)=>{const u=Vw;return we(n)?(J(),ke(u,{key:0,headline:we(i)},null,8,["headline"])):pe("",!0)}}}),Uw={businessDescriptorLink:Object,logoLink:Object,labels:Object,navigationTeaser:Object,ssg:Boolean,host:String},Gw={variant:String,size:Number};const qw={__name:"CeIcon",props:Gw,setup(e){return(t,n)=>(J(),ue("i",{class:Ne(["c-icon",t.size?`c-icon--${t.size}`:"",` icon-${t.variant}`]),"aria-hidden":"true"},null,2))}},pt=ze(qw,[["__scopeId","data-v-5021de95"]]),Yw={label:String,description:String,link:String,icon:String,target:String,ariaLabel:String,download:Boolean,rel:String,anchor:String,styling:String},Xw=["aria-label","href","target","download","rel"],Qw={class:"c-link__text-wrapper"},Kw={class:"c-link__label"},Zw={key:0,class:"c-link__description"},Jw=De({__name:"CeLink",props:Yw,setup(e){const t=e,n=de(()=>t.icon?" is-with-icon ":""),i=de(()=>`${t.link}${t.anchor?"#"+t.anchor:""}`),r=de(()=>t.styling==="internal"?"chevron-right":t.icon);return(a,s)=>(J(),ue("a",{class:Ne(["c-link",n.value]),"aria-label":a.ariaLabel,href:i.value,target:a.target||"_self",download:a.download||void 0,rel:a.rel},[nt(a.$slots,"default",{},void 0,!0),a.icon?(J(),ke(pt,{key:0,variant:r.value},null,8,["variant"])):pe("",!0),he("span",Qw,[he("span",Kw,Oe(a.label),1),a.description?(J(),ue("span",Zw,Oe(a.description),1)):pe("",!0)])],10,Xw))}});const lt=ze(Jw,[["__scopeId","data-v-5c557631"]]),ek={host:String,ssg:Boolean};function tk(e,t,n,i,r,a){const s=Pt(n).split("/"),o=s[0].split("_"),l=t.country?`${t.language}_${t.country.toUpperCase()}`:t.language||"";return Ar(o,i)?s[0]=`${o[0]}_${l}`:Eo(o,i)&&!e?s[0]=`${l}/${o[0]}`:s[0]=r?$o(l)??"":l,e?Lo(e)?e:`/${s[0]}${Mo(e)}`:a?`/${s[0]}/`:`/${s.join("/")}`}function nk(e,t,n,i){const r=Pt(n).split("/"),a=r[0].split("_"),o=!Ar(a,i)&&Eo(a,i)&&t.language==="en",l=Ao(a),c=new RegExp(`${t.language}[_-]${t.country}`),u=t.country?c.test(r[0].toLowerCase())||c.test(l.toLowerCase()):r[0]===t.language||l===t.language;return(o||u)&&!e?"c-link--cta-primary":"c-link--cta-secondary"}function Gh(e,t,n,i,r){const a=[];return e["@nodes"].forEach(s=>{e[s].showInNavigation&&a.push(qh(e[s],t,n,i,r))}),a}function qh(e,t,n,i,r){var s;const a={path:_t(e["@path"],t,n,i,r),label:e.navTitle||e.title||e["@name"]};if((s=e["@nodes"])!=null&&s.length){const o=[];e["@nodes"].forEach(l=>{e[l].showInNavigation&&o.push(qh(e[l],t,n,i,r))}),a.items=o}return a}function ik(e,t,n,i,r,a){var l;const s=(l=Fy(e.currentPagePath))==null?void 0:l.split("/");return Js(e,[],s,t,n,i,r,0,a)}function Js(e,t,n,i,r,a,s,o,l=""){return(n.includes(e["@name"])&&n.length>t.length||Fd(n[0])===r&&s&&o===0)&&t.push({path:_t(e["@path"],i,r,a,s),label:e.navTitle||e.title||e["@name"]}),o++,n.forEach(c=>{var u;if((u=e["@nodes"])!=null&&u.length){e["@nodes"].forEach(m=>{m===c&&(t=Js(e[m],t,n,i,r,a,s,o,l))});const d=decodeURIComponent(n[n.length-1]);if(c.endsWith("-ps-detail")&&!t.some(m=>m.label===l)){const m={"@path":"","@name":encodeURIComponent(d),navTitle:l};t=Js(m,t,n,i,r,a,s,o,l)}}}),t}function rk(e,t,n){const i=[];return e["@nodes"].forEach(r=>{var l,c,u,d;const a=e[r];let s=!0;(c=(l=a.languages)==null?void 0:l["@nodes"])==null||c.forEach(m=>{const v=a.languages[m],h=v.country?v.language+"_"+v.country.toUpperCase():v.language;(n||t.includes(h))&&s&&(s=!1,i.push({id:a["@id"],label:a.name,site:a.site,nodeName:r}))});const o=i.find(m=>m.id===a["@id"]);o&&(o.languages=(d=(u=a.languages)==null?void 0:u["@nodes"])==null?void 0:d.map(m=>({id:a.languages[m]["@id"],language:a.languages[m].language,country:a.languages[m].country})))}),i}const ak={class:"c-language-nav"},sk={class:"c-language-nav__headline"},ok={class:"c-language-nav__market"},lk={key:0,class:"c-language-nav__market-headline"},ck={class:"c-language-nav__language"},uk={key:0,class:"c-language-nav__language-item"},dk=De({__name:"E02CountryLanguageNavigation",props:ek,setup(e){var h;const t=e,n=Ze(),{label:i,page:r}=mt(n),a=be(((h=n.site)==null?void 0:h["@name"])==="hme"),s=de(()=>{var w,_,y;return(a.value?zy(Gy((w=n.site)==null?void 0:w.market,u.value),(_=r.value)==null?void 0:_.availableLanguages):(y=r.value)==null?void 0:y.availableLanguages)||[]}),o=de(()=>{var f;if(n.site&&n.site.market)return rk(n.site.market,s.value,(f=n==null?void 0:n.page)==null?void 0:f.isStartPage)}),l=de(()=>!!(o.value&&o.value.length>1)),c=de(()=>l.value?"global.country_language_nav.headline_market":"global.country_language_nav.headline"),u=de(()=>{var y;const f=(y=n.site)==null?void 0:y.market,w=Pt(n.currentPath).split("/"),_=n.isLiveCopyClonedPathPattern?Ao(w==null?void 0:w[0].split("_")):w==null?void 0:w[0];return Hd(f,_)});function d(f){return`global.language.${f.country?f.language+"_"+f.country:f.language}`}function m(f,w,_){const y=tk(f,w,n.currentPath,n.languages,n.isPublic,_);return!t.ssg||Lo(y)||w.language==="zh"&&w.country==="cn"?y:`https://${t.host}${y}`}function v(f){var _,y;const w=f.country?`${f.language}_${(_=f.country)==null?void 0:_.toUpperCase()}`:`${f.language}`;return(y=s.value)==null?void 0:y.includes(w)}return(f,w)=>(J(),ue("div",ak,[he("span",sk,Oe(we(i)(c.value)),1),he("ul",ok,[(J(!0),ue(Be,null,Ue(o.value,_=>(J(),ue("li",{key:_.id,class:"c-language-nav__market-item"},[l.value?(J(),ue("span",lk,Oe(_.label),1)):pe("",!0),he("ul",ck,[(J(!0),ue(Be,null,Ue(_.languages,y=>{var x,A,E,$;return J(),ue(Be,{key:y.id},[_.site||(A=(x=we(n))==null?void 0:x.page)!=null&&A.isStartPage||!(($=(E=we(n))==null?void 0:E.site)!=null&&$.isLiveCopy)||v(y)&&!_.site?(J(),ue("li",uk,[ve(lt,{label:we(i)(d(y)),link:m(_.site??"",y,a.value&&u.value!==_.nodeName),class:Ne([we(nk)(_.site,y,we(n).currentPath,we(n).languages),"c-link--cta-small"])},null,8,["label","link","class"])])):pe("",!0)],64)}),128))])]))),128))])]))}});const hk=ze(dk,[["__scopeId","data-v-79c81224"]]),fk={level:Number,items:Array},Yh=[{name:"xs",value:0},{name:"sm",value:576},{name:"md",value:768},{name:"lg",value:992},{name:"xl",value:1440},{name:"xxl",value:1800}];function Ai(e){return Yh.find(t=>t.name===e).value}function Wi(e){return Yh.slice().reverse().find(n=>n.value<=e).name}function Ia(e){const t=Wi(e);return t==="lg"||t==="xl"||t==="xxl"}const pk={label:String,type:String,icon:String,iconSize:String,disabled:Boolean,iconPositionStart:Boolean};const mk=["type","disabled"],gk={key:1,class:"c-button__label"},vk={__name:"CeButton",props:pk,setup(e){const t=e,n=de(()=>t.icon?" is-with-icon ":"");return(i,r)=>(J(),ue("button",{class:Ne(["c-button",n.value]),type:i.type,disabled:i.disabled},[i.icon&&i.iconPositionStart?(J(),ke(pt,{key:0,variant:i.icon,size:i.iconSize},null,8,["variant","size"])):pe("",!0),i.label?(J(),ue("span",gk,Oe(i.label),1)):pe("",!0),i.icon&&!i.iconPositionStart?(J(),ke(pt,{key:2,variant:i.icon,size:i.iconSize},null,8,["variant","size"])):pe("",!0),nt(i.$slots,"default",{},void 0,!0)],10,mk))}},Je=ze(vk,[["__scopeId","data-v-3828b13a"]]),yk={key:0},bk={class:"c-nav__wrapper"},_k=De({__name:"CeNav",props:fk,emits:["navButtonBack","navButtonClick"],setup(e,{emit:t}){const n=e,i=t,r=Ze(),{label:a}=mt(r),s=de(()=>n.level?`c-nav__cta-${n.level}`:"c-nav__cta"),o=be(!1),l=be(null),c=be(0);function u(h,f,w){f.preventDefault(),w!==void 0&&r.setActivePath(h),i("navButtonClick",{currentTarget:f.currentTarget,preventDefault:Function,level:n.level})}function d(h,f){f.preventDefault(),i("navButtonBack",h,f)}ot(()=>{m(),setTimeout(()=>{var h;return(h=l.value)==null?void 0:h.classList.add("is-initialized")}),window.addEventListener("resize",Mt.debounce(m,200),!0)}),yt(()=>{window.removeEventListener("resize",Mt.debounce(m,200),!0)});function m(){var h;o.value=Ia(window.innerWidth),c.value=((h=document.querySelector(".c-navigation__area-nav"))==null?void 0:h.getBoundingClientRect().height)||0}const v=h=>h===r.activePath||r.activePath.includes(`${h}`)?!0:r.entryPointToggled?h===r.currentEntryPointPath?h===r.activePath:r.currentEntryPointPath.includes(`${h}`)?h===r.activePath||r.activePath.includes(`${h}`):!1:!1;return(h,f)=>{const w=Xh;return J(),ue("nav",{class:Ne(["c-nav",`c-nav--${h.level}`])},[he("ul",{ref_key:"navListElement",ref:l,class:"c-nav__list is-bg-primary",role:"menu",style:kn([h.level&&h.level>0&&o.value?{height:`${c.value}px`}:""])},[h.level&&h.level>0?(J(),ue("li",yk,[ve(Je,{label:we(a)("global.nav.back"),class:Ne(["c-button--nav-back",`is-back-${h.level}`]),icon:"chevron-left",onClick:f[0]||(f[0]=_=>{d(h.level,_)})},null,8,["label","class"])])):pe("",!0),(J(!0),ue(Be,null,Ue(h.items,_=>{var y;return J(),ue("li",{key:_.path,class:"c-nav__item",role:"menuitem"},[(y=_.items)!=null&&y.length&&h.level<2?(J(),ue(Be,{key:0},[ve(Je,{label:_.label,title:_.label,class:Ne([`c-button--nav c-nav__cta-${h.level}`,v(_.path)&&"is-selected is-active"]),"aria-haspopup":!0,icon:"chevron-right",onClick:x=>u(_.path,x,h.level)},null,8,["label","title","class","onClick"]),he("div",bk,[_.items?(J(),ke(w,{key:0,items:_.items,level:h.level+1,class:"is-bg-primary",onNavButtonClick:x=>u(_.path,x,h.level),onNavButtonBack:d},null,8,["items","level","onNavButtonClick"])):pe("",!0)])],64)):(J(),ke(lt,{key:1,link:_.path,label:_.label,title:_.label,class:Ne(["c-link--cta-nav",s.value,v(_.path)&&"is-selected is-active"])},null,8,["link","label","title","class"]))])}),128))],4)],2)}}});const Xh=ze(_k,[["__scopeId","data-v-740ed733"]]),wk={navigationTeaser:Object},kk=e=>(yr("data-v-52b285cf"),e=e(),br(),e),Ck={class:"c-navigation__area-nav"},xk={key:0,class:"c-navigation__area-teaser"},Sk=kk(()=>he("a",{href:"#",class:"c-navigation__teaser"},null,-1)),Ak=[Sk],Ek=De({__name:"E03Navigation",props:wk,setup(e){const t=Ze(),n=be("is-active"),i=be(null),r=de(()=>{var l;if(t.navigation&&((l=t.navigation["@nodes"])!=null&&l.length))return Gh(t.navigation,t.languages,t.currentLanguage,t.site,t.isPublic)});function a(l){var u;const c=l.currentTarget.classList.contains(n.value);(u=l.currentTarget.closest("ul"))==null||u.querySelectorAll('[aria-haspopup="true"]').forEach(d=>{o(d,!1)}),c||o(l.currentTarget,!0)}function s(l){var u;const c=(u=i.value)==null?void 0:u.querySelector(`.c-nav__cta-${l-1}.${n.value}`);c&&o(c,!1)}function o(l,c=!0){var u;if(l!=null&&l.nextElementSibling){const d=l.nextElementSibling.querySelector("ul"),m=(u=i.value)==null?void 0:u.querySelectorAll(".c-nav");c?(l.classList.add(n.value),d&&(d.setAttribute("aria-expanded","true"),d.removeAttribute("aria-hidden"),m&&m.forEach(v=>{v.scrollTop=0}))):(l.classList.remove(n.value),d&&(d.setAttribute("aria-expanded","false"),d.setAttribute("aria-hidden","true")))}}return(l,c)=>(J(),ue("div",{ref_key:"mainElement",ref:i,class:"c-navigation is-bg-primary"},[he("div",Ck,[ve(Xh,{level:0,items:r.value,onNavButtonClick:a,onNavButtonBack:s},null,8,["items"])]),l.navigationTeaser?(J(),ue("div",xk,Ak)):pe("",!0)],512))}});const Pk=ze(Ek,[["__scopeId","data-v-52b285cf"]]),Tk={id:String,value:String,placeholder:String},Mk={class:"c-search-input__wrapper"},Lk=["placeholder"],$k=De({__name:"CeSearchInput",props:Tk,emits:["submit"],setup(e,{emit:t}){const n=Ze(),{label:i}=mt(n),r=e,a=be(""),s=be(null),o=t;ot(()=>{s.value.focus(),a.value=r.value});const l=de(()=>r.placeholder??i.value("global.search.inputPlaceholder")),c=de(()=>a.value&&[...a.value].length>0);function u(){o("submit",a.value)}function d(){a.value=""}return(m,v)=>(J(),ke(ut,{class:"c-search-input__background"},{default:He(()=>[he("div",Mk,[he("form",{class:"c-search-input",onSubmit:tt(u,["prevent"])},[Rt(he("input",{ref_key:"searchInput",ref:s,"onUpdate:modelValue":v[0]||(v[0]=h=>a.value=h),class:"c-search-input__input",placeholder:l.value,type:"text",autocomplete:"off",spellcheck:"false"},null,8,Lk),[[_o,a.value]]),ve(Je,{class:"c-button--tertiary c-button--simple c-search-input__button--reset",type:"reset",icon:"close-x",disabled:!c.value,onClick:d},null,8,["disabled"]),ve(Je,{class:"c-button--primary c-button--big c-button--simple c-search-input__button--submit",type:"submit",icon:"search",disabled:!c.value,onClick:tt(u,["prevent"])},null,8,["disabled"])],32)])]),_:1}))}});const Qh=ze($k,[["__scopeId","data-v-469233d7"]]);function Ok(e,t){if(!(e.key==="Tab"||e.code==="Tab"))return;const i=t[0],r=t[t.length-1];e.shiftKey?document.activeElement===i&&(r.focus(),e.preventDefault()):document.activeElement===r&&(i.focus(),e.preventDefault())}const Dk=["button:not([disabled])","[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"]):not([disabled])',"details:not([disabled])","summary:not(:disabled)"],Ik=[":not(:where([aria-hidden=true] *))"],Rk=Dk.map(e=>e+Ik.join("")).toString();function Kh(e){if(!e)return console.warn("You need to pass a container HTMLElement"),[];let t=Array.from(e.querySelectorAll(Rk));return t=t.filter(n=>n.tabIndex>=0),t}const Bk={class:"c-header__inner"},Fk={class:"c-header__content"},Nk={class:"c-header__identifier"},jk=["href","title"],Hk={key:0,class:"c-header__logo-descriptor"},zk={key:2,class:"c-header__logo-hmv",xmlns:"http://www.w3.org/2000/svg",width:"144",height:"26",viewBox:"0 0 144 26",fill:"none"},Vk=qu('<path d="M48.0195 7.1169C46.2857 7.1169 44.4994 7.95753 42.9757 9.53372C42.2927 8.01007 40.7691 7.1169 38.8776 7.1169C36.9862 7.1169 35.5151 7.95753 34.2016 9.3761V7.43214H31.7848V23.6143H34.2016V11.6353C35.41 10.4269 36.6185 9.21848 38.5099 9.21848C40.4013 9.21848 40.8741 10.2167 40.8741 12.0556V23.6143H43.291V11.6353C44.4994 10.4269 45.7078 9.21848 47.5992 9.21848C49.4906 9.21848 49.9635 10.2167 49.9635 12.0556V23.6143H52.3803V12.1082C52.3803 8.8507 50.8041 7.16944 47.8619 7.16944L48.0195 7.1169Z" fill="#838487" data-v-35d23e4f></path><path d="M68.0896 19.1484C67.1439 20.8297 65.6203 21.7754 63.7814 21.7754C61.1544 21.7754 59.2104 19.3061 59.1579 16.0486H69.5607V14.4724C69.5607 9.84895 67.249 7.1169 63.3611 7.1169C59.4731 7.1169 56.7411 10.3218 56.7411 15.5232C56.7411 20.7246 60.5239 23.9295 63.7814 23.9295C67.0388 23.9295 68.8777 22.1432 70.0336 20.1467V20.0416C70.0861 20.0416 68.1947 19.0434 68.1947 19.0434V19.1484H68.0896ZM59.2104 13.947C59.4206 10.9523 60.9442 9.27102 63.4136 9.27102C65.8829 9.27102 67.0914 11.0574 67.0914 13.947H59.2104Z" fill="#838487" data-v-35d23e4f></path><path d="M86.0582 20.7248C86.0582 20.5146 86.0582 20.2519 86.0582 20.0418V1.23263H83.6414V8.9034C82.6431 8.06276 81.1195 7.11705 79.4382 7.11705C77.0214 7.11705 72.9233 8.90339 72.9233 15.5234C72.9233 22.1434 76.496 23.9297 79.5958 23.9297C82.6956 23.9297 82.8533 23.2467 83.7464 22.1959L84.0091 23.6145H86.2683V23.5094C86.1107 22.5637 86.1107 21.618 86.1107 20.7248H86.0582ZM83.6414 11.3728V19.7265C82.0652 21.3027 81.0669 21.8281 79.7009 21.8281C76.9163 21.8281 75.2876 19.5689 75.2876 15.681C75.2876 11.7931 76.7587 9.27117 79.7009 9.27117C80.9093 9.27117 82.3804 10.0593 83.6414 11.4253V11.3728Z" fill="#838487" data-v-35d23e4f></path><path d="M101.767 19.1484C100.822 20.8297 99.2981 21.7754 97.4592 21.7754C94.8322 21.7754 92.8883 19.3061 92.8357 16.0486H103.239V14.4724C103.239 9.84895 100.927 7.1169 97.0389 7.1169C93.151 7.1169 90.4189 10.3218 90.4189 15.5232C90.4189 20.7246 94.2018 23.9295 97.4592 23.9295C100.717 23.9295 102.556 22.1432 103.711 20.1467V20.0416C103.764 20.0416 101.873 19.0434 101.873 19.0434V19.1484H101.767ZM92.8883 13.947C93.0984 10.9523 94.6221 9.27102 97.0914 9.27102C99.5608 9.27102 100.769 11.0574 100.769 13.947H92.8883Z" fill="#838487" data-v-35d23e4f></path><path d="M112.065 20.4619L108.072 7.48467V7.43213H105.603L110.542 23.5618V23.6143H113.694L118.475 7.58975L118.528 7.43213H116.058L112.065 20.4619Z" fill="#838487" data-v-35d23e4f></path><path d="M124.937 7.43213H122.521V23.6143H124.937V7.43213Z" fill="#838487" data-v-35d23e4f></path><path d="M124.937 0.917236H122.521V3.75437H124.937V0.917236Z" fill="#838487" data-v-35d23e4f></path><path d="M136.338 7.1169C132.293 7.1169 129.666 10.4269 129.666 15.5232C129.666 20.6196 132.293 23.9295 136.338 23.9295C140.384 23.9295 143.011 20.6196 143.011 15.5232C143.011 10.4269 140.384 7.1169 136.338 7.1169ZM136.338 21.828C133.711 21.828 132.135 19.4637 132.135 15.5232C132.135 11.5828 133.711 9.21848 136.338 9.21848C138.965 9.21848 140.542 11.5828 140.542 15.5232C140.542 19.4637 138.965 21.828 136.338 21.828Z" fill="#838487" data-v-35d23e4f></path><path d="M20.6464 13.7369L9.66569 24.7702H12.713L20.6464 16.7842V13.7369Z" fill="#BADCF4" data-v-35d23e4f></path><path d="M20.6465 5.17309L1.04923 24.7703H4.09652L20.6465 8.22038V5.17309Z" fill="#BADCF4" data-v-35d23e4f></path><path d="M20.6464 22.1957L18.1245 24.7702H20.6464V22.1957Z" fill="#BADCF4" data-v-35d23e4f></path><path d="M13.1858 4.06961L-0.00158691 17.257V20.3043L16.2331 4.06961H13.1858Z" fill="#BADCF4" data-v-35d23e4f></path><path d="M5.09474 4.06961L2.54658 6.64404L-0.00158691 9.21848V12.2658L8.14204 4.06961H5.09474Z" fill="#BADCF4" data-v-35d23e4f></path>',13),Wk=[Vk],Uk={class:"c-header__servicenav"},Gk={key:0,class:"c-header__servicenav-links"},qk={key:1,class:Ne(["c-header__popover-content"])},Yk={key:2,class:"c-header__popover-content c-header__popover-content--menu"},Xk=De({__name:"E01Header",props:Uw,setup(e){const t=e,n=Ze(),{label:i}=mt(n),r=be(0),a=be(null),s=be(null);Ri(()=>{d.value=document.querySelector("html"),document.body.addEventListener("keyup",A,!1),document.body.addEventListener("click",E,!1)}),yt(()=>{document.body.removeEventListener("keyup",A,!1),document.body.removeEventListener("click",E,!1)});const o=de(()=>r.value!==0),l=de(()=>o.value&&r.value===1),c=de(()=>o.value&&r.value===2),u=de(()=>o.value&&r.value===3),d=be(null),m=de(()=>{var g,D;return((D=(g=n.header)==null?void 0:g.navigation)==null?void 0:D["@nodes"].map(R=>{var Z,G;return(G=(Z=n.header)==null?void 0:Z.navigation)==null?void 0:G[R]}))||[]}),v=de(()=>{var V,X,ee;const g=(V=n.site)==null?void 0:V.market,D=Pt(n.currentPath).split("/"),R=n.isLiveCopyClonedPathPattern?Ao(D==null?void 0:D[0].split("_")):D==null?void 0:D[0],Z=Hd(g,R);return`${g[Z]?`${(X=g[Z])==null?void 0:X.name} | `:""}${(ee=n==null?void 0:n.currentLanguage)==null?void 0:ee.replace("_","-").toUpperCase()}`}),h=de(()=>{var g,D,R;return(g=n.site)!=null&&g.isGroup?"is-bg-primary-deep":(D=n.site)!=null&&D.isHPM||((R=n.site)==null?void 0:R.theme)==="pale-blue"?"is-bg-primary":"is-bg-gray"}),f=de(()=>{var g;return((g=n.page)==null?void 0:g.contentType)==="onepager"}),w=de(()=>{var D;let g=(D=n.header)==null?void 0:D["@path"];return g&&n.isLiveCopyClonedPathPattern&&(g=Bd(g,n.currentLanguage)??""),_t(g,n.languages,n.currentLanguage,n.site,n.isPublic)}),_=de(()=>{var D;let g=(D=n.site)==null?void 0:D.searchResultPage;return g&&n.isLiveCopyClonedPathPattern&&(g=Mo(Pt(g).split("/").pop())),_t(g,n.languages,n.currentLanguage,n.site,n.isPublic)}),y=de(()=>{var g;return!!((g=n.header)!=null&&g.showShopLogin)}),x=de(()=>{var g;return!!((g=n.header)!=null&&g.hideItemLabels)});function A(g){if(o.value)if(g.key==="Escape")B();else{const D=Array.from(Kh(a.value));Ok(g,D)}}function E(g){var D;o.value&&((D=a.value)!=null&&D.contains(g.target)||B())}function $(g,D,R){g.preventDefault(),r.value=D,n.setActivePath(n.currentPath),P(r.value!==0),R==="menu"&&(n.setEntryPointToggled(!1),n.setCurrentEntryPointPath(""))}function B(){$(new MouseEvent("click"),0)}function Q(g){n.setCurrentEntryPointPath(g),n.setEntryPointToggled(!0),n.setActivePath(n.currentEntryPointPath)}function I(g){const D=getComputedStyle(g).width;g.setAttribute("style",`
      width: ${D};
      position: 'absolute';
      visibility: 'hidden'
    `),g.style.height="auto";const R=getComputedStyle(g).height;g.removeAttribute("style"),g.style.height="0",requestAnimationFrame(()=>{g.style.height=R,s.value!==null&&s.value.scrollIntoView({behavior:"smooth",inline:"center"})})}function F(g){g.style.height="auto"}function k(g){const D=getComputedStyle(g).height;g.style.height=D,requestAnimationFrame(()=>{g.style.height="0"})}function P(g){var D,R;g?(D=d.value)==null||D.classList.add("disable-scroll"):(R=d.value)==null||R.classList.remove("disable-scroll")}async function C(g){P(!1),t.ssg?location.href=`${_.value}?searchTerm=${g}`:await Ji({path:_.value,query:{searchTerm:g}})}function p(){var g,D,R,Z,G,V;return((R=(D=(g=n.header)==null?void 0:g.shopLogin)==null?void 0:D.link)==null?void 0:R.type)==="internal"?_t(n.header.shopLogin.link.pageLink,n.languages,n.currentLanguage,n.site,n.isPublic)||"":((V=(G=(Z=n.header)==null?void 0:Z.shopLogin)==null?void 0:G.link)==null?void 0:V.href)||""}return(g,D)=>{var R,Z,G,V,X,ee,S,O,M,H,q,T,L,U;return J(),ue("header",{ref_key:"headerElement",ref:a,class:"c-header"},[he("div",Bk,[he("div",Fk,[he("div",Nk,[we(n).header?(J(),ue("a",{key:0,class:"c-header__logo",href:w.value,title:we(n).header.title},[ve(pt,{class:"c-header__logo-heraeus",variant:"logo"}),we(n).header.businessDescriptor&&!((R=we(n).site)!=null&&R.isGroup)&&((G=(Z=we(n))==null?void 0:Z.site)==null?void 0:G.name)!=="hen"?(J(),ue("span",Hk,Oe(we(n).header.businessDescriptor),1)):pe("",!0),((X=(V=we(n))==null?void 0:V.site)==null?void 0:X.name)==="hen"?(J(),ke(pt,{key:1,class:"c-header__logo-hen",variant:"hen-logo"})):pe("",!0),((S=(ee=we(n))==null?void 0:ee.site)==null?void 0:S.name)==="hmv"?(J(),ue("svg",zk,Wk)):pe("",!0)],8,jk)):pe("",!0)]),he("div",Uk,[m.value.length>0?(J(),ue("div",Gk,[(J(!0),ue(Be,null,Ue(m.value,(ie,N)=>(J(),ke(Uh,{key:N,class:"c-button c-header__servicenav-link",label:ie.text,onClick:tt(K=>($(K,3),Q(ie.internal.pageLink)),["prevent"])},null,8,["label","onClick"]))),128))])):pe("",!0),y.value&&((O=we(n).header)!=null&&O.shopLogin)?(J(),ke(lt,{key:1,link:p()},{default:He(()=>{var ie,N;return[ve(Je,{icon:"login",class:Ne(["c-button--servicenav-reversed",{"c-button--simple-until-sm":!((ie=we(n).site)!=null&&ie.isGroup)}]),"icon-position-start":!0,label:x.value?"":(N=we(n).header)==null?void 0:N.shopLogin.text},null,8,["class","label"])]}),_:1},8,["link"])):pe("",!0),(M=we(n).site)!=null&&M.market?(J(),ke(Je,{key:2,class:Ne(["c-button--servicenav",{"is-selected":l.value},{"c-button--simple-until-sm":!((H=we(n).site)!=null&&H.isGroup)}]),icon:l.value?"close-x":"globe",label:x.value?"":v.value,onClick:D[0]||(D[0]=ie=>$(ie,l.value?0:1))},null,8,["class","icon","label"])):pe("",!0),!f.value&&((T=(q=we(n))==null?void 0:q.site)==null?void 0:T.name)!=="interim"?(J(),ke(Je,{key:3,class:Ne(["c-button--servicenav c-button--simple c-button--search",{"is-selected":c.value}]),icon:c.value?"close-x":"search",label:x.value?"":we(i)("global.header.search"),onClick:D[1]||(D[1]=ie=>$(ie,c.value?0:2))},null,8,["class","icon","label"])):pe("",!0),!f.value&&((U=(L=we(n))==null?void 0:L.site)==null?void 0:U.name)!=="interim"?(J(),ke(Je,{key:4,class:Ne(["c-button--servicenav c-button--simple-until-md",{"is-selected":u.value}]),icon:u.value?"close-x":"menu",label:x.value?"":we(i)("global.header.menu"),onClick:D[2]||(D[2]=ie=>$(ie,u.value?0:3,"menu"))},null,8,["class","icon","label"])):pe("",!0)])])]),ve(vn,{name:"expand",onEnter:I,onAfterEnter:F,onLeave:k},{default:He(()=>[o.value?(J(),ue("div",{key:0,ref_key:"popoverElement",ref:s,class:"c-header__popover"},[r.value===1?(J(),ue("div",{key:0,class:Ne(["c-header__popover-content",h.value])},[ve(hk,{ssg:g.ssg,host:g.host},null,8,["ssg","host"])],2)):pe("",!0),r.value===2?(J(),ue("div",qk,[ve(Qh,{class:"c-search-input--large-lg",onSubmit:C})])):pe("",!0),r.value===3?(J(),ue("div",Yk,[ve(Pk,{"navigation-teaser":g.navigationTeaser},null,8,["navigation-teaser"])])):pe("",!0)],512)):pe("",!0)]),_:1})],512)}}});const Qk=ze(Xk,[["__scopeId","data-v-35d23e4f"]]),Kk=""+new URL("wechathep.df6c0794.jpg",import.meta.url).href,Zk=""+new URL("wechat.df761215.jpg",import.meta.url).href,Jk=""+new URL("icp.6189a29f.png",import.meta.url).href,eC={message:String,linkClass:String,linkList:Object},tC={class:"c-link-list"},nC=De({__name:"CeLinkList",props:eC,setup(e){const t=e,n=Ze(),i=de(()=>{var s,o;return(o=(s=t.linkList)==null?void 0:s["@nodes"])!=null&&o.length?t.linkList["@nodes"].map(l=>{var u;const c=t.linkList[l];return{id:c["@id"],label:c.text,link:r(c.link),icon:c.icon??a(c.link.type),target:c.link.target,ariaLabel:c.text,download:c.link.type==="download"?c.link.type:void 0,rel:c.link.rel,anchor:c.link.anchor,styling:(u=c.link)==null?void 0:u.styling}}):void 0}),r=function(s){return s.pageLink?_t(s.pageLink,n.languages,n.currentLanguage,n.site,n.isPublic):s.href||s._downloadLink},a=function(s){switch(s){case"download":return"download";case"external":return"external-link";case"internal":return"chevron-right";default:return""}};return(s,o)=>(J(),ue("ul",tC,[(J(!0),ue(Be,null,Ue(i.value,l=>(J(),ue("li",{key:l.id,class:"c-link-list__item"},[ve(lt,Ke({ref_for:!0},l,{class:s.linkClass}),null,16,["class"])]))),128)),nt(s.$slots,"default",{},void 0,!0)]))}});const ai=ze(nC,[["__scopeId","data-v-b2d0c632"]]),iC={"@name":String,"@path":String,"@id":String,"@nodeType":String,name:String,copyright:String,editorialLinksCol1:Object,editorialLinksCol2:Object,editorialLinksCol3:Object,social:Object,legalInformation:Object,"@nodes":Array},Tr=e=>(yr("data-v-903def5c"),e=e(),br(),e),rC={class:"c-footer"},aC={class:"c-footer__inner"},sC={class:"c-footer__content"},oC={key:0,class:"c-footer__info is-bg-gray"},lC={key:0,class:"c-footer__column"},cC={class:"c-footer__link-list-headline"},uC={key:1,class:"c-footer__column"},dC={class:"c-footer__link-list-headline"},hC={key:2,class:"c-footer__column"},fC={class:"c-footer__link-list-headline"},pC={class:"c-footer__social-column c-link--simple-until-lg"},mC={class:"c-footer__link-list-headline"},gC={key:0},vC=Tr(()=>he("img",{class:"c-footer__qrcode",src:Kk,alt:"WeChat QR-code"},null,-1)),yC=[vC],bC={key:1},_C=Tr(()=>he("img",{class:"c-footer__qrcode",src:Zk,alt:"WeChat QR-code"},null,-1)),wC=[_C],kC={key:1},CC={key:0,class:"c-footer__discover-more"},xC={class:"c-footer__link-list-headline"},SC=Tr(()=>he("br",null,null,-1)),AC={class:"c-footer__legal-info is-bg-dark-gray"},EC={class:"c-footer__legal-info-link-list"},PC=Tr(()=>he("img",{src:Jk,class:"c-footer__icp-png",alt:"Internet Police Number"},null,-1)),TC={class:"c-footer__copyright"},MC={key:0,class:"c-footer__cookie",onclick:"if(CookieFirst){CookieFirst.openPanel();}"},LC=Tr(()=>he("p",null,[he("i",{class:"c-icon icon-cookie","aria-hidden":"true"})],-1)),$C=[LC],OC=De({__name:"E05Footer",props:iC,setup(e){const t=e,n=Ze(),i=de(()=>{var f,w,_;return(_=(w=(f=n.footer)==null?void 0:f.groupLink)==null?void 0:w.link)==null?void 0:_.href}),r={group:{href:"https://beian.mps.gov.cn/#/query/webSearch?code=31011202020040",label:"沪公网安备31011202020040号"},hcv:{href:"https://beian.mps.gov.cn/#/query/webSearch?code=31011202020179",label:"沪公网安备31011202020179号"},hen:{href:"https://beian.mps.gov.cn/#/query/webSearch?code=31011202020185",label:"沪公网安备31011202020185号"},hep:{href:"https://beian.mps.gov.cn/#/query/webSearch?code=31011202020203",label:"沪公网安备31011202020203号"}},a=new Date().getFullYear(),s=f=>{var w,_;return(_=f==null?void 0:f["@nodes"])==null?void 0:_.map(y=>{const x=f==null?void 0:f[y];return{"@name":x==null?void 0:x["@name"],"@path":x==null?void 0:x["@path"],"@nodeType":x==null?void 0:x["@nodeType"],"@id":x==null?void 0:x["@id"],text:(x==null?void 0:x.text)??(x==null?void 0:x.type),icon:x!=null&&x.type?l(x==null?void 0:x.type):void 0,link:o(x==null?void 0:x.type,x==null?void 0:x.url,x==null?void 0:x.href,x==null?void 0:x.page)}}).reduce((y,x,A)=>(y[A]=x,y),{"@nodes":(w=f==null?void 0:f["@nodes"])==null?void 0:w.map((y,x)=>x.toString())})},o=(f,w,_,y)=>f==="external"||w?{href:w||_,target:"_blank"}:f==="internal"?{pageLink:y}:{pageLink:y},l=function(f){switch(f.toLowerCase()){case"youtube":return"youtube";case"linkedin":return"linkedIn";case"twitter":return"twitter";case"kununu":return"kununu";case"instagram":return"insta";case"xing":return"xing";default:return""}},c=de(()=>{var f;return s((f=t.editorialLinksCol1)==null?void 0:f.linkList)}),u=de(()=>{var f;return s((f=t.editorialLinksCol2)==null?void 0:f.linkList)}),d=de(()=>{var f;return s((f=t.editorialLinksCol3)==null?void 0:f.linkList)}),m=de(()=>{var f;return s((f=t.social)==null?void 0:f.linkList)}),v=de(()=>s(t.legalInformation)),h=de(()=>n.currentLanguage==="zh-CN"||n.currentLanguage==="zh_CN");return(f,w)=>(J(),ke(ut,null,{default:He(()=>{var _,y,x,A,E,$,B,Q,I,F,k,P;return[he("footer",rC,[he("div",aC,[he("div",sC,[((y=(_=we(n))==null?void 0:_.site)==null?void 0:y.name)!=="interim"?(J(),ue("div",oC,[f.editorialLinksCol1?(J(),ue("div",lC,[he("span",cC,Oe((x=f.editorialLinksCol1)==null?void 0:x.headline),1),ve(ai,{class:"c-footer__link-list","link-class":"c-link--tiny","link-list":c.value},null,8,["link-list"])])):pe("",!0),f.editorialLinksCol2?(J(),ue("div",uC,[he("span",dC,Oe((A=f.editorialLinksCol2)==null?void 0:A.headline),1),ve(ai,{class:"c-footer__link-list","link-class":"c-link--tiny","link-list":u.value},null,8,["link-list"])])):pe("",!0),f.editorialLinksCol3?(J(),ue("div",hC,[he("span",fC,Oe((E=f.editorialLinksCol3)==null?void 0:E.headline),1),ve(ai,{class:"c-footer__link-list","link-class":"c-link--tiny","link-list":d.value},null,8,["link-list"])])):pe("",!0),he("div",pC,[he("span",mC,Oe(($=f.social)==null?void 0:$.headline),1),h.value?(J(),ue(Be,{key:0},[((Q=(B=we(n))==null?void 0:B.site)==null?void 0:Q.name)==="hep"?(J(),ue("div",gC,yC)):(J(),ue("div",bC,wC))],64)):(J(),ue("div",kC,[ve(ai,{class:"c-footer__link-list c-link--responsive-icon","link-class":"c-link--tiny","link-list":m.value},null,8,["link-list"]),i.value?(J(),ue("div",CC,[he("span",xC,Oe(we(n).footer.groupLink.text||"Discover more about"),1),SC,ve(lt,{class:"c-footer__logo",href:i.value,icon:"logo"},null,8,["href"])])):pe("",!0)]))])])):pe("",!0),he("div",AC,[he("div",EC,[ve(ai,{class:"c-footer__legal-info-link-list","link-class":"c-link--tiny","link-list":v.value},{default:He(()=>{var C,p,g,D,R,Z,G,V;return[h.value&&r[(p=(C=we(n))==null?void 0:C.site)==null?void 0:p.name]?(J(),ke(lt,{key:0,href:((R=r[(D=(g=we(n))==null?void 0:g.site)==null?void 0:D.name])==null?void 0:R.href)||"",class:"c-footer__icp-link c-link--tiny",label:((V=r[(G=(Z=we(n))==null?void 0:Z.site)==null?void 0:G.name])==null?void 0:V.label)||"",rel:"noreferrer",target:"_blank"},{default:He(()=>[PC]),_:1},8,["href","label"])):pe("",!0)]}),_:1},8,["link-list"])]),he("span",TC," © "+Oe(we(a))+" "+Oe(f.copyright),1)])])]),((F=(I=we(n))==null?void 0:I.site)==null?void 0:F.name)==="group"||((P=(k=we(n))==null?void 0:k.site)==null?void 0:P.name)==="hme"?(J(),ue("div",MC,$C)):pe("",!0)])]}),_:1}))}});const DC=ze(OC,[["__scopeId","data-v-903def5c"]]),IC={__name:"E05FooterWrap",setup(e){const t=Ze();return(n,i)=>(J(),ke(DC,sr(Yu(we(t).footer)),null,16))}},RC=IC,BC=function(e,t){e.id=`filter-${t}-${e.__typename}`;for(const n in e){if(n==="__typename")switch(e[n]){case"fieldcollection_Search":e.value=e.value?e.value:"",e.type="search";break;case"fieldcollection_RangeSlider":e.type="range";break;case"fieldcollection_Dropdown":case"fieldcollection_DropdownFilter":case"fieldcollection_CheckboxFilter":e.values=e.values?e.values:[],e.type="multi-select";break;case"fieldcollection_SearchableDropdownFilter":e.values=e.values?e.values:[],e.type="searchable-multi-select";break;case"fieldcollection_DependentDropdownFilter":e.values=e.values?e.values:[],e.type="dependent-multi-select";break;default:e.type="hidden"}n==="AttributeName"&&delete Object.assign(e,{name:e.AttributeName}).AttributeName,n==="FilterLabel"&&delete Object.assign(e,{label:e.FilterLabel}).FilterLabel,n==="MinStartValue"&&(e.lowerBound=e[n]),n==="MaxStartValue"&&(e.upperBound=e[n])}return e},FC=function(e,t){const n=[];return t.forEach((i,r)=>{n[r]={name:i.name,value:i.value}}),n.forEach(i=>{if((e.type==="multi-select"||e.type==="searchable-multi-select"||e.type==="dependent-multi-select")&&i.name===e.name){const r=[];return i.value.split(",").forEach((s,o)=>{const l=e.AttributeProperties.find(c=>c.AttributeValues===s);l&&(r[o]={AttributeLabels:l.AttributeLabels,AttributeValues:s})}),e.values=r,e}if(e.type==="range"&&(i.name===e.MinAttributeName||i.name===e.MaxAttributeName)){if(e.MinAttributeName!==e.MaxAttributeName)i.name===e.MinAttributeName?e.lowerBound=i.value:i.name===e.MaxAttributeName&&(e.upperBound=i.value);else{const r=i.value.split(",");e.lowerBound=r[0],e.upperBound=r[1]}return e}e.type==="search"&&i.name===e.name&&(e.value=i.value)}),e},NC=function(e,t){const n=[];if(typeof window>"u"){const r=new URLSearchParams(e);for(const a of r.keys())n.push({name:a,value:Vc(a,`?${e}`)});for(const a in t)n.push({name:a,value:t[a]})}else{const r=new URLSearchParams(window.location.search);for(const a of r.keys())n.push({name:a,value:Vc(a,window.location.search)})}return n},Vc=function(e,t){e=e.replace(/[[]/,"\\[").replace(/[\]]/,"\\]");const i=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(t);return i===null?"":decodeURIComponent(i[1].replace(/\+/g," "))},Wc=function(e,t,n){let i=new URLSearchParams(window.location.search);i=HC(i,e,t),jC(i,n)},jC=function(e,t){t.push({path:t.currentRoute.value.path,hash:t.currentRoute.value.hash,query:VC(e)})},HC=function(e,t,n){for(let i=0;i<t.length;i++)e=zC(e,t[i],n);return e},zC=function(e,t,n){let i="";switch(t.__typename){case"fieldcollection_Search":t.value?e.set(t.name,t.value):e.delete(t.name);break;case"fieldcollection_RangeSlider":t.interacted?t.MinAttributeName!==t.MaxAttributeName?(e.set(t.MinAttributeName,t.lowerBound),e.set(t.MaxAttributeName,t.upperBound)):e.set(t.MinAttributeName,`${t.lowerBound},${t.upperBound}`):n&&(e.delete(t.MinAttributeName),e.delete(t.MaxAttributeName));break;case"fieldcollection_DropdownFilter":case"fieldcollection_CheckboxFilter":case"fieldcollection_SearchableDropdownFilter":t.values&&t.values.length?(t.values.forEach((r,a)=>{i+=`${r.AttributeValues}`,a<t.values.length-1&&(i+=",")}),e.set(t.name,i)):e.delete(t.name);break;default:t.value?e.set(t.name,t.value):e.delete(t.name)}return e},VC=function(e){const t={};for(const[n,i]of e)t[n]=i;return t},Zh=function(e,t,n,i){return e[n]?`${i}${t}-ps-detail/${encodeURI(e[n])}`:"#"},Uo=Dd("productSelector",{state:()=>({category:{},initialUrlParams:[],initialFilters:[],currentFilter:void 0,chosenSelectValues:[],filters:[],products:[],productsFetched:0,productsTotal:0,initialFiltersFromUrlParams:[],appLoading:!1,listingConfig:{loadMore:!1,sort:void 0,considerProductsFetched:!1},app:{},dataLayerContent:void 0,productTitle:""}),actions:{setProp:function(e,t){this[e]=t},setInitialUrlParams(e,t){this.initialUrlParams=NC(e,t)},setInitialFilters(e){this.initialFilters=e.map((t,n)=>BC(t,n))},setFilters(e){this.filters=JSON.parse(JSON.stringify(e))},setResultColumns(e){this.resultColumns=e},setComparisonEntries(e){this.comparisonEntries=e},setSortAttributes(e){this.app.sortAttribute=e.sortAttribute,this.app.sortOrder=e.sortOrder},setFilterValuesFromUrlParams(e){this.initialFiltersFromUrlParams=e.map(t=>FC(t,this.initialUrlParams))},setProducts(e){const t=JSON.parse(JSON.stringify(e)),n=t==null?void 0:t.edges.map(({node:{__typename:i,...r}})=>({...r,collect:!1}));this.products=this.listingConfig.considerProductsFetched?[...this.products,...n]:n},setProductsFetched(e){this.productsFetched=e.loadMore?this.products.length+e.fetched:e.fetched},setProductsTotal(e){this.productsTotal=e},setCollectionProduct(e){this.products=this.products.map(t=>({...t,collect:t[this.category.UniqueAttributeNameExternal]===e.id?e.checked:t.collect}))},setListingConfig(e){this.listingConfig=e},setAppLoading(e){this.appLoading=e},sort(e){let t;e===this.app.sortAttribute?t=!this.app.sortOrder:t=!1,this.setSortAttributes({sortAttribute:e,sortOrder:t})},setDataLayerContent(e){if(!e)return;const{applicationId:t,globalBusinessUnit:n,businessSection:i,sectionGroup:r,productArea:a}=e;this.dataLayerContent={applicationId:t,globalBusinessUnit:n,businessSection:i,sectionGroup:r,productArea:a}}}}),WC={class:"c-breadcrumb__inner"},UC=["href","title"],GC=["content"],qC={key:1,class:"c-breadcrumb__current"},YC=["innerHTML"],XC=["content"],QC={key:2,class:"c-breadcrumb__divider"},KC={key:3,class:"c-breadcrumb__reveal"},ZC={key:4,class:"c-breadcrumb__divider"},JC=De({__name:"E04Breadcrumb",setup(e){const t=Ze(),n=Uo(),i=de(()=>{var Q;if(t.navigation&&((Q=t.navigation["@nodes"])!=null&&Q.length))return ik(t.navigation,t.languages,t.currentLanguage,t.site,t.isPublic,n.productTitle)}),r=de(()=>{var Q;return(Q=t.page)!=null&&Q.introBgColor?`is-bg-${t.page.introBgColor}`:""}),{label:a}=mt(t),s=be(null),o=be(null),l=be(!1),c=be("is-initialized"),u=be("is-sr-only"),d=be(".c-breadcrumb__item"),m=be(".c-link"),v=be(40),h=de(()=>{var Q;return((Q=i.value)==null?void 0:Q.length)-1}),f=be(null);ot(()=>{f.value=setInterval(_,100),window.addEventListener("resize",Mt.debounce(w,200),!0)}),yt(()=>{window.removeEventListener("resize",Mt.debounce(w,200),!0)});function w(){E(),_()}function _(){var k,P;if(!i.value||!s.value||!o.value)return;const Q=(k=o==null?void 0:o.value)==null?void 0:k.querySelectorAll(d.value),I=(P=s.value)==null?void 0:P.clientWidth,F=y(Q);I-v.value<F?x(Q,I,F):E(),o.value.classList.add(c.value),clearInterval(f.value)}function y(Q){let I=0;return Q.forEach(F=>{I=I+F.clientWidth}),I}function x(Q,I,F){for(let k=1;k<Q.length-1;k++)I-v.value<F&&(A(Q,k),F=y(Q));l.value=!0}function A(Q,I){const F=Q[I];F&&(F.classList.add(u.value),B(F,-1))}function E(){var I;const Q=(I=o==null?void 0:o.value)==null?void 0:I.querySelectorAll(d.value);if(Q){for(let F=1;F<Q.length;F++)$(Q,F);l.value=!1}}function $(Q,I){const F=Q[I];F&&(F.classList.remove(u.value),B(F,0))}function B(Q,I){const F=Q.querySelector(m.value);F&&(F.tabIndex=I)}return(Q,I)=>{var F,k,P,C,p;return((F=i.value)==null?void 0:F.length)>1&&((P=(k=we(t))==null?void 0:k.site)==null?void 0:P.name)!=="hmvpd"&&((p=(C=we(t))==null?void 0:C.site)==null?void 0:p.name)!=="hmcpd"?(J(),ue("div",{key:0,class:Ne(["c-breadcrumb",r.value])},[he("div",WC,[he("div",{ref_key:"breadcrumbContentElement",ref:s,class:"c-breadcrumb__content"},[he("ol",{ref_key:"breadcrumbOlElement",ref:o,class:"c-breadcrumb__list",itemscope:"",itemtype:"https://schema.org/BreadcrumbList"},[(J(!0),ue(Be,null,Ue(i.value,(g,D)=>(J(),ue("li",{key:D,class:"c-breadcrumb__item",itemprop:"itemListElement",itemscope:"",itemtype:"https://schema.org/ListItem"},[D<h.value?(J(),ue("a",{key:0,href:g.path,class:"c-link",itemprop:"item",title:D===0?g.label:void 0},[D===0?(J(),ke(pt,{key:0,variant:"home",size:24})):pe("",!0),g.label?(J(),ue("span",{key:1,class:Ne(["c-link__label",{"is-sr-only":D===0}]),itemprop:"name"},Oe(g.label),3)):pe("",!0),he("meta",{itemprop:"position",content:(D+1).toString()},null,8,GC)],8,UC)):(J(),ue("span",qC,[he("strong",{itemprop:"name",innerHTML:g.label},null,8,YC),he("meta",{itemprop:"position",content:(D+1).toString()},null,8,XC)])),D<h.value?(J(),ue("span",QC," / ")):pe("",!0),D===0&&l.value?(J(),ue("span",KC,[ve(Je,{class:"c-button c-button--breadcrumb c-button--simple",icon:"dots","icon-size":"24",label:we(a)("global.breadcrumb.reveal"),onClick:E},null,8,["label"])])):pe("",!0),D===0&&l.value?(J(),ue("span",ZC," / ")):pe("",!0)]))),128))],512)],512)])],2)):pe("",!0)}}});const ex=ze(JC,[["__scopeId","data-v-6b46f4b0"]]),tx={showModal:Boolean,headline:String,showCloseButton:Boolean,closeButtonLabel:String,allowedToClose:Boolean},nx={key:0,ref:"modalElement",class:"c-modal"},ix={class:"c-modal__content-wrap"},rx={class:"c-modal__content"},ax={key:0,class:"c-modal__header is-bg-primary"},sx=["innerHTML"],ox={key:1,class:"c-modal__body"},lx={key:2,class:"c-modal__footer"},ss="disable-scroll",cx=De({__name:"E12Modal",props:tx,emits:["modalClose"],setup(e){const t=e,n=de(()=>t.showCloseButton||!!t.headline),i=be(null);return Ri(()=>{var r;i.value=document.documentElement,t.showModal&&((r=i.value)==null||r.classList.add(ss))}),Qe(()=>t.showModal,r=>{var a,s;r?(a=i.value)==null||a.classList.add(ss):(s=i.value)==null||s.classList.remove(ss)}),(r,a)=>r.showModal?(J(),ue("div",nx,[he("div",ix,[he("div",rx,[n.value?(J(),ue("header",ax,[r.headline?(J(),ue("span",{key:0,class:"c-modal__headline",innerHTML:r.headline},null,8,sx)):pe("",!0),r.showCloseButton?(J(),ke(Je,{key:1,class:"c-button c-button--tertiary c-button--icon-big c-button--simple c-modal__button-close",icon:"close-x",label:r.closeButtonLabel,onClick:a[0]||(a[0]=s=>r.$emit("modalClose"))},null,8,["label"])):pe("",!0)])):pe("",!0),r.$slots.body?(J(),ue("div",ox,[nt(r.$slots,"body",{},void 0,!0)])):pe("",!0),r.$slots.footer?(J(),ue("div",lx,[nt(r.$slots,"footer",{},void 0,!0)])):pe("",!0)])])],512)):pe("",!0)}});const Ui=ze(cx,[["__scopeId","data-v-11e608fe"]]),ux=["innerHTML"],dx=["innerHTML"],hx=De({__name:"C41ContentDisclaimer",async setup(e){let t,n;const i=Ze(),r=Gt(),a=ka(),s=it("isEditMode",!1),o=be([]),l=be(null),c=be(0),u=hi({$config:r}),d=Po(a.path),m=fi({$config:r},d),v=Ni({$config:r},d),h=To({$config:r,site:i.site,isEditMode:s},v,u,m),f=window.location,w={$config:r,location:f,isServer:!1},_=Fi(w),x=`${mn(w,_,"mgnlApiContentDisclaimer")}?lang=${m}`,{data:A}=([t,n]=Vt(()=>Xt(x,"$j30IwOqJdf")),t=await t,n(),t);function E(){var I,F,k;l.value=(I=o.value)!=null&&I.length&&c.value<((F=o.value)==null?void 0:F.length)?(k=o.value)==null?void 0:k[c.value]:null}function $(){var I;jy(`heraeus-contentDisclaimer-${(I=l.value)==null?void 0:I["@name"]}`,new Date().toISOString(),7),c.value++,B(),E()}function B(){var k;const I=a.query.redirectPath,F=a.query.disclaimer;if(I&&F===((k=l.value)==null?void 0:k["@name"])){const P=_?"":w.isServer?`https://${w.location.host}`:`${w.location.protocol}//${w.location.host}`;Ji(`${P}${I}`,{external:!0})}}function Q(){var F;const I=(F=l.value)==null?void 0:F.disagreePage;if(!I){console.warn("no disagree link given");return}l.value=null,Lo(I)?Ji(I,{external:!0}):Ji({path:_t(I,u,m,i.site,r.public.mgnlPublic)})}return ot(()=>{var I,F;o.value=(F=(I=A.value)==null?void 0:I.results)==null?void 0:F.filter(k=>{var P,C;return((C=(P=k==null?void 0:k.protectedPages)==null?void 0:P.filter(p=>{const g=Hy(`heraeus-contentDisclaimer-${k["@name"]}`);return h.includes(p)&&!g}))==null?void 0:C.length)>0}),E()}),(I,F)=>{const k=Je;return J(),ke(Ui,{"show-modal":!!l.value},{body:He(()=>[he("h2",{class:"is-typo-h2",innerHTML:l.value.headline},null,8,ux),he("div",{class:"richtext",innerHTML:l.value.richtext},null,8,dx)]),footer:He(()=>[ve(k,{class:"c-button--secondary c-button--responsive",label:l.value.disagreeButtonLabel,onClick:Q},null,8,["label"]),ve(k,{class:"c-button--primary c-button--responsive",label:l.value.agreeButtonLabel,onClick:$},null,8,["label"])]),_:1},8,["show-modal"])}}}),Ra={video:Object,videoMp4:Object,playVideo:Boolean},fx={video:Object},px={id:String,text:String,label:String,category:String},mx={class:"c-video-fallback"},gx={class:"c-video-fallback__content"},vx={class:"c-video-fallback__text is-typo-h3"},Go=De({__name:"CeVideoFallback",props:px,setup(e){const t=e;function n(){CookieFirst?CookieFirst.acceptCategory(t.category):console.error("CeVideoFallback => Error accepting cookies: CookieFirst script not found")}return(i,r)=>(J(),ue("div",mx,[he("div",gx,[he("div",vx,Oe(t.text),1),ve(Je,{label:t.label,class:"c-video-fallback__button c-button--primary c-button--small c-button--responsive",onClick:tt(n,["prevent"])},null,8,["label"])])]))}});const yx={class:"c-video-wrapper"},bx=["id","data-src","src"],_x={__name:"CeVideoYoutube",props:Ra,setup(e){const t=Ze(),{videoPlayingId:n,youtubeIframeAPIReady:i,label:r}=mt(t),a=e,s=be("");ot(()=>{t.youtubeIframeAPIReady?l():o()});function o(){const d=document.createElement("script");d.src="https://www.youtube.com/iframe_api";const m=document.getElementsByTagName("script")[0];m.parentNode.insertBefore(d,m),window.onYouTubeIframeAPIReady=()=>{t.youtubeIframeAPIReady=!0}}function l(){var d,m;s.value=new window.YT.Player((d=a.video)==null?void 0:d.videoId,{videoId:(m=a.video)==null?void 0:m.videoId,events:{onReady:c,onStateChange:u}})}function c(){var d;a.playVideo&&((d=s.value)==null||d.playVideo())}function u(d){var m;d.data===1&&t.videoPlaying((m=a.video)==null?void 0:m.videoId)}return Qe(i,()=>{l()}),Qe(n,()=>{var d,m;n.value!==((d=a.video)==null?void 0:d.videoId)&&((m=s.value)==null||m.pauseVideo())}),(d,m)=>{var v,h,f;return J(),ue("div",yx,[he("iframe",{id:(v=d.video)==null?void 0:v.videoId,class:"c-video",type:"text/html","data-src":d.playVideo?void 0:`https://www.youtube.com/embed/${(h=d.video)==null?void 0:h.videoId}?enablejsapi=1`,src:d.playVideo?`https://www.youtube.com/embed/${(f=d.video)==null?void 0:f.videoId}?enablejsapi=1`:void 0,frameborder:"0",allow:"autoplay; fullscreen","data-cookiefirst-category":"advertising"},null,8,bx),d.playVideo?pe("",!0):(J(),ke(Go,{key:0,class:"cookiefirst-disabled-resource",category:"advertising",text:we(r)("global.videoFallback.text"),label:we(r)("global.videoFallback.accept")},null,8,["text","label"]))])}}},wx=_x,kx={class:"c-video-wrapper"},Cx=["id","data-src","src"],xx={__name:"CeVideoWistia",props:Ra,setup(e){const t=Ze(),{videoPlayingId:n,label:i}=mt(t),r=e,a=be(null);return ot(()=>{var s;if(!t.wistiaIframeAPIReady){const o=document.createElement("script");o.src="//fast.wistia.net/assets/external/E-v1.js",o.async=!0,document.head.appendChild(o),window._wq=window._wq||[],_wq.push({id:(s=r.video)==null?void 0:s.videoId,onReady:l=>{a.value=l,l.bind("play",()=>{var c;t.videoPlaying((c=r.video)==null?void 0:c.videoId)}),r.playVideo&&l.play(),Qe(n,()=>{var c;n.value!==((c=r.video)==null?void 0:c.videoId)&&l.pause()}),t.wistiaIframeAPIReady=!0}})}}),(s,o)=>{var l,c,u;return J(),ue("div",kx,[he("iframe",{id:(l=s.video)==null?void 0:l.videoId,"data-src":s.playVideo?void 0:"//fast.wistia.net/embed/iframe/"+((c=s.video)==null?void 0:c.videoId),src:s.playVideo?"//fast.wistia.net/embed/iframe/"+((u=s.video)==null?void 0:u.videoId):void 0,allowtransparency:"true",frameborder:"0",scrolling:"no",class:"c-video wistia_embed",name:"wistia_embed","data-cookiefirst-category":"advertising",allow:"autoplay; fullscreen"},null,8,Cx),s.playVideo?pe("",!0):(J(),ke(Go,{key:0,category:"advertising",class:"cookiefirst-disabled-resource",text:we(i)("global.videoFallback.text"),label:we(i)("global.videoFallback.accept")},null,8,["text","label"]))])}}},Sx=xx,Ba=De({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const i=be(!1);return ot(()=>{i.value=!0}),r=>{var l;if(i.value)return(l=t.default)==null?void 0:l.call(t);const a=t.fallback||t.placeholder;if(a)return a();const s=r.fallback||r.placeholder||"",o=r.fallbackTag||r.placeholderTag||"span";return ue(o,n,s)}}}),Ax={class:"c-video-wrapper"},Ex=["id"],Px=De({__name:"CeVideoTencent",props:Ra,setup(e){const t=Ze(),{videoPlayingId:n}=mt(t),i=e,r=be(Nt("tencent-player")),a=be(null);Qe(n,()=>{var o;n.value!==r.value&&((o=a.value)==null||o.pause())}),yt(()=>{var o;a.value&&((o=a.value)==null||o.dispose())});function s(){var c;const o={appID:"1259041171",fileID:(c=i.video)==null?void 0:c.videoId,autoplay:i.playVideo,muted:!1};if(!(window!=null&&window.TCPlayer))return;const l=window.TCPlayer(r==null?void 0:r.value,o);l.on("play",()=>{t.videoPlaying(r.value)}),a.value=l,window.player=l}return(o,l)=>{const c=Ba;return J(),ue("div",Ax,[ve(c,null,{default:He(()=>[(J(),ke(Mi("link"),{href:"//imgcache.qq.com/open/qcloud/video/tcplayer/tcplayer.css",rel:"stylesheet"})),(J(),ke(Mi("script"),{src:"//imgcache.qq.com/open/qcloud/video/tcplayer/tcplayer.min.js",onLoad:s},null,32)),he("video",{id:r.value,class:"c-video",preload:"auto"},null,8,Ex)]),_:1})])}}});const Tx=ze(Px,[["__scopeId","data-v-64334b0e"]]),Mx={class:"c-video-wrapper"},Lx={class:"c-video",autoplay:"true",loop:"",muted:"true",playsinline:"",poster:""},$x=["src"],Ox=he("p",null,"Your browser does not support HTML5 video.",-1),Dx={__name:"CeVideoMp4",props:fx,setup(e){return(t,n)=>(J(),ue("div",Mx,[he("video",Lx,[he("source",{src:t.video._videoLink,type:"video/mp4"},null,8,$x),Ox])]))}},Ix=Dx,Jh=De({__name:"CeVideo",props:Ra,setup(e){return(t,n)=>{var i,r,a;return J(),ue(Be,null,[((i=t.video)==null?void 0:i.videoPlatform)==="youtube"?(J(),ke(wx,{key:0,video:t.video,"play-video":t.playVideo},null,8,["video","play-video"])):pe("",!0),((r=t.video)==null?void 0:r.videoPlatform)==="wistia"?(J(),ke(Sx,{key:1,video:t.video,"play-video":t.playVideo},null,8,["video","play-video"])):pe("",!0),((a=t.video)==null?void 0:a.videoPlatform)==="tencent"?(J(),ke(Tx,{key:2,video:t.video,"play-video":t.playVideo},null,8,["video","play-video"])):pe("",!0),t.videoMp4?(J(),ke(Ix,{key:3,video:t.videoMp4},null,8,["video"])):pe("",!0)],64)}}});const Rx=De({__name:"CeVideoModal",setup(e){const t=Ze();function n(){t.setVideoModalContent(null)}ot(()=>{window.addEventListener("keyup",i)}),yt(()=>{window.removeEventListener("keyup",i)});const i=r=>{r.key==="Escape"&&n()};return(r,a)=>(J(),ke(Ui,{"show-modal":!!we(t).videoModalContent,"show-close-button":!0,"allowed-to-close":!0,class:"c-modal--no-frame",onModalClose:n},{body:He(()=>[ve(Jh,{"play-video":!0,video:we(t).videoModalContent},null,8,["video"])]),_:1},8,["show-modal"]))}}),Bx=e=>(yr("data-v-18834082"),e=e(),br(),e),Fx={key:0},Nx={class:"nav-menu"},jx={key:1,class:"dropdown"},Hx=Bx(()=>he("i",{class:"c-icon icon-chevron-down","aria-hidden":"true"},null,-1)),zx={class:"dropdown-content"},Vx=De({__name:"H01PerformanceDashboard",setup(e){const t=Ze(),n=de(()=>{var m;const o=t.navigation.currentPagePath,l=t.currentLanguage,c=((m=t.site)==null?void 0:m.name)??"",u=`${l}/`,d=`${l}/${c}/`;return o===u||c&&o===d}),i=o=>{var u;if(!o)return{count:0,firstSlug:null};const l=((u=t.site)==null?void 0:u.name)??"",c=o.split("/").filter(d=>d!=="");if(c[0]===t.currentLanguage){const d=c[1]===l?2:1;return c.length>d?c[d]:null}},r=de(()=>{var o,l;try{if(((o=t.site)==null?void 0:o.name)!=="hmvpd"){console.log("Skipping script execution for non-hmvpd site");return}if(!t.navigation||!((l=t.navigation["@nodes"])!=null&&l.length)){console.log("Skipping script execution data not available");return}const c=t.navigation.currentPagePath||"",u=i(c);return Gh(t.navigation[u],t.languages,t.currentLanguage,t.site,t.isPublic)}catch(c){console.error("Error generating navigation:",c);return}}),a=de(()=>{try{const o=t.navigation.currentPagePath||"",l=i(o);return{slugData:"/"+t.currentLanguage+"/"+l+"/",labelData:l}}catch(o){console.error("Error processing menu items:",o);return}}),s=de(()=>{var o;try{return((o=r.value)==null?void 0:o.map(l=>{const c=l.items&&l.items.length>0;return{label:l.label,path:l.path,dropdown:c?l.items.map(u=>({label:u.label,path:u.path})):null}}))??[]}catch(l){console.error("Error processing menu items:",l);return}});return(o,l)=>{const c=ut;return J(),ke(c,null,{default:He(()=>{var u,d;return[n.value?pe("",!0):(J(),ue("nav",Fx,[he("ul",Nx,[he("li",null,[ve(lt,{class:"c-link--small",label:(u=a.value)==null?void 0:u.labelData,link:(d=a.value)==null?void 0:d.slugData},null,8,["label","link"])]),(J(!0),ue(Be,null,Ue(s.value,m=>(J(),ue("li",{key:m.label},[m.dropdown?(J(),ue("div",jx,[ve(lt,{class:"c-link--small dropdown-toggle",label:m.label,link:m.path},null,8,["label","link"]),Hx,he("ul",zx,[(J(!0),ue(Be,null,Ue(m.dropdown,v=>(J(),ue("li",{key:v.label},[ve(lt,{class:"c-link--small",label:v.label,link:v.path},null,8,["label","link"])]))),128))])])):(J(),ke(lt,{key:0,class:"c-link--small",label:m.label,link:m.path},null,8,["label","link"]))]))),128))])]))]}),_:1})}}});const Wx=ze(Vx,[["__scopeId","data-v-18834082"]]),Ux={ref:"page",class:"c-page"},Gx=De({__name:"Layout",setup(e){const t=Ze(),{public:{mgnlPublicHost:n,ssg:i}}=Gt();return(r,a)=>{var s,o,l,c;return J(),ue("div",Ux,[ve(Qk,{ssg:we(i),host:we(n)},null,8,["ssg","host"]),ve(ex),((o=(s=we(t))==null?void 0:s.site)==null?void 0:o.name)==="hmvpd"||((c=(l=we(t))==null?void 0:l.site)==null?void 0:c.name)==="hmcpd"?(J(),ke(Wx,{key:0})):pe("",!0),nt(r.$slots,"default",{},void 0,!0),ve(hx),ve(Rx),ve(RC)],512)}}});const Mr=ze(Gx,[["__scopeId","data-v-04380610"]]),qx=Object.freeze(Object.defineProperty({__proto__:null,default:Mr},Symbol.toStringTag,{value:"Module"})),Yx={intro:Object,main:Object,title:String},Xx={__name:"T01StandardPage",props:Yx,setup(e){return(t,n)=>(J(),ke(Mr,null,{default:He(()=>[t.intro?(J(),ke(we(jt),{key:0,content:t.intro,class:"c-page__area c-page__area--intro"},null,8,["content"])):pe("",!0),ve(Ww),t.main?(J(),ke(we(jt),{key:1,content:t.main,class:"c-page__area"},null,8,["content"])):pe("",!0)]),_:1}))}},Uc=Xx,Qx={intro:Object,main:Object,title:String,relatedContent:Object},os={__name:"T04ProductDetailPage",props:Qx,setup(e){return(t,n)=>(J(),ke(Mr,null,{default:He(()=>[t.intro?(J(),ke(we(jt),{key:0,content:t.intro,class:"c-page__area c-page__area--intro"},null,8,["content"])):pe("",!0),t.main?(J(),ke(we(jt),{key:1,content:t.main,class:"c-page__area"},null,8,["content"])):pe("",!0),t.relatedContent?(J(),ke(we(jt),{key:2,content:t.relatedContent,class:"c-page__area"},null,8,["content"])):pe("",!0)]),_:1}))}};var Kx,Zx=()=>Kx;function Jx(e){return typeof e=="function"?e():we(e)}function eo(e,t=""){if(e instanceof Promise)return e;const n=Jx(e);return!e||!n?n:Array.isArray(n)?n.map(i=>eo(i,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([i,r])=>i==="titleTemplate"||i.startsWith("on")?[i,we(r)]:[i,eo(r,i)])):n}var eS=typeof window<"u",tS="usehead";function qo(){return Fn()&&it(tS)||Zx()}function nS(e,t={}){const n=qo(),i=be(!1),r=be({});dn(()=>{r.value=i.value?{}:eo(e)});const a=n.push(r.value,t);return Qe(r,o=>{a.patch(o)}),Fn()&&(yt(()=>{a.dispose()}),co(()=>{i.value=!0}),uo(()=>{i.value=!1})),a}function iS(e,t={}){return qo().push(e,t)}function rS(e,t={}){var i;const n=qo();if(n){const r=eS||!!((i=n.resolvedOptions)!=null&&i.document);return t.mode==="server"&&r||t.mode==="client"&&!r?void 0:r?nS(e,t):iS(e,t)}}var aS=e=>typeof e=="function",sS=e=>{if(!e)return;const t=de(()=>aS(e)?e():e);rS(()=>t.value?{script:[{type:"application/ld+json",children:JSON.stringify(t.value,null,"")}]}:{})};const oS={intro:Object,main:Object,title:String,cta:Object,relatedContent:Object};var rn=(e=>(e.DEFAULT="default",e.CINEMA="Cinema",e.PORTRAIT_3_4="Portrait_3_4",e.LANDSCAPE_3_2="Landscape_3_2",e.LANDSCAPE_4_1="Landscape_4_1",e))(rn||{}),Re=(e=>(e[e.W600=600]="W600",e[e.W800=800]="W800",e[e.W1000=1e3]="W1000",e[e.W1200=1200]="W1200",e[e.W1400=1400]="W1400",e[e.W1648=1648]="W1648",e[e.W1800=1800]="W1800",e))(Re||{});const lS=(e,t,n)=>{let i=[{mq:"xs",mimeType:n,uri:Ut(e,t,e.sizes.xs[0]),retinaUri:Ut(e,t,e.sizes.xs[1])}];return e.sizes.sm&&i.unshift({mq:"sm",mimeType:n,uri:Ut(e,t,e.sizes.sm[0]),retinaUri:Ut(e,t,e.sizes.sm[1])}),e.sizes.md&&i.unshift({mq:"md",mimeType:n,uri:Ut(e,t,e.sizes.md[0]),retinaUri:Ut(e,t,e.sizes.md[1])}),e.sizes.lg&&i.unshift({mq:"lg",mimeType:n,uri:Ut(e,t,e.sizes.lg[0]),retinaUri:Ut(e,t,e.sizes.lg[1])}),e.sizes.xl&&i.unshift({mq:"xl",mimeType:n,uri:Ut(e,t,e.sizes.xl[0]),retinaUri:Ut(e,t,e.sizes.xl[1])}),e.sizes.xxl&&i.unshift({mq:"xxl",mimeType:n,uri:Ut(e,t,e.sizes.xxl[0]),retinaUri:Ut(e,t,e.sizes.xxl[1])}),i},Nn=(e,t,n,i,r,a,s)=>{try{const{_linkPattern:o,metadata:{title:l,caption:c,source:u,mimeType:d,width:m,height:v}}=t;return{link:Ut(e,o),alternative:n||"",title:l,caption:r?i||c:void 0,source:a?u:void 0,sourceColor:a?s:void 0,mimeType:d,ratio:cS(m,v,e.crop),variants:lS(e,o,d)}}catch{console.warn("Can't resolve image: ",Object.values(t).join(""));return}},Ut=(e,t,n=600)=>e.crop==="default"?t==null?void 0:t.default.replace("{width}",n):t==null?void 0:t.area.replace("{crop}",e.crop).replace("{width}",n),cS=(e,t,n)=>{switch(n){case"Cinema":return(16/9).toString();case"Portrait_3_4":return(3/4).toString();case"Landscape_3_2":return(3/2).toString();case"Landscape_4_1":return(4/1).toString();default:return(e/t).toString()}},uS=(e,t)=>{switch(t){case"Cinema":return e/16*9;case"Portrait_3_4":return e/3*4;case"Landscape_3_2":return e/3*2;case"Landscape_4_1":return e/4*1;default:return 0}},dS=De({__name:"T06NewsDetailPage",props:oS,setup(e){var a,s,o,l;const t=e,n={sizes:{xs:[Re.W1200]},crop:rn.DEFAULT},i=de(()=>{var u,d;const c=(d=t.intro)==null?void 0:d[(u=t.intro)==null?void 0:u[["@nodes"][0]]];return{headline:c==null?void 0:c.headline,image:c==null?void 0:c.image,releaseDate:c==null?void 0:c.releaseDate,lastModified:c==null?void 0:c.lastModified}}),r=(a=i.value.image)!=null&&a._linkPattern?[Ut(n,(s=i.value.image)==null?void 0:s._linkPattern,Re.W1200),Ut({...n,crop:rn.LANDSCAPE_3_2},(o=i.value.image)==null?void 0:o._linkPattern,Re.W1200),Ut({...n,crop:rn.CINEMA},(l=i.value.image)==null?void 0:l._linkPattern,Re.W1000)]:void 0;return sS(()=>({"@context":"https://schema.org","@type":"NewsArticle",headline:i.value.headline,image:r,releaseDate:i.value.releaseDate,lastModified:i.value.lastModified})),(c,u)=>(J(),ke(Mr,null,{default:He(()=>[c.intro?(J(),ke(we(jt),{key:0,content:c.intro,class:"c-page__area c-page__area--intro"},null,8,["content"])):pe("",!0),c.main?(J(),ke(we(jt),{key:1,content:c.main,class:"c-page__area"},null,8,["content"])):pe("",!0),c.cta?(J(),ke(we(jt),{key:2,content:c.cta,class:"c-page__area"},null,8,["content"])):pe("",!0),c.relatedContent?(J(),ke(we(jt),{key:3,content:c.relatedContent,class:"c-page__area"},null,8,["content"])):pe("",!0)]),_:1}))}}),hS={variant:String,topline:String,headline:String,backgroundColor:String,slides:Object};function Fa(e){for(const t of Object.keys(e)){typeof e[t]=="object"&&(Array.isArray(e[t])?e[t]=fS(e[t]):e[t]=Fa(e[t]));let n="";t.startsWith("@")?n=t.substring(1,t.length).replace(":","_"):t.indexOf(":")>-1&&(n=t.replace(":","_")),n.length>0&&(e[n]||(e[n]=e[t]))}return e}function fS(e){return e.map(t=>Fa(t))}function Na(e){return Object.keys(e).filter(t=>!t.includes("@")&&!t.includes("mgnl:")).reduce((t,n)=>({...t,[n]:e[n]}),{})}function ef(e){if(!e)return[];let t=[];return e!=null&&e["@nodes"]?e["@nodes"].forEach(n=>{const i=e[n];i["@id"]!==void 0&&(i.id=i["@id"]);const r=Na(i);t.push(r)}):t.push(...e),t}const pS={headline:String,text:String,cta:Object,image:Object,imageAltText:String,imageSourceColor:String,imageShowSource:Boolean,variant:String},mS={hoverTransition:Boolean,showSourceBelowImage:Boolean,picture:Object,videoMp4:Object,video:Object},gS={showSourceBelowImage:Boolean,picture:Object},vS=["media","type","srcset"],yS=["srcset","src","type","alt","title"],bS=De({__name:"CePicture",props:gS,setup(e){const t=e,n=de(()=>{var l,c;return(c=(l=t.picture)==null?void 0:l.variants)==null?void 0:c.filter(u=>u.mq!=="xs")}),i=de(()=>{var l,c;return(c=(l=t.picture)==null?void 0:l.variants)==null?void 0:c.find(u=>u.mq==="xs")}),r=de(()=>{var l,c;return(l=t.picture)!=null&&l.ratio?`height: 0; padding-bottom: ${100/Number((c=t.picture)==null?void 0:c.ratio)}%`:""}),a=de(()=>{var l,c;return(l=t.picture)!=null&&l.sourceColor?`c-picture__source--${(c=t.picture)==null?void 0:c.sourceColor}`:""});function s(l){if(!l)return;const{uri:c,retinaUri:u}=l,d=c;return u?`${d},  ${u} 2x`:d}function o(l){return`(min-width: ${Ai(l)}px)`}return(l,c)=>{var u,d,m,v,h,f;return J(),ue("div",{class:Ne(["c-picture",{"is-with-outline":(u=l.picture)==null?void 0:u.showImgOutline}])},[he("picture",{class:"c-picture__element",style:kn(r.value)},[(J(!0),ue(Be,null,Ue(n.value,(w,_)=>(J(),ue("source",{key:_,media:o(w.mq),type:w.mimeType,srcset:s(w)},null,8,vS))),128)),he("img",{srcset:s(i.value),src:(d=l.picture)==null?void 0:d.link,type:(m=l.picture)==null?void 0:m.mimeType,alt:(v=l.picture)==null?void 0:v.alternative,title:((h=l.picture)==null?void 0:h.title)||"",class:"c-image"},null,8,yS)],4),(f=l.picture)!=null&&f.source&&!l.showSourceBelowImage?(J(),ue("span",{key:0,class:Ne(["c-picture__source",a.value])},Oe(l.picture.source),3)):pe("",!0)],2)}}});const tf=ze(bS,[["__scopeId","data-v-f37a6f6f"]]),_S={key:2,class:"c-figure__info"},wS={key:0,class:"c-figure__source"},kS={key:1,class:"c-figure__caption"},CS=De({__name:"CeFigure",props:mS,setup(e){const t=e,n=de(()=>t.hoverTransition?" has-transition":""),i=de(()=>{var s;return((s=t.picture)==null?void 0:s.source)&&t.showSourceBelowImage}),r=de(()=>{var s,o,l;return!!((s=t.picture)!=null&&s.caption)||!!((o=t.video)!=null&&o.videoCaption)||!!((l=t.videoMp4)!=null&&l.videoCaption)}),a=de(()=>!!i.value||!!r.value);return(s,o)=>{var l,c,u,d;return J(),ue("figure",{class:Ne(["c-figure",n.value])},[s.picture?(J(),ke(tf,{key:0,picture:s.picture,"show-source-below-image":s.showSourceBelowImage},null,8,["picture","show-source-below-image"])):pe("",!0),s.video||s.videoMp4?(J(),ke(Jh,{key:1,video:s.video,"video-mp4":s.videoMp4},null,8,["video","video-mp4"])):pe("",!0),a.value?(J(),ue("div",_S,[i.value?(J(),ue("span",wS,Oe((l=s.picture)==null?void 0:l.source),1)):pe("",!0),r.value?(J(),ue("figcaption",kS,Oe(((c=s.picture)==null?void 0:c.caption)||((u=s.video)==null?void 0:u.videoCaption)||((d=s.videoMp4)==null?void 0:d.videoCaption)),1)):pe("",!0)])):pe("",!0)],2)}}});const jn=ze(CS,[["__scopeId","data-v-54921225"]]),xS={class:"c-slide"},SS={class:"c-slide__text-box"},AS=["innerHTML"],ES=["innerHTML"],PS={key:0,class:"c-slide__media-box"},TS=De({__name:"CeSlide",props:pS,setup(e){const t=e,n=de(()=>t.variant==="halfWidth"?" is-half-width":" is-full-width"),i=de(()=>{const r={sizes:{xs:[Re.W600,Re.W1000],sm:[Re.W800,Re.W1200],md:[Re.W1000,Re.W1400],lg:[Re.W1400,Re.W1648],xl:[Re.W1648,Re.W1648]},crop:rn.CINEMA};return t.image?Nn(r,t.image,t.imageAltText,void 0,!1,t.imageShowSource,t.imageSourceColor):void 0});return(r,a)=>(J(),ue("div",xS,[he("div",{class:Ne(["c-slide__grid",n.value])},[he("div",SS,[r.headline?(J(),ue("h2",{key:0,class:"c-slide__headline",innerHTML:r.headline},null,8,AS)):pe("",!0),r.text?(J(),ue("div",{key:1,class:"c-slide__text","data-qa":"text",innerHTML:r.text},null,8,ES)):pe("",!0),r.cta?(J(),ke(lt,{key:2,label:r.cta.text,link:r.cta.link.clientPageLink||r.cta.link.href,class:"c-link--cta-primary c-link--cta-big"},null,8,["label","link"])):pe("",!0)]),i.value?(J(),ue("div",PS,[ve(jn,{picture:i.value},null,8,["picture"])])):pe("",!0)],2)]))}});const MS=ze(TS,[["__scopeId","data-v-7af508ae"]]),LS={class:"c-stage"},$S={key:0,class:"c-stage__topline"},OS=["innerHTML"],DS={class:"c-stage__slider-nav"},IS=De({__name:"C03Stage",props:hS,setup(e){Ep(m=>({"74bcd538":o.value}));const t=e,n=[Pp,Tp],i=de(()=>t.variant==="halfWidth"?" is-half-width":" is-full-width"),r=de(()=>t.backgroundColor==="default"?" is-bg-primary":" is-bg-gray"),a=de(()=>ef(t.slides)),s=be(null),o=be("");function l(m=12){const v=s.value?s.value.clientWidth:0,h=window.innerWidth>=Ai("xl")?32:24,f=(v-11*h)/12,w=m-1;return m===12?v:f*m+w*h}function c(){let m=l();t.variant==="halfWidth"&&Wi(window.innerWidth)==="lg"?m=l(6):t.variant==="halfWidth"&&window.innerWidth>=Ai("xl")&&(m=l(7)),o.value=`${uS(m,"Cinema")}px`}const u=be("");function d(){u.value=window.innerWidth>=Ai("xl")?"c-button--big":"c-button--small"}return ot(()=>{c(),d(),window.addEventListener("resize",Mt.debounce(c,200),!0),window.addEventListener("resize",Mt.debounce(d,200),!0)}),yt(()=>{window.removeEventListener("resize",Mt.debounce(c,200),!0),window.removeEventListener("resize",Mt.debounce(d,200),!0)}),(m,v)=>{const h=ba,f=_a;return J(),ke(ut,null,{default:He(()=>[he("div",LS,[he("div",{ref_key:"stageGrid",ref:s,class:"c-stage__grid"},[he("div",{class:Ne(["c-stage__heading",i.value])},[m.topline?(J(),ue("div",$S,Oe(m.topline),1)):pe("",!0),m.headline?(J(),ue("h1",{key:1,class:"c-stage__headline",innerHTML:m.headline},null,8,OS)):pe("",!0)],2),he("div",{class:Ne(["c-stage__slider-box",i.value,r.value])},[ve(f,{modules:n,"slides-per-view":1,"space-between":8,breakpoints:{[we(Ai)("sm")]:{spaceBetween:16},[we(Ai)("md")]:{spaceBetween:0}},loop:!0,"auto-height":!0,navigation:{nextEl:".c-stage__slider-nav-next",prevEl:".c-stage__slider-nav-previous"},pagination:!0},{default:He(()=>[(J(!0),ue(Be,null,Ue(a.value,w=>(J(),ke(h,{key:w.id},{default:He(()=>[ve(MS,Ke({ref_for:!0},w,{variant:m.variant}),null,16,["variant"])]),_:2},1024))),128)),he("div",DS,[ve(Je,{icon:"chevron-left",class:Ne(["c-stage__slider-nav-previous c-button--secondary c-button--simple",u.value]),label:"Go to previous slide"},null,8,["class"]),ve(Je,{icon:"chevron-right",class:Ne(["c-stage__slider-nav-next c-button--secondary c-button--simple",u.value]),label:"Go to next slide"},null,8,["class"])])]),_:1},8,["breakpoints"])],2)],512)])]),_:1})}}});const RS=ze(IS,[["__scopeId","data-v-683673fc"]]),BS={topline:String,headline:String,intro:String,backgroundColor:String,imageShowSource:Boolean,textColor:String,cta:Object,backgroundImage:Object,_backgroundImagePath:String,video:Object},FS={key:0,class:"c-intro-home__video-box"},NS={key:0,class:"c-intro-home__topline"},jS=["innerHTML"],HS={key:3,class:"c-intro-home__media-source"},zS={class:"c-intro-home__grid"},VS=["innerHTML"],WS=De({__name:"C44IntroHome",props:BS,setup(e){const t=e,n=Ze(),i=de(()=>t._backgroundImagePath?`background-image: url(${t._backgroundImagePath})`:void 0),r=de(()=>t.backgroundColor==="default"?" is-bg-primary":" is-bg-pale-gray"),a=de(()=>{var u,d,m,v,h,f,w;return((d=(u=t.cta)==null?void 0:u.link)==null?void 0:d.type)==="internal"&&((v=(m=t.cta)==null?void 0:m.link)==null?void 0:v.pageLink)||((h=t.cta)==null?void 0:h.link.type)==="external"&&((w=(f=t.cta)==null?void 0:f.link)==null?void 0:w.href)}),s=function(u){return u.type==="internal"&&u.pageLink?_t(u.pageLink,n.languages,n.currentLanguage,n.site,n.isPublic):u.href||u._downloadLink},o=de(()=>{var u,d,m,v;return((d=(u=t.video)==null?void 0:u.metadata)==null?void 0:d.source)||((v=(m=t.backgroundImage)==null?void 0:m.metadata)==null?void 0:v.source)}),l=de(()=>t.textColor==="dark"?"c-intro-home__text-box--dark":""),c=de(()=>t.textColor?`c-intro-home--${t.textColor}`:"");return(u,d)=>(J(),ke(ut,null,{default:He(()=>{var m,v,h,f;return[he("div",{class:Ne(["c-intro-home",c.value]),style:kn(i.value)},[u.video?(J(),ue("div",FS,[ve(jn,{"video-mp4":u.video},null,8,["video-mp4"])])):pe("",!0),he("div",{class:Ne(["c-intro-home__text-box",l.value])},[u.topline?(J(),ue("div",NS,Oe(u.topline),1)):pe("",!0),u.headline?(J(),ue("h1",{key:1,class:"c-intro-home__headline",innerHTML:u.headline},null,8,jS)):pe("",!0),a.value?(J(),ke(lt,{key:2,class:"c-link--cta-primary c-link--cta-small",label:(m=u.cta)==null?void 0:m.text,link:s((v=u.cta)==null?void 0:v.link),target:(f=(h=u.cta)==null?void 0:h.link)==null?void 0:f.target,icon:"chevron-right"},null,8,["label","link","target"])):pe("",!0),u.imageShowSource&&o.value?(J(),ue("span",HS,Oe(o.value),1)):pe("",!0)],2)],6),u.intro?(J(),ue("div",{key:0,class:Ne(["c-intro-home__description-box",r.value])},[he("div",zS,[he("div",{class:"c-intro-home__description",innerHTML:u.intro},null,8,VS)])],2)):pe("",!0)]}),_:1}))}});const US=ze(WS,[["__scopeId","data-v-9e44d7cc"]]),Pi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Gc="=".charCodeAt(0),Zi=new Uint8Array(256);for(let e=0;e<Pi.length;e++)Zi[Pi.charCodeAt(e)]=e;function qc(e){const t=e.length;let n="";for(let i=0;i<t;i+=3){const r=e[i+0],a=e[i+1],s=e[i+2];n+=Pi.charAt(r>>>2),n+=Pi.charAt((r&3)<<4|a>>>4),n+=Pi.charAt((a&15)<<2|s>>>6),n+=Pi.charAt(s&63)}return t%3===2?n=n.substring(0,n.length-1)+"=":t%3===1&&(n=n.substring(0,n.length-2)+"=="),n}function GS(e){const t=e.length;let n=t*3>>>2;e.charCodeAt(t-1)===Gc&&n--,e.charCodeAt(t-2)===Gc&&n--;const i=new Uint8Array(n);for(let r=0,a=0;r<t;r+=4){const s=Zi[e.charCodeAt(r+0)],o=Zi[e.charCodeAt(r+1)],l=Zi[e.charCodeAt(r+2)],c=Zi[e.charCodeAt(r+3)];i[a++]=s<<2|o>>4,i[a++]=(o&15)<<4|l>>2,i[a++]=(l&3)<<6|c&63}return i}var qS=".frc-captcha *{margin:0;padding:0;border:0;text-align:initial;border-radius:px;filter:none!important;transition:none!important;font-weight:400;font-size:14px;line-height:1.2;text-decoration:none;background-color:initial;color:#222}.frc-captcha{position:relative;width:312px;border:1px solid #f4f4f4;padding-bottom:12px;background-color:#fff}.frc-captcha b{font-weight:700}.frc-container{display:flex;align-items:center;min-height:52px}.frc-icon{fill:#222;stroke:#222;flex-shrink:0;margin:8px 8px 0}.frc-icon.frc-warning{fill:#c00}.frc-success .frc-icon{animation:1s ease-in both frc-fade-in}.frc-content{white-space:nowrap;display:flex;flex-direction:column;margin:4px 6px 0 0;overflow-x:auto;flex-grow:1}.frc-banner{position:absolute;bottom:0;right:6px;line-height:1}.frc-banner *{font-size:10px;opacity:.8;text-decoration:none}.frc-progress{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:3px 0;height:4px;border:none;background-color:#eee;color:#222;width:100%;transition:.5s linear}.frc-progress::-webkit-progress-bar{background:#eee}.frc-progress::-webkit-progress-value{background:#222}.frc-progress::-moz-progress-bar{background:#222}.frc-button{cursor:pointer;padding:2px 6px;background-color:#f1f1f1;border:1px solid transparent;text-align:center;font-weight:600;text-transform:none}.frc-button:focus{border:1px solid #333}.frc-button:hover{background-color:#ddd}.frc-captcha-solution{display:none}.frc-err-url{text-decoration:underline;font-size:.9em}.dark.frc-captcha{color:#fff;background-color:#222;border-color:#333}.dark.frc-captcha *{color:#fff}.dark.frc-captcha button{background-color:#444}.dark .frc-icon{fill:#fff;stroke:#fff}.dark .frc-progress{background-color:#444}.dark .frc-progress::-webkit-progress-bar{background:#444}.dark .frc-progress::-webkit-progress-value{background:#ddd}.dark .frc-progress::-moz-progress-bar{background:#ddd}@keyframes frc-fade-in{from{opacity:0}to{opacity:1}}";const YS=1,XS=128,nf='<circle cx="12" cy="12" r="8" stroke-width="3" stroke-dasharray="15 10" fill="none" stroke-linecap="round" transform="rotate(0 12 12)"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="0.9s" values="0 12 12;360 12 12"/></circle>',rf='<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/>';function Gi(e,t,n,i,r,a=!1,s,o){return`<div class="frc-container${o?" "+o:""}">
<svg class="frc-icon" role="img" xmlns="http://www.w3.org/2000/svg" height="32" width="32" viewBox="0 0 24 24">${t}</svg>
<div class="frc-content">
    <span class="frc-text" ${s?`title="${s}"`:""}>${n}</span>
    ${r?`<button type="button" class="frc-button">${r}</button>`:""}
    ${a?'<progress class="frc-progress" value="0">0%</progress>':""}
</div>
</div><span class="frc-banner"><a href="https://friendlycaptcha.com/" rel="noopener" target="_blank"><b>Friendly</b>Captcha ⇗</a></span>
<input name="${e}" class="frc-captcha-solution" type="hidden" value="${i}">`}function QS(e,t){return Gi(e,'<path d="M17,11c0.34,0,0.67,0.04,1,0.09V6.27L10.5,3L3,6.27v4.91c0,4.54,3.2,8.79,7.5,9.82c0.55-0.13,1.08-0.32,1.6-0.55 C11.41,19.47,11,18.28,11,17C11,13.69,13.69,11,17,11z"/><path d="M17,13c-2.21,0-4,1.79-4,4c0,2.21,1.79,4,4,4s4-1.79,4-4C21,14.79,19.21,13,17,13z M17,14.38"/>',t.text_ready,".UNSTARTED",t.button_start,!1)}function KS(e,t){return Gi(e,nf,t.text_fetching,".FETCHING",void 0,!0)}function ZS(e,t){return Gi(e,nf,t.text_solving,".UNFINISHED",void 0,!0)}function JS(e,t,n,i){const r=`Completed: ${i.t.toFixed(0)}s (${(i.h/i.t*.001).toFixed(0)}K/s)${i.solver===YS?" JS Fallback":""}`;return Gi(e,`<title>${r}</title><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z"></path>`,t.text_completed,n,void 0,!1,r,"frc-success")}function eA(e,t){return Gi(e,rf,t.text_expired,".EXPIRED",t.button_restart)}function Nr(e,t,n,i=!0,r=!1){return Gi(e,rf,`<b>${t.text_error}</b><br>${n}`,r?".HEADLESS_ERROR":".ERROR",i?t.button_retry:void 0)}function tA(){if(!document.querySelector("#frc-style")){const e=document.createElement("style");e.id="frc-style",e.innerHTML=qS,document.head.appendChild(e)}}function nA(e,t){const n=e.querySelector(".frc-progress"),i=(t.i+1)/t.n;n&&(n.value=i,n.innerText=i.toFixed(2)+"%",n.title=t.i+1+"/"+t.n+" ("+(t.h/t.t*.001).toFixed(0)+"K/s)")}function iA(e){for(;e.tagName!=="FORM";)if(e=e.parentElement,!e)return null;return e}function rA(e,t){e.addEventListener("focusin",t,{once:!0,passive:!0})}let An,qr;typeof navigator<"u"&&(An=navigator,qr=An.userAgent.toLowerCase());function aA(){let e=!0;try{e=PluginArray.prototype===An.plugins.__proto__,An.plugins.length>0&&(e=e&&Plugin.prototype===An.plugins[0].__proto__)}catch{}return qr.indexOf("headless")!==-1||An.appVersion.indexOf("Headless")!==-1||qr.indexOf("bot")!==-1||qr.indexOf("crawl")!==-1||An.webdriver===!0||!An.language||An.languages!==void 0&&!An.languages.length||!e}function sA(e){return e>255?e=255:e<0&&(e=0),Math.pow(2,(255.999-e)/8)>>>0}const oA=13,lA=14,cA=15;function uA(e,t){const n=[];for(let i=0;i<t;i++){const r=new Uint8Array(XS);r.set(e),r[120]=i,n.push(r)}return n}function dA(e){const t=e.split("."),n=t[1],i=GS(n);return{signature:t[0],base64:n,buffer:i,n:i[lA],threshold:sA(i[cA]),expiry:i[oA]*3e5}}async function hA(e,t,n){const i=e.split(",");for(let r=0;r<i.length;r++)try{const a=await af(i[r]+"?sitekey="+t,{headers:[["x-frc-client","js-0.9.0"]],mode:"cors"},2);if(a.ok)return(await a.json()).data.puzzle;{let s;try{s=await a.json()}catch{}if(s&&s.errors&&s.errors[0]==="endpoint_not_enabled")throw Error(`Endpoint not allowed (${a.status})`);if(r===i.length-1)throw Error(`Response status ${a.status} ${a.statusText}`)}}catch(a){throw console.error("[FriendlyCaptcha]:",a),Error(`${n.text_fetch_error} <a class="frc-err-url" href="${i[r]}">${i[r]}</a>`)}throw Error("Internal error")}async function af(e,t,n){let i=1e3;return fetch(e,t).catch(async r=>{if(n===0)throw r;return await new Promise(a=>setTimeout(a,i)),i*=4,af(e,t,n-1)})}const fA={text_init:"Initializing..",text_ready:"Anti-Robot Verification",button_start:"Click to start verification",text_fetching:"Fetching Challenge",text_solving:"Verifying you are human..",text_completed:"I am human",text_expired:"Anti-Robot verification expired",button_restart:"Restart",text_error:"Verification failed",button_retry:"Retry",text_fetch_error:"Failed to connect to"},pA={text_init:"Chargement..",text_ready:"Verification Anti-Robot",button_start:"Cliquez ici pour vérifier",text_fetching:"Chargement du challenge",text_solving:"Vérification que vous êtes humain..",text_completed:"Je suis humain",text_expired:"Verification échue",button_restart:"Recommencer",text_error:"Echec de verification",button_retry:"Recommencer",text_fetch_error:"Problème de connexion avec"},mA={text_init:"Initialisierung..",text_ready:"Anti-Roboter-Verifizierung",button_start:"Hier klicken",text_fetching:"Herausforderung laden..",text_solving:"Verifizierung, dass Sie ein Mensch sind..",text_completed:"Ich bin ein Mensch",text_expired:"Verifizierung abgelaufen",button_restart:"Erneut starten",text_error:"Verifizierung fehlgeschlagen",button_retry:"Erneut versuchen",text_fetch_error:"Verbindungsproblem mit"},gA={text_init:"Initializeren..",text_ready:"Anti-robotverificatie",button_start:"Klik om te starten",text_fetching:"Aan het laden..",text_solving:"Anti-robotverificatie bezig..",text_completed:"Ik ben een mens",text_expired:"Verificatie verlopen",button_restart:"Opnieuw starten",text_error:"Verificatie mislukt",button_retry:"Opnieuw proberen",text_fetch_error:"Verbinding mislukt met"},vA={text_init:"Inizializzazione...",text_ready:"Verifica Anti-Robot",button_start:"Clicca per iniziare",text_fetching:"Caricamento...",text_solving:"Verificando che sei umano...",text_completed:"Non sono un robot",text_expired:"Verifica Anti-Robot scaduta",button_restart:"Ricomincia",text_error:"Verifica fallita",button_retry:"Riprova",text_fetch_error:"Problema di connessione con"},yA={text_init:"Inicializando..",text_ready:"Verificação Anti-Robô",button_start:"Clique para iniciar verificação",text_fetching:"Carregando..",text_solving:"Verificando se você é humano..",text_completed:"Eu sou humano",text_expired:"Verificação Anti-Robô expirada",button_restart:"Reiniciar",text_error:"Verificação falhou",button_retry:"Tentar novamente",text_fetch_error:"Falha de conexão com"},bA={text_init:"Inicializando..",text_ready:"Verificación Anti-Robot",button_start:"Haga clic para iniciar la verificación",text_fetching:"Cargando desafío",text_solving:"Verificando que eres humano..",text_completed:"Soy humano",text_expired:"Verificación Anti-Robot expirada",button_restart:"Reiniciar",text_error:"Ha fallado la verificación",button_retry:"Intentar de nuevo",text_fetch_error:"Error al conectarse a"},_A={text_init:"Inicialitzant...",text_ready:"Verificació Anti-Robot",button_start:"Fes clic per començar la verificació",text_fetching:"Carregant repte",text_solving:"Verificant que ets humà..",text_completed:"Soc humà",text_expired:"La verificació Anti-Robot ha expirat",button_restart:"Reiniciar",text_error:"Ha fallat la verificació",button_retry:"Tornar a provar",text_fetch_error:"Error connectant a"},wA={text_init:"開始しています...",text_ready:"アンチロボット認証",button_start:"クリックして認証を開始",text_fetching:"ロードしています",text_solving:"認証中...",text_completed:"私はロボットではありません",text_expired:"認証の期限が切れています",button_restart:"再度認証を行う",text_error:"認証にエラーが発生しました",button_retry:"再度認証を行う",text_fetch_error:"接続ができませんでした"},kA={text_init:"Initialiserer..",text_ready:"Anti-robot verifikation",button_start:"Klik for at starte verifikationen",text_fetching:"Henter udfordring",text_solving:"Bekræfter, at du er menneske..",text_completed:"Jeg er menneske",text_expired:"Anti-Robot-verifikation er udløbet",button_restart:"Genstart",text_error:"Bekræftelse mislykkedes",button_retry:"Prøv igen",text_fetch_error:"Det lykkedes ikke at oprette forbindelse til"},ls={en:fA,de:mA,nl:gA,fr:pA,it:vA,pt:yA,es:bA,ca:_A,ja:wA,da:kA};function CA(e,t){const n=new Uint8Array(3),i=new DataView(n.buffer);return i.setUint8(0,e),i.setUint16(1,t),n}var xA='!function(){"use strict";const A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",I="=".charCodeAt(0),g=new Uint8Array(256);for(let I=0;I<A.length;I++)g[A.charCodeAt(I)]=I;function C(A){const I={},g=A.exports,C=g.memory,t=g.__alloc,B=g.__retain,Q=g.__rtti_base||-1;return I.__allocArray=(A,I)=>{const g=function(A){return new Uint32Array(C.buffer)[(Q+4>>>2)+2*A]}(A),e=31-Math.clz32(g>>>6&31),r=I.length,i=t(r<<e,0),o=t(12,A),n=new Uint32Array(C.buffer);n[o+0>>>2]=B(i),n[o+4>>>2]=i,n[o+8>>>2]=r<<e;const E=C.buffer,s=new Uint8Array(E);if(16384&g)for(let A=0;A<r;++A)s[(i>>>e)+A]=B(I[A]);else s.set(I,i>>>e);return o},I.__getUint8Array=A=>{const I=new Uint32Array(C.buffer),g=I[A+4>>>2];return new Uint8Array(C.buffer,g,I[g-4>>>2]>>>0)},function(A,I={}){const g=A.__argumentsLength?I=>{A.__argumentsLength.value=I}:A.__setArgumentsLength||A.__setargc||(()=>({}));for(const C in A){if(!Object.prototype.hasOwnProperty.call(A,C))continue;const t=A[C],B=C.split(".")[0];"function"==typeof t&&t!==g?(I[B]=(...A)=>(g(A.length),t(...A))).original=t:I[B]=t}return I}(g,I)}class t{constructor(A){this.b=new Uint8Array(128),this.h=new Uint32Array(16),this.t=0,this.c=0,this.v=new Uint32Array(32),this.m=new Uint32Array(32),this.outlen=A}}function B(A,I){return A[I]^A[I+1]<<8^A[I+2]<<16^A[I+3]<<24}function Q(A,I,g,C,t,B,Q,e){const r=I[Q],i=I[Q+1],o=I[e],n=I[e+1];let E,s,w,a,c=A[g],D=A[g+1],f=A[C],h=A[C+1],l=A[t],y=A[t+1],U=A[B],M=A[B+1];E=c+f,s=(c&f|(c|f)&~E)>>>31,c=E,D=D+h+s,E=c+r,s=(c&r|(c|r)&~E)>>>31,c=E,D=D+i+s,w=U^c,a=M^D,U=a,M=w,E=l+U,s=(l&U|(l|U)&~E)>>>31,l=E,y=y+M+s,w=f^l,a=h^y,f=w>>>24^a<<8,h=a>>>24^w<<8,E=c+f,s=(c&f|(c|f)&~E)>>>31,c=E,D=D+h+s,E=c+o,s=(c&o|(c|o)&~E)>>>31,c=E,D=D+n+s,w=U^c,a=M^D,U=w>>>16^a<<16,M=a>>>16^w<<16,E=l+U,s=(l&U|(l|U)&~E)>>>31,l=E,y=y+M+s,w=f^l,a=h^y,f=a>>>31^w<<1,h=w>>>31^a<<1,A[g]=c,A[g+1]=D,A[C]=f,A[C+1]=h,A[t]=l,A[t+1]=y,A[B]=U,A[B+1]=M}const e=[4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225],r=[0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6,22,16,24,0,10,4,30,26,20,28,6,12,14,2,18,8,14,18,6,2,26,24,22,28,4,12,10,20,8,0,30,16,18,0,10,14,4,8,20,30,28,2,22,24,12,16,6,26,4,24,12,20,0,22,16,6,8,26,14,10,30,28,2,18,24,10,2,30,28,26,8,20,0,14,12,6,18,4,16,22,26,22,14,28,24,2,6,18,10,0,30,8,16,12,4,20,12,30,28,18,22,6,0,16,24,4,26,14,2,8,20,10,20,4,16,8,14,12,2,10,30,22,18,28,6,24,26,0,0,2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,28,20,8,16,18,30,26,12,2,24,0,4,22,14,10,6];function i(A,I){const g=A.v,C=A.m;for(let I=0;I<16;I++)g[I]=A.h[I],g[I+16]=e[I];g[24]=g[24]^A.t,g[25]=g[25]^A.t/4294967296,I&&(g[28]=~g[28],g[29]=~g[29]);for(let I=0;I<32;I++)C[I]=B(A.b,4*I);for(let A=0;A<12;A++)Q(g,C,0,8,16,24,r[16*A+0],r[16*A+1]),Q(g,C,2,10,18,26,r[16*A+2],r[16*A+3]),Q(g,C,4,12,20,28,r[16*A+4],r[16*A+5]),Q(g,C,6,14,22,30,r[16*A+6],r[16*A+7]),Q(g,C,0,10,20,30,r[16*A+8],r[16*A+9]),Q(g,C,2,12,22,24,r[16*A+10],r[16*A+11]),Q(g,C,4,14,16,26,r[16*A+12],r[16*A+13]),Q(g,C,6,8,18,28,r[16*A+14],r[16*A+15]);for(let I=0;I<16;I++)A.h[I]=A.h[I]^g[I]^g[I+16]}function o(A,I){for(let I=0;I<16;I++)A.h[I]=e[I];A.b.set(I),A.h[0]^=16842752^A.outlen}async function n(){return(A,I,g=4294967295)=>[A,function(A,I,g){if(128!=A.length)throw Error("Invalid input");const C=A.buffer,B=new DataView(C),Q=new t(32);Q.t=128;const e=B.getUint32(124,!0),r=e+g;for(let g=e;g<r;g++)if(B.setUint32(124,g,!0),o(Q,A),i(Q,!0),Q.h[0]<I)return 0==ASC_TARGET?new Uint8Array(Q.h.buffer):Uint8Array.wrap(Q.h.buffer);return new Uint8Array(0)}(A,I,g)]}let E,s;Uint8Array.prototype.slice||Object.defineProperty(Uint8Array.prototype,"slice",{value:function(A,I){return new Uint8Array(Array.prototype.slice.call(this,A,I))}}),self.ASC_TARGET=0;const w=new Promise((A=>s=A));let a=!1;self.onerror=A=>{self.postMessage({type:"error",message:JSON.stringify(A)})},self.onmessage=async A=>{const t=A.data;try{if("solver"===t.type){if(t.forceJS){E=1;const A=await n();s(A)}else try{E=2;const A=WebAssembly.compile(function(A){const C=A.length;let t=3*C>>>2;A.charCodeAt(C-1)===I&&t--,A.charCodeAt(C-2)===I&&t--;const B=new Uint8Array(t);for(let I=0,t=0;I<C;I+=4){const C=g[A.charCodeAt(I+0)],Q=g[A.charCodeAt(I+1)],e=g[A.charCodeAt(I+2)],r=g[A.charCodeAt(I+3)];B[t++]=C<<2|Q>>4,B[t++]=(15&Q)<<4|e>>2,B[t++]=(3&e)<<6|63&r}return B}("AGFzbQEAAAABKghgAABgAn9/AGADf39/AX9gAX8AYAR/f39/AGAAAX9gAX8Bf2ACf38BfwINAQNlbnYFYWJvcnQABAMMCwcGAwAAAQIFAQIABQMBAAEGFgR/AUEAC38BQQALfwBBAwt/AEHgDAsHbgkGbWVtb3J5AgAHX19hbGxvYwABCF9fcmV0YWluAAIJX19yZWxlYXNlAAMJX19jb2xsZWN0AAQHX19yZXNldAAFC19fcnR0aV9iYXNlAwMNVWludDhBcnJheV9JRAMCDHNvbHZlQmxha2UyYgAKCAELCvgSC5IBAQV/IABB8P///wNLBEAACyMBQRBqIgQgAEEPakFwcSICQRAgAkEQSxsiBmoiAj8AIgVBEHQiA0sEQCAFIAIgA2tB//8DakGAgHxxQRB2IgMgBSADShtAAEEASARAIANAAEEASARAAAsLCyACJAEgBEEQayICIAY2AgAgAkEBNgIEIAIgATYCCCACIAA2AgwgBAsEACAACwMAAQsDAAELBgAjACQBC7sCAQF/AkAgAUUNACAAQQA6AAAgACABakEEayICQQA6AAMgAUECTQ0AIABBADoAASAAQQA6AAIgAkEAOgACIAJBADoAASABQQZNDQAgAEEAOgADIAJBADoAACABQQhNDQAgAEEAIABrQQNxIgJqIgBBADYCACAAIAEgAmtBfHEiAmpBHGsiAUEANgIYIAJBCE0NACAAQQA2AgQgAEEANgIIIAFBADYCECABQQA2AhQgAkEYTQ0AIABBADYCDCAAQQA2AhAgAEEANgIUIABBADYCGCABQQA2AgAgAUEANgIEIAFBADYCCCABQQA2AgwgACAAQQRxQRhqIgFqIQAgAiABayEBA0AgAUEgTwRAIABCADcDACAAQgA3AwggAEIANwMQIABCADcDGCABQSBrIQEgAEEgaiEADAELCwsLcgACfyAARQRAQQxBAhABIQALIAALQQA2AgAgAEEANgIEIABBADYCCCABQfD///8DIAJ2SwRAQcAKQfAKQRJBORAAAAsgASACdCIBQQAQASICIAEQBiAAKAIAGiAAIAI2AgAgACACNgIEIAAgATYCCCAAC88BAQJ/QaABQQAQASIAQQxBAxABQYABQQAQBzYCACAAQQxBBBABQQhBAxAHNgIEIABCADcDCCAAQQA2AhAgAEIANwMYIABCADcDICAAQgA3AyggAEIANwMwIABCADcDOCAAQgA3A0AgAEIANwNIIABCADcDUCAAQgA3A1ggAEIANwNgIABCADcDaCAAQgA3A3AgAEIANwN4IABCADcDgAEgAEIANwOIASAAQgA3A5ABQYABQQUQASIBQYABEAYgACABNgKYASAAQSA2ApwBIAAL3AkCBH8TfiAAKAIEIQIgACgCmAEiAyEFA0AgBEGAAUgEQCAEIAVqIAEgBGopAwA3AwAgBEEIaiEEDAELCyACKAIEKQMAIQ4gAigCBCkDCCEPIAIoAgQpAxAhCSACKAIEKQMYIRAgAigCBCkDICEKIAIoAgQpAyghCyACKAIEKQMwIQwgAigCBCkDOCENQoiS853/zPmE6gAhBkK7zqqm2NDrs7t/IQdCq/DT9K/uvLc8IRNC8e30+KWn/aelfyEIIAApAwhC0YWa7/rPlIfRAIUhEUKf2PnZwpHagpt/IRRClIX5pcDKib5gIRJC+cL4m5Gjs/DbACEVQQAhBANAIARBwAFIBEAgCiAGIBEgDiAKIAMgBEGACGoiAS0AAEEDdGopAwB8fCIOhUIgiiIGfCIRhUIYiiEKIBEgBiAOIAogAyABLQABQQN0aikDAHx8Ig6FQhCKIgZ8IRYgDCATIBIgCSAMIAMgAS0ABEEDdGopAwB8fCIThUIgiiIRfCIShUIYiiEMIA0gCCAVIBAgDSADIAEtAAZBA3RqKQMAfHwiCYVCIIoiEHwiCIVCGIohDSAIIBAgCSANIAMgAS0AB0EDdGopAwB8fCIQhUIQiiIIfCEJIBMgDCADIAEtAAVBA3RqKQMAfHwiFyARhUIQiiIYIBJ8IhEgCCAOIAsgByAUIA8gCyADIAEtAAJBA3RqKQMAfHwiD4VCIIoiB3wiFIVCGIoiCyAUIAcgDyALIAMgAS0AA0EDdGopAwB8fCIPhUIQiiIHfCIShUI/iiIOIAMgAS0ACEEDdGopAwB8fCIThUIgiiIIfCILIBMgCyAOhUIYiiIUIAMgAS0ACUEDdGopAwB8fCIOIAiFQhCKIhV8IhMgFIVCP4ohCyAJIAYgDyAMIBGFQj+KIg8gAyABLQAKQQN0aikDAHx8IgaFQiCKIgh8IgwgBiAMIA+FQhiKIgYgAyABLQALQQN0aikDAHx8Ig8gCIVCEIoiEXwiCCAGhUI/iiEMIBYgByAXIAkgDYVCP4oiCSADIAEtAAxBA3RqKQMAfHwiBoVCIIoiB3wiDSAGIAkgDYVCGIoiFyADIAEtAA1BA3RqKQMAfHwiCSAHhUIQiiIUfCIGIBeFQj+KIQ0gEiAYIBAgCiAWhUI/iiIQIAMgAS0ADkEDdGopAwB8fCIHhUIgiiISfCIKIAcgCiAQhUIYiiIWIAMgAS0AD0EDdGopAwB8fCIQIBKFQhCKIhJ8IgcgFoVCP4ohCiAEQRBqIQQMAQsLIAIoAgQgAigCBCkDACAGIA6FhTcDACACKAIEIAIoAgQpAwggByAPhYU3AwggAigCBCACKAIEKQMQIAkgE4WFNwMQIAIoAgQgAigCBCkDGCAIIBCFhTcDGCACKAIEIAIoAgQpAyAgCiARhYU3AyAgAigCBCACKAIEKQMoIAsgFIWFNwMoIAIoAgQgAigCBCkDMCAMIBKFhTcDMCACKAIEIAIoAgQpAzggDSAVhYU3AzggACAONwMYIAAgDzcDICAAIAk3AyggACAQNwMwIAAgCjcDOCAAIAs3A0AgACAMNwNIIAAgDTcDUCAAIAY3A1ggACAHNwNgIAAgEzcDaCAAIAg3A3AgACARNwN4IAAgFDcDgAEgACASNwOIASAAIBU3A5ABC+ECAQR/IAAoAghBgAFHBEBB0AlBgApBH0EJEAAACyAAKAIAIQQQCCIDKAIEIQUgA0KAATcDCCAEKAJ8IgAgAmohBgNAIAAgBkkEQCAEIAA2AnwgAygCBCICKAIEIAMoApwBrUKIkveV/8z5hOoAhTcDACACKAIEQrvOqqbY0Ouzu383AwggAigCBEKr8NP0r+68tzw3AxAgAigCBELx7fT4paf9p6V/NwMYIAIoAgRC0YWa7/rPlIfRADcDICACKAIEQp/Y+dnCkdqCm383AyggAigCBELr+obav7X2wR83AzAgAigCBEL5wvibkaOz8NsANwM4IAMgBBAJIAUoAgQpAwCnIAFJBEBBACAFKAIAIgFBEGsoAgwiAksEQEHwC0GwDEHNDUEFEAAAC0EMQQMQASIAIAE2AgAgACACNgIIIAAgATYCBCAADwsgAEEBaiEADAELC0EMQQMQAUEAQQAQBwsMAEGgDSQAQaANJAELC/oECQBBgQgLvwEBAgMEBQYHCAkKCwwNDg8OCgQICQ8NBgEMAAILBwUDCwgMAAUCDw0KDgMGBwEJBAcJAwENDAsOAgYFCgQADwgJAAUHAgQKDw4BCwwGCAMNAgwGCgALCAMEDQcFDw4BCQwFAQ8ODQQKAAcGAwkCCAsNCwcODAEDCQUADwQIBgIKBg8OCQsDAAgMAg0HAQQKBQoCCAQHBgEFDwsJDgMMDQAAAQIDBAUGBwgJCgsMDQ4PDgoECAkPDQYBDAACCwcFAwBBwAkLKRoAAAABAAAAAQAAABoAAABJAG4AdgBhAGwAaQBkACAAaQBuAHAAdQB0AEHwCQsxIgAAAAEAAAABAAAAIgAAAHMAcgBjAC8AcwBvAGwAdgBlAHIAVwBhAHMAbQAuAHQAcwBBsAoLKxwAAAABAAAAAQAAABwAAABJAG4AdgBhAGwAaQBkACAAbABlAG4AZwB0AGgAQeAKCzUmAAAAAQAAAAEAAAAmAAAAfgBsAGkAYgAvAGEAcgByAGEAeQBiAHUAZgBmAGUAcgAuAHQAcwBBoAsLNSYAAAABAAAAAQAAACYAAAB+AGwAaQBiAC8AcwB0AGEAdABpAGMAYQByAHIAYQB5AC4AdABzAEHgCwszJAAAAAEAAAABAAAAJAAAAEkAbgBkAGUAeAAgAG8AdQB0ACAAbwBmACAAcgBhAG4AZwBlAEGgDAszJAAAAAEAAAABAAAAJAAAAH4AbABpAGIALwB0AHkAcABlAGQAYQByAHIAYQB5AC4AdABzAEHgDAsuBgAAACAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAAGEAAAACAAAAIQIAAAIAAAAkAg==")),t=await async function(A){const I=await async function(A){const I={env:{abort(){throw Error("Wasm aborted")}}};return{exports:C(await WebAssembly.instantiate(A,I))}}(A),g=I.exports.__retain(I.exports.__allocArray(I.exports.Uint8Array_ID,new Uint8Array(128)));let t=I.exports.__getUint8Array(g);return(A,C,B=4294967295)=>{t.set(A);const Q=I.exports.solveBlake2b(g,C,B);t=I.exports.__getUint8Array(g);const e=I.exports.__getUint8Array(Q);return I.exports.__release(Q),[t,e]}}(await A);s(t)}catch(A){console.log("FriendlyCaptcha failed to initialize WebAssembly, falling back to Javascript solver: "+A.toString()),E=1;const I=await n();s(I)}self.postMessage({type:"ready",solver:E})}else if("start"===t.type){if(a)return;a=!0;const A=await w;self.postMessage({type:"started"});let I=0;const g=t.puzzleSolverInputs,C=new Uint8Array(8*t.n);for(let B=t.startIndex;B<g.length;B+=t.numWorkers){let Q;for(let C=0;C<256;C++){g[B][123]=C;const[e,r]=A(g[B],t.threshold);if(0!==r.length){Q=e;break}console.warn("FC: Internal error or no solution found"),I+=Math.pow(2,32)-1}const e=new DataView(Q.slice(-4).buffer).getUint32(0,!0);I+=e,C.set(Q.slice(-8),8*B),self.postMessage({type:"progress",h:e})}const B={type:"done",solution:C,totalH:I,startIndex:t.startIndex};self.postMessage(B)}}catch(A){setTimeout((()=>{throw A}))}}}();';let sf;typeof window<"u"&&(sf=window.URL||window.webkitURL);class SA{constructor(){this.workers=[],this.numPuzzles=0,this.startTime=0,this.progress=0,this.totalHashes=0,this.puzzleSolverInputs=[],this.solutionBuffer=new Uint8Array(0),this.solverType=1,this.readyCount=0,this.startCount=0,this.doneCount=0,this.progressCallback=()=>0,this.readyCallback=()=>0,this.startedCallback=()=>0,this.doneCallback=()=>0,this.errorCallback=()=>0}init(){if(this.workers.length>0)for(let n=0;n<this.workers.length;n++)this.workers[n].terminate();this.progress=0,this.totalHashes=0,this.readyCount=0,this.startCount=0,this.doneCount=0,this.workers=new Array(4);const t=new Blob([xA],{type:"text/javascript"});for(let n=0;n<this.workers.length;n++)this.workers[n]=new Worker(sf.createObjectURL(t)),this.workers[n].onerror=i=>this.errorCallback(i),this.workers[n].onmessage=i=>{const r=i.data;if(r)if(r.type==="progress")this.progress++,this.totalHashes+=r.h,this.progressCallback({n:this.numPuzzles,h:this.totalHashes,t:(Date.now()-this.startTime)/1e3,i:this.progress});else if(r.type==="ready")this.readyCount++,this.solverType=r.solver,this.readyCount==this.workers.length&&this.readyCallback();else if(r.type==="started")this.startCount++,this.startCount==1&&(this.startTime=Date.now(),this.startedCallback());else if(r.type==="done"){this.doneCount++;for(let a=r.startIndex;a<this.puzzleSolverInputs.length;a+=this.workers.length)this.solutionBuffer.set(r.solution.subarray(a*8,a*8+8),a*8);if(this.doneCount==this.workers.length){const a=(Date.now()-this.startTime)/1e3;this.doneCallback({solution:this.solutionBuffer,h:this.totalHashes,t:a,diagnostics:CA(this.solverType,a),solver:this.solverType})}}else r.type==="error"&&this.errorCallback(r)}}setupSolver(t=!1){const n={type:"solver",forceJS:t};for(let i=0;i<this.workers.length;i++)this.workers[i].postMessage(n)}start(t){this.puzzleSolverInputs=uA(t.buffer,t.n),this.solutionBuffer=new Uint8Array(8*t.n),this.numPuzzles=t.n;for(let n=0;n<this.workers.length;n++)this.workers[n].postMessage({type:"start",puzzleSolverInputs:this.puzzleSolverInputs,threshold:t.threshold,n:t.n,numWorkers:this.workers.length,startIndex:n})}terminateWorkers(){if(this.workers.length!=0){for(let t=0;t<this.workers.length;t++)this.workers[t].terminate();this.workers=[]}}}const AA="https://api.friendlycaptcha.com/api/v1/puzzle";class EA{constructor(t,n={}){if(this.workerGroup=new SA,this.valid=!1,this.needsReInit=!1,this.hasBeenStarted=!1,this.hasBeenDestroyed=!1,this.opts=Object.assign({forceJSFallback:!1,startMode:"focus",puzzleEndpoint:t.dataset.puzzleEndpoint||AA,startedCallback:()=>0,readyCallback:()=>0,doneCallback:()=>0,errorCallback:()=>0,sitekey:t.dataset.sitekey||"",language:t.dataset.lang||"en",solutionFieldName:t.dataset.solutionFieldName||"frc-captcha-solution"},n),this.e=t,typeof this.opts.language=="string"){let i=ls[this.opts.language.toLowerCase()];i===void 0&&(console.error('FriendlyCaptcha: language "'+this.opts.language+'" not found.'),i=ls.en),this.lang=i}else this.lang=Object.assign(Object.assign({},ls.en),this.opts.language);t.innerText=this.lang.text_init,tA(),this.init(this.opts.startMode==="auto"||this.e.dataset.start==="auto")}init(t){if(this.hasBeenDestroyed){console.error("FriendlyCaptcha widget has been destroyed using destroy(), it can not be used anymore.");return}if(this.initWorkerGroup(),t)this.start();else if(this.e.dataset.start!=="none"&&(this.opts.startMode==="focus"||this.e.dataset.start==="focus")){const n=iA(this.e);n?rA(n,()=>{this.hasBeenStarted||this.start()}):console.log("FriendlyCaptcha div seems not to be contained in a form, autostart will not work")}}makeButtonStart(){const t=this.e.querySelector("button");t&&(t.addEventListener("click",n=>this.start(),{once:!0,passive:!0}),t.addEventListener("touchstart",n=>this.start(),{once:!0,passive:!0}))}onWorkerError(t){this.needsReInit=!0,this.e.innerHTML=Nr(this.opts.solutionFieldName,this.lang,"Background worker error "+t.message),this.makeButtonStart(),this.opts.forceJSFallback=!0}initWorkerGroup(){this.workerGroup.progressCallback=t=>{nA(this.e,t)},this.workerGroup.readyCallback=()=>{this.e.innerHTML=QS(this.opts.solutionFieldName,this.lang),this.makeButtonStart(),this.opts.readyCallback()},this.workerGroup.startedCallback=()=>{this.e.innerHTML=ZS(this.opts.solutionFieldName,this.lang),this.opts.startedCallback()},this.workerGroup.doneCallback=t=>{const n=this.handleDone(t);this.opts.doneCallback(n);const i=this.e.dataset.callback;i&&window[i](n)},this.workerGroup.errorCallback=t=>{this.onWorkerError(t)},this.workerGroup.init(),this.workerGroup.setupSolver(this.opts.forceJSFallback)}expire(){this.e.innerHTML=eA(this.opts.solutionFieldName,this.lang),this.makeButtonStart()}async start(){if(this.hasBeenDestroyed){console.error("Can not start FriendlyCaptcha widget which has been destroyed");return}this.hasBeenStarted=!0;const t=this.opts.sitekey||this.e.dataset.sitekey;if(!t){console.error("FriendlyCaptcha: sitekey not set on frc-captcha element"),this.e.innerHTML=Nr(this.opts.solutionFieldName,this.lang,"Website problem: sitekey not set",!1);return}if(aA()){this.e.innerHTML=Nr(this.opts.solutionFieldName,this.lang,"Browser check failed, try a different browser",!1,!0);return}if(this.needsReInit){this.needsReInit=!1,this.init(!0);return}try{this.e.innerHTML=KS(this.opts.solutionFieldName,this.lang),this.puzzle=dA(await hA(this.opts.puzzleEndpoint,t,this.lang)),setTimeout(()=>this.expire(),this.puzzle.expiry-3e4)}catch(n){this.e.innerHTML=Nr(this.opts.solutionFieldName,this.lang,n.message),this.makeButtonStart();const i="error_getting_puzzle";this.opts.errorCallback({code:i,description:n.toString(),error:n});const r=this.e.dataset["callback-error"];r&&window[r](this);return}this.workerGroup.start(this.puzzle)}handleDone(t){this.valid=!0;const n=`${this.puzzle.signature}.${this.puzzle.base64}.${qc(t.solution)}.${qc(t.diagnostics)}`;return this.e.innerHTML=JS(this.opts.solutionFieldName,this.lang,n,t),this.needsReInit=!0,n}destroy(){this.workerGroup.terminateWorkers(),this.needsReInit=!1,this.hasBeenStarted=!1,this.e&&(this.e.remove(),delete this.e),this.hasBeenDestroyed=!0}reset(){if(this.hasBeenDestroyed){console.error("FriendlyCaptcha widget has been destroyed, it can not be used anymore");return}this.workerGroup.terminateWorkers(),this.needsReInit=!1,this.hasBeenStarted=!1,this.init(this.opts.startMode==="auto"||this.e.dataset.start==="auto")}}var PA=(e,t)=>{const n=e.__vccOpts||e;for(const[i,r]of t)n[i]=r;return n};const TA=De({name:"VueFriendlyCaptcha",props:{sitekey:{type:String,required:!0},dark:{type:Boolean,default:!1},startMode:{type:String,default:"focus"},language:{type:String,default:"en"},solutionFieldName:{type:String,default:"frc-captcha-solution"},puzzleEndpoint:{type:String,default:"https://api.friendlycaptcha.com/api/v1/puzzle"}},emits:["ready","started","done","error"],setup(e,{emit:t}){const n=be(),i=be(),r=()=>{t("ready",i)},a=()=>{t("started",i)},s=v=>{t("done",v)},o=v=>{t("error",v)},l=()=>{var v;(v=i.value)==null||v.init()},c=()=>{var v;(v=i.value)==null||v.start()},u=()=>{var v;(v=i.value)==null||v.reset()},d=()=>{var v;(v=i.value)==null||v.destroy()},m=()=>{var v;return((v=i.value)==null?void 0:v.valid)||!1};return Qe(n,()=>{i.value&&i.value.reset(),!i.value&&n.value&&(i.value=new EA(n.value,{sitekey:e.sitekey,startMode:e.startMode,language:e.language,solutionFieldName:e.solutionFieldName,puzzleEndpoint:e.puzzleEndpoint,readyCallback:r,startedCallback:a,doneCallback:s,errorCallback:o}))}),{captcha:n,widget:i,init:l,start:c,reset:u,destroy:d,isValid:m}}});function MA(e,t,n,i,r,a){return J(),ue("div",{ref:"captcha",class:Ne(["vue-friendly-captcha frc-captcha",{dark:e.dark}])},null,2)}var of=PA(TA,[["render",MA]]);const LA={header:{headline:String,richtext:String,deeplinkingHeadline:{deeplink:String,shortHeadline:String}}};const $A=["id","data-anchor-nav-headline"],OA=["innerHTML"],DA=["innerHTML"],IA={__name:"E08ComponentHeader",props:LA,setup(e){const t=e,n=de(()=>{var r,a;return(a=(r=t.header)==null?void 0:r.deeplinkingHeadline)==null?void 0:a.deeplink}),i=de(()=>{var a,s;const r=(s=(a=t.header)==null?void 0:a.deeplinkingHeadline)==null?void 0:s.deeplink;return r.charAt(0)!=="#"?r:r.slice(1)});return(r,a)=>{var s,o,l,c,u;return J(),ue("header",{id:n.value?i.value:void 0,class:"c-component-header","data-anchor-nav-headline":n.value?((o=(s=r.header)==null?void 0:s.deeplinkingHeadline)==null?void 0:o.shortHeadline)||((l=r.header)==null?void 0:l.headline):void 0},[(c=r.header)!=null&&c.headline?(J(),ue("h2",{key:0,class:"is-typo-h2",innerHTML:r.header.headline},null,8,OA)):pe("",!0),(u=r.header)!=null&&u.richtext?(J(),ue("div",{key:1,class:"richtext",innerHTML:r.header.richtext},null,8,DA)):pe("",!0)],8,$A)}}},Zt=ze(IA,[["__scopeId","data-v-5b3ea8c9"]]),RA={layout:String};var to=(e=>(e.LAYOUT_W100="w100",e.LAYOUT_W33_W66="w33_w66",e.LAYOUT_W50_W50="w50_w50",e.LAYOUT_W66_W33="w66_w33",e))(to||{});const BA={class:"c-row"},FA=De({__name:"CeRow",props:RA,setup(e){const t=e,n=de(()=>!t.layout||t.layout===to.LAYOUT_W100),i=de(()=>{if(!t.layout)return[""];if(t.layout===to.LAYOUT_W100)return["is-w100"];const r=t.layout.split("_");return[`is-${r[0]}`,`is-${r[1]}`]});return(r,a)=>(J(),ue("div",BA,[he("div",{class:Ne(["c-col",i.value[0]])},[nt(r.$slots,"element1",{},void 0,!0)],2),n.value?pe("",!0):(J(),ue("div",{key:0,class:Ne(["c-col",i.value[1]])},[nt(r.$slots,"element2",{},void 0,!0)],2))]))}});const lf=ze(FA,[["__scopeId","data-v-aabd5bcd"]]),NA={id:String,required:Boolean,label:String,errorMessage:String,icon:String,name:String,options:Object},jA={id:String,name:String,label:String,value:String,required:Boolean,disabled:Boolean,checked:Boolean,isFocussed:Boolean,labelSrOnly:Boolean,color:String},HA={class:"c-checkbox"},zA=["id","name","value","required","disabled","checked"],VA=["for"],WA=["innerHTML"],UA=De({__name:"CeCheckbox",props:jA,emits:["changed"],setup(e,{emit:t}){const n=e,i=be(null),r=t;return Qe(()=>n.isFocussed,a=>{a&&Dt(()=>{var s;(s=i==null?void 0:i.value)==null||s.focus()})},{immediate:!0}),(a,s)=>(J(),ue("div",HA,[he("input",{id:a.id,ref_key:"checkboxInput",ref:i,name:a.name,value:a.value,required:!a.disabled&&a.required,disabled:a.disabled,checked:a.checked,type:"checkbox",class:"c-checkbox__input",onChange:s[0]||(s[0]=o=>{var l;return r("changed",{id:a.id,checked:(l=o.target)==null?void 0:l.checked,value:a.value})})},null,40,zA),a.label?(J(),ue("label",{key:0,for:a.id,class:"c-checkbox__label richtext"},[a.color?(J(),ue("span",{key:0,class:"c-checkbox-item__color",style:kn(`background-color: ${a.color}`)},null,4)):pe("",!0),he("span",{class:Ne([a.labelSrOnly?"sr-only":""]),innerHTML:a.label},null,10,WA)],8,VA)):pe("",!0)]))}});const Yo=ze(UA,[["__scopeId","data-v-82940ca0"]]),GA={text:String,icon:String};const qA={class:"c-message"},YA={key:1,class:"c-message__text"},XA={__name:"CeMessage",props:GA,setup(e){return(t,n)=>(J(),ue("div",qA,[t.icon?(J(),ke(pt,{key:0,variant:t.icon,class:"c-icon--24"},null,8,["variant"])):pe("",!0),t.text?(J(),ue("p",YA,Oe(t.text),1)):pe("",!0)]))}},vi=XA,QA=["id"],KA={key:0,class:"c-checkbox-group__legend"},ZA={key:0},JA={class:"c-checkbox-group__wrapper"},e2=De({__name:"CeCheckboxGroup",props:NA,emits:["checkboxChanged"],setup(e,{emit:t}){const n=t,i=e,r=be([]),a=de(()=>{var l;return((l=i.options)==null?void 0:l.length)===1?"is-single":""}),s=de(()=>{var c;if(!i.options)return[];if(Array.isArray(i.options))return i.options;const l=(c=i.options)==null?void 0:c["@nodes"];return Array.isArray(l)?i.options["@nodes"].map(u=>Na(i.options[u])):[]});function o({id:l,checked:c,value:u}){c?r.value.includes(u)||r.value.push(u):r.value=r.value.filter(d=>d!==u),n("checkboxChanged",{id:l,checked:c,value:u,selectedValues:[...r.value]})}return ot(()=>{const l=s.value.filter(c=>c.checked).map(c=>c.value);r.value=l}),(l,c)=>(J(),ue("fieldset",{id:l.id,class:"c-checkbox-group"},[l.label?(J(),ue("legend",KA,[St(Oe(l.label)+" ",1),l.required?(J(),ue("abbr",ZA,"*")):pe("",!0)])):pe("",!0),he("div",JA,[(J(!0),ue(Be,null,Ue(s.value,u=>(J(),ke(Yo,Ke({id:`checkbox--${l.id}--${u.name}`,key:`checkbox--${l.name}--${u.name}`,class:[a.value],color:u.color,ref_for:!0},u,{onChanged:o}),null,16,["id","class","color"]))),128)),l.errorMessage?(J(),ke(vi,{key:0,text:l.errorMessage,icon:l.icon},null,8,["text","icon"])):pe("",!0)])],8,QA))}});const Xo=ze(e2,[["__scopeId","data-v-145af168"]]),t2={componentId:String,general:Object,header:Object,formFields:Object,mailConfig:Object,mailHost:String},n2={content:Object},cf=(e,t)=>e&&Object.fromEntries(Object.entries(e).filter(([n])=>n!==t)),i2=([e,t,n,i],r,a,s,o,l="")=>{var c,u;return{...o,...o.displayType!=="radio"?{isFocussed:l===o["@id"]}:{},...e?{name:e}:{},...t?{value:t}:{},...!n&&!r?{errorMessage:i,icon:"warning",class:"is-invalid"}:{},...s==="SELECT"||o.displayType==="radio"?{options:{...o.options,...(c=o.options)==null?void 0:c["@nodes"].reduce((d,m,v)=>{var h;return{...d,[m]:{...(h=o.options)==null?void 0:h[m],...(a==null?void 0:a["@name"])===m?{default:!0}:{},...o.displayType==="radio"?{isFocussed:l===`radio-group--${o["@id"]}--${v}`}:{}}}},{})}}:{},...s==="FIELDSET"&&o.displayType!=="radio"?{options:{...o.options,...(u=o.options)==null?void 0:u["@nodes"].reduce((d,m,v)=>{var h,f,w;return{...d,[m]:{...cf((h=o.options)==null?void 0:h[m],"checked"),...t.includes((w=(f=o.options)==null?void 0:f[m])==null?void 0:w.name)?{checked:!0}:{},isFocussed:l===`checkbox--${o["@id"]}--${v}`}}},{})}}:{}}},Yc={C08_FormText:"text",C08_FormMail:"email",C08_FormHiddenField:"hidden"},cs={C08_FormTextReadOnly:"readonly"};function r2(e,t){const n=[];let i=0,r=0,a="w100";return e["@nodes"].forEach(s=>{const o=e[s];if(o.layout){a=o.layout,r>1&&(i++,r=0),t&&(n[i]=[o],i++),o.layout!=="w100"?r=1:r=0;return}o._layout=a,o.id||(o.id=o["@id"]),Object.keys(Yc).forEach(l=>{var c;(c=o["mgnl:template"])!=null&&c.includes(l)&&(o.subType=Yc[l])}),Object.keys(cs).forEach(l=>{var c;(c=o["mgnl:template"])!=null&&c.includes(l)&&(o[cs[l]]=cs[l])}),r===0?(n[i]=[o],i++):r===1?(n[i]=[o],r++):r===2&&(n[i].push(o),r=a==="w100"?0:1,i++)}),n}const a2=De({__name:"CvFormRows",props:n2,setup(e){const t=e,n=it("isEditMode"),i=de(()=>t.content?r2(t.content,n):[]);function r(a){return a.subType==="hidden"?void 0:a._layout}return(a,s)=>(J(!0),ue(Be,null,Ue(i.value,(o,l)=>(J(),ke(lf,{key:we(Nt)(String(l)),layout:r(o[0])},Mp({element1:He(()=>[ve(we(fr),{content:o[0]},null,8,["content"])]),_:2},[o[1]?{name:"element2",fn:He(()=>[ve(we(fr),{content:o[1]},null,8,["content"])]),key:"0"}:void 0]),1032,["layout"]))),128))}}),s2={text:String,icon:String,type:String,linkList:Object};const o2={__name:"CeAlert",props:s2,setup(e){return(t,n)=>(J(),ue("div",{class:Ne(["c-alert",[t.type?`c-alert--${t.type}`:"c-alert--error"]])},[ve(vi,{icon:t.icon?t.icon:"warning",text:t.text,class:"c-alert__message"},null,8,["icon","text"]),t.linkList?(J(),ke(ai,{key:0,"link-list":t.linkList,class:Ne([t.type?`c-link-list--${t.type}`:"c-link-list--error"])},null,8,["link-list","class"])):pe("",!0)],2))}},Di=ze(o2,[["__scopeId","data-v-5f6d2dc6"]]),l2=["id","name"],c2={class:"is-typo-text-standard"},u2={key:0},d2={class:"is-typo-h4"},h2={class:"c-form__button-wrapper"},f2=100,p2=800,m2=De({__name:"C08Form",props:t2,setup(e){const t=be(null),n=Ze(),{label:i}=mt(n),r=e,a=be(null),s=be(null),o=be(null),l=be(!0),c=be(""),u=be(""),d=be(""),m=be({}),v=be({getElementById:S=>null}),h=be([]),f=xr(),w=Bi();ot(()=>{var S;(S=a.value)==null||S.reset(),v.value=document});function _(S){S.name in f.query&&(S==null?void 0:S["mgnl:template"])==="starterkit:components/forms/C08_FormTextReadOnly"&&(m.value[S.name]=f.query[S.name])}const y=S=>{window.scrollTo({top:S.offsetTop,behavior:"smooth"})},x=S=>{var O,M,H,q;if(S.target instanceof HTMLElement){const T=(H=(M=(O=S.target.closest("a"))==null?void 0:O.getAttribute("href"))==null?void 0:M.split("#"))==null?void 0:H[1],L=T&&((q=document.getElementById(T))==null?void 0:q.closest(".c-row"));L instanceof HTMLElement&&(window.scrollTo({top:L.offsetTop,behavior:"smooth"}),setTimeout(()=>{d.value=T||""},p2))}},A=de(()=>c.value?i.value("forms.send_error"):i.value("forms.validation_error")),E=de(()=>{var S,O;return((S=r.header)==null?void 0:S.headline)||((O=r.header)==null?void 0:O.richtext)}),$=de(()=>`accept-${r.general["@id"]}`),B=de(()=>`checkbox--${$.value}--accepted`),Q=de(()=>{var O;const S=!l.value&&!m.value[B.value];return{name:"dataprotection",id:$.value,required:!0,...S?{errorMessage:i.value("forms.validation_required"),icon:"warning"}:{},options:{accept:{label:(O=r.general)==null?void 0:O.dataprotectionText,name:"accepted",default:!1,class:S?"is-invalid":""},"@nodes":["accept"]}}}),I=de(()=>{var S,O;return((O=(S=r.formFields)==null?void 0:S["@nodes"])==null?void 0:O.map(M=>{var H;return(H=r.formFields)==null?void 0:H[M]}).filter(M=>M.name!==void 0&&M["mgnl:template"]!=="starterkit:components/forms/C08_FormHiddenField").map(M=>{var H,q;return M["mgnl:template"]==="starterkit:components/forms/C08_FormCheckboxGroup"?{...M,options:{...(q=(H=M==null?void 0:M.options)==null?void 0:H["@nodes"])==null?void 0:q.map(T=>{var L,U,ie;return{...(L=M==null?void 0:M.options)==null?void 0:L[T],checked:JSON.stringify(m.value)==="{}"?(U=M==null?void 0:M.options)==null?void 0:U[T].checked:m.value[(ie=M==null?void 0:M.options)==null?void 0:ie[T]]==="true"}})},value:M.options["@nodes"].filter(T=>{var L;return(L=M==null?void 0:M.options)==null?void 0:L[T].checked}).map(T=>{var L;return(L=M==null?void 0:M.options)==null?void 0:L[T].name})}:M}))||[]}),F=de(()=>{var M,H,q;const S=(q=(M=r.formFields)==null?void 0:M["@nodes"])==null?void 0:q.reduce((T,L)=>{var z,Y,W,j,ne;const U=(z=r.formFields)==null?void 0:z[L],ie=U["@id"]??U.id,N=((W=(Y=v.value)==null?void 0:Y.getElementById(ie))==null?void 0:W.tagName)??"",K=k.value.find(se=>se[0]===U.name)||[],b=cf((ne=(j=U.options)==null?void 0:j["@nodes"])==null?void 0:ne.map(se=>{var ce;return(ce=U.options)==null?void 0:ce[se]}).find(se=>se.label===K[1]),"default");return _(U),{...T,[L]:i2(K,l.value,b,N,U,d.value)}},{"@nodes":(H=r.formFields)==null?void 0:H["@nodes"]});return r.formFields&&S?{...r.formFields,...S}:S}),k=de(()=>{var S;return[...I.value.map(O=>{var M;return[O.name,m.value[O["@id"]??O.id]||m.value[O.name],...O.displayType!=="radio"?(H=>[H==null?void 0:H.checkValidity(),H!=null&&H.validity.valueMissing?i.value("forms.validation_required"):H!=null&&H.validity.typeMismatch?i.value("forms.validation_invalid"):""])((M=v.value)==null?void 0:M.getElementById(O["@id"]??O.id)):[!O.required||m.value[O.name],i.value("forms.validation_required")]]}),["accepted",((S=m.value)==null?void 0:S[B.value])||"",!0,i.value("forms.validation_required")],["formId",r.componentId],["language",n.currentLanguage]]}),P=de(()=>I.value.filter(S=>S.required)||[]),C=de(()=>P.value.map(S=>S.name).concat(["accepted"])),p=de(()=>{const S=Object.fromEntries(k.value);return C.value.filter(O=>{var M;return O==="accepted"?!S[O]:S[O]===void 0||S[O]===""||!((M=k.value.find(H=>H[0]===O))!=null&&M[2])})}),g=de(()=>l.value?{"@nodes":[]}:p.value.reduce((S,O,M)=>{var L;const H=O==="accepted",q=H?{label:i.value("forms.privacy_notice"),"@id":`checkbox--${(L=Q.value)==null?void 0:L.id}--accepted`}:I.value.find(U=>U.name===O),T=H?`linkList${I.value.length}`:`linkList${M}`;return{...S,"@nodes":[...S["@nodes"],T],[T]:{text:q==null?void 0:q.label,link:{target:"_self",anchor:(q==null?void 0:q["@id"])??(q==null?void 0:q.id),pageLink:n.currentPath,type:"internal"}}}},{"@nodes":[]})),D=de(()=>g.value["@nodes"].length>0),R=de(()=>({"form-invalid":D.value}));(()=>{I.value.forEach(S=>{var O,M,H;if(S["mgnl:template"]==="starterkit:components/forms/C08_FormCheckboxGroup"&&S.value)m.value[S.name]=S.value;else if(S["mgnl:template"]==="starterkit:components/forms/C08_FormSelectSingle"){const q=S["@id"],T=(O=S.options)==null?void 0:O["@nodes"].find(L=>{var U;return(U=S.options)==null?void 0:U[L].default});m.value[q]=(H=(M=S.options)==null?void 0:M[T])==null?void 0:H.label}})})();function G(S){setTimeout(()=>{var ie;const O=S.target,{id:M,value:H,type:q,tagName:T,checked:L,name:U}=O;if(O.checkValidity(),T==="INPUT")if(q==="checkbox"){m.value[M]=L?"true":"";const N=M.split("--")[1],K=I.value.find(b=>b["@id"]===N);if(K!=null&&K.name&&(K!=null&&K.value)){const b=xn(m.value[K.name]);b?b.includes(U)?L||(m.value[K.name]=b.filter(z=>z!==U)):m.value[K.name]=b.concat([U]):m.value[K.name]=[U]}}else if(q==="text")m.value[M]=H;else if(q==="radio"){const N=document.querySelector(`[for=${M}]`);m.value[U]=N==null?void 0:N.innerText}else q==="email"&&(m.value[M]=H);else(T==="SELECT"||T==="TEXTAREA")&&(m.value[M]=H);d.value=((ie=ee(M))==null?void 0:ie.id)||""},f2)}function V(){var S,O,M,H,q,T,L;if(c.value="",u.value="",l.value=!1,p.value.length>0)y(s.value);else{const U=k.value.map(([W,j])=>`${W}=${encodeURIComponent(j)}`).join("&"),ie=(S=r.mailConfig)==null?void 0:S.subject,N=(O=r.mailConfig)==null?void 0:O.to,K=(M=r.mailConfig)==null?void 0:M.cc,b=(H=r.mailConfig)==null?void 0:H.body,z=encodeURIComponent((L=(T=(q=t==null?void 0:t.value)==null?void 0:q.captcha)==null?void 0:T.lastChild)==null?void 0:L.value),Y=`mailConfig_to=${N}&mailConfig_cc=${K}&mailConfig_subject=${ie}&mailConfig_body=${b}&frc-captcha-solution=${z}`;$fetch(`${r.mailHost??""}/heraeus-send`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:`${U}&${Y}`}).then(()=>{var W,j,ne;if((W=r.general)!=null&&W.successPage&&((j=r.general)!=null&&j.useSuccessPage)){const se=_t((ne=r.general)==null?void 0:ne.successPage,n==null?void 0:n.languages,n==null?void 0:n.currentLanguage,n==null?void 0:n.site,n==null?void 0:n.isPublic);w.push(se).then(()=>{window.location.reload()})}else u.value=i.value("forms.mail_success"),setTimeout(()=>y(o.value));X()}).catch(W=>{c.value=W,y(s.value)})}}function X(){var S;window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"form_submit",eventModel:{form_id:r.general["@id"],form_name:r.general["@name"],form_destination:(S=window.location)==null?void 0:S.href,event_callback:"Function"},eventCallback:"Function"})}function ee(S){h.value=Kh(a.value).filter(L=>!(L instanceof HTMLInputElement&&L.type==="hidden")&&L.id);const O=L=>L instanceof HTMLInputElement&&L.type==="radio",M=(L,U)=>U-1>-1&&O(h.value[U-1])&&O(L),H=h.value.findIndex(L=>L.id===S),q=h.value[H];if(H===-1)return{id:""};if(O(q))return q;const T=h.value.length;for(let L=H;L<T-1;L++){const U=h.value[L+1];if(!M(U,L+1))return h.value[L+1]}return h.value[H]}return(S,O)=>{const M=Ba;return J(),ke(ut,null,{default:He(()=>{var H;return[he("div",{ref_key:"cForm",ref:o,class:"c-form is-bg-default"},[E.value?(J(),ke(Zt,{key:0,class:"c-form__header",header:S.header},null,8,["header"])):pe("",!0),u.value?pe("",!0):(J(),ue(Be,{key:1},[ve(M,{ref_key:"errorSummary",ref:s,placeholder:"loading...",class:"c-form__summary"},{default:He(()=>[Rt(ve(Di,{text:A.value,"link-list":g.value,onClick:tt(x,["prevent"])},null,8,["text","link-list"]),[[pn,D.value||c.value]])]),_:1},512),he("form",{id:`form-${S.general["@id"]}`,ref_key:"form",ref:a,name:S.general["@name"],method:"",action:"",class:Ne(["c-form__form",R.value]),"accept-charset":"UTF-8",onChange:G},[he("fieldset",null,[he("legend",c2,Oe(we(i)("forms.info_mandatory")),1),nt(S.$slots,"mgnl-editable",{},()=>[F.value?(J(),ke(we(jt),{key:0,content:F.value,"custom-view":a2},null,8,["content"])):pe("",!0)],!0)]),(H=S.general)!=null&&H.dataprotectionText?(J(),ue("fieldset",u2,[he("legend",d2,Oe(we(i)("forms.privacy_notice")),1),ve(lf,{layout:"w100"},{element1:He(()=>[ve(Xo,sr(Yu(Q.value)),null,16)]),_:1})])):pe("",!0),ve(we(of),{ref_key:"captcha",ref:t,sitekey:"FCMULNC74Q4K448D"},null,512),he("div",h2,[ve(Je,{class:"c-button--big c-button--primary c-form__submit",type:"button",label:we(i)("forms.send"),onClick:V},null,8,["label"])])],42,l2)],64)),u.value?(J(),ke(vi,{key:2,icon:"checkmark",text:u.value,class:"c-form__success-message"},null,8,["text"])):pe("",!0)],512)]}),_:3})}}});const g2=ze(m2,[["__scopeId","data-v-a9aa2d6f"]]),v2={layout:String};const y2={class:"c-form-layout"},b2={class:"c-form-layout__inner"},_2={__name:"CeFormLayout",props:v2,setup(e){return(t,n)=>(J(),ue("div",y2,[he("div",b2,Oe(t.layout),1)]))}},w2=ze(_2,[["__scopeId","data-v-ce818d1f"]]),k2={id:String,name:String,value:String,subType:String,required:Boolean,disabled:Boolean,readonly:Boolean,pattern:RegExp,label:String,minLength:String,maxLength:String,placeholder:String,errorMessage:String,button:String,icon:String,isFocussed:Boolean,pending:Boolean,additionalInputClasses:String},C2={key:0,class:"c-input"},x2=["id","name","type","required","disabled","readonly","maxlength","placeholder"],S2=["for"],A2={key:0},E2=["id","name","type"],P2=De({__name:"CeInput",props:k2,emits:["changed","button-clicked","invalid"],setup(e,{expose:t,emit:n}){const i=e,r=n,a=be(""),s=be(null);t({input:s}),Qe(()=>i.isFocussed,d=>{d&&Dt(()=>{var m;(m=s==null?void 0:s.value)==null||m.focus()})},{immediate:!0}),Qe(()=>i.value,()=>{a.value=i.value},{immediate:!0});function o(d){a.value=d.target.value,i.pattern!==void 0&&!i.pattern.test(a.value)&&(a.value=""),r("changed",d)}function l(d){r("invalid",d)}function c(d){d.preventDefault(),r("button-clicked",{id:i.id,value:a.value})}const u=de(()=>a.value?"":" is-empty");return(d,m)=>d.subType!=="hidden"?(J(),ue("div",C2,[he("div",{class:Ne(["c-input__wrapper",{"is-invalid":!!d.errorMessage}])},[d.button?(J(),ke(Je,{key:0,disabled:d.pending,label:d.button,class:"c-input__button c-button--primary c-button--big c-button--simple",icon:d.icon,onClick:tt(c,["prevent"])},null,8,["disabled","label","icon"])):pe("",!0),Rt(he("input",{id:d.id,ref_key:"input",ref:s,"onUpdate:modelValue":m[0]||(m[0]=v=>a.value=v),name:d.name,type:d.subType,required:d.required,disabled:d.disabled,readonly:"readonly"in d?d.readonly:we(fo),maxlength:d.maxLength,placeholder:d.placeholder,class:Ne(["c-input__input",u.value,d.additionalInputClasses]),autocomplete:"off",onKeyup:en(c,["enter"]),onChange:o,onInvalid:l},null,42,x2),[[hl,a.value]]),d.label?(J(),ue("label",{key:1,for:d.id,class:"c-input__label"},[St(Oe(d.label)+" ",1),d.required?(J(),ue("abbr",A2,"*")):pe("",!0)],8,S2)):pe("",!0)],2),d.errorMessage?(J(),ke(vi,{key:0,text:d.errorMessage,icon:d.icon},null,8,["text","icon"])):pe("",!0)])):Rt((J(),ue("input",{key:1,id:d.id,ref_key:"input",ref:s,"onUpdate:modelValue":m[1]||(m[1]=v=>a.value=v),name:d.id,type:d.subType},null,8,E2)),[[hl,a.value]])}});const ln=ze(P2,[["__scopeId","data-v-2318625c"]]),T2={id:String,name:String,value:String,required:Boolean,disabled:Boolean,rows:String,label:String,minLength:String,maxLength:String,errorMessage:String,icon:String,isFocussed:Boolean};const M2={class:"c-textarea"},L2=["id","name","required","disabled","rows","minlength","maxlength"],$2=["for"],O2={key:0},D2={__name:"CeTextarea",props:T2,emits:["changed","invalid"],setup(e,{emit:t}){const n=e,i=t,r=be(""),a=be(null);Qe(()=>n.isFocussed,c=>{c&&Dt(()=>{var u;(u=a==null?void 0:a.value)==null||u.focus()})},{immediate:!0}),ot(()=>{r.value=n.value});const s=de(()=>r.value?"":" is-empty");function o(c){r.value=c.target.value,n.pattern!==void 0&&!n.pattern.test(r.value)&&(r.value=""),i("changed",c)}function l(c){i("invalid",c)}return(c,u)=>(J(),ue("div",M2,[he("div",{class:Ne(["c-textarea__wrapper",{"is-invalid":!!c.errorMessage}])},[Rt(he("textarea",{id:c.id,ref_key:"textarea",ref:a,"onUpdate:modelValue":u[0]||(u[0]=d=>r.value=d),name:c.name,required:c.required,disabled:c.disabled,rows:c.rows,minlength:c.minLength,maxlength:c.maxLength,class:Ne(["c-textarea__text",s.value]),autocomplete:"off",onChange:o,onInvalid:l},null,42,L2),[[_o,r.value]]),c.label?(J(),ue("label",{key:0,for:c.id,class:"c-textarea__label"},[St(Oe(c.label),1),c.required?(J(),ue("abbr",O2,"*")):pe("",!0)],8,$2)):pe("",!0)],2),c.errorMessage?(J(),ke(vi,{key:0,text:c.errorMessage,icon:c.icon},null,8,["text","icon"])):pe("",!0)]))}},uf=D2,I2={id:String,name:String,label:String,displayType:String,value:String,required:Boolean,disabled:Boolean,options:Object},R2={id:String,required:Boolean,name:String,label:String,errorMessage:String,icon:String,options:Object,displayType:String,disabled:Boolean},B2={id:String,name:String,label:String,value:String,required:Boolean,disabled:Boolean,checked:Boolean,isFocussed:Boolean},F2={class:"c-radio"},N2=["id","name","value","required","disabled","checked"],j2=["for","innerHTML"],H2=De({__name:"CeRadio",props:B2,emits:["radioChanged"],setup(e,{emit:t}){const n=t,i=e,r=be(null);return Qe(()=>i.isFocussed,a=>{a&&Dt(()=>{var s;(s=r==null?void 0:r.value)==null||s.focus()})},{immediate:!0}),(a,s)=>(J(),ue("div",F2,[he("input",{id:a.id,ref_key:"radioInput",ref:r,name:a.name,value:a.value,required:!a.disabled&&a.required,disabled:a.disabled,checked:a.checked,type:"radio",class:"c-radio__input",onChange:s[0]||(s[0]=o=>n("radioChanged",o))},null,40,N2),a.label?(J(),ue("label",{key:0,for:a.id,class:"c-radio__label",innerHTML:a.label},null,8,j2)):pe("",!0)]))}});const z2=ze(H2,[["__scopeId","data-v-aa889ebd"]]),V2=["id"],W2={key:0,class:"c-radio-group__legend"},U2={key:0},G2={class:"c-radio-group__wrapper"},q2=De({__name:"CeRadioGroup",props:R2,emits:["radioChanged"],setup(e,{emit:t}){const n=t,i=e,r=de(()=>{var s;if(!i.options)return[];if(Array.isArray(i.options))return i.options;const a=(s=i.options)==null?void 0:s["@nodes"];return Array.isArray(a)?i.options["@nodes"].map(o=>Na(i.options[o])):[]});return(a,s)=>(J(),ue("fieldset",{id:a.id,class:"c-radio-group"},[a.label?(J(),ue("legend",W2,[St(Oe(a.label),1),a.required?(J(),ue("abbr",U2,"*")):pe("",!0)])):pe("",!0),he("div",G2,[(J(!0),ue(Be,null,Ue(r.value,(o,l)=>(J(),ke(z2,Ke({id:`radio-group--${a.id}--${l}`,key:`radio-group--${a.id}--${l}`,name:a.name,checked:o.default,ref_for:!0},o,{onRadioChanged:s[0]||(s[0]=c=>n("radioChanged",c))}),null,16,["id","name","checked"]))),128))]),a.errorMessage?(J(),ke(vi,{key:1,text:a.errorMessage,icon:a.icon},null,8,["text","icon"])):pe("",!0)],8,V2))}});const df=ze(q2,[["__scopeId","data-v-9e2fe95c"]]),Y2={id:String,name:String,required:Boolean,disabled:Boolean,label:String,errorMessage:String,icon:String,isFocussed:Boolean,modelValue:String,options:Object},X2={class:"c-select__wrapper"},Q2=["id","name","required","disabled"],K2={key:0,value:"",class:"c-select__option",selected:"",disabled:""},Z2=["value","disabled","selected"],J2=["for"],eE={key:0},tE=De({__name:"CeSelect",props:Y2,emits:["selectChanged","update:modelValue","invalid"],setup(e,{emit:t}){const n=e,i=t,r=be(n.modelValue),a=be(""),s=be(null);Qe(()=>n.isFocussed,d=>{d&&Dt(()=>{var m;(m=s==null?void 0:s.value)==null||m.focus()})},{immediate:!0}),Qe(r,d=>{i("update:modelValue",d)});const o=de(()=>{var m;if(!n.options)return[];if(Array.isArray(n.options))return n.options;const d=(m=n.options)==null?void 0:m["@nodes"];return Array.isArray(d)?d.map(v=>{const h=Na(n.options[v]);return{...h,value:h.value||h.label}}):[]}),l=de(()=>{const d=o.value.filter(m=>m.default);return d.length>0?d[0]:void 0});ot(()=>{a.value=l.value?l.value.label:"",l.value&&(r.value=l.value.value)});function c(d){if(d.target.selectedIndex){const v=l.value===void 0?-1:0,h=d.target.selectedIndex+v;a.value=o.value[h].value||o.value[h].label}const m=d.target.value;r.value=m,i("selectChanged",d)}function u(d){i("invalid",d)}return(d,m)=>(J(),ue("div",{class:Ne(["c-select",{"is-invalid":!!d.errorMessage}])},[he("div",X2,[Rt(he("select",{id:d.id,ref_key:"select",ref:s,"onUpdate:modelValue":m[0]||(m[0]=v=>r.value=v),class:Ne([{"is-empty":!a.value},"c-select__input"]),name:d.name,required:d.required,disabled:d.disabled,onChange:c,onInvalid:u},[l.value===void 0?(J(),ue("option",K2)):pe("",!0),(J(!0),ue(Be,null,Ue(o.value,(v,h)=>(J(),ue("option",{key:`radio-group--${d.name}--${h}`,value:v.value,disabled:v.disabled,selected:a.value===String(v.label),class:"c-select__option"},Oe(v.label),9,Z2))),128))],42,Q2),[[Lp,r.value]]),he("label",{class:"c-select__label",for:d.id},[St(Oe(d.label),1),d.required?(J(),ue("abbr",eE,"*")):pe("",!0)],8,J2)]),d.errorMessage?(J(),ke(vi,{key:0,text:d.errorMessage,icon:d.icon},null,8,["text","icon"])):pe("",!0)],2))}});const fn=ze(tE,[["__scopeId","data-v-561feda9"]]),nE=De({__name:"CeSelectSingle",props:I2,setup(e){const t=e;return(n,i)=>n.displayType==="radio"?(J(),ke(df,sr(Ke({key:0},t)),null,16)):(J(),ke(fn,sr(Ke({key:1},t)),null,16))}}),iE={header:Object,topicTagsFilter:Array,showNews:Boolean,showVideos:Boolean,showContent:Boolean,showEvents:Boolean},rE={header:Object,results:Array,filters:Array,currentLanguage:String,labels:Object,numFound:Number,resultType:String,pending:Boolean};function aE(e,t,n,i){var a,s,o,l,c,u,d,m,v,h,f,w,_,y,x,A,E,$,B,Q;let r={};return((a=e==null?void 0:e.contentType)==null?void 0:a[0])==="content"||((s=e==null?void 0:e.contentType)==null?void 0:s[0])==="news"?r={id:e.id,link:{href:e.path?_t(e.path,t.languages,t.currentLanguage,t.site,t.isPublic):void 0},text:((o=e==null?void 0:e.contentType)==null?void 0:o[0])==="content"?(l=e[`teaser_text${i}`])==null?void 0:l[0]:"",headline:((c=e[`teaser_headline${i}`])==null?void 0:c[0])||"",topline:((u=e==null?void 0:e.contentType)==null?void 0:u[0])==="news"?di(e.releasedate_dt,t.currentLanguage):"",image:e[`teaser_image${i}`]&&e[`teaser_image_filename${i}`]?{_linkPattern:{area:`${n.public.mgnlDamRaw}${n.public.mgnlBase}/.imaging/focalarea/{crop}/{width}/dam/${encodeURIComponent((d=e[`teaser_image${i}`])==null?void 0:d[0])}/${encodeURIComponent((m=e[`teaser_image_filename${i}`])==null?void 0:m[0])}`},metadata:{width:1200,height:800}}:void 0,imageAltText:(v=e[`teaser_imageAltText${i}`])==null?void 0:v[0],imageShowSource:(h=e.teaser_imageShowSource)==null?void 0:h[0],imageSourceColor:(f=e.teaser_imageSourceColor)==null?void 0:f[0],labelTags:Xc(e[`category_value${i}`])}:((w=e==null?void 0:e.teaserType)==null?void 0:w[0])==="videos"&&(r={id:e.id,text:(_=e[`text${i}`])==null?void 0:_[0],headline:(y=e[`headline${i}`])==null?void 0:y[0],imageAltText:(x=e[`imageAltText${i}`])==null?void 0:x[0],labelTags:Xc(e[`category_value${i}`]),linkText:(A=e[`linkText${i}`])==null?void 0:A[0],video:{videoId:(E=e[`videoId${i}`])==null?void 0:E[0],videoPlatform:($=e.videoPlatform)==null?void 0:$[0],image:e.image&&e.image_filename?{_linkPattern:{area:`${n.public.mgnlDamRaw}${n.public.mgnlBase}/.imaging/focalarea/{crop}/{width}/dam/${encodeURIComponent((B=e.image)==null?void 0:B[0])}/${(Q=e.image_filename)==null?void 0:Q[0]}`},metadata:{width:1200,height:800}}:void 0}}),r}function Xc(e){return(e==null?void 0:e.map(t=>({id:t,label:t})))||[]}const sE={id:String,required:Boolean,label:String,errorMessage:String,icon:String,name:String,dataName:String,scrollable:Boolean,options:Array},oE={id:String,name:String,dataName:String,dataId:String,dataType:String,label:String,value:String,required:Boolean,disabled:Boolean,checked:Boolean};const lE={class:"c-filter-tag"},cE=["id","name","data-name","data-id","data-type","value","required","disabled","checked"],uE=["for"],dE={__name:"CeFilterTag",props:oE,emits:["changed"],setup(e,{emit:t}){const n=t;return(i,r)=>(J(),ue("div",lE,[he("input",{id:i.id,name:i.name,"data-name":i.dataName,"data-id":i.dataId,"data-type":i.dataType,value:i.value,required:!i.disabled&&i.required,disabled:i.disabled,checked:i.checked,type:"checkbox",class:"c-filter-tag__input",onChange:r[0]||(r[0]=a=>n("changed",a)),onClick:r[1]||(r[1]=(...a)=>i.onTagClick&&i.onTagClick(...a))},null,40,cE),i.label?(J(),ue("label",{key:0,for:i.id,class:"c-filter-tag__label richtext"},[St(Oe(i.label),1),i.checked?(J(),ke(pt,{key:0,variant:"close-x"})):pe("",!0)],8,uE)):pe("",!0)]))}},Qc=ze(dE,[["__scopeId","data-v-0714983f"]]),hE=["id"],fE={key:0,class:"c-filter-tag-group__legend"},pE={class:"c-filter-tag-group__wrapper"},mE=De({__name:"CeFilterTagGroup",props:sE,emits:["changed"],setup(e,{emit:t}){const n=t,i=e,r=de(()=>ef(i.options));return(a,s)=>{const o=ba,l=_a,c=Ba;return J(),ue(Be,null,[a.scrollable?pe("",!0):(J(),ue("div",{key:0,id:a.id,class:"c-filter-tag-group"},[a.label?(J(),ue("legend",fE,Oe(a.label),1)):pe("",!0),he("div",pE,[(J(!0),ue(Be,null,Ue(a.options,u=>(J(),ke(Qc,{id:`filter-tag--${a.id}--${u.name}`,key:`filter-tag--${a.name}--${u.name}`,class:"c-filter-tag-group__tag",name:u.query,"data-name":u.name,"data-id":u.id,"data-type":u.type,checked:u.checked,value:u.value,label:u.label,disabled:u.disabled,onChanged:s[0]||(s[0]=d=>n("changed",d))},null,8,["id","name","data-name","data-id","data-type","checked","value","label","disabled"]))),128))])],8,hE)),ve(c,null,{default:He(()=>[a.scrollable?(J(),ke(l,{key:0,modules:[we(vo),we(yo),we(bo)],"space-between":8,"slides-per-view":"auto",scrollbar:!0,mousewheel:!0,"free-mode":{enabled:!0,sticky:!0}},{default:He(()=>[(J(!0),ue(Be,null,Ue(r.value,u=>(J(),ke(o,{key:`filter-tag--${a.name}--${u.name}`},{default:He(()=>[(J(),ke(Qc,{id:`filter-tag--${a.id}--${u.name}`,key:`filter-tag--${a.name}--${u.name}`,class:"c-filter-tag-group__tag",name:u.query,"data-name":u.name,"data-id":u.id,"data-type":u.type,checked:u.checked,value:u.value,label:u.label,disabled:u.disabled,onChanged:s[1]||(s[1]=d=>n("changed",d))},null,8,["id","name","data-name","data-id","data-type","checked","value","label","disabled"]))]),_:2},1024))),128))]),_:1},8,["modules"])):pe("",!0)]),_:1})],64)}}});const In=ze(mE,[["__scopeId","data-v-cd41594e"]]),gE={id:String,topline:String,headline:String,text:String,link:Object,image:Object,imageAltText:String,imageSourceColor:String,imageShowSource:Boolean,labelTags:Array,eventDate:String,eventTime:String,eventLocation:String,eventLanguage:String,video:Object,showImgOutline:Boolean,subHeadline:String,productImage:String,productDescription:String,productHeadline:String};function Qo(){const e=be(!1),t=n=>{var r;const i=(r=n==null?void 0:n.type)!=null&&r.includes("cf_")?50:0;setTimeout(()=>{e.value=window.CookieFirst?window.CookieFirst.consent?window.CookieFirst.consent.advertising:!1:!0},i)};return ot(()=>{t(),window.addEventListener("cf_init",t),window.addEventListener("cf_consent",t)}),yt(()=>{window.removeEventListener("cf_init",t),window.removeEventListener("cf_consent",t)}),{cookieAllowed:e}}const vE={video:Object,playVideo:Boolean,hoverTransition:Boolean,imageConfig:Object,imageAltText:String,imageSourceColor:String,imageShowSource:Boolean,labelTags:Array},yE={id:String,label:String,iconVariant:String,additionalClasses:String},bE=["textContent"],_E=De({__name:"CeLabelTag",props:yE,setup(e){return(t,n)=>(J(),ue("div",{class:Ne(["c-label-tag",t.additionalClasses])},[t.iconVariant?(J(),ke(pt,{key:0,variant:t.iconVariant},null,8,["variant"])):pe("",!0),he("span",{textContent:Oe(t.label)},null,8,bE)],2))}});const Rn=ze(_E,[["__scopeId","data-v-c442e534"]]),wE={class:"c-teaser-video"},kE={key:1,class:"c-teaser__label-tags"},CE=De({__name:"CeTeaserVideo",props:vE,emits:["modal-closed"],setup(e,{emit:t}){const n=Ze(),{label:i}=mt(n),r=e,{cookieAllowed:a}=Qo(),s=t,o=de(()=>{var u;return r.video?{...r.video,image:r.video.image&&r.imageConfig?Nn({...r.imageConfig,crop:rn.CINEMA},(u=r.video)==null?void 0:u.image,r.imageAltText,void 0,!1,r.imageShowSource,r.imageSourceColor):void 0}:void 0}),l=de(()=>r.hoverTransition?" has-transition":"");function c(){a.value&&!n.videoModalContent&&n.setVideoModalContent(o.value)}return Qe(()=>n.videoModalContent,u=>{u||s("modal-closed")}),Qe(()=>r.playVideo,u=>{u&&c()}),(u,d)=>{var m,v,h;return J(),ue("div",{class:Ne(["c-teaser-video-wrapper",l.value])},[he("div",wE,[(m=o.value)!=null&&m.image&&we(a)?(J(),ke(tf,{key:0,picture:(v=o.value)==null?void 0:v.image},null,8,["picture"])):pe("",!0),u.labelTags?(J(),ue("div",kE,[(J(!0),ue(Be,null,Ue(u.labelTags,f=>(J(),ke(Rn,Ke({key:f.id,ref_for:!0},f),null,16))),128))])):pe("",!0),!we(a)&&((h=o.value)==null?void 0:h.videoPlatform)!=="tencent"?(J(),ke(Go,{key:2,category:"advertising",text:we(i)("global.videoFallback.text"),label:we(i)("global.videoFallback.accept")},null,8,["text","label"])):pe("",!0),he("div",{class:"c-teaser-video__content",onClick:tt(c,["prevent"])},[ve(Je,{label:we(i)("global.video.play"),class:"c-button--primary-transparent c-button--simple-rounded c-button--big",icon:"play",onClick:tt(c,["prevent"])},null,8,["label"])])])],2)}}});const hf=ze(CE,[["__scopeId","data-v-53c8e6e1"]]),xE=["href","target"],SE={class:Ne(["c-teaser__grid"])},AE=["src","alt"],EE={class:"c-teaser__text-box"},PE={key:0,class:"c-teaser__topline","data-cy":"teaser-topline"},TE=["innerHTML"],ME=["innerHTML"],LE=["innerHTML"],$E={key:3,class:"c-teaser__text-with-icon"},OE={key:4,class:"c-teaser__text-with-icon"},DE={key:5,class:"c-teaser__text-with-icon"},IE={key:6,class:"c-teaser__text-with-icon"},RE={key:1,class:"c-teaser__media-box","data-cy":"teaser-media-box"},BE={key:2,class:"c-teaser__label-tags"},FE=De({__name:"CeTeaser",props:gE,setup(e){const t=e,{cookieAllowed:n}=Qo(),i=be(!1),r=be(!1),a=be({sizes:{xs:[Re.W600,Re.W600],sm:[Re.W600,Re.W1000],md:[Re.W600,Re.W600],lg:[Re.W600,Re.W600],xl:[Re.W600,Re.W800],xxl:[Re.W600,Re.W1000]},crop:rn.LANDSCAPE_3_2}),s=de(()=>{const u=t.image?Nn(a.value,t.image,t.imageAltText,void 0,!1,t.imageShowSource,t.imageSourceColor):void 0;return u?{...u,showImgOutline:t.showImgOutline}:void 0});function o(u,d){return u.length>d?u.slice(0,d)+"&nbsp;...":u}function l(u){if(!t.video||!n.value)return;!(u.target.closest(".c-teaser-video-wrapper")||u.target.closest(".c-video-fallback"))&&r.value===!1&&(i.value=!0,r.value=!0)}function c(){i.value=!1,setTimeout(()=>{r.value=!1})}return(u,d)=>{var m,v;return J(),ue("a",{href:(m=u.link)==null?void 0:m.href,target:(v=u.link)==null?void 0:v.target,class:"c-teaser","data-cy":"teaser",onClick:l},[he("div",SE,[u.productImage?(J(),ue("img",{key:0,class:"c-product-selector-card__image",src:u.productImage,alt:u.headline,"data-cy":"product-card-image","hover-transition":""},null,8,AE)):pe("",!0),he("div",EE,[u.topline?(J(),ue("div",PE,Oe(u.topline),1)):pe("",!0),he("h3",{class:"c-teaser__headline","data-cy":"teaser-headline",innerHTML:u.headline||u.productHeadline},null,8,TE),u.subHeadline?(J(),ue("div",{key:1,class:"c-product-selector-card__sub-headline","data-cy":"product-card-sub-headline",innerHTML:u.subHeadline},null,8,ME)):pe("",!0),u.text||u.productDescription?(J(),ue("div",{key:2,class:"c-teaser__text","data-cy":"teaser-text",innerHTML:u.text||o(u.productDescription??"",180)},null,8,LE)):pe("",!0),u.eventDate?(J(),ue("div",$E,[ve(pt,{variant:"calendar","data-cy":"event-date-icon"}),he("span",null,Oe(u.eventDate),1)])):pe("",!0),u.eventTime?(J(),ue("div",OE,[ve(pt,{variant:"clock","data-cy":"event-time-icon"}),he("span",null,Oe(u.eventTime),1)])):pe("",!0),u.eventLocation?(J(),ue("div",DE,[ve(pt,{variant:"location","data-cy":"event-location-icon"}),he("span",null,Oe(u.eventLocation),1)])):pe("",!0),u.eventLanguage?(J(),ue("div",IE,[ve(pt,{variant:"globe","data-cy":"event-language-icon"}),he("span",null,Oe(u.eventLanguage),1)])):pe("",!0)]),s.value||u.video?(J(),ue("div",RE,[s.value?(J(),ke(jn,{key:0,picture:s.value,"data-cy":"teaser-picture","hover-transition":""},null,8,["picture"])):pe("",!0),u.video?(J(),ke(hf,{key:1,"data-cy":"teaser-video",video:u.video,"image-alt-text":u.imageAltText,"image-source-color":u.imageSourceColor,"image-show-source":u.imageShowSource,"image-config":a.value,"label-tags":u.labelTags,"play-video":i.value,"hover-transition":"",onModalClosed:c},null,8,["video","image-alt-text","image-source-color","image-show-source","image-config","label-tags","play-video","onModalClosed"])):pe("",!0),u.labelTags&&s.value?(J(),ue("div",BE,[(J(!0),ue(Be,null,Ue(u.labelTags,(h,f)=>(J(),ke(Rn,Ke({key:h.id,"data-cy":"teaser-label-tag"+f,ref_for:!0},h),null,16,["data-cy"]))),128))])):pe("",!0)])):pe("",!0)]),u.video?pe("",!0):(J(),ke(pt,{key:0,class:"c-teaser__link-icon c-icon--24","data-cy":"teaser-link-icon",variant:"chevron-right"}))],8,xE)}}});const qi=ze(FE,[["__scopeId","data-v-6ef7d26c"]]),NE={backgroundColor:String,header:Object,teasers:Object,imageShowOutline:Boolean},jE={id:String,path:String,isExternal:{type:Boolean,default:!1},isInternal:{type:Boolean,default:!1},isContact:{type:Boolean,default:!1},isFullsizeTeaser:{type:Boolean,default:!1},labelSendMail:{type:String},labelWeb2Lead:{type:String},showImage:{type:Boolean,default:!1},showImageSource:{type:Boolean,default:!1},showPhone:{type:Boolean,default:!1},showMobile:{type:Boolean,default:!1},showFax:{type:Boolean,default:!1},showEmail:{type:Boolean,default:!1},showWeb2Lead:{type:Boolean,default:!1},showContactType:{type:Boolean,default:!1},showLink:{type:Boolean,default:!1},showHint:{type:Boolean,default:!1},showMailTo:{type:Boolean,default:!1},showPosition:{type:Boolean,default:!1},showImgOutline:{type:Boolean,default:!1},hasBackgroundImage:Boolean};var xt=(e=>(e.VIDEO="Video Teaser",e.PAGE="Page Teaser",e.EVENT="Event Teaser",e.CONTACT="Contact",e.LINKBOX="LinkBox",e))(xt||{});const HE={id:String,headline:String,text:String,link:Object,linkText:String,type:xt,image:Object,video:Object,imageAltText:String,imageSourceColor:String,imageShowSource:Boolean,labelTags:Array,showImgOutline:Boolean,hasBackgroundImage:Boolean},zE=["href","target"],VE={class:"c-fullsize-teaser__text-box"},WE=["innerHTML"],UE=["innerHTML"],GE={class:"c-fullsize-teaser__link-text"},qE={key:0,class:"c-fullsize-teaser__link-text-label"},YE={key:0,class:"c-fullsize-teaser__media-box"},XE={key:2,class:"c-fullsize-teaser__label-tags"},QE=De({__name:"CeFullsizeTeaser",props:HE,setup(e){const t=e,{cookieAllowed:n}=Qo(),i=be(!1),r=be(!1),a=be({sizes:{xs:[Re.W600,Re.W600],sm:[Re.W600,Re.W1000],md:[Re.W600,Re.W600],lg:[Re.W600,Re.W600],xl:[Re.W600,Re.W800],xxl:[Re.W600,Re.W1000]},crop:rn.LANDSCAPE_3_2}),s=de(()=>{const d=t.image?Nn(a.value,t.image,t.imageAltText,void 0,!1,t.imageShowSource,t.imageSourceColor):void 0;return d?{...d,showImgOutline:t.showImgOutline}:void 0}),o=de(()=>!!(s.value||t.video)&&!t.hasBackgroundImage);function l(d){if(!t.video||!n.value)return;!(d.target.closest(".c-video-wrapper")||d.target.closest(".c-video-fallback"))&&r.value===!1&&(i.value=!0,r.value=!0)}function c(){r.value=!0}function u(){i.value=!1,setTimeout(()=>{r.value=!1})}return(d,m)=>{var v,h;return J(),ue("div",{class:Ne(["c-fullsize-teaser",r.value?"is-modal-open":""])},[he("a",{class:Ne(["c-fullsize-teaser__grid",{"is-with-background-image":d.hasBackgroundImage}]),href:(v=d.link)==null?void 0:v.href,target:(h=d.link)==null?void 0:h.target,onClick:l},[he("div",VE,[he("div",{class:"c-fullsize-teaser__headline",innerHTML:d.headline},null,8,WE),d.text?(J(),ue("div",{key:0,class:"c-fullsize-teaser__text",innerHTML:d.text},null,8,UE)):pe("",!0),he("div",GE,[ve(pt,{variant:"chevron-right"}),d.linkText?(J(),ue("span",qE,Oe(d.linkText),1)):pe("",!0)])]),o.value?(J(),ue("div",YE,[s.value?(J(),ke(jn,{key:0,picture:s.value,"hover-transition":""},null,8,["picture"])):pe("",!0),d.video?(J(),ke(hf,{key:1,video:d.video,"image-alt-text":d.imageAltText,"image-source-color":d.imageSourceColor,"image-show-source":d.imageShowSource,"image-config":a.value,"label-tags":d.labelTags,"play-video":i.value,"hover-transition":"",onModalOpen:c,onModalClosed:u},null,8,["video","image-alt-text","image-source-color","image-show-source","image-config","label-tags","play-video","onModalOpen","onModalClosed"])):pe("",!0),d.labelTags&&s.value?(J(),ue("div",XE,[(J(!0),ue(Be,null,Ue(d.labelTags,f=>(J(),ke(Rn,Ke({key:f.id,ref_for:!0},f),null,16))),128))])):pe("",!0)])):pe("",!0)],10,zE)],2)}}});const KE=ze(QE,[["__scopeId","data-v-42774003"]]),ZE={"@id":String,contactReference:Object,image:Object,imageAltText:String,imageSourceColor:String,backgroundColor:String,showMobile:Boolean,showLink:Boolean,showPhone:Boolean,showFax:Boolean,showImage:Boolean,showWeb2Lead:Boolean,showContactType:Boolean,showEmail:Boolean,showAddress:Boolean,showHint:Boolean,showMailTo:Boolean,showPosition:Boolean,showImageSource:Boolean,labelSendMail:String,labelWeb2Lead:String,downloadLinks:Array,isVerticallyAligned:Boolean,type:xt},JE={title:String,description:String,link:String,metadata:Object,additionalLinkClasses:String},ff=e=>{const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return Math.round(e/Math.pow(1024,n))+" "+t[n]},eP=e=>{let t;try{t=e.split("/")}catch{t=void 0,console.error(`Type Error: 'filetype' should be 'string', is: '${typeof e}'`)}return(t==null?void 0:t[1])==="vnd.openxmlformats-officedocument.spreadsheetml.sheet"?"XLSX":(t==null?void 0:t[1])==="vnd.ms-excel.sheet.macroenabled.12"?"XLSM":t==null?void 0:t[1].toUpperCase()},tP=["href"],nP={class:"c-download-link__label"},iP={class:"c-download-link__content"},rP=["innerHTML"],aP=["innerHTML"],sP={key:0,class:"c-download-link__meta"},oP={key:0},lP={class:"c-download-link__icon"},cP=De({__name:"CeDownloadLink",props:JE,setup(e){var s,o;const t=Ze(),{label:n}=mt(t),i=e,r=(o=(s=i.link)==null?void 0:s.split(".").pop())==null?void 0:o.toUpperCase(),a=de(()=>{var u,d,m,v;const l=(u=i.metadata)!=null&&u.mimeType?eP((d=i.metadata)==null?void 0:d.mimeType):"",c=(m=i.metadata)!=null&&m.fileSize?` | ${ff((v=i.metadata)==null?void 0:v.fileSize)}`:"";return i.metadata?`${l}${c}`:r});return(l,c)=>{var u,d,m;return J(),ue("a",{class:Ne(["c-download-link",l.additionalLinkClasses]),href:l.link,rel:"noreferrer",target:"_blank",download:""},[he("div",nP,[he("div",iP,[he("span",{class:"c-download-link__title",innerHTML:l.title},null,8,rP),l.description?(J(),ue("div",{key:0,class:"c-download-link__description",innerHTML:l.description},null,8,aP)):pe("",!0)]),a.value?(J(),ue("div",sP,[St(Oe(a.value),1),(u=l.metadata)!=null&&u.language?(J(),ue("span",oP," | "+Oe(we(n)(`global.language.${(m=(d=l.metadata)==null?void 0:d.language)==null?void 0:m.toLowerCase()}`)),1)):pe("",!0)])):pe("",!0)]),he("div",lP,[ve(pt,{variant:"download",size:32})])],10,tP)}}});const Ko=ze(cP,[["__scopeId","data-v-6e5251ce"]]),uP={class:"c-contact__grid is-bg-pale-gray"},dP={class:"c-contact__text-box"},hP={class:"c-contact__main-info"},fP={class:"c-contact__name"},pP={key:0,class:"c-contact__position"},mP={key:3,class:"c-contact__info"},gP={key:0,class:"c-contact__contact-data"},vP={key:0,class:"c-contact__phones"},yP=["href"],bP=["href"],_P={key:2,class:"c-contact__fax"},wP={key:1,class:"c-contact__address"},kP={key:0,class:"c-contact__address-label"},CP={key:1,class:"c-contact__address-label"},xP={key:2,class:"c-contact__address-label"},SP={key:1,class:"c-contact__hint-link"},AP={key:0,class:"c-contact__hint"},EP={key:0,class:"c-contact__media-box"},PP={key:1,class:"c-contact__downloads"},TP={class:"c-contact__download-list"},MP=De({__name:"CeContact",props:ZE,setup(e){const t=e,n=de(()=>{const h={sizes:{xs:[Re.W600,Re.W600],sm:[Re.W600,Re.W1000],md:[Re.W600,Re.W600],lg:[Re.W600,Re.W800],xl:[Re.W800,Re.W1000],xxl:[Re.W800,Re.W1000]},crop:rn.LANDSCAPE_3_2};return t.image?Nn(h,t.image,t.imageAltText,void 0,!1,t.showImageSource,t.imageSourceColor):void 0}),i=de(()=>n.value&&t.showImage?"":" c-contact--without-picture"),r=de(()=>{const{showFax:h,showMobile:f,showPhone:w,showLink:_,showAddress:y,showHint:x,showEmail:A,showWeb2Lead:E,showContactType:$}=t;return h||f||w||_||y||x||A||E||$}),a=de(()=>{var h;return t.showPhone&&!!((h=t.contactReference)!=null&&h.phone)}),s=de(()=>{var h;return t.showMobile&&!!((h=t.contactReference)!=null&&h.mobile)}),o=de(()=>{var h;return t.showFax&&!!((h=t.contactReference)!=null&&h.fax)}),l=de(()=>{var h,f;return t.showWeb2Lead&&!!((f=(h=t.contactReference)==null?void 0:h.web2lead)!=null&&f.pageLink)}),c=de(()=>{var h;return t.showContactType&&((h=t.contactReference)==null?void 0:h.contactType)}),u=de(()=>{var h;return t.showEmail&&!!((h=t.contactReference)!=null&&h.mailAddress)}),d=de(()=>a.value||s.value||o.value),m=de(()=>{var h,f;return t.showAddress&&!!((h=t.contactReference)!=null&&h.address)&&typeof((f=t.contactReference)==null?void 0:f.address)=="object"}),v=de(()=>d.value||t.showAddress);return(h,f)=>{var w,_,y,x,A,E,$,B,Q,I,F,k,P,C,p,g,D,R,Z,G,V,X,ee,S,O,M,H,q,T,L,U,ie,N,K,b,z,Y,W,j,ne,se,ce,oe,re,te,ae,le,fe,me,ge,_e,Ce,xe,Se,Pe,Le,Te,Me,$e,Ye,Ge,Xe,et,at,bt,ye,Ae,Ee,Ie,je,Fe,qe;return J(),ue("div",{class:Ne(["c-contact",{"c-contact--vertical":h.isVerticallyAligned},i.value])},[he("div",uP,[he("div",dP,[he("div",hP,[he("span",fP,Oe((w=h.contactReference)==null?void 0:w.name),1),(_=h.contactReference)!=null&&_.position?(J(),ue("span",pP,Oe((y=h.contactReference)==null?void 0:y.position),1)):pe("",!0)]),c.value?(J(),ke(Rn,{key:0,class:"c-contact__type",label:(x=h.contactReference)==null?void 0:x.contactType},null,8,["label"])):pe("",!0),l.value?(J(),ke(lt,{key:1,class:"c-contact__mail",icon:"mailto",link:(A=h.contactReference)==null?void 0:A.web2lead.pageLink,label:h.labelWeb2Lead,rel:(E=h.contactReference)==null?void 0:E.web2lead.rel,target:($=h.contactReference)==null?void 0:$.web2lead.target,anchor:(B=h.contactReference)==null?void 0:B.web2lead.anchor},null,8,["link","label","rel","target","anchor"])):pe("",!0),u.value?(J(),ke(lt,{key:2,class:"c-contact__mail",icon:"mailto",href:"mailto:"+((Q=h.contactReference)==null?void 0:Q.mailAddress),label:h.labelSendMail},null,8,["href","label"])):pe("",!0),r.value?(J(),ue("div",mP,[v.value?(J(),ue("div",gP,[d.value?(J(),ue("div",vP,[a.value?(J(),ue("a",{key:0,class:"c-contact__phone",href:"tel:"+((I=h.contactReference)==null?void 0:I.phone)},[ve(pt,{class:"c-contact__icon",variant:"phone"}),St(Oe((F=h.contactReference)==null?void 0:F.phone),1)],8,yP)):pe("",!0),s.value?(J(),ue("a",{key:1,class:"c-contact__phone",href:"tel:"+((k=h.contactReference)==null?void 0:k.mobile)},[ve(pt,{class:"c-contact__icon",variant:"phone"}),St(Oe((P=h.contactReference)==null?void 0:P.mobile),1)],8,bP)):pe("",!0),o.value?(J(),ue("div",_P,[ve(pt,{class:"c-contact__icon",variant:"fax"}),he("span",null,Oe((C=h.contactReference)==null?void 0:C.fax),1)])):pe("",!0)])):pe("",!0),m.value&&!h.isVerticallyAligned?(J(),ue("div",wP,[ve(pt,{class:"c-contact__icon",variant:"location"}),((g=(p=h.contactReference)==null?void 0:p.address)==null?void 0:g.addressFormat)==="china"||((R=(D=h.contactReference)==null?void 0:D.address)==null?void 0:R.addressFormat)==="us/korea/uk"?(J(),ue("p",kP,[he("span",null,Oe((G=(Z=h.contactReference)==null?void 0:Z.address)==null?void 0:G.headline),1),he("span",null,Oe((X=(V=h.contactReference)==null?void 0:V.address)==null?void 0:X.street),1),he("span",null,Oe(((S=(ee=h.contactReference)==null?void 0:ee.address)==null?void 0:S.city)+" "+((M=(O=h.contactReference)==null?void 0:O.address)==null?void 0:M.postalCode)),1),he("span",null,Oe((q=(H=h.contactReference)==null?void 0:H.address)==null?void 0:q.country),1)])):((L=(T=h.contactReference)==null?void 0:T.address)==null?void 0:L.addressFormat)==="jp"?(J(),ue("p",CP,[he("span",null,Oe((ie=(U=h.contactReference)==null?void 0:U.address)==null?void 0:ie.headline),1),he("span",null,Oe(((K=(N=h.contactReference)==null?void 0:N.address)==null?void 0:K.postalCode)+" "+((z=(b=h.contactReference)==null?void 0:b.address)==null?void 0:z.city)),1),he("span",null,Oe((W=(Y=h.contactReference)==null?void 0:Y.address)==null?void 0:W.street),1),he("span",null,Oe((ne=(j=h.contactReference)==null?void 0:j.address)==null?void 0:ne.country),1)])):(J(),ue("p",xP,[he("span",null,Oe((ce=(se=h.contactReference)==null?void 0:se.address)==null?void 0:ce.headline),1),he("span",null,Oe((re=(oe=h.contactReference)==null?void 0:oe.address)==null?void 0:re.street),1),he("span",null,Oe(((ae=(te=h.contactReference)==null?void 0:te.address)==null?void 0:ae.postalCode)+" "+((fe=(le=h.contactReference)==null?void 0:le.address)==null?void 0:fe.city)),1),he("span",null,Oe((ge=(me=h.contactReference)==null?void 0:me.address)==null?void 0:ge.country),1)]))])):pe("",!0)])):pe("",!0),(_e=h.contactReference)!=null&&_e.hint||(Ce=h.contactReference)!=null&&Ce.link?(J(),ue("div",SP,[h.showHint&&((xe=h.contactReference)!=null&&xe.hint)?(J(),ue("div",AP,[ve(pt,{class:"c-contact__icon",variant:"info"}),he("span",null,Oe((Se=h.contactReference)==null?void 0:Se.hint),1)])):pe("",!0),h.showLink&&((Pe=h.contactReference)!=null&&Pe.link)&&((Te=(Le=h.contactReference)==null?void 0:Le.link)!=null&&Te.text)?(J(),ke(lt,{key:1,icon:"chevron-right",class:"c-contact__reference-link",link:((Ye=($e=(Me=h.contactReference)==null?void 0:Me.link)==null?void 0:$e.link)==null?void 0:Ye.href)||((et=(Xe=(Ge=h.contactReference)==null?void 0:Ge.link)==null?void 0:Xe.link)==null?void 0:et.pageLink),label:(bt=(at=h.contactReference)==null?void 0:at.link)==null?void 0:bt.text,target:(Ee=(Ae=(ye=h.contactReference)==null?void 0:ye.link)==null?void 0:Ae.link)==null?void 0:Ee.target,rel:(Fe=(je=(Ie=h.contactReference)==null?void 0:Ie.link)==null?void 0:je.link)==null?void 0:Fe.rel},null,8,["link","label","target","rel"])):pe("",!0)])):pe("",!0)])):pe("",!0)]),n.value&&h.showImage?(J(),ue("div",EP,[ve(jn,{picture:n.value,"hover-transition":""},null,8,["picture"])])):pe("",!0),(qe=h.downloadLinks)!=null&&qe.length?(J(),ue("div",PP,[he("ul",TP,[(J(!0),ue(Be,null,Ue(h.downloadLinks,We=>(J(),ue("li",{key:We["@id"],class:"c-contact__download-list-item"},[ve(Ko,Ke({ref_for:!0},We),null,16)]))),128))])])):pe("",!0)])],2)}}});const Zo=ze(MP,[["__scopeId","data-v-ecfaca8f"]]),LP={headline:String,richtext:String,imageAltText:String,imageSourceColor:String,showImageSource:Boolean,image:Object,linkBox:Object,type:xt},$P=e=>!!e,OP={class:"c-link-box"},DP={key:0,class:"c-link-box__media-box"},IP={class:"c-link-box__wrap"},RP=["innerHTML"],BP=["innerHTML"],FP={class:"c-link-box__list"},NP=De({__name:"CeLinkBox",props:LP,setup(e){const t=e,n=Ze(),i=de(()=>{var o,l,c;return(l=(o=t.linkBox)==null?void 0:o["@nodes"])!=null&&l.length?(c=t.linkBox)==null?void 0:c["@nodes"].map(u=>{var m,v,h,f,w,_,y,x,A,E;const d=(m=t.linkBox)==null?void 0:m[u];if($P(d))return{id:d["@id"],label:d.text,description:(f=(h=(v=d.link)==null?void 0:v.downloadLink)==null?void 0:h.metadata)==null?void 0:f.description,link:r(d.link),icon:d.icon??(a((w=d.link)==null?void 0:w.styling)||a((_=d.link)==null?void 0:_.type)),target:(y=d.link)==null?void 0:y.target,ariaLabel:d.text,download:((x=d.link)==null?void 0:x.type)==="download",rel:(A=d.link)==null?void 0:A.rel,anchor:(E=d.link)==null?void 0:E.anchor}}):void 0}),r=function(o){return o!=null&&o.pageLink?_t(o.pageLink,n==null?void 0:n.languages,n==null?void 0:n.currentLanguage,n==null?void 0:n.site,n==null?void 0:n.isPublic):o.href||o._downloadLink},a=function(o){switch(o){case"download":return"download";case"external":return"external-link";case"internal":return"chevron-right";default:return""}},s=de(()=>{const o={sizes:{xs:[Re.W600,Re.W600],sm:[Re.W600,Re.W1000],md:[Re.W600,Re.W600],lg:[Re.W600,Re.W800],xl:[Re.W800,Re.W1000],xxl:[Re.W800,Re.W1000]},crop:rn.LANDSCAPE_3_2};return t.image?Nn(o,t.image,t.imageAltText,void 0,!1,t.showImageSource,t.imageSourceColor):void 0});return(o,l)=>(J(),ue("div",OP,[s.value?(J(),ue("div",DP,[ve(jn,{picture:s.value,"hover-transition":""},null,8,["picture"])])):pe("",!0),he("div",IP,[o.headline?(J(),ue("span",{key:0,class:"c-link-box__headline is-typo-h3",innerHTML:o.headline},null,8,RP)):pe("",!0),o.richtext?(J(),ue("span",{key:1,class:"c-link-box__description","data-qa":"text",innerHTML:o.richtext},null,8,BP)):pe("",!0),he("ul",FP,[(J(!0),ue(Be,null,Ue(i.value,c=>(J(),ue("li",{key:c==null?void 0:c.id,class:"c-link-box__item"},[ve(lt,Ke({ref_for:!0},c,{class:"c-link--box"}),null,16)]))),128))])])]))}});const jP=ze(NP,[["__scopeId","data-v-af68b1a2"]]);function no(e,t){const n=e!=null&&e.startDate?di(e.startDate,t):"",i=n&&(e!=null&&e.endDate)?di(e.endDate,t):"";return`${n}${i?" - ":""}${i}`}function HP(e){const t=e!=null&&e.startTime?e.startTime:"",n=t&&(e!=null&&e.endTime)?e.endTime:"",i=n?" - ":"",r=t&&(e!=null&&e.timezone)?` ${e.timezone}`:"";return`${t}${i}${n}${r}`}function zP(e){var n;return(n=e==null?void 0:e.language)!=null&&n.name?e.language.name.toUpperCase():""}const Jo=De({__name:"CeTeaserFetch",props:jE,async setup(e){let t,n;const i=e,r=Ze(),a=kt(),s=Gt(),o=hi(a),l=fi({$config:a.$config},a._route.path),u=Er(a._route.path,o)?Bd(i.path,l):i.path,d=window.location,m={$config:s,location:d,isServer:!1},v=Fi(m),f=`${mn(m,v,"mgnlApiInternalTeaser")}${u}?lang=${l}`,_=`${mn(m,v,"mgnlApiExternalTeaser")}?@jcr:uuid=${i.id}&lang=${l}`,x=`${mn(m,v,"mgnlApiContact")}?@jcr:uuid=${i.id}&lang=${l}`,A=i.isExternal?_:i.isContact?x:f,{data:E}=([t,n]=Vt(()=>Xt(A,{transform:k=>{var p,g,D,R,Z,G,V,X,ee;k.teaser=i.isExternal||i.isContact?(p=k==null?void 0:k.results)==null?void 0:p[0]:k.teaser;const P=(g=k==null?void 0:k["mgnl:template"])==null?void 0:g.includes("T06_NewsDetailPage"),C=F(k);switch(Ea(k.teaser,s.public.mgnlHost,s.public.mgnlBase),C){case xt.EVENT:return{id:k.teaser["@id"],headline:k.teaser.headline,link:$(k),image:typeof k.teaser.image=="object"?k.teaser.image:void 0,imageAltText:k.teaser.imageAltText,imageSourceColor:k.teaser.imageSourceColor,imageShowSource:k.teaser.imageShowSource,labelTags:Q(k.teaser),eventDate:no(k.teaser.event,l),eventTime:HP(k.teaser.event),eventLocation:(D=k.teaser)==null?void 0:D.location,eventLanguage:zP(k.teaser),type:xt.EVENT};case xt.VIDEO:return{id:k.teaser["@id"],topline:P?di(k.releaseDate,l):void 0,headline:k.teaser.headline,text:k.teaser.text,video:{videoId:k.teaser.videoId,videoPlatform:k.teaser.videoPlatform,image:k.teaser.image},imageAltText:k.teaser.imageAltText,imageSourceColor:k.teaser.imageSourceColor,imageShowSource:k.teaser.imageShowSource,labelTags:I(k.teaser),linkText:(R=k.teaser)==null?void 0:R.linkText,type:xt.VIDEO};case xt.CONTACT:return{"@id":k.teaser["@id"],contactReference:{"@id":k.teaser["@id"],contactID:k.teaser.contactID,name:k.teaser.name,position:i.showPosition?k.teaser.position:void 0,contactType:(Z=k.teaser.contactType)==null?void 0:Z.name,fax:k.teaser.fax,phone:k.teaser.phone,mobile:k.teaser.mobile,mailAddress:i.showMailTo?k.teaser.mailAddress:void 0,hint:k.teaser.hint,link:k.teaser.link&&{"@path":k.teaser.link["@path"],"@id":k.teaser.link["@id"],text:k.teaser.link.text,link:{href:k.teaser.link.link.href,pageLink:k.teaser.link.link.pageLink,target:k.teaser.link.link.target,rel:k.teaser.link.link.rel}},web2lead:k.teaser.web2lead&&{rel:k.teaser.web2lead.rel,target:k.teaser.web2lead.target,anchor:k.teaser.web2lead.anchor,pageLink:(V=(G=k.teaser)==null?void 0:G.web2lead)!=null&&V.pageLink&&((X=k.teaser)!=null&&X.contactID)?`${k.teaser.web2lead.pageLink}?contactId=${k.teaser.contactID}`:""}},image:k.teaser.image,imageAltText:k.teaser.imageAltText,imageSourceColor:k.teaser.imageSourceColor,labelSendMail:i.labelSendMail,labelWeb2Lead:i.labelWeb2Lead,showImage:i.showImage,showImageSource:i.showImageSource,showPhone:i.showPhone,showMobile:i.showMobile,showFax:i.showFax,showLink:i.showLink,showEmail:i.showMailTo,showWeb2Lead:i.showWeb2Lead,showContactType:i.showContactType,showHint:i.showHint,showPosition:i.showPosition,showMailTo:i.showMailTo,type:xt.CONTACT};case xt.LINKBOX:return{headline:k.teaser.headline,richtext:k.teaser.text,imageAltText:k.teaser.imageAltText,imageSourceColor:k.teaser.imageSourceColor,showImageSource:k.teaser.imageShowSource,image:k.teaser.image,linkBox:k.teaser.linkList,type:xt.LINKBOX};default:return{id:k.teaser["@id"],topline:P?di(k.releaseDate,l):void 0,headline:k.teaser.headline,text:P?void 0:k.teaser.text,link:$(k),image:typeof k.teaser.image=="object"?k.teaser.image:void 0,imageAltText:k.teaser.imageAltText,imageSourceColor:k.teaser.imageSourceColor,imageShowSource:k.teaser.imageShowSource,labelTags:B(k),linkText:(ee=k.teaser)==null?void 0:ee.linkText,type:xt.PAGE}}}},"$eUfLftM376")),t=await t,n(),t);function $(k){var P,C,p,g;return i.isExternal?{href:(C=(P=k.teaser)==null?void 0:P.external)==null?void 0:C.href,target:(g=(p=k.teaser)==null?void 0:p.external)==null?void 0:g.target}:{href:u?_t(u,o,l,r.site,r.isPublic):void 0,target:"_self"}}function B(k){var P,C,p,g,D;return(P=k.categories)!=null&&P.sub?(p=(C=k.categories)==null?void 0:C.sub)==null?void 0:p.map(R=>({id:R["@id"],label:R.displayName})):k.newsCategory?[{id:(g=k.newsCategory)==null?void 0:g["@id"],label:(D=k.newsCategory)==null?void 0:D.value}]:[]}function Q(k){var p,g,D;const P=((p=k==null?void 0:k.type)==null?void 0:p["@id"])&&((g=k==null?void 0:k.type)==null?void 0:g.value),C=(D=k==null?void 0:k.event)!=null&&D.eventType?k.event.eventType==="online"?"laptop":"flag":"";return P?[{id:k.type["@id"],label:k.type.value,iconVariant:C}]:[]}function I(k){return k.videoCategory?[{id:k.videoCategory["@id"],label:k.videoCategory.value}]:[]}function F(k){var C,p,g,D,R,Z;return((C=k.teaser)==null?void 0:C.teaserType)==="events"||(p=k==null?void 0:k["mgnl:template"])!=null&&p.includes("T07_EventDetailPage")?xt.EVENT:((g=k.teaser)==null?void 0:g.teaserType)==="videos"?xt.VIDEO:((R=(D=k.results)==null?void 0:D[0])==null?void 0:R["@nodeType"])==="contact"?xt.CONTACT:((Z=k.teaser)==null?void 0:Z.teaserType)==="linkbox"?xt.LINKBOX:xt.PAGE}return(k,P)=>{var C,p,g,D,R;return J(),ue(Be,null,[we(E)&&k.isFullsizeTeaser?(J(),ke(KE,Ke({key:0,"has-background-image":k.hasBackgroundImage},we(E),{"show-img-outline":k.showImgOutline}),null,16,["has-background-image","show-img-outline"])):pe("",!0),((C=we(E))==null?void 0:C.type)===we(xt).CONTACT?(J(),ke(Zo,Ke({key:1,"is-vertically-aligned":!0},we(E)),null,16)):pe("",!0),((p=we(E))==null?void 0:p.type)===we(xt).LINKBOX?(J(),ke(jP,Ke({key:2},we(E),{"link-class":"c-link--box"}),null,16)):pe("",!0),(((g=we(E))==null?void 0:g.type)===we(xt).PAGE||((D=we(E))==null?void 0:D.type)===we(xt).EVENT||((R=we(E))==null?void 0:R.type)===we(xt).VIDEO)&&!k.isFullsizeTeaser?(J(),ke(qi,Ke({key:3},we(E),{"show-img-outline":k.showImgOutline}),null,16,["show-img-outline"])):pe("",!0)],64)}}});function pf(e){var t;return(t=e==null?void 0:e["@nodes"])==null?void 0:t.map(n=>{const i=e[n].teaser;return mf(i)})}function mf(e,t){if((e==null?void 0:e.type)==="internal")return{id:e["@id"],path:e.internalTeaser,isFullsizeTeaser:!!t};if((e==null?void 0:e.type)==="external")return{id:e==null?void 0:e.externalTeaser,isExternal:!0,isFullsizeTeaser:!!t};if((e==null?void 0:e.type)==="contact")return{id:e==null?void 0:e.contact,isContact:!0,showMobile:e.showMobile==="true",showLink:e.showLink==="true",showPhone:e.showPhone==="true",showFax:e.showFax==="true",showEmail:e.showEmail!=="false",showWeb2Lead:e.showWeb2Lead!=="false",showContactType:e.showContactType!=="false",showImage:e.showImage==="true",showHint:e.showHint==="true",showImageSource:e.showImageSource==="true",showPosition:e.showPosition==="true",showMailTo:e.showMailTo==="true"}}const VP={class:"c-teaser-group__grid"},WP=De({__name:"C22TeaserGroup",props:NE,setup(e){const t=e,n=Ze(),i=de(()=>{var s;if((s=n.site)!=null&&s.isGroup)switch(t.backgroundColor){case"alternative":return" is-bg-pale-gray";case"none":return" is-bg-default";default:return" is-bg-primary"}else return t.backgroundColor==="alternative"?" is-bg-pale-gray":" is-bg-default"}),r=de(()=>{var s,o;return((s=t.header)==null?void 0:s.headline)||((o=t.header)==null?void 0:o.richtext)}),a=de(()=>pf(t.teasers));return(s,o)=>{var l;return J(),ke(ut,{class:Ne((l=we(n).site)!=null&&l.isGroup?"":i.value)},{default:He(()=>{var c;return[he("div",{class:Ne(["c-teaser-group",s.backgroundColor!=="alternative"?" is-bg-default":""])},[r.value?(J(),ke(Zt,{key:0,class:"c-teaser-group__header",header:s.header},null,8,["header"])):pe("",!0),he("div",{class:Ne(["c-teaser-group__background",(c=we(n).site)!=null&&c.isGroup?i.value:""])},[he("div",VP,[nt(s.$slots,"mgnl-fetch",{},()=>[(J(!0),ue(Be,null,Ue(a.value,u=>(J(),ke(Jo,Ke({key:u.id,ref_for:!0},u,{"show-img-outline":s.imageShowOutline}),null,16,["show-img-outline"]))),128))],!0)])],2)],2)]}),_:3},8,["class"])}}});const Lr=ze(WP,[["__scopeId","data-v-6bf3d013"]]),UP={class:"c-teaserwall"},GP={key:0,id:"C04Teaserwall",class:"c-teaserwall__form is-bg-primary"},qP={class:"c-teaserwall__form-wrap"},YP={class:"c-teaserwall__filters"},XP={class:"c-teaserwall__buttons"},QP={key:1,class:"c-teaserwall__mobile-filter"},KP={id:"C30FilterMobile",class:"c-teaserwall__form"},ZP={class:"c-teaserwall__form-wrap"},JP={class:"c-teaserwall__filters"},eT={class:"c-teaserwall__button-load-more-wrap"},tT=De({__name:"C04Teaserwall",props:rE,emits:["filter-changed","filter-reset","select-changed","load-more"],setup(e,{emit:t}){const n=e,i=t,r=be(n.currentLanguage!=="en"?`_${n.currentLanguage}`:""),a=be(`topics_value${r.value}_cds`),s=be(Nt("masonry-init")),o=be(!0),l=be(""),c=be(0),u=be(!1),d=de(()=>{var _;return(_=n.filters)==null?void 0:_.filter(y=>y.query===a.value)}),m=de(()=>{switch(l.value){case"xs":return 500;case"md":return 320;case"lg":return c.value&&c.value<1260?290:350;case"xl":return 425;case"xxl":return 500;default:return 500}});function v(_){i("filter-reset",_)}ot(()=>{h(),window.addEventListener("resize",Mt.debounce(h,200),!0)}),yt(()=>{window.removeEventListener("resize",Mt.debounce(h,200),!0)});function h(){o.value=Ia(window.innerWidth),l.value=Wi(window.innerWidth),c.value=window.innerWidth,setTimeout(()=>{s.value=Nt("masonry-")})}function f(){u.value=!0}function w(){u.value=!1}return(_,y)=>{var A,E,$;const x=mo("masonry-wall");return J(),ue("div",null,[ve(ut,null,{default:He(()=>{var B,Q,I,F,k,P;return[he("div",UP,[ve(Zt,{header:_.header,class:Ne("c-teaserwall__header")},null,8,["header"]),(B=_.filters)!=null&&B.length&&o.value?(J(),ue("form",GP,[he("div",qP,[he("div",YP,[d.value?(J(),ke(In,{key:0,id:a.value,label:(Q=_.labels)==null?void 0:Q.topics,options:d.value,onChanged:y[0]||(y[0]=C=>{i("filter-changed",C)})},null,8,["id","label","options"])):pe("",!0)]),he("div",XP,[ve(Je,{class:"c-button c-button--small c-button--tertiary",label:(I=_.labels)==null?void 0:I.resetFilters,icon:"close-x",onClick:y[1]||(y[1]=tt(C=>{v(C)},["prevent"]))},null,8,["label"])])])])):pe("",!0),(F=_.filters)!=null&&F.length&&!o.value?(J(),ue("div",QP,[ve(Je,{class:"c-teaserwall__button-open-filter c-button--primary c-button--responsive",label:(k=_.labels)==null?void 0:k.teaserwallFilter,onClick:tt(f,["prevent"])},null,8,["label"]),ve(Ui,{"show-modal":u.value,headline:(P=_.labels)==null?void 0:P.teaserwallFilter,"show-close-button":!0,onModalClose:w},{body:He(()=>{var C;return[he("form",KP,[he("div",ZP,[he("div",JP,[d.value?(J(),ke(In,{key:0,id:a.value,label:(C=_.labels)==null?void 0:C.topic,options:d.value,onChanged:y[2]||(y[2]=p=>{i("filter-changed",p)})},null,8,["id","label","options"])):pe("",!0)])])])]}),footer:He(()=>{var C,p,g;return[ve(Je,{class:"c-button--secondary c-button--responsive",label:(C=_.labels)==null?void 0:C.resetFilters,onClick:y[3]||(y[3]=tt(D=>{v(D)},["prevent"]))},null,8,["label"]),ve(Je,{class:"c-button--primary c-button--responsive",label:(g=(p=_.labels)==null?void 0:p.showNumResults)==null?void 0:g.replace("{num}",_.numFound),onClick:tt(w,["prevent"])},null,8,["label"])]}),_:1},8,["show-modal","headline"])])):pe("",!0)])]}),_:1}),(A=_.results)!=null&&A.length?(J(),ke(Lr,{key:0,header:(E=_.filters)!=null&&E.length?{richtext:`<h3>${n.numFound} ${($=_.labels)==null?void 0:$.results}</h3>`}:{},"background-color":"alternative",class:"c-teaser-group--results-view c-teaser-group--masonry"},{"mgnl-fetch":He(()=>{var B,Q;return[(J(),ke(x,{key:s.value,items:_.results,"ssr-columns":1,"column-width":m.value,gap:0},{default:He(({item:I})=>[(J(),ke(qi,Ke({key:I.id},I),null,16))]),_:1},8,["items","column-width"])),he("div",eT,[_.numFound&&_.numFound>((B=_.results)==null?void 0:B.length)?(J(),ke(Je,{key:0,label:(Q=_.labels)==null?void 0:Q.loadMore,disabled:_.pending,class:"c-button c-button--secondary c-button--responsive",onClick:y[4]||(y[4]=tt(I=>{i("load-more",I)},["prevent"]))},null,8,["label","disabled"])):pe("",!0)])]}),_:1},8,["header"])):pe("",!0)])}}});const nT=ze(tT,[["__scopeId","data-v-e7f5f089"]]),iT=De({__name:"C04TeaserwallWrap",props:iE,async setup(e){let t,n;const i=e,r=Ze(),{label:a}=mt(r),s=Gt(),o=be([]),l=be([]),c=be([]),u=be(9),d=be(0),m=be(0),v=be({}),h=be(!0),f=be(r.currentLanguage!=="en"?`_${r.currentLanguage}`:""),w=be(`topics_value${f.value}_cds`),_=be(!0),y=it("isEditMode",!1),x=Ni({$config:s},r.currentPath),A=Aa(y,x,s,r),E=de(()=>({topics:a.value("global.topics"),resetFilters:a.value("global.resetFilters"),results:a.value("global.results"),loadMore:a.value("global.loadMore"),teaserwallFilter:a.value("global.teaserwallFilter"),showNumResults:a.value("global.showNumResults")})),$=de(()=>{var G;return o.value.length?`("${(G=o.value)==null?void 0:G.toString().replace(/,/g,'" "')}")`:"*"}),B=de(()=>{var M;const G=`https://${(M=r.site)==null?void 0:M.domain}${s.public.mgnlApiSolr}`,V=Z(),X=`indent=true&q.op=OR&rows=${u.value}&sort=releasedate_dt%20desc`,ee=`&facet.mincount=1&facet=true&facet.field=topics_value${f.value}_cds&facet.sort=index`,S=`&fl=id&fl=contentType&fl=path&fl=contentType&fl=teaser_text${f.value}&fl=teaser_headline${f.value}&fl=releasedate_dt&fl=teaser_image*&fl=teaser_imageAltText${f.value}&fl=category_value${f.value}&fl=headline${f.value}&fl=text${f.value}&fl=linkText${f.value}&fl=videoId${f.value}&fl=videoPlatform&fl=image*&fl=teaserType`,O=`&${V}`;return`${G}?${X}&start=${m.value}${ee}${S}${O}&fq=${w.value}:${$.value}`}),{data:Q,pending:I}=([t,n]=Vt(()=>Xt(B,{transform:G=>{var V,X,ee,S;return{docs:(X=(V=G==null?void 0:G.response)==null?void 0:V.docs)==null?void 0:X.map(O=>aE(O,r,s,f.value)||[]),numFound:(ee=G.response)==null?void 0:ee.numFound,facetCounts:(S=G.facet_counts)==null?void 0:S.facet_fields}}},"$aAcExw939i")),t=await t,n(),t);Qe(Q,(G,V)=>{G&&F(xn(G))},{immediate:!0});function F(G){l.value=_.value?[...G.docs]:[...l.value,...G.docs],d.value=G.numFound,v.value=G.facetCounts,h.value&&(c.value=R(v.value,c.value)),h.value=!1}function k(G){const V=G.target;p(V.dataset.name,V.checked),D(V.value,V.checked),_.value=!0,m.value=0}function P(){g(),o.value=[]}function C(){m.value+=u.value,_.value=!1}function p(G,V){c.value.forEach(X=>{G===X.name&&(X.checked=V)})}function g(){c.value.forEach(G=>{G.checked=!1})}function D(G,V){const X=encodeURIComponent(G);if(V)o.value.push(X);else{const ee=o.value.indexOf(X);o.value.splice(ee,1)}}function R(G,V){for(const X in G)V=[...V,...G[X].filter(ee=>typeof ee=="string").map(ee=>({name:ee,query:w.value,value:ee,checked:!1,label:ee,disabled:!1}))];return V}function Z(){var X;return`${[{query:`(contentType:news AND path:\\/${A}\\/*)`,show:i.showNews},{query:`(contentType:content AND path:\\/${A}\\/*)`,show:i.showContent},{query:"contentType:events",show:i.showEvents},{query:`(teaserType:Videos AND path:\\/${(X=r.site)==null?void 0:X.name}\\/*)`,show:i.showVideos}].filter(ee=>ee.show).reduce((ee,S,O)=>ee+`${O>0?" OR ":""}`+S.query,"q=(")})`}return(G,V)=>(J(),ue("div",null,[ve(nT,{header:G.header,filters:c.value,results:l.value,"num-found":d.value,"current-language":we(r).currentLanguage,labels:E.value,pending:we(I),"result-type":"news",onLoadMore:C,onFilterChanged:k,onFilterReset:P},null,8,["header","filters","results","num-found","current-language","labels","pending"])]))}}),rT={header:Object,headline:String,richtext:String,mediaPosition:String,mediaWidth:String,linkType:String,linkList:Object,cta:Object,type:Object},aT=["innerHTML"],sT={class:"c-text-media__body"},oT={key:0,class:"c-text-media__text-box"},lT=["innerHTML"],cT={class:"c-text-media__media-box"},uT=De({__name:"C10TextMedia",props:rT,setup(e){const t=e,n=Ze(),i=it("isWrapped",!1),r=de(()=>i?"is-typo-h3":"is-typo-h2"),a=de(()=>{var A,E;return((E=(A=t.linkList)==null?void 0:A["@nodes"])==null?void 0:E.length)&&t.linkType!=="cta"}),s=de(()=>{var A,E;return(E=(A=t.header)==null?void 0:A.deeplinkingHeadline)==null?void 0:E.deeplink}),o=de(()=>{var E,$;const A=($=(E=t.header)==null?void 0:E.deeplinkingHeadline)==null?void 0:$.deeplink;return A.charAt(0)!=="#"?A:A.slice(1)}),l=de(()=>{var A,E;return!!((E=(A=t.type)==null?void 0:A.video)!=null&&E.videoType)&&t.type.type==="video"}),c=de(()=>{var A,E;return!!((E=(A=t.type)==null?void 0:A.image)!=null&&E.image)&&t.type.type==="image"}),u=de(()=>!!l.value||!!c.value),d=de(()=>!!t.cta&&t.linkType==="cta"),m=de(()=>t.mediaPosition==="left"||t.mediaPosition==="right"),v=de(()=>{var $,B,Q,I;const A={sizes:{xs:[Re.W600,Re.W1000],sm:[Re.W800,Re.W1200],md:[Re.W1000,Re.W1400],lg:m.value?[Re.W800,Re.W1200]:[Re.W1400,Re.W1648],xl:m.value?[Re.W1000,Re.W1400]:[Re.W1200,Re.W1648]},crop:rn.DEFAULT},E=(B=($=t.type)==null?void 0:$.image)!=null&&B.image&&t.type.type==="image"?Nn(A,t.type.image.image,t.type.image.imageAltText,t.type.image.imageCaption,!0,t.type.image.imageShowSource,t.type.image.imageSourceColor):void 0;return E?{...E,showImgOutline:(I=(Q=t.type)==null?void 0:Q.image)==null?void 0:I.imageShowOutline}:void 0}),h=de(()=>{var A,E;return(E=(A=t.type)==null?void 0:A.video)!=null&&E.videoType&&t.type.type==="video"?{videoId:t.type.video.videoType.id,videoPlatform:t.type.video.videoType.platform,videoCaption:t.type.video.caption}:void 0}),f=de(()=>u.value?t.mediaPosition?`is-media-${t.mediaPosition}`:"is-media-below":"is-no-media"),w=de(()=>u.value&&(t.mediaPosition==="left"||t.mediaPosition==="right")?`is-media-width-${t.mediaWidth||"50"}`:""),_=be(!1);function y(){const A=Wi(window.innerWidth);(t.mediaPosition==="left"||t.mediaPosition==="right")&&(_.value=["xs","sm","md"].includes(A)||t.mediaWidth==="33"||t.mediaWidth==="25")}const x=function(A){return A!=null&&A.pageLink?_t(A.pageLink,n.languages,n.currentLanguage,n.site,n.isPublic):A.href||A._downloadLink};return ot(()=>{y(),window.addEventListener("resize",Mt.debounce(y,200),!0)}),yt(()=>{window.removeEventListener("resize",Mt.debounce(y,200),!0)}),(A,E)=>(J(),ke(ut,{class:Ne(w.value)},{default:He(()=>{var $,B,Q,I,F,k,P,C,p,g,D,R;return[he("div",{class:Ne(["c-text-media","is-bg-default",f.value])},[A.headline?(J(),ke(Mi(we(i)?"h3":"h2"),{key:0,id:s.value?o.value:void 0,class:Ne(["c-text-media__headline",r.value]),"data-anchor-nav-headline":s.value?((B=($=A.header)==null?void 0:$.deeplinkingHeadline)==null?void 0:B.shortHeadline)||A.headline:void 0},{default:He(()=>[he("span",{innerHTML:A.headline},null,8,aT)]),_:1},8,["id","class","data-anchor-nav-headline"])):pe("",!0),he("div",sT,[A.richtext||a.value||d.value?(J(),ue("div",oT,[A.richtext?(J(),ue("div",{key:0,class:"richtext","data-qa":"text",innerHTML:A.richtext},null,8,lT)):pe("",!0),a.value?(J(),ke(ai,{key:1,"link-list":A.linkList},null,8,["link-list"])):pe("",!0),d.value?(J(),ke(lt,{key:2,class:"c-link--cta-primary c-link--cta-small",label:(Q=A.cta)==null?void 0:Q.text,link:x((I=A.cta)==null?void 0:I.link),target:(k=(F=A.cta)==null?void 0:F.link)==null?void 0:k.target,download:((C=(P=A.cta)==null?void 0:P.link)==null?void 0:C.type)==="download"?!0:void 0,rel:(g=(p=A.cta)==null?void 0:p.link)==null?void 0:g.rel,anchor:(R=(D=A.cta)==null?void 0:D.link)==null?void 0:R.anchor},null,8,["label","link","target","download","rel","anchor"])):pe("",!0)])):pe("",!0),he("div",cT,[u.value?(J(),ke(jn,{key:0,picture:v.value,video:h.value,"show-source-below-image":_.value},null,8,["picture","video","show-source-below-image"])):pe("",!0)])])],2)]}),_:1},8,["class"]))}});const pa=ze(uT,[["__scopeId","data-v-da0d5f26"]]),dT={headline:String,shortTitle:String,isPimCorePdp:Boolean,categories:{sub:Array},image:{image:Object,imageAltText:String,imageShowSource:Boolean,imageSourceColor:String},logo:{url:String,imageAltText:String},contactLink:Object,uspItems:Object,additionalClasses:Array,contactLinkAdditionalClasses:String},hT={class:"c-product-intro__head is-bg-primary"},fT={class:"c-product-intro__h1-intro-container"},pT={key:0,class:"c-product-intro__categories"},mT=["innerHTML"],gT={ref:"mediaContainer",class:"c-product-intro__media"},vT={class:"c-product-intro__media-container"},yT={key:0},bT=["alt","src"],_T={class:"c-product-intro__body"},wT={key:0,class:"c-product-intro__usp-list"},kT=["innerHTML"],CT=["innerHTML"],xT={class:"c-product-intro__sticky-headline-container"},ST=["innerHTML"],AT=De({__name:"C12ProductIntro",props:dT,setup(e){const t=be(null),n=be(null),i=be(!1),r=e,a=Ze(),{label:s}=mt(a),o=de(()=>{var f;return r.isPimCorePdp&&((f=a==null?void 0:a.site)!=null&&f.isHPM)?"":r.isPimCorePdp?"is-bg-pale-gray":""});let l;const c=()=>{const f=new IntersectionObserver(([w])=>{i.value=!w.isIntersecting},{threshold:0});return t.value!==null&&f.observe(t.value),f};ot(()=>{l=c()}),yt(()=>{l&&l.disconnect()});const u=de(()=>{var f;return _t((f=r.contactLink)==null?void 0:f.pageLink,a.languages,a.currentLanguage,a.site,a.isPublic)}),d=de(()=>{var w,_,y;const f={sizes:{xs:[Re.W600,Re.W1000],sm:[Re.W800,Re.W1200],md:[Re.W1000,Re.W1400],lg:(w=a.site)!=null&&w.isGroup?[Re.W1400,Re.W1648]:[Re.W1200,Re.W1400],xl:(_=a.site)!=null&&_.isGroup?[Re.W1648,Re.W1648]:[Re.W1200,Re.W1400]},crop:rn.LANDSCAPE_3_2};return(y=r.image)!=null&&y.image?Nn(f,r.image.image,r.image.imageAltText,void 0,!1,r.image.imageShowSource,r.image.imageSourceColor):void 0}),m=de(()=>{var f;return((f=r.categories)==null?void 0:f.sub)||[]}),v=de(()=>{var f;return[{"c-product-intro--with-picture":!!d.value,"c-product-intro--logo-variant":!!((f=r.logo)!=null&&f.url)&&!d.value},r.additionalClasses]}),h=de(()=>{var f,w,_;return(_=(w=(f=r.uspItems)==null?void 0:f["@nodes"])==null?void 0:w.map(y=>{var x;return(x=r.uspItems)==null?void 0:x[y]}))==null?void 0:_.filter(y=>!!y.headline)});return(f,w)=>(J(),ke(ut,{class:Ne(o.value)},{default:He(()=>{var _;return[he("div",{ref_key:"container",ref:t,class:Ne(["c-product-intro",v.value])},[he("div",hT,[he("div",fT,[m.value?(J(),ue("div",pT,[(J(!0),ue(Be,null,Ue(m.value,y=>(J(),ke(Rn,{key:y.displayName,class:"c-product-intro__category",label:y.displayName},null,8,["label"]))),128))])):pe("",!0),he("h1",{class:"c-product-intro__headline",innerHTML:f.headline},null,8,mT),nt(f.$slots,"head",{},void 0,!0)])]),he("div",gT,[he("div",vT,[nt(f.$slots,"media",{},void 0,!0),d.value?(J(),ue("div",yT,[ve(jn,{picture:d.value},null,8,["picture"])])):pe("",!0),(_=f.logo)!=null&&_.url?(J(),ue("img",{key:1,class:"c-product-intro__logo",alt:f.logo.imageAltText,src:f.logo.url},null,8,bT)):pe("",!0)])],512),he("div",_T,[nt(f.$slots,"body",{},void 0,!0),h.value?(J(),ue("ul",wT,[(J(!0),ue(Be,null,Ue(h.value,y=>(J(),ue("li",{key:y.headline,class:"c-product-intro__usp"},[ve(pt,{variant:"checkmark",class:"c-product-intro__usp-icon"}),he("div",{class:"c-product-intro__usp-headline",innerHTML:y.headline},null,8,kT),y.text?(J(),ue("div",{key:0,class:"c-product-intro__usp-text",innerHTML:y.text},null,8,CT)):pe("",!0)]))),128))])):pe("",!0),f.contactLink?(J(),ke(lt,{key:1,class:Ne(["c-link--cta-primary c-link--cta-big c-product-intro__cta",f.contactLinkAdditionalClasses]),label:we(s)("global.contact_cta"),link:u.value,target:f.contactLink.target},null,8,["class","label","link","target"])):pe("",!0)]),i.value?(J(),ue("div",{key:0,ref_key:"header",ref:n,class:"c-product-intro__sticky-headline is-bg-primary"},[he("div",xT,[he("h1",{class:"c-product-intro__headline--small",innerHTML:f.shortTitle},null,8,ST),f.contactLink?(J(),ke(lt,{key:0,class:"c-link--cta-primary c-link--cta-small c-product-intro__cta c-product-intro__cta--sticky-headline",label:we(s)("global.contact_cta"),link:u.value,target:f.contactLink.target},null,8,["label","link","target"])):pe("",!0)])],512)):pe("",!0)],2)]}),_:3},8,["class"]))}});const ET=ze(AT,[["__scopeId","data-v-9b2181f3"]]),PT={header:Object,downloadList:Object},TT={header:Object,downloadList:Array,additionalLinkClasses:String},MT={class:"c-download-list is-bg-default"},LT={class:"c-download-list__list"},$T=De({__name:"C16DownloadList",props:TT,setup(e){const t=e,n=de(()=>{var i,r;return((i=t.header)==null?void 0:i.headline)||((r=t.header)==null?void 0:r.richtext)});return(i,r)=>(J(),ke(ut,null,{default:He(()=>[he("div",MT,[n.value?(J(),ke(Zt,{key:0,class:"c-download-list__header",header:i.header},null,8,["header"])):pe("",!0),he("ul",LT,[(J(!0),ue(Be,null,Ue(i.downloadList,a=>(J(),ue("li",{key:a==null?void 0:a.link,class:"c-download-list__item"},[ve(Ko,Ke({ref_for:!0},a,{"additional-link-classes":i.additionalLinkClasses}),null,16,["additional-link-classes"])]))),128))])])]),_:1}))}});const OT=ze($T,[["__scopeId","data-v-b91a13b8"]]),Kc=De({__name:"C16DownloadListWrap",props:PT,setup(e){const t=e,n=de(()=>{var i,r;return(r=(i=t.downloadList)==null?void 0:i["@nodes"])!=null&&r.length?t.downloadList["@nodes"].map(a=>{var o,l;const s=(o=t.downloadList)==null?void 0:o[a];return{id:s["@id"],title:s.title,description:s.description,link:s._downloadLink,metadata:(l=s.downloadLink)==null?void 0:l.metadata}}):void 0});return(i,r)=>(J(),ke(OT,{header:i.header,"download-list":n.value},null,8,["header","download-list"]))}}),DT={header:Object,"@id":String,contactReference:Object,image:Object,imageAltText:String,imageSourceColor:String,backgroundColor:String,showMobile:Boolean,showLink:Boolean,showPhone:Boolean,showFax:Boolean,showImage:Boolean,showWeb2Lead:Boolean,showContactType:Boolean,showEmail:Boolean,showAddress:Boolean,showHint:Boolean,showImageSource:Boolean},IT={contactReference:Object,showData:Object,labelSendMail:String,labelWeb2Lead:String},RT=De({__name:"CeContactFetch",props:IT,async setup(e){var y,x,A,E,$,B,Q,I,F,k,P,C,p,g,D,R,Z,G,V,X,ee,S,O,M,H,q,T,L,U,ie,N,K,b,z,Y,W,j,ne;let t,n;const i=e,r=kt(),a=Gt(),s=window.location,o={$config:a,location:s,isServer:!1},l=fi({$config:r.$config},r._route.path),c=it("isEditMode",!1),u=Fi(o),m=`${mn(o,u,"mgnlApiContact")}?@jcr:uuid=${(y=i.contactReference)==null?void 0:y["@id"]}&lang=${l}`,v=be(void 0),h=be(void 0),{data:f,error:w}=([t,n]=Vt(()=>Xt(m,{transform:se=>{var Pe,Le,Te;Ea((Pe=se.results)==null?void 0:Pe[0],a.public.mgnlHost,a.public.mgnlBase,c);const{name:ce,contactID:oe,address:re,position:te,contactType:ae,fax:le,phone:fe,mobile:me,mailAddress:ge,hint:_e,image:Ce,imageAltText:xe}=(Le=se.results)==null?void 0:Le[0];return{"@id":(Te=se.results)==null?void 0:Te[0]["@id"],name:ce,contactID:oe,address:re,position:te,contactType:ae==null?void 0:ae.name,fax:le,phone:fe,mobile:me,mailAddress:ge,hint:_e,image:Ce,imageAltText:xe}}},"$FFC12qHVmm")),t=await t,n(),t);if(w!=null&&w.value&&console.error("Error fetching contact for C17_Contact",w),(A=(x=f==null?void 0:f.value)==null?void 0:x.address)!=null&&A.location){const ce=`${mn(o,u,"mgnlApiContactLocations")}?@jcr:uuid=${($=(E=f==null?void 0:f.value)==null?void 0:E.address)==null?void 0:$.location}&lang=${l}`,{data:oe,error:re}=([t,n]=Vt(()=>Xt(ce,{transform:te=>{var ae,le,fe,me,ge,_e;return{country:(fe=(le=(ae=te.results)==null?void 0:ae[0])==null?void 0:le.country)==null?void 0:fe.name,addressFormat:(_e=(ge=(me=te.results)==null?void 0:me[0])==null?void 0:ge.country)==null?void 0:_e.addressFormat}}},"$LY2QDcET9G")),t=await t,n(),t);if(re!=null&&re.value&&console.error("Error fetching country for contact",re),v.value=(B=oe==null?void 0:oe.value)==null?void 0:B.country,(Q=oe==null?void 0:oe.value)!=null&&Q.addressFormat){const ae=`${mn(o,u,"mgnlApiContactAddressFormat")}?@jcr:uuid=${(I=oe==null?void 0:oe.value)==null?void 0:I.addressFormat}&lang=${l}`,{data:le,error:fe}=([t,n]=Vt(()=>Xt(ae,{transform:me=>{var ge,_e;return{format:(_e=(ge=me.results)==null?void 0:ge[0])==null?void 0:_e.name}}},"$chZHF8UXTA")),t=await t,n(),t);fe!=null&&fe.value&&console.error("Error fetching country for address format",fe),h.value=(F=le==null?void 0:le.value)==null?void 0:F.format}}else if((P=(k=f.value)==null?void 0:k.address)!=null&&P.country){const ce=`${mn(o,u,"mgnlApiContactCountries")}?@jcr:uuid=${(p=(C=f==null?void 0:f.value)==null?void 0:C.address)==null?void 0:p.country}&lang=${l}`,{data:oe,errorCountry:re}=([t,n]=Vt(()=>Xt(ce,{transform:te=>{var ae,le,fe,me,ge;return{country:(le=(ae=te.results)==null?void 0:ae[0])==null?void 0:le.name,addressFormat:(ge=(me=(fe=te.results)==null?void 0:fe[0])==null?void 0:me.addressFormat)==null?void 0:ge.name}}},"$BG75ZGC3B2")),t=await t,n(),t);re!=null&&re.value&&console.error("Error fetching country for contact",re),v.value=(g=oe==null?void 0:oe.value)==null?void 0:g.country,h.value=(D=oe==null?void 0:oe.value)==null?void 0:D.addressFormat}const _=be(null);if(f!=null&&f.value){const{name:se,contactID:ce,address:oe,position:re,contactType:te,fax:ae,phone:le,mobile:fe,mailAddress:me,hint:ge,image:_e,imageAltText:Ce}=f==null?void 0:f.value,xe=be((R=i.contactReference)==null?void 0:R.link);_.value={contactReference:{name:se,contactID:ce,address:oe?{...oe,street:oe.street??"",city:oe.city??"",postalCode:oe.postalCode??"",country:v==null?void 0:v.value,addressFormat:h==null?void 0:h.value}:void 0,position:re,contactType:te,fax:ae,phone:le,mobile:fe,mailAddress:me,web2lead:((Z=i.contactReference)==null?void 0:Z.web2lead)&&{rel:(G=i.contactReference)==null?void 0:G.web2lead.rel,target:(V=i.contactReference)==null?void 0:V.web2lead.target,anchor:(X=i.contactReference)==null?void 0:X.web2lead.anchor,pageLink:(S=(ee=i.contactReference)==null?void 0:ee.web2lead)!=null&&S.pageLink&&((O=i.contactReference)!=null&&O.contactID)?`${i.contactReference.web2lead.pageLink}?contactId=${i.contactReference.contactID}`:""},hint:ge,link:xe!=null&&xe.value?{"@path":(H=(M=i.contactReference)==null?void 0:M.link)==null?void 0:H["@path"],"@id":(T=(q=i.contactReference)==null?void 0:q.link)==null?void 0:T["@id"],text:(U=(L=i.contactReference)==null?void 0:L.link)==null?void 0:U.text,link:{href:(K=(N=(ie=i.contactReference)==null?void 0:ie.link)==null?void 0:N.link)==null?void 0:K.href,pageLink:(Y=(z=(b=i.contactReference)==null?void 0:b.link)==null?void 0:z.link)==null?void 0:Y.pageLink,target:(ne=(j=(W=i.contactReference)==null?void 0:W.link)==null?void 0:j.link)==null?void 0:ne.target}}:void 0},image:_e,imageAltText:Ce,...i.showData,labelSendMail:i.labelSendMail,labelWeb2Lead:i.labelWeb2Lead}}return(se,ce)=>_.value?(J(),ke(Zo,sr(Ke({key:0},_.value)),null,16)):pe("",!0)}}),BT={class:"c-contact is-bg-default"},FT={__name:"C17Contact",props:DT,setup(e){const t=e,n=Ze(),{label:i}=mt(n),r=de(()=>{var s,o;return((s=t.header)==null?void 0:s.headline)||((o=t.header)==null?void 0:o.richtext)}),a=de(()=>({showMobile:t.showMobile==="true",showLink:t.showLink==="true",showPhone:t.showPhone==="true",showFax:t.showFax==="true",showImage:t.showImage==="true",showWeb2Lead:t.showWeb2Lead!=="false",showContactType:t.showContactType!=="false",showEmail:t.showEmail!=="false",showAddress:t.showAddress==="true",showHint:t.showHint==="true",showImageSource:t.showImageSource==="true"}));return(s,o)=>(J(),ke(ut,null,{default:He(()=>[he("div",BT,[r.value?(J(),ke(Zt,{key:0,class:"c-contact__header",header:s.header},null,8,["header"])):pe("",!0),nt(s.$slots,"mgnl-fetch",{},()=>{var l;return[(J(),ke(RT,{key:`${(l=s.contactReference)==null?void 0:l["@id"]}`,"contact-reference":s.contactReference,"show-data":a.value,"label-send-mail":we(i)("global.sendMail"),"label-web-2-lead":we(i)("global.web2Lead")},null,8,["contact-reference","show-data","label-send-mail","label-web-2-lead"]))]})])]),_:3}))}},NT=FT,jT={backgroundColor:String,header:Object,backgroundImage:Object,_backgroundImagePath:String,teasers:Object},HT={class:"c-component-group"},zT={class:"c-component-group__grid"},us="background-image: linear-gradient(#fff 0%, #fff 100%)",VT=De({__name:"C22bComponentGroup",props:jT,setup(e){const t=it("isWrapped",!1),n=e,i=Ze(),{label:r}=mt(i),a=de(()=>{var u,d;return((u=n.header)==null?void 0:u.headline)||((d=n.header)==null?void 0:d.richtext)}),s=de(()=>pf(n.teasers)),o=de(()=>t?"":n.backgroundColor==="alternative"?" is-bg-pale-gray":" is-bg-pale-green"),l=be(us),c=()=>{var d;const u=Wi(window.innerWidth);n.backgroundImage&&["lg","xl","xxl"].includes(u)&&((d=s==null?void 0:s.value)==null?void 0:d.length)<4?l.value=`${us}, url(${n._backgroundImagePath})`:l.value=us};return ot(()=>{c(),window.addEventListener("resize",Mt.debounce(c,200),!0)}),yt(()=>{window.removeEventListener("resize",Mt.debounce(c,200),!0)}),(u,d)=>(J(),ke(ut,null,{default:He(()=>[he("div",HT,[a.value?(J(),ke(Zt,{key:0,class:"c-component-group__header",header:u.header},null,8,["header"])):pe("",!0),he("div",{class:Ne(["c-component-group__background",o.value]),style:kn(l.value)},[he("div",zT,[nt(u.$slots,"mgnl-fetch",{},()=>[(J(!0),ue(Be,null,Ue(s.value,m=>(J(),ke(Jo,Ke({key:m.id,ref_for:!0},m,{"label-send-mail":we(r)("global.sendMail"),"label-web-2-lead":we(r)("global.web2Lead")}),null,16,["label-send-mail","label-web-2-lead"]))),128))],!0)])],6)])]),_:3}))}});const Zc=ze(VT,[["__scopeId","data-v-9ed0ec1d"]]),WT={"@id":String,elements:Object,header:Object},UT={class:"c-content-carousel"},GT={key:0,class:"c-content-carousel__desktop-wrap is-bg-pale-gray"},qT={class:"c-content-carousel__desktop-inner"},YT={class:"c-content-carousel__buttons"},XT={class:"c-content-carousel__button-list"},QT={class:"c-content-carousel__panels"},KT=De({__name:"C24ContentCarousel",props:WT,setup(e){const t=e,n=be(!1),i=be("");Ht("isDesktop",n),Ht("isOpenPanel",i);const r=de(()=>t.elements?Fa(t.elements):void 0),a=de(()=>{var u;return(u=r==null?void 0:r.value)==null?void 0:u["@nodes"].map(d=>{var v;const m=(v=r==null?void 0:r.value)==null?void 0:v[d];return{id:m.id,label:m.headline}})});function s(){var d,m,v;const u=(d=r==null?void 0:r.value)==null?void 0:d["@nodes"][0];return(v=(m=r==null?void 0:r.value)==null?void 0:m[u])==null?void 0:v.id}i.value=s(),ot(()=>{o(),window.addEventListener("resize",Mt.debounce(o,200),!0)}),yt(()=>{window.removeEventListener("resize",Mt.debounce(o,200),!0)});function o(){const u=Wi(window.innerWidth);n.value=u==="xl"||u==="xxl",c()}function l(u){i.value=u,c()}function c(){if(!window.CookieFirst)return console.error("C24ContentCarousel => Error calling notifyViewChanged: CookieFirst script not found");setTimeout(()=>{window.CookieFirst.notifyViewChanged()})}return(u,d)=>(J(),ke(ut,null,{default:He(()=>[he("div",UT,[ve(Zt,{header:u.header},null,8,["header"]),n.value?(J(),ue("div",GT,[he("div",qT,[he("div",YT,[he("ul",XT,[(J(!0),ue(Be,null,Ue(a.value,m=>(J(),ue("li",{key:m.id,class:"c-content-carousel__button-list-item"},[ve(Je,{class:Ne(["c-button c-button--content-nav c-button--big",{"c-button--active":i.value===m.id}]),label:m.label,onClick:tt(()=>{l(m.id)},["prevent"])},null,8,["class","label","onClick"])]))),128))])]),he("div",QT,[nt(u.$slots,"mgnl-editable",{},()=>[r.value?(J(),ke(we(jt),{key:0,content:r.value},null,8,["content"])):pe("",!0)],!0)])])])):nt(u.$slots,"mgnl-editable",{key:1},()=>[r.value?(J(),ke(we(jt),{key:0,content:r.value},null,8,["content"])):pe("",!0)],!0)])]),_:3}))}});const ZT=ze(KT,[["__scopeId","data-v-ec579aab"]]),JT={"@id":String,elements:Object,header:Object};const eM={class:"c-accordion is-bg-default"},tM={__name:"C28Accordion",props:JT,setup(e){const t=e,n=de(()=>t.elements?Fa(t.elements):void 0);return(i,r)=>(J(),ke(ut,null,{default:He(()=>[he("div",eM,[ve(Zt,{header:i.header},null,8,["header"]),nt(i.$slots,"default",{},void 0,!0),nt(i.$slots,"mgnl-editable",{},()=>[ve(we(jt),{content:n.value},null,8,["content"])],!0)])]),_:3}))}},nM=ze(tM,[["__scopeId","data-v-5f531f7d"]]),iM={header:Object,filter:String,showNewsFilter:Boolean,showLocationFilter:Boolean,showContactFilter:Boolean,showEmail:String,showWeb2Lead:String,showContactType:String,contactTypeFilter:Array,sortByContactTypeFilter:Boolean,businessLineFilter:Array,regionFilter:{name:String},locationFilter:{name:String},countryFilter:{name:String},numberOfResults:String,predefinedTopics:Array,displayType:String},rM={header:Object,results:Array,filters:Array,currentLanguage:String,labels:Object,numFound:Number,showLoadMoreButton:Boolean,contentType:String,showWeb2Lead:Boolean,showContactType:Boolean,showEmail:Boolean,pending:Boolean,isCardView:Boolean,hasPreselectedRegion:Boolean,hasPreselectedCountry:Boolean};var bn=(e=>(e.FILTERCHANGED="filter-changed",e.FILTERRESET="filter-reset",e.SELECTCHANGED="select-changed",e.LOADMORE="load-more",e))(bn||{}),zt=(e=>(e.NEWS="news",e.LOCATION="location",e.CONTACT="contact",e))(zt||{});function aM(e,t,n,i,r){var s,o,l,c,u,d,m,v,h,f,w,_,y,x,A,E,$,B,Q,I,F,k,P,C,p,g,D,R,Z,G,V,X,ee,S,O,M,H,q,T,L,U,ie;let a=null;return i===zt.NEWS&&(a={id:e.id,type:(s=e.contentType)==null?void 0:s[0],link:{href:e.path?_t(e.path,t.languages,t.currentLanguage,t.site,t.isPublic):void 0},headline:(o=e[`teaser_headline${r}`])==null?void 0:o[0],topline:di(e.releasedate_dt,t.currentLanguage),image:e.teaser_image&&e.teaser_image_filename?{_linkPattern:{area:`${n.public.mgnlDamRaw}${n.public.mgnlBase}/.imaging/focalarea/{crop}/{width}/dam/${encodeURIComponent((l=e.teaser_image)==null?void 0:l[0])}/${encodeURIComponent((c=e.teaser_image_filename)==null?void 0:c[0])}`},metadata:{width:1200,height:800}}:void 0,imageAltText:(u=e[`teaser_imageAltText${r}`])==null?void 0:u[0],imageShowSource:(d=e.teaser_imageShowSource)==null?void 0:d[0],imageSourceColor:(m=e.teaser_imageSourceColor)==null?void 0:m[0],labelTags:oM(e[`category_value${r}_str`])}),i===zt.LOCATION&&(a={id:e.id,title:(v=e[`locations_name${r}`])==null?void 0:v[0],address:{headline:((h=e.address_recipient_str)==null?void 0:h[0])||"",postalCode:((f=e.address_postalCode)==null?void 0:f[0])||"",street:((w=e[`address_street${r}_str`])==null?void 0:w[0])||"",city:((_=e[`address_city${r}_str`])==null?void 0:_[0])||"",country:((y=e[`countries_name${r}_str`])==null?void 0:y[0])||"",addressFormat:(x=e.addressFormats_name_str)==null?void 0:x[0]},fax:((A=e.contact_fax)==null?void 0:A[0])||"",phone:((E=e.contact_phone)==null?void 0:E[0])||"",mobile:(($=e.contact_mobile)==null?void 0:$[0])||"",mailAddress:((B=e.contact_mailAddress)==null?void 0:B[0])||"",link:ds(e,t,"locations",r),contactLink:ds(e,t,"contact",r),downloadLinks:lM(e,n,r)}),i===zt.CONTACT&&(a={id:e.id,downloadLinks:cM(e,n,r),contactReference:{name:((Q=e[`name${r}_str`])==null?void 0:Q[0])||"",position:((I=e[`position${r}_str`])==null?void 0:I[0])||"",contactType:((F=e[`contactTypes_name${r}_str`])==null?void 0:F[0])||"",fax:((k=e.fax_str)==null?void 0:k[0])||"",phone:((P=e.phone_str)==null?void 0:P[0])||"",mobile:((C=e.mobile_str)==null?void 0:C[0])||"",mailAddress:((p=e.mailAddress_str)==null?void 0:p[0])||"",web2lead:{rel:((g=e[`contact_web2lead${r}_rel`])==null?void 0:g[0])||"",target:((D=e[`contact_web2lead${r}_target`])==null?void 0:D[0])||"",anchor:((Z=(R=e[`contact_web2lead${r}_anchor`])==null?void 0:R[0])==null?void 0:Z.charAt(0))!=="#"?(G=e[`contact_web2lead${r}_anchor`])==null?void 0:G[0]:((X=(V=e[`contact_web2lead${r}_anchor`])==null?void 0:V[0])==null?void 0:X.slice(1))||"",pageLink:(ee=e[`contact_web2lead${r}_pageLink`])!=null&&ee[0]?_t((S=e[`contact_web2lead${r}_pageLink`])==null?void 0:S[0],t.languages,t.currentLanguage,t.site,t.isPublic):void 0},hint:((O=e[`hint${r}_str`])==null?void 0:O[0])||"",link:ds(e,t,"contact",r),address:{headline:((M=e[`address_headline${r}`])==null?void 0:M[0])||"",postalCode:((H=e.address_postalCode)==null?void 0:H[0])||"",street:((q=e[`address_street${r}`])==null?void 0:q[0])||"",city:((T=e[`address_city${r}`])==null?void 0:T[0])||"",country:((L=e[`countries_name${r}`])==null?void 0:L[0])||"",addressFormat:((U=e.addressFormats_name_str)==null?void 0:U[0])||""}},image:e.image_str&&e.image_filename?{_linkPattern:{area:`${n.public.mgnlDamRaw}${n.public.mgnlBase}/.imaging/focalarea/{crop}/{width}/dam/${e.image_str}/${encodeURIComponent(e.image_filename)}`},metadata:{width:1200,height:800}}:void 0,imageAltText:((ie=e.imageAltText_str)==null?void 0:ie[0])||"",imageSourceColor:"dark",showPhone:!!e.phone_str,showMobile:!!e.mobile_str,showLink:!!e[`contact_link${r}_text${r}`],showFax:!!e.fax_str,showImage:!!(e.image_str&&e.image_filename),showAddress:!!sM(e,r),showHint:!!e[`hint${r}_str`],showImageSource:!0,labelSendMail:e.labelSendMail,labelWeb2Lead:e.labelWeb2Lead}),a}function sM(e,t){return e[`address_headline${t}`]||e.address_postalCode||e[`address_street${t}`]||e[`address_city${t}`]||e[`countries_name${t}`]}function oM(e){return(e==null?void 0:e.map(t=>({id:t,label:t})))||[]}function ds(e,t,n,i){var s,o,l,c,u,d,m,v,h;const r=(o=(s=e[`${n}_link_anchor`])==null?void 0:s[0])==null?void 0:o.toString(),a=r?`${r.charAt(0)!=="#"?"#":""}${r}`:"";return e[`${n}_link_text`]?{text:(l=e[`${n}_link${i}_text${i}`])==null?void 0:l[0],type:(c=e[`${n}_link${i}_type`])==null?void 0:c[0],link:{href:((u=e[`${n}_link${i}_href`])==null?void 0:u[0])||"",pageLink:(d=e[`${n}_link${i}_pageLink`])!=null&&d[0]?_t((m=e[`${n}_link${i}_pageLink`])==null?void 0:m[0],t.languages,t.currentLanguage,t.site,t.isPublic)+a:void 0,target:((v=e[`${n}_link${i}_target`])==null?void 0:v[0])||"_self",rel:(h=e[`${n}_link${i}_rel`])==null?void 0:h[0]}}:void 0}function lM(e,t,n){var a,s,o,l,c,u,d;const i=[];let r=0;for(;e[`locations_download${n}_${r}`]!==void 0;)i.push({title:(a=e[`locations_download${n}_${r}_title`])==null?void 0:a[0],description:(s=e[`locations_download${n}_${r}_caption`])==null?void 0:s[0],link:`${t.public.mgnlDamRaw}${t.public.mgnlBase}/dam/${encodeURIComponent((o=e[`locations_download${n}_${r}`])==null?void 0:o[0])}/${encodeURIComponent((l=e[`locations_download${n}_${r}_filename`])==null?void 0:l[0])}`,id:(c=e[`locations_download${n}_${r}`])==null?void 0:c[0],metadata:{language:(u=e[`locations_download${n}_${r}_language`])==null?void 0:u[0],fileSize:(d=e[`locations_download${n}_${r}_filesize`])==null?void 0:d[0],mimeType:"application/pdf"}}),r++;return i}function cM(e,t,n){var a,s,o,l,c,u,d;const i=[];let r=0;for(;e[`contact_download${n}_${r}`]!==void 0;)i.push({title:(a=e[`contact_download${n}_${r}_title`])==null?void 0:a[0],description:(s=e[`contact_download${n}_${r}_caption`])==null?void 0:s[0],link:`${t.public.mgnlDamRaw}${t.public.mgnlBase}/dam/${encodeURIComponent((o=e[`contact_download${n}_${r}`])==null?void 0:o[0])}/${encodeURIComponent((l=e[`contact_download${n}_${r}_filename`])==null?void 0:l[0])}`,id:(c=e[`contact_download${n}_${r}`])==null?void 0:c[0],metadata:{language:(u=e[`contact_download${n}_${r}_language`])==null?void 0:u[0],fileSize:(d=e[`contact_download${n}_${r}_filesize`])==null?void 0:d[0],mimeType:"application/pdf"}}),r++;return i}const uM={id:String,title:String,address:Object,position:String,contactType:String,fax:String,phone:String,mobile:String,mailAddress:String,hint:String,link:Object,contactLink:Object,downloadLinks:Array},dM={class:"c-location"},hM={class:"c-location__grid is-bg-pale-gray"},fM={class:"c-location__text-box"},pM={class:"c-location__main-info"},mM={class:"c-location__city"},gM={key:0,class:"c-location__contact-data"},vM={key:0,class:"c-location__address"},yM={key:0,class:"c-location__address-label"},bM={key:1,class:"c-location__address-label"},_M={key:2,class:"c-location__address-label"},wM={key:1,class:"c-location__hint-link"},kM={class:"c-link-list"},CM={key:0,class:"c-link-list__item"},xM={key:1,class:"c-link-list__item"},SM={key:2,class:"c-link-list__item"},AM={key:3,class:"c-link-list__item"},EM={key:4,class:"c-link-list__item"},PM={key:5,class:"c-link-list__item"},TM={key:2,class:"c-location__downloads"},MM={class:"c-location__download-list"},LM=De({__name:"CeLocation",props:uM,setup(e){const t=e,n=de(()=>{var i;return t.phone||t.mailAddress||t.link&&((i=t.link)==null?void 0:i.text)});return(i,r)=>{var a,s,o,l,c,u;return J(),ue("div",dM,[he("div",hM,[he("div",fM,[he("div",pM,[he("span",mM,Oe(i.title),1),(a=i.address)!=null&&a.country?(J(),ke(Rn,{key:0,id:(s=i.address)==null?void 0:s.country,class:"c-location__country",label:(o=i.address)==null?void 0:o.country},null,8,["id","label"])):pe("",!0)]),i.address?(J(),ue("div",gM,[i.address?(J(),ue("div",vM,[ve(pt,{class:"c-location__icon",variant:"location"}),i.address.addressFormat==="china"||i.address.addressFormat==="us/korea/uk"?(J(),ue("p",yM,[he("span",null,Oe(i.address.headline),1),he("span",null,Oe(i.address.street),1),he("span",null,Oe(i.address.city+" "+i.address.postalCode),1),he("span",null,Oe(i.address.country),1)])):i.address.addressFormat==="jp"?(J(),ue("p",bM,[he("span",null,Oe(i.address.headline),1),he("span",null,Oe(i.address.postalCode+" "+i.address.city),1),he("span",null,Oe(i.address.street),1),he("span",null,Oe(i.address.country),1)])):(J(),ue("p",_M,[he("span",null,Oe(i.address.headline),1),he("span",null,Oe(i.address.street),1),he("span",null,Oe(i.address.postalCode+" "+i.address.city),1),he("span",null,Oe(i.address.country),1)]))])):pe("",!0)])):pe("",!0),n.value?(J(),ue("div",wM,[he("ul",kM,[i.mobile?(J(),ue("li",CM,[ve(lt,{class:"c-location__mail",icon:"phone",href:"tel:"+i.mobile,label:i.mobile},null,8,["href","label"])])):pe("",!0),i.phone?(J(),ue("li",xM,[ve(lt,{class:"c-location__mail",icon:"phone",href:"tel:"+i.phone,label:i.phone},null,8,["href","label"])])):pe("",!0),i.fax?(J(),ue("li",SM,[ve(lt,{class:"c-location__mail",icon:"fax",href:"tel:"+i.fax,label:i.fax},null,8,["href","label"])])):pe("",!0),i.mailAddress?(J(),ue("li",AM,[ve(lt,{class:"c-location__mail",icon:"mailto",href:"mailto:"+i.mailAddress,label:"Send Mail"},null,8,["href"])])):pe("",!0),(l=i.link)!=null&&l.text?(J(),ue("li",EM,[ve(lt,{icon:i.link.type==="external"?"external-link":"chevron-right",link:i.link.type==="external"?i.link.link.href:i.link.link.pageLink,label:i.link.text,target:i.link.link.target,rel:i.link.link.rel},null,8,["icon","link","label","target","rel"])])):pe("",!0),(c=i.contactLink)!=null&&c.text?(J(),ue("li",PM,[ve(lt,{icon:i.contactLink.type==="external"?"external-link":"chevron-right",link:i.contactLink.type==="external"?i.contactLink.link.href:i.contactLink.link.pageLink,label:i.contactLink.text,target:i.contactLink.link.target,rel:i.contactLink.link.rel},null,8,["icon","link","label","target","rel"])])):pe("",!0)])])):pe("",!0),(u=i.downloadLinks)!=null&&u.length?(J(),ue("div",TM,[he("ul",MM,[(J(!0),ue(Be,null,Ue(i.downloadLinks,d=>(J(),ue("li",{key:d["@id"],class:"c-location__download-list-item"},[ve(Ko,Ke({ref_for:!0},d),null,16)]))),128))])])):pe("",!0)])])])}}});const $M=ze(LM,[["__scopeId","data-v-2b8ea2ee"]]),OM={class:"c-filter is-bg-default"},DM=["id"],IM={class:"c-filter__form-wrap"},RM={class:"c-filter__filters"},BM={class:"c-filter__field-wrap"},FM={key:0,class:"c-filter__field-wrap-legend"},NM={class:"c-filter__field-wrap-content"},jM={class:"c-filter__buttons"},HM={key:1,class:"c-filter__mobile-filter"},zM=["id"],VM={class:"c-filter__form-wrap"},WM={class:"c-filter__filters"},UM={class:"c-filter__field-wrap"},GM={key:0,class:"c-filter__field-wrap-legend"},qM={class:"c-filter__field-wrap-content"},YM=De({__name:"C30Filter",props:rM,emits:[bn.FILTERCHANGED,bn.FILTERRESET,bn.SELECTCHANGED,bn.LOADMORE],setup(e,{emit:t}){const n=Ze(),i=e,r=t,a=be(i.currentLanguage!=="en"?`_${i.currentLanguage}`:""),s=be(i.contentType===zt.CONTACT?`rregions_name${a.value}_cds`:`region_name${a.value}_cds`),o=be(i.contentType===zt.CONTACT?`rcountries_name${a.value}_cds`:`country_name${a.value}_cds`),l=be(Nt("select-")),c=be(!0),u=be(!1),d=de(()=>{var E;return(E=i==null?void 0:i.header)!=null&&E["@id"]?`filterFormIdC30-${i.header["@id"]}`:Nt("filterFormIdC30-")}),m=de(()=>{var E;return(E=i.filters)==null?void 0:E.filter($=>$.query===s.value)}),v=de(()=>{var E;return(E=i.filters)==null?void 0:E.filter($=>$.query===o.value)}),h=de(()=>{var E,$,B,Q;if(v.value){const I={"@nodes":($=(E=v.value)==null?void 0:E.filter(F=>!F.disabled))==null?void 0:$.map(F=>F.label)};return(Q=(B=v.value)==null?void 0:B.filter(F=>!F.disabled))==null||Q.forEach(F=>{var k;return I[F.label]={label:F.label==="none"?(k=i.labels)==null?void 0:k.noCountrySelected:F.label,value:F.value,default:F.checked}}),I}return{}}),f=de(()=>{var E,$;return i.contentType===zt.CONTACT?(E=i.labels)==null?void 0:E.contactFilter:($=i.labels)==null?void 0:$.locationFilter}),w=de(()=>{var E;return(E=n==null?void 0:n.site)!=null&&E.isHPM?"is-bg-pale-gray":"is-bg-primary"});function _(E){l.value=Nt("select-"),r(bn.FILTERRESET,E)}Qe(m,E=>{l.value=Nt("select-")}),ot(()=>{y(),window.addEventListener("resize",Mt.debounce(y,200),!0)}),yt(()=>{window.removeEventListener("resize",Mt.debounce(y,200),!0)});function y(){c.value=Ia(window.innerWidth)}function x(){u.value=!0}function A(){u.value=!1}return(E,$)=>{var B,Q,I;return J(),ue("div",null,[E.hasPreselectedCountry?pe("",!0):(J(),ke(ut,{key:0},{default:He(()=>{var F,k,P,C,p,g,D;return[he("div",OM,[ve(Zt,{header:E.header,class:Ne("c-filter__header")},null,8,["header"]),(F=E.filters)!=null&&F.length&&c.value?(J(),ue("form",{key:0,id:d.value,class:Ne(["c-filter__form",w.value])},[he("div",IM,[he("div",RM,[m.value&&!E.hasPreselectedRegion?(J(),ke(In,{key:0,id:s.value,label:(k=E.labels)==null?void 0:k.continent,options:m.value,onChanged:$[0]||($[0]=R=>{r(we(bn).FILTERCHANGED,R)})},null,8,["id","label","options"])):pe("",!0),he("div",BM,[(P=E.labels)!=null&&P.country?(J(),ue("legend",FM,Oe((C=E.labels)==null?void 0:C.country),1)):pe("",!0),he("div",NM,[h.value?(J(),ke(fn,{id:o.value,key:l.value,name:o.value,label:(p=E.labels)==null?void 0:p.selectYourCountry,options:h.value,onSelectChanged:$[1]||($[1]=R=>{r(we(bn).SELECTCHANGED,R)})},null,8,["id","name","label","options"])):pe("",!0)])])]),he("div",jM,[ve(Je,{class:"c-button c-button--small c-button--tertiary",label:(g=E.labels)==null?void 0:g.resetFilters,icon:"close-x",disabled:E.pending,onClick:$[2]||($[2]=tt(R=>{_(R)},["prevent"]))},null,8,["label","disabled"])])])],10,DM)):pe("",!0),(D=E.filters)!=null&&D.length&&!c.value?(J(),ue("div",HM,[ve(Je,{class:"c-filter__button-open-filter c-button--primary c-button--responsive",label:f.value,onClick:tt(x,["prevent"])},null,8,["label"]),ve(Ui,{"show-modal":u.value,headline:f.value,"show-close-button":!0,onModalClose:A},{body:He(()=>{var R,Z,G,V;return[he("form",{id:`${d.value}-mobile`,class:"c-filter__form"},[he("div",VM,[he("div",WM,[m.value&&!E.hasPreselectedRegion?(J(),ke(In,{key:0,id:s.value,label:(R=E.labels)==null?void 0:R.continent,options:m.value,onChanged:$[3]||($[3]=X=>{r(we(bn).FILTERCHANGED,X)})},null,8,["id","label","options"])):pe("",!0),he("div",UM,[(Z=E.labels)!=null&&Z.country?(J(),ue("legend",GM,Oe((G=E.labels)==null?void 0:G.country),1)):pe("",!0),he("div",qM,[h.value?(J(),ke(fn,{id:o.value,key:l.value,name:o.value,label:(V=E.labels)==null?void 0:V.selectYourCountry,options:h.value,onSelectChanged:$[4]||($[4]=X=>{r(we(bn).SELECTCHANGED,X)})},null,8,["id","name","label","options"])):pe("",!0)])])])])],8,zM)]}),footer:He(()=>{var R,Z,G;return[ve(Je,{class:"c-button--secondary c-button--responsive",label:(R=E.labels)==null?void 0:R.resetFilters,disabled:E.pending,onClick:$[5]||($[5]=tt(V=>{_(V)},["prevent"]))},null,8,["label","disabled"]),ve(Je,{class:"c-button--primary c-button--responsive",label:(G=(Z=E.labels)==null?void 0:Z.showNumResults)==null?void 0:G.replace("{num}",E.numFound),disabled:E.pending,onClick:tt(A,["prevent"])},null,8,["label","disabled"])]}),_:1},8,["show-modal","headline"])])):pe("",!0)])]}),_:1})),(B=E.results)!=null&&B.length?(J(),ke(Lr,{key:1,header:(Q=E.filters)!=null&&Q.length&&!E.hasPreselectedCountry?{richtext:`<h3>${i.numFound} ${(I=E.labels)==null?void 0:I.results}</h3>`}:{},"background-color":"none",class:Ne(["c-teaser-group--results-view",{"c-teaser-group--results-view-cardview":E.isCardView}])},{"mgnl-fetch":He(()=>{var F;return[E.contentType===we(zt).NEWS?(J(!0),ue(Be,{key:0},Ue(E.results,k=>(J(),ke(qi,Ke({key:k.id,ref_for:!0},k),null,16))),128)):pe("",!0),E.contentType===we(zt).LOCATION?(J(!0),ue(Be,{key:1},Ue(E.results,k=>(J(),ke($M,Ke({key:k.id,ref_for:!0},k),null,16))),128)):pe("",!0),E.contentType===we(zt).CONTACT?(J(!0),ue(Be,{key:2},Ue(E.results,k=>(J(),ke(Zo,Ke({key:k.id,"show-email":E.showEmail,"show-web-2-lead":E.showWeb2Lead,"show-contact-type":E.showContactType,"is-vertically-aligned":E.isCardView,ref_for:!0},k),null,16,["show-email","show-web-2-lead","show-contact-type","is-vertically-aligned"]))),128)):pe("",!0),he("div",{class:Ne(["c-filter__button-load-more-wrap",{"c-filter__button-load-more-wrap-left":E.isCardView}])},[E.showLoadMoreButton?(J(),ke(Je,{key:0,label:(F=E.labels)==null?void 0:F.loadMore,disabled:E.pending,class:"c-button c-button--secondary c-button--responsive",onClick:$[6]||($[6]=tt(k=>{r(we(bn).LOADMORE,k)},["prevent"]))},null,8,["label","disabled"])):pe("",!0)],2)]}),_:1},8,["header","class"])):pe("",!0)])}}});const XM=ze(YM,[["__scopeId","data-v-061845b5"]]),QM=De({__name:"C30FilterWrap",props:iM,async setup(e){let t,n;const i=e,r=Ze(),{label:a}=mt(r),s=Gt(),o=be({}),l=be([]),c=be([]),u=be([]),d=be(N()),m=be(0),v=be(0),h=be({}),f=be(!0),w=be([]),_=be(r.currentLanguage!=="en"?`_${r.currentLanguage}`:""),y=be(i.filter===zt.CONTACT?`rregions_name${_.value}_cds`:`region_name${_.value}_cds`),x=be(i.filter===zt.CONTACT?`rcountries_name${_.value}_cds`:`country_name${_.value}_cds`),A=be(`locations_name${_.value}`),E=be(!!i.showLocationFilter||!!i.showContactFilter),$=be(i.showWeb2Lead!=="false"),B=be(i.showContactType!=="false"),Q=be(i.showEmail!=="false"),I=be(!0),F=it("isEditMode",!1),k=Ni({$config:s},r.currentPath),P=Aa(F,k,s,r),C=de(()=>i.displayType==="cardView"),p=de(()=>{var b;return(b=i==null?void 0:i.header)!=null&&b["@id"]?`filterWrapCacheKeyC30-${i.header["@id"]}`:Nt("filterWrapCacheKeyC30-")}),g=de(()=>{var ae,le,fe,me,ge,_e,Ce;const b=`https://${(ae=r.site)==null?void 0:ae.domain}${s.public.mgnlApiSolr}`,z=i.sortByContactTypeFilter?"contactTypes_sortPriority%20asc,":"",Y={news:`indent=true&q.op=OR&rows=${d.value}&sort=releasedate_dt%20desc`,location:`indent=true&q.op=OR&rows=${d.value}&sort=locations_name${_.value}_str%20asc`,contact:`indent=true&q.op=OR&rows=${d.value}&sort=${z}name${_.value}_str%20asc`},W=(le=i.contactTypeFilter)!=null&&le.length?((fe=i.contactTypeFilter)==null?void 0:fe.reduce((xe,Se,Pe)=>`${xe}"${Se.name}"${Pe<i.contactTypeFilter.length-1?" or ":""}`,`&fq=contactTypes_name${_.value}:(`))+")":"",j=(me=i.predefinedTopics)!=null&&me.length?((ge=i.predefinedTopics)==null?void 0:ge.reduce((xe,Se,Pe)=>`${xe}"${Se.value}"${Pe<i.predefinedTopics.length-1?" and ":""}`,`&fq=topics_value${_.value}_cds:(`))+")":"",ne=(_e=i.businessLineFilter)==null?void 0:_e.filter(xe=>typeof xe=="object"&&xe!==null&&"value"in xe&&xe.value!==""),se=ne!=null&&ne.length?ne.reduce((xe,Se,Pe,Le)=>`${xe}"${Se.value}"${Pe<Le.length-1?" OR ":""}`,`&fq=rbusinesslines_value${_.value}_cds:(`)+")":"",ce={news:"",location:`&facet.mincount=1&facet=true&facet.field=${x.value}&facet.field=${y.value}&facet.sort=index`,contact:`&facet.mincount=1&facet=true&facet.field=${x.value}&facet.field=${y.value}&facet.sort=index`},oe={news:"",location:`&fl=id&fl=address*&fl=countries_name${_.value}_str&fl=addressFormats_name_str&fl=contact*&fl=locations_link*&fl=contact_link*`,contact:`&fl=name${_.value}_str&fl=contact_download*&fl=id&fl=position${_.value}_str&fl=contactTypes_name${_.value}_str&fl=fax_str&fl=phone_str&fl=mobile_str&fl=mailAddress_str&fl=hint${_.value}_str&fl=contact_link*&fl=address*&fl=countries_name${_.value}&fl=rcountries_name${_.value}_cds&fl=rbusinesslines_value*&fl=addressFormats_name_str&fl=image_str&fl=image_filename&fl=imageAltText_str&fl=contact_web2lead*`},re={news:`&fq=contentType%3Anews&fq=path:%5C%2F${P}%5C%2F*${j}&q=*`,location:"&fq=type%3Aaddress&q=locations_name:*",contact:`&fq=type%3Acontacts&fq=path:%5C%2F${(Ce=r.site)==null?void 0:Ce.name}%5C%2F*&q=*`},te=ie(o.value);return i.filter===zt.NEWS?`${b}?${Y.news}&start=${m.value}${ce.news}${re.news}${te}`:i.filter===zt.LOCATION?`${b}?${Y.location}&start=${m.value}${ce.location}${re.location}${te}`:i.filter===zt.CONTACT?`${b}?${Y.contact}&start=${m.value}${ce.contact}${re.contact}${oe.contact}${W}${se}${te}`:""}),D=de(()=>!(x.value in o.value)),R=de(()=>({country:a.value("global.country"),selectYourCountry:a.value("global.selectYourCountry"),noCountrySelected:a.value("global.noCountrySelected"),continent:a.value("global.continent"),resetFilters:a.value("global.resetFilters"),results:a.value("global.results"),loadMore:a.value("global.loadMore"),contactFilter:a.value("global.contactFilter"),locationFilter:a.value("global.locationFilter"),showNumResults:a.value("global.showNumResults")}));q();const{data:Z,pending:G}=([t,n]=Vt(()=>Xt(g,{key:p.value,transform:b=>{var z,Y,W;return{docs:(z=b==null?void 0:b.response)==null?void 0:z.docs.map(j=>aM({...j,labelSendMail:a.value("global.sendMail"),labelWeb2Lead:a.value("global.web2Lead")},r,s,i.filter,_.value)||[]),numFound:(Y=b.response)==null?void 0:Y.numFound,facetCounts:(W=b.facet_counts)==null?void 0:W.facet_fields}}},"$49LaF1CcwH")),t=await t,n(),t);Qe(Z,(b,z)=>{b&&V(xn(b))},{immediate:!0});function V(b){l.value=I.value?[...b.docs]:[...l.value,...b.docs],v.value=b.numFound,h.value=b.facetCounts,E.value&&(f.value?(c.value=L(h.value,c.value),u.value=JSON.parse(JSON.stringify(c.value)),f.value=!1):c.value=U(h.value,c.value))}function X(b){const z=b.target;I.value=!0,m.value=0,M(z.dataset.name,z.checked,z.name),T(z.name,z.value,z.checked)}function ee(b){const z=b.target;I.value=!0,m.value=0,M(z.value,!0,z.name),T(z.name,z.value,!0)}function S(){I.value=!0,m.value=0,H()}function O(){I.value=!1,m.value+=d.value}function M(b,z,Y){c.value.forEach(W=>{b===W.name?W.checked=z:Y===W.query&&(W.checked=!1)})}function H(){c.value=[...u.value],q()}function q(){if(i.filter===zt.CONTACT){i.regionFilter&&w.value.push({value:i.regionFilter.name,query:y.value}),i.countryFilter&&w.value.push({value:i.countryFilter.name,query:x.value}),i.locationFilter&&w.value.push({value:i.locationFilter.name,query:A.value});const b={};w.value.forEach(z=>{b[z.query]=z.value,M(z.value,!0,z.query)}),o.value=b}else Object.keys(o.value).length>0&&(o.value={})}function T(b,z,Y){Y&&z!=="none"?o.value[b]=z:delete o.value[b]}function L(b,z){const Y=[];for(const W in b)z.push(...b[W].flatMap((j,ne)=>{var se;return typeof j=="string"?(Y.push({key:`${b[W][ne]}`,value:b[W][ne+1]}),{name:j,query:W===y.value?y.value:x.value,value:j,checked:o.value[W]===j,label:j,disabled:W===y.value&&((se=Y.find(ce=>ce.key===j))==null?void 0:se.value)===0}):[]}));return z.unshift({name:"none",value:"none",label:"none",query:x.value,checked:!o.value[x.value],disabled:!1}),z}function U(b,z){let Y=[];for(const W in b)Y=[...Y,...b[W].filter(j=>typeof j=="string").map(j=>j)];return z.map(W=>(W.query===x.value&&!D.value||(W.disabled=!Y.includes(W.value)&&W.value!=="none"),W.query===y.value&&!D.value&&(W.disabled=!0),{...W}))}function ie(b){return Object.entries(b).reduce((z,[Y,W])=>W?z+`&fq=${Y}:"${W}"`:z,"")}function N(){return i.filter===zt.NEWS?i.numberOfResults==="0"||typeof i.numberOfResults>"u"?12:Number(i.numberOfResults):10}const K=de(()=>!!(v.value&&v.value>(l==null?void 0:l.value.length)&&(i.numberOfResults==="0"||typeof i.numberOfResults>"u")));return(b,z)=>(J(),ue("div",null,[ve(XM,{header:b.header,filters:c.value,results:l.value,"num-found":v.value,"current-language":we(r).currentLanguage,labels:R.value,"content-type":b.filter,pending:we(G),"show-load-more-button":K.value,"is-card-view":C.value,"show-email":Q.value,"show-web-2-lead":$.value,"show-contact-type":B.value,"has-preselected-region":!!b.regionFilter,"has-preselected-country":!!b.countryFilter,onFilterChanged:X,onSelectChanged:ee,onFilterReset:S,onLoadMore:O},null,8,["header","filters","results","num-found","current-language","labels","content-type","pending","show-load-more-button","is-card-view","show-email","show-web-2-lead","show-contact-type","has-preselected-region","has-preselected-country"])]))}}),KM={topline:String,headline:String,intro:String,backgroundColor:String,image:Object,video:Object,imageAltText:String,imageSourceColor:String,imageShowSource:Boolean,bgClass:String,isGroup:Boolean,isHpm:Boolean,headerTag:String,bodyTags:Array},ZM={class:"c-intro__text-grid"},JM={class:"c-intro__text-box-top"},eL={key:0,class:"c-intro__category-topline-wrap"},tL={key:1,class:"c-intro__topline"},nL=["innerHTML"],iL={key:0,class:"c-intro__body-tags","data-qa":"tags"},rL=["innerHTML"],aL={key:0,class:"c-intro__media-grid"},sL=De({__name:"CeIntro",props:KM,setup(e){const t=e,n=de(()=>{const i={sizes:{xs:[Re.W600,Re.W1000],sm:[Re.W800,Re.W1200],md:[Re.W1000,Re.W1400],lg:t.isGroup?[Re.W1400,Re.W1648]:[Re.W1200,Re.W1400],xl:t.isGroup?[Re.W1648,Re.W1648]:[Re.W1200,Re.W1400],xxl:[Re.W1800,Re.W1800]},crop:t.isHpm?rn.LANDSCAPE_4_1:rn.CINEMA};return t.image?Nn(i,t.image,t.imageAltText,void 0,!1,t.imageShowSource,t.imageSourceColor):void 0});return(i,r)=>(J(),ke(ut,null,{default:He(()=>[he("div",{class:Ne(["c-intro",{"c-intro--with-picture is-bg-default":n.value||i.video,"c-intro--with-body-tags":i.bodyTags,"c-intro--hpm":i.isHpm}])},[he("div",{class:Ne(["c-intro__background",i.bgClass])},[he("div",ZM,[he("div",JM,[i.topline||i.headerTag?(J(),ue("div",eL,[i.headerTag?(J(),ke(Rn,{key:0,label:i.headerTag,class:"c-intro__category"},null,8,["label"])):pe("",!0),i.topline?(J(),ue("div",tL,Oe(i.topline),1)):pe("",!0)])):pe("",!0),i.headline?(J(),ue("h1",{key:1,class:"c-intro__headline",innerHTML:i.headline},null,8,nL)):pe("",!0)]),i.bodyTags?(J(),ue("div",iL,[(J(!0),ue(Be,null,Ue(i.bodyTags,a=>(J(),ke(Rn,{key:a.id,label:a.label},null,8,["label"]))),128))])):pe("",!0),i.intro?(J(),ue("div",{key:1,class:"c-intro__intro","data-qa":"text",innerHTML:i.intro},null,8,rL)):pe("",!0)])],2),n.value||i.video?(J(),ue("div",aL,[he("div",{class:Ne(["c-intro__media-box",i.isHpm?i.bgClass:""])},[ve(jn,{picture:n.value,"video-mp4":i.video},null,8,["picture","video-mp4"])],2)])):pe("",!0)],2)]),_:1}))}});const gf=ze(sL,[["__scopeId","data-v-a1295559"]]),oL={releaseDate:String,lastModified:String,headline:String,intro:String,backgroundColor:String,image:Object,imageAltText:String,imageSourceColor:String,imageShowSource:Boolean,headerTag:String,bodyTags:Array},lL=De({__name:"C31NewsIntro",props:oL,setup(e){const t=e,n=Ze(),i=de(()=>t.backgroundColor==="default"?" is-bg-pale-gray":" is-bg-primary"),r=de(()=>di(t.releaseDate,n.currentLanguage));return(a,s)=>{var o;return J(),ke(gf,Ke(t,{"bg-class":i.value,"is-group":(o=we(n).site)==null?void 0:o.isGroup,topline:r.value}),null,16,["bg-class","is-group","topline"])}}}),cL={topline:String,headline:String,intro:String,backgroundColor:String,image:Object,video:Object,imageAltText:String,imageSourceColor:String,imageShowSource:Boolean},uL=De({__name:"C35Intro",props:cL,setup(e){const t=e,n=Ze(),i=de(()=>{var r,a,s,o;return(r=n.site)!=null&&r.isHPM&&((a=n.page)!=null&&a.isSearchResultPage)?" is-bg-default":(s=n.site)!=null&&s.isGroup&&t.backgroundColor==="default"||!((o=n.site)!=null&&o.isGroup)&&t.backgroundColor==="alternative"?" is-bg-pale-gray":" is-bg-primary"});return(r,a)=>{var s,o;return J(),ke(gf,Ke({"bg-class":i.value,"is-group":(s=we(n).site)==null?void 0:s.isGroup,"is-hpm":(o=we(n).site)==null?void 0:o.isHPM},t),null,16,["bg-class","is-group","is-hpm"])}}}),dL={header:Object},hL={header:Object,results:Array,filters:Array,currentLanguage:String,activeMainCategory:String,labels:Object},fL=[{name:"orthopaedics---traumatology",type:"main",query:"categories_main",checked:!0,disabled:!1},{name:"spinal-surgery",type:"main",query:"categories_main",disabled:!1},{name:"Bone-Cement",type:"sub",query:"categories_sub_ss",disabled:!1},{name:"Mixing---Lavage",type:"sub",query:"categories_sub_ss",disabled:!1},{name:"Moulds---Spacers",type:"sub",query:"categories_sub_ss",disabled:!1},{name:"categories_antibioticloaded_yes",type:"facet",query:"categories_antibioticloaded",value:"true",label:"pdp.antibioticLoaded.yes",disabled:!1},{name:"categories_antibioticloaded_no",type:"facet",query:"categories_antibioticloaded",value:"false",label:"pdp.antibioticLoaded.no",disabled:!1},{name:"categories_viscosity_low",type:"facet",query:"categories_viscosity",value:"low",label:"pdp.viscosity.low",disabled:!1},{name:"categories_viscosity_medium",type:"facet",query:"categories_viscosity",value:"medium",label:"pdp.viscosity.medium",disabled:!1},{name:"categories_viscosity_high",type:"facet",query:"categories_viscosity",value:"high",label:"pdp.viscosity.high",disabled:!1}],pL={id:String,name:String,options:Object,isSwiper:Boolean};var On=(e=>(e.LEFT="left",e.RIGHT="right",e.MIDDLE="middle",e))(On||{});const mL={id:String,name:String,dataName:String,label:String,value:String,disabled:Boolean,checked:Boolean};const gL={class:"c-form-tab"},vL=["id","name","value","disabled","checked","data-name"],yL=["for","innerHTML"],bL={__name:"CeFormTab",props:mL,emits:["changed"],setup(e,{emit:t}){const n=t;return(i,r)=>(J(),ue("div",gL,[he("input",{id:i.id,name:i.name,value:i.value,disabled:i.disabled,checked:i.checked,"data-name":i.dataName,type:"radio",class:"c-form-tab__input",onChange:r[0]||(r[0]=a=>n("changed",a))},null,40,vL),i.label?(J(),ue("label",{key:0,for:i.id,class:"c-form-tab__label",innerHTML:i.label},null,8,yL)):pe("",!0)]))}},Jc=ze(bL,[["__scopeId","data-v-09e309fd"]]),_L=["id"],wL={key:1,class:"c-form-tab-group__wrapper"},kL=De({__name:"CeFormTabGroup",props:pL,emits:["changed"],setup(e,{emit:t}){const n=t,i=e,r=be(""),a=be(On.LEFT);ot(()=>{o(On.LEFT),window.addEventListener("resize",s)}),yt(()=>{window.removeEventListener("resize",s)});const s=()=>{var u;if(((u=i.options)==null?void 0:u.length)<2){r.value="";return}a.value===On.LEFT?r.value="c-form-tab-group__wrapper--gradient-after":a.value===On.RIGHT?r.value="c-form-tab-group__wrapper--gradient-before":a.value===On.MIDDLE&&(r.value="c-form-tab-group__wrapper--gradient-before c-form-tab-group__wrapper--gradient-after")},o=u=>{a.value=u,s()},l=be(0),c=()=>{var u;l.value=((u=document.querySelector("div.swiper"))==null?void 0:u.scrollWidth)??0,s()};return(u,d)=>{const m=ba,v=_a;return J(),ue("fieldset",{id:u.id,class:"c-form-tab-group"},[u.isSwiper?(J(),ue("div",{key:0,class:Ne(["c-form-tab-group__wrapper",r.value])},[ve(v,{modules:[we(vo),we(yo),we(bo)],"slides-per-view":"auto",scrollbar:!1,mousewheel:!0,"free-mode":{enabled:!0,sticky:!0},class:"c-form-tab-group__swiper",onReachBeginning:d[1]||(d[1]=()=>{o(we(On).LEFT)}),onFromEdge:d[2]||(d[2]=()=>{o(we(On).MIDDLE)}),onReachEnd:d[3]||(d[3]=()=>{o(we(On).RIGHT)}),onUpdate:c},{default:He(()=>[(J(!0),ue(Be,null,Ue(u.options,(h,f)=>(J(),ke(m,{key:`form-tab-group--${f}`,class:"c-form-tab-group__slide"},{default:He(()=>[ve(Jc,{id:`form-tab-group--${f}`,name:h.query,"data-name":h.name,checked:h.checked,value:h.value,label:h.label,class:"c-form-tab-group__tab",onChanged:d[0]||(d[0]=w=>n("changed",w))},null,8,["id","name","data-name","checked","value","label"])]),_:2},1024))),128))]),_:1},8,["modules"])],2)):(J(),ue("div",wL,[(J(!0),ue(Be,null,Ue(u.options,(h,f)=>(J(),ke(Jc,{id:`form-tab-group--${f}`,key:`form-tab-group--${f}`,name:h.query,"data-name":h.name,checked:h.checked,value:h.value,label:h.label,onChanged:d[4]||(d[4]=w=>n("changed",w))},null,8,["id","name","data-name","checked","value","label"]))),128))]))],8,_L)}}});const vf=ze(kL,[["__scopeId","data-v-16492b7a"]]),CL={class:"c-product-finder"},xL={key:0,class:"c-product-finder__form-wrap"},SL={class:"c-product-finder__filters"},AL={class:"c-product-finder__buttons"},EL=De({__name:"C36ProductFinder",props:hL,emits:["main-category-changed","filter-changed","filter-reset"],setup(e,{emit:t}){const n=e,i=t,r=be(Nt("c36-form"));ot(()=>{r.value=Nt("c36-form")});const a=de(()=>{var c;return(c=n.filters)==null?void 0:c.filter(u=>u.type==="main")}),s=de(()=>{var c;return(c=n.filters)==null?void 0:c.filter(u=>u.type==="sub")}),o=de(()=>{var c;return(c=n.filters)==null?void 0:c.filter(u=>u.query==="categories_antibioticloaded")}),l=de(()=>{var c;return(c=n.filters)==null?void 0:c.filter(u=>u.query==="categories_viscosity")});return(c,u)=>{var d,m,v;return J(),ue(Be,null,[ve(ut,null,{default:He(()=>{var h,f,w,_;return[he("div",CL,[ve(Zt,{header:c.header},null,8,["header"]),(J(),ue("form",{id:"C36productFinderFilters",key:r.value,class:"c-product-finder__form is-bg-gray"},[ve(vf,{id:"mainCategories",options:a.value,onChanged:u[0]||(u[0]=y=>{i("main-category-changed",y)})},null,8,["options"]),c.activeMainCategory!=="spinal-surgery"?(J(),ue("div",xL,[he("div",SL,[s.value?(J(),ke(In,{key:0,id:"subCategories",label:(h=c.labels)==null?void 0:h.subCategories,options:s.value,onChanged:u[1]||(u[1]=y=>{i("filter-changed",y)})},null,8,["label","options"])):pe("",!0),o.value?(J(),ke(In,{key:1,id:"antibioticLoadedCategories",label:(f=c.labels)==null?void 0:f.antibioticLoadedCategories,options:o.value,onChanged:u[2]||(u[2]=y=>{i("filter-changed",y)})},null,8,["label","options"])):pe("",!0),l.value?(J(),ke(In,{key:2,id:"viscosityCategories",label:(w=c.labels)==null?void 0:w.viscosityCategories,options:l.value,onChanged:u[3]||(u[3]=y=>{i("filter-changed",y)})},null,8,["label","options"])):pe("",!0)]),he("div",AL,[ve(Je,{class:"c-button c-button--small c-button--tertiary",label:(_=c.labels)==null?void 0:_.resetFilters,icon:"close-x",onClick:u[4]||(u[4]=y=>{y.preventDefault(),i("filter-reset",y)})},null,8,["label"])])])):pe("",!0)]))])]}),_:1}),(d=c.results)!=null&&d.length?(J(),ke(Lr,{key:0,header:{richtext:`<h3>${(m=n.results)==null?void 0:m.length} ${(v=c.labels)==null?void 0:v.results}</h3>`},class:"c-teaser-group--results-view"},{"mgnl-fetch":He(()=>[(J(!0),ue(Be,null,Ue(c.results,h=>(J(),ke(qi,Ke({key:h.id,ref_for:!0},h),null,16))),128))]),_:1},8,["header"])):pe("",!0)],64)}}});const PL=ze(EL,[["__scopeId","data-v-e93a7af2"]]),TL="facet.field=categories_antibioticloaded&facet.field=categories_viscosity&facet.field=categories_main_str&facet.field=categories_sub_ss&facet=true&facet.mincount=1",ML=De({__name:"C36ProductFinderWrap",props:dL,async setup(e){var M;let t,n;const i=Ze(),{label:r}=mt(i),a=Gt(),s=window.location,o={$config:a,location:s,isServer:!1,site:void 0},l=be({}),c=be([]),u=be({}),d=be(i.currentLanguage!=="en"?`_${i.currentLanguage}`:""),m=Fi(o),h=`${mn(o,m,"mgnlApiCategories")}?lang=${i.currentLanguage}`,f=`https://${(M=i.site)==null?void 0:M.domain}${a.public.mgnlApiSolr}`,w=`&fq=contentType:product&indent=true&q.op=OR&q=*&rows=10000&sort=teaser_headline${d.value}_sort_str%20asc`,_=it("isEditMode",!1),y=Ni(o,i.currentPath),x=`&fq=path:%5C%2F${Aa(_,y,a,i)}%5C%2F*&`,{data:A}=([t,n]=Vt(()=>Xt(h,{transform:H=>fL.map(q=>{const T=H.results.find(L=>L["@name"]===q.name);return T&&(q.value=T["@id"],q.label=T.displayName),q})},"$MMv3z1IPMt")),t=await t,n(),t),E=de(()=>A.value.map(H=>({...H,label:r.value(H.label)}))),$=de(()=>{var H;return((H=c.value)==null?void 0:H.map(q=>{var L,U,ie,N,K,b,z,Y;const T=i.currentLanguage!=="en"?`_${i.currentLanguage}`:"";return{id:q.id,type:(L=q.contentType)==null?void 0:L[0],link:{href:_t(q.path,i.languages,i.currentLanguage,i.site,i.isPublic)},headline:(U=q[`teaser_headline${T}`])==null?void 0:U[0],text:(ie=q[`teaser_text${T}`])==null?void 0:ie[0],image:{_linkPattern:{area:`${a.public.mgnlDamRaw}${a.public.mgnlBase}/.imaging/focalarea/{crop}/{width}/dam/${q.teaser_image}/${q.teaser_image_filename}`},metadata:{width:1200,height:800}},imageAltText:(N=q[`teaser_imageAltText${T}`])==null?void 0:N[0],imageShowSource:(K=q.teaser_imageShowSource)==null?void 0:K[0],imageSourceColor:(b=q.teaser_imageSourceColor)==null?void 0:b[0],labelTags:S((Y=(z=q.categories_sub_ss)==null?void 0:z[0])==null?void 0:Y.split(","))}}))||[]}),B=de(()=>{var H;return((H=A.value.find(q=>q.type==="main"&&q.checked))==null?void 0:H.name)||""}),Q=de(()=>({subCategories:r.value("pdp.category"),antibioticLoadedCategories:r.value("pdp.antibioticLoaded"),viscosityCategories:r.value("pdp.viscosity"),resetFilters:r.value("pdp.resetFilters"),results:r.value("pdp.results")}));I();async function I(){C(),await V(),D(u.value)}function F(H){const q=H.target;Z(),R(),p(q.dataset.name,q.checked),X(q,!1)}function k(H){var T;const q=H.target;p(q.dataset.name,q.checked),X(q,!0),g(q.checked,(T=q.dataset)==null?void 0:T.name)}function P(H){const q=H.target;R(),X(q,!1)}function C(){A.value.forEach(H=>{const q=H.type!=="main";H.checked&&G(H.query,H.value,q,H.checked)})}function p(H,q){A.value.forEach(T=>{H===T.name&&(T.checked=q)})}function g(H,q){H&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"product_filter",filter_att:q}))}function D(H){H&&A.value.forEach(q=>{q.type!=="main"&&(q.disabled=!(q.query in H&&H[q.query].includes(q.value)))})}function R(){A.value.filter(H=>H.type!=="main").forEach(H=>{H.checked=!1,G(H.query,H.value,!0,!1)})}function Z(){A.value.filter(H=>H.type==="main").forEach(H=>{H.checked=!1,G(H.query,H.value,!1,H.checked)})}function G(H,q,T,L){const U=l.value;T&&U[H]?L&&!U[H].includes(q)?U[H].push(q):L||(U[H]=U[H].filter(ie=>ie!==q)):L&&(U[H]=[q])}async function V(){var L,U,ie,N;const H=ee(l.value),q=`${f}?${TL}${w}${x}fq=${H}`,{data:T}=await Xt(q,"$EpJQpZtyFN");c.value=(U=(L=T.value)==null?void 0:L.response)==null?void 0:U.docs,u.value=(N=(ie=T.value)==null?void 0:ie.facet_counts)==null?void 0:N.facet_fields}async function X(H,q){G(H.name,H.value,q,H.checked),await V(),D(u.value)}function ee(H){return Object.entries(H).reduce((q,[T,L])=>{const U=T==="categories_sub_ss"?"*":"";return L.length?q+L.map(ie=>`&fq=${T}:${U}${ie}${U}`).join():q},"")}function S(H){return(H==null?void 0:H.map(q=>({id:q,label:O(q)})))||[]}function O(H){var q;return((q=A.value.find(T=>T.value===H))==null?void 0:q.label)||""}return(H,q)=>we(A)?(J(),ke(PL,{key:0,header:H.header,filters:E.value,results:$.value,"current-language":we(i).currentLanguage,"active-main-category":B.value,labels:Q.value,onMainCategoryChanged:F,onFilterChanged:k,onFilterReset:P},null,8,["header","filters","results","current-language","active-main-category","labels"])):pe("",!0)}}),LL={header:Object,productFinder:Object},$L={header:Object,results:Array,filters:Array,currentLanguage:String,activeMainCategory:String,labels:Object},OL={class:"c-product-finder"},DL={key:0,class:"c-product-finder__form-wrap"},IL={key:0,class:"c-product-finder__filters",style:{color:"white"}},RL={class:"c-product-finder__buttons"},BL=De({__name:"C36aProductFinderDynamic",props:$L,emits:["main-category-changed","filter-changed","filter-reset"],setup(e,{emit:t}){const n=e,i=t,r=be(Nt("c36-form"));ot(()=>{r.value=Nt("c36-form")});const a=de(()=>{var l;return(l=n.filters)==null?void 0:l.filter(c=>c.level==="level-1")}),s=de(()=>{var l;return(l=n.filters)==null?void 0:l.filter(c=>c.level==="level-2"&&c.main===n.activeMainCategory)}),o=l=>{var c;return(c=n.filters)==null?void 0:c.filter(u=>u.level==="level-3"&&u.main===n.activeMainCategory&&u.parent===l)};return(l,c)=>{var u,d,m;return J(),ue(Be,null,[ve(ut,null,{default:He(()=>{var v;return[he("div",OL,[ve(Zt,{header:l.header},null,8,["header"]),(J(),ue("form",{id:"C36productFinderFilters",key:r.value,class:"c-product-finder__form is-bg-gray"},[ve(vf,{id:"mainCategories",options:a.value,"is-swiper":!0,onChanged:c[0]||(c[0]=h=>{i("main-category-changed",h)})},null,8,["options"]),s.value.length?(J(),ue("div",DL,[l.activeMainCategory?(J(),ue("div",IL,[(J(!0),ue(Be,null,Ue(s.value,(h,f)=>(J(),ue("div",{key:f},[ve(In,{id:h.id,label:h.label,options:o(h.name),onChanged:c[1]||(c[1]=w=>{i("filter-changed",w)})},null,8,["id","label","options"])]))),128))])):pe("",!0),he("div",RL,[ve(Je,{class:"c-button c-button--small c-button--tertiary",label:(v=l.labels)==null?void 0:v.resetFilters,icon:"close-x",onClick:c[2]||(c[2]=h=>{h.preventDefault(),i("filter-reset",h)})},null,8,["label"])])])):pe("",!0)]))])]}),_:1}),(u=l.results)!=null&&u.length?(J(),ke(Lr,{key:0,header:{richtext:`<h3>${(d=n.results)==null?void 0:d.length} ${(m=l.labels)==null?void 0:m.results}</h3>`},class:"c-teaser-group--results-view"},{"mgnl-fetch":He(()=>[(J(!0),ue(Be,null,Ue(l.results,v=>(J(),ke(qi,Ke({key:v.id,ref_for:!0},v),null,16))),128))]),_:1},8,["header"])):pe("",!0)],64)}}});const FL=ze(BL,[["__scopeId","data-v-ce03cddc"]]),NL=De({__name:"C36aProductFinderDynamicWrap",props:LL,async setup(e){var X,ee,S;let t,n;const i=e,r=Ze(),{label:a}=mt(r),s=Gt(),o=be({}),l=be(""),c=be([]),u=be({}),d=be(r.currentLanguage!=="en"?`_${r.currentLanguage}`:""),m=`https://${(X=r.site)==null?void 0:X.domain}${s.public.mgnlApiSolr}`,v=`&fq=contentType:product&indent=true&q.op=OR&q=*&rows=10000&sort=teaser_headline${d.value}_sort_str%20asc`,h=be();function f(O){var q;const M=[];function H(T,L,U,ie){var K;if(!T||T["@name"]==="relatedUUID"||T.showFilters===!1)return;const N={id:T["@id"],name:T["@name"],value:T["@id"],query:T["@name"],label:T.displayName,checked:L===1&&M.length===0,disabled:!1,level:`level-${L}`,main:L===1?T["@name"]:U,parent:L===1?"":ie};M.push(N),(K=T==null?void 0:T["@nodes"])==null||K.forEach(b=>{const z=T[b];H(z,L+1,N.main,T["@name"])})}return(q=O==null?void 0:O["@nodes"])==null||q.forEach(T=>{const L=O[T];H(L,1,"","")}),M}h.value=f(i.productFinder),l.value=((S=(ee=h.value)==null?void 0:ee.find(O=>O.level==="level-1"&&O.checked))==null?void 0:S.name)||"",F();const w=de(()=>{var O;return(O=h.value)==null?void 0:O.filter(M=>M.level==="level-2"&&M.main===l.value).reduce((M,H)=>M+"facet.field="+H.name+"_cds&","")});C(u.value);const _=it("isEditMode",!1),y=Ni({$config:s},r.currentPath),x=`&fq=path:%5C%2F${Aa(_,y,s,r)}%5C%2F*&`,A=de(()=>c.value.map(O=>{var H,q,T,L,U,ie;const M=r.currentLanguage!=="en"?`_${r.currentLanguage}`:"";return{id:O.id,type:(H=O.contentType)==null?void 0:H[0],link:{href:_t(O.path,r.languages,r.currentLanguage,r.site,r.isPublic)},headline:(q=O[`teaser_headline${M}`])==null?void 0:q[0],text:(T=O[`teaser_text${M}`])==null?void 0:T[0],image:{_linkPattern:{area:`${s.public.mgnlDamRaw}${s.public.mgnlBase}/.imaging/focalarea/{crop}/{width}/dam/${O.teaser_image}/${O.teaser_image_filename}`},metadata:{width:1200,height:800}},imageAltText:(L=O[`teaser_imageAltText${M}`])==null?void 0:L[0],imageShowSource:(U=O.teaser_imageShowSource)==null?void 0:U[0],imageSourceColor:(ie=O.teaser_imageSourceColor)==null?void 0:ie[0]}})||[]),E=de(()=>({resetFilters:a.value("pdp.resetFilters"),results:a.value("pdp.results")})),$=de(()=>Object.entries(o.value).map(([O,M])=>{if(M.length===0)return"";const H=`&fq=${O}:`;if(M.length===1)return H+M[0];const q=M.join(",");return`${H}(${q})`}).join(""));function B(O){var H,q,T;const M=O.target;l.value=((T=(q=(H=h.value)==null?void 0:H.filter(L=>L.level==="level-1"&&L.name===M.name?M.name:null))==null?void 0:q[0])==null?void 0:T.name)||"",g(),p(),k(M.dataset.name,M.checked),V(M)}function Q(O){var H;const M=O.target;k(M.dataset.name,M.checked),V(M),P(M.checked,(H=M.dataset)==null?void 0:H.name)}function I(){p()}function F(){var O;(O=h.value)==null||O.forEach(M=>{M.checked&&D(M)})}function k(O,M){var H;(H=h.value)==null||H.forEach(q=>{O===q.name&&(q.checked=M)})}function P(O,M){O&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"product_filter",filter_att:M}))}function C(O){var M;O&&((M=h.value)==null||M.forEach(H=>{H.level!=="level-1"&&H.level!=="level-2"&&(H.disabled=!(`${H.parent}_cds`in O&&O[`${H.parent}_cds`].includes(H.name)))}))}function p(){var O;(O=h.value)==null||O.filter(M=>M.level!=="level-1").forEach(M=>{M.checked=!1,D(M)})}function g(){var O;(O=h.value)==null||O.filter(M=>M.level==="level-1").forEach(M=>{M.checked=!1,D(M)})}function D(O){const{name:M,value:H,checked:q,parent:T,level:L}=O,U=o.value,ie=`${T}_cds`;L==="level-1"&&q?U.categories_main_str=[H]:L==="level-3"&&U[ie]?q&&!U[ie].includes(M)?U[ie].push(M):q||(U[ie]=U[ie].filter(N=>N!==M)):L==="level-3"&&!U[ie]&&q?U[ie]=[M]:!q&&U[ie]&&delete U[ie]}const R=de(()=>{const O=`${w.value}facet=true&facet.mincount=1`,M=$.value;return`${m}?${O}${v}${x}fq=${M}`}),{data:Z}=([t,n]=Vt(()=>Xt(R,{transform:O=>{var M,H,q;return{docs:((M=O.response)==null?void 0:M.docs)??[],numFound:((H=O.response)==null?void 0:H.numFound)??0,facetCounts:((q=O.facet_counts)==null?void 0:q.facet_fields)??[]}}},"$wdWvjNEMY4")),t=await t,n(),t);Qe(Z,(O,M)=>{O&&G(xn(O))},{immediate:!0});function G(O){c.value=O.docs,u.value=O.facetCounts,C(u.value)}function V(O){var H;const M=(H=h.value)==null?void 0:H.find(q=>q.name===O.name);M&&(M.checked=O.checked,D(M),C(u.value))}return(O,M)=>(J(),ue("div",null,[h.value?(J(),ke(FL,{key:0,header:O.header,filters:h.value,results:A.value,"current-language":we(r).currentLanguage,"active-main-category":l.value,"product-finder":O.productFinder,labels:E.value,onMainCategoryChanged:B,onFilterChanged:Q,onFilterReset:I},null,8,["header","filters","results","current-language","active-main-category","product-finder","labels"])):pe("",!0)]))}}),jL={id:String,headline:String,isOpen:Boolean,contents:Object,header:Object},HL=["id"],zL=["id","aria-expanded","aria-controls"],VL=["innerHTML"],WL=["id","aria-labelledby"],UL={class:"c-accordion-panel__content-inner"},GL=De({__name:"CeAccordionPanel",props:jL,emits:["accordion_panel:open","accordion_panel:close"],setup(e,{emit:t}){const n=it("isEditMode",!1),i=e,r=t,a=be(!0),s=be(""),o=be(n?!0:i.isOpen),l=be(null),c=Bi(),u=xr();Ht("isWrapped",a);const d=de(()=>s.value?"chevron-up":"chevron-down"),m=de(()=>`c-accordion-panel-${i.id}`),v=de(()=>`c-accordion-section-${i.id}`),h=de(()=>{var k,P;const I=(P=(k=i.header)==null?void 0:k.deeplinkingHeadline)==null?void 0:P.deeplink;return I&&I.startsWith("#")?I.substring(1):I});Qe(()=>i.isOpen,I=>{I?A():E()});const f=be("");Qe(u,I=>{f.value=I==null?void 0:I.hash,w()&&setTimeout(()=>{A()})},{immediate:!0});function w(){return"#"+h.value===f.value}function _(){c==null||c.replace({hash:"#"})}function y(I){c==null||c.replace({hash:"#"+I})}function x(){var I;o.value?E():A(),(I=c==null?void 0:c.options)!=null&&I.scrollBehavior&&(c.options.scrollBehavior=F=>{if(F.hash)return{}}),h.value&&o.value?y(h.value):_()}function A(){o.value=!0,s.value="isOpen",r("accordion_panel:open",v)}function E(){o.value=!1,s.value="",w()&&_(),r("accordion_panel:close",v)}function $(I){const F=getComputedStyle(I).width;I.setAttribute("style",`
      width: ${F};
      position: 'absolute';
      visibility: 'hidden'
    `),I.style.height="auto";const k=getComputedStyle(I).height;I.removeAttribute("style"),I.style.height="0",requestAnimationFrame(()=>{I.style.height=k})}function B(I){I.style.height="auto"}function Q(I){I.style.height=getComputedStyle(I).height,requestAnimationFrame(()=>{I.style.height="0"})}return(I,F)=>(J(),ue("div",{ref:"panel",class:Ne(["c-accordion-panel",s.value])},[he("h3",{id:h.value,class:"c-accordion-panel__header"},[he("button",{id:m.value,"aria-expanded":o.value,"aria-controls":v.value,class:"c-accordion-panel__button","data-cy":"accordion-panel-button",onClick:x},[he("span",{class:"c-accordion-panel__label",innerHTML:I.headline},null,8,VL),ve(pt,{class:"c-icon--20",variant:d.value},null,8,["variant"])],8,zL)],8,HL),ve(vn,{name:"expand",onEnter:$,onAfterEnter:B,onLeave:Q},{default:He(()=>[Rt(he("div",{id:v.value,ref_key:"contentEl",ref:l,"aria-labelledby":m.value,role:"region",class:"c-accordion-panel__content"},[he("div",UL,[nt(I.$slots,"default",{},void 0,!0),nt(I.$slots,"mgnl-editable",{},()=>[I.contents?(J(),ke(we(jt),{key:0,content:I.contents},null,8,["content"])):pe("",!0)],!0)])],8,WL),[[pn,o.value]])]),_:3})],2))}});const yf=ze(GL,[["__scopeId","data-v-e2cc19f4"]]),qL={id:String,headline:String,isOpen:Boolean,content:Object},YL={key:0},XL={class:"c-cc-panel__header"},QL={class:"c-cc-panel__button"},KL=["innerHTML"],ZL=["id","aria-labelledby"],JL={class:"c-cc-panel__content-inner"},e$={class:"c-cc-panel__header"},t$=["id","aria-expanded","aria-controls"],n$=["innerHTML"],i$=["id","aria-labelledby"],r$={class:"c-cc-panel__content-inner"},a$=De({__name:"CeContentCarouselPanel",props:qL,emits:["cc_panel:open","cc_panel:close"],setup(e,{emit:t}){const n=e,i=t,r=be(!0),a=be(""),s=be(!1),o=be(null),l=it("isDesktop",!0),c=it("isOpenPanel",""),u=it("isEditMode",!1);Ht("isWrapped",r);const d=de(()=>a.value?"chevron-up":"chevron-down"),m=de(()=>`c-cc-panel-${n.id}`),v=de(()=>`c-cc-section-${n.id}`),h=de(()=>{var F,k;return(k=(F=n.content)==null?void 0:F["@nodes"])!=null&&k.length?n.content["@nodes"].map(P=>{var p;const C=(p=n.content)==null?void 0:p[P];return{id:C==null?void 0:C.id,headline:C==null?void 0:C.headline,richtext:C==null?void 0:C.richtext,mediaPosition:C==null?void 0:C.mediaPosition,linkList:C==null?void 0:C.linkList,type:C==null?void 0:C.type,cta:C==null?void 0:C.cta,mediaWidth:C==null?void 0:C.mediaWidth,linkType:C==null?void 0:C.linkType}}):void 0}),f=de(()=>(c==null?void 0:c.value)===n.id||u);w();function w(){l!=null&&l.value&&(a.value="is-open is-desktop"),!(l!=null&&l.value)&&(c==null?void 0:c.value)===n.id&&(s.value=!0,a.value="is-open")}function _(){a.value==="is-open"?x():y()}function y(){s.value=!0,a.value="is-open",i("cc_panel:open",v)}function x(){s.value=!1,a.value="",i("cc_panel:close",v)}function A(F){const k=getComputedStyle(F).width;F.setAttribute("style",`
      width: ${k};
      position: 'absolute';
      visibility: 'hidden'
    `),F.style.height="auto";const P=getComputedStyle(F).height;F.removeAttribute("style"),F.style.height="0",requestAnimationFrame(()=>{F.style.height=P})}function E(F){F.style.height="auto"}function $(F){F.style.height=getComputedStyle(F).height,requestAnimationFrame(()=>{F.style.height="0"})}function B(F){const k=I(F);k.style.height=getComputedStyle(F).height}function Q(F){const k=I(F);k.style.height="auto"}function I(F){return F.closest(".c-content-carousel__panels")}return(F,k)=>(J(),ue("div",{ref:"panel",class:Ne(["c-cc-panel",a.value])},[we(l)?(J(),ke(vn,{key:0,name:"crossfade",onEnter:B,onAfterEnter:Q,onLeave:F.leaveCrossfade},{default:He(()=>[f.value?(J(),ue("div",YL,[he("span",XL,[he("span",QL,[he("span",{class:"c-cc-panel__label",innerHTML:F.headline},null,8,KL)])]),he("div",{id:v.value,ref_key:"contentEl",ref:o,"aria-labelledby":m.value,role:"region",class:"c-cc-panel__content"},[he("div",JL,[(J(!0),ue(Be,null,Ue(h.value,P=>(J(),ke(pa,{key:P.id,headline:P.headline,richtext:P.richtext,"media-position":P.mediaPosition,"link-list":P.linkList,type:P.type,cta:P.cta,"media-width":P.mediaWidth,"link-type":P.linkType},null,8,["headline","richtext","media-position","link-list","type","cta","media-width","link-type"]))),128))])],8,ZL)])):pe("",!0)]),_:1},8,["onLeave"])):(J(),ue(Be,{key:1},[he("span",e$,[he("button",{id:m.value,"aria-expanded":s.value,"aria-controls":v.value,class:"c-cc-panel__button",onClick:_},[he("span",{class:"c-cc-panel__label",innerHTML:F.headline},null,8,n$),ve(pt,{class:"c-icon--20",variant:d.value},null,8,["variant"])],8,t$)]),ve(vn,{name:"expand",onEnter:A,onAfterEnter:E,onLeave:$},{default:He(()=>[Rt(he("div",{id:v.value,ref_key:"contentEl",ref:o,"aria-labelledby":m.value,role:"region",class:"c-cc-panel__content"},[he("div",r$,[(J(!0),ue(Be,null,Ue(h.value,P=>(J(),ke(pa,{key:P.id,headline:P.headline,richtext:P.richtext,"media-position":P.mediaPosition,"link-list":P.linkList,type:P.type,cta:P.cta,"media-width":P.mediaWidth,"link-type":P.linkType},null,8,["headline","richtext","media-position","link-list","type","cta","media-width","link-type"]))),128))])],8,i$),[[pn,s.value]])]),_:1})],64))],2))}});const s$=ze(a$,[["__scopeId","data-v-8ba026bd"]]),o$={dynamicsCode:Object,formID:String},l$={class:"c-ms-dynamics-form"},c$={class:"microsoft-dynamics-wrapper richtext"},u$=["data-form-block-id"],d$=["innerHTML"],h$=De({__name:"C40MSDynamicsForm",props:o$,setup(e){const t=e,n=de(()=>{var s;return(((s=t.dynamicsCode)==null?void 0:s.content).slice()||"").replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"")||""}),i=de(()=>{var s;return(((s=t.dynamicsCode)==null?void 0:s.content).slice()||"").match(/https:\/\/[^"]+/g)||[]});return(r,a)=>(J(),ke(ut,null,{default:He(()=>[he("div",l$,[he("div",c$,[he("div",{"data-form-block-id":r.formID},null,8,u$),he("span",{innerHTML:n.value},null,8,d$),(J(!0),ue(Be,null,Ue(i.value,s=>(J(),ke(Mi("script"),{key:s,src:s},null,8,["src"]))),128))])])]),_:1}))}});const f$=ze(h$,[["__scopeId","data-v-6ebac000"]]),p$={formID:String},m$=["innerHTML"],g$=De({__name:"CXMedevioEmbed",props:p$,setup(e){const t=e,n=de(()=>(console.log(t.formID),t.formID)),i=de(()=>`<div style="width: 100%; height: 100%;"><iframe src="${n.value}" width="100%" style=" height: calc(56vw);max-height: 950px; "></iframe></div>`);return(r,a)=>(J(),ke(ut,null,{default:He(()=>[he("div",{class:"medevio-poc",style:{width:"100%"},innerHTML:we(i)},null,8,m$)]),_:1}))}}),v$={previousPage:Object,nextPage:Object},y$=De({__name:"CXMedevioLinks",props:v$,setup(e){const t=e,n=de(()=>t.nextPage),i=de(()=>t.previousPage);return(r,a)=>(J(),ke(ut,{class:"cx-medevio-links"},{default:He(()=>[i.value?(J(),ke(lt,{key:0,class:"c-link c-link--cta-primary c-link--cta-big cx-previous",label:"Previous Page",link:i.value},null,8,["link"])):pe("",!0),n.value?(J(),ke(lt,{key:1,class:"c-link c-link--cta-primary c-link--cta-big cx-next",label:"Next Page",link:n.value},null,8,["link"])):pe("",!0)]),_:1}))}});const b$=ze(y$,[["__scopeId","data-v-c775b608"]]),_$={formID:String},w$=["innerHTML"],k$=De({__name:"CXMedevioQlikViewEmbed",props:_$,setup(e){const t=e,n=de(()=>(console.log(t.formID),t.formID)),i=de(()=>`<div style="width: 100%; height: 100%;"><iframe src="${n.value}" width="100%" style=" height: calc(56vw);max-height: 950px; "></iframe></div>`);return(r,a)=>(J(),ke(ut,null,{default:He(()=>[he("div",{class:"medevio-qlikview",style:{width:"100%"},innerHTML:we(i)},null,8,w$)]),_:1}))}}),C$={backgroundColor:String,teaser:Object,backgroundImage:Object,_backgroundImagePath:String,imageShowOutline:Boolean},x$=De({__name:"C23FullsizeTeaser",props:C$,setup(e){const t=e,n=Ze(),i=de(()=>{var s,o;return(s=n.site)!=null&&s.isGroup?t.backgroundColor==="alternative"?" is-bg-platinum-gray":" is-bg-primary":(o=n==null?void 0:n.site)!=null&&o.isHPM?t.backgroundColor==="alternative"?t._backgroundImagePath?" is-bg-white":" is-bg-pale-gray":" is-bg-pale-green":t.backgroundColor==="alternative"?" is-bg-pale-gray":" is-bg-primary"}),r=de(()=>mf(t.teaser,!0)),a=de(()=>t._backgroundImagePath?`background-image: linear-gradient(#fff 0%, #fff 100%), url(${t._backgroundImagePath})`:void 0);return(s,o)=>(J(),ke(ut,null,{default:He(()=>[he("div",{class:Ne(["c-fullsize-teaser__bg",i.value]),style:kn(a.value)},[nt(s.$slots,"default",{},()=>{var l;return[(J(),ke(Jo,Ke({key:(l=r.value)==null?void 0:l.id,"has-background-image":!!a.value,"textbox-background":i.value,"show-img-outline":s.imageShowOutline},r.value),null,16,["has-background-image","textbox-background","show-img-outline"]))]},!0)],6)]),_:3}))}});const S$=ze(x$,[["__scopeId","data-v-9c1e123d"]]),A$={id:String,headline:String,text:String,link:Object,labelTags:Array},E$=["href","target"],P$={key:0,class:"c-search-result__label-tags"},T$=["innerHTML"],M$=["innerHTML"],L$=De({__name:"CeSearchResult",props:A$,setup(e){return(t,n)=>{var i,r;return J(),ue("a",{href:(i=t.link)==null?void 0:i.href,target:(r=t.link)==null?void 0:r.target,class:"c-search-result"},[t.labelTags?(J(),ue("div",P$,[(J(!0),ue(Be,null,Ue(t.labelTags,a=>(J(),ke(Rn,Ke({key:a.id,ref_for:!0},a),null,16))),128))])):pe("",!0),he("div",{class:"c-search-result__headline",innerHTML:t.headline},null,8,T$),t.text?(J(),ue("div",{key:1,class:"c-search-result__text",innerHTML:t.text},null,8,M$)):pe("",!0)],8,E$)}}});const $$=ze(L$,[["__scopeId","data-v-dd0d43c5"]]),O$={class:"c-fulltext-search"},D$={class:"c-fulltext-search__wrapper"},I$={class:"c-fulltext-search__content"},R$={class:"c-fulltext-search__results"},B$={class:"c-fulltext-search__button-load-more-wrap"},eu=20,F$=De({__name:"C06FulltextSearch",emits:["resultChanged"],setup(e,{emit:t}){var C,p;const n=t,i=be(""),r=be(""),a=xr(),s=Bi(),o=Ze(),{label:l}=mt(o),c=o.currentLanguage,u=be(0),d=be(20),m=Gt(),v=be(`${c}`!="en"?`_${c}`:""),h=be(`${c}`=="en"?"_en":""),f=`https://${(C=o.site)==null?void 0:C.domain}${m.public.mgnlApiSolr}`,w=(p=o.site)==null?void 0:p.name,_=de(()=>`${f}?
    q=((content_txt${v.value}${h.value}:(${r.value})^2 title${v.value}:(${r.value})^3)
    AND (path:%5C%2F${w}_${c}%5C%2F*))

    OR ((asset_content:${r.value} asset_title${v.value}:(${r.value})^2) AND asset_language:${c} AND path:%5C%2F${w}%5C%2F* AND asset_extension:pdf)

    &hl.fl=title${v.value} content_txt${v.value}${h.value} asset_title${v.value} asset_content

    &fl=id uuid path title${v.value} content_txt${v.value}${h.value} contentType releasedate_dt
    location startDate_dt endDate_dt asset_extension asset_filesize_l asset_language jcrname path asset_title${v.value} asset_content

    &hl=true&indent=true&q.op=OR&hl.fragsize=200&start=0&rows=${d.value}`),y=de(()=>u.value>d.value),x=de(()=>({headline:`${u.value} ${l==null?void 0:l.value("global.results")}`}));Ri(()=>{i.value=a.query.searchTerm??"",r.value=i.value.trim()});function A(g){r.value=g.trim(),d.value=eu,s.replace({query:{}})}function E(){d.value+=eu}const{data:$,pending:B}=Xt(_,{transform:g=>{var Z,G;u.value=(Z=g==null?void 0:g.response)==null?void 0:Z.numFound,n("resultChanged",u.value);const D=g==null?void 0:g.highlighting;return((G=g==null?void 0:g.response)==null?void 0:G.docs).map(V=>({id:V==null?void 0:V.uuid,headline:F(V,D),text:k(V,D),link:Q(V),labelTags:I(V)}))}},"$Zbxtk9LZEa");function Q(g){return P(g)?{href:`${m.public.mgnlHost}/dam/jcr:${g==null?void 0:g.id}/${g==null?void 0:g.jcrname}`,target:void 0}:{href:g!=null&&g.path?_t(g==null?void 0:g.path,o.languages,c,o.site,m.public):void 0,target:"_self"}}function I(g){var Z;const D=[],R=g!=null&&g.contentType&&!P(g)?g==null?void 0:g.contentType.toString():"content";if(R&&!P(g)&&D.push({id:`${R}-${g==null?void 0:g.uuid}`,label:(Z=l==null?void 0:l.value)==null?void 0:Z.call(l,`global.search.contentType.${R}`)}),R==="news"){const G=no({startDate:g==null?void 0:g.releasedate_dt},c);G&&D.push({id:`news-${g==null?void 0:g.uuid}`,label:G,additionalClasses:"c-label-tag--no-bg"})}if(R==="event"){const G=g!=null&&g.location?g==null?void 0:g.location.toString():void 0;G&&D.push({id:`event-location-${g==null?void 0:g.uuid}`,label:G,iconVariant:"location",additionalClasses:"c-label-tag--no-bg"});const V=no({startDate:g==null?void 0:g.startDate_dt,endDate:g==null?void 0:g.endDate_dt},c);V&&D.push({id:`event-date-${g==null?void 0:g.uuid}`,label:V,iconVariant:"calendar",additionalClasses:"c-label-tag--no-bg"})}if(P(g)){const G=g!=null&&g.asset_extension?g==null?void 0:g.asset_extension.toUpperCase():"",V=g!=null&&g.asset_filesize_l?ff(g==null?void 0:g.asset_filesize_l):"",X=g!=null&&g.asset_language?l==null?void 0:l.value(`global.language.${g==null?void 0:g.asset_language}`):"",ee=[G,V,X].filter(S=>S).join(" | ");D.push({id:`document-${g==null?void 0:g.uuid}`,label:l==null?void 0:l.value("global.search.contentType.document")}),ee&&D.push({id:`document-file-${g==null?void 0:g.uuid}`,label:ee,iconVariant:"document",additionalClasses:"c-label-tag--no-bg"})}return D}function F(g,D){var Z,G;const R=D==null?void 0:D[g==null?void 0:g.uuid];if(P(g)){const V="asset_title",X=`${V}${v.value}`;return(Z=R!=null&&R[X]?R==null?void 0:R[X]:g!=null&&g[X]?g==null?void 0:g[X]:g!=null&&g[V]?g==null?void 0:g[V]:g==null?void 0:g.jcrname)==null?void 0:Z.toString()}else{const V="title";return(G=(R==null?void 0:R[`${V}${v.value}`])??(g==null?void 0:g[`${V}${v.value}`]))==null?void 0:G.toString()}}function k(g,D){var Z,G;const R=D==null?void 0:D[g==null?void 0:g.uuid];if(P(g)){const V="asset_content";return(Z=R==null?void 0:R[V])==null?void 0:Z.toString()}else{const V="content_txt";return(G=R==null?void 0:R[`${V}${v.value}${h.value}`])==null?void 0:G.toString()}}function P(g){return(g==null?void 0:g.type)==="media"||(g==null?void 0:g.asset_extension)==="pdf"}return(g,D)=>(J(),ue("div",O$,[ve(Qh,{value:i.value,onSubmit:A},null,8,["value"]),ve(ut,null,{default:He(()=>[he("div",D$,[he("div",I$,[ve(Zt,{class:"c-fulltext-search__header",header:x.value},null,8,["header"]),he("div",R$,[(J(!0),ue(Be,null,Ue(we($),R=>(J(),ke($$,Ke({key:R.id,ref_for:!0},R),null,16))),128))])])]),he("div",B$,[y.value?(J(),ke(Je,{key:0,disabled:we(B),label:we(l)("global.loadMore"),class:"c-button--secondary c-button--big c-button--responsive",onClick:tt(E,["prevent"])},null,8,["disabled","label"])):pe("",!0)])]),_:1})]))}});const bf=ze(F$,[["__scopeId","data-v-3b3fe5d8"]]),N$={intro:Object,title:String,main:Object,noResult:Object},j$={__name:"T09SearchResultPage",props:N$,setup(e){const t=be(0);function n(i){t.value=i}return(i,r)=>(J(),ke(Mr,null,{default:He(()=>[i.intro?(J(),ke(we(jt),{key:0,content:i.intro,class:"c-page__area c-page__area--intro"},null,8,["content"])):pe("",!0),ve(bf,{onResultChanged:n}),i.noResult&&t.value===0?(J(),ke(we(jt),{key:1,content:i.noResult,class:"c-page__area"},null,8,["content"])):pe("",!0)]),_:1}))}},_f={tables:String,header:String},H$={tables:String},z$={class:"c-table"},V$={class:"c-table__scroll-wrapper"},W$=De({__name:"CeTable",props:H$,setup(e){return(t,n)=>(J(),ue("div",z$,[he("div",V$,[nt(t.$slots,"default",{},void 0,!0)])]))}});const Ii=ze(W$,[["__scopeId","data-v-ceca9718"]]),U$={class:"c-tables is-bg-default"},G$=["innerHTML"],q$=De({__name:"C15Tables",props:_f,setup(e){return(t,n)=>(J(),ke(ut,null,{default:He(()=>[he("div",U$,[ve(Zt,{header:t.header},null,8,["header"]),ve(Ii,null,{default:He(()=>[he("div",{innerHTML:t.tables},null,8,G$)]),_:1})])]),_:1}))}}),Y$=De({__name:"C15TablesWrap",props:_f,setup(e){const t=Ze(),n=e,i=Gt(),r=de(()=>{var x;const m=/<a\s+href="(?!.*\$\{link:)(https?:\/\/[^"]+)">([^<]+)<\/a>/g,v=/<a\s+href="\$\{link:\{uuid:{[0-9a-f-]+},repository:\{website\},path:\{([^}]+)\}\}\}">([^<]+)<\/a>/g,h=/<a\s+href="\$\{link:\{uuid:{([0-9a-f-]+)},repository:\{dam\},path:\{([^}]+)\}\}\}">([^<]+)<\/a>/g,f=/<a\s+class="internal"\s+href="(?!.*\$\{link:)(https?:\/\/[^"]+)">([^<]+)<\/a>/g,w=/<a\s+(class=".*"\s)?href="mailto:([^"]+)">([^<]+)<\/a>/g;return(((x=n==null?void 0:n.tables)==null?void 0:x.slice())||"").replace(m,a).replace(v,o).replace(h,l).replace(f,s).replace(w,c)});function a(...m){const[,v,h]=m;return u({uuid:"",path:v,label:h,icon:"icon-external-link",isExternal:!0})}function s(...m){const[,v,h]=m;return u({uuid:"",path:v,label:h,icon:"icon-chevron-right",isExternal:!0})}function o(...m){const[,v,h]=m;return u({uuid:"",path:v,label:h,icon:"icon-chevron-right",isExternal:!1})}function l(...m){const[,v,h,f]=m;return u({uuid:v,path:h,label:f,icon:"icon-download",isExternal:!1})}function c(...m){const[,v,h,f]=m,w={uuid:"",selector:v,path:`mailto:${h}`,label:f,icon:"icon-mailto",isExternal:!0};return u(w)}function u(m){const v=m!=null&&m.isExternal?m==null?void 0:m.path:d(m==null?void 0:m.path,m==null?void 0:m.uuid),h=m!=null&&m.isExternal?"_blank":"_self";return`<a class="c-link is-with-icon c-link--tiny" href="${v}" target="${h}">
    <i class="c-icon ${m==null?void 0:m.icon}"></i>
    <span class="c-link__text-wrapper">
      <span class="c-link__label">${m==null?void 0:m.label}</span>
    </span>
  </a>`}function d(m,v){return v?`${i.public.mgnlHost}/dam/jcr:${v}${m}`:_t(m,t==null?void 0:t.languages,t==null?void 0:t.currentLanguage,t==null?void 0:t.site,!!(i!=null&&i.isPublic))}return(m,v)=>{const h=q$;return J(),ke(h,{tables:r.value,header:m.header},null,8,["tables","header"])}}}),X$={header:Object,columns:Array,products:Array,filters:Array,uniqueAttribute:String,speakingUrl:String,productsFetched:Number,productsTotal:Number,appLoading:Boolean,showFilters:Boolean,maxFilters:Number,urlPrefix:String,error:Boolean,requestQuote:Object,showCollectionCompare:Boolean,showCollectionRequestAQuote:Boolean,labels:Object,productsToCollectLimit:Number,comparisonData:Object||void 0,showModal:Boolean,noResult:Object,isEditMode:Boolean,typeOfView:String},Q$={filters:Array},K$={filters:Array,appLoading:Boolean,productsTotal:Number,maxFilters:Number,labels:Object};function hs(e){return e===0?!1:Array.isArray(e)&&e.length===0?!0:!e}function Z$(e){return(...t)=>!e(...t)}function J$(e,t){return e===void 0&&(e="undefined"),e===null&&(e="null"),e===!1&&(e="false"),e.toString().toLowerCase().indexOf(t.trim())!==-1}function wf(e,t,n,i){return t?e.filter(r=>J$(i(r,n),t)).sort((r,a)=>i(r,n).length-i(a,n).length):e}function eO(e){return e.filter(t=>!t.$isLabel)}function fs(e,t){return n=>n.reduce((i,r)=>r[e]&&r[e].length?(i.push({$groupLabel:r[t],$isLabel:!0}),i.concat(r[e])):i,[])}function tO(e,t,n,i,r){return a=>a.map(s=>{if(!s[n])return console.warn("Options passed to vue-multiselect do not contain groups, despite the config."),[];const o=wf(s[n],e,t,r);return o.length?{[i]:s[i],[n]:o}:[]})}const tu=(...e)=>t=>e.reduce((n,i)=>i(n),t);var nO={data(){return{search:"",isOpen:!1,preferredOpenDirection:"below",optimizedHeight:this.maxHeight}},props:{internalSearch:{type:Boolean,default:!0},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},trackBy:{type:String},label:{type:String},searchable:{type:Boolean,default:!0},clearOnSelect:{type:Boolean,default:!0},hideSelected:{type:Boolean,default:!1},placeholder:{type:String,default:"Select option"},allowEmpty:{type:Boolean,default:!0},resetAfter:{type:Boolean,default:!1},closeOnSelect:{type:Boolean,default:!0},customLabel:{type:Function,default(e,t){return hs(e)?"":t?e[t]:e}},taggable:{type:Boolean,default:!1},tagPlaceholder:{type:String,default:"Press enter to create a tag"},tagPosition:{type:String,default:"top"},max:{type:[Number,Boolean],default:!1},id:{default:null},optionsLimit:{type:Number,default:1e3},groupValues:{type:String},groupLabel:{type:String},groupSelect:{type:Boolean,default:!1},blockKeys:{type:Array,default(){return[]}},preserveSearch:{type:Boolean,default:!1},preselectFirst:{type:Boolean,default:!1},preventAutofocus:{type:Boolean,default:!1}},mounted(){!this.multiple&&this.max&&console.warn("[Vue-Multiselect warn]: Max prop should not be used when prop Multiple equals false."),this.preselectFirst&&!this.internalValue.length&&this.options.length&&this.select(this.filteredOptions[0])},computed:{internalValue(){return this.modelValue||this.modelValue===0?Array.isArray(this.modelValue)?this.modelValue:[this.modelValue]:[]},filteredOptions(){const e=this.search||"",t=e.toLowerCase().trim();let n=this.options.concat();return this.internalSearch?n=this.groupValues?this.filterAndFlat(n,t,this.label):wf(n,t,this.label,this.customLabel):n=this.groupValues?fs(this.groupValues,this.groupLabel)(n):n,n=this.hideSelected?n.filter(Z$(this.isSelected)):n,this.taggable&&t.length&&!this.isExistingOption(t)&&(this.tagPosition==="bottom"?n.push({isTag:!0,label:e}):n.unshift({isTag:!0,label:e})),n.slice(0,this.optionsLimit)},valueKeys(){return this.trackBy?this.internalValue.map(e=>e[this.trackBy]):this.internalValue},optionKeys(){return(this.groupValues?this.flatAndStrip(this.options):this.options).map(t=>this.customLabel(t,this.label).toString().toLowerCase())},currentOptionLabel(){return this.multiple?this.searchable?"":this.placeholder:this.internalValue.length?this.getOptionLabel(this.internalValue[0]):this.searchable?"":this.placeholder}},watch:{internalValue:{handler(){this.resetAfter&&this.internalValue.length&&(this.search="",this.$emit("update:modelValue",this.multiple?[]:null))},deep:!0},search(){this.$emit("search-change",this.search)}},emits:["open","search-change","close","select","update:modelValue","remove","tag"],methods:{getValue(){return this.multiple?this.internalValue:this.internalValue.length===0?null:this.internalValue[0]},filterAndFlat(e,t,n){return tu(tO(t,n,this.groupValues,this.groupLabel,this.customLabel),fs(this.groupValues,this.groupLabel))(e)},flatAndStrip(e){return tu(fs(this.groupValues,this.groupLabel),eO)(e)},updateSearch(e){this.search=e},isExistingOption(e){return this.options?this.optionKeys.indexOf(e)>-1:!1},isSelected(e){const t=this.trackBy?e[this.trackBy]:e;return this.valueKeys.indexOf(t)>-1},isOptionDisabled(e){return!!e.$isDisabled},getOptionLabel(e){if(hs(e))return"";if(e.isTag)return e.label;if(e.$isLabel)return e.$groupLabel;const t=this.customLabel(e,this.label);return hs(t)?"":t},select(e,t){if(e.$isLabel&&this.groupSelect){this.selectGroup(e);return}if(!(this.blockKeys.indexOf(t)!==-1||this.disabled||e.$isDisabled||e.$isLabel)&&!(this.max&&this.multiple&&this.internalValue.length===this.max)&&!(t==="Tab"&&!this.pointerDirty)){if(e.isTag)this.$emit("tag",e.label,this.id),this.search="",this.closeOnSelect&&!this.multiple&&this.deactivate();else{if(this.isSelected(e)){t!=="Tab"&&this.removeElement(e);return}this.multiple?this.$emit("update:modelValue",this.internalValue.concat([e])):this.$emit("update:modelValue",e),this.$emit("select",e,this.id),this.clearOnSelect&&(this.search="")}this.closeOnSelect&&this.deactivate()}},selectGroup(e){const t=this.options.find(n=>n[this.groupLabel]===e.$groupLabel);if(t){if(this.wholeGroupSelected(t)){this.$emit("remove",t[this.groupValues],this.id);const n=this.trackBy?t[this.groupValues].map(r=>r[this.trackBy]):t[this.groupValues],i=this.internalValue.filter(r=>n.indexOf(this.trackBy?r[this.trackBy]:r)===-1);this.$emit("update:modelValue",i)}else{let n=t[this.groupValues].filter(i=>!(this.isOptionDisabled(i)||this.isSelected(i)));this.max&&n.splice(this.max-this.internalValue.length),this.$emit("select",n,this.id),this.$emit("update:modelValue",this.internalValue.concat(n))}this.closeOnSelect&&this.deactivate()}},wholeGroupSelected(e){return e[this.groupValues].every(t=>this.isSelected(t)||this.isOptionDisabled(t))},wholeGroupDisabled(e){return e[this.groupValues].every(this.isOptionDisabled)},removeElement(e,t=!0){if(this.disabled||e.$isDisabled)return;if(!this.allowEmpty&&this.internalValue.length<=1){this.deactivate();return}const n=typeof e=="object"?this.valueKeys.indexOf(e[this.trackBy]):this.valueKeys.indexOf(e);if(this.multiple){const i=this.internalValue.slice(0,n).concat(this.internalValue.slice(n+1));this.$emit("update:modelValue",i)}else this.$emit("update:modelValue",null);this.$emit("remove",e,this.id),this.closeOnSelect&&t&&this.deactivate()},removeLastElement(){this.blockKeys.indexOf("Delete")===-1&&this.search.length===0&&Array.isArray(this.internalValue)&&this.internalValue.length&&this.removeElement(this.internalValue[this.internalValue.length-1],!1)},activate(){this.isOpen||this.disabled||(this.adjustPosition(),this.groupValues&&this.pointer===0&&this.filteredOptions.length&&(this.pointer=1),this.isOpen=!0,this.searchable?(this.preserveSearch||(this.search=""),this.preventAutofocus||this.$nextTick(()=>this.$refs.search&&this.$refs.search.focus())):this.preventAutofocus||typeof this.$el<"u"&&this.$el.focus(),this.$emit("open",this.id))},deactivate(){this.isOpen&&(this.isOpen=!1,this.searchable?this.$refs.search!==null&&typeof this.$refs.search<"u"&&this.$refs.search.blur():typeof this.$el<"u"&&this.$el.blur(),this.preserveSearch||(this.search=""),this.$emit("close",this.getValue(),this.id))},toggle(){this.isOpen?this.deactivate():this.activate()},adjustPosition(){if(typeof window>"u")return;const e=this.$el.getBoundingClientRect().top,t=window.innerHeight-this.$el.getBoundingClientRect().bottom;t>this.maxHeight||t>e||this.openDirection==="below"||this.openDirection==="bottom"?(this.preferredOpenDirection="below",this.optimizedHeight=Math.min(t-40,this.maxHeight)):(this.preferredOpenDirection="above",this.optimizedHeight=Math.min(e-40,this.maxHeight))}}},iO={data(){return{pointer:0,pointerDirty:!1}},props:{showPointer:{type:Boolean,default:!0},optionHeight:{type:Number,default:40}},computed:{pointerPosition(){return this.pointer*this.optionHeight},visibleElements(){return this.optimizedHeight/this.optionHeight}},watch:{filteredOptions(){this.pointerAdjust()},isOpen(){this.pointerDirty=!1},pointer(){this.$refs.search&&this.$refs.search.setAttribute("aria-activedescendant",this.id+"-"+this.pointer.toString())}},methods:{optionHighlight(e,t){return{"multiselect__option--highlight":e===this.pointer&&this.showPointer,"multiselect__option--selected":this.isSelected(t)}},groupHighlight(e,t){if(!this.groupSelect)return["multiselect__option--disabled",{"multiselect__option--group":t.$isLabel}];const n=this.options.find(i=>i[this.groupLabel]===t.$groupLabel);return n&&!this.wholeGroupDisabled(n)?["multiselect__option--group",{"multiselect__option--highlight":e===this.pointer&&this.showPointer},{"multiselect__option--group-selected":this.wholeGroupSelected(n)}]:"multiselect__option--disabled"},addPointerElement({key:e}="Enter"){this.filteredOptions.length>0&&this.select(this.filteredOptions[this.pointer],e),this.pointerReset()},pointerForward(){this.pointer<this.filteredOptions.length-1&&(this.pointer++,this.$refs.list.scrollTop<=this.pointerPosition-(this.visibleElements-1)*this.optionHeight&&(this.$refs.list.scrollTop=this.pointerPosition-(this.visibleElements-1)*this.optionHeight),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()),this.pointerDirty=!0},pointerBackward(){this.pointer>0?(this.pointer--,this.$refs.list.scrollTop>=this.pointerPosition&&(this.$refs.list.scrollTop=this.pointerPosition),this.filteredOptions[this.pointer]&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerBackward()):this.filteredOptions[this.pointer]&&this.filteredOptions[0].$isLabel&&!this.groupSelect&&this.pointerForward(),this.pointerDirty=!0},pointerReset(){this.closeOnSelect&&(this.pointer=0,this.$refs.list&&(this.$refs.list.scrollTop=0))},pointerAdjust(){this.pointer>=this.filteredOptions.length-1&&(this.pointer=this.filteredOptions.length?this.filteredOptions.length-1:0),this.filteredOptions.length>0&&this.filteredOptions[this.pointer].$isLabel&&!this.groupSelect&&this.pointerForward()},pointerSet(e){this.pointer=e,this.pointerDirty=!0}}},kf={name:"vue-multiselect",mixins:[nO,iO],compatConfig:{MODE:3,ATTR_ENUMERATED_COERCION:!1},props:{name:{type:String,default:""},modelValue:{type:null,default(){return[]}},selectLabel:{type:String,default:"Press enter to select"},selectGroupLabel:{type:String,default:"Press enter to select group"},selectedLabel:{type:String,default:"Selected"},deselectLabel:{type:String,default:"Press enter to remove"},deselectGroupLabel:{type:String,default:"Press enter to deselect group"},showLabels:{type:Boolean,default:!0},limit:{type:Number,default:99999},maxHeight:{type:Number,default:300},limitText:{type:Function,default:e=>`and ${e} more`},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},openDirection:{type:String,default:""},showNoOptions:{type:Boolean,default:!0},showNoResults:{type:Boolean,default:!0},tabindex:{type:Number,default:0}},computed:{hasOptionGroup(){return this.groupValues&&this.groupLabel&&this.groupSelect},isSingleLabelVisible(){return(this.singleValue||this.singleValue===0)&&(!this.isOpen||!this.searchable)&&!this.visibleValues.length},isPlaceholderVisible(){return!this.internalValue.length&&(!this.searchable||!this.isOpen)},visibleValues(){return this.multiple?this.internalValue.slice(0,this.limit):[]},singleValue(){return this.internalValue[0]},deselectLabelText(){return this.showLabels?this.deselectLabel:""},deselectGroupLabelText(){return this.showLabels?this.deselectGroupLabel:""},selectLabelText(){return this.showLabels?this.selectLabel:""},selectGroupLabelText(){return this.showLabels?this.selectGroupLabel:""},selectedLabelText(){return this.showLabels?this.selectedLabel:""},inputStyle(){return this.searchable||this.multiple&&this.modelValue&&this.modelValue.length?this.isOpen?{width:"100%"}:{width:"0",position:"absolute",padding:"0"}:""},contentStyle(){return this.options.length?{display:"inline-block"}:{display:"block"}},isAbove(){return this.openDirection==="above"||this.openDirection==="top"?!0:this.openDirection==="below"||this.openDirection==="bottom"?!1:this.preferredOpenDirection==="above"},showSearchInput(){return this.searchable&&(this.hasSingleSelectedSlot&&(this.visibleSingleValue||this.visibleSingleValue===0)?this.isOpen:!0)}}};const rO={ref:"tags",class:"multiselect__tags"},aO={class:"multiselect__tags-wrap"},sO={class:"multiselect__spinner"},oO={key:0},lO={class:"multiselect__option"},cO={class:"multiselect__option"},uO=St("No elements found. Consider changing the search query."),dO={class:"multiselect__option"},hO=St("List is empty.");function fO(e,t,n,i,r,a){return J(),ke("div",{tabindex:e.searchable?-1:n.tabindex,class:[{"multiselect--active":e.isOpen,"multiselect--disabled":n.disabled,"multiselect--above":a.isAbove,"multiselect--has-options-group":a.hasOptionGroup},"multiselect"],onFocus:t[14]||(t[14]=s=>e.activate()),onBlur:t[15]||(t[15]=s=>e.searchable?!1:e.deactivate()),onKeydown:[t[16]||(t[16]=en(tt(s=>e.pointerForward(),["self","prevent"]),["down"])),t[17]||(t[17]=en(tt(s=>e.pointerBackward(),["self","prevent"]),["up"]))],onKeypress:t[18]||(t[18]=en(tt(s=>e.addPointerElement(s),["stop","self"]),["enter","tab"])),onKeyup:t[19]||(t[19]=en(s=>e.deactivate(),["esc"])),role:"combobox","aria-owns":"listbox-"+e.id},[nt(e.$slots,"caret",{toggle:e.toggle},()=>[ve("div",{onMousedown:t[1]||(t[1]=tt(s=>e.toggle(),["prevent","stop"])),class:"multiselect__select"},null,32)]),nt(e.$slots,"clear",{search:e.search}),ve("div",rO,[nt(e.$slots,"selection",{search:e.search,remove:e.removeElement,values:a.visibleValues,isOpen:e.isOpen},()=>[Rt(ve("div",aO,[(J(!0),ke(Be,null,Ue(a.visibleValues,(s,o)=>nt(e.$slots,"tag",{option:s,search:e.search,remove:e.removeElement},()=>[(J(),ke("span",{class:"multiselect__tag",key:o},[ve("span",{textContent:Oe(e.getOptionLabel(s))},null,8,["textContent"]),ve("i",{tabindex:"1",onKeypress:en(tt(l=>e.removeElement(s),["prevent"]),["enter"]),onMousedown:tt(l=>e.removeElement(s),["prevent"]),class:"multiselect__tag-icon"},null,40,["onKeypress","onMousedown"])]))])),256))],512),[[pn,a.visibleValues.length>0]]),e.internalValue&&e.internalValue.length>n.limit?nt(e.$slots,"limit",{key:0},()=>[ve("strong",{class:"multiselect__strong",textContent:Oe(n.limitText(e.internalValue.length-n.limit))},null,8,["textContent"])]):pe("v-if",!0)]),ve(vn,{name:"multiselect__loading"},{default:He(()=>[nt(e.$slots,"loading",{},()=>[Rt(ve("div",sO,null,512),[[pn,n.loading]])])]),_:3}),e.searchable?(J(),ke("input",{key:0,ref:"search",name:n.name,id:e.id,type:"text",autocomplete:"off",spellcheck:!1,placeholder:e.placeholder,style:a.inputStyle,value:e.search,disabled:n.disabled,tabindex:n.tabindex,onInput:t[2]||(t[2]=s=>e.updateSearch(s.target.value)),onFocus:t[3]||(t[3]=tt(s=>e.activate(),["prevent"])),onBlur:t[4]||(t[4]=tt(s=>e.deactivate(),["prevent"])),onKeyup:t[5]||(t[5]=en(s=>e.deactivate(),["esc"])),onKeydown:[t[6]||(t[6]=en(tt(s=>e.pointerForward(),["prevent"]),["down"])),t[7]||(t[7]=en(tt(s=>e.pointerBackward(),["prevent"]),["up"])),t[9]||(t[9]=en(tt(s=>e.removeLastElement(),["stop"]),["delete"]))],onKeypress:t[8]||(t[8]=en(tt(s=>e.addPointerElement(s),["prevent","stop","self"]),["enter"])),class:"multiselect__input","aria-controls":"listbox-"+e.id},null,44,["name","id","placeholder","value","disabled","tabindex","aria-controls"])):pe("v-if",!0),a.isSingleLabelVisible?(J(),ke("span",{key:1,class:"multiselect__single",onMousedown:t[10]||(t[10]=tt((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[nt(e.$slots,"singleLabel",{option:a.singleValue},()=>[St(Oe(e.currentOptionLabel),1)])],32)):pe("v-if",!0),a.isPlaceholderVisible?(J(),ke("span",{key:2,class:"multiselect__placeholder",onMousedown:t[11]||(t[11]=tt((...s)=>e.toggle&&e.toggle(...s),["prevent"]))},[nt(e.$slots,"placeholder",{},()=>[St(Oe(e.placeholder),1)])],32)):pe("v-if",!0)],512),ve(vn,{name:"multiselect"},{default:He(()=>[Rt(ve("div",{class:"multiselect__content-wrapper",onFocus:t[12]||(t[12]=(...s)=>e.activate&&e.activate(...s)),tabindex:"-1",onMousedown:t[13]||(t[13]=tt(()=>{},["prevent"])),style:{maxHeight:e.optimizedHeight+"px"},ref:"list"},[ve("ul",{class:"multiselect__content",style:a.contentStyle,role:"listbox",id:"listbox-"+e.id},[nt(e.$slots,"beforeList"),e.multiple&&e.max===e.internalValue.length?(J(),ke("li",oO,[ve("span",lO,[nt(e.$slots,"maxElements",{},()=>[St("Maximum of "+Oe(e.max)+" options selected. First remove a selected option to select another.",1)])])])):pe("v-if",!0),!e.max||e.internalValue.length<e.max?(J(!0),ke(Be,{key:1},Ue(e.filteredOptions,(s,o)=>(J(),ke("li",{class:"multiselect__element",key:o,id:e.id+"-"+o,role:s&&(s.$isLabel||s.$isDisabled)?null:"option"},[s&&(s.$isLabel||s.$isDisabled)?pe("v-if",!0):(J(),ke("span",{key:0,class:[e.optionHighlight(o,s),"multiselect__option"],onClick:tt(l=>e.select(s),["stop"]),onMouseenter:tt(l=>e.pointerSet(o),["self"]),"data-select":s&&s.isTag?e.tagPlaceholder:a.selectLabelText,"data-selected":a.selectedLabelText,"data-deselect":a.deselectLabelText},[nt(e.$slots,"option",{option:s,search:e.search,index:o},()=>[ve("span",null,Oe(e.getOptionLabel(s)),1)])],42,["onClick","onMouseenter","data-select","data-selected","data-deselect"])),s&&(s.$isLabel||s.$isDisabled)?(J(),ke("span",{key:1,"data-select":e.groupSelect&&a.selectGroupLabelText,"data-deselect":e.groupSelect&&a.deselectGroupLabelText,class:[e.groupHighlight(o,s),"multiselect__option"],onMouseenter:tt(l=>e.groupSelect&&e.pointerSet(o),["self"]),onMousedown:tt(l=>e.selectGroup(s),["prevent"])},[nt(e.$slots,"option",{option:s,search:e.search,index:o},()=>[ve("span",null,Oe(e.getOptionLabel(s)),1)])],42,["data-select","data-deselect","onMouseenter","onMousedown"])):pe("v-if",!0)],8,["id","role"]))),128)):pe("v-if",!0),Rt(ve("li",null,[ve("span",cO,[nt(e.$slots,"noResult",{search:e.search},()=>[uO])])],512),[[pn,n.showNoResults&&e.filteredOptions.length===0&&e.search&&!n.loading]]),Rt(ve("li",null,[ve("span",dO,[nt(e.$slots,"noOptions",{},()=>[hO])])],512),[[pn,n.showNoOptions&&(e.options.length===0||a.hasOptionGroup===!0&&e.filteredOptions.length===0)&&!e.search&&!n.loading]]),nt(e.$slots,"afterList")],12,["id"])],36),[[pn,e.isOpen]])]),_:3})],42,["tabindex","aria-owns"])}kf.render=fO;const pO=kf,mO={id:String,name:String,label:String,displayType:String,value:Array,required:Boolean,disabled:Boolean,options:Array},gO={class:"c-select-multi"},vO={class:"c-select-multi__wrapper"},yO={class:"c-select-multi__checkbox"},bO={class:"c-select-multi__placeholder"},_O=De({__name:"CeSelectMulti",props:mO,emits:["changed"],setup(e,{emit:t}){const n=e,i=be(n.value),r=be("multiselect--closed"),a=t;Qe(()=>n.value,()=>{i.value=n.value},{immediate:!0});function s(){r.value=" multiselect--opened"}function o(){r.value=" multiselect--closed"}const l=()=>{a("changed",{id:n.id,values:i.value})};function c(u){var d;return(d=i.value)==null?void 0:d.reduce((m,v)=>m===!0?m:v.id===u,!1)}return(u,d)=>(J(),ue("div",gO,[he("div",vO,[ve(we(pO),{modelValue:i.value,"onUpdate:modelValue":d[0]||(d[0]=m=>i.value=m),class:Ne(r.value),options:u.options,multiple:!0,searchable:!1,"close-on-select":!1,"open-direction":"bottom","track-by":"id",label:"label",onOpen:s,onClose:o,onSelect:l,onRemove:l},{option:He(m=>[he("div",yO,[(J(),ke(Yo,{id:`checkbox--${m.option.id}`,key:`checkbox--${m.option.id}`,ref:`checkbox--${m.option.id}`,label:m.option.label,checked:c(m.option.id)},null,8,["id","label","checked"]))])]),_:1},8,["modelValue","class","options"]),he("span",bO,Oe(u.label),1)])]))}});var qn;(function(e){e.Range="range",e.Steps="steps",e.Positions="positions",e.Count="count",e.Values="values"})(qn||(qn={}));var qt;(function(e){e[e.None=-1]="None",e[e.NoValue=0]="NoValue",e[e.LargeValue=1]="LargeValue",e[e.SmallValue=2]="SmallValue"})(qt||(qt={}));function wO(e){return ma(e)&&typeof e.from=="function"}function ma(e){return typeof e=="object"&&typeof e.to=="function"}function nu(e){e.parentElement.removeChild(e)}function io(e){return e!=null}function iu(e){e.preventDefault()}function kO(e){return e.filter(function(t){return this[t]?!1:this[t]=!0},{})}function CO(e,t){return Math.round(e/t)*t}function xO(e,t){var n=e.getBoundingClientRect(),i=e.ownerDocument,r=i.documentElement,a=Cf(i);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(a.x=0),t?n.top+a.y-r.clientTop:n.left+a.x-r.clientLeft}function wn(e){return typeof e=="number"&&!isNaN(e)&&isFinite(e)}function ru(e,t,n){n>0&&(Wt(e,t),setTimeout(function(){Yr(e,t)},n))}function au(e){return Math.max(Math.min(e,100),0)}function ja(e){return Array.isArray(e)?e:[e]}function SO(e){e=String(e);var t=e.split(".");return t.length>1?t[1].length:0}function Wt(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function Yr(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function AO(e,t){return e.classList?e.classList.contains(t):new RegExp("\\b"+t+"\\b").test(e.className)}function Cf(e){var t=window.pageXOffset!==void 0,n=(e.compatMode||"")==="CSS1Compat",i=t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,r=t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop;return{x:i,y:r}}function EO(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function PO(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch{}return e}function TO(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function el(e,t){return 100/(t-e)}function ro(e,t,n){return t*100/(e[n+1]-e[n])}function MO(e,t){return ro(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}function LO(e,t){return t*(e[1]-e[0])/100+e[0]}function pr(e,t){for(var n=1;e>=t[n];)n+=1;return n}function $O(e,t,n){if(n>=e.slice(-1)[0])return 100;var i=pr(n,e),r=e[i-1],a=e[i],s=t[i-1],o=t[i];return s+MO([r,a],n)/el(s,o)}function OO(e,t,n){if(n>=100)return e.slice(-1)[0];var i=pr(n,t),r=e[i-1],a=e[i],s=t[i-1],o=t[i];return LO([r,a],(n-s)*el(s,o))}function DO(e,t,n,i){if(i===100)return i;var r=pr(i,e),a=e[r-1],s=e[r];return n?i-a>(s-a)/2?s:a:t[r-1]?e[r-1]+CO(i-e[r-1],t[r-1]):i}var xf=function(){function e(t,n,i){this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[i||!1],this.xNumSteps=[!1],this.snap=n;var r,a=[];for(Object.keys(t).forEach(function(s){a.push([ja(t[s]),s])}),a.sort(function(s,o){return s[0][0]-o[0][0]}),r=0;r<a.length;r++)this.handleEntryPoint(a[r][1],a[r][0]);for(this.xNumSteps=this.xSteps.slice(0),r=0;r<this.xNumSteps.length;r++)this.handleStepPoint(r,this.xNumSteps[r])}return e.prototype.getDistance=function(t){for(var n=[],i=0;i<this.xNumSteps.length-1;i++)n[i]=ro(this.xVal,t,i);return n},e.prototype.getAbsoluteDistance=function(t,n,i){var r=0;if(t<this.xPct[this.xPct.length-1])for(;t>this.xPct[r+1];)r++;else t===this.xPct[this.xPct.length-1]&&(r=this.xPct.length-2);!i&&t===this.xPct[r+1]&&r++,n===null&&(n=[]);var a,s=1,o=n[r],l=0,c=0,u=0,d=0;for(i?a=(t-this.xPct[r])/(this.xPct[r+1]-this.xPct[r]):a=(this.xPct[r+1]-t)/(this.xPct[r+1]-this.xPct[r]);o>0;)l=this.xPct[r+1+d]-this.xPct[r+d],n[r+d]*s+100-a*100>100?(c=l*a,s=(o-100*a)/n[r+d],a=1):(c=n[r+d]*l/100*s,s=0),i?(u=u-c,this.xPct.length+d>=1&&d--):(u=u+c,this.xPct.length-d>=1&&d++),o=n[r+d]*s;return t+u},e.prototype.toStepping=function(t){return t=$O(this.xVal,this.xPct,t),t},e.prototype.fromStepping=function(t){return OO(this.xVal,this.xPct,t)},e.prototype.getStep=function(t){return t=DO(this.xPct,this.xSteps,this.snap,t),t},e.prototype.getDefaultStep=function(t,n,i){var r=pr(t,this.xPct);return(t===100||n&&t===this.xPct[r-1])&&(r=Math.max(r-1,1)),(this.xVal[r]-this.xVal[r-1])/i},e.prototype.getNearbySteps=function(t){var n=pr(t,this.xPct);return{stepBefore:{startValue:this.xVal[n-2],step:this.xNumSteps[n-2],highestStep:this.xHighestCompleteStep[n-2]},thisStep:{startValue:this.xVal[n-1],step:this.xNumSteps[n-1],highestStep:this.xHighestCompleteStep[n-1]},stepAfter:{startValue:this.xVal[n],step:this.xNumSteps[n],highestStep:this.xHighestCompleteStep[n]}}},e.prototype.countStepDecimals=function(){var t=this.xNumSteps.map(SO);return Math.max.apply(null,t)},e.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},e.prototype.convert=function(t){return this.getStep(this.toStepping(t))},e.prototype.handleEntryPoint=function(t,n){var i;if(t==="min"?i=0:t==="max"?i=100:i=parseFloat(t),!wn(i)||!wn(n[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(i),this.xVal.push(n[0]);var r=Number(n[1]);i?this.xSteps.push(isNaN(r)?!1:r):isNaN(r)||(this.xSteps[0]=r),this.xHighestCompleteStep.push(0)},e.prototype.handleStepPoint=function(t,n){if(n){if(this.xVal[t]===this.xVal[t+1]){this.xSteps[t]=this.xHighestCompleteStep[t]=this.xVal[t];return}this.xSteps[t]=ro([this.xVal[t],this.xVal[t+1]],n,0)/el(this.xPct[t],this.xPct[t+1]);var i=(this.xVal[t+1]-this.xVal[t])/this.xNumSteps[t],r=Math.ceil(Number(i.toFixed(3))-1),a=this.xVal[t]+this.xNumSteps[t]*r;this.xHighestCompleteStep[t]=a}},e}(),su={to:function(e){return e===void 0?"":e.toFixed(2)},from:Number},Sf={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},Vn={tooltips:".__tooltips",aria:".__aria"};function IO(e,t){if(!wn(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function RO(e,t){if(!wn(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function BO(e,t){if(!wn(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");e.keyboardMultiplier=t}function FO(e,t){if(!wn(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function NO(e,t){if(typeof t!="object"||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(t.min===void 0||t.max===void 0)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");e.spectrum=new xf(t,e.snap||!1,e.singleStep)}function jO(e,t){if(t=ja(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function HO(e,t){if(typeof t!="boolean")throw new Error("noUiSlider: 'snap' option must be a boolean.");e.snap=t}function zO(e,t){if(typeof t!="boolean")throw new Error("noUiSlider: 'animate' option must be a boolean.");e.animate=t}function VO(e,t){if(typeof t!="number")throw new Error("noUiSlider: 'animationDuration' option must be a number.");e.animationDuration=t}function Af(e,t){var n=[!1],i;if(t==="lower"?t=[!0,!1]:t==="upper"&&(t=[!1,!0]),t===!0||t===!1){for(i=1;i<e.handles;i++)n.push(t);n.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");n=t}e.connect=n}function WO(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function Ef(e,t){if(!wn(t))throw new Error("noUiSlider: 'margin' option must be numeric.");t!==0&&(e.margin=e.spectrum.getDistance(t))}function UO(e,t){if(!wn(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(t),!e.limit||e.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function GO(e,t){var n;if(!wn(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&!(t.length===2||wn(t[0])||wn(t[1])))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(t!==0){for(Array.isArray(t)||(t=[t,t]),e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])],n=0;n<e.spectrum.xNumSteps.length-1;n++)if(e.padding[0][n]<0||e.padding[1][n]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var i=t[0]+t[1],r=e.spectrum.xVal[0],a=e.spectrum.xVal[e.spectrum.xVal.length-1];if(i/(a-r)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function qO(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function YO(e,t){if(typeof t!="string")throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,i=t.indexOf("drag")>=0,r=t.indexOf("fixed")>=0,a=t.indexOf("snap")>=0,s=t.indexOf("hover")>=0,o=t.indexOf("unconstrained")>=0,l=t.indexOf("invert-connects")>=0,c=t.indexOf("drag-all")>=0,u=t.indexOf("smooth-steps")>=0;if(r){if(e.handles!==2)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");Ef(e,e.start[1]-e.start[0])}if(l&&e.handles!==2)throw new Error("noUiSlider: 'invert-connects' behaviour must be used with 2 handles");if(o&&(e.margin||e.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:n||a,drag:i,dragAll:c,smoothSteps:u,fixed:r,snap:a,hover:s,unconstrained:o,invertConnects:l}}function XO(e,t){if(t!==!1)if(t===!0||ma(t)){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(t)}else{if(t=ja(t),t.length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.forEach(function(i){if(typeof i!="boolean"&&!ma(i))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),e.tooltips=t}}function QO(e,t){if(t.length!==e.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");e.handleAttributes=t}function KO(e,t){if(!ma(t))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");e.ariaFormat=t}function ZO(e,t){if(!wO(t))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");e.format=t}function JO(e,t){if(typeof t!="boolean")throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");e.keyboardSupport=t}function eD(e,t){e.documentElement=t}function tD(e,t){if(typeof t!="string"&&t!==!1)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function nD(e,t){if(typeof t!="object")throw new Error("noUiSlider: 'cssClasses' must be an object.");typeof e.cssPrefix=="string"?(e.cssClasses={},Object.keys(t).forEach(function(n){e.cssClasses[n]=e.cssPrefix+t[n]})):e.cssClasses=t}function Pf(e){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:su,format:su},n={step:{r:!1,t:IO},keyboardPageMultiplier:{r:!1,t:RO},keyboardMultiplier:{r:!1,t:BO},keyboardDefaultStep:{r:!1,t:FO},start:{r:!0,t:jO},connect:{r:!0,t:Af},direction:{r:!0,t:qO},snap:{r:!1,t:HO},animate:{r:!1,t:zO},animationDuration:{r:!1,t:VO},range:{r:!0,t:NO},orientation:{r:!1,t:WO},margin:{r:!1,t:Ef},limit:{r:!1,t:UO},padding:{r:!1,t:GO},behaviour:{r:!0,t:YO},ariaFormat:{r:!1,t:KO},format:{r:!1,t:ZO},tooltips:{r:!1,t:XO},keyboardSupport:{r:!0,t:JO},documentElement:{r:!1,t:eD},cssPrefix:{r:!0,t:tD},cssClasses:{r:!0,t:nD},handleAttributes:{r:!1,t:QO}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:Sf,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(n).forEach(function(l){if(!io(e[l])&&i[l]===void 0){if(n[l].r)throw new Error("noUiSlider: '"+l+"' is required.");return}n[l].t(t,io(e[l])?e[l]:i[l])}),t.pips=e.pips;var r=document.createElement("div"),a=r.style.msTransform!==void 0,s=r.style.transform!==void 0;t.transformRule=s?"transform":a?"msTransform":"webkitTransform";var o=[["left","top"],["right","bottom"]];return t.style=o[t.dir][t.ort],t}function iD(e,t,n){var i=EO(),r=TO(),a=r&&PO(),s=e,o,l,c,u,d,m,v=t.spectrum,h=[],f=[],w=[],_=0,y={},x=!1,A=e.ownerDocument,E=t.documentElement||A.documentElement,$=A.body,B=A.dir==="rtl"||t.ort===1?0:100;function Q(ye,Ae){var Ee=A.createElement("div");return Ae&&Wt(Ee,Ae),ye.appendChild(Ee),Ee}function I(ye,Ae){var Ee=Q(ye,t.cssClasses.origin),Ie=Q(Ee,t.cssClasses.handle);if(Q(Ie,t.cssClasses.touchArea),Ie.setAttribute("data-handle",String(Ae)),t.keyboardSupport&&(Ie.setAttribute("tabindex","0"),Ie.addEventListener("keydown",function(Fe){return j(Fe,Ae)})),t.handleAttributes!==void 0){var je=t.handleAttributes[Ae];Object.keys(je).forEach(function(Fe){Ie.setAttribute(Fe,je[Fe])})}return Ie.setAttribute("role","slider"),Ie.setAttribute("aria-orientation",t.ort?"vertical":"horizontal"),Ae===0?Wt(Ie,t.cssClasses.handleLower):Ae===t.handles-1&&Wt(Ie,t.cssClasses.handleUpper),Ee.handle=Ie,Ee}function F(ye,Ae){return Ae?Q(ye,t.cssClasses.connect):!1}function k(ye,Ae){l=Q(Ae,t.cssClasses.connects),c=[],u=[],u.push(F(l,ye[0]));for(var Ee=0;Ee<t.handles;Ee++)c.push(I(Ae,Ee)),w[Ee]=Ee,u.push(F(l,ye[Ee+1]))}function P(ye){Wt(ye,t.cssClasses.target),t.dir===0?Wt(ye,t.cssClasses.ltr):Wt(ye,t.cssClasses.rtl),t.ort===0?Wt(ye,t.cssClasses.horizontal):Wt(ye,t.cssClasses.vertical);var Ae=getComputedStyle(ye).direction;return Ae==="rtl"?Wt(ye,t.cssClasses.textDirectionRtl):Wt(ye,t.cssClasses.textDirectionLtr),Q(ye,t.cssClasses.base)}function C(ye,Ae){return!t.tooltips||!t.tooltips[Ae]?!1:Q(ye.firstChild,t.cssClasses.tooltip)}function p(){return s.hasAttribute("disabled")}function g(ye){var Ae=c[ye];return Ae.hasAttribute("disabled")}function D(ye){ye!=null?(c[ye].setAttribute("disabled",""),c[ye].handle.removeAttribute("tabindex")):(s.setAttribute("disabled",""),c.forEach(function(Ae){Ae.handle.removeAttribute("tabindex")}))}function R(ye){ye!=null?(c[ye].removeAttribute("disabled"),c[ye].handle.setAttribute("tabindex","0")):(s.removeAttribute("disabled"),c.forEach(function(Ae){Ae.removeAttribute("disabled"),Ae.handle.setAttribute("tabindex","0")}))}function Z(){m&&(oe("update"+Vn.tooltips),m.forEach(function(ye){ye&&nu(ye)}),m=null)}function G(){Z(),m=c.map(C),se("update"+Vn.tooltips,function(ye,Ae,Ee){if(!(!m||!t.tooltips)&&m[Ae]!==!1){var Ie=ye[Ae];t.tooltips[Ae]!==!0&&(Ie=t.tooltips[Ae].to(Ee[Ae])),m[Ae].innerHTML=Ie}})}function V(){oe("update"+Vn.aria),se("update"+Vn.aria,function(ye,Ae,Ee,Ie,je){w.forEach(function(Fe){var qe=c[Fe],We=te(f,Fe,0,!0,!0,!0),dt=te(f,Fe,100,!0,!0,!0),ht=je[Fe],gt=String(t.ariaFormat.to(Ee[Fe]));We=v.fromStepping(We).toFixed(1),dt=v.fromStepping(dt).toFixed(1),ht=v.fromStepping(ht).toFixed(1),qe.children[0].setAttribute("aria-valuemin",We),qe.children[0].setAttribute("aria-valuemax",dt),qe.children[0].setAttribute("aria-valuenow",ht),qe.children[0].setAttribute("aria-valuetext",gt)})})}function X(ye){if(ye.mode===qn.Range||ye.mode===qn.Steps)return v.xVal;if(ye.mode===qn.Count){if(ye.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var Ae=ye.values-1,Ee=100/Ae,Ie=[];Ae--;)Ie[Ae]=Ae*Ee;return Ie.push(100),ee(Ie,ye.stepped)}return ye.mode===qn.Positions?ee(ye.values,ye.stepped):ye.mode===qn.Values?ye.stepped?ye.values.map(function(je){return v.fromStepping(v.getStep(v.toStepping(je)))}):ye.values:[]}function ee(ye,Ae){return ye.map(function(Ee){return v.fromStepping(Ae?v.getStep(Ee):Ee)})}function S(ye){function Ae(ht,gt){return Number((ht+gt).toFixed(7))}var Ee=X(ye),Ie={},je=v.xVal[0],Fe=v.xVal[v.xVal.length-1],qe=!1,We=!1,dt=0;return Ee=kO(Ee.slice().sort(function(ht,gt){return ht-gt})),Ee[0]!==je&&(Ee.unshift(je),qe=!0),Ee[Ee.length-1]!==Fe&&(Ee.push(Fe),We=!0),Ee.forEach(function(ht,gt){var vt,ct,Ct,Ot=ht,Lt=Ee[gt+1],$t,Zn,yi,Hn,Jn,bi,ei,cl=ye.mode===qn.Steps;for(cl&&(vt=v.xNumSteps[gt]),vt||(vt=Lt-Ot),Lt===void 0&&(Lt=Ot),vt=Math.max(vt,1e-7),ct=Ot;ct<=Lt;ct=Ae(ct,vt)){for($t=v.toStepping(ct),Zn=$t-dt,Jn=Zn/(ye.density||1),bi=Math.round(Jn),ei=Zn/bi,Ct=1;Ct<=bi;Ct+=1)yi=dt+Ct*ei,Ie[yi.toFixed(5)]=[v.fromStepping(yi),0];Hn=Ee.indexOf(ct)>-1?qt.LargeValue:cl?qt.SmallValue:qt.NoValue,!gt&&qe&&ct!==Lt&&(Hn=0),ct===Lt&&We||(Ie[$t.toFixed(5)]=[ct,Hn]),dt=$t}}),Ie}function O(ye,Ae,Ee){var Ie,je,Fe=A.createElement("div"),qe=(Ie={},Ie[qt.None]="",Ie[qt.NoValue]=t.cssClasses.valueNormal,Ie[qt.LargeValue]=t.cssClasses.valueLarge,Ie[qt.SmallValue]=t.cssClasses.valueSub,Ie),We=(je={},je[qt.None]="",je[qt.NoValue]=t.cssClasses.markerNormal,je[qt.LargeValue]=t.cssClasses.markerLarge,je[qt.SmallValue]=t.cssClasses.markerSub,je),dt=[t.cssClasses.valueHorizontal,t.cssClasses.valueVertical],ht=[t.cssClasses.markerHorizontal,t.cssClasses.markerVertical];Wt(Fe,t.cssClasses.pips),Wt(Fe,t.ort===0?t.cssClasses.pipsHorizontal:t.cssClasses.pipsVertical);function gt(ct,Ct){var Ot=Ct===t.cssClasses.value,Lt=Ot?dt:ht,$t=Ot?qe:We;return Ct+" "+Lt[t.ort]+" "+$t[ct]}function vt(ct,Ct,Ot){if(Ot=Ae?Ae(Ct,Ot):Ot,Ot!==qt.None){var Lt=Q(Fe,!1);Lt.className=gt(Ot,t.cssClasses.marker),Lt.style[t.style]=ct+"%",Ot>qt.NoValue&&(Lt=Q(Fe,!1),Lt.className=gt(Ot,t.cssClasses.value),Lt.setAttribute("data-value",String(Ct)),Lt.style[t.style]=ct+"%",Lt.innerHTML=String(Ee.to(Ct)))}}return Object.keys(ye).forEach(function(ct){vt(ct,ye[ct][0],ye[ct][1])}),Fe}function M(){d&&(nu(d),d=null)}function H(ye){M();var Ae=S(ye),Ee=ye.filter,Ie=ye.format||{to:function(je){return String(Math.round(je))}};return d=s.appendChild(O(Ae,Ee,Ie)),d}function q(){var ye=o.getBoundingClientRect(),Ae="offset"+["Width","Height"][t.ort];return t.ort===0?ye.width||o[Ae]:ye.height||o[Ae]}function T(ye,Ae,Ee,Ie){var je=function(qe){var We=L(qe,Ie.pageOffset,Ie.target||Ae);if(!We||p()&&!Ie.doNotReject||AO(s,t.cssClasses.tap)&&!Ie.doNotReject||ye===i.start&&We.buttons!==void 0&&We.buttons>1||Ie.hover&&We.buttons)return!1;a||We.preventDefault(),We.calcPoint=We.points[t.ort],Ee(We,Ie)},Fe=[];return ye.split(" ").forEach(function(qe){Ae.addEventListener(qe,je,a?{passive:!0}:!1),Fe.push([qe,je])}),Fe}function L(ye,Ae,Ee){var Ie=ye.type.indexOf("touch")===0,je=ye.type.indexOf("mouse")===0,Fe=ye.type.indexOf("pointer")===0,qe=0,We=0;if(ye.type.indexOf("MSPointer")===0&&(Fe=!0),ye.type==="mousedown"&&!ye.buttons&&!ye.touches)return!1;if(Ie){var dt=function(vt){var ct=vt.target;return ct===Ee||Ee.contains(ct)||ye.composed&&ye.composedPath().shift()===Ee};if(ye.type==="touchstart"){var ht=Array.prototype.filter.call(ye.touches,dt);if(ht.length>1)return!1;qe=ht[0].pageX,We=ht[0].pageY}else{var gt=Array.prototype.find.call(ye.changedTouches,dt);if(!gt)return!1;qe=gt.pageX,We=gt.pageY}}return Ae=Ae||Cf(A),(je||Fe)&&(qe=ye.clientX+Ae.x,We=ye.clientY+Ae.y),ye.pageOffset=Ae,ye.points=[qe,We],ye.cursor=je||Fe,ye}function U(ye){var Ae=ye-xO(o,t.ort),Ee=Ae*100/q();return Ee=au(Ee),t.dir?100-Ee:Ee}function ie(ye){var Ae=100,Ee=!1;return c.forEach(function(Ie,je){if(!g(je)){var Fe=f[je],qe=Math.abs(Fe-ye),We=qe===100&&Ae===100,dt=qe<Ae,ht=qe<=Ae&&ye>Fe;(dt||ht||We)&&(Ee=je,Ae=qe)}}),Ee}function N(ye,Ae){ye.type==="mouseout"&&ye.target.nodeName==="HTML"&&ye.relatedTarget===null&&b(ye,Ae)}function K(ye,Ae){if(navigator.appVersion.indexOf("MSIE 9")===-1&&ye.buttons===0&&Ae.buttonsProperty!==0)return b(ye,Ae);var Ee=(t.dir?-1:1)*(ye.calcPoint-Ae.startCalcPoint),Ie=Ee*100/Ae.baseSize;le(Ee>0,Ie,Ae.locations,Ae.handleNumbers,Ae.connect)}function b(ye,Ae){Ae.handle&&(Yr(Ae.handle,t.cssClasses.active),_-=1),Ae.listeners.forEach(function(Ee){E.removeEventListener(Ee[0],Ee[1])}),_===0&&(Yr(s,t.cssClasses.drag),ge(),ye.cursor&&($.style.cursor="",$.removeEventListener("selectstart",iu))),t.events.smoothSteps&&(Ae.handleNumbers.forEach(function(Ee){_e(Ee,f[Ee],!0,!0,!1,!1)}),Ae.handleNumbers.forEach(function(Ee){re("update",Ee)})),Ae.handleNumbers.forEach(function(Ee){re("change",Ee),re("set",Ee),re("end",Ee)})}function z(ye,Ae){if(!Ae.handleNumbers.some(g)){var Ee;if(Ae.handleNumbers.length===1){var Ie=c[Ae.handleNumbers[0]];Ee=Ie.children[0],_+=1,Wt(Ee,t.cssClasses.active)}ye.stopPropagation();var je=[],Fe=T(i.move,E,K,{target:ye.target,handle:Ee,connect:Ae.connect,listeners:je,startCalcPoint:ye.calcPoint,baseSize:q(),pageOffset:ye.pageOffset,handleNumbers:Ae.handleNumbers,buttonsProperty:ye.buttons,locations:f.slice()}),qe=T(i.end,E,b,{target:ye.target,handle:Ee,listeners:je,doNotReject:!0,handleNumbers:Ae.handleNumbers}),We=T("mouseout",E,N,{target:ye.target,handle:Ee,listeners:je,doNotReject:!0,handleNumbers:Ae.handleNumbers});je.push.apply(je,Fe.concat(qe,We)),ye.cursor&&($.style.cursor=getComputedStyle(ye.target).cursor,c.length>1&&Wt(s,t.cssClasses.drag),$.addEventListener("selectstart",iu,!1)),Ae.handleNumbers.forEach(function(dt){re("start",dt)})}}function Y(ye){ye.stopPropagation();var Ae=U(ye.calcPoint),Ee=ie(Ae);Ee!==!1&&(t.events.snap||ru(s,t.cssClasses.tap,t.animationDuration),_e(Ee,Ae,!0,!0),ge(),re("slide",Ee,!0),re("update",Ee,!0),t.events.snap?z(ye,{handleNumbers:[Ee]}):(re("change",Ee,!0),re("set",Ee,!0)))}function W(ye){var Ae=U(ye.calcPoint),Ee=v.getStep(Ae),Ie=v.fromStepping(Ee);Object.keys(y).forEach(function(je){je.split(".")[0]==="hover"&&y[je].forEach(function(Fe){Fe.call(bt,Ie)})})}function j(ye,Ae){if(p()||g(Ae))return!1;var Ee=["Left","Right"],Ie=["Down","Up"],je=["PageDown","PageUp"],Fe=["Home","End"];t.dir&&!t.ort?Ee.reverse():t.ort&&!t.dir&&(Ie.reverse(),je.reverse());var qe=ye.key.replace("Arrow",""),We=qe===je[0],dt=qe===je[1],ht=qe===Ie[0]||qe===Ee[0]||We,gt=qe===Ie[1]||qe===Ee[1]||dt,vt=qe===Fe[0],ct=qe===Fe[1];if(!ht&&!gt&&!vt&&!ct)return!0;ye.preventDefault();var Ct;if(gt||ht){var Ot=ht?0:1,Lt=$e(Ae),$t=Lt[Ot];if($t===null)return!1;$t===!1&&($t=v.getDefaultStep(f[Ae],ht,t.keyboardDefaultStep)),dt||We?$t*=t.keyboardPageMultiplier:$t*=t.keyboardMultiplier,$t=Math.max($t,1e-7),$t=(ht?-1:1)*$t,Ct=h[Ae]+$t}else ct?Ct=t.spectrum.xVal[t.spectrum.xVal.length-1]:Ct=t.spectrum.xVal[0];return _e(Ae,v.toStepping(Ct),!0,!0),re("slide",Ae),re("update",Ae),re("change",Ae),re("set",Ae),!1}function ne(ye){ye.fixed||c.forEach(function(Ae,Ee){T(i.start,Ae.children[0],z,{handleNumbers:[Ee]})}),ye.tap&&T(i.start,o,Y,{}),ye.hover&&T(i.move,o,W,{hover:!0}),ye.drag&&u.forEach(function(Ae,Ee){if(!(Ae===!1||Ee===0||Ee===u.length-1)){var Ie=c[Ee-1],je=c[Ee],Fe=[Ae],qe=[Ie,je],We=[Ee-1,Ee];Wt(Ae,t.cssClasses.draggable),ye.fixed&&(Fe.push(Ie.children[0]),Fe.push(je.children[0])),ye.dragAll&&(qe=c,We=w),Fe.forEach(function(dt){T(i.start,dt,z,{handles:qe,handleNumbers:We,connect:Ae})})}})}function se(ye,Ae){y[ye]=y[ye]||[],y[ye].push(Ae),ye.split(".")[0]==="update"&&c.forEach(function(Ee,Ie){re("update",Ie)})}function ce(ye){return ye===Vn.aria||ye===Vn.tooltips}function oe(ye){var Ae=ye&&ye.split(".")[0],Ee=Ae?ye.substring(Ae.length):ye;Object.keys(y).forEach(function(Ie){var je=Ie.split(".")[0],Fe=Ie.substring(je.length);(!Ae||Ae===je)&&(!Ee||Ee===Fe)&&(!ce(Fe)||Ee===Fe)&&delete y[Ie]})}function re(ye,Ae,Ee){Object.keys(y).forEach(function(Ie){var je=Ie.split(".")[0];ye===je&&y[Ie].forEach(function(Fe){Fe.call(bt,h.map(t.format.to),Ae,h.slice(),Ee||!1,f.slice(),bt)})})}function te(ye,Ae,Ee,Ie,je,Fe,qe){var We;return c.length>1&&!t.events.unconstrained&&(Ie&&Ae>0&&(We=v.getAbsoluteDistance(ye[Ae-1],t.margin,!1),Ee=Math.max(Ee,We)),je&&Ae<c.length-1&&(We=v.getAbsoluteDistance(ye[Ae+1],t.margin,!0),Ee=Math.min(Ee,We))),c.length>1&&t.limit&&(Ie&&Ae>0&&(We=v.getAbsoluteDistance(ye[Ae-1],t.limit,!1),Ee=Math.min(Ee,We)),je&&Ae<c.length-1&&(We=v.getAbsoluteDistance(ye[Ae+1],t.limit,!0),Ee=Math.max(Ee,We))),t.padding&&(Ae===0&&(We=v.getAbsoluteDistance(0,t.padding[0],!1),Ee=Math.max(Ee,We)),Ae===c.length-1&&(We=v.getAbsoluteDistance(100,t.padding[1],!0),Ee=Math.min(Ee,We))),qe||(Ee=v.getStep(Ee)),Ee=au(Ee),Ee===ye[Ae]&&!Fe?!1:Ee}function ae(ye,Ae){var Ee=t.ort;return(Ee?Ae:ye)+", "+(Ee?ye:Ae)}function le(ye,Ae,Ee,Ie,je){var Fe=Ee.slice(),qe=Ie[0],We=t.events.smoothSteps,dt=[!ye,ye],ht=[ye,!ye];Ie=Ie.slice(),ye&&Ie.reverse(),Ie.length>1?Ie.forEach(function(vt,ct){var Ct=te(Fe,vt,Fe[vt]+Ae,dt[ct],ht[ct],!1,We);Ct===!1?Ae=0:(Ae=Ct-Fe[vt],Fe[vt]=Ct)}):dt=ht=[!0];var gt=!1;Ie.forEach(function(vt,ct){gt=_e(vt,Ee[vt]+Ae,dt[ct],ht[ct],!1,We)||gt}),gt&&(Ie.forEach(function(vt){re("update",vt),re("slide",vt)}),je!=null&&re("drag",qe))}function fe(ye,Ae){return t.dir?100-ye-Ae:ye}function me(ye,Ae){f[ye]=Ae,h[ye]=v.fromStepping(Ae);var Ee=fe(Ae,0)-B,Ie="translate("+ae(Ee+"%","0")+")";if(c[ye].style[t.transformRule]=Ie,t.events.invertConnects&&f.length>1){var je=f.every(function(Fe,qe,We){return qe===0||Fe>=We[qe-1]});if(x!==!je){et();return}}Ce(ye),Ce(ye+1),x&&(Ce(ye-1),Ce(ye+2))}function ge(){w.forEach(function(ye){var Ae=f[ye]>50?-1:1,Ee=3+(c.length+Ae*ye);c[ye].style.zIndex=String(Ee)})}function _e(ye,Ae,Ee,Ie,je,Fe){return je||(Ae=te(f,ye,Ae,Ee,Ie,!1,Fe)),Ae===!1?!1:(me(ye,Ae),!0)}function Ce(ye){if(u[ye]){var Ae=f.slice();x&&Ae.sort(function(We,dt){return We-dt});var Ee=0,Ie=100;ye!==0&&(Ee=Ae[ye-1]),ye!==u.length-1&&(Ie=Ae[ye]);var je=Ie-Ee,Fe="translate("+ae(fe(Ee,je)+"%","0")+")",qe="scale("+ae(je/100,"1")+")";u[ye].style[t.transformRule]=Fe+" "+qe}}function xe(ye,Ae){return ye===null||ye===!1||ye===void 0||(typeof ye=="number"&&(ye=String(ye)),ye=t.format.from(ye),ye!==!1&&(ye=v.toStepping(ye)),ye===!1||isNaN(ye))?f[Ae]:ye}function Se(ye,Ae,Ee){var Ie=ja(ye),je=f[0]===void 0;Ae=Ae===void 0?!0:Ae,t.animate&&!je&&ru(s,t.cssClasses.tap,t.animationDuration),w.forEach(function(We){_e(We,xe(Ie[We],We),!0,!1,Ee)});var Fe=w.length===1?0:1;if(je&&v.hasNoSize()&&(Ee=!0,f[0]=0,w.length>1)){var qe=100/(w.length-1);w.forEach(function(We){f[We]=We*qe})}for(;Fe<w.length;++Fe)w.forEach(function(We){_e(We,f[We],!0,!0,Ee)});ge(),w.forEach(function(We){re("update",We),Ie[We]!==null&&Ae&&re("set",We)})}function Pe(ye){Se(t.start,ye)}function Le(ye,Ae,Ee,Ie){if(ye=Number(ye),!(ye>=0&&ye<w.length))throw new Error("noUiSlider: invalid handle number, got: "+ye);_e(ye,xe(Ae,ye),!0,!0,Ie),re("update",ye),Ee&&re("set",ye)}function Te(ye){if(ye===void 0&&(ye=!1),ye)return h.length===1?h[0]:h.slice(0);var Ae=h.map(t.format.to);return Ae.length===1?Ae[0]:Ae}function Me(){for(oe(Vn.aria),oe(Vn.tooltips),Object.keys(t.cssClasses).forEach(function(ye){Yr(s,t.cssClasses[ye])});s.firstChild;)s.removeChild(s.firstChild);delete s.noUiSlider}function $e(ye){var Ae=f[ye],Ee=v.getNearbySteps(Ae),Ie=h[ye],je=Ee.thisStep.step,Fe=null;if(t.snap)return[Ie-Ee.stepBefore.startValue||null,Ee.stepAfter.startValue-Ie||null];je!==!1&&Ie+je>Ee.stepAfter.startValue&&(je=Ee.stepAfter.startValue-Ie),Ie>Ee.thisStep.startValue?Fe=Ee.thisStep.step:Ee.stepBefore.step===!1?Fe=!1:Fe=Ie-Ee.stepBefore.highestStep,Ae===100?je=null:Ae===0&&(Fe=null);var qe=v.countStepDecimals();return je!==null&&je!==!1&&(je=Number(je.toFixed(qe))),Fe!==null&&Fe!==!1&&(Fe=Number(Fe.toFixed(qe))),[Fe,je]}function Ye(){return w.map($e)}function Ge(ye,Ae){var Ee=Te(),Ie=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips","connect"];Ie.forEach(function(Fe){ye[Fe]!==void 0&&(n[Fe]=ye[Fe])});var je=Pf(n);Ie.forEach(function(Fe){ye[Fe]!==void 0&&(t[Fe]=je[Fe])}),v=je.spectrum,t.margin=je.margin,t.limit=je.limit,t.padding=je.padding,t.pips?H(t.pips):M(),t.tooltips?G():Z(),f=[],Se(io(ye.start)?ye.start:Ee,Ae),ye.connect&&Xe()}function Xe(){for(;l.firstChild;)l.removeChild(l.firstChild);for(var ye=0;ye<=t.handles;ye++)u[ye]=F(l,t.connect[ye]),Ce(ye);ne({drag:t.events.drag,fixed:!0})}function et(){x=!x,Af(t,t.connect.map(function(ye){return!ye})),Xe()}function at(){o=P(s),k(t.connect,o),ne(t.events),Se(t.start),t.pips&&H(t.pips),t.tooltips&&G(),V()}at();var bt={destroy:Me,steps:Ye,on:se,off:oe,get:Te,set:Se,setHandle:Le,reset:Pe,disable:D,enable:R,__moveHandles:function(ye,Ae,Ee){le(ye,Ae,f,Ee)},options:n,updateOptions:Ge,target:s,removePips:M,removeTooltips:Z,getPositions:function(){return f.slice()},getTooltips:function(){return m},getOrigins:function(){return c},pips:H};return bt}function rD(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var n=Pf(t),i=iD(e,n,t);return e.noUiSlider=i,i}const aD={__spectrum:xf,cssClasses:Sf,create:rD},sD={id:String,value:Number,min:Number,max:Number,step:Number,label:String,placeholder:String},oD=["data-cy"],lD=["for"],cD=["id","placeholder","max","min","step"],uD=De({__name:"CeRangeSliderInput",props:sD,emits:["input"],setup(e,{emit:t}){const n=e,i=t,r=de({get:()=>n.value||0,set:a=>i("input",a)});return(a,s)=>{var o;return J(),ue("div",{class:"c-range-slider-input","data-cy":`range-slider-input-${a.id}`},[a.label&&((o=a.label)==null?void 0:o.length)>0?(J(),ue("label",{key:0,for:a.id,class:"c-range-slider-input__label"},Oe(a.label),9,lD)):pe("",!0),Rt(he("input",{id:a.id,"onUpdate:modelValue":s[0]||(s[0]=l=>r.value=l),type:"number",placeholder:a.placeholder,max:a.max,min:a.min,step:a.step,class:"c-range-slider-input__input"},null,8,cD),[[_o,r.value]])],8,oD)}}});const ou=ze(uD,[["__scopeId","data-v-3f3de54b"]]),dD={id:String,min:Number,max:Number,step:Number,start:Number,end:Number,unit:String,label:String,minLabel:String,maxLabel:String,rangeType:String};const hD=["data-cy"],fD=["for"],pD={class:"c-range-slider__wrapper"},mD=["id"],gD={class:"c-range-slider__input-container"},vD=De({__name:"CeRangeSlider",props:dD,emits:["newRange"],setup(e,{emit:t}){const n=e,i=be(null),r=be(n.min??0),a=be(n.max??0),s=t;Qe(()=>[n.start,n.end],()=>{c(n.start,n.end)});const o=de({get(){const w=parseFloat(r.value.toString());return n.step||1%1!==0?w.toFixed(2):w.toFixed(0)},set(w){const _=w===""?n.min:f(parseFloat(w),n.min??0,a.value);r.value=Number(_),s("newRange",[_==null?void 0:_.toString(),a.value.toString()])}}),l=de({get(){const w=parseFloat(a.value.toString());return n.step||1%1!==0?w.toFixed(2):w.toFixed(0)},set(w){const _=w===""?n.max:f(parseFloat(w),r.value,n.max??0);a.value=Number(_),s("newRange",[r.value.toString(),_==null?void 0:_.toString()])}});function c(w=r.value,_=a.value){var y;(y=i.value)!=null&&y.noUiSlider&&i.value.noUiSlider.set([parseFloat(w.toString()),parseFloat(_.toString())])}function u(w,_){var y,x,A,E;i.value&&(aD.create(i.value,{start:[n.start??w,n.end??_],connect:!0,range:{min:w,max:_},step:n.step}),(x=(y=i.value)==null?void 0:y.noUiSlider)==null||x.on("update",$=>{[r.value,a.value]=$.map(Number)}),(E=(A=i.value)==null?void 0:A.noUiSlider)==null||E.on("change",$=>{s("newRange",$)}))}function d(w){o.value=w,c()}function m(w){l.value=w,c()}function v(){let w="";return n.rangeType==="outside"&&(w+=" c-range-slider--outside"),n.rangeType==="within"&&(w+=" c-range-slider--within"),w}function h(w,_){return _?`${w} (${_})`:w}ot(()=>{u(n.min||0,n.max||0)});function f(w,_,y){return Math.max(Math.min(w,Math.max(_,y)),Math.min(_,y))}return(w,_)=>(J(),ue("div",{class:Ne(["c-range-slider",v()]),"data-cy":`range-slider-${w.id}`},[he("label",{for:w.id,class:"c-range-slider__label"},Oe(w.label),9,fD),he("div",pD,[he("div",{id:w.id,ref:y=>i.value=y},null,8,mD)]),he("div",gD,[ve(ou,{id:`${w.id}_start`,type:"number",step:w.step,min:w.min,max:w.end,label:h(w.minLabel||"",w.unit||""),value:Number(o.value),placeholder:"",class:"c-range-slider__input",onBlur:_[0]||(_[0]=y=>d(y.target.value)),onKeyup:_[1]||(_[1]=en(y=>d(y.target.value),["enter"]))},null,8,["id","step","min","max","label","value"]),ve(ou,{id:`${w.id}_end`,type:"number",step:w.step,min:w.min,max:w.max,label:h(w.maxLabel||"",w.unit||""),value:Number(l.value),"help-message":"",placeholder:"",class:"c-range-slider__input",onBlur:_[2]||(_[2]=y=>m(y.target.value)),onKeyup:_[3]||(_[3]=en(y=>m(y.target.value),["enter"]))},null,8,["id","step","min","max","label","value"])])],10,hD))}});const yD=De({__name:"CeProductSelectorInputs",props:Q$,emits:["filter-changed","filter-multi-select-changed","filter-range-changed"],setup(e,{emit:t}){const n=t;function i(s){n("filter-changed",s)}function r(s){n("filter-multi-select-changed",{id:s.id,values:JSON.parse(JSON.stringify(s.values))})}function a(s,o){n("filter-range-changed",{id:s,lowerBound:o[0],upperBound:o[1]})}return(s,o)=>(J(!0),ue(Be,null,Ue(s.filters,l=>{var c,u;return J(),ue("div",{key:l.id},[l.type==="search"?(J(),ke(ln,{key:0,id:l.id,class:"c-product-selector__form-item","additional-input-classes":`ga_filter_selector_${l.name}`,name:l.id,value:l.value,label:l.label,"sub-type":"text",button:"search",icon:"search",onButtonClicked:i},null,8,["id","additional-input-classes","name","value","label"])):pe("",!0),l.type==="multi-select"?(J(),ke(_O,{key:1,id:l.id,class:"c-product-selector__form-item",name:l.id,label:l.label,value:(c=l.values)==null?void 0:c.map(d=>({id:d.AttributeLabels,label:d.AttributeLabels,value:d.AttributeValues})),options:(u=l.AttributeProperties)==null?void 0:u.map(d=>({id:d.AttributeLabels,label:d.AttributeLabels,value:d.AttributeValues})),onChanged:r},null,8,["id","name","label","value","options"])):pe("",!0),l.type==="range"?(J(),ke(vD,{key:2,id:l.id,class:"c-product-selector__form-item",min:l.MinValidValue,max:l.MaxValidValue,step:l.Step,start:l.lowerBound,end:l.upperBound,unit:l.Unit,"min-label":l.MinPlaceholder,"max-label":l.MaxPlaceholder,label:l.label,"range-type":l.RangeType,onNewRange:d=>a(l.id,d)},null,8,["id","min","max","step","start","end","unit","min-label","max-label","label","range-type","onNewRange"])):pe("",!0)])}),128))}});const lu=ze(yD,[["__scopeId","data-v-899f4592"]]),bD={class:"c-product-selector__form-wrap"},_D={class:"c-product-selector__buttons"},wD={key:1,class:"c-product-selector__mobile-filter"},kD={class:"c-product-selector__form-wrap"},CD={class:"c-product-selector__buttons"},xD={class:"c-product-selector__tags"},SD=De({__name:"CeProductSelectorFilters",props:K$,emits:["filter-changed","filter-multi-select-changed","filter-reset","chosen-select-values","filter-range-changed"],setup(e,{emit:t}){const n=e,i=t,r=be(!0),a=be(!1),s=be(!n.maxFilters),o=Ze(),l=de(()=>{var I;return(I=o.site)!=null&&I.isHPM?"is-bg-pale-gray":"is-bg-gray"}),c=de(()=>{var I;return(I=o.site)!=null&&I.isHPM?"c-button--tertiary":"c-button--secondary"}),u=de(()=>{var I;return s.value?n.filters:(I=n.filters)==null?void 0:I.slice(0,n.maxFilters)}),d=de(()=>{var P;const I=[],F=[],k=[];return(P=n.filters)==null||P.forEach(C=>{if(C.value&&I.push(B(C,C.value,"")),(C==null?void 0:C.MinStartValue)!==(C==null?void 0:C.lowerBound)||(C==null?void 0:C.MaxStartValue)!==(C==null?void 0:C.upperBound)){const p=C.RangeType==="within"?`${C==null?void 0:C.lowerBound}${C==null?void 0:C.Unit} – ${C==null?void 0:C.upperBound}${C==null?void 0:C.Unit}`:`< ${C==null?void 0:C.lowerBound}${C==null?void 0:C.Unit} / > ${C==null?void 0:C.upperBound}${C==null?void 0:C.Unit}`;k.push(B(C,p,""))}C.values&&C.values.forEach(p=>{F.push(B(C,p.AttributeValues,p.AttributeLabels))}),i("chosen-select-values",F)}),[...I,...F,...k]}),m=de(()=>{var I,F;return`${(I=n.labels)==null?void 0:I.openFilters} ${(F=d.value)!=null&&F.length?`(${d.value.length})`:""}`}),v=de(()=>s.value?"chevron-up":"chevron-down"),h=de(()=>{var I,F;return s.value?(F=n.labels)==null?void 0:F.showLess:(I=n.labels)==null?void 0:I.showMore});ot(()=>{y(),window.addEventListener("resize",Mt.debounce(y,200),!0)}),yt(()=>{window.removeEventListener("resize",Mt.debounce(y,200),!0)});function f(I){i("filter-changed",I)}function w(I){i("filter-multi-select-changed",{id:I.id,values:JSON.parse(JSON.stringify(I.values))})}function _(I,F){i("filter-range-changed",{id:I,lowerBound:F[0],upperBound:F[1]})}function y(){r.value=Ia(window.innerWidth)}function x(){s.value=!s.value}function A(){a.value=!0}function E(){a.value=!1}function $(I){I.preventDefault(),i("filter-reset",I)}function B(I,F,k){return{name:Ny(`${I.name}-${F}`),type:I.type,id:I.id,value:F,label:`${I.label}: ${k||F}`,checked:!0}}function Q(I){var p,g;const F=I.target,k=F.dataset.type,P=F.value,C=F.dataset.id??"";if(k==="search"&&f({id:C,value:""}),k==="multi-select"){const D=(p=n.filters)==null?void 0:p.find(Z=>Z.id===C),R=((D==null?void 0:D.values)||[]).filter(Z=>Z.AttributeValues!==P).map(Z=>({id:Z.AttributeValues,label:Z.AttributeLabels}));w({id:C,values:R})}if(k==="range"){const D=(g=n.filters)==null?void 0:g.find(R=>R.id===C);_(C,[`${D==null?void 0:D.MinStartValue}`,`${D==null?void 0:D.MaxStartValue}`])}}return(I,F)=>{var k,P,C,p,g;return J(),ue("div",null,[r.value?(J(),ue("div",{key:0,class:Ne(["c-product-selector__form",l.value])},[he("div",bD,[ve(lu,{filters:u.value,onFilterChanged:F[0]||(F[0]=D=>{i("filter-changed",D)}),onFilterMultiSelectChanged:F[1]||(F[1]=D=>{i("filter-multi-select-changed",D)}),onFilterRangeChanged:F[2]||(F[2]=D=>{i("filter-range-changed",D)})},null,8,["filters"])]),he("div",_D,[I.maxFilters&&I.filters&&I.maxFilters<((k=I.filters)==null?void 0:k.length)?(J(),ke(Je,{key:0,class:"c-button c-button--small c-button--tertiary",label:h.value,icon:v.value,onClick:x},null,8,["label","icon"])):pe("",!0),ve(Je,{class:"c-product-selector__button-reset c-button c-button--small c-button--tertiary",label:(P=I.labels)==null?void 0:P.resetFilters,icon:"close-x",onClick:$},null,8,["label"])])],2)):pe("",!0),r.value?pe("",!0):(J(),ue("div",wD,[he("div",{class:Ne(["c-product-selector__form",l.value])},[ve(Je,{class:Ne(["c-product-selector__button-open-filter","c-button","c-button--small",c.value]),label:m.value,icon:"filter","icon-position-start":!0,onClick:tt(A,["prevent"])},null,8,["class","label"]),(C=we(o).site)!=null&&C.isHPM?(J(),ke(Je,{key:0,class:"c-product-selector__button-reset c-button c-button--small c-button--tertiary",label:(p=I.labels)==null?void 0:p.resetFilters,icon:"close-x",onClick:$},null,8,["label"])):pe("",!0)],2),ve(Ui,{"show-modal":a.value,headline:(g=I.labels)==null?void 0:g.filters,"show-close-button":!0,class:"c-modal__product-selector",onModalClose:E},{body:He(()=>{var D;return[he("div",{class:Ne(["c-product-selector__form",l.value])},[he("div",kD,[ve(lu,{filters:u.value,onFilterChanged:F[3]||(F[3]=R=>{i("filter-changed",R)}),onFilterMultiSelectChanged:F[4]||(F[4]=R=>{i("filter-multi-select-changed",R)}),onFilterRangeChanged:F[5]||(F[5]=R=>{i("filter-range-changed",R)})},null,8,["filters"])]),he("div",CD,[I.maxFilters&&I.filters&&I.maxFilters<((D=I.filters)==null?void 0:D.length)?(J(),ke(Je,{key:0,class:"c-button c-button--small c-button--tertiary",label:h.value,icon:v.value,onClick:x},null,8,["label","icon"])):pe("",!0)])],2)]}),footer:He(()=>{var D,R,Z;return[ve(Je,{class:"c-product-selector__button-reset c-button--secondary c-button--responsive",label:(D=I.labels)==null?void 0:D.resetFilters,disabled:I.appLoading,onClick:tt($,["prevent"])},null,8,["label","disabled"]),ve(Je,{class:"c-button--primary c-button--responsive",label:(Z=(R=I.labels)==null?void 0:R.showNumResults)==null?void 0:Z.replace("{num}",I.productsTotal),disabled:I.appLoading,onClick:tt(E,["prevent"])},null,8,["label","disabled"])]}),_:1},8,["show-modal","headline"])])),he("div",xD,[d.value?(J(),ke(In,{key:0,id:"activeFilters",scrollable:!0,options:d.value,onChanged:F[6]||(F[6]=D=>Q(D))},null,8,["options"])):pe("",!0)])])}}});const AD=ze(SD,[["__scopeId","data-v-300618d6"]]),ED={presets:Object,productsToCollectLength:Number,collectionLimitReached:Boolean,showCollectionCompare:Boolean,showCollectionRequestAQuote:Boolean,labels:Object},PD={class:"c-collection-menu"},TD={class:"c-collection-menu__buttons"},MD=De({__name:"CeProductSelectorCollectionMenu",props:ED,emits:["on-click-request-quote","on-click-compare"],setup(e,{emit:t}){const n=e,i=t,r=de(()=>n.productsToCollectLength?" ("+n.productsToCollectLength+")":""),a=de(()=>{var o;return((o=n.labels)==null?void 0:o.collectionButtonRequestAQuote)+r.value}),s=de(()=>{var o;return((o=n.labels)==null?void 0:o.collectionButtonCompare)+r.value});return(o,l)=>{var c;return J(),ue("div",PD,[he("div",TD,[o.showCollectionCompare?(J(),ke(Je,{key:0,class:"c-button c-button--small c-button--primary ga_ps_cta_compare",label:s.value,disabled:(o.productsToCollectLength??0)<2,icon:"chevron-right",onClick:l[0]||(l[0]=u=>i("on-click-compare"))},null,8,["label","disabled"])):pe("",!0),o.showCollectionRequestAQuote?(J(),ke(Je,{key:1,class:"c-button c-button--small c-button--primary ga_ps_cta_requestquote",label:a.value,disabled:o.productsToCollectLength===0,icon:"mailto",onClick:l[1]||(l[1]=u=>i("on-click-request-quote"))},null,8,["label","disabled"])):pe("",!0)]),o.collectionLimitReached?(J(),ke(Di,{key:0,class:"c-collection-menu__limit-info",text:(c=o.labels)==null?void 0:c.collectionLimitationInfo,type:"warning"},null,8,["text"])):pe("",!0)])}}});const cu=ze(MD,[["__scopeId","data-v-02ff1bb7"]]),LD={productsToCollect:Object,showCollectionCompare:Boolean,showCollectionRequestAQuote:Boolean,labels:Object,productsToCollectLimit:Number},$D=De({inheritAttrs:!1,__name:"CeProductSelectorCollection",props:LD,emits:["on-click-request-quote","on-click-compare"],setup(e,{emit:t}){const n=e,i=t,r=de(()=>{var a;return((a=n.productsToCollect)==null?void 0:a.length)>=n.productsToCollectLimit});return(a,s)=>{var o,l;return J(),ue(Be,null,[ve(cu,{labels:a.labels,"products-to-collect-length":(o=a.productsToCollect)==null?void 0:o.length,"collection-limit-reached":r.value,"show-collection-compare":a.showCollectionCompare,"show-collection-request-a-quote":a.showCollectionRequestAQuote,onOnClickRequestQuote:s[0]||(s[0]=c=>i("on-click-request-quote")),onOnClickCompare:s[1]||(s[1]=c=>i("on-click-compare"))},null,8,["labels","products-to-collect-length","collection-limit-reached","show-collection-compare","show-collection-request-a-quote"]),nt(a.$slots,"default"),ve(cu,{labels:a.labels,"products-to-collect-length":(l=a.productsToCollect)==null?void 0:l.length,"collection-limit-reached":r.value,"show-collection-compare":a.showCollectionCompare,"show-collection-request-a-quote":a.showCollectionRequestAQuote,onOnClickRequestQuote:s[2]||(s[2]=c=>i("on-click-request-quote")),onOnClickCompare:s[3]||(s[3]=c=>i("on-click-compare"))},null,8,["labels","products-to-collect-length","collection-limit-reached","show-collection-compare","show-collection-request-a-quote"])],64)}}}),OD={columns:Array,products:Array,uniqueAttribute:String,speakingUrl:String,productsFetched:Number,productsTotal:Number,appLoading:Boolean,urlPrefix:String,showCheckboxes:Boolean,labels:Object,productsToCollectLimit:Number},DD={key:0},ID={key:1,class:"th-inner"},RD={key:1,class:"th-inner"},BD=["data-index"],FD={key:0},ND={key:0,class:"c-table__td"},jD={key:1},HD={key:2},zD=["innerHTML"],VD=De({__name:"CeProductSelectorTable",props:OD,emits:["load-more","click-sort","collection-changed"],setup(e,{emit:t}){const n=t,i=it("pageUrl",""),r=e,a=Uo(),s=de(()=>{var _;return(_=r.columns)==null?void 0:_.filter(y=>y.__typename==="fieldcollection_ContentColumn"||y.__typename==="fieldcollection_ButtonColumn")}),o=de(()=>{var E,$;if(!s.value)return[];const _=((E=s.value)==null?void 0:E.map(B=>B.columnWidth||0))||[],y=_==null?void 0:_.reduce((B,Q)=>Q+B,0);if(y&&y>100)return _;const x=(100-y)/(($=s.value)==null?void 0:$.length);return _.map(B=>B+x)}),l=de(()=>{var _;return(_=r.products)==null?void 0:_.filter(y=>y.collect)}),c=be(Nt("c37-table"));ot(()=>{c.value=Nt("c37-table")});function u(_,y){var $;const x=($=s.value)==null?void 0:$[y],A=x!=null&&x.attribute&&x.attribute.length?x.attribute[0].columnattribute:"";return A&&r.uniqueAttribute&&A===r.uniqueAttribute?_[r.uniqueAttribute]:!1}function d(_,y){var $;let x=null;const A=($=s.value)==null?void 0:$[y],E=A!=null&&A.attribute&&A.attribute.length?A.attribute[0].columnattribute:A!=null&&A.linkTextAttribute&&(A.display==="cta"||A.display==="pdf")?A.linkTextAttribute:"";return E&&(x=_[E],x&&typeof x=="object"&&(x=x.toString().replace(/,/g,", "))),x}function m(_,y){var A;const x=(A=s.value)==null?void 0:A[y];return(x==null?void 0:x.display)==="pdf"?_[x.LinkAttribute]:""}function v(_,y){var A;const x=(A=s.value)==null?void 0:A[y];return(x==null?void 0:x.display)==="cta"?_[x.LinkAttribute]:""}function h(_){n("click-sort",_)}function f(_){return _===a.app.sortAttribute?a.app.sortOrder?"desc":"asc":""}function w(_){var y,x,A;return((y=l.value)==null?void 0:y.length)&&((x=l.value)==null?void 0:x.length)>=r.productsToCollectLimit&&((A=l.value)==null?void 0:A.findIndex(E=>E[r.uniqueAttribute]===_))===-1}return(_,y)=>{var x;return J(),ue("div",{key:c.value,class:"c-product-selector__results"},[(x=_.products)!=null&&x.length?(J(),ke(Ii,{key:0,class:"c-table--product-selector-results"},{default:He(()=>[he("table",null,[he("thead",null,[he("tr",null,[_.showCheckboxes?(J(),ue("th",DD)):pe("",!0),(J(!0),ue(Be,null,Ue(s.value,(A,E)=>(J(),ue("th",{key:A.columnHeader,style:kn(`width: ${o.value[E]}%`)},[A.__typename==="fieldcollection_ContentColumn"?(J(),ue(Be,{key:0},[A.isOrderable?(J(),ke(Je,{key:0,label:A.columnHeader,class:"c-button c-button--small c-button--sortable",onClick:$=>h(A.attribute[0].columnattribute)},{default:He(()=>[he("span",{class:Ne(["c-button--sortable__arrows",f(A.attribute[0].columnattribute)])},null,2)]),_:2},1032,["label","onClick"])):(J(),ue("div",ID,Oe(A.columnHeader),1))],64)):A.__typename==="fieldcollection_ButtonColumn"?(J(),ue("div",RD,Oe(A.columnHeader),1)):pe("",!0)],4))),128))])]),he("tbody",null,[(J(!0),ue(Be,null,Ue(_.products,(A,E)=>{var $;return J(),ue("tr",{key:A==null?void 0:A[_.uniqueAttribute],"data-index":E},[_.showCheckboxes?(J(),ue("td",FD,[ve(Yo,{id:A==null?void 0:A[_.uniqueAttribute],value:A==null?void 0:A[_.uniqueAttribute],checked:A==null?void 0:A.collect,label:($=_.labels)==null?void 0:$.collectionAdd,"label-sr-only":!0,disabled:!!w(A==null?void 0:A[_.uniqueAttribute]),onChanged:y[0]||(y[0]=B=>n("collection-changed",B))},null,8,["id","value","checked","label","disabled"])])):pe("",!0),(J(!0),ue(Be,null,Ue(s.value,(B,Q)=>(J(),ue(Be,{key:`${E}-${Q}`},[u(A,Q)?(J(),ue("td",ND,[ve(lt,{class:"c-link c-link--is-with-icon ga_product_link",label:u(A,Q),link:we(Zh)(A,_.urlPrefix,_.speakingUrl,we(i)),icon:"chevron-right"},null,8,["label","link"])])):m(A,Q)&&d(A,Q)?(J(),ue("td",jD,[ve(lt,{class:"c-link c-link--is-with-icon",link:m(A,Q),label:d(A,Q)?d(A,Q):"",icon:"download",download:""},null,8,["link","label"])])):v(A,Q)&&d(A,Q)?(J(),ue("td",HD,[ve(lt,{class:"c-product-selector-table__cta c-link--cta-primary c-link--cta-small",link:v(A,Q),label:d(A,Q)},null,8,["link","label"])])):(J(),ue("td",{key:3,class:"c-table__td",innerHTML:d(A,Q)},null,8,zD))],64))),128))],8,BD)}),128))])])]),_:1})):pe("",!0)])}}});const uu=ze(VD,[["__scopeId","data-v-38d024d7"]]),WD={products:Array,productsTotal:Number,uniqueAttribute:String,speakingUrl:String,urlPrefix:String},UD={class:"c-product-selector__cards","data-cy":"product-cards-grid"},GD=De({__name:"CeProductSelectorCards",props:WD,setup(e){const t=e,n=it("baseUrl",""),i=it("pageUrl","");function r(a){return{href:Zh(a,t.urlPrefix,t.speakingUrl,i)}}return(a,s)=>(J(),ue("div",UD,[(J(!0),ue(Be,null,Ue(a.products,(o,l)=>(J(),ke(qi,{key:o.id,link:r(o),"product-headline":o==null?void 0:o.cardHeadline,"product-description":o==null?void 0:o.cardIntrotext,"sub-headline":o==null?void 0:o.cardSubheadline,"product-image":`${we(n)}${o==null?void 0:o.cardImage}`,class:Ne("c-product-selector-card"),"data-cy":"product-card-"+l},null,8,["link","product-headline","product-description","sub-headline","product-image","data-cy"]))),128))]))}});const qD=ze(GD,[["__scopeId","data-v-56793c07"]]),YD={columns:Array,products:Array||Array,uniqueAttribute:String,speakingUrl:String,productsFetched:Number,productsTotal:Number,appLoading:Boolean,requestQuote:Object,urlPrefix:String,showCollectionCompare:Boolean,showCollectionRequestAQuote:Boolean,labels:Object,productsToCollectLimit:Number,typeOfView:String},XD={class:"c-product-selector__results"},QD={class:"c-product-selector__results-total"},KD={key:0,class:"is-typo-h2"},ZD={class:"c-product-selector__button-load-more-wrap"},JD=De({__name:"CeProductSelectorResult",props:YD,emits:["load-more","click-sort","collection-changed","on-click-request-quote","on-click-compare"],setup(e,{emit:t}){const n=t,i=e,r=de(()=>i.productsTotal>i.productsFetched),a=de(()=>{var o;return(o=i.products)==null?void 0:o.filter(l=>l.collect)}),s=be(!1);return(o,l)=>{var c,u,d,m,v;return J(),ue("div",XD,[he("div",QD,[o.productsTotal??0>0?(J(),ue("p",KD,Oe(o.productsTotal)+" "+Oe((c=o.labels)==null?void 0:c.results),1)):pe("",!0)]),(u=o.products)!=null&&u.length&&o.typeOfView!=="card"?(J(),ue(Be,{key:0},[s.value||o.showCollectionRequestAQuote?(J(),ke($D,{key:0,"products-to-collect":a.value,labels:o.labels,"show-collection-compare":o.showCollectionCompare,"show-collection-request-a-quote":o.showCollectionRequestAQuote,"products-to-collect-limit":o.productsToCollectLimit,onOnClickRequestQuote:l[2]||(l[2]=h=>n("on-click-request-quote")),onOnClickCompare:l[3]||(l[3]=h=>n("on-click-compare"))},{default:He(()=>[ve(uu,{columns:o.columns,products:o.products,labels:o.labels,"unique-attribute":o.uniqueAttribute,"speaking-url":o.speakingUrl,"url-prefix":o.urlPrefix,"show-checkboxes":!0,"products-to-collect-limit":o.productsToCollectLimit,onClickSort:l[0]||(l[0]=h=>n("click-sort",h)),onCollectionChanged:l[1]||(l[1]=h=>n("collection-changed",h))},null,8,["columns","products","labels","unique-attribute","speaking-url","url-prefix","products-to-collect-limit"])]),_:1},8,["products-to-collect","labels","show-collection-compare","show-collection-request-a-quote","products-to-collect-limit"])):(J(),ke(uu,{key:1,columns:o.columns,products:o.products,labels:o.labels,"unique-attribute":o.uniqueAttribute,"speaking-url":o.speakingUrl,"url-prefix":o.urlPrefix,"show-checkboxes":!1,onClickSort:l[4]||(l[4]=h=>n("click-sort",h))},null,8,["columns","products","labels","unique-attribute","speaking-url","url-prefix"]))],64)):pe("",!0),(d=o.products)!=null&&d.length&&o.typeOfView==="card"?(J(),ke(qD,{key:1,products:o.products,"unique-attribute":o.uniqueAttribute,"speaking-url":o.speakingUrl,"url-prefix":o.urlPrefix},null,8,["products","unique-attribute","speaking-url","url-prefix"])):pe("",!0),he("div",ZD,[r.value?(J(),ke(Je,{key:0,disabled:o.appLoading,class:"c-button c-button--tertiary c-button--small",label:`${(m=o.labels)==null?void 0:m.loadMore} ${o.appLoading?"("+((v=o.labels)==null?void 0:v.loading)+")":""}`,onClick:l[5]||(l[5]=h=>n("load-more"))},null,8,["disabled","label"])):pe("",!0)])])}}});const eI=ze(JD,[["__scopeId","data-v-9343dd24"]]),tI={comparisonData:Object,comparisonLabels:Array,dataBaseName:String,uniqueAttributeName:String},nI={class:"c-product-selector__comparison-table"},iI=["colspan"],rI=["innerHTML"],aI=De({__name:"CeProductSelectorComparisonTable",props:tI,setup(e){const t=Ze(),n=e,i=be([]),r=de(()=>Object.values(n.comparisonData??{}).filter(f=>!i.value.includes(f.id))),a=de(()=>r.value.length>2),s=de(()=>r.value.map(f=>({id:f==null?void 0:f.id,[`${n.uniqueAttributeName}`]:f[`${n.uniqueAttributeName}`]}))),o=de(()=>{var f;return(f=n.comparisonLabels)==null?void 0:f.filter(w=>w.label!=="").map(({label:w,attribute:_})=>{var y;return _===""?[w]:[w].concat((y=r.value)==null?void 0:y.map(x=>Array.isArray(x==null?void 0:x[_])?x[_].join(", "):x[_]??"-"))})});function l(f,w){return Array.isArray(f)&&Array.isArray(w)?c(f,w).length===0&&c(w,f).length===0:f===w}function c(f,w){return f.filter(_=>!w.includes(_))}function u(f){const w=f[1];return!f.slice(2).reduce((y,x)=>y&&l(w,x),!0)}function d(f){return u(f)&&!h(f)?"row--highlighted-comparison":""}function m(f){return u(f)?"th--highlighted-comparison":""}function v(f){i.value.includes(f)||i.value.push(f)}function h(f){return f.length<2}return(f,w)=>(J(),ue("div",nI,[ve(Ii,null,{default:He(()=>[he("table",null,[he("thead",null,[he("tr",null,[he("th",null,Oe(f.dataBaseName),1),(J(!0),ue(Be,null,Ue(s.value,(_,y)=>{var x,A;return J(),ue("th",{key:`tableHeads-${y}`},[he("span",{class:Ne([{"is-bg-primary-deep":!((A=(x=we(t))==null?void 0:x.site)!=null&&A.isHPM)},"c-product-selector__comparison-table-button-container"])},[he("span",null,Oe(_[`${n.uniqueAttributeName}`]),1),a.value?(J(),ke(Je,{key:0,icon:"close-x","icon-size":24,class:"c-product-selector__comparison-table-button c-button--tertiary c-button--simple c-button--small",onClick:()=>v(_.id)},null,8,["onClick"])):pe("",!0)],2)])}),128))])]),he("tbody",null,[(J(!0),ue(Be,null,Ue(o.value,(_,y)=>(J(),ue("tr",{key:`tableRows-${y}`,class:Ne(d(_))},[h(_)?(J(!0),ue(Be,{key:0},Ue(_,(x,A)=>(J(),ue("th",{key:`tableRows-${y}-${A}`,colspan:s.value.length+1,class:"c-table__thead--section"},Oe(x),9,iI))),128)):(J(!0),ue(Be,{key:1},Ue(_,(x,A)=>(J(),ue(Be,{key:`tableRows-${y}-${A}`},[A===0?(J(),ue("th",{key:0,class:Ne(m(_))},[he("div",null,[u(_)?(J(),ke(pt,{key:0,class:"c-product-selector__comparison-table-icon--highlight",variant:"warning",size:32})):pe("",!0),he("p",null,Oe(x),1)])],2)):(J(),ue("td",{key:1,innerHTML:x},null,8,rI))],64))),128))],2))),128))])])]),_:1})]))}});const sI=ze(aI,[["__scopeId","data-v-d5bc122b"]]),oI={class:"c-product-selector"},lI={key:1,class:"c-product-selector__error-wrapper"},cI=De({__name:"C37ProductSelector",props:X$,emits:["load-more","click-sort","filter-changed","filter-multi-select-changed","filter-reset","collection-changed","on-click-request-quote","chosen-select-values","on-click-compare","on-compare-modal-close","filter-range-changed"],setup(e,{emit:t}){const n=e,i=t,r=de(()=>{var a;return!!((a=n.noResult)!=null&&a["@nodes"].length)&&n.productsTotal===0||n.isEditMode});return(a,s)=>(J(),ke(ut,null,{default:He(()=>{var o,l,c,u,d;return[he("div",oI,[ve(Zt,{header:a.header},null,8,["header"]),a.error?(J(),ue("div",lI,[ve(Di,{text:(c=a.labels)==null?void 0:c.error},null,8,["text"])])):(J(),ue(Be,{key:0},[a.showFilters?(J(),ke(AD,{key:0,filters:a.filters,"max-filters":a.maxFilters,labels:a.labels,"app-loading":a.appLoading,"products-total":a.productsTotal,onFilterReset:s[0]||(s[0]=m=>{i("filter-reset",m)}),onFilterChanged:s[1]||(s[1]=m=>{i("filter-changed",m)}),onFilterMultiSelectChanged:s[2]||(s[2]=m=>{i("filter-multi-select-changed",m)}),onFilterRangeChanged:s[3]||(s[3]=m=>{i("filter-range-changed",m)}),onChosenSelectValues:s[4]||(s[4]=m=>{i("chosen-select-values",m)})},null,8,["filters","max-filters","labels","app-loading","products-total"])):pe("",!0),nt(a.$slots,"mgnl-editable",{},()=>[r.value?(J(),ke(we(jt),{key:0,content:a.noResult,class:"c-product-selector__no-result-area"},null,8,["content"])):pe("",!0)],!0),a.productsTotal===0&&((o=a.labels)!=null&&o.noResults)&&!r.value?(J(),ke(Di,{key:1,class:"c-product-selector_alert",text:(l=a.labels)==null?void 0:l.noResults,type:"warning"},null,8,["text"])):(J(),ke(eI,{key:2,columns:a.columns,products:a.products,labels:a.labels,"products-fetched":a.productsFetched,"products-total":a.productsTotal,"speaking-url":a.speakingUrl,"unique-attribute":a.uniqueAttribute,"app-loading":a.appLoading,"url-prefix":a.urlPrefix,"request-quote":a.requestQuote,"show-collection-compare":a.showCollectionCompare,"show-collection-request-a-quote":a.showCollectionRequestAQuote,"products-to-collect-limit":a.productsToCollectLimit,"type-of-view":a.typeOfView,onLoadMore:s[5]||(s[5]=m=>i("load-more")),onClickSort:s[6]||(s[6]=m=>i("click-sort",m)),onCollectionChanged:s[7]||(s[7]=m=>i("collection-changed",m)),onOnClickRequestQuote:s[8]||(s[8]=m=>i("on-click-request-quote")),onOnClickCompare:s[9]||(s[9]=m=>i("on-click-compare"))},null,8,["columns","products","labels","products-fetched","products-total","speaking-url","unique-attribute","app-loading","url-prefix","request-quote","show-collection-compare","show-collection-request-a-quote","products-to-collect-limit","type-of-view"]))],64))]),ve(Ui,{class:"c-product-selector__compare-modal c-modal--max-width-content","show-modal":(u=a.comparisonData)==null?void 0:u.showModal,headline:(d=a.comparisonData)==null?void 0:d.modalHeadline,"show-close-button":!0,onModalClose:s[10]||(s[10]=m=>i("on-compare-modal-close"))},{body:He(()=>{var m,v,h,f;return[ve(sI,{"comparison-data":(m=a.comparisonData)==null?void 0:m.comparisonData,"data-base-name":(v=a.comparisonData)==null?void 0:v.dataBaseName,"comparison-labels":(h=a.comparisonData)==null?void 0:h.comparisonLabels,"unique-attribute-name":(f=a.comparisonData)==null?void 0:f.uniqueAttributeName},null,8,["comparison-data","data-base-name","comparison-labels","unique-attribute-name"])]}),_:1},8,["show-modal","headline"])]}),_:3}))}});const uI=ze(cI,[["__scopeId","data-v-2d54f185"]]),dI=function(e,t){return`
    {
      getProductCategory(id: ${e}, defaultLanguage: "${t}") {
        typeOfView
        maxFilters
        maxResults
        speakingURL
        FilterPageTitle
        cardHeadlineBehaviour
        ExternalFilterFields {
          __typename
          ... on fieldcollection_Search {
            FilterLabel
            AttributeName
            ExplanationLink
          }
          ... on fieldcollection_CheckboxFilter {
            FilterLabel
            AttributeName
            AttributeProperties {
              AttributeLabels
              AttributeValues
            }
            ExplanationLink
          }
          ... on fieldcollection_RangeSlider {
            FilterLabel
            MinPlaceholder
            MaxPlaceholder
            Unit
            MinAttributeName
            MaxAttributeName
            Step
            MinStartValue
            MaxStartValue
            MinValidValue
            MaxValidValue
            RangeType
            ExplanationLink
          }
          ... on fieldcollection_DropdownFilter {
            FilterLabel
            AttributeName
            AttributeProperties {
              AttributeLabels
              AttributeValues
            }
            ExplanationLink
          }
          ... on fieldcollection_SearchableDropdownFilter {
            FilterLabel
            AttributeName
            AttributeProperties {
              AttributeLabels
              AttributeValues
            }
            ExplanationLink
            Logic
            multiple
          }
          ... on fieldcollection_DependentDropdownFilter {
            FilterLabel
            AttributeName
            ExplanationLink
            Logic
            multiple
          }
        }
        key
        initialSortByExternal
        initialSortOrderExternal
        ExternalResultColumns {
          __typename
          ...on fieldcollection_ContentColumn {
            columnHeader
            columnWidth
            attribute {
              columnattribute
              attributeisfieldcollection
              fieldcollectionname
              attributefromfieldcollection
              attributeisrelation
              attributefromrelation
              classnamerelation
            }
            isOrderable
            webworldContactForm
            columnWidth
          }
          ... on fieldcollection_ButtonColumn {
            display
            columnHeader
            columnWidth
            LinkAttribute
            linkTextAttribute
            display
            staticText
            staticURL
            target
          }
          ... on fieldcollection_ImageColumn {
            columnHeader
            columnWidth
            ImageAttribute
          }
          ... on fieldcollection_PageLink {
            URLAttribute
            linkDescriptionAttribute
            linkTextAttribute
            target
          }
        }
        UniqueAttributeLabel
        UniqueAttributeNameExternal
        comparisonEntriesExternal {
          label
          attribute
        }
        AttributesToCompareGraphicalExternal {
          __typename
          ... on fieldcollection_TableGraphicalCompare {
            TableLabel
            Table {
              attribute
              attributeisrelation
              objectname
              attributeisfieldcollection
              fieldcollectionname
              subattribute
            }
            xAxisColumn
            xAxisLabel
            xAxisScale
            yAxisColumns {
              label
              column
            }
            yAxisScale
            identifierLabel
            identifierAttribute {
              attribute
              attributeisrelation
              objectname
              attributeisfieldcollection
              fieldcollectionname
              subattribute
            }
          }
        }
      }
    }
  `},hI=dI,fI=function(e){const t={search:"",range:"",select:""};e.filters.filter(r=>r.type==="search").forEach(r=>{r.value&&(t.search+=`, { \\"${r.name}\\": { \\"$like\\": \\"%${r.value}%\\" } }`)}),e.filters.filter(r=>r.type==="range").forEach(r=>{r.lowerBound!=null&&r.upperBound!=null&&(r.RangeType==="within"?(t.range+=`, { \\"${r.MinAttributeName}\\": { \\"$gte\\": \\"${r.lowerBound}\\" } }`,t.range+=`, { \\"${r.MaxAttributeName}\\": { \\"$lte\\": \\"${r.upperBound}\\" } }`):r.RangeType==="outside"&&(t.range+=`, { \\"${r.MaxAttributeName}\\": { \\"$gte\\": \\"${r.upperBound}\\" } }`,t.range+=`, { \\"${r.MinAttributeName}\\": { \\"$lte\\": \\"${r.lowerBound}\\" } }`))});const n=e.filters.filter(r=>r.type==="select"||r.type==="multi-select"||r.type==="searchable-multi-select"||r.type==="dependent-multi-select");if(n.length>0){n.forEach(s=>{s.values&&(s.values.length||s.values.AttributeValues)&&t.select===""&&(t.select=', { \\"$and\\": [')});let r=0,a;n.forEach(s=>{if(a=s.Logic?s.Logic:"or",s.values&&s.values.length>0){if(r!==0&&(t.select+=", "),t.select+=`{ \\"$${a}\\": [`,a==="and")for(let o=0;o<s.values.length;o++)o!==0&&(t.select+=","),t.select+=`{ \\"$or\\": [{ \\"${s.name}\\": { \\"$like\\": \\"${s.values[o].AttributeValues}\\" }}, { \\"${s.name}\\": { \\"$like\\": \\"%,${s.values[o].AttributeValues},%\\" }} ] }`;else for(let o=0;o<s.values.length;o++)o!==0&&(t.select+=","),t.select+=`{ \\"${s.name}\\": { \\"$like\\": \\"${s.values[o].AttributeValues}\\" }}, { \\"${s.name}\\": { \\"$like\\": \\"%,${s.values[o].AttributeValues},%\\" }}`;t.select+="] }",r+=1}else s.values&&s.values.AttributeValues&&(r!==0&&(t.select+=', { \\"$or\\": ['),t.select+=`{ \\"$or\\": [{ \\"${s.name}\\": { \\"$like\\": \\"${s.values.AttributeValues}\\" }}, { \\"${s.name}\\": { \\"$like\\": \\"%,${s.values.AttributeValues},%\\" }}] }`,r!==0&&(t.select+="] }"),r+=1)})}t.select!==""&&(t.select+="] }");const i=!(t.search===""&&t.range===""&&t.select==="");return e.modifiedFilters=i,t},pI=function(e){let t="";return e.sortAttribute!==null&&(t+=`sortBy: "${e.sortAttribute}", sortOrder: "${e.sortOrder?"DESC":"ASC"}",`),t},mI=function(e,t){const{loadMore:n}=e,i=t.category.maxResults,r=i?`first:${i}`:"",a=i&&n?`after:${t.productsFetched}`:"";return`${r} ${a}`},gI=function(e){const t={};return t.content=e.filter(n=>n.__typename==="fieldcollection_ContentColumn").map(n=>`${n.attribute[0].columnattribute}`).join(`
`),t.image=e.filter(n=>n.__typename==="fieldcollection_ImageColumn").map(n=>`${n.ImageAttribute}`).join(`
`),t.button=e.filter(n=>n.__typename==="fieldcollection_ButtonColumn").map(n=>`${n.LinkAttribute} 
 ${n.linkTextAttribute?n.linkTextAttribute:""}`).join(`
`),t.pageLink=e.filter(n=>n.__typename==="fieldcollection_PageLink").map(n=>`${n.linkTextAttribute} 
 ${n.URLAttribute}`).join(`
`),t},vI=function(e,t,n){var c,u;const i=mI(e,t),r=fI(t),a=pI(t.app),s=gI(t.resultColumns),o=((c=t.category)==null?void 0:c.typeOfView)==="table"?`
      ${s.content}
      ${s.image}
      ${s.button}
      ${s.pageLink}
      `:"",l=((u=t.category)==null?void 0:u.typeOfView)==="card"?`
      uniqueID
      cardImage
      cardHeadline
      cardSubheadline
      cardIntrotext
      `:"";return`{
    get${t.category.key}Listing(${i}
      defaultLanguage: "${n}",
      ${a}
      filter: "{\\"$and\\": [ {\\"${t.category.speakingURL}\\": {\\"$not\\" :\\"null\\"}} ${r.search} ${r.select} ${r.range} ] }") {
      totalCount
      edges {
          node {
            id
            ${t.category.speakingURL}
            ${o}
            ${l}
          }
          cursor
        }
      }
    }`},yI=vI,bI=function(e){return e.filter(t=>t.attribute.length).map(t=>t.attribute).join(`
`)},_I=function(e){const t=bI(e.comparisonEntries),n=e.products.filter(r=>r.collect);let i="";return n.forEach((r,a)=>{i+=wI(e,r,a,t)}),`{
    ${i}
  }`};function wI(e,t,n,i){return`
    product${n}: get${e.category.key}(id: ${t.id}, defaultLanguage: "${e.app.language}") {
      id
      ${e.category.UniqueAttributeNameExternal}
      ${i}
    }
  `}const kI=_I;function CI(e,t){var n,i,r,a,s,o,l,c,u;return{presets:{showFilters:e.showFilters,showInitialResults:e.showInitialResults,searchParams:e.presetSearchParams},productCategoryId:e.productCategory,apiPath:(n=e.pimConfig)==null?void 0:n.path,apiKey:(i=e.pimConfig)==null?void 0:i.apiKey,language:t,labels:{openFilters:(r=e.labels)==null?void 0:r.filterButton,error:(a=e.labels)==null?void 0:a.error,filters:(s=e.labels)==null?void 0:s.filterHeadline,resetFilters:(o=e.labels)==null?void 0:o.filterReset,loadMore:(l=e.labels)==null?void 0:l.loadMore,noResults:(c=e.labels)==null?void 0:c.noResults,requestQuote:(u=e.labels)==null?void 0:u.requestQuote}}}const du=function(e,t){if(!$r()||!e)return;const n={event:"HeraeusBasic_VirtualPageview",virtualPagePath:t?ga("detail",t):ga()};tn("log","LOGGER: dataLayerPush.ts => dataLayerPushPageView: ",{...e,...n}),dataLayer.push({...e,...n})},xI=function(e,t,n){if(t.type!=="search")return;const i=Tf(t);if(!$r()||!e||!i.value)return;const r={event:"HeraeusProductSelector_SearchResultView",virtualPagePath:ga("search"),search:{noOfSearchResults:n}};tn("log","LOGGER: dataLayerPush.ts => dataLayerPushSearchResultView: ",{...e,...r}),dataLayer.push({...e,...r})},SI=function(e,t){if(!$r()||!e)return;const n=Tf(t),i={event:"HeraeusProductSelector_FilterSelection",productSelector:{filterElementIdentifier:t.label,filterElementType:n.niceTypeName,filterElementValue:n.value.replace(/<\/?[^>]+(>|$)/g,"")},virtualPagePath:ga()};tn("log","LOGGER: dataLayerPush.ts => HeraeusProductSelector_FilterSelection: ",{...e,...i}),dataLayer.push({...e,...i})},AI=function(e){let t;return e&&e.map?t=e.map(n=>n.AttributeLabels):(t=[],e&&t.push(e)),t.join(",")},$r=function(){return typeof dataLayer<"u"&&typeof dataLayer.push<"u"},ga=function(e,t){const n=window.location.pathname.split("/");return e==="detail"?`${window.location.host}${n.splice(0,n.length-2).join("/")}/productDetail/${t}`:e==="search"?`${window.location.host}${n.splice(0,n.length-1).join("/")}/searchResults`:`${window.location.host}${window.location.pathname}`},Tf=function(e){let t,n;switch(e.type){case"multi-select":case"dependent-multi-select":case"searchable-multi-select":t=AI(e.values),n="Multi-Selector";break;case"range":t=`${e.lowerBound} - ${e.upperBound}`,n="Range Slider";break;case"search":t=e.value,n="Search Field";break;default:t=e.value,n=e.type}return{niceTypeName:n,value:t}},ps=function(e,t,n){if(!$r()||!t.value)return;const i={event:"HeraeusPMPrices_FilterSelection",pmprices:{filterElementIdentifier:t.name,filterElementType:n,filterElementValue:t.value}};dataLayer.push({...e,...i})},Ci=function(e,t,n){if(!$r()||!n)return;const i={event:"click_chart_filter",[t]:n};dataLayer.push({...e,...i})},EI=De({__name:"C37ProductSelectorWrap",props:{header:{},productCategory:{},showFilters:{type:Boolean},maxFilters:{},presetSearchParams:{},showInitialResults:{type:Boolean},showCompare:{type:Boolean},pimConfig:{},requestQuote:{},urlPrefix:{},labels:{},gaTrackingMetaInformation:{},comparisonData:{},showModal:{type:Boolean},noResult:{},typeOfView:{}},async setup(e){var U,ie,N,K,b;let t,n;const i=e,r=be(!1),a=be(4),s=Ze(),o=Uo(),{label:l}=mt(s),c=Gt(),u=Bi(),d=be(!1),m=be(c.public.pimcoreApi),v=it("isEditMode",!1),h=Py(),f=window.location.host,w=f!=null&&f.includes("localhost")?"http:":"https:",_=be(Vy(w,(h==null?void 0:h.host)??"",((ie=(U=u.currentRoute)==null?void 0:U.value)==null?void 0:ie.path)??""));Ht("baseUrl",m),tn("log","LOGGER: [C37ProductSelectorWrap.vue] => PIM baseURL: ",m.value),Ht("pageUrl",_.value),tn("log","LOGGER: [C37ProductSelectorWrap.vue] => PIM pageURL: ",_.value);const y=de(()=>CI(i,s.currentLanguage)),x=`${c.public.pimcoreApi}${y.value.apiPath}?apikey=${y.value.apiKey}`,A=de(()=>{var z,Y,W,j,ne,se;return{resetFilters:((z=y.value.labels)==null?void 0:z.resetFilters)??l.value("global.resetFilters"),results:l.value("global.results"),loadMore:((Y=y.value.labels)==null?void 0:Y.loadMore)??l.value("global.loadMore"),openFilters:((W=y.value.labels)==null?void 0:W.openFilters)??l.value("global.openFilters"),filters:((j=y.value.labels)==null?void 0:j.filters)??l.value("global.filters"),error:((ne=y.value.labels)==null?void 0:ne.error)??l.value("global.error"),noResults:((se=y.value.labels)==null?void 0:se.noResults)??l.value("global.noResults"),showMore:l.value("global.showMore"),showLess:l.value("global.showLess"),showNumResults:l.value("global.showNumResults"),loading:l.value("ps.loading"),collectionButtonRequestAQuote:l.value("ps.collectionButtonRequestAQuote"),collectionButtonCompare:l.value("ps.collectionButtonCompare"),collectionLimitationInfo:l.value("ps.collectionLimitationInfo"),collectionAdd:l.value("ps.collectionAdd"),compareModalHeadline:l.value("ps.compareModalHeadline")}}),E=de(()=>o.products),$=de(()=>{var z;return(z=E.value)==null?void 0:z.filter(Y=>Y.collect)}),B=de(()=>k==null?void 0:k.ExternalResultColumns),Q=de(()=>[...o.filters]);tn("log","LOGGER: [C37ProductSelectorWrap.vue] => filters: ",Q.value),o.setDataLayerContent(i.gaTrackingMetaInformation),ot(()=>{setTimeout(()=>{window.dataLayer&&o.dataLayerContent&&du(o.dataLayerContent)})});const{data:I,error:F}=([t,n]=Vt(()=>En("category",()=>{var z;return Ya({url:x,query:hI((z=y.value)==null?void 0:z.productCategoryId,Zl(s.currentLanguage))})})),t=await t,n(),t);(F.value||!((N=I.value)!=null&&N.getProductCategory))&&(r.value=!0);const k=(K=I.value)==null?void 0:K.getProductCategory;tn("log","LOGGER: [C37ProductSelectorWrap.vue] => getProductCategory: ",k),o.setProp("app",y.value),o.setProp("category",k),o.setResultColumns(k==null?void 0:k.ExternalResultColumns),o.setSortAttributes({sortAttribute:k==null?void 0:k.initialSortByExternal,sortOrder:k==null?void 0:k.initialSortOrderExternal}),o.setComparisonEntries(k==null?void 0:k.comparisonEntriesExternal),o.setInitialUrlParams(o.app.presets.searchParams,s.currentQuery),k!=null&&k.ExternalFilterFields&&(o.setInitialFilters(JSON.parse(JSON.stringify(k==null?void 0:k.ExternalFilterFields))),o.setFilterValuesFromUrlParams(JSON.parse(JSON.stringify(o.initialFilters))),o.setFilters(JSON.parse(JSON.stringify(o.initialFiltersFromUrlParams))));const P=be(o.chosenSelectValues);Qe(()=>o.chosenSelectValues,()=>{var z;d.value=o.chosenSelectValues.length>((z=P.value)==null?void 0:z.length),P.value=o.chosenSelectValues});const C=de(()=>({loadMore:o.listingConfig.loadMore,sort:o.listingConfig.sort,considerProductsFetched:o.listingConfig.considerProductsFetched})),{data:p,error:g}=([t,n]=Vt(()=>En("products",()=>Ya({url:x,query:yI(C.value,o,Zl(s.currentLanguage))}),{watch:[C,o.filters,o.app],transform:z=>{var W,j;const Y=z==null?void 0:z[`get${k==null?void 0:k.key}Listing`];return Y?(o.setProducts(Y),o.setProductsFetched({loadMore:!1,fetched:(W=o.products)==null?void 0:W.length}),o.setProductsTotal(Y==null?void 0:Y.totalCount),o.setAppLoading(!1),o.dataLayerContent&&(du(o.dataLayerContent),o.currentFilter&&xI(o.dataLayerContent,o.currentFilter,o.productsTotal),(d.value&&!o.listingConfig.loadMore&&o.currentFilter||((j=o.currentFilter)==null?void 0:j.type)==="range")&&SI(o.dataLayerContent,o.currentFilter)),z):(r.value=!0,!1)}})),t=await t,n(),t);tn("log",`LOGGER: [C37ProductSelectorWrap.vue] => get${k==null?void 0:k.key}Listing: `,(b=p.value)==null?void 0:b[`get${k==null?void 0:k.key}Listing`]),g.value&&(r.value=!0);function D(z){const Y=o.filters.map(W=>{var j;return W.id===z.id&&(W.value=(j=z.value)==null?void 0:j.trim(),o.setProp("currentFilter",W)),W});G(Y)}function R(z){const Y=o.filters.map(W=>{var j;return W.id===z.id&&(W.values=(j=z.values)==null?void 0:j.map(ne=>({AttributeLabels:ne.id,AttributeValues:ne.value})),o.setProp("currentFilter",W)),W});G(Y)}function Z(z){const Y=o.filters.map(W=>(W.id===z.id&&(W.upperBound=Number(z.upperBound),W.lowerBound=Number(z.lowerBound),W.interacted=!0,o.setProp("currentFilter",W)),W));G(Y)}function G(z){o.setListingConfig({loadMore:!1,considerProductsFetched:!1}),o.setFilters([...z]),Wc(o.filters,!0,u)}function V(){o.setAppLoading(!0),o.setListingConfig({loadMore:!0,considerProductsFetched:!0})}function X(){o.setSortAttributes({sortAttribute:k==null?void 0:k.initialSortByExternal,sortOrder:k==null?void 0:k.initialSortOrderExternal}),o.setListingConfig({loadMore:!1,considerProductsFetched:!1}),o.setFilters(JSON.parse(JSON.stringify(o.initialFiltersFromUrlParams))),Wc(o.initialFiltersFromUrlParams,!0,u)}function ee(z){o.sort(z)}function S(z){o.setCollectionProduct(z)}function O(){var re;const{paramProducts:z,paramProductSelector:Y,link:W}=i.requestQuote,j=B.value.filter(te=>te.webworldContactForm).map(te=>te.attribute[0].columnattribute);if(!j.length)return;const ne=(re=$.value)==null?void 0:re.map(te=>j.map(ae=>te[ae]).join(" | ")).join(", "),se=new URLSearchParams;se.append(z,ne),se.append(Y,window.location.href);const ce=W.anchor?`${W.anchor.charAt(0)!=="#"?"#":""}${W.anchor}`:"",oe=W.clientPageLink+"?"+se.toString()+ce;(W==null?void 0:W.target)==="_self"?window.location.href=oe:window.open(oe,"_blank")}function M(z){o.setProp("chosenSelectValues",z)}const{data:H,error:q}=([t,n]=Vt(()=>En("comparison_table",()=>Ya({url:x,query:kI(o)}),{watch:[o],transform:z=>{var Y;if(z)return{modalHeadline:(Y=A.value)==null?void 0:Y.compareModalHeadline,comparisonData:z,dataBaseName:k==null?void 0:k.FilterPageTitle,comparisonLabels:k==null?void 0:k.comparisonEntriesExternal,uniqueAttributeName:k==null?void 0:k.UniqueAttributeNameExternal,showModal:!1}}})),t=await t,n(),t);q.value&&(r.value=!0);function T(){H.value&&(H.value={...H.value,showModal:!0})}function L(){H.value&&(H.value={...H.value,showModal:!1})}return(z,Y)=>{var W,j,ne,se,ce;return J(),ke(uI,{error:r.value,labels:A.value,header:z.header,columns:B.value,products:E.value,"request-quote":z.requestQuote,"products-fetched":we(o).productsFetched,"products-total":we(o).productsTotal,filters:Q.value,"url-prefix":z.urlPrefix,"app-loading":we(o).appLoading,"show-filters":we(o).app.presets.showFilters,"max-filters":(W=we(k))==null?void 0:W.maxFilters,"speaking-url":(j=we(k))==null?void 0:j.speakingURL,"unique-attribute":(ne=we(k))==null?void 0:ne.UniqueAttributeNameExternal,"show-collection-compare":z.showCompare,"show-collection-request-a-quote":(se=z.requestQuote)==null?void 0:se.showOnOverview,"products-to-collect-limit":a.value,"comparison-data":we(H),"no-result":z.noResult,"is-edit-mode":we(v),"type-of-view":(ce=we(o).category)==null?void 0:ce.typeOfView,onLoadMore:V,onFilterChanged:D,onFilterMultiSelectChanged:R,onFilterRangeChanged:Z,onFilterReset:X,onClickSort:ee,onCollectionChanged:S,onOnClickRequestQuote:O,onChosenSelectValues:M,onOnClickCompare:T,onOnCompareModalClose:L},null,8,["error","labels","header","columns","products","request-quote","products-fetched","products-total","filters","url-prefix","app-loading","show-filters","max-filters","speaking-url","unique-attribute","show-collection-compare","show-collection-request-a-quote","products-to-collect-limit","comparison-data","no-result","is-edit-mode","type-of-view"])}}}),PI={"@id":String,successPage:String,formAction:String},TI="https://webto.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8",MI=["Afghanistan","Aland Islands","Albania","Algeria","Andorra","Angola","Anguilla","Antartica","Antigua and Barbuda","Argentina","Armenia","Aruba","Australia","Austria","Azerbaijan","Bahamas","Bahrain","Bangladesh","Barbados","Belarus","Belgium","Belize","Benin","Bermuda","Bhutan","Bolivia, Plurinational State of","Bonaire, Sint Eustatius and Saba","Bosnia and Herzegovina","Botswana","Bouvet Island","Brazil","British Indian Ocean Territory","Brunei Darassalam","Bulgaria","Burkina Faso","Burundi","Cambodia","Cameroon","Canada","Cape Verde","Cayman Islands","Central African Republic","Chad","Chile","China","Christmas Island","Cocos (Keeling) Islands","Colombia","Comoros","Congo","Congo, the Democratic Republic of the","Cook Islands","Costa Rica","Cote d'Ivoire","Croatia","Cuba","Curacoa","Cyprus","Czech Republic","Denmark","Djibouti","Dominica","Dominican Republic","Ecuador","Egypt","El Salvador","Equatorial Guinea","Eritrea","Estonia","Ethiopia","Falkland Islands (Malvinas)","Faroe Islands","Fiji","Finland","France","French Guiana","French Polynesia","French Southern Territories","Gabon","Gambia","Georgia","Germany","Ghana","Gibraltar","Greece","Greenland","Grenada","Guadeloupe","Guatemala","Guernsey","Guinea","Guinea-Bissau","Guyana","Haiti","Heard Island and McDonald Islands","Holy See (Vatican City State)","Honduras","Hungary","Iceland","India","Indonesia","Iran, Islamic Republic of","Iraq","Ireland","Isle of Man","Israel","Italy","Jamaica","Japan","Jersey","Jordan","Kazakhstan","Kenya","Kiribati","Korea, Democratic People's Republic of","Korea, Republic of","Kuwait","Kyrgyzstan","Lao People's Democratic Republic","Latvia","Lebanon","Lesotho","Liberia","Libyan Arab Jamahiriya","Liechtenstein","Lithuania","Luxembourg","Macao","Macedonia, the former Yugoslav Republic of","Madagascar","Malawi","Malaysia","Maldives","Mali","Malta","Martinique","Mauritania","Mauritius","Mayotte","Mexico","Moldova, Republic of","Monaco","Mongolia","Montenegro","Montserrat","Morocco","Mozambique","Myanmar","Namibia","Nauru","Nepal","Netherlands","New Caledonia","New Zealand","Nicaragua","Niger","Nigeria","Niue","Norfolk Island","Norway","Oman","Pakistan","Palestine","Panama","Papua New Guinea","Paraguay","Peru","Philippines","Pitcairn","Poland","Portugal","Qatar","Reunion","Romainia","Russian Federation","Rwanda","Saint Barthelemy","Saint Helena, Ascension and Tristan da Cunha","Saint Kitts and Nevis","Saint Lucia","Saint Martin (French part)","Saint Pierre and Miquelon","Saint Vincent and the Grenadines","Samoa","San Marino","Sao Tome and Principe","Saudi Arabia","Senegal","Serbia","Seychelles","Sierra Leone","Singapore","Sint Maarten (Dutch part)","Slovakia","Slovenia","Solomon Islands","Somalia","South Africa","South Georgia and the South Sandwich Islands","South Sudan","Spain","Sri Lanka","Sudan","Suriname","Svalbard and Jan Mayen","Swaziland","Sweden","Switzerland","Syrian Arab Republic","Taiwan","Tajikistan","Tanzania, United Republic of","Thailand","Timor-Leste","Togo","Tokelau","Tonga","Trinidad and Tobago","Tunisia","Turkey","Turkmenistan","Turks and Caicos Islands","Tuvalu","Uganda","Ukraine","United Arab Emirates","United Kingdom","United States","Uruguay","Uzbekistan","Vanuatu","Venezuela, Bolivarian Republic of","Vietnam","Virgin Islands, British","Wallis and Futuna","Western Sahara","Yemen","Zambia","Zimbabwe"],LI={Australia:["Australian Capital Territory","New South Wales","Northern Territory","Queensland","South Australia","Tasmania","Victoria","Western Australia"],Brazil:["Acre","Alagoas","Amapa","Amazonas","Bahia","Ceara","Distrito Federal","Espirito Santo","Goias","Maranhao","Mato Grosso","Mato Grosso do Sul","Minas Gerais","Para","Paraiba","Parana","Pernambuco","Piaui","Rio de Janeiro","Rio Grande do Norte","Rio Grande do Sul","Rondonia","Roraima","Santa Catarina","Sao Paulo","Sergipe","Tocantins"],Canada:["Alberta","British Columbia","Manitoba","New Brunswick","Newfoundland & Labrador","Northwest Territories","Nova Scotia","Nunavut","Ontario","Prince Edward Island","Quebec","Saskatchewan","Yukon Territory"],China:["Anhui","Beijing","Chinese Taipei","Chongqing","Fujian","Gansu","Guangdong","Guangxi","Guizhou","Hainan","Hebei","Heilongjiang","Henan","Hong Kong","Hubei","Hunan","Jiangsu","Jiangxi","Jilin","Liaoning","Macao","Nei Mongol","Ningxia","Qinghai","Shaanxi","Shandong","Shanghai","Shanxi","Sichuan","Tianjin","Xinjiang","Xizang","Yunnan","Zhejiang"],India:["Andaman and Nicobar Islands","Andhra Pradesh","Arunachal Pradesh","Assam","Bihar","Chandigarh","Chhattisgarh","Dadra and Nagar Haveli","Daman and Diu","Delhi","Goa","Gujarat","Haryana","Himachal Pradesh","Jammu and Kashmir","Jharkhand","Karnataka","Kerala","Lakshadweep","Madhya Pradesh","Maharashtra","Manipur","Meghalaya","Mizoram","Nagaland","Odisha","Puducherry","Punjab","Rajasthan","Sikkim","Tamil Nadu","Tripura","Uttar Pradesh","Uttarakhand","West Bengal"],Italy:["Agrigento","Alessandria","Ancona","Aosta","Arezzo","Ascoli Piceno","Asti","Avellino","Bari","Barletta-Andria-Trani","Belluno","Benevento","Bergamo","Biella","Bologna","Bolzano","Brescia","Brindisi","Cagliari","Caltanissetta","Campobasso","Carbonia-Iglesias","Caserta","Catania","Catanzaro","Chieti","Como","Cosenza","Cremona","Crotone","Cuneo","Enna","Fermo","Ferrara","Florence","Foggia","Forlì-Cesena","Frosinone","Genoa","Gorizia","Grosseto","Imperia","Isernia","L'Aquila","La Spezia","Latina","Lecce","Lecco","Livorno","Lodi","Lucca","Macerata","Mantua","Massa and Carrara","Matera","Medio Campidano","Messina","Milan","Modena","Monza and Brianza","Naples","Novara","Nuoro","Ogliastra","Olbia-Tempio","Oristano","Padua","Palermo","Parma","Pavia","Perugia","Pesaro and Urbino","Pescara","Piacenza","Pisa","Pistoia","Pordenone","Potenza","Prato","Ragusa","Ravenna","Reggio Calabria","Reggio Emilia","Rieti","Rimini","Rome","Rovigo","Salerno","Sassari","Savona","Siena","Sondrio","Syracuse","Taranto","Teramo","Terni","Trapani","Trento","Treviso","Trieste","Turin","Udine","Varese","Venice","Verbano-Cusio-Ossola","Vercelli","Verona","Vibo Valentia","Vicenza","Viterbo"],Mexico:["Aguascalientes","Baja California","Baja California Sur","Campeche","Chiapas","Chihuahua","Coahuila","Colima","Durango","Federal District","Guanajuato","Guerrero","Hidalgo","Jalisco","Mexico","Michoacan","Morelos","Nayarit","Nuevo Leon","Oaxaca","Puebla","Queretaro","Quintana Roo","San Luis Potosi","Sinaloa","Sonora","Tabasco","Tamaulipas","Tlaxcala","Veracruz","Yucatan","Zacatecas"],"United States":["Alabama","Alaska","Arizona","Arkansas","California","Colorado","Connecticut","Delaware","District of Columbia","Florida","Georgia","Hawaii","Idaho","Illinois","Indiana","Iowa","Kansas","Kentucky","Louisiana","Maine","Maryland","Massachusetts","Michigan","Minnesota","Mississippi","Missouri","Montana","Nebraska","Nevada","New Hampshire","New Jersey","New Mexico","New York","North Carolina","North Dakota","Ohio","Oklahoma","Oregon","Pennsylvania","Rhode Island","South Carolina","South Dakota","Tennessee","Texas","Utah","Vermont","Virginia","Washington","West Virginia","Wisconsin","Wyoming"]},$I=["EMM - Electrodes Machines Molding","GWR - Guidewires","HAC - Housings, Accessories & Components","HCS - Catheters","HMW - Medical Wire","HSS - Stylets","HBS - Biosensor Solutions","HWS - Wearable Solutions","NMS_Neuromodulation_Solutions","VCA - Vascular Components & Assemblies","Product Design and Development","Not yet known"],OI=["Existing Product","Product is in development"],DI=["01-January","02-February","03-March","04-April","05-May","06-June","07-July","08-August","09-September","10-October","11-November","12-December","99-I do not know"],II=["2020","2021","2022","2023","2024","2025","2026","2027","2028","2029","2030","2031","2032","2033","2034","2035"],RI=["Yes","No"],Mf=e=>(yr("data-v-fb3a13ab"),e=e(),br(),e),BI={class:"c-salesforce-form is-bg-default"},FI=["id","name","action"],NI=Mf(()=>he("input",{id:"oid",type:"hidden",name:"oid",value:"00D200000000QNT"},null,-1)),jI=["value"],HI={class:"row"},zI={class:"col col-50"},VI={class:"col col-50"},WI={class:"col col-50"},UI={class:"col col-50"},GI={class:"col"},qI={class:"col col-50"},YI={key:0,class:"col col-50"},XI={class:"col col-50"},QI={class:"col col-50"},KI={class:"col col-50"},ZI={class:"col col-50"},JI={class:"col col-50"},e3={class:"col col-50"},t3={class:"col col-50"},n3={class:"col col-50"},i3=Mf(()=>he("div",{class:"col"},[he("p",null," Your personal data will be used solely for processing and responding to this request. For this reason, your data may, if necessary, be passed on to other companies in the Heraeus group. Moreover, the data will not be published, passed on to third parties, or used for any other purpose. Details on our data handling policy can be found in our privacy statement. ")],-1)),r3={class:"col"},a3={class:"col c-form__button-wrapper"},s3="Please fill in the required field!",o3=De({__name:"C40aSalesforceForm",props:PI,setup(e){const t=e,n=be(""),i=be(""),r=be(w(MI,"Select Country")),a=be(w($I)),s=be(w(OI)),o=be(w(DI)),l=be(w(II)),c=be(w(RI)),u=be(_(LI)),d=Ze(),m=de(()=>{var E;const A=_t(t.successPage,d==null?void 0:d.languages,d==null?void 0:d.currentLanguage,d==null?void 0:d.site,d==null?void 0:d.isPublic);return`https://${(E=d.site)==null?void 0:E.domain}${A}`}),v=de(()=>t["@id"]),h=de(()=>u.value[n.value]||[]);function f(){i.value=""}function w(A,E="--None--"){return[{label:E,default:!0,value:""},...A.map(B=>({label:B,default:!1,value:B}))]}function _(A){const E={label:"Select State",default:!0,value:""},$={};for(const B in A)$[B]=[E,...A[B].map(Q=>({label:Q,default:!1,value:Q}))];return $}const y=be({first_name:"",last_name:"",email:"",company:"",description:"","00ND0000004r8kG":"","00N2o0000085F5c":""});function x(A){var E,$,B;if((A==null?void 0:A.target)instanceof HTMLInputElement||(A==null?void 0:A.target)instanceof HTMLTextAreaElement||(A==null?void 0:A.target)instanceof HTMLSelectElement){const Q=($=(E=A.target)==null?void 0:E.validity)==null?void 0:$.valid;y.value[(B=A.target)==null?void 0:B.name]=Q?"":s3}}return(A,E)=>(J(),ke(ut,null,{default:He(()=>{var $,B,Q,I,F,k,P;return[he("div",BI,[he("form",{id:v.value,name:v.value,action:A.formAction||we(TI),method:"POST",class:"c-form__form","accept-charset":"UTF-8"},[NI,he("input",{id:"retURL",type:"hidden",name:"retURL",value:m.value},null,8,jI),he("div",HI,[he("div",zI,[ve(ln,{id:"first_name",required:!0,value:"",label:"First Name",name:"first_name",type:"text",maxlength:"100","error-message":($=y.value)==null?void 0:$.first_name,icon:"warning",onInvalid:x,onChange:x},null,8,["error-message"])]),he("div",VI,[ve(ln,{id:"last_name",required:!0,value:"",label:"Last Name",name:"last_name",type:"text",maxlength:"100","error-message":(B=y.value)==null?void 0:B.last_name,icon:"warning",onInvalid:x,onChange:x},null,8,["error-message"])]),he("div",WI,[ve(ln,{id:"company",required:!0,value:"",label:"Company",name:"company",type:"text",maxlength:"100","error-message":(Q=y.value)==null?void 0:Q.company,icon:"warning",onInvalid:x,onChange:x},null,8,["error-message"])]),he("div",UI,[ve(ln,{id:"email",required:!0,value:"",label:"Email",name:"email",type:"email","sub-type":"email",maxlength:"100","error-message":(I=y.value)==null?void 0:I.email,icon:"warning",onInvalid:x,onChange:x},null,8,["error-message"])]),he("div",GI,[ve(uf,{id:"description",required:!0,value:"",label:"Reason for your Inquiry",name:"description",rows:"4",type:"text",maxlength:"100","error-message":(F=y.value)==null?void 0:F.description,icon:"warning",onInvalid:x,onChange:x},null,8,["error-message"])]),he("div",qI,[ve(fn,{id:"country",modelValue:n.value,"onUpdate:modelValue":E[0]||(E[0]=C=>n.value=C),name:"country",label:"Country",options:r.value,onSelectChanged:f},null,8,["modelValue","options"])]),h.value.length?(J(),ue("div",YI,[ve(fn,{id:"state",modelValue:i.value,"onUpdate:modelValue":E[1]||(E[1]=C=>i.value=C),name:"state",label:"State/Province",options:h.value},null,8,["modelValue","options"])])):pe("",!0),he("div",XI,[ve(ln,{id:"city",value:"",label:"City",name:"city",type:"text",maxlength:"100"})]),he("div",QI,[ve(ln,{id:"phone",value:"",label:"Phone",name:"phone",type:"text",maxlength:"100"})]),he("div",KI,[ve(fn,{id:"00ND0000004r8kG",name:"00ND0000004r8kG",label:"Category",required:!0,options:a.value,"error-message":(k=y.value)==null?void 0:k["00ND0000004r8kG"],icon:"warning",onInvalid:x,onChange:x},null,8,["options","error-message"])]),he("div",ZI,[ve(fn,{id:"00N2o0000085F5c",name:"00N2o0000085F5c",label:"Product Status",required:!0,options:s.value,"error-message":(P=y.value)==null?void 0:P["00N2o0000085F5c"],icon:"warning",onInvalid:x,onChange:x},null,8,["options","error-message"])]),he("div",JI,[ve(ln,{id:"00N2o0000085F5Z",value:"",label:"Fiscal Year Estimated Forecast",name:"00N2o0000085F5Z",type:"text",maxlength:"100"})]),he("div",e3,[ve(fn,{id:"00N2o0000085F5d",name:"00N2o0000085F5d",label:"Launch Timeline Month",options:o.value},null,8,["options"])]),he("div",t3,[ve(fn,{id:"00N2o0000085F5e",name:"00N2o0000085F5e",label:"Launch Timeline Year",options:l.value},null,8,["options"])]),he("div",n3,[ve(fn,{id:"00N2o0000085F5b",name:"00N2o0000085F5b",label:"Long Term Manufacturing Partner",options:c.value},null,8,["options"])]),i3,he("div",r3,[ve(we(of),{sitekey:"FCMULNC74Q4K448D"})]),he("div",a3,[ve(Je,{id:"button-submit",class:"c-button c-button--big c-button--primary c-form__submit",label:"Submit",type:"submit"})])])],8,FI)])]}),_:1}))}});const l3=ze(o3,[["__scopeId","data-v-fb3a13ab"]]),c3={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},u3=(e,t,n)=>{let i;const r=c3[e];return typeof r=="string"?i=r:t===1?i=r.one:i=r.other.replace("{{count}}",t.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function Ti(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const d3={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},h3={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},f3={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},p3={date:Ti({formats:d3,defaultWidth:"full"}),time:Ti({formats:h3,defaultWidth:"full"}),dateTime:Ti({formats:f3,defaultWidth:"full"})},m3={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},g3=(e,t,n,i)=>m3[e];function Pn(e){return(t,n)=>{const i=n!=null&&n.context?String(n.context):"standalone";let r;if(i==="formatting"&&e.formattingValues){const s=e.defaultFormattingWidth||e.defaultWidth,o=n!=null&&n.width?String(n.width):s;r=e.formattingValues[o]||e.formattingValues[s]}else{const s=e.defaultWidth,o=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[s]}const a=e.argumentCallback?e.argumentCallback(t):t;return r[a]}}const v3={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},y3={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},b3={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},_3={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},w3={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},k3={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},C3=(e,t)=>{const n=Number(e),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},x3={ordinalNumber:C3,era:Pn({values:v3,defaultWidth:"wide"}),quarter:Pn({values:y3,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pn({values:b3,defaultWidth:"wide"}),day:Pn({values:_3,defaultWidth:"wide"}),dayPeriod:Pn({values:w3,defaultWidth:"wide",formattingValues:k3,defaultFormattingWidth:"wide"})};function Tn(e){return(t,n={})=>{const i=n.width,r=i&&e.matchPatterns[i]||e.matchPatterns[e.defaultMatchWidth],a=t.match(r);if(!a)return null;const s=a[0],o=i&&e.parsePatterns[i]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(o)?A3(o,d=>d.test(s)):S3(o,d=>d.test(s));let c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;const u=t.slice(s.length);return{value:c,rest:u}}}function S3(e,t){for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t(e[n]))return n}function A3(e,t){for(let n=0;n<e.length;n++)if(t(e[n]))return n}function Lf(e){return(t,n={})=>{const i=t.match(e.matchPattern);if(!i)return null;const r=i[0],a=t.match(e.parsePattern);if(!a)return null;let s=e.valueCallback?e.valueCallback(a[0]):a[0];s=n.valueCallback?n.valueCallback(s):s;const o=t.slice(r.length);return{value:s,rest:o}}}const E3=/^(\d+)(th|st|nd|rd)?/i,P3=/\d+/i,T3={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},M3={any:[/^b/i,/^(a|c)/i]},L3={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},$3={any:[/1/i,/2/i,/3/i,/4/i]},O3={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},D3={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},I3={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},R3={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},B3={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},F3={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},N3={ordinalNumber:Lf({matchPattern:E3,parsePattern:P3,valueCallback:e=>parseInt(e,10)}),era:Tn({matchPatterns:T3,defaultMatchWidth:"wide",parsePatterns:M3,defaultParseWidth:"any"}),quarter:Tn({matchPatterns:L3,defaultMatchWidth:"wide",parsePatterns:$3,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Tn({matchPatterns:O3,defaultMatchWidth:"wide",parsePatterns:D3,defaultParseWidth:"any"}),day:Tn({matchPatterns:I3,defaultMatchWidth:"wide",parsePatterns:R3,defaultParseWidth:"any"}),dayPeriod:Tn({matchPatterns:B3,defaultMatchWidth:"any",parsePatterns:F3,defaultParseWidth:"any"})},$f={code:"en-US",formatDistance:u3,formatLong:p3,formatRelative:g3,localize:x3,match:N3,options:{weekStartsOn:0,firstWeekContainsDate:1}},j3=$f;let H3={};function Ha(){return H3}const Of=6048e5,z3=864e5,Df=6e4,If=36e5;function on(e){const t=Object.prototype.toString.call(e);return e instanceof Date||typeof e=="object"&&t==="[object Date]"?new e.constructor(+e):typeof e=="number"||t==="[object Number]"||typeof e=="string"||t==="[object String]"?new Date(e):new Date(NaN)}function hu(e){const t=on(e);return t.setHours(0,0,0,0),t}function fu(e){const t=on(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function V3(e,t){const n=hu(e),i=hu(t),r=+n-fu(n),a=+i-fu(i);return Math.round((r-a)/z3)}function Bn(e,t){return e instanceof Date?new e.constructor(t):new Date(t)}function W3(e){const t=on(e),n=Bn(e,0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}function U3(e){const t=on(e);return V3(t,W3(t))+1}function mr(e,t){var o,l,c,u;const n=Ha(),i=(t==null?void 0:t.weekStartsOn)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.weekStartsOn)??n.weekStartsOn??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.weekStartsOn)??0,r=on(e),a=r.getDay(),s=(a<i?7:0)+a-i;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function va(e){return mr(e,{weekStartsOn:1})}function Rf(e){const t=on(e),n=t.getFullYear(),i=Bn(e,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);const r=va(i),a=Bn(e,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);const s=va(a);return t.getTime()>=r.getTime()?n+1:t.getTime()>=s.getTime()?n:n-1}function G3(e){const t=Rf(e),n=Bn(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),va(n)}function q3(e){const t=on(e),n=+va(t)-+G3(t);return Math.round(n/Of)+1}function Bf(e,t){var u,d,m,v;const n=on(e),i=n.getFullYear(),r=Ha(),a=(t==null?void 0:t.firstWeekContainsDate)??((d=(u=t==null?void 0:t.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??r.firstWeekContainsDate??((v=(m=r.locale)==null?void 0:m.options)==null?void 0:v.firstWeekContainsDate)??1,s=Bn(e,0);s.setFullYear(i+1,0,a),s.setHours(0,0,0,0);const o=mr(s,t),l=Bn(e,0);l.setFullYear(i,0,a),l.setHours(0,0,0,0);const c=mr(l,t);return n.getTime()>=o.getTime()?i+1:n.getTime()>=c.getTime()?i:i-1}function Y3(e,t){var o,l,c,u;const n=Ha(),i=(t==null?void 0:t.firstWeekContainsDate)??((l=(o=t==null?void 0:t.locale)==null?void 0:o.options)==null?void 0:l.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(c=n.locale)==null?void 0:c.options)==null?void 0:u.firstWeekContainsDate)??1,r=Bf(e,t),a=Bn(e,0);return a.setFullYear(r,0,i),a.setHours(0,0,0,0),mr(a,t)}function X3(e,t){const n=on(e),i=+mr(n,t)-+Y3(n,t);return Math.round(i/Of)+1}function st(e,t){const n=e<0?"-":"",i=Math.abs(e).toString().padStart(t,"0");return n+i}const Wn={y(e,t){const n=e.getFullYear(),i=n>0?n:1-n;return st(t==="yy"?i%100:i,t.length)},M(e,t){const n=e.getMonth();return t==="M"?String(n+1):st(n+1,2)},d(e,t){return st(e.getDate(),t.length)},a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(e,t){return st(e.getHours()%12||12,t.length)},H(e,t){return st(e.getHours(),t.length)},m(e,t){return st(e.getMinutes(),t.length)},s(e,t){return st(e.getSeconds(),t.length)},S(e,t){const n=t.length,i=e.getMilliseconds(),r=Math.trunc(i*Math.pow(10,n-3));return st(r,t.length)}},xi={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},pu={G:function(e,t,n){const i=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(e,t,n){if(t==="yo"){const i=e.getFullYear(),r=i>0?i:1-i;return n.ordinalNumber(r,{unit:"year"})}return Wn.y(e,t)},Y:function(e,t,n,i){const r=Bf(e,i),a=r>0?r:1-r;if(t==="YY"){const s=a%100;return st(s,2)}return t==="Yo"?n.ordinalNumber(a,{unit:"year"}):st(a,t.length)},R:function(e,t){const n=Rf(e);return st(n,t.length)},u:function(e,t){const n=e.getFullYear();return st(n,t.length)},Q:function(e,t,n){const i=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(i);case"QQ":return st(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(e,t,n){const i=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(i);case"qq":return st(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(e,t,n){const i=e.getMonth();switch(t){case"M":case"MM":return Wn.M(e,t);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(e,t,n){const i=e.getMonth();switch(t){case"L":return String(i+1);case"LL":return st(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(e,t,n,i){const r=X3(e,i);return t==="wo"?n.ordinalNumber(r,{unit:"week"}):st(r,t.length)},I:function(e,t,n){const i=q3(e);return t==="Io"?n.ordinalNumber(i,{unit:"week"}):st(i,t.length)},d:function(e,t,n){return t==="do"?n.ordinalNumber(e.getDate(),{unit:"date"}):Wn.d(e,t)},D:function(e,t,n){const i=U3(e);return t==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):st(i,t.length)},E:function(e,t,n){const i=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(e,t,n,i){const r=e.getDay(),a=(r-i.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return st(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,n,i){const r=e.getDay(),a=(r-i.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return st(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,n){const i=e.getDay(),r=i===0?7:i;switch(t){case"i":return String(r);case"ii":return st(r,t.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const i=e.getHours();let r;switch(i===12?r=xi.noon:i===0?r=xi.midnight:r=i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){const i=e.getHours();let r;switch(i>=17?r=xi.evening:i>=12?r=xi.afternoon:i>=4?r=xi.morning:r=xi.night,t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if(t==="ho"){let i=e.getHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Wn.h(e,t)},H:function(e,t,n){return t==="Ho"?n.ordinalNumber(e.getHours(),{unit:"hour"}):Wn.H(e,t)},K:function(e,t,n){const i=e.getHours()%12;return t==="Ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},k:function(e,t,n){let i=e.getHours();return i===0&&(i=24),t==="ko"?n.ordinalNumber(i,{unit:"hour"}):st(i,t.length)},m:function(e,t,n){return t==="mo"?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):Wn.m(e,t)},s:function(e,t,n){return t==="so"?n.ordinalNumber(e.getSeconds(),{unit:"second"}):Wn.s(e,t)},S:function(e,t){return Wn.S(e,t)},X:function(e,t,n){const i=e.getTimezoneOffset();if(i===0)return"Z";switch(t){case"X":return gu(i);case"XXXX":case"XX":return ri(i);case"XXXXX":case"XXX":default:return ri(i,":")}},x:function(e,t,n){const i=e.getTimezoneOffset();switch(t){case"x":return gu(i);case"xxxx":case"xx":return ri(i);case"xxxxx":case"xxx":default:return ri(i,":")}},O:function(e,t,n){const i=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+mu(i,":");case"OOOO":default:return"GMT"+ri(i,":")}},z:function(e,t,n){const i=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+mu(i,":");case"zzzz":default:return"GMT"+ri(i,":")}},t:function(e,t,n){const i=Math.trunc(e.getTime()/1e3);return st(i,t.length)},T:function(e,t,n){const i=e.getTime();return st(i,t.length)}};function mu(e,t=""){const n=e>0?"-":"+",i=Math.abs(e),r=Math.trunc(i/60),a=i%60;return a===0?n+String(r):n+String(r)+t+st(a,2)}function gu(e,t){return e%60===0?(e>0?"-":"+")+st(Math.abs(e)/60,2):ri(e,t)}function ri(e,t=""){const n=e>0?"-":"+",i=Math.abs(e),r=st(Math.trunc(i/60),2),a=st(i%60,2);return n+r+t+a}const vu=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});case"PPPP":default:return t.date({width:"full"})}},Ff=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});case"pppp":default:return t.time({width:"full"})}},Q3=(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],i=n[1],r=n[2];if(!r)return vu(e,t);let a;switch(i){case"P":a=t.dateTime({width:"short"});break;case"PP":a=t.dateTime({width:"medium"});break;case"PPP":a=t.dateTime({width:"long"});break;case"PPPP":default:a=t.dateTime({width:"full"});break}return a.replace("{{date}}",vu(i,t)).replace("{{time}}",Ff(r,t))},K3={p:Ff,P:Q3},Z3=/^D+$/,J3=/^Y+$/,eR=["D","DD","YY","YYYY"];function tR(e){return Z3.test(e)}function nR(e){return J3.test(e)}function iR(e,t,n){const i=rR(e,t,n);if(console.warn(i),eR.includes(e))throw new RangeError(i)}function rR(e,t,n){const i=e[0]==="Y"?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${i} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}function aR(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function sR(e){if(!aR(e)&&typeof e!="number")return!1;const t=on(e);return!isNaN(Number(t))}const oR=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,lR=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,cR=/^'([^]*?)'?$/,uR=/''/g,dR=/[a-zA-Z]/;function ao(e,t,n){var u,d,m,v,h,f,w,_;const i=Ha(),r=(n==null?void 0:n.locale)??i.locale??$f,a=(n==null?void 0:n.firstWeekContainsDate)??((d=(u=n==null?void 0:n.locale)==null?void 0:u.options)==null?void 0:d.firstWeekContainsDate)??i.firstWeekContainsDate??((v=(m=i.locale)==null?void 0:m.options)==null?void 0:v.firstWeekContainsDate)??1,s=(n==null?void 0:n.weekStartsOn)??((f=(h=n==null?void 0:n.locale)==null?void 0:h.options)==null?void 0:f.weekStartsOn)??i.weekStartsOn??((_=(w=i.locale)==null?void 0:w.options)==null?void 0:_.weekStartsOn)??0,o=on(e);if(!sR(o))throw new RangeError("Invalid time value");let l=t.match(lR).map(y=>{const x=y[0];if(x==="p"||x==="P"){const A=K3[x];return A(y,r.formatLong)}return y}).join("").match(oR).map(y=>{if(y==="''")return{isToken:!1,value:"'"};const x=y[0];if(x==="'")return{isToken:!1,value:hR(y)};if(pu[x])return{isToken:!0,value:y};if(x.match(dR))throw new RangeError("Format string contains an unescaped latin alphabet character `"+x+"`");return{isToken:!1,value:y}});r.localize.preprocessor&&(l=r.localize.preprocessor(o,l));const c={firstWeekContainsDate:a,weekStartsOn:s,locale:r};return l.map(y=>{if(!y.isToken)return y.value;const x=y.value;(!(n!=null&&n.useAdditionalWeekYearTokens)&&nR(x)||!(n!=null&&n.useAdditionalDayOfYearTokens)&&tR(x))&&iR(x,t,String(e));const A=pu[x[0]];return A(o,x,r.localize,c)}).join("")}function hR(e){const t=e.match(cR);return t?t[1].replace(uR,"'"):e}function fR(e,t){const n=vR(t);return"formatToParts"in n?mR(n,e):gR(n,e)}const pR={year:0,month:1,day:2,hour:3,minute:4,second:5};function mR(e,t){try{const n=e.formatToParts(t),i=[];for(let r=0;r<n.length;r++){const a=pR[n[r].type];a!==void 0&&(i[a]=parseInt(n[r].value,10))}return i}catch(n){if(n instanceof RangeError)return[NaN];throw n}}function gR(e,t){const n=e.format(t),i=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(n);return[parseInt(i[3],10),parseInt(i[1],10),parseInt(i[2],10),parseInt(i[4],10),parseInt(i[5],10),parseInt(i[6],10)]}const ms={};function vR(e){if(!ms[e]){const t=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),n=t==="06/25/2014, 00:00:00"||t==="‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00";ms[e]=n?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}return ms[e]}function Nf(e,t,n,i,r,a,s){const o=new Date(0);return o.setUTCFullYear(e,t,n),o.setUTCHours(i,r,a,s),o}const yu=36e5,yR=6e4,gs={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function jf(e,t,n){if(!e)return 0;let i=gs.timezoneZ.exec(e);if(i)return 0;let r,a;if(i=gs.timezoneHH.exec(e),i)return r=parseInt(i[1],10),bu(r)?-(r*yu):NaN;if(i=gs.timezoneHHMM.exec(e),i){r=parseInt(i[2],10);const s=parseInt(i[3],10);return bu(r,s)?(a=Math.abs(r)*yu+s*yR,i[1]==="+"?-a:a):NaN}if(wR(e)){t=new Date(t||Date.now());const s=n?t:bR(t),o=so(s,e);return-(n?o:_R(t,o,e))}return NaN}function bR(e){return Nf(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function so(e,t){const n=fR(e,t),i=Nf(n[0],n[1]-1,n[2],n[3]%24,n[4],n[5],0).getTime();let r=e.getTime();const a=r%1e3;return r-=a>=0?a:1e3+a,i-r}function _R(e,t,n){let r=e.getTime()-t;const a=so(new Date(r),n);if(t===a)return t;r-=a-t;const s=so(new Date(r),n);return a===s?a:Math.max(a,s)}function bu(e,t){return-23<=e&&e<=23&&(t==null||0<=t&&t<=59)}const _u={};function wR(e){if(_u[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),_u[e]=!0,!0}catch{return!1}}function wu(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}const kR=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,vs=36e5,ku=6e4,CR=2,Yt={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:kR};function xR(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(e===null)return new Date(NaN);const n=t.additionalDigits==null?CR:Number(t.additionalDigits);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]")return new Date(e.getTime());if(typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]")return new Date(e);if(Object.prototype.toString.call(e)!=="[object String]")return new Date(NaN);const i=SR(e),{year:r,restDateString:a}=AR(i.date,n),s=ER(a,r);if(s===null||isNaN(s.getTime()))return new Date(NaN);if(s){const o=s.getTime();let l=0,c;if(i.time&&(l=PR(i.time),l===null||isNaN(l)))return new Date(NaN);if(i.timeZone||t.timeZone){if(c=jf(i.timeZone||t.timeZone,new Date(o+l)),isNaN(c))return new Date(NaN)}else c=wu(new Date(o+l)),c=wu(new Date(o+l+c));return new Date(o+l+c)}else return new Date(NaN)}function SR(e){const t={};let n=Yt.dateTimePattern.exec(e),i;if(n?(t.date=n[1],i=n[3]):(n=Yt.datePattern.exec(e),n?(t.date=n[1],i=n[2]):(t.date=null,i=e)),i){const r=Yt.timeZone.exec(i);r?(t.time=i.replace(r[1],""),t.timeZone=r[1].trim()):t.time=i}return t}function AR(e,t){if(e){const n=Yt.YYY[t],i=Yt.YYYYY[t];let r=Yt.YYYY.exec(e)||i.exec(e);if(r){const a=r[1];return{year:parseInt(a,10),restDateString:e.slice(a.length)}}if(r=Yt.YY.exec(e)||n.exec(e),r){const a=r[1];return{year:parseInt(a,10)*100,restDateString:e.slice(a.length)}}}return{year:null}}function ER(e,t){if(t===null)return null;let n,i,r;if(!e||!e.length)return n=new Date(0),n.setUTCFullYear(t),n;let a=Yt.MM.exec(e);if(a)return n=new Date(0),i=parseInt(a[1],10)-1,xu(t,i)?(n.setUTCFullYear(t,i),n):new Date(NaN);if(a=Yt.DDD.exec(e),a){n=new Date(0);const s=parseInt(a[1],10);return LR(t,s)?(n.setUTCFullYear(t,0,s),n):new Date(NaN)}if(a=Yt.MMDD.exec(e),a){n=new Date(0),i=parseInt(a[1],10)-1;const s=parseInt(a[2],10);return xu(t,i,s)?(n.setUTCFullYear(t,i,s),n):new Date(NaN)}if(a=Yt.Www.exec(e),a)return r=parseInt(a[1],10)-1,Su(r)?Cu(t,r):new Date(NaN);if(a=Yt.WwwD.exec(e),a){r=parseInt(a[1],10)-1;const s=parseInt(a[2],10)-1;return Su(r,s)?Cu(t,r,s):new Date(NaN)}return null}function PR(e){let t,n,i=Yt.HH.exec(e);if(i)return t=parseFloat(i[1].replace(",",".")),ys(t)?t%24*vs:NaN;if(i=Yt.HHMM.exec(e),i)return t=parseInt(i[1],10),n=parseFloat(i[2].replace(",",".")),ys(t,n)?t%24*vs+n*ku:NaN;if(i=Yt.HHMMSS.exec(e),i){t=parseInt(i[1],10),n=parseInt(i[2],10);const r=parseFloat(i[3].replace(",","."));return ys(t,n,r)?t%24*vs+n*ku+r*1e3:NaN}return null}function Cu(e,t,n){t=t||0,n=n||0;const i=new Date(0);i.setUTCFullYear(e,0,4);const r=i.getUTCDay()||7,a=t*7+n+1-r;return i.setUTCDate(i.getUTCDate()+a),i}const TR=[31,28,31,30,31,30,31,31,30,31,30,31],MR=[31,29,31,30,31,30,31,31,30,31,30,31];function Hf(e){return e%400===0||e%4===0&&e%100!==0}function xu(e,t,n){if(t<0||t>11)return!1;if(n!=null){if(n<1)return!1;const i=Hf(e);if(i&&n>MR[t]||!i&&n>TR[t])return!1}return!0}function LR(e,t){if(t<1)return!1;const n=Hf(e);return!(n&&t>366||!n&&t>365)}function Su(e,t){return!(e<0||e>52||t!=null&&(t<0||t>6))}function ys(e,t,n){return!(e<0||e>=25||t!=null&&(t<0||t>=60)||n!=null&&(n<0||n>=60))}function $R(e,t,n){e=xR(e,n);const i=jf(t,e,!0),r=new Date(e.getTime()-i),a=new Date(0);return a.setFullYear(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate()),a.setHours(r.getUTCHours(),r.getUTCMinutes(),r.getUTCSeconds(),r.getUTCMilliseconds()),a}function OR(e,t){const n=on(e);if(isNaN(t))return Bn(e,NaN);if(!t)return n;const i=n.getDate(),r=Bn(e,n.getTime());r.setMonth(n.getMonth()+t+1,0);const a=r.getDate();return i>=a?r:(n.setFullYear(r.getFullYear(),r.getMonth(),i),n)}function DR(e){const t=on(e);return t.setDate(1),t.setHours(0,0,0,0),t}function Au(e,t){const n=on(e);if(isNaN(n.getTime()))throw new RangeError("Invalid time value");const i=(t==null?void 0:t.format)??"extended",r=(t==null?void 0:t.representation)??"complete";let a="",s="";const o=i==="extended"?"-":"",l=i==="extended"?":":"";if(r!=="time"){const c=st(n.getDate(),2),u=st(n.getMonth()+1,2);a=`${st(n.getFullYear(),4)}${o}${u}${o}${c}`}if(r!=="date"){const c=n.getTimezoneOffset();if(c!==0){const f=Math.abs(c),w=st(Math.trunc(f/60),2),_=st(f%60,2);s=`${c<0?"+":"-"}${w}:${_}`}else s="Z";const u=st(n.getHours(),2),d=st(n.getMinutes(),2),m=st(n.getSeconds(),2),v=a===""?"":"T",h=[u,d,m].join(l);a=`${a}${v}${h}${s}`}return a}function IR(e,t){const n=(t==null?void 0:t.additionalDigits)??2,i=NR(e);let r;if(i.date){const l=jR(i.date,n);r=HR(l.restDateString,l.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);const a=r.getTime();let s=0,o;if(i.time&&(s=zR(i.time),isNaN(s)))return new Date(NaN);if(i.timezone){if(o=VR(i.timezone),isNaN(o))return new Date(NaN)}else{const l=new Date(a+s),c=new Date(0);return c.setFullYear(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate()),c.setHours(l.getUTCHours(),l.getUTCMinutes(),l.getUTCSeconds(),l.getUTCMilliseconds()),c}return new Date(a+s+o)}const jr={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},RR=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,BR=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,FR=/^([+-])(\d{2})(?::?(\d{2}))?$/;function NR(e){const t={},n=e.split(jr.dateTimeDelimiter);let i;if(n.length>2)return t;if(/:/.test(n[0])?i=n[0]:(t.date=n[0],i=n[1],jr.timeZoneDelimiter.test(t.date)&&(t.date=e.split(jr.timeZoneDelimiter)[0],i=e.substr(t.date.length,e.length))),i){const r=jr.timezone.exec(i);r?(t.time=i.replace(r[1],""),t.timezone=r[1]):t.time=i}return t}function jR(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),i=e.match(n);if(!i)return{year:NaN,restDateString:""};const r=i[1]?parseInt(i[1]):null,a=i[2]?parseInt(i[2]):null;return{year:a===null?r:a*100,restDateString:e.slice((i[1]||i[2]).length)}}function HR(e,t){if(t===null)return new Date(NaN);const n=e.match(RR);if(!n)return new Date(NaN);const i=!!n[4],r=Qi(n[1]),a=Qi(n[2])-1,s=Qi(n[3]),o=Qi(n[4]),l=Qi(n[5])-1;if(i)return YR(t,o,l)?WR(t,o,l):new Date(NaN);{const c=new Date(0);return!GR(t,a,s)||!qR(t,r)?new Date(NaN):(c.setUTCFullYear(t,a,Math.max(r,s)),c)}}function Qi(e){return e?parseInt(e):1}function zR(e){const t=e.match(BR);if(!t)return NaN;const n=bs(t[1]),i=bs(t[2]),r=bs(t[3]);return XR(n,i,r)?n*If+i*Df+r*1e3:NaN}function bs(e){return e&&parseFloat(e.replace(",","."))||0}function VR(e){if(e==="Z")return 0;const t=e.match(FR);if(!t)return 0;const n=t[1]==="+"?-1:1,i=parseInt(t[2]),r=t[3]&&parseInt(t[3])||0;return QR(i,r)?n*(i*If+r*Df):NaN}function WR(e,t,n){const i=new Date(0);i.setUTCFullYear(e,0,4);const r=i.getUTCDay()||7,a=(t-1)*7+n+1-r;return i.setUTCDate(i.getUTCDate()+a),i}const UR=[31,null,31,30,31,30,31,31,30,31,30,31];function zf(e){return e%400===0||e%4===0&&e%100!==0}function GR(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(UR[t]||(zf(e)?29:28))}function qR(e,t){return t>=1&&t<=(zf(e)?366:365)}function YR(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function XR(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function QR(e,t){return t>=0&&t<=59}function Eu(e,t){return OR(e,-t)}const KR={header:Object,pricesType:String,minDate:String,loading:Boolean,pmConfig:Object,filters:Array,results:Object,stockMarketClosed:Boolean,showSummary:Boolean,message:Object,error:String||null,marketDate:String,metaData:Object,historicalPageLink:String||void 0,metalName:String,defaultDateRange:Array},ZR={pmConfig:Object,filters:Array,pricesType:String,minDate:String,defaultDateRange:Array},JR={minDate:String,errorMessage:String,label:String,defaultDateRange:Array,language:String};const tl=rt({border:[Boolean,Number,String]},"border");function nl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kn();return{borderClasses:de(()=>{const i=gn(e)?e.value:e.border,r=[];if(i===!0||i==="")r.push(`${t}--border`);else if(typeof i=="string"||i===0)for(const a of String(i).split(" "))r.push(`border-${a}`);return r})}}const e8=[null,"default","comfortable","compact"],Vf=rt({density:{type:String,default:"default",validator:e=>e8.includes(e)}},"density");function Wf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kn();return{densityClasses:de(()=>`${t}--density-${e.density}`)}}const il=rt({elevation:{type:[Number,String],validator(e){const t=parseInt(e);return!isNaN(t)&&t>=0&&t<=24}}},"elevation");function rl(e){return{elevationClasses:de(()=>{const n=gn(e)?e.value:e.elevation,i=[];return n==null||i.push(`elevation-${n}`),i})}}const al=rt({rounded:{type:[Boolean,Number,String],default:void 0},tile:Boolean},"rounded");function sl(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kn();return{roundedClasses:de(()=>{const i=gn(e)?e.value:e.rounded,r=gn(e)?e.value:e.tile,a=[];if(i===!0||i==="")a.push(`${t}--rounded`);else if(typeof i=="string"||i===0)for(const s of String(i).split(" "))a.push(`rounded-${s}`);else(r||i===!1)&&a.push("rounded-0");return a})}}const Or=rt({tag:{type:String,default:"div"}},"tag"),t8=["elevated","flat","tonal","outlined","text","plain"];function n8(e,t){return ve(Be,null,[e&&ve("span",{key:"overlay",class:`${t}__overlay`},null),ve("span",{key:"underlay",class:`${t}__underlay`},null)])}const Uf=rt({color:String,variant:{type:String,default:"elevated",validator:e=>t8.includes(e)}},"variant");function i8(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kn();const n=de(()=>{const{variant:a}=we(e);return`${t}--variant-${a}`}),{colorClasses:i,colorStyles:r}=jo(de(()=>{const{variant:a,color:s}=we(e);return{[["elevated","flat"].includes(a)?"background":"text"]:s}}));return{colorClasses:i,colorStyles:r,variantClasses:n}}const Gf=rt({baseColor:String,divided:Boolean,...tl(),...mi(),...Vf(),...il(),...al(),...Or(),...zi(),...Uf()},"VBtnGroup"),Pu=It()({name:"VBtnGroup",props:Gf(),setup(e,t){let{slots:n}=t;const{themeClasses:i}=Vi(e),{densityClasses:r}=Wf(e),{borderClasses:a}=nl(e),{elevationClasses:s}=rl(e),{roundedClasses:o}=sl(e);nh({VBtn:{height:"auto",baseColor:Ft(e,"baseColor"),color:Ft(e,"color"),density:Ft(e,"density"),flat:!0,variant:Ft(e,"variant")}}),sn(()=>ve(e.tag,{class:["v-btn-group",{"v-btn-group--divided":e.divided},i.value,a.value,r.value,s.value,o.value,e.class],style:e.style},n))}}),r8=rt({modelValue:{type:null,default:void 0},multiple:Boolean,mandatory:[Boolean,String],max:Number,selectedClass:String,disabled:Boolean},"group"),a8=rt({value:null,disabled:Boolean,selectedClass:String},"group-item");function s8(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;const i=an("useGroupItem");if(!i)throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");const r=Ta();Ht(Symbol.for(`${t.description}:id`),r);const a=it(t,null);if(!a){if(!n)return a;throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`)}const s=Ft(e,"value"),o=de(()=>!!(a.disabled.value||e.disabled));a.register({id:r,value:s,disabled:o},i),yt(()=>{a.unregister(r)});const l=de(()=>a.isSelected(r)),c=de(()=>a.items.value[0].id===r),u=de(()=>a.items.value[a.items.value.length-1].id===r),d=de(()=>l.value&&[a.selectedClass.value,e.selectedClass]);return Qe(l,m=>{i.emit("group:selected",{value:m})},{flush:"sync"}),{id:r,isSelected:l,isFirst:c,isLast:u,toggle:()=>a.select(r,!l.value),select:m=>a.select(r,m),selectedClass:d,value:s,disabled:o,group:a}}function o8(e,t){let n=!1;const i=Qt([]),r=_n(e,"modelValue",[],m=>m==null?[]:qf(i,ar(m)),m=>{const v=c8(i,m);return e.multiple?v:v[0]}),a=an("useGroup");function s(m,v){const h=m,f=Symbol.for(`${t.description}:id`),_=Ki(f,a==null?void 0:a.vnode).indexOf(v);we(h.value)==null&&(h.value=_,h.useIndexAsValue=!0),_>-1?i.splice(_,0,h):i.push(h)}function o(m){if(n)return;l();const v=i.findIndex(h=>h.id===m);i.splice(v,1)}function l(){const m=i.find(v=>!v.disabled);m&&e.mandatory==="force"&&!r.value.length&&(r.value=[m.id])}ot(()=>{l()}),yt(()=>{n=!0}),$p(()=>{for(let m=0;m<i.length;m++)i[m].useIndexAsValue&&(i[m].value=m)});function c(m,v){const h=i.find(f=>f.id===m);if(!(v&&(h!=null&&h.disabled)))if(e.multiple){const f=r.value.slice(),w=f.findIndex(y=>y===m),_=~w;if(v=v??!_,_&&e.mandatory&&f.length<=1||!_&&e.max!=null&&f.length+1>e.max)return;w<0&&v?f.push(m):w>=0&&!v&&f.splice(w,1),r.value=f}else{const f=r.value.includes(m);if(e.mandatory&&f)return;r.value=v??!f?[m]:[]}}function u(m){if(e.multiple,r.value.length){const v=r.value[0],h=i.findIndex(_=>_.id===v);let f=(h+m)%i.length,w=i[f];for(;w.disabled&&f!==h;)f=(f+m)%i.length,w=i[f];if(w.disabled)return;r.value=[i[f].id]}else{const v=i.find(h=>!h.disabled);v&&(r.value=[v.id])}}const d={register:s,unregister:o,selected:r,select:c,disabled:Ft(e,"disabled"),prev:()=>u(i.length-1),next:()=>u(1),isSelected:m=>r.value.includes(m),selectedClass:de(()=>e.selectedClass),items:de(()=>i),getItemIndex:m=>l8(i,m)};return Ht(t,d),d}function l8(e,t){const n=qf(e,[t]);return n.length?e.findIndex(i=>i.id===n[0]):-1}function qf(e,t){const n=[];return t.forEach(i=>{const r=e.find(s=>Do(i,s.value)),a=e[i];(r==null?void 0:r.value)!=null?n.push(r.id):a!=null&&n.push(a.id)}),n}function c8(e,t){const n=[];return t.forEach(i=>{const r=e.findIndex(a=>a.id===i);if(~r){const a=e[r];n.push(a.value!=null?a.value:r)}}),n}const Yf=Symbol.for("vuetify:v-btn-toggle"),u8=rt({...Gf(),...r8()},"VBtnToggle");It()({name:"VBtnToggle",props:u8(),emits:{"update:modelValue":e=>!0},setup(e,t){let{slots:n}=t;const{isSelected:i,next:r,prev:a,select:s,selected:o}=o8(e,Yf);return sn(()=>{const l=Pu.filterProps(e);return ve(Pu,Ke({class:["v-btn-toggle",e.class]},l,{style:e.style}),{default:()=>{var c;return[(c=n.default)==null?void 0:c.call(n,{isSelected:i,next:r,prev:a,select:s,selected:o})]}})}),{next:r,prev:a,select:s}}});const d8=rt({defaults:Object,disabled:Boolean,reset:[Number,String],root:[Boolean,String],scoped:Boolean},"VDefaultsProvider"),ui=It(!1)({name:"VDefaultsProvider",props:d8(),setup(e,t){let{slots:n}=t;const{defaults:i,disabled:r,reset:a,root:s,scoped:o}=vr(e);return nh(i,{reset:a,root:s,scoped:o,disabled:r}),()=>{var l;return(l=n.default)==null?void 0:l.call(n)}}});const h8=["x-small","small","default","large","x-large"],ol=rt({size:{type:[String,Number],default:"default"}},"size");function ll(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kn();return Io(()=>{let n,i;return ia(h8,e.size)?n=`${t}--size-${e.size}`:e.size&&(i={width:wt(e.size),height:wt(e.size)}),{sizeClasses:n,sizeStyles:i}})}const f8=rt({color:String,disabled:Boolean,start:Boolean,end:Boolean,icon:ci,...mi(),...ol(),...Or({tag:"i"}),...zi()},"VIcon"),_s=It()({name:"VIcon",props:f8(),setup(e,t){let{attrs:n,slots:i}=t;const r=be(),{themeClasses:a}=Vi(e),{iconData:s}=R_(de(()=>r.value||e.icon)),{sizeClasses:o}=ll(e),{textColorClasses:l,textColorStyles:c}=Gs(Ft(e,"color"));return sn(()=>{var m,v;const u=(m=i.default)==null?void 0:m.call(i);u&&(r.value=(v=qd(u).filter(h=>h.type===Op&&h.children&&typeof h.children=="string")[0])==null?void 0:v.children);const d=!!(n.onClick||n.onClickOnce);return ve(s.value.component,{tag:e.tag,icon:s.value.icon,class:["v-icon","notranslate",a.value,o.value,l.value,{"v-icon--clickable":d,"v-icon--disabled":e.disabled,"v-icon--start":e.start,"v-icon--end":e.end},e.class],style:[o.value?void 0:{fontSize:wt(e.size),height:wt(e.size),width:wt(e.size)},c.value,e.style],role:d?"button":void 0,"aria-hidden":!d,tabindex:d?e.disabled?-1:0:void 0},{default:()=>[u]})}),{}}});function p8(e,t){const n=be(),i=Et(!1);if(Wd){const r=new IntersectionObserver(a=>{e==null||e(a,r),i.value=!!a.find(s=>s.isIntersecting)},t);yt(()=>{r.disconnect()}),Qe(n,(a,s)=>{s&&(r.unobserve(s),i.value=!1),a&&r.observe(a)},{flush:"post"})}return{intersectionRef:n,isIntersecting:i}}const m8=rt({bgColor:String,color:String,indeterminate:[Boolean,String],modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},width:{type:[Number,String],default:4},...mi(),...ol(),...Or({tag:"div"}),...zi()},"VProgressCircular"),g8=It()({name:"VProgressCircular",props:m8(),setup(e,t){let{slots:n}=t;const i=20,r=2*Math.PI*i,a=be(),{themeClasses:s}=Vi(e),{sizeClasses:o,sizeStyles:l}=ll(e),{textColorClasses:c,textColorStyles:u}=Gs(Ft(e,"color")),{textColorClasses:d,textColorStyles:m}=Gs(Ft(e,"bgColor")),{intersectionRef:v,isIntersecting:h}=p8(),{resizeRef:f,contentRect:w}=B_(),_=de(()=>Math.max(0,Math.min(100,parseFloat(e.modelValue)))),y=de(()=>Number(e.width)),x=de(()=>l.value?Number(e.size):w.value?w.value.width:Math.max(y.value,32)),A=de(()=>i/(1-y.value/x.value)*2),E=de(()=>y.value/x.value*A.value),$=de(()=>wt((100-_.value)/100*r));return dn(()=>{v.value=a.value,f.value=a.value}),sn(()=>ve(e.tag,{ref:a,class:["v-progress-circular",{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":h.value,"v-progress-circular--disable-shrink":e.indeterminate==="disable-shrink"},s.value,o.value,c.value,e.class],style:[l.value,u.value,e.style],role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e.indeterminate?void 0:_.value},{default:()=>[ve("svg",{style:{transform:`rotate(calc(-90deg + ${Number(e.rotate)}deg))`},xmlns:"http://www.w3.org/2000/svg",viewBox:`0 0 ${A.value} ${A.value}`},[ve("circle",{class:["v-progress-circular__underlay",d.value],style:m.value,fill:"transparent",cx:"50%",cy:"50%",r:i,"stroke-width":E.value,"stroke-dasharray":r,"stroke-dashoffset":0},null),ve("circle",{class:"v-progress-circular__overlay",fill:"transparent",cx:"50%",cy:"50%",r:i,"stroke-width":E.value,"stroke-dasharray":r,"stroke-dashoffset":$.value},null)]),n.default&&ve("div",{class:"v-progress-circular__content"},[n.default({value:_.value})])]})),{}}}),Tu={center:"center",top:"bottom",bottom:"top",left:"right",right:"left"},Xf=rt({location:String},"location");function Qf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,n=arguments.length>2?arguments[2]:void 0;const{isRtl:i}=Eh();return{locationStyles:de(()=>{if(!e.location)return{};const{side:a,align:s}=js(e.location.split(" ").length>1?e.location:`${e.location} center`,i.value);function o(c){return n?n(c):0}const l={};return a!=="center"&&(t?l[Tu[a]]=`calc(100% - ${o(a)}px)`:l[a]=0),s!=="center"?t?l[Tu[s]]=`calc(100% - ${o(s)}px)`:l[s]=0:(a==="center"?l.top=l.left="50%":l[{top:"left",bottom:"left",left:"top",right:"top"}[a]]="50%",l.transform={top:"translateX(-50%)",bottom:"translateX(-50%)",left:"translateY(-50%)",right:"translateY(-50%)",center:"translate(-50%, -50%)"}[a]),l})}}const v8=rt({loading:[Boolean,String]},"loader");function y8(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kn();return{loaderClasses:de(()=>({[`${t}--loading`]:e.loading}))}}const b8=["static","relative","fixed","absolute","sticky"],Kf=rt({position:{type:String,validator:e=>b8.includes(e)}},"position");function Zf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Kn();return{positionClasses:de(()=>e.position?`${t}--${e.position}`:void 0)}}function _8(e,t){Qe(()=>{var n;return(n=e.isActive)==null?void 0:n.value},n=>{e.isLink.value&&n&&t&&Dt(()=>{t(!0)})},{immediate:!0})}const w8=rt({active:{type:Boolean,default:void 0},baseColor:String,symbol:{type:null,default:Yf},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:ci,appendIcon:ci,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,ripple:{type:[Boolean,Object],default:!0},text:String,...tl(),...mi(),...Vf(),...Ho(),...il(),...a8(),...v8(),...Xf(),...Kf(),...al(),...E1(),...ol(),...Or({tag:"button"}),...zi(),...Uf({variant:"elevated"})},"VBtn"),Yn=It()({name:"VBtn",props:w8(),emits:{"group:selected":e=>!0},setup(e,t){let{attrs:n,slots:i}=t;const{themeClasses:r}=Vi(e),{borderClasses:a}=nl(e),{densityClasses:s}=Wf(e),{dimensionStyles:o}=zo(e),{elevationClasses:l}=rl(e),{loaderClasses:c}=y8(e),{locationStyles:u}=Qf(e),{positionClasses:d}=Zf(e),{roundedClasses:m}=sl(e),{sizeClasses:v,sizeStyles:h}=ll(e),f=s8(e,e.symbol,!1),w=A1(e,n),_=de(()=>{var F;return e.active!==void 0?e.active:w.isLink.value?(F=w.isActive)==null?void 0:F.value:f==null?void 0:f.isSelected.value}),y=de(()=>{var k,P;return{color:(f==null?void 0:f.isSelected.value)&&(!w.isLink.value||((k=w.isActive)==null?void 0:k.value))||!f||((P=w.isActive)==null?void 0:P.value)?e.color??e.baseColor:e.baseColor,variant:e.variant}}),{colorClasses:x,colorStyles:A,variantClasses:E}=i8(y),$=de(()=>(f==null?void 0:f.disabled.value)||e.disabled),B=de(()=>e.variant==="elevated"&&!(e.disabled||e.flat||e.border)),Q=de(()=>{if(!(e.value===void 0||typeof e.value=="symbol"))return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function I(F){var k;$.value||w.isLink.value&&(F.metaKey||F.ctrlKey||F.shiftKey||F.button!==0||n.target==="_blank")||((k=w.navigate)==null||k.call(w,F),f==null||f.toggle())}return _8(w,f==null?void 0:f.select),sn(()=>{const F=w.isLink.value?"a":e.tag,k=!!(e.prependIcon||i.prepend),P=!!(e.appendIcon||i.append),C=!!(e.icon&&e.icon!==!0);return Rt(ve(F,{type:F==="a"?void 0:"button",class:["v-btn",f==null?void 0:f.selectedClass.value,{"v-btn--active":_.value,"v-btn--block":e.block,"v-btn--disabled":$.value,"v-btn--elevated":B.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},r.value,a.value,x.value,s.value,l.value,c.value,d.value,m.value,v.value,E.value,e.class],style:[A.value,o.value,u.value,h.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:$.value||void 0,href:w.href.value,tabindex:e.loading||e.readonly?-1:void 0,onClick:I,value:Q.value},{default:()=>{var p;return[n8(!0,"v-btn"),!e.icon&&k&&ve("span",{key:"prepend",class:"v-btn__prepend"},[i.prepend?ve(ui,{key:"prepend-defaults",disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},i.prepend):ve(_s,{key:"prepend-icon",icon:e.prependIcon},null)]),ve("span",{class:"v-btn__content","data-no-activator":""},[!i.default&&C?ve(_s,{key:"content-icon",icon:e.icon},null):ve(ui,{key:"content-defaults",disabled:!C,defaults:{VIcon:{icon:e.icon}}},{default:()=>{var g;return[((g=i.default)==null?void 0:g.call(i))??e.text]}})]),!e.icon&&P&&ve("span",{key:"append",class:"v-btn__append"},[i.append?ve(ui,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},i.append):ve(_s,{key:"append-icon",icon:e.appendIcon},null)]),!!e.loading&&ve("span",{key:"loader",class:"v-btn__loader"},[((p=i.loader)==null?void 0:p.call(i))??ve(g8,{color:typeof e.loading=="boolean"?void 0:e.loading,indeterminate:!0,width:"2"},null)])]}}),[[vh,!$.value&&!!e.ripple,"",{center:!!e.icon}]])}),{group:f}}});const k8=ih("v-spacer","div","VSpacer"),Jf=rt({active:{type:[String,Array],default:void 0},disabled:{type:[Boolean,String,Array],default:!1},nextIcon:{type:ci,default:"$next"},prevIcon:{type:ci,default:"$prev"},modeIcon:{type:ci,default:"$subgroup"},text:String,viewMode:{type:String,default:"month"}},"VDatePickerControls"),Mu=It()({name:"VDatePickerControls",props:Jf(),emits:{"click:year":()=>!0,"click:month":()=>!0,"click:prev":()=>!0,"click:next":()=>!0,"click:text":()=>!0},setup(e,t){let{emit:n}=t;const i=de(()=>Array.isArray(e.disabled)?e.disabled.includes("text"):!!e.disabled),r=de(()=>Array.isArray(e.disabled)?e.disabled.includes("mode"):!!e.disabled),a=de(()=>Array.isArray(e.disabled)?e.disabled.includes("prev"):!!e.disabled),s=de(()=>Array.isArray(e.disabled)?e.disabled.includes("next"):!!e.disabled);function o(){n("click:prev")}function l(){n("click:next")}function c(){n("click:year")}function u(){n("click:month")}return sn(()=>ve("div",{class:["v-date-picker-controls"]},[ve(Yn,{class:"v-date-picker-controls__month-btn",disabled:i.value,text:e.text,variant:"text",rounded:!0,onClick:u},null),ve(Yn,{key:"mode-btn",class:"v-date-picker-controls__mode-btn",disabled:r.value,density:"comfortable",icon:e.modeIcon,variant:"text",onClick:c},null),ve(k8,{key:"mode-spacer"},null),ve("div",{key:"month-buttons",class:"v-date-picker-controls__month"},[ve(Yn,{disabled:a.value,icon:e.prevIcon,variant:"text",onClick:o},null),ve(Yn,{disabled:s.value,icon:e.nextIcon,variant:"text",onClick:l},null)])])),{}}});const C8=rt({appendIcon:String,color:String,header:String,transition:String,onClick:j0()},"VDatePickerHeader"),Lu=It()({name:"VDatePickerHeader",props:C8(),emits:{click:()=>!0,"click:append":()=>!0},setup(e,t){let{emit:n,slots:i}=t;const{backgroundColorClasses:r,backgroundColorStyles:a}=La(e,"color");function s(){n("click")}function o(){n("click:append")}return sn(()=>{const l=!!(i.default||e.header),c=!!(i.append||e.appendIcon);return ve("div",{class:["v-date-picker-header",{"v-date-picker-header--clickable":!!e.onClick},r.value],style:a.value,onClick:s},[i.prepend&&ve("div",{key:"prepend",class:"v-date-picker-header__prepend"},[i.prepend()]),l&&ve(Vo,{key:"content",name:e.transition},{default:()=>{var u;return[ve("div",{key:e.header,class:"v-date-picker-header__content"},[((u=i.default)==null?void 0:u.call(i))??e.header])]}}),c&&ve("div",{class:"v-date-picker-header__append"},[i.append?ve(ui,{key:"append-defaults",disabled:!e.appendIcon,defaults:{VBtn:{icon:e.appendIcon,variant:"text"}}},{default:()=>{var u;return[(u=i.append)==null?void 0:u.call(i)]}}):ve(Yn,{key:"append-btn",icon:e.appendIcon,variant:"text",onClick:o},null)])])}),{}}});const x8=rt({allowedDates:[Array,Function],disabled:Boolean,displayValue:null,modelValue:Array,month:[Number,String],max:null,min:null,showAdjacentMonths:Boolean,year:[Number,String],weekdays:{type:Array,default:()=>[0,1,2,3,4,5,6]},weeksInMonth:{type:String,default:"dynamic"},firstDayOfWeek:[Number,String]},"calendar");function S8(e){const t=gi(),n=_n(e,"modelValue",[],v=>ar(v)),i=de(()=>e.displayValue?t.date(e.displayValue):n.value.length>0?t.date(n.value[0]):e.min?t.date(e.min):Array.isArray(e.allowedDates)?t.date(e.allowedDates[0]):t.date()),r=_n(e,"year",void 0,v=>{const h=v!=null?Number(v):t.getYear(i.value);return t.startOfYear(t.setYear(t.date(),h))},v=>t.getYear(v)),a=_n(e,"month",void 0,v=>{const h=v!=null?Number(v):t.getMonth(i.value),f=t.setYear(t.startOfMonth(t.date()),t.getYear(r.value));return t.setMonth(f,h)},v=>t.getMonth(v)),s=de(()=>{const v=Number(e.firstDayOfWeek??0);return e.weekdays.map(h=>(h+v)%7)}),o=de(()=>{const v=t.getWeekArray(a.value,e.firstDayOfWeek),h=v.flat(),f=6*7;if(e.weeksInMonth==="static"&&h.length<f){const w=h[h.length-1];let _=[];for(let y=1;y<=f-h.length;y++)_.push(t.addDays(w,y)),y%7===0&&(v.push(_),_=[])}return v});function l(v,h){return v.filter(f=>s.value.includes(t.toJsDate(f).getDay())).map((f,w)=>{const _=t.toISO(f),y=!t.isSameMonth(f,a.value),x=t.isSameDay(f,t.startOfMonth(a.value)),A=t.isSameDay(f,t.endOfMonth(a.value)),E=t.isSameDay(f,a.value);return{date:f,isoDate:_,formatted:t.format(f,"keyboardDate"),year:t.getYear(f),month:t.getMonth(f),isDisabled:m(f),isWeekStart:w%7===0,isWeekEnd:w%7===6,isToday:t.isSameDay(f,h),isAdjacent:y,isHidden:y&&!e.showAdjacentMonths,isStart:x,isSelected:n.value.some($=>t.isSameDay(f,$)),isEnd:A,isSame:E,localized:t.format(f,"dayOfMonth")}})}const c=de(()=>{const v=t.startOfWeek(i.value,e.firstDayOfWeek),h=[];for(let w=0;w<=6;w++)h.push(t.addDays(v,w));const f=t.date();return l(h,f)}),u=de(()=>{const v=o.value.flat(),h=t.date();return l(v,h)}),d=de(()=>o.value.map(v=>v.length?P_(t,v[0]):null));function m(v){if(e.disabled)return!0;const h=t.date(v);return e.min&&t.isAfter(t.date(e.min),h)||e.max&&t.isAfter(h,t.date(e.max))?!0:Array.isArray(e.allowedDates)&&e.allowedDates.length>0?!e.allowedDates.some(f=>t.isSameDay(t.date(f),h)):typeof e.allowedDates=="function"?!e.allowedDates(h):!1}return{displayValue:i,daysInMonth:u,daysInWeek:c,genDays:l,model:n,weeksInMonth:o,weekDays:s,weekNumbers:d}}const ep=rt({color:String,hideWeekdays:Boolean,multiple:[Boolean,Number,String],showWeek:Boolean,transition:{type:String,default:"picker-transition"},reverseTransition:{type:String,default:"picker-reverse-transition"},...x8()},"VDatePickerMonth"),$u=It()({name:"VDatePickerMonth",props:ep(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0},setup(e,t){let{emit:n,slots:i}=t;const r=be(),{daysInMonth:a,model:s,weekNumbers:o}=S8(e),l=gi(),c=Et(),u=Et(),d=Et(!1),m=de(()=>d.value?e.reverseTransition:e.transition);e.multiple==="range"&&s.value.length>0&&(c.value=s.value[0],s.value.length>1&&(u.value=s.value[s.value.length-1]));const v=de(()=>{const _=["number","string"].includes(typeof e.multiple)?Number(e.multiple):1/0;return s.value.length>=_});Qe(a,(_,y)=>{y&&(d.value=l.isBefore(_[0].date,y[0].date))});function h(_){const y=l.startOfDay(_);if(s.value.length===0?c.value=void 0:s.value.length===1&&(c.value=s.value[0],u.value=void 0),!c.value)c.value=y,s.value=[c.value];else if(u.value)c.value=_,u.value=void 0,s.value=[c.value];else{if(l.isSameDay(y,c.value)){c.value=void 0,s.value=[];return}else l.isBefore(y,c.value)?(u.value=l.endOfDay(c.value),c.value=y):u.value=l.endOfDay(y);const x=l.getDiff(u.value,c.value,"days"),A=[c.value];for(let E=1;E<x;E++){const $=l.addDays(c.value,E);A.push($)}A.push(u.value),s.value=A}}function f(_){const y=s.value.findIndex(x=>l.isSameDay(x,_));if(y===-1)s.value=[...s.value,_];else{const x=[...s.value];x.splice(y,1),s.value=x}}function w(_){e.multiple==="range"?h(_):e.multiple?f(_):s.value=[_]}return()=>ve("div",{class:"v-date-picker-month"},[e.showWeek&&ve("div",{key:"weeks",class:"v-date-picker-month__weeks"},[!e.hideWeekdays&&ve("div",{key:"hide-week-days",class:"v-date-picker-month__day"},[St(" ")]),o.value.map(_=>ve("div",{class:["v-date-picker-month__day","v-date-picker-month__day--adjacent"]},[_]))]),ve(Vo,{name:m.value},{default:()=>{var _;return[ve("div",{ref:r,key:(_=a.value[0].date)==null?void 0:_.toString(),class:"v-date-picker-month__days"},[!e.hideWeekdays&&l.getWeekdays(e.firstDayOfWeek).map(y=>ve("div",{class:["v-date-picker-month__day","v-date-picker-month__weekday"]},[y])),a.value.map((y,x)=>{const A={props:{onClick:()=>w(y.date)},item:y,i:x};return v.value&&!y.isSelected&&(y.isDisabled=!0),ve("div",{class:["v-date-picker-month__day",{"v-date-picker-month__day--adjacent":y.isAdjacent,"v-date-picker-month__day--hide-adjacent":y.isHidden,"v-date-picker-month__day--selected":y.isSelected,"v-date-picker-month__day--week-end":y.isWeekEnd,"v-date-picker-month__day--week-start":y.isWeekStart}],"data-v-date":y.isDisabled?void 0:y.isoDate},[(e.showAdjacentMonths||!y.isAdjacent)&&ve(ui,{defaults:{VBtn:{class:"v-date-picker-month__day-btn",color:(y.isSelected||y.isToday)&&!y.isDisabled?e.color:void 0,disabled:y.isDisabled,icon:!0,ripple:!1,text:y.localized,variant:y.isDisabled?y.isToday?"outlined":"text":y.isToday&&!y.isSelected?"outlined":"flat",onClick:()=>w(y.date)}}},{default:()=>{var E;return[((E=i.day)==null?void 0:E.call(i,A))??ve(Yn,A.props,null)]}})])})])]}})])}});const tp=rt({color:String,height:[String,Number],min:null,max:null,modelValue:Number,year:Number},"VDatePickerMonths"),Ou=It()({name:"VDatePickerMonths",props:tp(),emits:{"update:modelValue":e=>!0},setup(e,t){let{emit:n,slots:i}=t;const r=gi(),a=_n(e,"modelValue"),s=de(()=>{let o=r.startOfYear(r.date());return e.year&&(o=r.setYear(o,e.year)),Pa(12).map(l=>{const c=r.format(o,"monthShort"),u=!!(e.min&&r.isAfter(r.startOfMonth(r.date(e.min)),o)||e.max&&r.isAfter(o,r.startOfMonth(r.date(e.max))));return o=r.getNextMonth(o),{isDisabled:u,text:c,value:l}})});return dn(()=>{a.value=a.value??r.getMonth(r.date())}),sn(()=>ve("div",{class:"v-date-picker-months",style:{height:wt(e.height)}},[ve("div",{class:"v-date-picker-months__content"},[s.value.map((o,l)=>{var d;const c={active:a.value===l,color:a.value===l?e.color:void 0,disabled:o.isDisabled,rounded:!0,text:o.text,variant:a.value===o.value?"flat":"text",onClick:()=>u(l)};function u(m){if(a.value===m){n("update:modelValue",a.value);return}a.value=m}return((d=i.month)==null?void 0:d.call(i,{month:o,i:l,props:c}))??ve(Yn,Ke({key:"month"},c),null)})])])),{}}});const np=rt({color:String,height:[String,Number],min:null,max:null,modelValue:Number},"VDatePickerYears"),Du=It()({name:"VDatePickerYears",props:np(),emits:{"update:modelValue":e=>!0},setup(e,t){let{emit:n,slots:i}=t;const r=gi(),a=_n(e,"modelValue"),s=de(()=>{const l=r.getYear(r.date());let c=l-100,u=l+52;e.min&&(c=r.getYear(r.date(e.min))),e.max&&(u=r.getYear(r.date(e.max)));let d=r.startOfYear(r.date());return d=r.setYear(d,c),Pa(u-c+1,c).map(m=>{const v=r.format(d,"year");return d=r.setYear(d,r.getYear(d)+1),{text:v,value:m}})});dn(()=>{a.value=a.value??r.getYear(r.date())});const o=ra();return ot(async()=>{var l;await Dt(),(l=o.el)==null||l.scrollIntoView({block:"center"})}),sn(()=>ve("div",{class:"v-date-picker-years",style:{height:wt(e.height)}},[ve("div",{class:"v-date-picker-years__content"},[s.value.map((l,c)=>{var d;const u={ref:a.value===l.value?o:void 0,active:a.value===l.value,color:a.value===l.value?e.color:void 0,rounded:!0,text:l.text,variant:a.value===l.value?"flat":"text",onClick:()=>{if(a.value===l.value){n("update:modelValue",a.value);return}a.value=l.value}};return((d=i.year)==null?void 0:d.call(i,{year:l,i:c,props:u}))??ve(Yn,Ke({key:"month"},u),null)})])])),{}}}),A8=rt({disabled:Boolean,group:Boolean,hideOnLeave:Boolean,leaveAbsolute:Boolean,mode:String,origin:String},"transition");function hn(e,t,n){return It()({name:e,props:A8({mode:n,origin:t}),setup(i,r){let{slots:a}=r;const s={onBeforeEnter(o){i.origin&&(o.style.transformOrigin=i.origin)},onLeave(o){if(i.leaveAbsolute){const{offsetTop:l,offsetLeft:c,offsetWidth:u,offsetHeight:d}=o;o._transitionInitialStyles={position:o.style.position,top:o.style.top,left:o.style.left,width:o.style.width,height:o.style.height},o.style.position="absolute",o.style.top=`${l}px`,o.style.left=`${c}px`,o.style.width=`${u}px`,o.style.height=`${d}px`}i.hideOnLeave&&o.style.setProperty("display","none","important")},onAfterLeave(o){if(i.leaveAbsolute&&(o!=null&&o._transitionInitialStyles)){const{position:l,top:c,left:u,width:d,height:m}=o._transitionInitialStyles;delete o._transitionInitialStyles,o.style.position=l||"",o.style.top=c||"",o.style.left=u||"",o.style.width=d||"",o.style.height=m||""}}};return()=>{const o=i.group?po:vn;return At(o,{name:i.disabled?"":e,css:!i.disabled,...i.group?void 0:{mode:i.mode},...i.disabled?{}:s},a.default)}}})}function ip(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"in-out";return It()({name:e,props:{mode:{type:String,default:n},disabled:Boolean,group:Boolean},setup(i,r){let{slots:a}=r;const s=i.group?po:vn;return()=>At(s,{name:i.disabled?"":e,css:!i.disabled,...i.disabled?{}:t},a.default)}})}function rp(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?"width":"height",i=Uu(`offset-${n}`);return{onBeforeEnter(s){s._parent=s.parentNode,s._initialStyle={transition:s.style.transition,overflow:s.style.overflow,[n]:s.style[n]}},onEnter(s){const o=s._initialStyle;s.style.setProperty("transition","none","important"),s.style.overflow="hidden";const l=`${s[i]}px`;s.style[n]="0",s.offsetHeight,s.style.transition=o.transition,e&&s._parent&&s._parent.classList.add(e),requestAnimationFrame(()=>{s.style[n]=l})},onAfterEnter:a,onEnterCancelled:a,onLeave(s){s._initialStyle={transition:"",overflow:s.style.overflow,[n]:s.style[n]},s.style.overflow="hidden",s.style[n]=`${s[i]}px`,s.offsetHeight,requestAnimationFrame(()=>s.style[n]="0")},onAfterLeave:r,onLeaveCancelled:r};function r(s){e&&s._parent&&s._parent.classList.remove(e),a(s)}function a(s){const o=s._initialStyle[n];s.style.overflow=s._initialStyle.overflow,o!=null&&(s.style[n]=o),delete s._initialStyle}}hn("fab-transition","center center","out-in");hn("dialog-bottom-transition");hn("dialog-top-transition");const E8=hn("fade-transition");hn("scale-transition");hn("scroll-x-transition");hn("scroll-x-reverse-transition");hn("scroll-y-transition");hn("scroll-y-reverse-transition");hn("slide-x-transition");hn("slide-x-reverse-transition");hn("slide-y-transition");hn("slide-y-reverse-transition");ip("expand-transition",rp());ip("expand-x-transition",rp("",!0));const P8=ih("v-picker-title");const ap=rt({color:String,...tl(),...mi(),...Ho(),...il(),...Xf(),...Kf(),...al(),...Or(),...zi()},"VSheet"),Iu=It()({name:"VSheet",props:ap(),setup(e,t){let{slots:n}=t;const{themeClasses:i}=Vi(e),{backgroundColorClasses:r,backgroundColorStyles:a}=La(Ft(e,"color")),{borderClasses:s}=nl(e),{dimensionStyles:o}=zo(e),{elevationClasses:l}=rl(e),{locationStyles:c}=Qf(e),{positionClasses:u}=Zf(e),{roundedClasses:d}=sl(e);return sn(()=>ve(e.tag,{class:["v-sheet",i.value,r.value,s.value,l.value,u.value,d.value,e.class],style:[a.value,o.value,c.value,e.style]},n)),{}}}),sp=rt({bgColor:String,landscape:Boolean,title:String,hideHeader:Boolean,...ap()},"VPicker"),Ru=It()({name:"VPicker",props:sp(),setup(e,t){let{slots:n}=t;const{backgroundColorClasses:i,backgroundColorStyles:r}=La(Ft(e,"color"));return sn(()=>{const a=Iu.filterProps(e),s=!!(e.title||n.title);return ve(Iu,Ke(a,{color:e.bgColor,class:["v-picker",{"v-picker--landscape":e.landscape,"v-picker--with-actions":!!n.actions},e.class],style:e.style}),{default:()=>{var o;return[!e.hideHeader&&ve("div",{key:"header",class:[i.value],style:[r.value]},[s&&ve(P8,{key:"picker-title"},{default:()=>{var l;return[((l=n.title)==null?void 0:l.call(n))??e.title]}}),n.header&&ve("div",{class:"v-picker__header"},[n.header()])]),ve("div",{class:"v-picker__body"},[(o=n.default)==null?void 0:o.call(n)]),n.actions&&ve(ui,{defaults:{VBtn:{slim:!0,variant:"text"}}},{default:()=>[ve("div",{class:"v-picker__actions"},[n.actions()])]})]}})}),{}}}),T8=rt({header:{type:String,default:"$vuetify.datePicker.header"},...Jf(),...ep({weeksInMonth:"static"}),...cr(tp(),["modelValue"]),...cr(np(),["modelValue"]),...sp({title:"$vuetify.datePicker.title"}),modelValue:null},"VDatePicker"),M8=It()({name:"VDatePicker",props:T8(),emits:{"update:modelValue":e=>!0,"update:month":e=>!0,"update:year":e=>!0,"update:viewMode":e=>!0},setup(e,t){let{emit:n,slots:i}=t;const r=gi(),{t:a}=Ah(),s=_n(e,"modelValue",void 0,I=>ar(I),I=>e.multiple?I:I[0]),o=_n(e,"viewMode"),l=de(()=>{var F;const I=r.date((F=s.value)==null?void 0:F[0]);return I&&r.isValid(I)?I:r.date()}),c=be(Number(e.month??r.getMonth(r.startOfMonth(l.value)))),u=be(Number(e.year??r.getYear(r.startOfYear(r.setMonth(l.value,c.value))))),d=Et(!1),m=de(()=>e.multiple&&s.value.length>1?a("$vuetify.datePicker.itemsSelected",s.value.length):s.value[0]&&r.isValid(s.value[0])?r.format(r.date(s.value[0]),"normalDateWithWeekday"):a(e.header)),v=de(()=>{let I=r.date();return I=r.setDate(I,1),I=r.setMonth(I,c.value),I=r.setYear(I,u.value),r.format(I,"monthAndYear")}),h=de(()=>`date-picker-header${d.value?"-reverse":""}-transition`),f=de(()=>{const I=r.date(e.min);return e.min&&r.isValid(I)?I:null}),w=de(()=>{const I=r.date(e.max);return e.max&&r.isValid(I)?I:null}),_=de(()=>{if(e.disabled)return!0;const I=[];if(o.value!=="month")I.push("prev","next");else{let F=r.date();if(F=r.setYear(F,u.value),F=r.setMonth(F,c.value),f.value){const k=r.addDays(r.startOfMonth(F),-1);r.isAfter(f.value,k)&&I.push("prev")}if(w.value){const k=r.addDays(r.endOfMonth(F),1);r.isAfter(k,w.value)&&I.push("next")}}return I});function y(){c.value<11?c.value++:(u.value++,c.value=0,Q(u.value)),B(c.value)}function x(){c.value>0?c.value--:(u.value--,c.value=11,Q(u.value)),B(c.value)}function A(){o.value="month"}function E(){o.value=o.value==="months"?"month":"months"}function $(){o.value=o.value==="year"?"month":"year"}function B(I){o.value==="months"&&E(),n("update:month",I)}function Q(I){o.value==="year"&&$(),n("update:year",I)}return Qe(s,(I,F)=>{const k=ar(F),P=ar(I);if(!P.length)return;const C=r.date(k[k.length-1]),p=r.date(P[P.length-1]),g=r.getMonth(p),D=r.getYear(p);g!==c.value&&(c.value=g,B(c.value)),D!==u.value&&(u.value=D,Q(u.value)),d.value=r.isBefore(C,p)}),sn(()=>{const I=Ru.filterProps(e),F=Mu.filterProps(e),k=Lu.filterProps(e),P=$u.filterProps(e),C=cr(Ou.filterProps(e),["modelValue"]),p=cr(Du.filterProps(e),["modelValue"]),g={header:m.value,transition:h.value};return ve(Ru,Ke(I,{class:["v-date-picker",`v-date-picker--${o.value}`,{"v-date-picker--show-week":e.showWeek},e.class],style:e.style}),{title:()=>{var D;return((D=i.title)==null?void 0:D.call(i))??ve("div",{class:"v-date-picker__title"},[a(e.title)])},header:()=>i.header?ve(ui,{defaults:{VDatePickerHeader:{...g}}},{default:()=>{var D;return[(D=i.header)==null?void 0:D.call(i,g)]}}):ve(Lu,Ke({key:"header"},k,g,{onClick:o.value!=="month"?A:void 0}),{...i,default:void 0}),default:()=>ve(Be,null,[ve(Mu,Ke(F,{disabled:_.value,text:v.value,"onClick:next":y,"onClick:prev":x,"onClick:month":E,"onClick:year":$}),null),ve(E8,{hideOnLeave:!0},{default:()=>[o.value==="months"?ve(Ou,Ke({key:"date-picker-months"},C,{modelValue:c.value,"onUpdate:modelValue":[D=>c.value=D,B],min:f.value,max:w.value,year:u.value}),null):o.value==="year"?ve(Du,Ke({key:"date-picker-years"},p,{modelValue:u.value,"onUpdate:modelValue":[D=>u.value=D,Q],min:f.value,max:w.value}),null):ve($u,Ke({key:"date-picker-month"},P,{modelValue:s.value,"onUpdate:modelValue":D=>s.value=D,month:c.value,"onUpdate:month":[D=>c.value=D,B],year:u.value,"onUpdate:year":[D=>u.value=D,Q],min:f.value,max:w.value}),null)]})]),actions:i.actions})}),{}}}),L8={class:"c-date-picker"},$8={class:"c-date-picker__wrapper"},O8=De({__name:"CeDatePicker",props:JR,emits:["dateChange"],setup(e,{emit:t}){const n=e,i=t,r=gi(),a=de(()=>new Date),s=be(null),o=be(!1),l=be([]),c=de(()=>{var _,y,x,A;const f=((y=(_=l.value)==null?void 0:_[0])==null?void 0:y.toLocaleDateString(n.language))||"",w=((A=(x=l.value)==null?void 0:x[l.value.length-1])==null?void 0:A.toLocaleDateString(n.language))||"";return f&&w?f+" - "+w:f||w});Qe(()=>n.defaultDateRange,()=>{var _,y;const f=r.parseISO((_=n.defaultDateRange)==null?void 0:_[0]),w=r.parseISO((y=n.defaultDateRange)==null?void 0:y[1]);l.value=u(f,w)},{immediate:!0,deep:!0});function u(f,w){const _=[];let y=new Date(f);for(;y<=w;){_.push(new Date(y));const x=new Date(y);x.setDate(x.getDate()+1),y=x}return _}function d(){o.value=!o.value}function m(){o.value=!1}function v(){var f;return[(f=s.value)==null?void 0:f.input]}function h(f){f.length>0&&i("dateChange",f)}return(f,w)=>(J(),ue("div",L8,[ve(ln,{ref_key:"input",ref:s,value:c.value,label:f.label,class:Ne({"is-focused":o.value}),onClick:d,onKeypress:en(tt(d,["prevent"]),["enter"])},null,8,["value","label","class","onKeypress"]),he("div",$8,[Rt(ve(M8,{modelValue:l.value,"onUpdate:modelValue":[w[0]||(w[0]=_=>l.value=_),h],class:"c-date-picker__date-picker-box",min:f.minDate,max:a.value,multiple:"range","hide-header":!0,"show-adjacent-months":!0},null,8,["modelValue","min","max"]),[[pn,o.value],[No,{handler:m,include:v}]])])]))}});const op=ze(O8,[["__scopeId","data-v-3b135fb6"]]),D8={class:"c-pm-prices__form-outer"},I8={class:"c-pm-prices__form-wrapper"},R8={key:0,class:"c-pm-prices__form c-form c-form--background js-form"},B8={class:"c-prices__header"},F8={class:"c-prices__body is-bg-pale-gray"},N8={class:"c-pm-prices__form-wrap"},j8={class:"c-pm-prices__form-item"},H8={class:"c-pm-prices__form-item"},z8=De({__name:"CePMPricesFilters",props:ZR,emits:["setMessage","selectChanged","dateChange"],setup(e,{emit:t}){const n=Ze(),{label:i}=mt(n),r=e,{pmConfig:a}=r,s=t,o=u=>u.map(d=>({label:d.name,value:String(d.val),disabled:!1,default:d.val===1}));function l(u){s("selectChanged",u)}function c(u){const d=[u[0],u[u.length-1]];s("dateChange",d)}return(u,d)=>{var m,v;return J(),ue("div",D8,[he("div",I8,[(v=(m=we(a))==null?void 0:m.filters)!=null&&v.length?(J(),ue("form",R8,[he("div",B8,[he("div",F8,[he("div",N8,[he("div",j8,[(J(!0),ue(Be,null,Ue(we(a).filters,h=>(J(),ue("div",{key:`filter-${h.name}`},[h.type==="select"&&h.options?(J(),ke(fn,{key:0,id:h.name,class:Ne("c-pm-prices-filter__select"),name:h.name,label:we(i)(h.label),options:o(h.options),onSelectChanged:l},null,8,["id","name","label","options"])):pe("",!0)]))),128))]),he("div",H8,[ve(op,{class:Ne("c-pm-prices-filter__datepicker"),"min-date":u.minDate,"error-message":"error message",label:we(i)("pmPrices.filterDateRange"),"default-date-range":u.defaultDateRange,language:we(a).language,onDateChange:c},null,8,["min-date","label","default-date-range","language"])])])])])])):pe("",!0)])])}}});const V8=ze(z8,[["__scopeId","data-v-1b2aaa6d"]]),Bu={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"eine halbe Minute",withPreposition:"einer halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},W8=(e,t,n)=>{let i;const r=n!=null&&n.addSuffix?Bu[e].withPreposition:Bu[e].standalone;return typeof r=="string"?i=r:t===1?i=r.one:i=r.other.replace("{{count}}",String(t)),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:"vor "+i:i},U8={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},G8={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},q8={full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Y8={date:Ti({formats:U8,defaultWidth:"full"}),time:Ti({formats:G8,defaultWidth:"full"}),dateTime:Ti({formats:q8,defaultWidth:"full"})},X8={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},Q8=(e,t,n,i)=>X8[e],K8={narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},Z8={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},oo={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},J8={narrow:oo.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:oo.wide},eB={narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},tB={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},nB={narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},iB=e=>Number(e)+".",rB={ordinalNumber:iB,era:Pn({values:K8,defaultWidth:"wide"}),quarter:Pn({values:Z8,defaultWidth:"wide",argumentCallback:e=>e-1}),month:Pn({values:oo,formattingValues:J8,defaultWidth:"wide"}),day:Pn({values:eB,defaultWidth:"wide"}),dayPeriod:Pn({values:tB,defaultWidth:"wide",formattingValues:nB,defaultFormattingWidth:"wide"})},aB=/^(\d+)(\.)?/i,sB=/\d+/i,oB={narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},lB={any:[/^v/i,/^n/i]},cB={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},uB={any:[/1/i,/2/i,/3/i,/4/i]},dB={narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i},hB={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},fB={narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},pB={any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},mB={narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},gB={any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},vB={ordinalNumber:Lf({matchPattern:aB,parsePattern:sB,valueCallback:e=>parseInt(e)}),era:Tn({matchPatterns:oB,defaultMatchWidth:"wide",parsePatterns:lB,defaultParseWidth:"any"}),quarter:Tn({matchPatterns:cB,defaultMatchWidth:"wide",parsePatterns:uB,defaultParseWidth:"any",valueCallback:e=>e+1}),month:Tn({matchPatterns:dB,defaultMatchWidth:"wide",parsePatterns:hB,defaultParseWidth:"any"}),day:Tn({matchPatterns:fB,defaultMatchWidth:"wide",parsePatterns:pB,defaultParseWidth:"any"}),dayPeriod:Tn({matchPatterns:mB,defaultMatchWidth:"wide",parsePatterns:gB,defaultParseWidth:"any"})},yB={code:"de",formatDistance:W8,formatLong:Y8,formatRelative:Q8,localize:rB,match:vB,options:{weekStartsOn:1,firstWeekContainsDate:4}};var bB=1/0,_B="[object Symbol]",lp=/[&<>"'`]/g,wB=RegExp(lp.source),kB={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","`":"&#96;"},CB=typeof nn=="object"&&nn&&nn.Object===Object&&nn,xB=typeof self=="object"&&self&&self.Object===Object&&self,SB=CB||xB||Function("return this")();function AB(e){return function(t){return e==null?void 0:e[t]}}var EB=AB(kB),PB=Object.prototype,TB=PB.toString,Fu=SB.Symbol,Nu=Fu?Fu.prototype:void 0,ju=Nu?Nu.toString:void 0;function MB(e){if(typeof e=="string")return e;if($B(e))return ju?ju.call(e):"";var t=e+"";return t=="0"&&1/e==-bB?"-0":t}function LB(e){return!!e&&typeof e=="object"}function $B(e){return typeof e=="symbol"||LB(e)&&TB.call(e)==_B}function OB(e){return e==null?"":MB(e)}function DB(e){return e=OB(e),e&&wB.test(e)?e.replace(lp,EB):e}var IB=DB;const RB=Hi(IB);function Hr(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var cp={exports:{}};/*!

JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>

(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.

JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/main/LICENSE
*/(function(e,t){(function(n){e.exports=n()})(function(){return function n(i,r,a){function s(c,u){if(!r[c]){if(!i[c]){var d=typeof Hr=="function"&&Hr;if(!u&&d)return d(c,!0);if(o)return o(c,!0);var m=new Error("Cannot find module '"+c+"'");throw m.code="MODULE_NOT_FOUND",m}var v=r[c]={exports:{}};i[c][0].call(v.exports,function(h){var f=i[c][1][h];return s(f||h)},v,v.exports,n,i,r,a)}return r[c].exports}for(var o=typeof Hr=="function"&&Hr,l=0;l<a.length;l++)s(a[l]);return s}({1:[function(n,i,r){var a=n("./utils"),s=n("./support"),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(l){for(var c,u,d,m,v,h,f,w=[],_=0,y=l.length,x=y,A=a.getTypeOf(l)!=="string";_<l.length;)x=y-_,d=A?(c=l[_++],u=_<y?l[_++]:0,_<y?l[_++]:0):(c=l.charCodeAt(_++),u=_<y?l.charCodeAt(_++):0,_<y?l.charCodeAt(_++):0),m=c>>2,v=(3&c)<<4|u>>4,h=1<x?(15&u)<<2|d>>6:64,f=2<x?63&d:64,w.push(o.charAt(m)+o.charAt(v)+o.charAt(h)+o.charAt(f));return w.join("")},r.decode=function(l){var c,u,d,m,v,h,f=0,w=0,_="data:";if(l.substr(0,_.length)===_)throw new Error("Invalid base64 input, it looks like a data url.");var y,x=3*(l=l.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(l.charAt(l.length-1)===o.charAt(64)&&x--,l.charAt(l.length-2)===o.charAt(64)&&x--,x%1!=0)throw new Error("Invalid base64 input, bad content length.");for(y=s.uint8array?new Uint8Array(0|x):new Array(0|x);f<l.length;)c=o.indexOf(l.charAt(f++))<<2|(m=o.indexOf(l.charAt(f++)))>>4,u=(15&m)<<4|(v=o.indexOf(l.charAt(f++)))>>2,d=(3&v)<<6|(h=o.indexOf(l.charAt(f++))),y[w++]=c,v!==64&&(y[w++]=u),h!==64&&(y[w++]=d);return y}},{"./support":30,"./utils":32}],2:[function(n,i,r){var a=n("./external"),s=n("./stream/DataWorker"),o=n("./stream/Crc32Probe"),l=n("./stream/DataLengthProbe");function c(u,d,m,v,h){this.compressedSize=u,this.uncompressedSize=d,this.crc32=m,this.compression=v,this.compressedContent=h}c.prototype={getContentWorker:function(){var u=new s(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new l("data_length")),d=this;return u.on("end",function(){if(this.streamInfo.data_length!==d.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),u},getCompressedWorker:function(){return new s(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},c.createWorkerFrom=function(u,d,m){return u.pipe(new o).pipe(new l("uncompressedSize")).pipe(d.compressWorker(m)).pipe(new l("compressedSize")).withStreamInfo("compression",d)},i.exports=c},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(n,i,r){var a=n("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},r.DEFLATE=n("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(n,i,r){var a=n("./utils"),s=function(){for(var o,l=[],c=0;c<256;c++){o=c;for(var u=0;u<8;u++)o=1&o?3988292384^o>>>1:o>>>1;l[c]=o}return l}();i.exports=function(o,l){return o!==void 0&&o.length?a.getTypeOf(o)!=="string"?function(c,u,d,m){var v=s,h=m+d;c^=-1;for(var f=m;f<h;f++)c=c>>>8^v[255&(c^u[f])];return-1^c}(0|l,o,o.length,0):function(c,u,d,m){var v=s,h=m+d;c^=-1;for(var f=m;f<h;f++)c=c>>>8^v[255&(c^u.charCodeAt(f))];return-1^c}(0|l,o,o.length,0):0}},{"./utils":32}],5:[function(n,i,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(n,i,r){var a=null;a=typeof Promise<"u"?Promise:n("lie"),i.exports={Promise:a}},{lie:37}],7:[function(n,i,r){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",s=n("pako"),o=n("./utils"),l=n("./stream/GenericWorker"),c=a?"uint8array":"array";function u(d,m){l.call(this,"FlateWorker/"+d),this._pako=null,this._pakoAction=d,this._pakoOptions=m,this.meta={}}r.magic="\b\0",o.inherits(u,l),u.prototype.processChunk=function(d){this.meta=d.meta,this._pako===null&&this._createPako(),this._pako.push(o.transformTo(c,d.data),!1)},u.prototype.flush=function(){l.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},u.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this._pako=null},u.prototype._createPako=function(){this._pako=new s[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var d=this;this._pako.onData=function(m){d.push({data:m,meta:d.meta})}},r.compressWorker=function(d){return new u("Deflate",d)},r.uncompressWorker=function(){return new u("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(n,i,r){function a(v,h){var f,w="";for(f=0;f<h;f++)w+=String.fromCharCode(255&v),v>>>=8;return w}function s(v,h,f,w,_,y){var x,A,E=v.file,$=v.compression,B=y!==c.utf8encode,Q=o.transformTo("string",y(E.name)),I=o.transformTo("string",c.utf8encode(E.name)),F=E.comment,k=o.transformTo("string",y(F)),P=o.transformTo("string",c.utf8encode(F)),C=I.length!==E.name.length,p=P.length!==F.length,g="",D="",R="",Z=E.dir,G=E.date,V={crc32:0,compressedSize:0,uncompressedSize:0};h&&!f||(V.crc32=v.crc32,V.compressedSize=v.compressedSize,V.uncompressedSize=v.uncompressedSize);var X=0;h&&(X|=8),B||!C&&!p||(X|=2048);var ee=0,S=0;Z&&(ee|=16),_==="UNIX"?(S=798,ee|=function(M,H){var q=M;return M||(q=H?16893:33204),(65535&q)<<16}(E.unixPermissions,Z)):(S=20,ee|=function(M){return 63&(M||0)}(E.dosPermissions)),x=G.getUTCHours(),x<<=6,x|=G.getUTCMinutes(),x<<=5,x|=G.getUTCSeconds()/2,A=G.getUTCFullYear()-1980,A<<=4,A|=G.getUTCMonth()+1,A<<=5,A|=G.getUTCDate(),C&&(D=a(1,1)+a(u(Q),4)+I,g+="up"+a(D.length,2)+D),p&&(R=a(1,1)+a(u(k),4)+P,g+="uc"+a(R.length,2)+R);var O="";return O+=`
\0`,O+=a(X,2),O+=$.magic,O+=a(x,2),O+=a(A,2),O+=a(V.crc32,4),O+=a(V.compressedSize,4),O+=a(V.uncompressedSize,4),O+=a(Q.length,2),O+=a(g.length,2),{fileRecord:d.LOCAL_FILE_HEADER+O+Q+g,dirRecord:d.CENTRAL_FILE_HEADER+a(S,2)+O+a(k.length,2)+"\0\0\0\0"+a(ee,4)+a(w,4)+Q+g+k}}var o=n("../utils"),l=n("../stream/GenericWorker"),c=n("../utf8"),u=n("../crc32"),d=n("../signature");function m(v,h,f,w){l.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=h,this.zipPlatform=f,this.encodeFileName=w,this.streamFiles=v,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}o.inherits(m,l),m.prototype.push=function(v){var h=v.meta.percent||0,f=this.entriesCount,w=this._sources.length;this.accumulate?this.contentBuffer.push(v):(this.bytesWritten+=v.data.length,l.prototype.push.call(this,{data:v.data,meta:{currentFile:this.currentFile,percent:f?(h+100*(f-w-1))/f:100}}))},m.prototype.openedSource=function(v){this.currentSourceOffset=this.bytesWritten,this.currentFile=v.file.name;var h=this.streamFiles&&!v.file.dir;if(h){var f=s(v,h,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:f.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(v){this.accumulate=!1;var h=this.streamFiles&&!v.file.dir,f=s(v,h,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(f.dirRecord),h)this.push({data:function(w){return d.DATA_DESCRIPTOR+a(w.crc32,4)+a(w.compressedSize,4)+a(w.uncompressedSize,4)}(v),meta:{percent:100}});else for(this.push({data:f.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},m.prototype.flush=function(){for(var v=this.bytesWritten,h=0;h<this.dirRecords.length;h++)this.push({data:this.dirRecords[h],meta:{percent:100}});var f=this.bytesWritten-v,w=function(_,y,x,A,E){var $=o.transformTo("string",E(A));return d.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(_,2)+a(_,2)+a(y,4)+a(x,4)+a($.length,2)+$}(this.dirRecords.length,f,v,this.zipComment,this.encodeFileName);this.push({data:w,meta:{percent:100}})},m.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},m.prototype.registerPrevious=function(v){this._sources.push(v);var h=this;return v.on("data",function(f){h.processChunk(f)}),v.on("end",function(){h.closedSource(h.previous.streamInfo),h._sources.length?h.prepareNextSource():h.end()}),v.on("error",function(f){h.error(f)}),this},m.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},m.prototype.error=function(v){var h=this._sources;if(!l.prototype.error.call(this,v))return!1;for(var f=0;f<h.length;f++)try{h[f].error(v)}catch{}return!0},m.prototype.lock=function(){l.prototype.lock.call(this);for(var v=this._sources,h=0;h<v.length;h++)v[h].lock()},i.exports=m},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(n,i,r){var a=n("../compressions"),s=n("./ZipFileWorker");r.generateWorker=function(o,l,c){var u=new s(l.streamFiles,c,l.platform,l.encodeFileName),d=0;try{o.forEach(function(m,v){d++;var h=function(y,x){var A=y||x,E=a[A];if(!E)throw new Error(A+" is not a valid compression method !");return E}(v.options.compression,l.compression),f=v.options.compressionOptions||l.compressionOptions||{},w=v.dir,_=v.date;v._compressWorker(h,f).withStreamInfo("file",{name:m,dir:w,date:_,comment:v.comment||"",unixPermissions:v.unixPermissions,dosPermissions:v.dosPermissions}).pipe(u)}),u.entriesCount=d}catch(m){u.error(m)}return u}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(n,i,r){function a(){if(!(this instanceof a))return new a;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var s=new a;for(var o in this)typeof this[o]!="function"&&(s[o]=this[o]);return s}}(a.prototype=n("./object")).loadAsync=n("./load"),a.support=n("./support"),a.defaults=n("./defaults"),a.version="3.10.1",a.loadAsync=function(s,o){return new a().loadAsync(s,o)},a.external=n("./external"),i.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(n,i,r){var a=n("./utils"),s=n("./external"),o=n("./utf8"),l=n("./zipEntries"),c=n("./stream/Crc32Probe"),u=n("./nodejsUtils");function d(m){return new s.Promise(function(v,h){var f=m.decompressed.getContentWorker().pipe(new c);f.on("error",function(w){h(w)}).on("end",function(){f.streamInfo.crc32!==m.decompressed.crc32?h(new Error("Corrupted zip : CRC32 mismatch")):v()}).resume()})}i.exports=function(m,v){var h=this;return v=a.extend(v||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:o.utf8decode}),u.isNode&&u.isStream(m)?s.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",m,!0,v.optimizedBinaryString,v.base64).then(function(f){var w=new l(v);return w.load(f),w}).then(function(f){var w=[s.Promise.resolve(f)],_=f.files;if(v.checkCRC32)for(var y=0;y<_.length;y++)w.push(d(_[y]));return s.Promise.all(w)}).then(function(f){for(var w=f.shift(),_=w.files,y=0;y<_.length;y++){var x=_[y],A=x.fileNameStr,E=a.resolve(x.fileNameStr);h.file(E,x.decompressed,{binary:!0,optimizedBinaryString:!0,date:x.date,dir:x.dir,comment:x.fileCommentStr.length?x.fileCommentStr:null,unixPermissions:x.unixPermissions,dosPermissions:x.dosPermissions,createFolders:v.createFolders}),x.dir||(h.file(E).unsafeOriginalName=A)}return w.zipComment.length&&(h.comment=w.zipComment),h})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(n,i,r){var a=n("../utils"),s=n("../stream/GenericWorker");function o(l,c){s.call(this,"Nodejs stream input adapter for "+l),this._upstreamEnded=!1,this._bindStream(c)}a.inherits(o,s),o.prototype._bindStream=function(l){var c=this;(this._stream=l).pause(),l.on("data",function(u){c.push({data:u,meta:{percent:0}})}).on("error",function(u){c.isPaused?this.generatedError=u:c.error(u)}).on("end",function(){c.isPaused?c._upstreamEnded=!0:c.end()})},o.prototype.pause=function(){return!!s.prototype.pause.call(this)&&(this._stream.pause(),!0)},o.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},i.exports=o},{"../stream/GenericWorker":28,"../utils":32}],13:[function(n,i,r){var a=n("readable-stream").Readable;function s(o,l,c){a.call(this,l),this._helper=o;var u=this;o.on("data",function(d,m){u.push(d)||u._helper.pause(),c&&c(m)}).on("error",function(d){u.emit("error",d)}).on("end",function(){u.push(null)})}n("../utils").inherits(s,a),s.prototype._read=function(){this._helper.resume()},i.exports=s},{"../utils":32,"readable-stream":16}],14:[function(n,i,r){i.exports={isNode:typeof Buffer<"u",newBufferFrom:function(a,s){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(a,s);if(typeof a=="number")throw new Error('The "data" argument must not be a number');return new Buffer(a,s)},allocBuffer:function(a){if(Buffer.alloc)return Buffer.alloc(a);var s=new Buffer(a);return s.fill(0),s},isBuffer:function(a){return Buffer.isBuffer(a)},isStream:function(a){return a&&typeof a.on=="function"&&typeof a.pause=="function"&&typeof a.resume=="function"}}},{}],15:[function(n,i,r){function a(E,$,B){var Q,I=o.getTypeOf($),F=o.extend(B||{},u);F.date=F.date||new Date,F.compression!==null&&(F.compression=F.compression.toUpperCase()),typeof F.unixPermissions=="string"&&(F.unixPermissions=parseInt(F.unixPermissions,8)),F.unixPermissions&&16384&F.unixPermissions&&(F.dir=!0),F.dosPermissions&&16&F.dosPermissions&&(F.dir=!0),F.dir&&(E=_(E)),F.createFolders&&(Q=w(E))&&y.call(this,Q,!0);var k=I==="string"&&F.binary===!1&&F.base64===!1;B&&B.binary!==void 0||(F.binary=!k),($ instanceof d&&$.uncompressedSize===0||F.dir||!$||$.length===0)&&(F.base64=!1,F.binary=!0,$="",F.compression="STORE",I="string");var P=null;P=$ instanceof d||$ instanceof l?$:h.isNode&&h.isStream($)?new f(E,$):o.prepareContent(E,$,F.binary,F.optimizedBinaryString,F.base64);var C=new m(E,P,F);this.files[E]=C}var s=n("./utf8"),o=n("./utils"),l=n("./stream/GenericWorker"),c=n("./stream/StreamHelper"),u=n("./defaults"),d=n("./compressedObject"),m=n("./zipObject"),v=n("./generate"),h=n("./nodejsUtils"),f=n("./nodejs/NodejsStreamInputAdapter"),w=function(E){E.slice(-1)==="/"&&(E=E.substring(0,E.length-1));var $=E.lastIndexOf("/");return 0<$?E.substring(0,$):""},_=function(E){return E.slice(-1)!=="/"&&(E+="/"),E},y=function(E,$){return $=$!==void 0?$:u.createFolders,E=_(E),this.files[E]||a.call(this,E,null,{dir:!0,createFolders:$}),this.files[E]};function x(E){return Object.prototype.toString.call(E)==="[object RegExp]"}var A={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(E){var $,B,Q;for($ in this.files)Q=this.files[$],(B=$.slice(this.root.length,$.length))&&$.slice(0,this.root.length)===this.root&&E(B,Q)},filter:function(E){var $=[];return this.forEach(function(B,Q){E(B,Q)&&$.push(Q)}),$},file:function(E,$,B){if(arguments.length!==1)return E=this.root+E,a.call(this,E,$,B),this;if(x(E)){var Q=E;return this.filter(function(F,k){return!k.dir&&Q.test(F)})}var I=this.files[this.root+E];return I&&!I.dir?I:null},folder:function(E){if(!E)return this;if(x(E))return this.filter(function(I,F){return F.dir&&E.test(I)});var $=this.root+E,B=y.call(this,$),Q=this.clone();return Q.root=B.name,Q},remove:function(E){E=this.root+E;var $=this.files[E];if($||(E.slice(-1)!=="/"&&(E+="/"),$=this.files[E]),$&&!$.dir)delete this.files[E];else for(var B=this.filter(function(I,F){return F.name.slice(0,E.length)===E}),Q=0;Q<B.length;Q++)delete this.files[B[Q].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(E){var $,B={};try{if((B=o.extend(E||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:s.utf8encode})).type=B.type.toLowerCase(),B.compression=B.compression.toUpperCase(),B.type==="binarystring"&&(B.type="string"),!B.type)throw new Error("No output type specified.");o.checkSupport(B.type),B.platform!=="darwin"&&B.platform!=="freebsd"&&B.platform!=="linux"&&B.platform!=="sunos"||(B.platform="UNIX"),B.platform==="win32"&&(B.platform="DOS");var Q=B.comment||this.comment||"";$=v.generateWorker(this,B,Q)}catch(I){($=new l("error")).error(I)}return new c($,B.type||"string",B.mimeType)},generateAsync:function(E,$){return this.generateInternalStream(E).accumulate($)},generateNodeStream:function(E,$){return(E=E||{}).type||(E.type="nodebuffer"),this.generateInternalStream(E).toNodejsStream($)}};i.exports=A},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(n,i,r){i.exports=n("stream")},{stream:void 0}],17:[function(n,i,r){var a=n("./DataReader");function s(o){a.call(this,o);for(var l=0;l<this.data.length;l++)o[l]=255&o[l]}n("../utils").inherits(s,a),s.prototype.byteAt=function(o){return this.data[this.zero+o]},s.prototype.lastIndexOfSignature=function(o){for(var l=o.charCodeAt(0),c=o.charCodeAt(1),u=o.charCodeAt(2),d=o.charCodeAt(3),m=this.length-4;0<=m;--m)if(this.data[m]===l&&this.data[m+1]===c&&this.data[m+2]===u&&this.data[m+3]===d)return m-this.zero;return-1},s.prototype.readAndCheckSignature=function(o){var l=o.charCodeAt(0),c=o.charCodeAt(1),u=o.charCodeAt(2),d=o.charCodeAt(3),m=this.readData(4);return l===m[0]&&c===m[1]&&u===m[2]&&d===m[3]},s.prototype.readData=function(o){if(this.checkOffset(o),o===0)return[];var l=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},i.exports=s},{"../utils":32,"./DataReader":18}],18:[function(n,i,r){var a=n("../utils");function s(o){this.data=o,this.length=o.length,this.index=0,this.zero=0}s.prototype={checkOffset:function(o){this.checkIndex(this.index+o)},checkIndex:function(o){if(this.length<this.zero+o||o<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+o+"). Corrupted zip ?")},setIndex:function(o){this.checkIndex(o),this.index=o},skip:function(o){this.setIndex(this.index+o)},byteAt:function(){},readInt:function(o){var l,c=0;for(this.checkOffset(o),l=this.index+o-1;l>=this.index;l--)c=(c<<8)+this.byteAt(l);return this.index+=o,c},readString:function(o){return a.transformTo("string",this.readData(o))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var o=this.readInt(4);return new Date(Date.UTC(1980+(o>>25&127),(o>>21&15)-1,o>>16&31,o>>11&31,o>>5&63,(31&o)<<1))}},i.exports=s},{"../utils":32}],19:[function(n,i,r){var a=n("./Uint8ArrayReader");function s(o){a.call(this,o)}n("../utils").inherits(s,a),s.prototype.readData=function(o){this.checkOffset(o);var l=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},i.exports=s},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(n,i,r){var a=n("./DataReader");function s(o){a.call(this,o)}n("../utils").inherits(s,a),s.prototype.byteAt=function(o){return this.data.charCodeAt(this.zero+o)},s.prototype.lastIndexOfSignature=function(o){return this.data.lastIndexOf(o)-this.zero},s.prototype.readAndCheckSignature=function(o){return o===this.readData(4)},s.prototype.readData=function(o){this.checkOffset(o);var l=this.data.slice(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},i.exports=s},{"../utils":32,"./DataReader":18}],21:[function(n,i,r){var a=n("./ArrayReader");function s(o){a.call(this,o)}n("../utils").inherits(s,a),s.prototype.readData=function(o){if(this.checkOffset(o),o===0)return new Uint8Array(0);var l=this.data.subarray(this.zero+this.index,this.zero+this.index+o);return this.index+=o,l},i.exports=s},{"../utils":32,"./ArrayReader":17}],22:[function(n,i,r){var a=n("../utils"),s=n("../support"),o=n("./ArrayReader"),l=n("./StringReader"),c=n("./NodeBufferReader"),u=n("./Uint8ArrayReader");i.exports=function(d){var m=a.getTypeOf(d);return a.checkSupport(m),m!=="string"||s.uint8array?m==="nodebuffer"?new c(d):s.uint8array?new u(a.transformTo("uint8array",d)):new o(a.transformTo("array",d)):new l(d)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(n,i,r){r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(n,i,r){var a=n("./GenericWorker"),s=n("../utils");function o(l){a.call(this,"ConvertWorker to "+l),this.destType=l}s.inherits(o,a),o.prototype.processChunk=function(l){this.push({data:s.transformTo(this.destType,l.data),meta:l.meta})},i.exports=o},{"../utils":32,"./GenericWorker":28}],25:[function(n,i,r){var a=n("./GenericWorker"),s=n("../crc32");function o(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}n("../utils").inherits(o,a),o.prototype.processChunk=function(l){this.streamInfo.crc32=s(l.data,this.streamInfo.crc32||0),this.push(l)},i.exports=o},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(n,i,r){var a=n("../utils"),s=n("./GenericWorker");function o(l){s.call(this,"DataLengthProbe for "+l),this.propName=l,this.withStreamInfo(l,0)}a.inherits(o,s),o.prototype.processChunk=function(l){if(l){var c=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=c+l.data.length}s.prototype.processChunk.call(this,l)},i.exports=o},{"../utils":32,"./GenericWorker":28}],27:[function(n,i,r){var a=n("../utils"),s=n("./GenericWorker");function o(l){s.call(this,"DataWorker");var c=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,l.then(function(u){c.dataIsReady=!0,c.data=u,c.max=u&&u.length||0,c.type=a.getTypeOf(u),c.isPaused||c._tickAndRepeat()},function(u){c.error(u)})}a.inherits(o,s),o.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this.data=null},o.prototype.resume=function(){return!!s.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},o.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},o.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var l=null,c=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":l=this.data.substring(this.index,c);break;case"uint8array":l=this.data.subarray(this.index,c);break;case"array":case"nodebuffer":l=this.data.slice(this.index,c)}return this.index=c,this.push({data:l,meta:{percent:this.max?this.index/this.max*100:0}})},i.exports=o},{"../utils":32,"./GenericWorker":28}],28:[function(n,i,r){function a(s){this.name=s||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}a.prototype={push:function(s){this.emit("data",s)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(s){this.emit("error",s)}return!0},error:function(s){return!this.isFinished&&(this.isPaused?this.generatedError=s:(this.isFinished=!0,this.emit("error",s),this.previous&&this.previous.error(s),this.cleanUp()),!0)},on:function(s,o){return this._listeners[s].push(o),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(s,o){if(this._listeners[s])for(var l=0;l<this._listeners[s].length;l++)this._listeners[s][l].call(this,o)},pipe:function(s){return s.registerPrevious(this)},registerPrevious:function(s){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=s.streamInfo,this.mergeStreamInfo(),this.previous=s;var o=this;return s.on("data",function(l){o.processChunk(l)}),s.on("end",function(){o.end()}),s.on("error",function(l){o.error(l)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var s=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),s=!0),this.previous&&this.previous.resume(),!s},flush:function(){},processChunk:function(s){this.push(s)},withStreamInfo:function(s,o){return this.extraStreamInfo[s]=o,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var s in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,s)&&(this.streamInfo[s]=this.extraStreamInfo[s])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var s="Worker "+this.name;return this.previous?this.previous+" -> "+s:s}},i.exports=a},{}],29:[function(n,i,r){var a=n("../utils"),s=n("./ConvertWorker"),o=n("./GenericWorker"),l=n("../base64"),c=n("../support"),u=n("../external"),d=null;if(c.nodestream)try{d=n("../nodejs/NodejsStreamOutputAdapter")}catch{}function m(h,f){return new u.Promise(function(w,_){var y=[],x=h._internalType,A=h._outputType,E=h._mimeType;h.on("data",function($,B){y.push($),f&&f(B)}).on("error",function($){y=[],_($)}).on("end",function(){try{var $=function(B,Q,I){switch(B){case"blob":return a.newBlob(a.transformTo("arraybuffer",Q),I);case"base64":return l.encode(Q);default:return a.transformTo(B,Q)}}(A,function(B,Q){var I,F=0,k=null,P=0;for(I=0;I<Q.length;I++)P+=Q[I].length;switch(B){case"string":return Q.join("");case"array":return Array.prototype.concat.apply([],Q);case"uint8array":for(k=new Uint8Array(P),I=0;I<Q.length;I++)k.set(Q[I],F),F+=Q[I].length;return k;case"nodebuffer":return Buffer.concat(Q);default:throw new Error("concat : unsupported type '"+B+"'")}}(x,y),E);w($)}catch(B){_(B)}y=[]}).resume()})}function v(h,f,w){var _=f;switch(f){case"blob":case"arraybuffer":_="uint8array";break;case"base64":_="string"}try{this._internalType=_,this._outputType=f,this._mimeType=w,a.checkSupport(_),this._worker=h.pipe(new s(_)),h.lock()}catch(y){this._worker=new o("error"),this._worker.error(y)}}v.prototype={accumulate:function(h){return m(this,h)},on:function(h,f){var w=this;return h==="data"?this._worker.on(h,function(_){f.call(w,_.data,_.meta)}):this._worker.on(h,function(){a.delay(f,arguments,w)}),this},resume:function(){return a.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(h){if(a.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new d(this,{objectMode:this._outputType!=="nodebuffer"},h)}},i.exports=v},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(n,i,r){if(r.base64=!0,r.array=!0,r.string=!0,r.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",r.nodebuffer=typeof Buffer<"u",r.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")r.blob=!1;else{var a=new ArrayBuffer(0);try{r.blob=new Blob([a],{type:"application/zip"}).size===0}catch{try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(a),r.blob=s.getBlob("application/zip").size===0}catch{r.blob=!1}}}try{r.nodestream=!!n("readable-stream").Readable}catch{r.nodestream=!1}},{"readable-stream":16}],31:[function(n,i,r){for(var a=n("./utils"),s=n("./support"),o=n("./nodejsUtils"),l=n("./stream/GenericWorker"),c=new Array(256),u=0;u<256;u++)c[u]=252<=u?6:248<=u?5:240<=u?4:224<=u?3:192<=u?2:1;c[254]=c[254]=1;function d(){l.call(this,"utf-8 decode"),this.leftOver=null}function m(){l.call(this,"utf-8 encode")}r.utf8encode=function(v){return s.nodebuffer?o.newBufferFrom(v,"utf-8"):function(h){var f,w,_,y,x,A=h.length,E=0;for(y=0;y<A;y++)(64512&(w=h.charCodeAt(y)))==55296&&y+1<A&&(64512&(_=h.charCodeAt(y+1)))==56320&&(w=65536+(w-55296<<10)+(_-56320),y++),E+=w<128?1:w<2048?2:w<65536?3:4;for(f=s.uint8array?new Uint8Array(E):new Array(E),y=x=0;x<E;y++)(64512&(w=h.charCodeAt(y)))==55296&&y+1<A&&(64512&(_=h.charCodeAt(y+1)))==56320&&(w=65536+(w-55296<<10)+(_-56320),y++),w<128?f[x++]=w:(w<2048?f[x++]=192|w>>>6:(w<65536?f[x++]=224|w>>>12:(f[x++]=240|w>>>18,f[x++]=128|w>>>12&63),f[x++]=128|w>>>6&63),f[x++]=128|63&w);return f}(v)},r.utf8decode=function(v){return s.nodebuffer?a.transformTo("nodebuffer",v).toString("utf-8"):function(h){var f,w,_,y,x=h.length,A=new Array(2*x);for(f=w=0;f<x;)if((_=h[f++])<128)A[w++]=_;else if(4<(y=c[_]))A[w++]=65533,f+=y-1;else{for(_&=y===2?31:y===3?15:7;1<y&&f<x;)_=_<<6|63&h[f++],y--;1<y?A[w++]=65533:_<65536?A[w++]=_:(_-=65536,A[w++]=55296|_>>10&1023,A[w++]=56320|1023&_)}return A.length!==w&&(A.subarray?A=A.subarray(0,w):A.length=w),a.applyFromCharCode(A)}(v=a.transformTo(s.uint8array?"uint8array":"array",v))},a.inherits(d,l),d.prototype.processChunk=function(v){var h=a.transformTo(s.uint8array?"uint8array":"array",v.data);if(this.leftOver&&this.leftOver.length){if(s.uint8array){var f=h;(h=new Uint8Array(f.length+this.leftOver.length)).set(this.leftOver,0),h.set(f,this.leftOver.length)}else h=this.leftOver.concat(h);this.leftOver=null}var w=function(y,x){var A;for((x=x||y.length)>y.length&&(x=y.length),A=x-1;0<=A&&(192&y[A])==128;)A--;return A<0||A===0?x:A+c[y[A]]>x?A:x}(h),_=h;w!==h.length&&(s.uint8array?(_=h.subarray(0,w),this.leftOver=h.subarray(w,h.length)):(_=h.slice(0,w),this.leftOver=h.slice(w,h.length))),this.push({data:r.utf8decode(_),meta:v.meta})},d.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=d,a.inherits(m,l),m.prototype.processChunk=function(v){this.push({data:r.utf8encode(v.data),meta:v.meta})},r.Utf8EncodeWorker=m},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(n,i,r){var a=n("./support"),s=n("./base64"),o=n("./nodejsUtils"),l=n("./external");function c(f){return f}function u(f,w){for(var _=0;_<f.length;++_)w[_]=255&f.charCodeAt(_);return w}n("setimmediate"),r.newBlob=function(f,w){r.checkSupport("blob");try{return new Blob([f],{type:w})}catch{try{var _=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return _.append(f),_.getBlob(w)}catch{throw new Error("Bug : can't construct the Blob.")}}};var d={stringifyByChunk:function(f,w,_){var y=[],x=0,A=f.length;if(A<=_)return String.fromCharCode.apply(null,f);for(;x<A;)w==="array"||w==="nodebuffer"?y.push(String.fromCharCode.apply(null,f.slice(x,Math.min(x+_,A)))):y.push(String.fromCharCode.apply(null,f.subarray(x,Math.min(x+_,A)))),x+=_;return y.join("")},stringifyByChar:function(f){for(var w="",_=0;_<f.length;_++)w+=String.fromCharCode(f[_]);return w},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&String.fromCharCode.apply(null,o.allocBuffer(1)).length===1}catch{return!1}}()}};function m(f){var w=65536,_=r.getTypeOf(f),y=!0;if(_==="uint8array"?y=d.applyCanBeUsed.uint8array:_==="nodebuffer"&&(y=d.applyCanBeUsed.nodebuffer),y)for(;1<w;)try{return d.stringifyByChunk(f,_,w)}catch{w=Math.floor(w/2)}return d.stringifyByChar(f)}function v(f,w){for(var _=0;_<f.length;_++)w[_]=f[_];return w}r.applyFromCharCode=m;var h={};h.string={string:c,array:function(f){return u(f,new Array(f.length))},arraybuffer:function(f){return h.string.uint8array(f).buffer},uint8array:function(f){return u(f,new Uint8Array(f.length))},nodebuffer:function(f){return u(f,o.allocBuffer(f.length))}},h.array={string:m,array:c,arraybuffer:function(f){return new Uint8Array(f).buffer},uint8array:function(f){return new Uint8Array(f)},nodebuffer:function(f){return o.newBufferFrom(f)}},h.arraybuffer={string:function(f){return m(new Uint8Array(f))},array:function(f){return v(new Uint8Array(f),new Array(f.byteLength))},arraybuffer:c,uint8array:function(f){return new Uint8Array(f)},nodebuffer:function(f){return o.newBufferFrom(new Uint8Array(f))}},h.uint8array={string:m,array:function(f){return v(f,new Array(f.length))},arraybuffer:function(f){return f.buffer},uint8array:c,nodebuffer:function(f){return o.newBufferFrom(f)}},h.nodebuffer={string:m,array:function(f){return v(f,new Array(f.length))},arraybuffer:function(f){return h.nodebuffer.uint8array(f).buffer},uint8array:function(f){return v(f,new Uint8Array(f.length))},nodebuffer:c},r.transformTo=function(f,w){if(w=w||"",!f)return w;r.checkSupport(f);var _=r.getTypeOf(w);return h[_][f](w)},r.resolve=function(f){for(var w=f.split("/"),_=[],y=0;y<w.length;y++){var x=w[y];x==="."||x===""&&y!==0&&y!==w.length-1||(x===".."?_.pop():_.push(x))}return _.join("/")},r.getTypeOf=function(f){return typeof f=="string"?"string":Object.prototype.toString.call(f)==="[object Array]"?"array":a.nodebuffer&&o.isBuffer(f)?"nodebuffer":a.uint8array&&f instanceof Uint8Array?"uint8array":a.arraybuffer&&f instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(f){if(!a[f.toLowerCase()])throw new Error(f+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(f){var w,_,y="";for(_=0;_<(f||"").length;_++)y+="\\x"+((w=f.charCodeAt(_))<16?"0":"")+w.toString(16).toUpperCase();return y},r.delay=function(f,w,_){setImmediate(function(){f.apply(_||null,w||[])})},r.inherits=function(f,w){function _(){}_.prototype=w.prototype,f.prototype=new _},r.extend=function(){var f,w,_={};for(f=0;f<arguments.length;f++)for(w in arguments[f])Object.prototype.hasOwnProperty.call(arguments[f],w)&&_[w]===void 0&&(_[w]=arguments[f][w]);return _},r.prepareContent=function(f,w,_,y,x){return l.Promise.resolve(w).then(function(A){return a.blob&&(A instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(A))!==-1)&&typeof FileReader<"u"?new l.Promise(function(E,$){var B=new FileReader;B.onload=function(Q){E(Q.target.result)},B.onerror=function(Q){$(Q.target.error)},B.readAsArrayBuffer(A)}):A}).then(function(A){var E=r.getTypeOf(A);return E?(E==="arraybuffer"?A=r.transformTo("uint8array",A):E==="string"&&(x?A=s.decode(A):_&&y!==!0&&(A=function($){return u($,a.uint8array?new Uint8Array($.length):new Array($.length))}(A))),A):l.Promise.reject(new Error("Can't read the data of '"+f+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(n,i,r){var a=n("./reader/readerFor"),s=n("./utils"),o=n("./signature"),l=n("./zipEntry"),c=n("./support");function u(d){this.files=[],this.loadOptions=d}u.prototype={checkSignature:function(d){if(!this.reader.readAndCheckSignature(d)){this.reader.index-=4;var m=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+s.pretty(m)+", expected "+s.pretty(d)+")")}},isSignature:function(d,m){var v=this.reader.index;this.reader.setIndex(d);var h=this.reader.readString(4)===m;return this.reader.setIndex(v),h},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var d=this.reader.readData(this.zipCommentLength),m=c.uint8array?"uint8array":"array",v=s.transformTo(m,d);this.zipComment=this.loadOptions.decodeFileName(v)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var d,m,v,h=this.zip64EndOfCentralSize-44;0<h;)d=this.reader.readInt(2),m=this.reader.readInt(4),v=this.reader.readData(m),this.zip64ExtensibleData[d]={id:d,length:m,value:v}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var d,m;for(d=0;d<this.files.length;d++)m=this.files[d],this.reader.setIndex(m.localHeaderOffset),this.checkSignature(o.LOCAL_FILE_HEADER),m.readLocalPart(this.reader),m.handleUTF8(),m.processAttributes()},readCentralDir:function(){var d;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER);)(d=new l({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(d);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var d=this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);if(d<0)throw this.isSignature(0,o.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(d);var m=d;if(this.checkSignature(o.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){if(this.zip64=!0,(d=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(d),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,o.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var v=this.centralDirOffset+this.centralDirSize;this.zip64&&(v+=20,v+=12+this.zip64EndOfCentralSize);var h=m-v;if(0<h)this.isSignature(m,o.CENTRAL_FILE_HEADER)||(this.reader.zero=h);else if(h<0)throw new Error("Corrupted zip: missing "+Math.abs(h)+" bytes.")},prepareReader:function(d){this.reader=a(d)},load:function(d){this.prepareReader(d),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},i.exports=u},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(n,i,r){var a=n("./reader/readerFor"),s=n("./utils"),o=n("./compressedObject"),l=n("./crc32"),c=n("./utf8"),u=n("./compressions"),d=n("./support");function m(v,h){this.options=v,this.loadOptions=h}m.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(v){var h,f;if(v.skip(22),this.fileNameLength=v.readInt(2),f=v.readInt(2),this.fileName=v.readData(this.fileNameLength),v.skip(f),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((h=function(w){for(var _ in u)if(Object.prototype.hasOwnProperty.call(u,_)&&u[_].magic===w)return u[_];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+s.pretty(this.compressionMethod)+" unknown (inner file : "+s.transformTo("string",this.fileName)+")");this.decompressed=new o(this.compressedSize,this.uncompressedSize,this.crc32,h,v.readData(this.compressedSize))},readCentralPart:function(v){this.versionMadeBy=v.readInt(2),v.skip(2),this.bitFlag=v.readInt(2),this.compressionMethod=v.readString(2),this.date=v.readDate(),this.crc32=v.readInt(4),this.compressedSize=v.readInt(4),this.uncompressedSize=v.readInt(4);var h=v.readInt(2);if(this.extraFieldsLength=v.readInt(2),this.fileCommentLength=v.readInt(2),this.diskNumberStart=v.readInt(2),this.internalFileAttributes=v.readInt(2),this.externalFileAttributes=v.readInt(4),this.localHeaderOffset=v.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");v.skip(h),this.readExtraFields(v),this.parseZIP64ExtraField(v),this.fileComment=v.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var v=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),v==0&&(this.dosPermissions=63&this.externalFileAttributes),v==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var v=a(this.extraFields[1].value);this.uncompressedSize===s.MAX_VALUE_32BITS&&(this.uncompressedSize=v.readInt(8)),this.compressedSize===s.MAX_VALUE_32BITS&&(this.compressedSize=v.readInt(8)),this.localHeaderOffset===s.MAX_VALUE_32BITS&&(this.localHeaderOffset=v.readInt(8)),this.diskNumberStart===s.MAX_VALUE_32BITS&&(this.diskNumberStart=v.readInt(4))}},readExtraFields:function(v){var h,f,w,_=v.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});v.index+4<_;)h=v.readInt(2),f=v.readInt(2),w=v.readData(f),this.extraFields[h]={id:h,length:f,value:w};v.setIndex(_)},handleUTF8:function(){var v=d.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=c.utf8decode(this.fileName),this.fileCommentStr=c.utf8decode(this.fileComment);else{var h=this.findExtraFieldUnicodePath();if(h!==null)this.fileNameStr=h;else{var f=s.transformTo(v,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(f)}var w=this.findExtraFieldUnicodeComment();if(w!==null)this.fileCommentStr=w;else{var _=s.transformTo(v,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(_)}}},findExtraFieldUnicodePath:function(){var v=this.extraFields[28789];if(v){var h=a(v.value);return h.readInt(1)!==1||l(this.fileName)!==h.readInt(4)?null:c.utf8decode(h.readData(v.length-5))}return null},findExtraFieldUnicodeComment:function(){var v=this.extraFields[25461];if(v){var h=a(v.value);return h.readInt(1)!==1||l(this.fileComment)!==h.readInt(4)?null:c.utf8decode(h.readData(v.length-5))}return null}},i.exports=m},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(n,i,r){function a(h,f,w){this.name=h,this.dir=w.dir,this.date=w.date,this.comment=w.comment,this.unixPermissions=w.unixPermissions,this.dosPermissions=w.dosPermissions,this._data=f,this._dataBinary=w.binary,this.options={compression:w.compression,compressionOptions:w.compressionOptions}}var s=n("./stream/StreamHelper"),o=n("./stream/DataWorker"),l=n("./utf8"),c=n("./compressedObject"),u=n("./stream/GenericWorker");a.prototype={internalStream:function(h){var f=null,w="string";try{if(!h)throw new Error("No output type specified.");var _=(w=h.toLowerCase())==="string"||w==="text";w!=="binarystring"&&w!=="text"||(w="string"),f=this._decompressWorker();var y=!this._dataBinary;y&&!_&&(f=f.pipe(new l.Utf8EncodeWorker)),!y&&_&&(f=f.pipe(new l.Utf8DecodeWorker))}catch(x){(f=new u("error")).error(x)}return new s(f,w,"")},async:function(h,f){return this.internalStream(h).accumulate(f)},nodeStream:function(h,f){return this.internalStream(h||"nodebuffer").toNodejsStream(f)},_compressWorker:function(h,f){if(this._data instanceof c&&this._data.compression.magic===h.magic)return this._data.getCompressedWorker();var w=this._decompressWorker();return this._dataBinary||(w=w.pipe(new l.Utf8EncodeWorker)),c.createWorkerFrom(w,h,f)},_decompressWorker:function(){return this._data instanceof c?this._data.getContentWorker():this._data instanceof u?this._data:new o(this._data)}};for(var d=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],m=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},v=0;v<d.length;v++)a.prototype[d[v]]=m;i.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(n,i,r){(function(a){var s,o,l=a.MutationObserver||a.WebKitMutationObserver;if(l){var c=0,u=new l(h),d=a.document.createTextNode("");u.observe(d,{characterData:!0}),s=function(){d.data=c=++c%2}}else if(a.setImmediate||a.MessageChannel===void 0)s="document"in a&&"onreadystatechange"in a.document.createElement("script")?function(){var f=a.document.createElement("script");f.onreadystatechange=function(){h(),f.onreadystatechange=null,f.parentNode.removeChild(f),f=null},a.document.documentElement.appendChild(f)}:function(){setTimeout(h,0)};else{var m=new a.MessageChannel;m.port1.onmessage=h,s=function(){m.port2.postMessage(0)}}var v=[];function h(){var f,w;o=!0;for(var _=v.length;_;){for(w=v,v=[],f=-1;++f<_;)w[f]();_=v.length}o=!1}i.exports=function(f){v.push(f)!==1||o||s()}}).call(this,typeof nn<"u"?nn:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(n,i,r){var a=n("immediate");function s(){}var o={},l=["REJECTED"],c=["FULFILLED"],u=["PENDING"];function d(_){if(typeof _!="function")throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,_!==s&&f(this,_)}function m(_,y,x){this.promise=_,typeof y=="function"&&(this.onFulfilled=y,this.callFulfilled=this.otherCallFulfilled),typeof x=="function"&&(this.onRejected=x,this.callRejected=this.otherCallRejected)}function v(_,y,x){a(function(){var A;try{A=y(x)}catch(E){return o.reject(_,E)}A===_?o.reject(_,new TypeError("Cannot resolve promise with itself")):o.resolve(_,A)})}function h(_){var y=_&&_.then;if(_&&(typeof _=="object"||typeof _=="function")&&typeof y=="function")return function(){y.apply(_,arguments)}}function f(_,y){var x=!1;function A(B){x||(x=!0,o.reject(_,B))}function E(B){x||(x=!0,o.resolve(_,B))}var $=w(function(){y(E,A)});$.status==="error"&&A($.value)}function w(_,y){var x={};try{x.value=_(y),x.status="success"}catch(A){x.status="error",x.value=A}return x}(i.exports=d).prototype.finally=function(_){if(typeof _!="function")return this;var y=this.constructor;return this.then(function(x){return y.resolve(_()).then(function(){return x})},function(x){return y.resolve(_()).then(function(){throw x})})},d.prototype.catch=function(_){return this.then(null,_)},d.prototype.then=function(_,y){if(typeof _!="function"&&this.state===c||typeof y!="function"&&this.state===l)return this;var x=new this.constructor(s);return this.state!==u?v(x,this.state===c?_:y,this.outcome):this.queue.push(new m(x,_,y)),x},m.prototype.callFulfilled=function(_){o.resolve(this.promise,_)},m.prototype.otherCallFulfilled=function(_){v(this.promise,this.onFulfilled,_)},m.prototype.callRejected=function(_){o.reject(this.promise,_)},m.prototype.otherCallRejected=function(_){v(this.promise,this.onRejected,_)},o.resolve=function(_,y){var x=w(h,y);if(x.status==="error")return o.reject(_,x.value);var A=x.value;if(A)f(_,A);else{_.state=c,_.outcome=y;for(var E=-1,$=_.queue.length;++E<$;)_.queue[E].callFulfilled(y)}return _},o.reject=function(_,y){_.state=l,_.outcome=y;for(var x=-1,A=_.queue.length;++x<A;)_.queue[x].callRejected(y);return _},d.resolve=function(_){return _ instanceof this?_:o.resolve(new this(s),_)},d.reject=function(_){var y=new this(s);return o.reject(y,_)},d.all=function(_){var y=this;if(Object.prototype.toString.call(_)!=="[object Array]")return this.reject(new TypeError("must be an array"));var x=_.length,A=!1;if(!x)return this.resolve([]);for(var E=new Array(x),$=0,B=-1,Q=new this(s);++B<x;)I(_[B],B);return Q;function I(F,k){y.resolve(F).then(function(P){E[k]=P,++$!==x||A||(A=!0,o.resolve(Q,E))},function(P){A||(A=!0,o.reject(Q,P))})}},d.race=function(_){var y=this;if(Object.prototype.toString.call(_)!=="[object Array]")return this.reject(new TypeError("must be an array"));var x=_.length,A=!1;if(!x)return this.resolve([]);for(var E=-1,$=new this(s);++E<x;)B=_[E],y.resolve(B).then(function(Q){A||(A=!0,o.resolve($,Q))},function(Q){A||(A=!0,o.reject($,Q))});var B;return $}},{immediate:36}],38:[function(n,i,r){var a={};(0,n("./lib/utils/common").assign)(a,n("./lib/deflate"),n("./lib/inflate"),n("./lib/zlib/constants")),i.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(n,i,r){var a=n("./zlib/deflate"),s=n("./utils/common"),o=n("./utils/strings"),l=n("./zlib/messages"),c=n("./zlib/zstream"),u=Object.prototype.toString,d=0,m=-1,v=0,h=8;function f(_){if(!(this instanceof f))return new f(_);this.options=s.assign({level:m,method:h,chunkSize:16384,windowBits:15,memLevel:8,strategy:v,to:""},_||{});var y=this.options;y.raw&&0<y.windowBits?y.windowBits=-y.windowBits:y.gzip&&0<y.windowBits&&y.windowBits<16&&(y.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var x=a.deflateInit2(this.strm,y.level,y.method,y.windowBits,y.memLevel,y.strategy);if(x!==d)throw new Error(l[x]);if(y.header&&a.deflateSetHeader(this.strm,y.header),y.dictionary){var A;if(A=typeof y.dictionary=="string"?o.string2buf(y.dictionary):u.call(y.dictionary)==="[object ArrayBuffer]"?new Uint8Array(y.dictionary):y.dictionary,(x=a.deflateSetDictionary(this.strm,A))!==d)throw new Error(l[x]);this._dict_set=!0}}function w(_,y){var x=new f(y);if(x.push(_,!0),x.err)throw x.msg||l[x.err];return x.result}f.prototype.push=function(_,y){var x,A,E=this.strm,$=this.options.chunkSize;if(this.ended)return!1;A=y===~~y?y:y===!0?4:0,typeof _=="string"?E.input=o.string2buf(_):u.call(_)==="[object ArrayBuffer]"?E.input=new Uint8Array(_):E.input=_,E.next_in=0,E.avail_in=E.input.length;do{if(E.avail_out===0&&(E.output=new s.Buf8($),E.next_out=0,E.avail_out=$),(x=a.deflate(E,A))!==1&&x!==d)return this.onEnd(x),!(this.ended=!0);E.avail_out!==0&&(E.avail_in!==0||A!==4&&A!==2)||(this.options.to==="string"?this.onData(o.buf2binstring(s.shrinkBuf(E.output,E.next_out))):this.onData(s.shrinkBuf(E.output,E.next_out)))}while((0<E.avail_in||E.avail_out===0)&&x!==1);return A===4?(x=a.deflateEnd(this.strm),this.onEnd(x),this.ended=!0,x===d):A!==2||(this.onEnd(d),!(E.avail_out=0))},f.prototype.onData=function(_){this.chunks.push(_)},f.prototype.onEnd=function(_){_===d&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=_,this.msg=this.strm.msg},r.Deflate=f,r.deflate=w,r.deflateRaw=function(_,y){return(y=y||{}).raw=!0,w(_,y)},r.gzip=function(_,y){return(y=y||{}).gzip=!0,w(_,y)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(n,i,r){var a=n("./zlib/inflate"),s=n("./utils/common"),o=n("./utils/strings"),l=n("./zlib/constants"),c=n("./zlib/messages"),u=n("./zlib/zstream"),d=n("./zlib/gzheader"),m=Object.prototype.toString;function v(f){if(!(this instanceof v))return new v(f);this.options=s.assign({chunkSize:16384,windowBits:0,to:""},f||{});var w=this.options;w.raw&&0<=w.windowBits&&w.windowBits<16&&(w.windowBits=-w.windowBits,w.windowBits===0&&(w.windowBits=-15)),!(0<=w.windowBits&&w.windowBits<16)||f&&f.windowBits||(w.windowBits+=32),15<w.windowBits&&w.windowBits<48&&!(15&w.windowBits)&&(w.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var _=a.inflateInit2(this.strm,w.windowBits);if(_!==l.Z_OK)throw new Error(c[_]);this.header=new d,a.inflateGetHeader(this.strm,this.header)}function h(f,w){var _=new v(w);if(_.push(f,!0),_.err)throw _.msg||c[_.err];return _.result}v.prototype.push=function(f,w){var _,y,x,A,E,$,B=this.strm,Q=this.options.chunkSize,I=this.options.dictionary,F=!1;if(this.ended)return!1;y=w===~~w?w:w===!0?l.Z_FINISH:l.Z_NO_FLUSH,typeof f=="string"?B.input=o.binstring2buf(f):m.call(f)==="[object ArrayBuffer]"?B.input=new Uint8Array(f):B.input=f,B.next_in=0,B.avail_in=B.input.length;do{if(B.avail_out===0&&(B.output=new s.Buf8(Q),B.next_out=0,B.avail_out=Q),(_=a.inflate(B,l.Z_NO_FLUSH))===l.Z_NEED_DICT&&I&&($=typeof I=="string"?o.string2buf(I):m.call(I)==="[object ArrayBuffer]"?new Uint8Array(I):I,_=a.inflateSetDictionary(this.strm,$)),_===l.Z_BUF_ERROR&&F===!0&&(_=l.Z_OK,F=!1),_!==l.Z_STREAM_END&&_!==l.Z_OK)return this.onEnd(_),!(this.ended=!0);B.next_out&&(B.avail_out!==0&&_!==l.Z_STREAM_END&&(B.avail_in!==0||y!==l.Z_FINISH&&y!==l.Z_SYNC_FLUSH)||(this.options.to==="string"?(x=o.utf8border(B.output,B.next_out),A=B.next_out-x,E=o.buf2string(B.output,x),B.next_out=A,B.avail_out=Q-A,A&&s.arraySet(B.output,B.output,x,A,0),this.onData(E)):this.onData(s.shrinkBuf(B.output,B.next_out)))),B.avail_in===0&&B.avail_out===0&&(F=!0)}while((0<B.avail_in||B.avail_out===0)&&_!==l.Z_STREAM_END);return _===l.Z_STREAM_END&&(y=l.Z_FINISH),y===l.Z_FINISH?(_=a.inflateEnd(this.strm),this.onEnd(_),this.ended=!0,_===l.Z_OK):y!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),!(B.avail_out=0))},v.prototype.onData=function(f){this.chunks.push(f)},v.prototype.onEnd=function(f){f===l.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=f,this.msg=this.strm.msg},r.Inflate=v,r.inflate=h,r.inflateRaw=function(f,w){return(w=w||{}).raw=!0,h(f,w)},r.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(n,i,r){var a=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";r.assign=function(l){for(var c=Array.prototype.slice.call(arguments,1);c.length;){var u=c.shift();if(u){if(typeof u!="object")throw new TypeError(u+"must be non-object");for(var d in u)u.hasOwnProperty(d)&&(l[d]=u[d])}}return l},r.shrinkBuf=function(l,c){return l.length===c?l:l.subarray?l.subarray(0,c):(l.length=c,l)};var s={arraySet:function(l,c,u,d,m){if(c.subarray&&l.subarray)l.set(c.subarray(u,u+d),m);else for(var v=0;v<d;v++)l[m+v]=c[u+v]},flattenChunks:function(l){var c,u,d,m,v,h;for(c=d=0,u=l.length;c<u;c++)d+=l[c].length;for(h=new Uint8Array(d),c=m=0,u=l.length;c<u;c++)v=l[c],h.set(v,m),m+=v.length;return h}},o={arraySet:function(l,c,u,d,m){for(var v=0;v<d;v++)l[m+v]=c[u+v]},flattenChunks:function(l){return[].concat.apply([],l)}};r.setTyped=function(l){l?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,s)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,o))},r.setTyped(a)},{}],42:[function(n,i,r){var a=n("./common"),s=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch{s=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{o=!1}for(var l=new a.Buf8(256),c=0;c<256;c++)l[c]=252<=c?6:248<=c?5:240<=c?4:224<=c?3:192<=c?2:1;function u(d,m){if(m<65537&&(d.subarray&&o||!d.subarray&&s))return String.fromCharCode.apply(null,a.shrinkBuf(d,m));for(var v="",h=0;h<m;h++)v+=String.fromCharCode(d[h]);return v}l[254]=l[254]=1,r.string2buf=function(d){var m,v,h,f,w,_=d.length,y=0;for(f=0;f<_;f++)(64512&(v=d.charCodeAt(f)))==55296&&f+1<_&&(64512&(h=d.charCodeAt(f+1)))==56320&&(v=65536+(v-55296<<10)+(h-56320),f++),y+=v<128?1:v<2048?2:v<65536?3:4;for(m=new a.Buf8(y),f=w=0;w<y;f++)(64512&(v=d.charCodeAt(f)))==55296&&f+1<_&&(64512&(h=d.charCodeAt(f+1)))==56320&&(v=65536+(v-55296<<10)+(h-56320),f++),v<128?m[w++]=v:(v<2048?m[w++]=192|v>>>6:(v<65536?m[w++]=224|v>>>12:(m[w++]=240|v>>>18,m[w++]=128|v>>>12&63),m[w++]=128|v>>>6&63),m[w++]=128|63&v);return m},r.buf2binstring=function(d){return u(d,d.length)},r.binstring2buf=function(d){for(var m=new a.Buf8(d.length),v=0,h=m.length;v<h;v++)m[v]=d.charCodeAt(v);return m},r.buf2string=function(d,m){var v,h,f,w,_=m||d.length,y=new Array(2*_);for(v=h=0;v<_;)if((f=d[v++])<128)y[h++]=f;else if(4<(w=l[f]))y[h++]=65533,v+=w-1;else{for(f&=w===2?31:w===3?15:7;1<w&&v<_;)f=f<<6|63&d[v++],w--;1<w?y[h++]=65533:f<65536?y[h++]=f:(f-=65536,y[h++]=55296|f>>10&1023,y[h++]=56320|1023&f)}return u(y,h)},r.utf8border=function(d,m){var v;for((m=m||d.length)>d.length&&(m=d.length),v=m-1;0<=v&&(192&d[v])==128;)v--;return v<0||v===0?m:v+l[d[v]]>m?v:m}},{"./common":41}],43:[function(n,i,r){i.exports=function(a,s,o,l){for(var c=65535&a|0,u=a>>>16&65535|0,d=0;o!==0;){for(o-=d=2e3<o?2e3:o;u=u+(c=c+s[l++]|0)|0,--d;);c%=65521,u%=65521}return c|u<<16|0}},{}],44:[function(n,i,r){i.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(n,i,r){var a=function(){for(var s,o=[],l=0;l<256;l++){s=l;for(var c=0;c<8;c++)s=1&s?3988292384^s>>>1:s>>>1;o[l]=s}return o}();i.exports=function(s,o,l,c){var u=a,d=c+l;s^=-1;for(var m=c;m<d;m++)s=s>>>8^u[255&(s^o[m])];return-1^s}},{}],46:[function(n,i,r){var a,s=n("../utils/common"),o=n("./trees"),l=n("./adler32"),c=n("./crc32"),u=n("./messages"),d=0,m=4,v=0,h=-2,f=-1,w=4,_=2,y=8,x=9,A=286,E=30,$=19,B=2*A+1,Q=15,I=3,F=258,k=F+I+1,P=42,C=113,p=1,g=2,D=3,R=4;function Z(b,z){return b.msg=u[z],z}function G(b){return(b<<1)-(4<b?9:0)}function V(b){for(var z=b.length;0<=--z;)b[z]=0}function X(b){var z=b.state,Y=z.pending;Y>b.avail_out&&(Y=b.avail_out),Y!==0&&(s.arraySet(b.output,z.pending_buf,z.pending_out,Y,b.next_out),b.next_out+=Y,z.pending_out+=Y,b.total_out+=Y,b.avail_out-=Y,z.pending-=Y,z.pending===0&&(z.pending_out=0))}function ee(b,z){o._tr_flush_block(b,0<=b.block_start?b.block_start:-1,b.strstart-b.block_start,z),b.block_start=b.strstart,X(b.strm)}function S(b,z){b.pending_buf[b.pending++]=z}function O(b,z){b.pending_buf[b.pending++]=z>>>8&255,b.pending_buf[b.pending++]=255&z}function M(b,z){var Y,W,j=b.max_chain_length,ne=b.strstart,se=b.prev_length,ce=b.nice_match,oe=b.strstart>b.w_size-k?b.strstart-(b.w_size-k):0,re=b.window,te=b.w_mask,ae=b.prev,le=b.strstart+F,fe=re[ne+se-1],me=re[ne+se];b.prev_length>=b.good_match&&(j>>=2),ce>b.lookahead&&(ce=b.lookahead);do if(re[(Y=z)+se]===me&&re[Y+se-1]===fe&&re[Y]===re[ne]&&re[++Y]===re[ne+1]){ne+=2,Y++;do;while(re[++ne]===re[++Y]&&re[++ne]===re[++Y]&&re[++ne]===re[++Y]&&re[++ne]===re[++Y]&&re[++ne]===re[++Y]&&re[++ne]===re[++Y]&&re[++ne]===re[++Y]&&re[++ne]===re[++Y]&&ne<le);if(W=F-(le-ne),ne=le-F,se<W){if(b.match_start=z,ce<=(se=W))break;fe=re[ne+se-1],me=re[ne+se]}}while((z=ae[z&te])>oe&&--j!=0);return se<=b.lookahead?se:b.lookahead}function H(b){var z,Y,W,j,ne,se,ce,oe,re,te,ae=b.w_size;do{if(j=b.window_size-b.lookahead-b.strstart,b.strstart>=ae+(ae-k)){for(s.arraySet(b.window,b.window,ae,ae,0),b.match_start-=ae,b.strstart-=ae,b.block_start-=ae,z=Y=b.hash_size;W=b.head[--z],b.head[z]=ae<=W?W-ae:0,--Y;);for(z=Y=ae;W=b.prev[--z],b.prev[z]=ae<=W?W-ae:0,--Y;);j+=ae}if(b.strm.avail_in===0)break;if(se=b.strm,ce=b.window,oe=b.strstart+b.lookahead,re=j,te=void 0,te=se.avail_in,re<te&&(te=re),Y=te===0?0:(se.avail_in-=te,s.arraySet(ce,se.input,se.next_in,te,oe),se.state.wrap===1?se.adler=l(se.adler,ce,te,oe):se.state.wrap===2&&(se.adler=c(se.adler,ce,te,oe)),se.next_in+=te,se.total_in+=te,te),b.lookahead+=Y,b.lookahead+b.insert>=I)for(ne=b.strstart-b.insert,b.ins_h=b.window[ne],b.ins_h=(b.ins_h<<b.hash_shift^b.window[ne+1])&b.hash_mask;b.insert&&(b.ins_h=(b.ins_h<<b.hash_shift^b.window[ne+I-1])&b.hash_mask,b.prev[ne&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=ne,ne++,b.insert--,!(b.lookahead+b.insert<I)););}while(b.lookahead<k&&b.strm.avail_in!==0)}function q(b,z){for(var Y,W;;){if(b.lookahead<k){if(H(b),b.lookahead<k&&z===d)return p;if(b.lookahead===0)break}if(Y=0,b.lookahead>=I&&(b.ins_h=(b.ins_h<<b.hash_shift^b.window[b.strstart+I-1])&b.hash_mask,Y=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),Y!==0&&b.strstart-Y<=b.w_size-k&&(b.match_length=M(b,Y)),b.match_length>=I)if(W=o._tr_tally(b,b.strstart-b.match_start,b.match_length-I),b.lookahead-=b.match_length,b.match_length<=b.max_lazy_match&&b.lookahead>=I){for(b.match_length--;b.strstart++,b.ins_h=(b.ins_h<<b.hash_shift^b.window[b.strstart+I-1])&b.hash_mask,Y=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart,--b.match_length!=0;);b.strstart++}else b.strstart+=b.match_length,b.match_length=0,b.ins_h=b.window[b.strstart],b.ins_h=(b.ins_h<<b.hash_shift^b.window[b.strstart+1])&b.hash_mask;else W=o._tr_tally(b,0,b.window[b.strstart]),b.lookahead--,b.strstart++;if(W&&(ee(b,!1),b.strm.avail_out===0))return p}return b.insert=b.strstart<I-1?b.strstart:I-1,z===m?(ee(b,!0),b.strm.avail_out===0?D:R):b.last_lit&&(ee(b,!1),b.strm.avail_out===0)?p:g}function T(b,z){for(var Y,W,j;;){if(b.lookahead<k){if(H(b),b.lookahead<k&&z===d)return p;if(b.lookahead===0)break}if(Y=0,b.lookahead>=I&&(b.ins_h=(b.ins_h<<b.hash_shift^b.window[b.strstart+I-1])&b.hash_mask,Y=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),b.prev_length=b.match_length,b.prev_match=b.match_start,b.match_length=I-1,Y!==0&&b.prev_length<b.max_lazy_match&&b.strstart-Y<=b.w_size-k&&(b.match_length=M(b,Y),b.match_length<=5&&(b.strategy===1||b.match_length===I&&4096<b.strstart-b.match_start)&&(b.match_length=I-1)),b.prev_length>=I&&b.match_length<=b.prev_length){for(j=b.strstart+b.lookahead-I,W=o._tr_tally(b,b.strstart-1-b.prev_match,b.prev_length-I),b.lookahead-=b.prev_length-1,b.prev_length-=2;++b.strstart<=j&&(b.ins_h=(b.ins_h<<b.hash_shift^b.window[b.strstart+I-1])&b.hash_mask,Y=b.prev[b.strstart&b.w_mask]=b.head[b.ins_h],b.head[b.ins_h]=b.strstart),--b.prev_length!=0;);if(b.match_available=0,b.match_length=I-1,b.strstart++,W&&(ee(b,!1),b.strm.avail_out===0))return p}else if(b.match_available){if((W=o._tr_tally(b,0,b.window[b.strstart-1]))&&ee(b,!1),b.strstart++,b.lookahead--,b.strm.avail_out===0)return p}else b.match_available=1,b.strstart++,b.lookahead--}return b.match_available&&(W=o._tr_tally(b,0,b.window[b.strstart-1]),b.match_available=0),b.insert=b.strstart<I-1?b.strstart:I-1,z===m?(ee(b,!0),b.strm.avail_out===0?D:R):b.last_lit&&(ee(b,!1),b.strm.avail_out===0)?p:g}function L(b,z,Y,W,j){this.good_length=b,this.max_lazy=z,this.nice_length=Y,this.max_chain=W,this.func=j}function U(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=y,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new s.Buf16(2*B),this.dyn_dtree=new s.Buf16(2*(2*E+1)),this.bl_tree=new s.Buf16(2*(2*$+1)),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new s.Buf16(Q+1),this.heap=new s.Buf16(2*A+1),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new s.Buf16(2*A+1),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ie(b){var z;return b&&b.state?(b.total_in=b.total_out=0,b.data_type=_,(z=b.state).pending=0,z.pending_out=0,z.wrap<0&&(z.wrap=-z.wrap),z.status=z.wrap?P:C,b.adler=z.wrap===2?0:1,z.last_flush=d,o._tr_init(z),v):Z(b,h)}function N(b){var z=ie(b);return z===v&&function(Y){Y.window_size=2*Y.w_size,V(Y.head),Y.max_lazy_match=a[Y.level].max_lazy,Y.good_match=a[Y.level].good_length,Y.nice_match=a[Y.level].nice_length,Y.max_chain_length=a[Y.level].max_chain,Y.strstart=0,Y.block_start=0,Y.lookahead=0,Y.insert=0,Y.match_length=Y.prev_length=I-1,Y.match_available=0,Y.ins_h=0}(b.state),z}function K(b,z,Y,W,j,ne){if(!b)return h;var se=1;if(z===f&&(z=6),W<0?(se=0,W=-W):15<W&&(se=2,W-=16),j<1||x<j||Y!==y||W<8||15<W||z<0||9<z||ne<0||w<ne)return Z(b,h);W===8&&(W=9);var ce=new U;return(b.state=ce).strm=b,ce.wrap=se,ce.gzhead=null,ce.w_bits=W,ce.w_size=1<<ce.w_bits,ce.w_mask=ce.w_size-1,ce.hash_bits=j+7,ce.hash_size=1<<ce.hash_bits,ce.hash_mask=ce.hash_size-1,ce.hash_shift=~~((ce.hash_bits+I-1)/I),ce.window=new s.Buf8(2*ce.w_size),ce.head=new s.Buf16(ce.hash_size),ce.prev=new s.Buf16(ce.w_size),ce.lit_bufsize=1<<j+6,ce.pending_buf_size=4*ce.lit_bufsize,ce.pending_buf=new s.Buf8(ce.pending_buf_size),ce.d_buf=1*ce.lit_bufsize,ce.l_buf=3*ce.lit_bufsize,ce.level=z,ce.strategy=ne,ce.method=Y,N(b)}a=[new L(0,0,0,0,function(b,z){var Y=65535;for(Y>b.pending_buf_size-5&&(Y=b.pending_buf_size-5);;){if(b.lookahead<=1){if(H(b),b.lookahead===0&&z===d)return p;if(b.lookahead===0)break}b.strstart+=b.lookahead,b.lookahead=0;var W=b.block_start+Y;if((b.strstart===0||b.strstart>=W)&&(b.lookahead=b.strstart-W,b.strstart=W,ee(b,!1),b.strm.avail_out===0)||b.strstart-b.block_start>=b.w_size-k&&(ee(b,!1),b.strm.avail_out===0))return p}return b.insert=0,z===m?(ee(b,!0),b.strm.avail_out===0?D:R):(b.strstart>b.block_start&&(ee(b,!1),b.strm.avail_out),p)}),new L(4,4,8,4,q),new L(4,5,16,8,q),new L(4,6,32,32,q),new L(4,4,16,16,T),new L(8,16,32,32,T),new L(8,16,128,128,T),new L(8,32,128,256,T),new L(32,128,258,1024,T),new L(32,258,258,4096,T)],r.deflateInit=function(b,z){return K(b,z,y,15,8,0)},r.deflateInit2=K,r.deflateReset=N,r.deflateResetKeep=ie,r.deflateSetHeader=function(b,z){return b&&b.state?b.state.wrap!==2?h:(b.state.gzhead=z,v):h},r.deflate=function(b,z){var Y,W,j,ne;if(!b||!b.state||5<z||z<0)return b?Z(b,h):h;if(W=b.state,!b.output||!b.input&&b.avail_in!==0||W.status===666&&z!==m)return Z(b,b.avail_out===0?-5:h);if(W.strm=b,Y=W.last_flush,W.last_flush=z,W.status===P)if(W.wrap===2)b.adler=0,S(W,31),S(W,139),S(W,8),W.gzhead?(S(W,(W.gzhead.text?1:0)+(W.gzhead.hcrc?2:0)+(W.gzhead.extra?4:0)+(W.gzhead.name?8:0)+(W.gzhead.comment?16:0)),S(W,255&W.gzhead.time),S(W,W.gzhead.time>>8&255),S(W,W.gzhead.time>>16&255),S(W,W.gzhead.time>>24&255),S(W,W.level===9?2:2<=W.strategy||W.level<2?4:0),S(W,255&W.gzhead.os),W.gzhead.extra&&W.gzhead.extra.length&&(S(W,255&W.gzhead.extra.length),S(W,W.gzhead.extra.length>>8&255)),W.gzhead.hcrc&&(b.adler=c(b.adler,W.pending_buf,W.pending,0)),W.gzindex=0,W.status=69):(S(W,0),S(W,0),S(W,0),S(W,0),S(W,0),S(W,W.level===9?2:2<=W.strategy||W.level<2?4:0),S(W,3),W.status=C);else{var se=y+(W.w_bits-8<<4)<<8;se|=(2<=W.strategy||W.level<2?0:W.level<6?1:W.level===6?2:3)<<6,W.strstart!==0&&(se|=32),se+=31-se%31,W.status=C,O(W,se),W.strstart!==0&&(O(W,b.adler>>>16),O(W,65535&b.adler)),b.adler=1}if(W.status===69)if(W.gzhead.extra){for(j=W.pending;W.gzindex<(65535&W.gzhead.extra.length)&&(W.pending!==W.pending_buf_size||(W.gzhead.hcrc&&W.pending>j&&(b.adler=c(b.adler,W.pending_buf,W.pending-j,j)),X(b),j=W.pending,W.pending!==W.pending_buf_size));)S(W,255&W.gzhead.extra[W.gzindex]),W.gzindex++;W.gzhead.hcrc&&W.pending>j&&(b.adler=c(b.adler,W.pending_buf,W.pending-j,j)),W.gzindex===W.gzhead.extra.length&&(W.gzindex=0,W.status=73)}else W.status=73;if(W.status===73)if(W.gzhead.name){j=W.pending;do{if(W.pending===W.pending_buf_size&&(W.gzhead.hcrc&&W.pending>j&&(b.adler=c(b.adler,W.pending_buf,W.pending-j,j)),X(b),j=W.pending,W.pending===W.pending_buf_size)){ne=1;break}ne=W.gzindex<W.gzhead.name.length?255&W.gzhead.name.charCodeAt(W.gzindex++):0,S(W,ne)}while(ne!==0);W.gzhead.hcrc&&W.pending>j&&(b.adler=c(b.adler,W.pending_buf,W.pending-j,j)),ne===0&&(W.gzindex=0,W.status=91)}else W.status=91;if(W.status===91)if(W.gzhead.comment){j=W.pending;do{if(W.pending===W.pending_buf_size&&(W.gzhead.hcrc&&W.pending>j&&(b.adler=c(b.adler,W.pending_buf,W.pending-j,j)),X(b),j=W.pending,W.pending===W.pending_buf_size)){ne=1;break}ne=W.gzindex<W.gzhead.comment.length?255&W.gzhead.comment.charCodeAt(W.gzindex++):0,S(W,ne)}while(ne!==0);W.gzhead.hcrc&&W.pending>j&&(b.adler=c(b.adler,W.pending_buf,W.pending-j,j)),ne===0&&(W.status=103)}else W.status=103;if(W.status===103&&(W.gzhead.hcrc?(W.pending+2>W.pending_buf_size&&X(b),W.pending+2<=W.pending_buf_size&&(S(W,255&b.adler),S(W,b.adler>>8&255),b.adler=0,W.status=C)):W.status=C),W.pending!==0){if(X(b),b.avail_out===0)return W.last_flush=-1,v}else if(b.avail_in===0&&G(z)<=G(Y)&&z!==m)return Z(b,-5);if(W.status===666&&b.avail_in!==0)return Z(b,-5);if(b.avail_in!==0||W.lookahead!==0||z!==d&&W.status!==666){var ce=W.strategy===2?function(oe,re){for(var te;;){if(oe.lookahead===0&&(H(oe),oe.lookahead===0)){if(re===d)return p;break}if(oe.match_length=0,te=o._tr_tally(oe,0,oe.window[oe.strstart]),oe.lookahead--,oe.strstart++,te&&(ee(oe,!1),oe.strm.avail_out===0))return p}return oe.insert=0,re===m?(ee(oe,!0),oe.strm.avail_out===0?D:R):oe.last_lit&&(ee(oe,!1),oe.strm.avail_out===0)?p:g}(W,z):W.strategy===3?function(oe,re){for(var te,ae,le,fe,me=oe.window;;){if(oe.lookahead<=F){if(H(oe),oe.lookahead<=F&&re===d)return p;if(oe.lookahead===0)break}if(oe.match_length=0,oe.lookahead>=I&&0<oe.strstart&&(ae=me[le=oe.strstart-1])===me[++le]&&ae===me[++le]&&ae===me[++le]){fe=oe.strstart+F;do;while(ae===me[++le]&&ae===me[++le]&&ae===me[++le]&&ae===me[++le]&&ae===me[++le]&&ae===me[++le]&&ae===me[++le]&&ae===me[++le]&&le<fe);oe.match_length=F-(fe-le),oe.match_length>oe.lookahead&&(oe.match_length=oe.lookahead)}if(oe.match_length>=I?(te=o._tr_tally(oe,1,oe.match_length-I),oe.lookahead-=oe.match_length,oe.strstart+=oe.match_length,oe.match_length=0):(te=o._tr_tally(oe,0,oe.window[oe.strstart]),oe.lookahead--,oe.strstart++),te&&(ee(oe,!1),oe.strm.avail_out===0))return p}return oe.insert=0,re===m?(ee(oe,!0),oe.strm.avail_out===0?D:R):oe.last_lit&&(ee(oe,!1),oe.strm.avail_out===0)?p:g}(W,z):a[W.level].func(W,z);if(ce!==D&&ce!==R||(W.status=666),ce===p||ce===D)return b.avail_out===0&&(W.last_flush=-1),v;if(ce===g&&(z===1?o._tr_align(W):z!==5&&(o._tr_stored_block(W,0,0,!1),z===3&&(V(W.head),W.lookahead===0&&(W.strstart=0,W.block_start=0,W.insert=0))),X(b),b.avail_out===0))return W.last_flush=-1,v}return z!==m?v:W.wrap<=0?1:(W.wrap===2?(S(W,255&b.adler),S(W,b.adler>>8&255),S(W,b.adler>>16&255),S(W,b.adler>>24&255),S(W,255&b.total_in),S(W,b.total_in>>8&255),S(W,b.total_in>>16&255),S(W,b.total_in>>24&255)):(O(W,b.adler>>>16),O(W,65535&b.adler)),X(b),0<W.wrap&&(W.wrap=-W.wrap),W.pending!==0?v:1)},r.deflateEnd=function(b){var z;return b&&b.state?(z=b.state.status)!==P&&z!==69&&z!==73&&z!==91&&z!==103&&z!==C&&z!==666?Z(b,h):(b.state=null,z===C?Z(b,-3):v):h},r.deflateSetDictionary=function(b,z){var Y,W,j,ne,se,ce,oe,re,te=z.length;if(!b||!b.state||(ne=(Y=b.state).wrap)===2||ne===1&&Y.status!==P||Y.lookahead)return h;for(ne===1&&(b.adler=l(b.adler,z,te,0)),Y.wrap=0,te>=Y.w_size&&(ne===0&&(V(Y.head),Y.strstart=0,Y.block_start=0,Y.insert=0),re=new s.Buf8(Y.w_size),s.arraySet(re,z,te-Y.w_size,Y.w_size,0),z=re,te=Y.w_size),se=b.avail_in,ce=b.next_in,oe=b.input,b.avail_in=te,b.next_in=0,b.input=z,H(Y);Y.lookahead>=I;){for(W=Y.strstart,j=Y.lookahead-(I-1);Y.ins_h=(Y.ins_h<<Y.hash_shift^Y.window[W+I-1])&Y.hash_mask,Y.prev[W&Y.w_mask]=Y.head[Y.ins_h],Y.head[Y.ins_h]=W,W++,--j;);Y.strstart=W,Y.lookahead=I-1,H(Y)}return Y.strstart+=Y.lookahead,Y.block_start=Y.strstart,Y.insert=Y.lookahead,Y.lookahead=0,Y.match_length=Y.prev_length=I-1,Y.match_available=0,b.next_in=ce,b.input=oe,b.avail_in=se,Y.wrap=ne,v},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(n,i,r){i.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(n,i,r){i.exports=function(a,s){var o,l,c,u,d,m,v,h,f,w,_,y,x,A,E,$,B,Q,I,F,k,P,C,p,g;o=a.state,l=a.next_in,p=a.input,c=l+(a.avail_in-5),u=a.next_out,g=a.output,d=u-(s-a.avail_out),m=u+(a.avail_out-257),v=o.dmax,h=o.wsize,f=o.whave,w=o.wnext,_=o.window,y=o.hold,x=o.bits,A=o.lencode,E=o.distcode,$=(1<<o.lenbits)-1,B=(1<<o.distbits)-1;e:do{x<15&&(y+=p[l++]<<x,x+=8,y+=p[l++]<<x,x+=8),Q=A[y&$];t:for(;;){if(y>>>=I=Q>>>24,x-=I,(I=Q>>>16&255)===0)g[u++]=65535&Q;else{if(!(16&I)){if(!(64&I)){Q=A[(65535&Q)+(y&(1<<I)-1)];continue t}if(32&I){o.mode=12;break e}a.msg="invalid literal/length code",o.mode=30;break e}F=65535&Q,(I&=15)&&(x<I&&(y+=p[l++]<<x,x+=8),F+=y&(1<<I)-1,y>>>=I,x-=I),x<15&&(y+=p[l++]<<x,x+=8,y+=p[l++]<<x,x+=8),Q=E[y&B];n:for(;;){if(y>>>=I=Q>>>24,x-=I,!(16&(I=Q>>>16&255))){if(!(64&I)){Q=E[(65535&Q)+(y&(1<<I)-1)];continue n}a.msg="invalid distance code",o.mode=30;break e}if(k=65535&Q,x<(I&=15)&&(y+=p[l++]<<x,(x+=8)<I&&(y+=p[l++]<<x,x+=8)),v<(k+=y&(1<<I)-1)){a.msg="invalid distance too far back",o.mode=30;break e}if(y>>>=I,x-=I,(I=u-d)<k){if(f<(I=k-I)&&o.sane){a.msg="invalid distance too far back",o.mode=30;break e}if(C=_,(P=0)===w){if(P+=h-I,I<F){for(F-=I;g[u++]=_[P++],--I;);P=u-k,C=g}}else if(w<I){if(P+=h+w-I,(I-=w)<F){for(F-=I;g[u++]=_[P++],--I;);if(P=0,w<F){for(F-=I=w;g[u++]=_[P++],--I;);P=u-k,C=g}}}else if(P+=w-I,I<F){for(F-=I;g[u++]=_[P++],--I;);P=u-k,C=g}for(;2<F;)g[u++]=C[P++],g[u++]=C[P++],g[u++]=C[P++],F-=3;F&&(g[u++]=C[P++],1<F&&(g[u++]=C[P++]))}else{for(P=u-k;g[u++]=g[P++],g[u++]=g[P++],g[u++]=g[P++],2<(F-=3););F&&(g[u++]=g[P++],1<F&&(g[u++]=g[P++]))}break}}break}}while(l<c&&u<m);l-=F=x>>3,y&=(1<<(x-=F<<3))-1,a.next_in=l,a.next_out=u,a.avail_in=l<c?c-l+5:5-(l-c),a.avail_out=u<m?m-u+257:257-(u-m),o.hold=y,o.bits=x}},{}],49:[function(n,i,r){var a=n("../utils/common"),s=n("./adler32"),o=n("./crc32"),l=n("./inffast"),c=n("./inftrees"),u=1,d=2,m=0,v=-2,h=1,f=852,w=592;function _(P){return(P>>>24&255)+(P>>>8&65280)+((65280&P)<<8)+((255&P)<<24)}function y(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function x(P){var C;return P&&P.state?(C=P.state,P.total_in=P.total_out=C.total=0,P.msg="",C.wrap&&(P.adler=1&C.wrap),C.mode=h,C.last=0,C.havedict=0,C.dmax=32768,C.head=null,C.hold=0,C.bits=0,C.lencode=C.lendyn=new a.Buf32(f),C.distcode=C.distdyn=new a.Buf32(w),C.sane=1,C.back=-1,m):v}function A(P){var C;return P&&P.state?((C=P.state).wsize=0,C.whave=0,C.wnext=0,x(P)):v}function E(P,C){var p,g;return P&&P.state?(g=P.state,C<0?(p=0,C=-C):(p=1+(C>>4),C<48&&(C&=15)),C&&(C<8||15<C)?v:(g.window!==null&&g.wbits!==C&&(g.window=null),g.wrap=p,g.wbits=C,A(P))):v}function $(P,C){var p,g;return P?(g=new y,(P.state=g).window=null,(p=E(P,C))!==m&&(P.state=null),p):v}var B,Q,I=!0;function F(P){if(I){var C;for(B=new a.Buf32(512),Q=new a.Buf32(32),C=0;C<144;)P.lens[C++]=8;for(;C<256;)P.lens[C++]=9;for(;C<280;)P.lens[C++]=7;for(;C<288;)P.lens[C++]=8;for(c(u,P.lens,0,288,B,0,P.work,{bits:9}),C=0;C<32;)P.lens[C++]=5;c(d,P.lens,0,32,Q,0,P.work,{bits:5}),I=!1}P.lencode=B,P.lenbits=9,P.distcode=Q,P.distbits=5}function k(P,C,p,g){var D,R=P.state;return R.window===null&&(R.wsize=1<<R.wbits,R.wnext=0,R.whave=0,R.window=new a.Buf8(R.wsize)),g>=R.wsize?(a.arraySet(R.window,C,p-R.wsize,R.wsize,0),R.wnext=0,R.whave=R.wsize):(g<(D=R.wsize-R.wnext)&&(D=g),a.arraySet(R.window,C,p-g,D,R.wnext),(g-=D)?(a.arraySet(R.window,C,p-g,g,0),R.wnext=g,R.whave=R.wsize):(R.wnext+=D,R.wnext===R.wsize&&(R.wnext=0),R.whave<R.wsize&&(R.whave+=D))),0}r.inflateReset=A,r.inflateReset2=E,r.inflateResetKeep=x,r.inflateInit=function(P){return $(P,15)},r.inflateInit2=$,r.inflate=function(P,C){var p,g,D,R,Z,G,V,X,ee,S,O,M,H,q,T,L,U,ie,N,K,b,z,Y,W,j=0,ne=new a.Buf8(4),se=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!P||!P.state||!P.output||!P.input&&P.avail_in!==0)return v;(p=P.state).mode===12&&(p.mode=13),Z=P.next_out,D=P.output,V=P.avail_out,R=P.next_in,g=P.input,G=P.avail_in,X=p.hold,ee=p.bits,S=G,O=V,z=m;e:for(;;)switch(p.mode){case h:if(p.wrap===0){p.mode=13;break}for(;ee<16;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}if(2&p.wrap&&X===35615){ne[p.check=0]=255&X,ne[1]=X>>>8&255,p.check=o(p.check,ne,2,0),ee=X=0,p.mode=2;break}if(p.flags=0,p.head&&(p.head.done=!1),!(1&p.wrap)||(((255&X)<<8)+(X>>8))%31){P.msg="incorrect header check",p.mode=30;break}if((15&X)!=8){P.msg="unknown compression method",p.mode=30;break}if(ee-=4,b=8+(15&(X>>>=4)),p.wbits===0)p.wbits=b;else if(b>p.wbits){P.msg="invalid window size",p.mode=30;break}p.dmax=1<<b,P.adler=p.check=1,p.mode=512&X?10:12,ee=X=0;break;case 2:for(;ee<16;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}if(p.flags=X,(255&p.flags)!=8){P.msg="unknown compression method",p.mode=30;break}if(57344&p.flags){P.msg="unknown header flags set",p.mode=30;break}p.head&&(p.head.text=X>>8&1),512&p.flags&&(ne[0]=255&X,ne[1]=X>>>8&255,p.check=o(p.check,ne,2,0)),ee=X=0,p.mode=3;case 3:for(;ee<32;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}p.head&&(p.head.time=X),512&p.flags&&(ne[0]=255&X,ne[1]=X>>>8&255,ne[2]=X>>>16&255,ne[3]=X>>>24&255,p.check=o(p.check,ne,4,0)),ee=X=0,p.mode=4;case 4:for(;ee<16;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}p.head&&(p.head.xflags=255&X,p.head.os=X>>8),512&p.flags&&(ne[0]=255&X,ne[1]=X>>>8&255,p.check=o(p.check,ne,2,0)),ee=X=0,p.mode=5;case 5:if(1024&p.flags){for(;ee<16;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}p.length=X,p.head&&(p.head.extra_len=X),512&p.flags&&(ne[0]=255&X,ne[1]=X>>>8&255,p.check=o(p.check,ne,2,0)),ee=X=0}else p.head&&(p.head.extra=null);p.mode=6;case 6:if(1024&p.flags&&(G<(M=p.length)&&(M=G),M&&(p.head&&(b=p.head.extra_len-p.length,p.head.extra||(p.head.extra=new Array(p.head.extra_len)),a.arraySet(p.head.extra,g,R,M,b)),512&p.flags&&(p.check=o(p.check,g,M,R)),G-=M,R+=M,p.length-=M),p.length))break e;p.length=0,p.mode=7;case 7:if(2048&p.flags){if(G===0)break e;for(M=0;b=g[R+M++],p.head&&b&&p.length<65536&&(p.head.name+=String.fromCharCode(b)),b&&M<G;);if(512&p.flags&&(p.check=o(p.check,g,M,R)),G-=M,R+=M,b)break e}else p.head&&(p.head.name=null);p.length=0,p.mode=8;case 8:if(4096&p.flags){if(G===0)break e;for(M=0;b=g[R+M++],p.head&&b&&p.length<65536&&(p.head.comment+=String.fromCharCode(b)),b&&M<G;);if(512&p.flags&&(p.check=o(p.check,g,M,R)),G-=M,R+=M,b)break e}else p.head&&(p.head.comment=null);p.mode=9;case 9:if(512&p.flags){for(;ee<16;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}if(X!==(65535&p.check)){P.msg="header crc mismatch",p.mode=30;break}ee=X=0}p.head&&(p.head.hcrc=p.flags>>9&1,p.head.done=!0),P.adler=p.check=0,p.mode=12;break;case 10:for(;ee<32;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}P.adler=p.check=_(X),ee=X=0,p.mode=11;case 11:if(p.havedict===0)return P.next_out=Z,P.avail_out=V,P.next_in=R,P.avail_in=G,p.hold=X,p.bits=ee,2;P.adler=p.check=1,p.mode=12;case 12:if(C===5||C===6)break e;case 13:if(p.last){X>>>=7&ee,ee-=7&ee,p.mode=27;break}for(;ee<3;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}switch(p.last=1&X,ee-=1,3&(X>>>=1)){case 0:p.mode=14;break;case 1:if(F(p),p.mode=20,C!==6)break;X>>>=2,ee-=2;break e;case 2:p.mode=17;break;case 3:P.msg="invalid block type",p.mode=30}X>>>=2,ee-=2;break;case 14:for(X>>>=7&ee,ee-=7&ee;ee<32;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}if((65535&X)!=(X>>>16^65535)){P.msg="invalid stored block lengths",p.mode=30;break}if(p.length=65535&X,ee=X=0,p.mode=15,C===6)break e;case 15:p.mode=16;case 16:if(M=p.length){if(G<M&&(M=G),V<M&&(M=V),M===0)break e;a.arraySet(D,g,R,M,Z),G-=M,R+=M,V-=M,Z+=M,p.length-=M;break}p.mode=12;break;case 17:for(;ee<14;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}if(p.nlen=257+(31&X),X>>>=5,ee-=5,p.ndist=1+(31&X),X>>>=5,ee-=5,p.ncode=4+(15&X),X>>>=4,ee-=4,286<p.nlen||30<p.ndist){P.msg="too many length or distance symbols",p.mode=30;break}p.have=0,p.mode=18;case 18:for(;p.have<p.ncode;){for(;ee<3;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}p.lens[se[p.have++]]=7&X,X>>>=3,ee-=3}for(;p.have<19;)p.lens[se[p.have++]]=0;if(p.lencode=p.lendyn,p.lenbits=7,Y={bits:p.lenbits},z=c(0,p.lens,0,19,p.lencode,0,p.work,Y),p.lenbits=Y.bits,z){P.msg="invalid code lengths set",p.mode=30;break}p.have=0,p.mode=19;case 19:for(;p.have<p.nlen+p.ndist;){for(;L=(j=p.lencode[X&(1<<p.lenbits)-1])>>>16&255,U=65535&j,!((T=j>>>24)<=ee);){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}if(U<16)X>>>=T,ee-=T,p.lens[p.have++]=U;else{if(U===16){for(W=T+2;ee<W;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}if(X>>>=T,ee-=T,p.have===0){P.msg="invalid bit length repeat",p.mode=30;break}b=p.lens[p.have-1],M=3+(3&X),X>>>=2,ee-=2}else if(U===17){for(W=T+3;ee<W;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}ee-=T,b=0,M=3+(7&(X>>>=T)),X>>>=3,ee-=3}else{for(W=T+7;ee<W;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}ee-=T,b=0,M=11+(127&(X>>>=T)),X>>>=7,ee-=7}if(p.have+M>p.nlen+p.ndist){P.msg="invalid bit length repeat",p.mode=30;break}for(;M--;)p.lens[p.have++]=b}}if(p.mode===30)break;if(p.lens[256]===0){P.msg="invalid code -- missing end-of-block",p.mode=30;break}if(p.lenbits=9,Y={bits:p.lenbits},z=c(u,p.lens,0,p.nlen,p.lencode,0,p.work,Y),p.lenbits=Y.bits,z){P.msg="invalid literal/lengths set",p.mode=30;break}if(p.distbits=6,p.distcode=p.distdyn,Y={bits:p.distbits},z=c(d,p.lens,p.nlen,p.ndist,p.distcode,0,p.work,Y),p.distbits=Y.bits,z){P.msg="invalid distances set",p.mode=30;break}if(p.mode=20,C===6)break e;case 20:p.mode=21;case 21:if(6<=G&&258<=V){P.next_out=Z,P.avail_out=V,P.next_in=R,P.avail_in=G,p.hold=X,p.bits=ee,l(P,O),Z=P.next_out,D=P.output,V=P.avail_out,R=P.next_in,g=P.input,G=P.avail_in,X=p.hold,ee=p.bits,p.mode===12&&(p.back=-1);break}for(p.back=0;L=(j=p.lencode[X&(1<<p.lenbits)-1])>>>16&255,U=65535&j,!((T=j>>>24)<=ee);){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}if(L&&!(240&L)){for(ie=T,N=L,K=U;L=(j=p.lencode[K+((X&(1<<ie+N)-1)>>ie)])>>>16&255,U=65535&j,!(ie+(T=j>>>24)<=ee);){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}X>>>=ie,ee-=ie,p.back+=ie}if(X>>>=T,ee-=T,p.back+=T,p.length=U,L===0){p.mode=26;break}if(32&L){p.back=-1,p.mode=12;break}if(64&L){P.msg="invalid literal/length code",p.mode=30;break}p.extra=15&L,p.mode=22;case 22:if(p.extra){for(W=p.extra;ee<W;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}p.length+=X&(1<<p.extra)-1,X>>>=p.extra,ee-=p.extra,p.back+=p.extra}p.was=p.length,p.mode=23;case 23:for(;L=(j=p.distcode[X&(1<<p.distbits)-1])>>>16&255,U=65535&j,!((T=j>>>24)<=ee);){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}if(!(240&L)){for(ie=T,N=L,K=U;L=(j=p.distcode[K+((X&(1<<ie+N)-1)>>ie)])>>>16&255,U=65535&j,!(ie+(T=j>>>24)<=ee);){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}X>>>=ie,ee-=ie,p.back+=ie}if(X>>>=T,ee-=T,p.back+=T,64&L){P.msg="invalid distance code",p.mode=30;break}p.offset=U,p.extra=15&L,p.mode=24;case 24:if(p.extra){for(W=p.extra;ee<W;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}p.offset+=X&(1<<p.extra)-1,X>>>=p.extra,ee-=p.extra,p.back+=p.extra}if(p.offset>p.dmax){P.msg="invalid distance too far back",p.mode=30;break}p.mode=25;case 25:if(V===0)break e;if(M=O-V,p.offset>M){if((M=p.offset-M)>p.whave&&p.sane){P.msg="invalid distance too far back",p.mode=30;break}H=M>p.wnext?(M-=p.wnext,p.wsize-M):p.wnext-M,M>p.length&&(M=p.length),q=p.window}else q=D,H=Z-p.offset,M=p.length;for(V<M&&(M=V),V-=M,p.length-=M;D[Z++]=q[H++],--M;);p.length===0&&(p.mode=21);break;case 26:if(V===0)break e;D[Z++]=p.length,V--,p.mode=21;break;case 27:if(p.wrap){for(;ee<32;){if(G===0)break e;G--,X|=g[R++]<<ee,ee+=8}if(O-=V,P.total_out+=O,p.total+=O,O&&(P.adler=p.check=p.flags?o(p.check,D,O,Z-O):s(p.check,D,O,Z-O)),O=V,(p.flags?X:_(X))!==p.check){P.msg="incorrect data check",p.mode=30;break}ee=X=0}p.mode=28;case 28:if(p.wrap&&p.flags){for(;ee<32;){if(G===0)break e;G--,X+=g[R++]<<ee,ee+=8}if(X!==(4294967295&p.total)){P.msg="incorrect length check",p.mode=30;break}ee=X=0}p.mode=29;case 29:z=1;break e;case 30:z=-3;break e;case 31:return-4;case 32:default:return v}return P.next_out=Z,P.avail_out=V,P.next_in=R,P.avail_in=G,p.hold=X,p.bits=ee,(p.wsize||O!==P.avail_out&&p.mode<30&&(p.mode<27||C!==4))&&k(P,P.output,P.next_out,O-P.avail_out)?(p.mode=31,-4):(S-=P.avail_in,O-=P.avail_out,P.total_in+=S,P.total_out+=O,p.total+=O,p.wrap&&O&&(P.adler=p.check=p.flags?o(p.check,D,O,P.next_out-O):s(p.check,D,O,P.next_out-O)),P.data_type=p.bits+(p.last?64:0)+(p.mode===12?128:0)+(p.mode===20||p.mode===15?256:0),(S==0&&O===0||C===4)&&z===m&&(z=-5),z)},r.inflateEnd=function(P){if(!P||!P.state)return v;var C=P.state;return C.window&&(C.window=null),P.state=null,m},r.inflateGetHeader=function(P,C){var p;return P&&P.state&&2&(p=P.state).wrap?((p.head=C).done=!1,m):v},r.inflateSetDictionary=function(P,C){var p,g=C.length;return P&&P.state?(p=P.state).wrap!==0&&p.mode!==11?v:p.mode===11&&s(1,C,g,0)!==p.check?-3:k(P,C,g,g)?(p.mode=31,-4):(p.havedict=1,m):v},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(n,i,r){var a=n("../utils/common"),s=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],l=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],c=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];i.exports=function(u,d,m,v,h,f,w,_){var y,x,A,E,$,B,Q,I,F,k=_.bits,P=0,C=0,p=0,g=0,D=0,R=0,Z=0,G=0,V=0,X=0,ee=null,S=0,O=new a.Buf16(16),M=new a.Buf16(16),H=null,q=0;for(P=0;P<=15;P++)O[P]=0;for(C=0;C<v;C++)O[d[m+C]]++;for(D=k,g=15;1<=g&&O[g]===0;g--);if(g<D&&(D=g),g===0)return h[f++]=20971520,h[f++]=20971520,_.bits=1,0;for(p=1;p<g&&O[p]===0;p++);for(D<p&&(D=p),P=G=1;P<=15;P++)if(G<<=1,(G-=O[P])<0)return-1;if(0<G&&(u===0||g!==1))return-1;for(M[1]=0,P=1;P<15;P++)M[P+1]=M[P]+O[P];for(C=0;C<v;C++)d[m+C]!==0&&(w[M[d[m+C]]++]=C);if(B=u===0?(ee=H=w,19):u===1?(ee=s,S-=257,H=o,q-=257,256):(ee=l,H=c,-1),P=p,$=f,Z=C=X=0,A=-1,E=(V=1<<(R=D))-1,u===1&&852<V||u===2&&592<V)return 1;for(;;){for(Q=P-Z,F=w[C]<B?(I=0,w[C]):w[C]>B?(I=H[q+w[C]],ee[S+w[C]]):(I=96,0),y=1<<P-Z,p=x=1<<R;h[$+(X>>Z)+(x-=y)]=Q<<24|I<<16|F|0,x!==0;);for(y=1<<P-1;X&y;)y>>=1;if(y!==0?(X&=y-1,X+=y):X=0,C++,--O[P]==0){if(P===g)break;P=d[m+w[C]]}if(D<P&&(X&E)!==A){for(Z===0&&(Z=D),$+=p,G=1<<(R=P-Z);R+Z<g&&!((G-=O[R+Z])<=0);)R++,G<<=1;if(V+=1<<R,u===1&&852<V||u===2&&592<V)return 1;h[A=X&E]=D<<24|R<<16|$-f|0}}return X!==0&&(h[$+X]=P-Z<<24|64<<16|0),_.bits=D,0}},{"../utils/common":41}],51:[function(n,i,r){i.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(n,i,r){var a=n("../utils/common"),s=0,o=1;function l(j){for(var ne=j.length;0<=--ne;)j[ne]=0}var c=0,u=29,d=256,m=d+1+u,v=30,h=19,f=2*m+1,w=15,_=16,y=7,x=256,A=16,E=17,$=18,B=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],Q=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],k=new Array(2*(m+2));l(k);var P=new Array(2*v);l(P);var C=new Array(512);l(C);var p=new Array(256);l(p);var g=new Array(u);l(g);var D,R,Z,G=new Array(v);function V(j,ne,se,ce,oe){this.static_tree=j,this.extra_bits=ne,this.extra_base=se,this.elems=ce,this.max_length=oe,this.has_stree=j&&j.length}function X(j,ne){this.dyn_tree=j,this.max_code=0,this.stat_desc=ne}function ee(j){return j<256?C[j]:C[256+(j>>>7)]}function S(j,ne){j.pending_buf[j.pending++]=255&ne,j.pending_buf[j.pending++]=ne>>>8&255}function O(j,ne,se){j.bi_valid>_-se?(j.bi_buf|=ne<<j.bi_valid&65535,S(j,j.bi_buf),j.bi_buf=ne>>_-j.bi_valid,j.bi_valid+=se-_):(j.bi_buf|=ne<<j.bi_valid&65535,j.bi_valid+=se)}function M(j,ne,se){O(j,se[2*ne],se[2*ne+1])}function H(j,ne){for(var se=0;se|=1&j,j>>>=1,se<<=1,0<--ne;);return se>>>1}function q(j,ne,se){var ce,oe,re=new Array(w+1),te=0;for(ce=1;ce<=w;ce++)re[ce]=te=te+se[ce-1]<<1;for(oe=0;oe<=ne;oe++){var ae=j[2*oe+1];ae!==0&&(j[2*oe]=H(re[ae]++,ae))}}function T(j){var ne;for(ne=0;ne<m;ne++)j.dyn_ltree[2*ne]=0;for(ne=0;ne<v;ne++)j.dyn_dtree[2*ne]=0;for(ne=0;ne<h;ne++)j.bl_tree[2*ne]=0;j.dyn_ltree[2*x]=1,j.opt_len=j.static_len=0,j.last_lit=j.matches=0}function L(j){8<j.bi_valid?S(j,j.bi_buf):0<j.bi_valid&&(j.pending_buf[j.pending++]=j.bi_buf),j.bi_buf=0,j.bi_valid=0}function U(j,ne,se,ce){var oe=2*ne,re=2*se;return j[oe]<j[re]||j[oe]===j[re]&&ce[ne]<=ce[se]}function ie(j,ne,se){for(var ce=j.heap[se],oe=se<<1;oe<=j.heap_len&&(oe<j.heap_len&&U(ne,j.heap[oe+1],j.heap[oe],j.depth)&&oe++,!U(ne,ce,j.heap[oe],j.depth));)j.heap[se]=j.heap[oe],se=oe,oe<<=1;j.heap[se]=ce}function N(j,ne,se){var ce,oe,re,te,ae=0;if(j.last_lit!==0)for(;ce=j.pending_buf[j.d_buf+2*ae]<<8|j.pending_buf[j.d_buf+2*ae+1],oe=j.pending_buf[j.l_buf+ae],ae++,ce===0?M(j,oe,ne):(M(j,(re=p[oe])+d+1,ne),(te=B[re])!==0&&O(j,oe-=g[re],te),M(j,re=ee(--ce),se),(te=Q[re])!==0&&O(j,ce-=G[re],te)),ae<j.last_lit;);M(j,x,ne)}function K(j,ne){var se,ce,oe,re=ne.dyn_tree,te=ne.stat_desc.static_tree,ae=ne.stat_desc.has_stree,le=ne.stat_desc.elems,fe=-1;for(j.heap_len=0,j.heap_max=f,se=0;se<le;se++)re[2*se]!==0?(j.heap[++j.heap_len]=fe=se,j.depth[se]=0):re[2*se+1]=0;for(;j.heap_len<2;)re[2*(oe=j.heap[++j.heap_len]=fe<2?++fe:0)]=1,j.depth[oe]=0,j.opt_len--,ae&&(j.static_len-=te[2*oe+1]);for(ne.max_code=fe,se=j.heap_len>>1;1<=se;se--)ie(j,re,se);for(oe=le;se=j.heap[1],j.heap[1]=j.heap[j.heap_len--],ie(j,re,1),ce=j.heap[1],j.heap[--j.heap_max]=se,j.heap[--j.heap_max]=ce,re[2*oe]=re[2*se]+re[2*ce],j.depth[oe]=(j.depth[se]>=j.depth[ce]?j.depth[se]:j.depth[ce])+1,re[2*se+1]=re[2*ce+1]=oe,j.heap[1]=oe++,ie(j,re,1),2<=j.heap_len;);j.heap[--j.heap_max]=j.heap[1],function(me,ge){var _e,Ce,xe,Se,Pe,Le,Te=ge.dyn_tree,Me=ge.max_code,$e=ge.stat_desc.static_tree,Ye=ge.stat_desc.has_stree,Ge=ge.stat_desc.extra_bits,Xe=ge.stat_desc.extra_base,et=ge.stat_desc.max_length,at=0;for(Se=0;Se<=w;Se++)me.bl_count[Se]=0;for(Te[2*me.heap[me.heap_max]+1]=0,_e=me.heap_max+1;_e<f;_e++)et<(Se=Te[2*Te[2*(Ce=me.heap[_e])+1]+1]+1)&&(Se=et,at++),Te[2*Ce+1]=Se,Me<Ce||(me.bl_count[Se]++,Pe=0,Xe<=Ce&&(Pe=Ge[Ce-Xe]),Le=Te[2*Ce],me.opt_len+=Le*(Se+Pe),Ye&&(me.static_len+=Le*($e[2*Ce+1]+Pe)));if(at!==0){do{for(Se=et-1;me.bl_count[Se]===0;)Se--;me.bl_count[Se]--,me.bl_count[Se+1]+=2,me.bl_count[et]--,at-=2}while(0<at);for(Se=et;Se!==0;Se--)for(Ce=me.bl_count[Se];Ce!==0;)Me<(xe=me.heap[--_e])||(Te[2*xe+1]!==Se&&(me.opt_len+=(Se-Te[2*xe+1])*Te[2*xe],Te[2*xe+1]=Se),Ce--)}}(j,ne),q(re,fe,j.bl_count)}function b(j,ne,se){var ce,oe,re=-1,te=ne[1],ae=0,le=7,fe=4;for(te===0&&(le=138,fe=3),ne[2*(se+1)+1]=65535,ce=0;ce<=se;ce++)oe=te,te=ne[2*(ce+1)+1],++ae<le&&oe===te||(ae<fe?j.bl_tree[2*oe]+=ae:oe!==0?(oe!==re&&j.bl_tree[2*oe]++,j.bl_tree[2*A]++):ae<=10?j.bl_tree[2*E]++:j.bl_tree[2*$]++,re=oe,fe=(ae=0)===te?(le=138,3):oe===te?(le=6,3):(le=7,4))}function z(j,ne,se){var ce,oe,re=-1,te=ne[1],ae=0,le=7,fe=4;for(te===0&&(le=138,fe=3),ce=0;ce<=se;ce++)if(oe=te,te=ne[2*(ce+1)+1],!(++ae<le&&oe===te)){if(ae<fe)for(;M(j,oe,j.bl_tree),--ae!=0;);else oe!==0?(oe!==re&&(M(j,oe,j.bl_tree),ae--),M(j,A,j.bl_tree),O(j,ae-3,2)):ae<=10?(M(j,E,j.bl_tree),O(j,ae-3,3)):(M(j,$,j.bl_tree),O(j,ae-11,7));re=oe,fe=(ae=0)===te?(le=138,3):oe===te?(le=6,3):(le=7,4)}}l(G);var Y=!1;function W(j,ne,se,ce){O(j,(c<<1)+(ce?1:0),3),function(oe,re,te,ae){L(oe),ae&&(S(oe,te),S(oe,~te)),a.arraySet(oe.pending_buf,oe.window,re,te,oe.pending),oe.pending+=te}(j,ne,se,!0)}r._tr_init=function(j){Y||(function(){var ne,se,ce,oe,re,te=new Array(w+1);for(oe=ce=0;oe<u-1;oe++)for(g[oe]=ce,ne=0;ne<1<<B[oe];ne++)p[ce++]=oe;for(p[ce-1]=oe,oe=re=0;oe<16;oe++)for(G[oe]=re,ne=0;ne<1<<Q[oe];ne++)C[re++]=oe;for(re>>=7;oe<v;oe++)for(G[oe]=re<<7,ne=0;ne<1<<Q[oe]-7;ne++)C[256+re++]=oe;for(se=0;se<=w;se++)te[se]=0;for(ne=0;ne<=143;)k[2*ne+1]=8,ne++,te[8]++;for(;ne<=255;)k[2*ne+1]=9,ne++,te[9]++;for(;ne<=279;)k[2*ne+1]=7,ne++,te[7]++;for(;ne<=287;)k[2*ne+1]=8,ne++,te[8]++;for(q(k,m+1,te),ne=0;ne<v;ne++)P[2*ne+1]=5,P[2*ne]=H(ne,5);D=new V(k,B,d+1,m,w),R=new V(P,Q,0,v,w),Z=new V(new Array(0),I,0,h,y)}(),Y=!0),j.l_desc=new X(j.dyn_ltree,D),j.d_desc=new X(j.dyn_dtree,R),j.bl_desc=new X(j.bl_tree,Z),j.bi_buf=0,j.bi_valid=0,T(j)},r._tr_stored_block=W,r._tr_flush_block=function(j,ne,se,ce){var oe,re,te=0;0<j.level?(j.strm.data_type===2&&(j.strm.data_type=function(ae){var le,fe=4093624447;for(le=0;le<=31;le++,fe>>>=1)if(1&fe&&ae.dyn_ltree[2*le]!==0)return s;if(ae.dyn_ltree[18]!==0||ae.dyn_ltree[20]!==0||ae.dyn_ltree[26]!==0)return o;for(le=32;le<d;le++)if(ae.dyn_ltree[2*le]!==0)return o;return s}(j)),K(j,j.l_desc),K(j,j.d_desc),te=function(ae){var le;for(b(ae,ae.dyn_ltree,ae.l_desc.max_code),b(ae,ae.dyn_dtree,ae.d_desc.max_code),K(ae,ae.bl_desc),le=h-1;3<=le&&ae.bl_tree[2*F[le]+1]===0;le--);return ae.opt_len+=3*(le+1)+5+5+4,le}(j),oe=j.opt_len+3+7>>>3,(re=j.static_len+3+7>>>3)<=oe&&(oe=re)):oe=re=se+5,se+4<=oe&&ne!==-1?W(j,ne,se,ce):j.strategy===4||re===oe?(O(j,2+(ce?1:0),3),N(j,k,P)):(O(j,4+(ce?1:0),3),function(ae,le,fe,me){var ge;for(O(ae,le-257,5),O(ae,fe-1,5),O(ae,me-4,4),ge=0;ge<me;ge++)O(ae,ae.bl_tree[2*F[ge]+1],3);z(ae,ae.dyn_ltree,le-1),z(ae,ae.dyn_dtree,fe-1)}(j,j.l_desc.max_code+1,j.d_desc.max_code+1,te+1),N(j,j.dyn_ltree,j.dyn_dtree)),T(j),ce&&L(j)},r._tr_tally=function(j,ne,se){return j.pending_buf[j.d_buf+2*j.last_lit]=ne>>>8&255,j.pending_buf[j.d_buf+2*j.last_lit+1]=255&ne,j.pending_buf[j.l_buf+j.last_lit]=255&se,j.last_lit++,ne===0?j.dyn_ltree[2*se]++:(j.matches++,ne--,j.dyn_ltree[2*(p[se]+d+1)]++,j.dyn_dtree[2*ee(ne)]++),j.last_lit===j.lit_bufsize-1},r._tr_align=function(j){O(j,2,3),M(j,x,k),function(ne){ne.bi_valid===16?(S(ne,ne.bi_buf),ne.bi_buf=0,ne.bi_valid=0):8<=ne.bi_valid&&(ne.pending_buf[ne.pending++]=255&ne.bi_buf,ne.bi_buf>>=8,ne.bi_valid-=8)}(j)}},{"../utils/common":41}],53:[function(n,i,r){i.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(n,i,r){(function(a){(function(s,o){if(!s.setImmediate){var l,c,u,d,m=1,v={},h=!1,f=s.document,w=Object.getPrototypeOf&&Object.getPrototypeOf(s);w=w&&w.setTimeout?w:s,l={}.toString.call(s.process)==="[object process]"?function(A){process.nextTick(function(){y(A)})}:function(){if(s.postMessage&&!s.importScripts){var A=!0,E=s.onmessage;return s.onmessage=function(){A=!1},s.postMessage("","*"),s.onmessage=E,A}}()?(d="setImmediate$"+Math.random()+"$",s.addEventListener?s.addEventListener("message",x,!1):s.attachEvent("onmessage",x),function(A){s.postMessage(d+A,"*")}):s.MessageChannel?((u=new MessageChannel).port1.onmessage=function(A){y(A.data)},function(A){u.port2.postMessage(A)}):f&&"onreadystatechange"in f.createElement("script")?(c=f.documentElement,function(A){var E=f.createElement("script");E.onreadystatechange=function(){y(A),E.onreadystatechange=null,c.removeChild(E),E=null},c.appendChild(E)}):function(A){setTimeout(y,0,A)},w.setImmediate=function(A){typeof A!="function"&&(A=new Function(""+A));for(var E=new Array(arguments.length-1),$=0;$<E.length;$++)E[$]=arguments[$+1];var B={callback:A,args:E};return v[m]=B,l(m),m++},w.clearImmediate=_}function _(A){delete v[A]}function y(A){if(h)setTimeout(y,0,A);else{var E=v[A];if(E){h=!0;try{(function($){var B=$.callback,Q=$.args;switch(Q.length){case 0:B();break;case 1:B(Q[0]);break;case 2:B(Q[0],Q[1]);break;case 3:B(Q[0],Q[1],Q[2]);break;default:B.apply(o,Q)}})(E)}finally{_(A),h=!1}}}}function x(A){A.source===s&&typeof A.data=="string"&&A.data.indexOf(d)===0&&y(+A.data.slice(d.length))}})(typeof self>"u"?a===void 0?this:a:self)}).call(this,typeof nn<"u"?nn:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(cp);var BB=cp.exports;const FB=Hi(BB);var up={exports:{}};(function(e,t){(function(n,i){i()})(nn,function(){function n(c,u){return typeof u>"u"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function i(c,u,d){var m=new XMLHttpRequest;m.open("GET",c),m.responseType="blob",m.onload=function(){l(m.response,u,d)},m.onerror=function(){console.error("could not download file")},m.send()}function r(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function a(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var s=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof nn=="object"&&nn.global===nn?nn:void 0,o=s.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=s.saveAs||(typeof window!="object"||window!==s?function(){}:"download"in HTMLAnchorElement.prototype&&!o?function(c,u,d){var m=s.URL||s.webkitURL,v=document.createElement("a");u=u||c.name||"download",v.download=u,v.rel="noopener",typeof c=="string"?(v.href=c,v.origin===location.origin?a(v):r(v.href)?i(c,u,d):a(v,v.target="_blank")):(v.href=m.createObjectURL(c),setTimeout(function(){m.revokeObjectURL(v.href)},4e4),setTimeout(function(){a(v)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,d){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,d),u);else if(r(c))i(c,u,d);else{var m=document.createElement("a");m.href=c,m.target="_blank",setTimeout(function(){a(m)})}}:function(c,u,d,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof c=="string")return i(c,u,d);var v=c.type==="application/octet-stream",h=/constructor/i.test(s.HTMLElement)||s.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||v&&h||o)&&typeof FileReader<"u"){var w=new FileReader;w.onloadend=function(){var x=w.result;x=f?x:x.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=x:location=x,m=null},w.readAsDataURL(c)}else{var _=s.URL||s.webkitURL,y=_.createObjectURL(c);m?m.location=y:location.href=y,m=null,setTimeout(function(){_.revokeObjectURL(y)},4e4)}});s.saveAs=l.saveAs=l,e.exports=l})})(up);var NB=up.exports;const jB=Hi(NB),lo="string",HB="number",zB=[lo,HB],VB="Zipclex config missing property filename",WB="Zipclex filename can only be of type string",UB="Zipcelx sheet data is not of type array",GB="Zipclex sheet data childs is not of type array",qB='Invalid type supplied in cell config, falling back to "string"',YB=e=>e.every(t=>Array.isArray(t));var XB=e=>e.filename?typeof e.filename!="string"?(console.error(WB),!1):Array.isArray(e.sheet.data)?YB(e.sheet.data)?!0:(console.error(GB),!1):(console.error(UB),!1):(console.error(VB),!1);const dp=e=>{if(typeof e!="number")return"";const t=Math.floor(e/26),n=String.fromCharCode(97+e%26).toUpperCase();return t===0?n:dp(t-1)+n};var hp=(e,t)=>`${dp(e)}${t}`,QB=(e,t,n)=>`<c r="${hp(e,n)}" t="inlineStr"><is><t>${RB(t)}</t></is></c>`,KB=(e,t,n)=>`<c r="${hp(e,n)}"><v>${t}</v></c>`,ZB=(e,t,n)=>(zB.indexOf(e.type)===-1&&(console.warn(qB),e.type=lo),e.type===lo?QB(t,e.value,n):KB(t,e.value,n)),JB=(e,t)=>{const n=t+1,i=e.map((r,a)=>ZB(r,a,n)).join("");return`<row r="${n}">${i}</row>`},e4=e=>e.map((t,n)=>JB(t,n)).join(""),t4=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mx="http://schemas.microsoft.com/office/mac/excel/2008/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mv="urn:schemas-microsoft-com:mac:vml" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main"><workbookPr/><sheets><sheet state="visible" name="Sheet1" sheetId="1" r:id="rId3"/></sheets><definedNames/><calcPr/></workbook>`,n4=`<?xml version="1.0" ?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
<Relationship Id="rId3" Target="worksheets/sheet1.xml" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"/>
</Relationships>`,i4=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>`,r4=`<?xml version="1.0" ?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
<Default ContentType="application/xml" Extension="xml"/>
<Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels"/>
<Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" PartName="/xl/worksheets/sheet1.xml"/>
<Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" PartName="/xl/workbook.xml"/>
</Types>`,a4=`<?xml version="1.0" ?>
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mv="urn:schemas-microsoft-com:mac:vml" xmlns:mx="http://schemas.microsoft.com/office/mac/excel/2008/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:xm="http://schemas.microsoft.com/office/excel/2006/main"><sheetData>{placeholder}</sheetData></worksheet>`;const s4=e=>{const t=e4(e);return a4.replace("{placeholder}",t)};var fp=e=>{if(!XB(e))throw new Error("Validation failed.");const t=new FB,n=t.folder("xl");n.file("workbook.xml",t4),n.file("_rels/workbook.xml.rels",n4),t.file("_rels/.rels",i4),t.file("[Content_Types].xml",r4);const i=s4(e.sheet.data);return n.file("worksheets/sheet1.xml",i),t.generateAsync({type:"blob",mimeType:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}).then(r=>{jB.saveAs(r,`${e.filename}.xlsx`)})};const o4={pmConfig:{},results:{},filters:Array,stockMarketClosed:Boolean,metalName:String||void 0,pricesType:String||void 0,marketDate:Date||void 0,historicalPageLink:String||void 0},l4={class:"c-pm-prices__results"},c4={class:"c-pm-prices__xls-link"},u4={class:"c-table"},d4=["innerHTML"],h4={key:0,scope:"row",class:"c-table__td"},f4={class:"c-table__cell-wrapper"},p4=["colSpan"],m4=["title"],g4={key:0,class:"c-table__footer"},v4=["colSpan","innerHTML"],y4=["colSpan"],b4={key:0,class:"c-pm-prices__modal"},_4={role:"dialog",class:"c-pm-prices__modal-inner"},w4={class:"c-pm-prices__modal-headline is-typo-h3"},k4=["innerHTML"],C4={key:0,class:"c-pm-prices__meta"},x4={key:0,class:"c-pm-prices__meta-validity"},S4={key:0},A4={key:1,class:"c-pm-prices__meta-time"},E4=De({__name:"CePMPricesTable",props:o4,emits:["xlsExport"],setup(e,{emit:t}){const n=Ze(),{label:i}=mt(n),r=e,a=t,{pmConfig:s}=r,o=be(u(r.results));Qe(()=>r.results,k=>{o.value=u(k)});const l=de(()=>o.value.rows.map(k=>k.filter(P=>typeof P.hide>"u"||!P.hide))),c=de(()=>{var k;return(k=r.results)==null?void 0:k.footer.map((P,C)=>P.map(p=>(p.spanCols=B(C,p.id,"colsSpan","footer"),p.hiddenCols=B(C,p.id,"colsHide","footer"),p)))});function u(k){const P={...k};return(s==null?void 0:s.tableConfig.type)==="historical"||(s==null?void 0:s.tableConfig.type)==="ny-historical"?(P.rows.forEach((C,p)=>{C.length>1&&C.map((g,D)=>(D+1<C.length?(g.hide=!0,g.intraday=!0):g.hideIntraday=!0,g)),C.map(g=>(g.spanCols=B(p,g.id,"colsSpan","body"),g.hiddenCols=B(p,g.id,"colsHide","body"),g))}),P):(P.rows.forEach((C,p)=>{C.map(g=>(g.spanCols=B(p,g.id,"colsSpan","body"),g.hiddenCols=B(p,g.id,"colsHide","body"),g))}),P)}function d(k){return/\d{4}-\d{2}-\d{2}/.test(k)?ao(IR(k),s==null?void 0:s.dateFormat):k}function m(k){const P={style:"currency",currency:F(),minimumFractionDigits:(s==null?void 0:s.stockMarket.fractionDigits)||2},C=n.currentLanguage==="de"?"de-DE":"en-US";return k!==0?new Intl.NumberFormat(C,P).format(k).replace(/([€$£]|US\$)/,"").trim():"n/a"}function v(k){return typeof k=="string"&&(k.toLowerCase()==="valid"||k.toLowerCase()==="gültig")&&(k+=" *"),typeof k=="number"?m(k):k.toString()}function h(k){var p,g,D,R,Z;const C={"{dateFormat}":w(s==null?void 0:s.dateFormat.toUpperCase(),s==null?void 0:s.language),"{unit}":(p=r.results)==null?void 0:p.meta.unit,"{currency}":F(),"{metal}":r.metalName||"","{dateToday}":(g=r.results)!=null&&g.meta.dateToday?d((D=r.results)==null?void 0:D.meta.dateToday):"","{datePrevious}":(R=r.results)!=null&&R.meta.datePrevious?d((Z=r.results)==null?void 0:Z.meta.datePrevious):""};for(const G in C)k=k.replace(G,C[G]);return k}function f(k,P){let C="";return k!=null&&k.length?(C+=`${s==null?void 0:s.labels.historicalData}
`,k.forEach((p,g)=>{C+=`${p.value} ${s==null?void 0:s.stockMarket.currency}/${P} (${p.time})`,g+1<k.length&&(C+=`
`)})):C+=s==null?void 0:s.labels.messages.validUntilFurtherNotice,C}function w(k,P){if(P==="de"){const C={DD:"TT",YYYY:"JJJJ"};for(const p in C)k=k.replace(p,C[p])}return k}function _(k){const P={...o.value};P.rows[k].map(C=>(typeof C.hide<"u"?C.hide=!C.hide:C.hideIntraday=!C.hideIntraday,C)),o.value=P}function y(k){var Z,G,V;k.preventDefault(),a("xlsExport");const P=s==null?void 0:s.tableConfig.columns.map(X=>({value:h(i.value(X.label)).replace(/(<([^>]+)>)/ig,""),type:"string"}));let C=[[{value:`${i.value("pmPrices.refreshedOn")} ${E((Z=r.results)==null?void 0:Z.meta.timestampResponse,!1)}`,type:"string"}]];if(s!=null&&s.stockMarket.currency&&C.push([{value:`${i.value("pmPrices.currency")}: ${s.stockMarket.currency}`,type:"string"}]),(G=s.tableConfig)!=null&&G.type.includes("historical")&&r.filters){const X=[];Object.values(r.filters).forEach(ee=>{X.push([{value:`${i.value(ee.label)}: ${x(ee)}`,type:"string"}])}),C=[...C,...X]}const p=[];l.value.forEach(X=>{X.forEach(ee=>{p.push(A(ee))})});const g=[];c.value.forEach(X=>{X.forEach(ee=>{g.push(A(ee))})});const R={filename:`${s==null?void 0:s.tableConfig.downloadFilename}-${E((V=r.results)==null?void 0:V.meta.timestampResponse,!0).replace(/[:]/g,"-").replace(/[ ]/g,"_")}`.trim(),sheet:{data:[P,...p,...g,[{value:"",type:"string"}],...C]}};fp(R)}function x(k){if(k.name==="metalId")return r.metalName||"";if(k.type&&typeof k.type=="string"&&k.type==="date"){const P=xn(r.filters).find(C=>C.name===k.name);if(P)return d(P.value)}return k.value}function A(k){const P=[];return s==null||s.tableConfig.columns.forEach(C=>{P.push({value:$(k[C.name],C.name)||"",type:typeof k[C.name]=="string"?"string":"number"})}),P}function E(k,P){const C=r.marketDate||new Date,p="MM/dd/yyyy",g="dd.MM.yyyy",D="yyyy-MM-dd",R=(s==null?void 0:s.language)==="en"?`${P?D:p} HH:mm:ss '${s.stockMarket.timeZoneAbbreviation}'`:`${P?D:g} HH:mm:ss 'Uhr' '${s==null?void 0:s.stockMarket.timeZoneAbbreviation}'`;return ao(C,R,{timeZone:s==null?void 0:s.stockMarket.timeZone,locale:(s==null?void 0:s.language)==="en"?j3:yB})}function $(k={value:""},P){let C;return typeof k=="object"?C=k.value:P==="date"?C=d(k):C=k,typeof C=="string"?C.replace(/(<([^>]+)>)/ig,""):C}function B(k,P,C,p){if(s!=null&&s.tableConfig.spans&&s.tableConfig.spans[p]){const g=s.tableConfig.spans[p].affectedRows,D=s.tableConfig.spans[p][C];return g.includes(P||k)?D:[]}return[]}function Q(k,P){return P.includes(k)?2:!1}function I(k,P){return P.includes(k)}function F(){return(s==null?void 0:s.stockMarket.currency)||""}return(k,P)=>{var C,p,g,D,R,Z,G;return J(),ue("div",l4,[he("div",c4,[k.stockMarketClosed?pe("",!0):(J(),ke(lt,{key:0,label:we(i)("pmPrices.export"),link:"#",icon:"xls",onClick:y},null,8,["label"]))]),ve(Ii,{class:Ne(["c-pm-prices__results-table",{"c-pm-prices__results-table--stock-market-closed":k.stockMarketClosed}])},{default:He(()=>{var V,X,ee;return[he("table",u4,[he("thead",null,[he("tr",null,[(J(!0),ue(Be,null,Ue((V=we(s))==null?void 0:V.tableConfig.columns,S=>(J(),ue("th",{key:`th-${S.name}`,scope:"col",style:kn(`width:${S.width}`),class:Ne(["c-table__th",{"is-right":S.textAlign==="right"}]),innerHTML:h(we(i)(S.label))},null,14,d4))),128))])]),he("tbody",null,[(J(!0),ue(Be,null,Ue(o.value.rows,(S,O)=>(J(),ue(Be,null,[(J(!0),ue(Be,null,Ue(S,(M,H)=>{var q;return Rt((J(),ue("tr",{key:`tr-${H}`,class:Ne(["c-table__tr",{"is-alternating":O%2===0},{"is-intraday":M.intraday}])},[(J(!0),ue(Be,null,Ue((q=we(s))==null?void 0:q.tableConfig.columns,T=>(J(),ue(Be,{key:T.name},[M[T.name]&&T.isScopeRow?(J(),ue("th",h4,[he("span",f4,[T.name!=="date"?(J(),ue(Be,{key:0},[St(Oe(M[T.name]),1)],64)):S.length===1||S.length>1&&H===0||S.length>1&&M.hideIntraday?(J(),ue(Be,{key:1},[St(Oe(d(M[T.name])),1)],64)):pe("",!0),S.length>1&&H===0?(J(),ke(Je,{key:2,class:"c-table__toggle c-button--tertiary",type:"button",label:we(i)("pmPrices.buttons.toggleClose"),icon:"close-x",onClick:L=>_(O)},null,8,["label","onClick"])):pe("",!0),S.length>1&&H+1===S.length&&M.hideIntraday?(J(),ke(Je,{key:3,class:"c-table__toggle c-button--tertiary",type:"button",label:we(i)("pmPrices.buttons.toggleOpen"),icon:"chevron-down",onClick:L=>_(O)},null,8,["label","onClick"])):pe("",!0)])])):pe("",!0),M[T.name]&&!T.isScopeRow&&!I(T.name,M.hiddenCols)?(J(),ue("td",{key:1,class:Ne(["c-table__td",{"is-right":T.textAlign==="right"&&!Q(T.name,M.spanCols)},{"is-center":Q(T.name,M.spanCols)}]),colSpan:Q(T.name,M.spanCols)},[k.stockMarketClosed?(J(),ue(Be,{key:0},[St(" n/a ")],64)):(J(),ue(Be,{key:1},[typeof M[T.name]=="object"?(J(),ue("span",{key:0,title:M[T.name].historical?f(M[T.name].historical,M.unit):void 0},Oe(v(M[T.name].value)),9,m4)):(J(),ue(Be,{key:1},[St(Oe(v(M[T.name])),1)],64))],64))],10,p4)):pe("",!0)],64))),128))],2)),[[pn,!M.hide]])}),128))],64))),256))]),(X=k.results)!=null&&X.footer&&((ee=k.results)!=null&&ee.footer.length)?(J(),ue("tfoot",g4,[(J(!0),ue(Be,null,Ue(c.value,(S,O)=>(J(),ue(Be,{key:O},[(J(!0),ue(Be,null,Ue(S,(M,H)=>{var q;return J(),ue("tr",{key:`tr-footer-${H}`,class:"c-table__tr"},[(J(!0),ue(Be,null,Ue((q=we(s))==null?void 0:q.tableConfig.columns,T=>(J(),ue(Be,{key:T.name},[M[T.name]&&T.isScopeRow?(J(),ue("th",{key:0,scope:"row",colSpan:Q(T.name,M.spanCols),class:"c-table__td",innerHTML:M[T.name]},null,8,v4)):pe("",!0),M[T.name]&&!T.isScopeRow&&!I(T.name,M.hiddenCols)?(J(),ue("td",{key:1,class:Ne(["c-table__td",{"is-right":T.textAlign==="right"&&!Q(T.name,M.spanCols)},{"is-center":Q(T.name,M.spanCols)}]),colSpan:Q(T.name,M.spanCols)},[k.stockMarketClosed?(J(),ue(Be,{key:0},[St(" n / a ")],64)):(J(),ue(Be,{key:1},[St(Oe(v(M[T.name].value)),1)],64))],10,y4)):pe("",!0)],64))),128))])}),128))],64))),128))])):pe("",!0)]),k.stockMarketClosed?(J(),ue("div",b4,[he("div",_4,[he("h3",w4,Oe(we(i)(k.pricesType.includes("hu")?"pmPrices.messages.marketClosedHeadlineHU":"pmPrices.messages.marketClosedHeadlineNY")),1),he("p",{class:"c-pm-prices__modal-text",innerHTML:we(i)(k.pricesType.includes("hu")?"pmPrices.messages.marketClosedTextHU":"pmPrices.messages.marketClosedTextNY")},null,8,k4),k.historicalPageLink?(J(),ke(lt,{key:0,class:"c-pm-prices__modal-link c-link--cta-primary c-link--cta-small",label:we(i)("pmPrices.buttons.historical"),link:k.historicalPageLink},null,8,["label","link"])):pe("",!0)])])):pe("",!0)]}),_:1},8,["class"]),(C=we(s))!=null&&C.showTimestamp?(J(),ue("div",C4,[we(i)("pmPrices.messages.validity")?(J(),ue("p",x4,[(g=(p=we(s))==null?void 0:p.tableConfig)!=null&&g.type.includes("historical")?(J(),ue("span",S4,"* ")):pe("",!0),St(" "+Oe(we(i)("pmPrices.messages.validity")),1)])):pe("",!0),(R=(D=k.results)==null?void 0:D.meta)!=null&&R.timestampResponse?(J(),ue("p",A4,Oe(we(i)("pmPrices.refreshedOn"))+" "+Oe(E((G=(Z=k.results)==null?void 0:Z.meta)==null?void 0:G.timestampResponse,!1)),1)):pe("",!0)])):pe("",!0)])}}});const P4=ze(E4,[["__scopeId","data-v-efacd74b"]]),T4={pmConfig:{},results:{},metalName:String,pricesType:String},M4={class:"c-pm-prices__summary"},L4={class:"c-pm-prices__summary-header"},$4={class:"is-typo-h3"},O4={class:"c-pm-prices__summary-table"},D4={class:"c-pm-prices__table"},I4=["innerHTML"],R4={class:"c-table__tbody"},B4={key:0,scope:"row",class:"c-table__td"},F4={key:1,class:"c-table__td"},N4={class:"c-pm-prices__summary-table c-pm-prices__summary-table--desktop-visible"},j4={class:"c-pm-prices__table"},H4=["innerHTML"],z4={class:"c-table__tbody"},V4={key:0,scope:"row",class:"c-table__td"},W4={key:1,class:"c-table__td"},U4=De({__name:"CePMPricesSummaryTable",props:T4,setup(e){const t=Ze(),{label:n}=mt(t),i=e,{pmConfig:r}=i,a=o=>{const l={"{unit}":i.results.meta.unit,"{currency}":(r==null?void 0:r.stockMarket.currency)??"","{metal}":i.metalName};for(const c in l)o=o.replace(c,l[c]);return o},s=(o="",l)=>{const c=t.currentLanguage==="de"?"de-DE":"en-US",u={style:"currency",currency:(r==null?void 0:r.stockMarket.currency)??"",minimumFractionDigits:(r==null?void 0:r.stockMarket.fractionDigits)||2},d=typeof o=="number"?o!==0?new Intl.NumberFormat(c,u).format(o).replace(/([€$£]|US\$)/,""):"n/a":o.toString();return l.showPriceUnit?`${d} ${r==null?void 0:r.stockMarket.currency}/${i.results.meta.unit}`:d};return(o,l)=>(J(),ue("div",M4,[he("div",L4,[he("h3",$4,Oe(we(n)("pmPrices.summary")),1),he("span",null,Oe(we(n)("pmPrices.ofClosingValues")),1)]),ve(yf,{class:"c-pm-prices__summary-accordion-panel",headline:we(n)("pmPrices.summary")+" "+we(n)("pmPrices.ofClosingValues")},{"mgnl-editable":He(()=>[he("div",O4,[ve(Ii,null,{default:He(()=>[he("table",D4,[he("thead",null,[he("tr",null,[(J(!0),ue(Be,null,Ue(we(r).summaryConfig.columns,c=>(J(),ue("th",{key:`th-${c.name}`,scope:"col",class:"c-table__th",innerHTML:a(we(n)(c.label))},null,8,I4))),128))])]),he("tbody",R4,[(J(!0),ue(Be,null,Ue(o.results.meta.summary,c=>(J(),ue("tr",{key:`tr-${c.name}`,class:Ne(["c-table__tr"])},[(J(!0),ue(Be,null,Ue(we(r).summaryConfig.columns,u=>(J(),ue(Be,{key:`td-${u.name}`},[u.isScopeRow?(J(),ue("td",B4,Oe(we(n)(`pmPrices.${[c.name]}`)),1)):(J(),ue("td",F4,Oe(s(c[u.name],u)),1))],64))),128))]))),128))])])]),_:1})])]),_:1},8,["headline"]),he("div",N4,[ve(Ii,null,{default:He(()=>[he("table",j4,[he("thead",null,[he("tr",null,[(J(!0),ue(Be,null,Ue(we(r).summaryConfig.columns,c=>(J(),ue("th",{key:`th-${c.name}`,scope:"col",class:"c-table__th",innerHTML:a(we(n)(c.label))},null,8,H4))),128))])]),he("tbody",z4,[(J(!0),ue(Be,null,Ue(o.results.meta.summary,c=>(J(),ue("tr",{key:`tr-${c.name}`,class:Ne(["c-table__tr"])},[(J(!0),ue(Be,null,Ue(we(r).summaryConfig.columns,u=>(J(),ue(Be,{key:`td-${u.name}`},[u.isScopeRow?(J(),ue("td",V4,Oe(we(n)(`pmPrices.${[c.name]}`)),1)):(J(),ue("td",W4,Oe(s(c[u.name],u)),1))],64))),128))]))),128))])])]),_:1})])]))}});const G4=ze(U4,[["__scopeId","data-v-5588ad34"]]),q4={class:"c-pm-prices"},Y4=De({__name:"C50PMPrices",props:KR,emits:["selectChanged","dateChange","xlsExport"],setup(e,{emit:t}){const n=Ze(),{label:i}=mt(n),r=t;function a(o){r("dateChange",o)}function s(o){r("selectChanged",o)}return(o,l)=>(J(),ue("div",q4,[o.header?(J(),ke(Zt,{key:0,header:o.header},null,8,["header"])):pe("",!0),o.pmConfig&&o.pmConfig.filters?(J(),ke(V8,{key:1,"pm-config":o.pmConfig,filters:o.filters,"prices-type":o.pricesType,"min-date":o.minDate,"default-date-range":o.defaultDateRange,onDateChange:a,onSelectChanged:s},null,8,["pm-config","filters","prices-type","min-date","default-date-range"])):pe("",!0),o.message.label!==""&&o.message.show?(J(),ke(Di,{key:2,class:"c-pm-prices__alert-message",text:we(i)(o.message.label),type:"warning"},null,8,["text"])):pe("",!0),o.results&&o.results.rows&&o.results.rows.length&&o.showSummary?(J(),ke(G4,{key:3,"pm-config":o.pmConfig,results:o.results,"metal-name":o.metalName,"prices-type":o.pricesType},null,8,["pm-config","results","metal-name","prices-type"])):pe("",!0),ve(P4,{"pm-config":o.pmConfig,results:o.results,filters:o.filters,"stock-market-closed":o.stockMarketClosed,"metal-name":o.metalName,"market-date":o.marketDate,"prices-type":o.pricesType,"historical-page-link":o.historicalPageLink,onXlsExport:l[0]||(l[0]=c=>r("xlsExport"))},null,8,["pm-config","results","filters","stock-market-closed","metal-name","market-date","prices-type","historical-page-link"])]))}});const X4=ze(Y4,[["__scopeId","data-v-a8ec03b7"]]),Q4={current_hu:{pmPricesConfig:{language:"en",locale:"de-DE",stockMarket:{location:"germany",timeZone:"Europe/Berlin",timeZoneAbbreviation:"CET",currency:"EUR",fractionDigits:2},dateFormat:"MM/dd/yyyy",refreshInterval:"60000",isCurrentPrices:!0,showTimestamp:!0,tableConfig:{type:"current",downloadFilename:"heraeus-pm-current",columns:[{isScopeRow:!0,name:"metal",label:"pmPrices.metal",width:"10%"},{isScopeRow:!1,name:"unit",label:"pmPrices.unit",width:"10%"},{isScopeRow:!1,name:"bidLess1kg",label:"pmPrices.currentHU.bidLess1kg",textAlign:"right",width:"16%"},{isScopeRow:!1,name:"bid",label:"pmPrices.currentHU.bid",textAlign:"right",width:"16%"},{isScopeRow:!1,name:"offerUnfabricated",label:"pmPrices.currentHU.offerUnfabricated",textAlign:"right",width:"16%"},{isScopeRow:!1,name:"offerFabricated",label:"pmPrices.currentHU.offerFabricated",textAlign:"right",width:"16%"}]}}},current_ny:{pmPricesConfig:{language:"en",locale:"en-US",stockMarket:{location:"ny",timeZone:"America/New_York",timeZoneAbbreviation:"EST",currency:"USD",fractionDigits:2},dateFormat:"MM/dd/yyyy",refreshInterval:"60000",showTimestamp:!0,tableConfig:{type:"ny-current",downloadFilename:"heraeus-pm-current",columns:[{isScopeRow:!0,name:"metal",label:"pmPrices.metal",width:"33.333%"},{isScopeRow:!1,name:"unit",label:"pmPrices.unit",width:"33.333%"},{isScopeRow:!1,name:"offerUnfabricated",label:"pmPrices.currentNY.offer",textAlign:"right",width:"33.333%"}]}}},historical_hu:{pmPricesConfig:{language:"en",locale:"de-DE",stockMarket:{location:"germany",timeZone:"Europe/Berlin",timeZoneAbbreviation:"CET",currency:"EUR",fractionDigits:2},dateFormat:"MM/dd/yyyy",showTimestamp:!0,filters:[{type:"select",name:"metalId",label:"pmPrices.metal",value:1,options:[{val:1,selected:!0,name:"Au",niceName:"Gold"},{val:2,selected:!1,name:"Ag",niceName:"Silber"},{val:3,selected:!1,name:"Pt",niceName:"Platin"},{val:4,selected:!1,name:"Pd",niceName:"Palladium"},{val:5,selected:!1,name:"Rh",niceName:"Rhodium"},{val:6,selected:!1,name:"Ir",niceName:"Iridium"},{val:7,selected:!1,name:"Ru",niceName:"Ruthenium"}]},{name:"startDate",label:"pmPrices.startDate",type:"date",value:""},{name:"endDate",label:"pmPrices.endDate",type:"date",value:""}],summaryConfig:{columns:[{name:"name",label:"",isScopeRow:!0,width:"15%"},{name:"bid",label:"pmPrices.historicalHU.bid",textAlign:"right",noBorderLeft:!0,isScopeRow:!1,width:"15%"},{name:"offerUnfabricated",label:"pmPrices.historicalHU.offerUnfabricated",textAlign:"right",isScopeRow:!1,width:"15%"},{name:"offerFabricated",label:"pmPrices.historicalHU.offerFabricated",textAlign:"right",isScopeRow:!1,width:"15%"}]},tableConfig:{type:"historical",downloadFilename:"heraeus-pm-historical",columns:[{name:"date",label:"pmPrices.historical.date",isScopeRow:!0,width:"25%"},{name:"validTo",label:"pmPrices.validTo",isScopeRow:!1,width:"15%"},{name:"bid",label:"pmPrices.historicalHU.bid",textAlign:"right",isScopeRow:!1,width:"15%"},{name:"offerUnfabricated",label:"pmPrices.historicalHU.offerUnfabricated",textAlign:"right",isScopeRow:!1,width:"15%"},{name:"offerFabricated",label:"pmPrices.historicalHU.offerFabricated",textAlign:"right",isScopeRow:!1,width:"15%"}],spans:{footer:{affectedRows:[0],colsSpan:["date"],colsHide:["validTo"]}}}}},historical_ny:{pmPricesConfig:{language:"en",locale:"en-US",stockMarket:{location:"ny",timeZone:"America/New_York",timeZoneAbbreviation:"EST",currency:"USD",fractionDigits:2},dateFormat:"MM/dd/yyyy",showTimestamp:!0,filters:[{type:"select",name:"metalId",label:"pmPrices.metal",value:1,options:[{val:1,selected:!0,name:"Au",niceName:"Gold"},{val:2,selected:!1,name:"Ag",niceName:"Silber"},{val:3,selected:!1,name:"Pt",niceName:"Platin"},{val:4,selected:!1,name:"Pd",niceName:"Palladium"},{val:5,selected:!1,name:"Rh",niceName:"Rhodium"},{val:6,selected:!1,name:"Ir",niceName:"Iridium"},{val:7,selected:!1,name:"Ru",niceName:"Ruthenium"}]},{name:"startDate",label:"pmPrices.startDate",type:"date",value:""},{name:"endDate",label:"pmPrices.endDate",type:"date",value:""}],summaryConfig:{columns:[{name:"name",label:"",isScopeRow:!0,width:"50%"},{name:"offerFabricated",label:"pmPrices.historicalNY.offerFabricated",textAlign:"right",noBorderLeft:!0,isScopeRow:!1,width:"50%"}]},tableConfig:{type:"ny-historical",downloadFilename:"heraeus-pm-ny-historical",columns:[{name:"date",label:"pmPrices.historical.date",isScopeRow:!0,width:"33.333%"},{name:"validTo",label:"pmPrices.validTo",isScopeRow:!1,width:"33.333%"},{name:"offerFabricated",label:"pmPrices.historicalNY.offerFabricated",textAlign:"right",isScopeRow:!1,width:"33.333%"}],spans:{footer:{affectedRows:[0],colsSpan:["date"],colsHide:["validTo"]}}}}}},K4=Q4,Z4=De({__name:"C50PMPricesWrap",props:{current_hu_url:{},current_ny_url:{},hideComponent:{type:Boolean},historical_hu_url:{},historical_ny_url:{},startDate:{},type:{},metaData:{},linkHistorical:{}},async setup(e){var V,X,ee;let t,n;const i=be(1),r=e,a=be(r.type||""),s=be(),o=be(),l=gi(),c=Ze(),u=be({show:!1,name:"",label:""}),d=de(()=>{var S,O,M;return(O=(S=f.value)==null?void 0:S.meta)!=null&&O.timestampResponse?(M=Z(f.value.meta.timestampResponse))==null?void 0:M.toString():void 0}),m=be(r.startDate?ir(r.startDate):"2019-01-01"),v=be(G(r,r.type)),h=be(void 0),f=be({}),w=be(void 0),_={pageTitle:c.page.name??"",globalBusinessUnit:"Heraeus Precious Metals ",businessSection:"Precious Metal Trading",productArea:"Comprehensive services all around precious metals ",sectionGroup:"Trading"},y=Qt({...K4[r.type].pmPricesConfig}),x=de(()=>Au(DR(new Date)).split("T")[0]),A=de(()=>Au(new Date).split("T")[0]);s.value=x.value,o.value=A.value;const E=(V=y.filters)==null?void 0:V.find(S=>S.name==="startDate"),$=(X=y.filters)==null?void 0:X.find(S=>S.name==="endDate");E&&$&&(E.value=s.value,$.value=o.value);const B=de(()=>{var S,O,M;return((O=(S=f.value)==null?void 0:S.meta)==null?void 0:O.summary)&&((M=f.value.rows)==null?void 0:M.length)>1}),Q=de(()=>{var M;if(!y.filters)return"NO METAL!!!!";const S=y.filters.find(H=>H.name==="metalId");if(!S)return"";const O=(M=S.options)==null?void 0:M.find(H=>{var q;return H.val.toString()===((q=S.value)==null?void 0:q.toString())});return O==null?void 0:O.name}),I=()=>{var S;h.value=G(r,`historical_${(S=r.type)!=null&&S.includes("ny")?"ny":"hu"}`)},F=de(()=>{var S,O;return(S=r.type)!=null&&S.includes("current")?`${v.value}?lang=${c.currentLanguage}`:(O=r.type)!=null&&O.includes("historical")?`${v.value}?metalId=${i.value}&lang=${c.currentLanguage}&startDate=${s.value}&endDate=${o.value}`:""}),k=de(()=>{const S=new Date().toISOString().split("T")[0];return I(),`${h.value}?metalId=1&lang=${c.currentLanguage}&startDate=${S}&endDate=${S}`}),P=(S,O)=>{const H={limitRange:"pmPrices.messages.range",noData:"pmPrices.messages.noData",noResults:"pmPrices.messages.noResults"}[O]||"";u.value={show:S,name:O,label:H}};(ee=r.type)!=null&&ee.includes("current")?([t,n]=Vt(()=>Xt(k,{onResponse({response:S}){var O,M,H,q;if((O=S._data.rows)!=null&&O.length){const T=(H=S._data.rows)==null?void 0:H[0][((M=S._data.rows)==null?void 0:M[0].length)-1],L=!/valid|gültig/i.test(T==null?void 0:T.validTo);c.setStockMarketClosed(L)}else(q=S._data.rows)!=null&&q.length?c.setStockMarketClosed(!1):c.setStockMarketClosed(!0);c.setStockMarketChecked(!0)},onResponseError({response:S}){console.error("Stock market closed API error:",S._data,S.status,S.statusText),P(!0,"noResults")}},"$ku5crwT0wj")),await t,n(),c.stockMarketChecked?C():f.value={}):C();async function C(){const{data:S,refresh:O}=await Xt(F,{onResponse({response:{_data:M}}){var H;(H=M.rows)!=null&&H.length||P(!0,"noData")},onResponseError({response:M}){console.error("Data results API error:",M._data,M.status,M.statusText),P(!0,"noResults")}},"$pFmeJDLgwa");f.value=S.value,w.value=O}function p(S){const O=R(S[0],S[S.length-1]);y.filters&&(s.value=ir(O[0]),o.value=ir(O[O.length-1]),E&&$&&(E.value=s.value,$.value=o.value),ps(_,{name:"Date Picker",value:O},"Date Range"))}function g(S){var M;const O=(M=y.filters)==null?void 0:M.find(H=>H.name==="metalId");O&&(i.value=S.target.value,O.value=i.value),ps(_,{name:"Metal",value:Q.value??""},"Metal Name")}function D(){ps(_,{name:"XLS Export",value:"click"},"XLS Export")}function R(S,O){if(l.getDiff(new Date(S),new Date(O),"months")*-1>18){const H=l.addMonths(new Date(S),18);return P(!0,"limitRange"),[S,H.toISOString()]}else return P(!1,""),[S,O]}function Z(S){if(!y||!y.stockMarket||!y.stockMarket.timeZone){console.error("Config or stock market timezone is undefined");return}if(S===void 0){console.error("Provided date is undefined");return}return $R(new Date(S),y.stockMarket.timeZone)}function G(S,O){return S&&O&&Object.prototype.hasOwnProperty.call(S,`${O}_url`)?S[`${O}_url`]:void 0}return ot(()=>{var S;y!=null&&y.refreshInterval&&((S=r.type)!=null&&S.includes("current"))&&setInterval(()=>{w.value&&w.value()},parseInt(y.refreshInterval,10))}),(S,O)=>(J(),ke(ut,null,{default:He(()=>{var M;return[y?(J(),ke(X4,{key:0,class:"is-bg-default","prices-type":a.value,filters:y.filters,"pm-config":y,"metal-name":Q.value,results:f.value,"stock-market-closed":we(c).stockMarketClosed,"show-summary":B.value,message:u.value,"min-date":m.value,"default-date-range":[s.value,o.value],"market-date":d.value,"historical-page-link":(M=S.linkHistorical)==null?void 0:M.pageLink,onDateChange:p,onSelectChanged:g,onXlsExport:D},null,8,["prices-type","filters","pm-config","metal-name","results","stock-market-closed","show-summary","message","min-date","default-date-range","market-date","historical-page-link"])):pe("",!0)]}),_:1}))}});const J4={},e5={class:"c-loading c-loading-overlay"},t5=he("div",{class:"c-loading-spinner"},null,-1),n5=[t5];function i5(e,t){return J(),ue("div",e5,n5)}const r5=ze(J4,[["render",i5]]),a5={apiEndpoint:String,refreshInterval:Number},s5={filters:Object,defaultDateRange:Array},o5={class:"c-charttool-filters is-bg-pale-gray"},l5={class:"c-charttool-filters__form"},c5={class:"c-charttool-filters__form-wrap"},u5=De({__name:"CeCharttoolFilters",props:s5,emits:["selectChanged","dateChange","filterReset","checkboxChanged","radioChanged"],setup(e,{emit:t}){const n=t,i=Ze(),{label:r}=mt(i),a=be(Nt("randomKey"));function s(){a.value=Nt("select-"),n("filterReset")}function o(l){n("dateChange",l),a.value=Nt("select-")}return(l,c)=>{const u=ut;return J(),ue("div",o5,[ve(u,null,{default:He(()=>{var d,m,v,h,f,w,_,y,x,A,E,$,B;return[he("form",l5,[he("div",c5,[(d=l.filters)!=null&&d.currency?(J(),ke(df,{key:0,id:(v=(m=l.filters)==null?void 0:m.currency)==null?void 0:v.label,class:"c-charttool-filters__radio-group",label:l.filters.currency.label,options:(f=(h=l.filters)==null?void 0:h.currency)==null?void 0:f.options,onRadioChanged:c[0]||(c[0]=Q=>n("radioChanged",Q))},null,8,["id","label","options"])):pe("",!0),(w=l.filters)!=null&&w.timePeriod?(J(),ke(fn,{key:a.value,class:"c-charttool-filters__select",label:(_=l.filters.timePeriod)==null?void 0:_.label,options:(y=l.filters.timePeriod)==null?void 0:y.options,name:(x=l.filters.timerPeriod)==null?void 0:x.label,onSelectChanged:c[1]||(c[1]=Q=>n("selectChanged",Q))},null,8,["label","options","name"])):pe("",!0),(A=l.filters)!=null&&A.datePicker?(J(),ke(op,{key:2,class:"c-charttool-filters__date-picker","default-date-range":l.defaultDateRange,label:(E=l.filters.datePicker)==null?void 0:E.label,language:we(i).currentLanguage,onDateChange:o},null,8,["default-date-range","label","language"])):pe("",!0),($=l.filters)!=null&&$.metals?(J(),ke(Xo,Ke({key:3,class:"c-charttool-filters__checkbox-group"},(B=l.filters)==null?void 0:B.metals,{onCheckboxChanged:c[2]||(c[2]=Q=>n("checkboxChanged",Q))}),null,16)):pe("",!0),ve(Je,{class:"c-button c-button--small c-button--tertiary c-charttool-filters__reset-button",label:we(r)("global.resetFilters"),icon:"close-x",onClick:tt(s,["prevent"])},null,8,["label"])])])]}),_:1})])}}});const d5=ze(u5,[["__scopeId","data-v-ea2e17ac"]]);var pp={exports:{}};(function(e){(function(t){e.exports?(t.default=t,e.exports=t):t(typeof Highcharts<"u"?Highcharts:void 0)})(function(t){var n=t?t._modules:{};function i(r,a,s,o){r.hasOwnProperty(a)||(r[a]=o.apply(null,s),typeof CustomEvent=="function"&&t.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:a,module:r[a]}})))}i(n,"Core/Chart/ChartNavigationComposition.js",[],function(){var r;return function(a){a.compose=function(o){return o.navigation||(o.navigation=new s(o)),o};class s{constructor(l){this.updates=[],this.chart=l}addUpdate(l){this.chart.navigation.updates.push(l)}update(l,c){this.updates.forEach(u=>{u.call(this.chart,l,c)})}}a.Additions=s}(r||(r={})),r}),i(n,"Extensions/Exporting/ExportingDefaults.js",[n["Core/Globals.js"]],function(r){let{isTouchDevice:a}=r;return{exporting:{allowTableSorting:!0,type:"image/png",url:"https://export.highcharts.com/",pdfFont:{normal:void 0,bold:void 0,bolditalic:void 0,italic:void 0},printMaxWidth:780,scale:2,buttons:{contextButton:{className:"highcharts-contextbutton",menuClassName:"highcharts-contextmenu",symbol:"menu",titleKey:"contextButtonTitle",menuItems:["viewFullscreen","printChart","separator","downloadPNG","downloadJPEG","downloadPDF","downloadSVG"]}},menuItemDefinitions:{viewFullscreen:{textKey:"viewFullscreen",onclick:function(){this.fullscreen&&this.fullscreen.toggle()}},printChart:{textKey:"printChart",onclick:function(){this.print()}},separator:{separator:!0},downloadPNG:{textKey:"downloadPNG",onclick:function(){this.exportChart()}},downloadJPEG:{textKey:"downloadJPEG",onclick:function(){this.exportChart({type:"image/jpeg"})}},downloadPDF:{textKey:"downloadPDF",onclick:function(){this.exportChart({type:"application/pdf"})}},downloadSVG:{textKey:"downloadSVG",onclick:function(){this.exportChart({type:"image/svg+xml"})}}}},lang:{viewFullscreen:"View in full screen",exitFullscreen:"Exit from full screen",printChart:"Print chart",downloadPNG:"Download PNG image",downloadJPEG:"Download JPEG image",downloadPDF:"Download PDF document",downloadSVG:"Download SVG vector image",contextButtonTitle:"Chart context menu"},navigation:{buttonOptions:{symbolSize:14,symbolX:14.5,symbolY:13.5,align:"right",buttonSpacing:3,height:28,verticalAlign:"top",width:28,symbolFill:"#666666",symbolStroke:"#666666",symbolStrokeWidth:3,theme:{fill:"#ffffff",padding:5,stroke:"none","stroke-linecap":"round"}},menuStyle:{border:"none",borderRadius:"3px",background:"#ffffff",padding:"0.5em"},menuItemStyle:{background:"none",borderRadius:"3px",color:"#333333",padding:"0.5em",fontSize:a?"0.9em":"0.8em",transition:"background 250ms, color 250ms"},menuItemHoverStyle:{background:"#f2f2f2"}}}}),i(n,"Extensions/Exporting/ExportingSymbols.js",[],function(){var r;return function(a){let s=[];function o(c,u,d,m){return[["M",c,u+2.5],["L",c+d,u+2.5],["M",c,u+m/2+.5],["L",c+d,u+m/2+.5],["M",c,u+m-1.5],["L",c+d,u+m-1.5]]}function l(c,u,d,m){let v=m/3-2;return[].concat(this.circle(d-v,u,v,v),this.circle(d-v,u+v+4,v,v),this.circle(d-v,u+2*(v+4),v,v))}a.compose=function(c){if(s.indexOf(c)===-1){s.push(c);let u=c.prototype.symbols;u.menu=o,u.menuball=l.bind(u)}}}(r||(r={})),r}),i(n,"Extensions/Exporting/Fullscreen.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a,s){let{composed:o}=a,{addEvent:l,fireEvent:c,pushUnique:u}=s;function d(){this.fullscreen=new m(this)}class m{static compose(h){u(o,"Fullscreen")&&l(h,"beforeRender",d)}constructor(h){this.chart=h,this.isOpen=!1;let f=h.renderTo;!this.browserProps&&(typeof f.requestFullscreen=="function"?this.browserProps={fullscreenChange:"fullscreenchange",requestFullscreen:"requestFullscreen",exitFullscreen:"exitFullscreen"}:f.mozRequestFullScreen?this.browserProps={fullscreenChange:"mozfullscreenchange",requestFullscreen:"mozRequestFullScreen",exitFullscreen:"mozCancelFullScreen"}:f.webkitRequestFullScreen?this.browserProps={fullscreenChange:"webkitfullscreenchange",requestFullscreen:"webkitRequestFullScreen",exitFullscreen:"webkitExitFullscreen"}:f.msRequestFullscreen&&(this.browserProps={fullscreenChange:"MSFullscreenChange",requestFullscreen:"msRequestFullscreen",exitFullscreen:"msExitFullscreen"}))}close(){let h=this,f=h.chart,w=f.options.chart;c(f,"fullscreenClose",null,function(){h.isOpen&&h.browserProps&&f.container.ownerDocument instanceof Document&&f.container.ownerDocument[h.browserProps.exitFullscreen](),h.unbindFullscreenEvent&&(h.unbindFullscreenEvent=h.unbindFullscreenEvent()),f.setSize(h.origWidth,h.origHeight,!1),h.origWidth=void 0,h.origHeight=void 0,w.width=h.origWidthOption,w.height=h.origHeightOption,h.origWidthOption=void 0,h.origHeightOption=void 0,h.isOpen=!1,h.setButtonText()})}open(){let h=this,f=h.chart,w=f.options.chart;c(f,"fullscreenOpen",null,function(){if(w&&(h.origWidthOption=w.width,h.origHeightOption=w.height),h.origWidth=f.chartWidth,h.origHeight=f.chartHeight,h.browserProps){let _=l(f.container.ownerDocument,h.browserProps.fullscreenChange,function(){h.isOpen?(h.isOpen=!1,h.close()):(f.setSize(null,null,!1),h.isOpen=!0,h.setButtonText())}),y=l(f,"destroy",_);h.unbindFullscreenEvent=()=>{_(),y()};let x=f.renderTo[h.browserProps.requestFullscreen]();x&&x.catch(function(){alert("Full screen is not supported inside a frame.")})}})}setButtonText(){let h=this.chart,f=h.exportDivElements,w=h.options.exporting,_=w&&w.buttons&&w.buttons.contextButton.menuItems,y=h.options.lang;if(w&&w.menuItemDefinitions&&y&&y.exitFullscreen&&y.viewFullscreen&&_&&f){let x=f[_.indexOf("viewFullscreen")];x&&r.setElementHTML(x,this.isOpen?y.exitFullscreen:w.menuItemDefinitions.viewFullscreen.text||y.viewFullscreen)}}toggle(){this.isOpen?this.close():this.open()}}return m}),i(n,"Core/HttpUtilities.js",[n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a){let{win:s}=r,{discardElement:o,objectEach:l}=a,c={ajax:function(u){let d={json:"application/json",xml:"application/xml",text:"text/plain",octet:"application/octet-stream"},m=new XMLHttpRequest;function v(h,f){u.error&&u.error(h,f)}if(!u.url)return!1;m.open((u.type||"get").toUpperCase(),u.url,!0),u.headers&&u.headers["Content-Type"]||m.setRequestHeader("Content-Type",d[u.dataType||"json"]||d.text),l(u.headers,function(h,f){m.setRequestHeader(f,h)}),u.responseType&&(m.responseType=u.responseType),m.onreadystatechange=function(){let h;if(m.readyState===4){if(m.status===200){if(u.responseType!=="blob"&&(h=m.responseText,u.dataType==="json"))try{h=JSON.parse(h)}catch(f){if(f instanceof Error)return v(m,f)}return u.success&&u.success(h,m)}v(m,m.responseText)}},u.data&&typeof u.data!="string"&&(u.data=JSON.stringify(u.data)),m.send(u.data)},getJSON:function(u,d){c.ajax({url:u,success:d,dataType:"json",headers:{"Content-Type":"text/plain"}})},post:function(u,d,m){let v=new s.FormData;l(d,function(w,_){v.append(_,w)}),v.append("b64","true");let{filename:h,type:f}=d;return s.fetch(u,{method:"POST",body:v,...m}).then(w=>{w.ok&&w.text().then(_=>{let y=document.createElement("a");y.href=`data:${f};base64,${_}`,y.download=h,y.click(),o(y)})})}};return c}),i(n,"Extensions/Exporting/Exporting.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Chart/Chart.js"],n["Core/Chart/ChartNavigationComposition.js"],n["Core/Defaults.js"],n["Extensions/Exporting/ExportingDefaults.js"],n["Extensions/Exporting/ExportingSymbols.js"],n["Extensions/Exporting/Fullscreen.js"],n["Core/Globals.js"],n["Core/HttpUtilities.js"],n["Core/Utilities.js"]],function(r,a,s,o,l,c,u,d,m,v){var h;let{defaultOptions:f}=o,{doc:w,SVG_NS:_,win:y}=d,{addEvent:x,css:A,createElement:E,discardElement:$,extend:B,find:Q,fireEvent:I,isObject:F,merge:k,objectEach:P,pick:C,removeEvent:p,uniqueKey:g}=v;return function(D){let R,Z=[/-/,/^(clipPath|cssText|d|height|width)$/,/^font$/,/[lL]ogical(Width|Height)$/,/^parentRule$/,/^(cssRules|ownerRules)$/,/perspective/,/TapHighlightColor/,/^transition/,/^length$/,/^\d+$/],G=["fill","stroke","strokeLinecap","strokeLinejoin","strokeWidth","textAnchor","x","y"];D.inlineAllowlist=[];let V=["clipPath","defs","desc"];function X(j){let ne,se,ce=this,oe=ce.renderer,re=k(ce.options.navigation.buttonOptions,j),te=re.onclick,ae=re.menuItems,le=re.symbolSize||12;if(ce.btnCount||(ce.btnCount=0),ce.exportDivElements||(ce.exportDivElements=[],ce.exportSVGElements=[]),re.enabled===!1||!re.theme)return;let fe=ce.styledMode?{}:re.theme;te?se=function(ge){ge&&ge.stopPropagation(),te.call(ce,ge)}:ae&&(se=function(ge){ge&&ge.stopPropagation(),ce.contextMenu(me.menuClassName,ae,me.translateX||0,me.translateY||0,me.width||0,me.height||0,me),me.setState(2)}),re.text&&re.symbol?fe.paddingLeft=C(fe.paddingLeft,30):re.text||B(fe,{width:re.width,height:re.height,padding:0});let me=oe.button(re.text,0,0,se,fe,void 0,void 0,void 0,void 0,re.useHTML).addClass(j.className).attr({title:C(ce.options.lang[re._titleKey||re.titleKey],"")});me.menuClassName=j.menuClassName||"highcharts-menu-"+ce.btnCount++,re.symbol&&(ne=oe.symbol(re.symbol,Math.round((re.symbolX||0)-le/2),Math.round((re.symbolY||0)-le/2),le,le,{width:le,height:le}).addClass("highcharts-button-symbol").attr({zIndex:1}).add(me),ce.styledMode||ne.attr({stroke:re.symbolStroke,fill:re.symbolFill,"stroke-width":re.symbolStrokeWidth||1})),me.add(ce.exportingGroup).align(B(re,{width:me.width,x:C(re.x,ce.buttonOffset)}),!0,"spacingBox"),ce.buttonOffset+=((me.width||0)+re.buttonSpacing)*(re.align==="right"?-1:1),ce.exportSVGElements.push(me,ne)}function ee(){if(!this.printReverseInfo)return;let{childNodes:j,origDisplay:ne,resetParams:se}=this.printReverseInfo;this.moveContainers(this.renderTo),[].forEach.call(j,function(ce,oe){ce.nodeType===1&&(ce.style.display=ne[oe]||"")}),this.isPrinting=!1,se&&this.setSize.apply(this,se),delete this.printReverseInfo,R=void 0,I(this,"afterPrint")}function S(){var ce;let j=w.body,ne=this.options.exporting.printMaxWidth,se={childNodes:j.childNodes,origDisplay:[],resetParams:void 0};this.isPrinting=!0,(ce=this.pointer)==null||ce.reset(void 0,0),I(this,"beforePrint"),ne&&this.chartWidth>ne&&(se.resetParams=[this.options.chart.width,void 0,!1],this.setSize(ne,void 0,!1)),[].forEach.call(se.childNodes,function(oe,re){oe.nodeType===1&&(se.origDisplay[re]=oe.style.display,oe.style.display="none")}),this.moveContainers(j),this.printReverseInfo=se}function O(j){j.renderExporting(),x(j,"redraw",j.renderExporting),x(j,"destroy",j.destroyExport)}function M(j,ne,se,ce,oe,re,te){var Pe,Le;let ae=this,le=ae.options.navigation,fe=ae.chartWidth,me=ae.chartHeight,ge="cache-"+j,_e=Math.max(oe,re),Ce,xe=ae[ge];xe||(ae.exportContextMenu=ae[ge]=xe=E("div",{className:j},{position:"absolute",zIndex:1e3,padding:_e+"px",pointerEvents:"auto",...ae.renderer.style},((Pe=ae.scrollablePlotArea)==null?void 0:Pe.fixedDiv)||ae.container),Ce=E("ul",{className:"highcharts-menu"},ae.styledMode?{}:{listStyle:"none",margin:0,padding:0},xe),ae.styledMode||A(Ce,B({MozBoxShadow:"3px 3px 10px #888",WebkitBoxShadow:"3px 3px 10px #888",boxShadow:"3px 3px 10px #888"},le.menuStyle)),xe.hideMenu=function(){A(xe,{display:"none"}),te&&te.setState(0),ae.openMenu=!1,A(ae.renderTo,{overflow:"hidden"}),A(ae.container,{overflow:"hidden"}),v.clearTimeout(xe.hideTimer),I(ae,"exportMenuHidden")},ae.exportEvents.push(x(xe,"mouseleave",function(){xe.hideTimer=y.setTimeout(xe.hideMenu,500)}),x(xe,"mouseenter",function(){v.clearTimeout(xe.hideTimer)}),x(w,"mouseup",function(Te){var Me;(Me=ae.pointer)!=null&&Me.inClass(Te.target,j)||xe.hideMenu()}),x(xe,"click",function(){ae.openMenu&&xe.hideMenu()})),ne.forEach(function(Te){if(typeof Te=="string"&&(Te=ae.options.exporting.menuItemDefinitions[Te]),F(Te,!0)){let Me;Te.separator?Me=E("hr",void 0,void 0,Ce):(Te.textKey==="viewData"&&ae.isDataTableVisible&&(Te.textKey="hideData"),Me=E("li",{className:"highcharts-menu-item",onclick:function($e){$e&&$e.stopPropagation(),xe.hideMenu(),typeof Te!="string"&&Te.onclick&&Te.onclick.apply(ae,arguments)}},void 0,Ce),r.setElementHTML(Me,Te.text||ae.options.lang[Te.textKey]),ae.styledMode||(Me.onmouseover=function(){A(this,le.menuItemHoverStyle)},Me.onmouseout=function(){A(this,le.menuItemStyle)},A(Me,B({cursor:"pointer"},le.menuItemStyle||{})))),ae.exportDivElements.push(Me)}}),ae.exportDivElements.push(Ce,xe),ae.exportMenuWidth=xe.offsetWidth,ae.exportMenuHeight=xe.offsetHeight);let Se={display:"block"};se+(ae.exportMenuWidth||0)>fe?Se.right=fe-se-oe-_e+"px":Se.left=se-_e+"px",ce+re+(ae.exportMenuHeight||0)>me&&((Le=te.alignOptions)==null?void 0:Le.verticalAlign)!=="top"?Se.bottom=me-ce-_e+"px":Se.top=ce+re-_e+"px",A(xe,Se),A(ae.renderTo,{overflow:""}),A(ae.container,{overflow:""}),ae.openMenu=!0,I(ae,"exportMenuShown")}function H(j){let ne,se=j?j.target:this,ce=se.exportSVGElements,oe=se.exportDivElements,re=se.exportEvents;ce&&(ce.forEach((te,ae)=>{te&&(te.onclick=te.ontouchstart=null,se[ne="cache-"+te.menuClassName]&&delete se[ne],ce[ae]=te.destroy())}),ce.length=0),se.exportingGroup&&(se.exportingGroup.destroy(),delete se.exportingGroup),oe&&(oe.forEach(function(te,ae){te&&(v.clearTimeout(te.hideTimer),p(te,"mouseleave"),oe[ae]=te.onmouseout=te.onmouseover=te.ontouchstart=te.onclick=null,$(te))}),oe.length=0),re&&(re.forEach(function(te){te()}),re.length=0)}function q(j,ne){let se=this.getSVGForExport(j,ne);j=k(this.options.exporting,j),m.post(j.url,{filename:j.filename?j.filename.replace(/\//g,"-"):this.getFilename(),type:j.type,width:j.width,scale:j.scale,svg:se},j.fetchOptions)}function T(){return this.styledMode&&this.inlineStyles(),this.container.innerHTML}function L(){let j=this.userOptions.title&&this.userOptions.title.text,ne=this.options.exporting.filename;return ne?ne.replace(/\//g,"-"):(typeof j=="string"&&(ne=j.toLowerCase().replace(/<\/?[^>]+(>|$)/g,"").replace(/[\s_]+/g,"-").replace(/[^a-z\d\-]/g,"").replace(/^[\-]+/g,"").replace(/[\-]+/g,"-").substr(0,24).replace(/[\-]+$/g,"")),(!ne||ne.length<5)&&(ne="chart"),ne)}function U(j){let ne,se,ce=k(this.options,j);ce.plotOptions=k(this.userOptions.plotOptions,j&&j.plotOptions),ce.time=k(this.userOptions.time,j&&j.time);let oe=E("div",null,{position:"absolute",top:"-9999em",width:this.chartWidth+"px",height:this.chartHeight+"px"},w.body),re=this.renderTo.style.width,te=this.renderTo.style.height,ae=ce.exporting.sourceWidth||ce.chart.width||/px$/.test(re)&&parseInt(re,10)||(ce.isGantt?800:600),le=ce.exporting.sourceHeight||ce.chart.height||/px$/.test(te)&&parseInt(te,10)||400;B(ce.chart,{animation:!1,renderTo:oe,forExport:!0,renderer:"SVGRenderer",width:ae,height:le}),ce.exporting.enabled=!1,delete ce.data,ce.series=[],this.series.forEach(function(ge){(se=k(ge.userOptions,{animation:!1,enableMouseTracking:!1,showCheckbox:!1,visible:ge.visible})).isInternal||ce.series.push(se)});let fe={};this.axes.forEach(function(ge){ge.userOptions.internalKey||(ge.userOptions.internalKey=g()),ge.options.isInternal||(fe[ge.coll]||(fe[ge.coll]=!0,ce[ge.coll]=[]),ce[ge.coll].push(k(ge.userOptions,{visible:ge.visible,type:ge.type,uniqueNames:ge.uniqueNames})))}),ce.colorAxis=this.userOptions.colorAxis;let me=new this.constructor(ce,this.callback);return j&&["xAxis","yAxis","series"].forEach(function(ge){let _e={};j[ge]&&(_e[ge]=j[ge],me.update(_e))}),this.axes.forEach(function(ge){let _e=Q(me.axes,function(Pe){return Pe.options.internalKey===ge.userOptions.internalKey}),Ce=ge.getExtremes(),xe=Ce.userMin,Se=Ce.userMax;_e&&(xe!==void 0&&xe!==_e.min||Se!==void 0&&Se!==_e.max)&&_e.setExtremes(xe,Se,!0,!1)}),ne=me.getChartHTML(),I(this,"getSVG",{chartCopy:me}),ne=this.sanitizeSVG(ne,ce),ce=null,me.destroy(),$(oe),ne}function ie(j,ne){let se=this.options.exporting;return this.getSVG(k({chart:{borderRadius:0}},se.chartOptions,ne,{exporting:{sourceWidth:j&&j.sourceWidth||se.sourceWidth,sourceHeight:j&&j.sourceHeight||se.sourceHeight}}))}function N(){let j,ne=D.inlineAllowlist,se={},ce=w.createElement("iframe");A(ce,{width:"1px",height:"1px",visibility:"hidden"}),w.body.appendChild(ce);let oe=ce.contentWindow&&ce.contentWindow.document;oe&&oe.body.appendChild(oe.createElementNS(_,"svg")),function re(te){let ae,le,fe,me,ge,_e,Ce={};if(oe&&te.nodeType===1&&V.indexOf(te.nodeName)===-1){if(ae=y.getComputedStyle(te,null),le=te.nodeName==="svg"?{}:y.getComputedStyle(te.parentNode,null),!se[te.nodeName]){j=oe.getElementsByTagName("svg")[0],fe=oe.createElementNS(te.namespaceURI,te.nodeName),j.appendChild(fe);let xe=y.getComputedStyle(fe,null),Se={};for(let Pe in xe)Pe.length<1e3&&typeof xe[Pe]=="string"&&!/^\d+$/.test(Pe)&&(Se[Pe]=xe[Pe]);se[te.nodeName]=Se,te.nodeName==="text"&&delete se.text.fill,j.removeChild(fe)}for(let xe in ae)(d.isFirefox||d.isMS||d.isSafari||Object.hasOwnProperty.call(ae,xe))&&function(Se,Pe){if(me=ge=!1,ne.length){for(_e=ne.length;_e--&&!ge;)ge=ne[_e].test(Pe);me=!ge}for(Pe==="transform"&&Se==="none"&&(me=!0),_e=Z.length;_e--&&!me;){if(Pe.length>1e3)throw Error("Input too long");me=Z[_e].test(Pe)||typeof Se=="function"}!me&&(le[Pe]!==Se||te.nodeName==="svg")&&se[te.nodeName][Pe]!==Se&&(G&&G.indexOf(Pe)===-1?Ce[Pe]=Se:Se&&te.setAttribute(Pe.replace(/[A-Z]/g,function(Le){return"-"+Le.toLowerCase()}),Se))}(ae[xe],xe);if(A(te,Ce),te.nodeName==="svg"&&te.setAttribute("stroke-width","1px"),te.nodeName==="text")return;[].forEach.call(te.children||te.childNodes,re)}}(this.container.querySelector("svg")),j.parentNode.removeChild(j),ce.parentNode.removeChild(ce)}function K(j){let{scrollablePlotArea:ne}=this;(ne?[ne.fixedDiv,ne.scrollingContainer]:[this.container]).forEach(function(se){j.appendChild(se)})}function b(){let j=this,ne=(se,ce,oe)=>{j.isDirtyExporting=!0,k(!0,j.options[se],ce),C(oe,!0)&&j.redraw()};j.exporting={update:function(se,ce){ne("exporting",se,ce)}},s.compose(j).navigation.addUpdate((se,ce)=>{ne("navigation",se,ce)})}function z(){let j=this;j.isPrinting||(R=j,d.isSafari||j.beforePrint(),setTimeout(()=>{y.focus(),y.print(),d.isSafari||setTimeout(()=>{j.afterPrint()},1e3)},1))}function Y(){let j=this,ne=j.options.exporting,se=ne.buttons,ce=j.isDirtyExporting||!j.exportSVGElements;j.buttonOffset=0,j.isDirtyExporting&&j.destroyExport(),ce&&ne.enabled!==!1&&(j.exportEvents=[],j.exportingGroup=j.exportingGroup||j.renderer.g("exporting-group").attr({zIndex:3}).add(),P(se,function(oe){j.addButton(oe)}),j.isDirtyExporting=!1)}function W(j,ne){let se=j.indexOf("</svg>")+6,ce=j.substr(se);return j=j.substr(0,se),ne&&ne.exporting&&ne.exporting.allowHTML&&ce&&(ce='<foreignObject x="0" y="0" width="'+ne.chart.width+'" height="'+ne.chart.height+'"><body xmlns="http://www.w3.org/1999/xhtml">'+ce.replace(/(<(?:img|br).*?(?=\>))>/g,"$1 />")+"</body></foreignObject>",j=j.replace("</svg>",ce+"</svg>")),j=j.replace(/zIndex="[^"]+"/g,"").replace(/symbolName="[^"]+"/g,"").replace(/jQuery\d+="[^"]+"/g,"").replace(/url\(("|&quot;)(.*?)("|&quot;)\;?\)/g,"url($2)").replace(/url\([^#]+#/g,"url(#").replace(/<svg /,'<svg xmlns:xlink="http://www.w3.org/1999/xlink" ').replace(/ (NS\d+\:)?href=/g," xlink:href=").replace(/\n+/g," ").replace(/(fill|stroke)="rgba\(([ \d]+,[ \d]+,[ \d]+),([ \d\.]+)\)"/g,'$1="rgb($2)" $1-opacity="$3"').replace(/&nbsp;/g," ").replace(/&shy;/g,"­")}D.compose=function(j,ne){c.compose(ne),u.compose(j);let se=j.prototype;se.exportChart||(se.afterPrint=ee,se.exportChart=q,se.inlineStyles=N,se.print=z,se.sanitizeSVG=W,se.getChartHTML=T,se.getSVG=U,se.getSVGForExport=ie,se.getFilename=L,se.moveContainers=K,se.beforePrint=S,se.contextMenu=M,se.addButton=X,se.destroyExport=H,se.renderExporting=Y,se.callbacks.push(O),x(j,"init",b),d.isSafari&&y.matchMedia("print").addListener(function(ce){R&&(ce.matches?R.beforePrint():R.afterPrint())}),f.exporting=k(l.exporting,f.exporting),f.lang=k(l.lang,f.lang),f.navigation=k(l.navigation,f.navigation))}}(h||(h={})),h}),i(n,"masters/modules/exporting.src.js",[n["Core/Globals.js"],n["Extensions/Exporting/Exporting.js"],n["Core/HttpUtilities.js"]],function(r,a,s){return r.HttpUtilities=r.HttpUtilities||s,r.ajax=r.HttpUtilities.ajax,r.getJSON=r.HttpUtilities.getJSON,r.post=r.HttpUtilities.post,a.compose(r.Chart,r.Renderer),r})})})(pp);var mp=pp.exports;const gp=Hi(mp),h5=Xu({__proto__:null,default:gp},[mp]);var vp={exports:{}};(function(e){(function(t){e.exports?(t.default=t,e.exports=t):t(typeof Highcharts<"u"?Highcharts:void 0)})(function(t){var n=t?t._modules:{};function i(r,a,s,o){r.hasOwnProperty(a)||(r[a]=o.apply(null,s),typeof CustomEvent=="function"&&t.win.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:a,module:r[a]}})))}i(n,"Extensions/DownloadURL.js",[n["Core/Globals.js"]],function(r){let{isSafari:a,win:s,win:{document:o}}=r,l=s.URL||s.webkitURL||s;function c(u){let d=u.replace(/filename=.*;/,"").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);if(d&&d.length>3&&s.atob&&s.ArrayBuffer&&s.Uint8Array&&s.Blob&&l.createObjectURL){let m=s.atob(d[3]),v=new s.ArrayBuffer(m.length),h=new s.Uint8Array(v);for(let f=0;f<h.length;++f)h[f]=m.charCodeAt(f);return l.createObjectURL(new s.Blob([h],{type:d[1]}))}}return{dataURLtoBlob:c,downloadURL:function(u,d){let m=s.navigator,v=o.createElement("a");if(typeof u!="string"&&!(u instanceof String)&&m.msSaveOrOpenBlob){m.msSaveOrOpenBlob(u,d);return}if(u=""+u,m.userAgent.length>1e3)throw Error("Input too long");let h=/Edge\/\d+/.test(m.userAgent);if((a&&typeof u=="string"&&u.indexOf("data:application/pdf")===0||h||u.length>2e6)&&!(u=c(u)||""))throw Error("Failed to convert to blob");if(v.download!==void 0)v.href=u,v.download=d,o.body.appendChild(v),v.click(),o.body.removeChild(v);else try{if(!s.open(u,"chart"))throw Error("Failed to open window")}catch{s.location.href=u}}}}),i(n,"Extensions/ExportData/ExportDataDefaults.js",[],function(){return{exporting:{csv:{annotations:{itemDelimiter:"; ",join:!1},columnHeaderFormatter:null,dateFormat:"%Y-%m-%d %H:%M:%S",decimalPoint:null,itemDelimiter:null,lineDelimiter:`
`},showTable:!1,useMultiLevelHeaders:!0,useRowspanHeaders:!0,showExportInProgress:!0},lang:{downloadCSV:"Download CSV",downloadXLS:"Download XLS",exportData:{annotationHeader:"Annotations",categoryHeader:"Category",categoryDatetimeHeader:"DateTime"},viewData:"View data table",hideData:"Hide data table",exportInProgress:"Exporting..."}}}),i(n,"Extensions/ExportData/ExportData.js",[n["Core/Renderer/HTML/AST.js"],n["Core/Defaults.js"],n["Extensions/DownloadURL.js"],n["Extensions/ExportData/ExportDataDefaults.js"],n["Core/Globals.js"],n["Core/Utilities.js"]],function(r,a,s,o,l,c){let{getOptions:u,setOptions:d}=a,{downloadURL:m}=s,{doc:v,win:h}=l,{addEvent:f,defined:w,extend:_,find:y,fireEvent:x,isNumber:A,pick:E}=c;function $(V){var S;let X=!!((S=this.options.exporting)!=null&&S.showExportInProgress),ee=h.requestAnimationFrame||setTimeout;ee(()=>{X&&this.showLoading(this.options.lang.exportInProgress),ee(()=>{try{V.call(this)}finally{X&&this.hideLoading()}})})}function B(){$.call(this,()=>{let V=this.getCSV(!0);m(D(V,"text/csv")||"data:text/csv,\uFEFF"+encodeURIComponent(V),this.getFilename()+".csv")})}function Q(){$.call(this,()=>{let V='<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>Ark1</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--><style>td{border:none;font-family: Calibri, sans-serif;} .number{mso-number-format:"0.00";} .text{ mso-number-format:"@";}</style><meta name=ProgId content=Excel.Sheet><meta charset=UTF-8></head><body>'+this.getTable(!0)+"</body></html>";m(D(V,"application/vnd.ms-excel")||"data:application/vnd.ms-excel;base64,"+h.btoa(unescape(encodeURIComponent(V))),this.getFilename()+".xls")})}function I(V){let X="",ee=this.getDataRows(),S=this.options.exporting.csv,O=E(S.decimalPoint,S.itemDelimiter!==","&&V?1.1.toLocaleString()[1]:"."),M=E(S.itemDelimiter,O===","?";":","),H=S.lineDelimiter;return ee.forEach((q,T)=>{let L="",U=q.length;for(;U--;)typeof(L=q[U])=="string"&&(L=`"${L}"`),typeof L=="number"&&O!=="."&&(L=L.toString().replace(".",O)),q[U]=L;q.length=ee.length?ee[0].length:0,X+=q.join(M),T<ee.length-1&&(X+=H)}),X}function F(V){let X,ee,S=this.hasParallelCoordinates,O=this.time,M=this.options.exporting&&this.options.exporting.csv||{},H=this.xAxis,q={},T=[],L=[],U=[],ie=this.options.lang.exportData,N=ie.categoryHeader,K=ie.categoryDatetimeHeader,b=function(te,ae,le){if(M.columnHeaderFormatter){let fe=M.columnHeaderFormatter(te,ae,le);if(fe!==!1)return fe}return te?te.bindAxes?V?{columnTitle:le>1?ae:te.name,topLevelColumnTitle:te.name}:te.name+(le>1?" ("+ae+")":""):te.options.title&&te.options.title.text||(te.dateTime?K:N):N},z=function(te,ae,le){let fe={},me={};return ae.forEach(function(ge){let _e=(te.keyToAxis&&te.keyToAxis[ge]||ge)+"Axis",Ce=A(le)?te.chart[_e][le]:te[_e];fe[ge]=Ce&&Ce.categories||[],me[ge]=Ce&&Ce.dateTime}),{categoryMap:fe,dateTimeValueAxisMap:me}},Y=function(te,ae){let le=te.pointArrayMap||["y"];return te.data.some(fe=>fe.y!==void 0&&fe.name)&&ae&&!ae.categories&&te.exportKey!=="name"?["x",...le]:le},W=[],j,ne,se,ce=0,oe,re;for(oe in this.series.forEach(function(te){let ae=te.options.keys,le=te.xAxis,fe=ae||Y(te,le),me=fe.length,ge=!te.requireSorting&&{},_e=H.indexOf(le),Ce=z(te,fe),xe,Se;if(te.options.includeInDataExport!==!1&&!te.options.isInternal&&te.visible!==!1){for(y(W,function(Pe){return Pe[0]===_e})||W.push([_e,ce]),Se=0;Se<me;)se=b(te,fe[Se],fe.length),U.push(se.columnTitle||se),V&&L.push(se.topLevelColumnTitle||se),Se++;xe={chart:te.chart,autoIncrement:te.autoIncrement,options:te.options,pointArrayMap:te.pointArrayMap,index:te.index},te.options.data.forEach(function(Pe,Le){let Te,Me,$e,Ye={series:xe};S&&(Ce=z(te,fe,Le)),te.pointClass.prototype.applyOptions.apply(Ye,[Pe]);let Ge=te.data[Le]&&te.data[Le].name;if(Te=(Ye.x??"")+","+Ge,Se=0,(!le||te.exportKey==="name"||!S&&le&&le.hasNames&&Ge)&&(Te=Ge),ge&&(ge[Te]&&(Te+="|"+Le),ge[Te]=!0),q[Te]){let Xe=`${Te},${q[Te].pointers[te.index]}`,et=Te;q[Te].pointers[te.index]&&(q[Xe]||(q[Xe]=[],q[Xe].xValues=[],q[Xe].pointers=[]),Te=Xe),q[et].pointers[te.index]+=1}else{q[Te]=[],q[Te].xValues=[];let Xe=[];for(let et=0;et<te.chart.series.length;et++)Xe[et]=0;q[Te].pointers=Xe,q[Te].pointers[te.index]=1}for(q[Te].x=Ye.x,q[Te].name=Ge,q[Te].xValues[_e]=Ye.x;Se<me;)$e=Ye[Me=fe[Se]],q[Te][ce+Se]=E(Ce.categoryMap[Me][$e],Ce.dateTimeValueAxisMap[Me]?O.dateFormat(M.dateFormat,$e):null,$e),Se++}),ce+=Se}}),q)Object.hasOwnProperty.call(q,oe)&&T.push(q[oe]);for(ne=V?[L,U]:[U],ce=W.length;ce--;)X=W[ce][0],ee=W[ce][1],j=H[X],T.sort(function(te,ae){return te.xValues[X]-ae.xValues[X]}),re=b(j),ne[0].splice(ee,0,re),V&&ne[1]&&ne[1].splice(ee,0,re),T.forEach(function(te){let ae=te.name;j&&!w(ae)&&(j.dateTime?(te.x instanceof Date&&(te.x=te.x.getTime()),ae=O.dateFormat(M.dateFormat,te.x)):ae=j.categories?E(j.names[te.x],j.categories[te.x],te.x):te.x),te.splice(ee,0,ae)});return x(this,"exportData",{dataRows:ne=ne.concat(T)}),ne}function k(V){let X=ee=>{if(!ee.tagName||ee.tagName==="#text")return ee.textContent||"";let S=ee.attributes,O=`<${ee.tagName}`;return S&&Object.keys(S).forEach(M=>{let H=S[M];O+=` ${M}="${H}"`}),O+=">"+(ee.textContent||""),(ee.children||[]).forEach(M=>{O+=X(M)}),O+=`</${ee.tagName}>`};return X(this.getTableAST(V))}function P(V){let X=0,ee=[],S=this.options,O=V?1.1.toLocaleString()[1]:".",M=E(S.exporting.useMultiLevelHeaders,!0),H=this.getDataRows(M),q=M?H.shift():null,T=H.shift(),L=function(K,b){let z=K.length;if(b.length!==z)return!1;for(;z--;)if(K[z]!==b[z])return!1;return!0},U=function(K,b,z,Y){let W=E(Y,""),j="highcharts-text"+(b?" "+b:"");return typeof W=="number"?(W=W.toString(),O===","&&(W=W.replace(".",O)),j="highcharts-number"):Y||(j="highcharts-empty"),{tagName:K,attributes:z=_({class:j},z),textContent:W}};S.exporting.tableCaption!==!1&&ee.push({tagName:"caption",attributes:{class:"highcharts-table-caption"},textContent:E(S.exporting.tableCaption,S.title.text?S.title.text:"Chart")});for(let K=0,b=H.length;K<b;++K)H[K].length>X&&(X=H[K].length);ee.push(function(K,b,z){let Y=[],W=0,j=z||b&&b.length,ne,se=0,ce;if(M&&K&&b&&!L(K,b)){let oe=[];for(;W<j;++W)if((ne=K[W])===K[W+1])++se;else if(se)oe.push(U("th","highcharts-table-topheading",{scope:"col",colspan:se+1},ne)),se=0;else{ne===b[W]?S.exporting.useRowspanHeaders?(ce=2,delete b[W]):(ce=1,b[W]=""):ce=1;let re=U("th","highcharts-table-topheading",{scope:"col"},ne);ce>1&&re.attributes&&(re.attributes.valign="top",re.attributes.rowspan=ce),oe.push(re)}Y.push({tagName:"tr",children:oe})}if(b){let oe=[];for(W=0,j=b.length;W<j;++W)b[W]!==void 0&&oe.push(U("th",null,{scope:"col"},b[W]));Y.push({tagName:"tr",children:oe})}return{tagName:"thead",children:Y}}(q,T,Math.max(X,T.length)));let ie=[];H.forEach(function(K){let b=[];for(let z=0;z<X;z++)b.push(U(z?"td":"th",null,z?{}:{scope:"row"},K[z]));ie.push({tagName:"tr",children:b})}),ee.push({tagName:"tbody",children:ie});let N={tree:{tagName:"table",id:`highcharts-data-table-${this.index}`,children:ee}};return x(this,"aftergetTableAST",N),N.tree}function C(){this.toggleDataTable(!1)}function p(V){let X=(V=E(V,!this.isDataTableVisible))&&!this.dataTableDiv;if(X&&(this.dataTableDiv=v.createElement("div"),this.dataTableDiv.className="highcharts-data-table",this.renderTo.parentNode.insertBefore(this.dataTableDiv,this.renderTo.nextSibling)),this.dataTableDiv){let H=this.dataTableDiv.style,q=H.display;H.display=V?"block":"none",V?(this.dataTableDiv.innerHTML=r.emptyHTML,new r([this.getTableAST()]).addToDOM(this.dataTableDiv),x(this,"afterViewData",{element:this.dataTableDiv,wasHidden:X||q!==H.display})):x(this,"afterHideData")}this.isDataTableVisible=V;let ee=this.exportDivElements,S=this.options.exporting,O=S&&S.buttons&&S.buttons.contextButton.menuItems,M=this.options.lang;if(S&&S.menuItemDefinitions&&M&&M.viewData&&M.hideData&&O&&ee){let H=ee[O.indexOf("viewData")];H&&r.setElementHTML(H,this.isDataTableVisible?M.hideData:M.viewData)}}function g(){this.toggleDataTable(!0)}function D(V,X){let ee=h.navigator,S=h.URL||h.webkitURL||h;try{if(ee.msSaveOrOpenBlob&&h.MSBlobBuilder){let O=new h.MSBlobBuilder;return O.append(V),O.getBlob("image/svg+xml")}return S.createObjectURL(new h.Blob(["\uFEFF"+V],{type:X}))}catch{}}function R(){let V=this,X=V.dataTableDiv,ee=(O,M)=>O.children[M].textContent,S=(O,M)=>(H,q)=>{let T,L;return T=ee(M?H:q,O),L=ee(M?q:H,O),T===""||L===""||isNaN(T)||isNaN(L)?T.toString().localeCompare(L):T-L};if(X&&V.options.exporting&&V.options.exporting.allowTableSorting){let O=X.querySelector("thead tr");O&&O.childNodes.forEach(M=>{let H=M.closest("table");M.addEventListener("click",function(){let q=[...X.querySelectorAll("tr:not(thead tr)")],T=[...M.parentNode.children];q.sort(S(T.indexOf(M),V.ascendingOrderInTable=!V.ascendingOrderInTable)).forEach(L=>{H.appendChild(L)}),T.forEach(L=>{["highcharts-sort-ascending","highcharts-sort-descending"].forEach(U=>{L.classList.contains(U)&&L.classList.remove(U)})}),M.classList.add(V.ascendingOrderInTable?"highcharts-sort-ascending":"highcharts-sort-descending")})})}}function Z(){this.options&&this.options.exporting&&this.options.exporting.showTable&&!this.options.chart.forExport&&this.viewData()}function G(){var V;(V=this.dataTableDiv)==null||V.remove()}return{compose:function(V,X){let ee=V.prototype;if(!ee.getCSV){let S=u().exporting;f(V,"afterViewData",R),f(V,"render",Z),f(V,"destroy",G),ee.downloadCSV=B,ee.downloadXLS=Q,ee.getCSV=I,ee.getDataRows=F,ee.getTable=k,ee.getTableAST=P,ee.hideData=C,ee.toggleDataTable=p,ee.viewData=g,S&&(_(S.menuItemDefinitions,{downloadCSV:{textKey:"downloadCSV",onclick:function(){this.downloadCSV()}},downloadXLS:{textKey:"downloadXLS",onclick:function(){this.downloadXLS()}},viewData:{textKey:"viewData",onclick:function(){$.call(this,this.toggleDataTable)}}}),S.buttons&&S.buttons.contextButton.menuItems&&S.buttons.contextButton.menuItems.push("separator","downloadCSV","downloadXLS","viewData")),d(o);let{arearange:O,gantt:M,map:H,mapbubble:q,treemap:T,xrange:L}=X.types;O&&(O.prototype.keyToAxis={low:"y",high:"y"}),M&&(M.prototype.exportKey="name",M.prototype.keyToAxis={start:"x",end:"x"}),H&&(H.prototype.exportKey="name"),q&&(q.prototype.exportKey="name"),T&&(T.prototype.exportKey="name"),L&&(L.prototype.keyToAxis={x2:"x"})}}}}),i(n,"masters/modules/export-data.src.js",[n["Core/Globals.js"],n["Extensions/DownloadURL.js"],n["Extensions/ExportData/ExportData.js"]],function(r,a,s){return r.dataURLtoBlob=r.dataURLtoBlob||a.dataURLtoBlob,r.downloadURL=r.downloadURL||a.downloadURL,s.compose(r.Chart,r.Series),r})})})(vp);var yp=vp.exports;const bp=Hi(yp),f5=Xu({__proto__:null,default:bp},[yp]),p5={chart:Object,globalOptions:Object,hasWatermark:Boolean},m5={class:"c-chart"},g5=De({__name:"CeChart",props:p5,emits:["chart-instance"],setup(e,{emit:t}){const n=be({}),i=e,r=t;return Qe(()=>i.chart,()=>{r("chart-instance",n.value.chart)}),ot(()=>{gp(ta),bp(ta)}),(a,s)=>{const o=mo("highchart"),l=Ba;return J(),ue("div",m5,[ve(l,null,{default:He(()=>[he("div",{class:Ne(["c-chart-and-logo",{"has-watermark":a.hasWatermark}])},[a.chart?(J(),ke(o,{key:0,ref_key:"chartRef",ref:n,options:a.chart,"set-options":a.globalOptions,onChartLoaded:s[0]||(s[0]=c=>r("chart-instance",c))},null,8,["options","set-options"])):pe("",!0),ve(pt,{class:"watermark c-icon--watermark",variant:"logo"})],2)]),_:1})])}}});const v5=ze(g5,[["__scopeId","data-v-8d3c4133"]]),y5={class:"c-charttool"},b5={class:"c-charttool__links"},_5=De({__name:"C51Charttool",props:{chartOptions:{},chartGlobalOptions:{},filters:{},defaultDateRange:{},message:{}},emits:["selectChanged","dateChange","filterReset","checkboxChanged","radioChanged","exportPng","exportXls","chartInstance"],setup(e,{emit:t}){const n=Ze(),{label:i}=mt(n),r=t;return(a,s)=>{var o,l;return J(),ue("div",y5,[ve(d5,{filters:a.filters,"default-date-range":a.defaultDateRange,onSelectChanged:s[0]||(s[0]=c=>r("selectChanged",c)),onFilterReset:s[1]||(s[1]=c=>r("filterReset")),onCheckboxChanged:s[2]||(s[2]=c=>r("checkboxChanged",c)),onDateChange:s[3]||(s[3]=c=>r("dateChange",c)),onRadioChanged:s[4]||(s[4]=c=>r("radioChanged",c))},null,8,["filters","default-date-range"]),((o=a.message)==null?void 0:o.label)!==""&&((l=a.message)!=null&&l.show)&&!a.chartOptions?(J(),ke(Di,{key:0,class:"c-pm-prices__alert-message",text:we(i)(a.message.label),type:"warning"},null,8,["text"])):pe("",!0),a.chartOptions?(J(),ke(ut,{key:1},{default:He(()=>[he("div",b5,[ve(lt,{label:we(i)("chartTool.exportPNG"),link:"#",icon:"img",onClick:s[5]||(s[5]=c=>r("exportPng",c))},null,8,["label"]),ve(lt,{label:we(i)("chartTool.exportXLS"),link:"#",icon:"xls",onClick:s[6]||(s[6]=c=>r("exportXls",c))},null,8,["label"])]),ve(v5,{class:"c-charttool__chart",chart:a.chartOptions,"global-options":a.chartGlobalOptions,"has-watermark":!0,onChartInstance:s[7]||(s[7]=c=>r("chartInstance",c))},null,8,["chart","global-options"])]),_:1})):pe("",!0)])}}});const w5=ze(_5,[["__scopeId","data-v-35f6952c"]]),ws={currency:{label:"Currency",options:[{id:"usd",name:"currency",label:"USD",value:"USD",default:!0},{id:"eur",name:"currency",label:"EUR",value:"EUR",default:!1}]},timePeriod:{label:"Time Period",options:[{id:"1_month",label:"1 month",value:"1",disabled:!1,selected:!1,hidden:!1},{id:"6_month",label:"6 months",value:"6",disabled:!1,selected:!1,hidden:!1},{id:"12_month",label:"12 months",value:"12",disabled:!1,selected:!1,hidden:!1},{id:"since_2022",label:"Since 2022",value:"2022",disabled:!1,selected:!1,hidden:!1}]},metals:{options:[{id:"pt",value:"pt",color:"#535456",label:"Platinum",checked:!0,name:"pt"},{id:"au",value:"au",color:"#FFD200",label:"Gold",checked:!1,name:"au"},{id:"ag",value:"ag",color:"#838487",label:"Silver",checked:!1,name:"ag"},{id:"pd",value:"pd",color:"#72B904",label:"Palladium",checked:!1,name:"pd"},{id:"rh",value:"rh",color:"#9B006B",label:"Rhodium",checked:!1,name:"rh"},{id:"ir",value:"ir",color:"#007EB9",label:"Iridium",checked:!1,name:"ir"},{id:"ru",value:"ru",color:"#EF8700",label:"Ruthenium",checked:!1,name:"ru"}]},datePicker:{label:"Date Range",minDate:"2022-09-30",defaultDateRange:[]}},k5={style:{position:"relative"}},C5=De({__name:"C51CharttoolWrap",props:a5,async setup(e){let t,n;const i=Ze(),{label:r}=mt(i),a=e,s=xr(),o=Bi(),l=be(!1),c=be({show:!1,name:"",label:""}),u=be(JSON.parse(JSON.stringify(ws))),d=new Date,m=Eu(d,6),v=be(m.toISOString().split("T")[0]),h=be(d.toISOString().split("T")[0]),f=be(""),w=be(""),_=be({}),y=de(()=>i.currentLanguage==="de"),x={pageTitle:i.page.name??"",globalBusinessUnit:"Heraeus Precious Metals ",businessSection:"Precious Metal Trading",productArea:"Comprehensive services all around precious metals ",sectionGroup:"Trading"},A=de(()=>v.value&&h.value&&w.value&&f.value?`${a.apiEndpoint}?charttype=line&lang=${i.currentLanguage}&dateFrom=${v.value}&dateTo=${h.value}&price=${w.value}&metals=${f.value}`:"");Ri(()=>{const T=Object.keys(s.query).length>0;if(l.value=!0,f.value="pt",w.value=y.value?"EUR":"USD",T){const L={price:/^[A-Z]{3}$/,dateFrom:/^\d{4}-\d{2}-\d{2}$/,dateTo:/^\d{4}-\d{2}-\d{2}$/,metals:/^([a-z]{2})(,[a-z]{2})*$/i};for(const[U,ie]of Object.entries(L)){const N=s.query[U];if(N&&ie.test(N))switch(U){case"price":{w.value=N;break}case"dateFrom":{v.value=N;break}case"dateTo":{h.value=N;break}case"metals":{const K=ws.metals.options.map(Y=>Y.value),z=N.split(",").filter(Y=>K.includes(Y));f.value=z.length>0?z.join(","):f.value;break}}}}q()});const{data:E,refresh:$,pending:B}=([t,n]=Vt(()=>Xt(A,{onRequest(){l.value=!0},onResponse({response:{_data:T}}){T!=null&&T.message&&H(!0,"noData"),l.value=!1},onResponseError(){H(!0,"noResults"),l.value=!1},onRequestError(){H(!0,"noResults"),l.value=!1}},"$3jx6CVfO66")),t=await t,n(),t),Q=de(()=>{const T={...u.value};return M(T,"currency"),M(T,"timePeriod"),M(T,"metals"),M(T,"datePicker","label"),T}),I=de(()=>f.value.includes("ag")),F=de(()=>({chartTitle:r.value(`chartTool.chart.chartTitle_${w.value}`),yAxisTitle:r.value(`chartTool.chart.yAxisTitle_${w.value}`),yAxisTitleSilver:r.value(`chartTool.chart.yAxisTitleSilver_${w.value}`)})),k=be({lang:{decimalPoint:y.value?",":".",thousandsSep:y.value?".":",",months:y.value?["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:y.value?["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:y.value?["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]}}),P=de(()=>{var U,ie,N,K;if(!E.value)return;const T=(ie=(U=Q.value)==null?void 0:U.metals)==null?void 0:ie.options;return{title:{text:F.value.chartTitle},xAxis:{type:"datetime",tickmarkPlacement:"on",title:{text:""},showFirstLabel:!0,showLastLabel:!0,startOnTick:!0,endOnTick:!1,labels:{format:"{value:%e.%b}"}},yAxis:[{title:{text:F.value.yAxisTitle},opposite:!1,softThreshold:!0},{title:{text:I.value?F.value.yAxisTitleSilver:""},opposite:!0,alignTicks:!1,softThreshold:!0}],series:(N=E.value)!=null&&N.series?(K=Object.keys(E.value.series))==null?void 0:K.map(b=>{const z=T.find(W=>W.value===b),Y=b==="ag";return{name:E.value.series[b][0].name,data:E.value.series[b][0].data.map((W,j)=>[E.value.unixtime[j]*1e3,W]),opening:E.value.series[b][0].opening,high:E.value.series[b][0].high,low:E.value.series[b][0].low,closing:E.value.series[b][0].closing,color:z?z.color:"#000000",yAxis:Y?1:0,valueSuffix:w.value==="EUR"?Y?"€/Kg":"€/g":"USD/oz"}}):[],tooltip:{shared:!0,formatter:function(){const b=this.x?ta.dateFormat(y.value?"%A, %e. %B %Y":"%A, %b %e, %Y",this.x):"N/A";if(this.points&&this.points.length===1){const z=this.points[0],Y=z.series.data.indexOf(z.point),W=z.series.userOptions.opening?C(z.series.userOptions.opening[Y],i.currentLanguage):"N/A",j=z.series.userOptions.high?C(z.series.userOptions.high[Y],i.currentLanguage):"N/A",ne=z.series.userOptions.low?C(z.series.userOptions.low[Y],i.currentLanguage):"N/A",se=z.series.userOptions.closing?C(z.series.userOptions.closing[Y],i.currentLanguage):"N/A",ce=z.series.userOptions.valueSuffix;return`
            <span style="font-size: 0.8em">${b}</span><br/>
            <b><span style="color:${z.color}">●</span> ${z.series.name}</b><br/>
            Open: <b>${W} ${ce}</b><br/>
            High: <b>${j} ${ce}</b><br/>
            Low: <b>${ne} ${ce}</b><br/>
            Close: <b>${se} ${ce}</b><br/>`}else return this.points.reduce((z,Y)=>{const W=Y.series.userOptions.valueSuffix;return z+`
              <span style="color:${Y.color}">●</span> ${Y.series.name}: <b>${C(Y.y,i.currentLanguage)} ${W}</b><br/>`},`<span style="font-size: 0.8em">${b}</span><br/>`)}},legend:{enabled:!1},plotOptions:{series:{marker:{enabled:!1},lineWidth:2}},credits:{enabled:!1},exporting:{enabled:!1,chartOptions:{title:{text:F.value.chartTitle+" (Heraeus)"},legend:{enabled:!0,layout:"horizontal",align:"center",verticalAlign:"bottom"}}}}});function C(T,L){return L==="de"?new Intl.NumberFormat("de-DE").format(T):new Intl.NumberFormat("en-US").format(T)}function p(T){_.value=T}function g(){var T;(T=_.value)==null||T.exportChart({type:"image/png"}),Ci(x,"Export","PNG")}function D(){if(Ci(x,"Export","XLS"),_.value){const T=_.value.getCSV(),L=i.currentLanguage==="de"?"dd.MM.yyyy":"MM/dd/yyyy",U=T.split(`
`).map((Y,W)=>Y.split(",").map((j,ne)=>{const se=j.replace(/(^"|"$)/g,"");if(W!==0&&ne===0){const ce=new Date(se.split(" ")[0]);if(!isNaN(ce.getTime()))return ao(ce,L)}return W!==0?C(Number(se),i.currentLanguage):se})),ie=U[0].map(Y=>({value:Y,type:"string"})),N=ie.some(Y=>Y.value==="Silber"||"Silver"),K=U.slice(1).map(Y=>Y.map(W=>({value:W,type:"string"}))),b=[[{value:r.value("chartTool.currency.label"),type:"string"},{value:w.value==="EUR"&&!N?"EUR/g":w.value==="EUR"&&N?`EUR/g, ${r.value("chartTool.metals.options.ag")}: EUR/kg`:"USD/oz",type:"string"}]],z={filename:`heraeus-charttool-${new Date().toISOString().split("T")[0]}`,sheet:{data:[ie,...K,...b]}};fp(z)}}function R(){u.value=JSON.parse(JSON.stringify(ws)),Q.value.currency.options[0].default=!y.value,Q.value.currency.options[1].default=y.value,v.value=m.toISOString().split("T")[0],h.value=d.toISOString().split("T")[0],f.value="pt",w.value=y.value?"EUR":"USD"}function Z(T){var K,b;const L=T.target;L.value&&((K=Q.value.timePeriod)==null||K.options.forEach(z=>{z.selected&&(z.selected=!1)}),(b=Q.value.timePeriod)==null||b.options.forEach(z=>{z.selected=z.value===L.value}));const U=new Date(h.value),ie=Number(L.value)>2e3?new Date("2022-09-30"):Eu(U,Number(L.value));v.value=ie.toISOString().split("T")[0];const N=Q.value.timePeriod.options.find(z=>z.selected===!0);Ci(x,"timePeriod",N==null?void 0:N.label)}function G({checked:T,value:L}){const U=new Set(f.value.split(",").filter(Boolean));T?U.add(L):U.delete(L),f.value=Array.from(U).join(","),Q.value.metals.options.forEach(ie=>(ie.value===L&&(ie.checked=T),ie)),q(),Ci(x,"metals",f.value)}function V(){const T=f.value.split(",");Q.value.metals.options.forEach(L=>{L.checked=T.includes(L.value)})}function X(T){var ie;(ie=Q.value.timePeriod)==null||ie.options.forEach(N=>{N.selected===!0&&(N.selected=!1)});const L=ir(T[0]),U=ir(T[T.length-1]);v.value=L,h.value=U,Ci(x,"dateRange",[v.value,h.value]),q()}function ee(){const{dateFrom:T,dateTo:L}=s.query;T&&L?(v.value=T,h.value=L):console.warn("Invalid dateQuery value:",v.value,h.value)}function S(T){const L=T.target.value;w.value=L,L&&Q.value.currency.options.forEach(U=>{U.checked=U.value===L,U.default=U.value===L}),q(),Ci(x,"currency",w.value)}function O(T){T?Q.value.currency.options.forEach(L=>{L.checked=L.value===T}):Q.value.currency.options.forEach(L=>{L.checked=L.value===w.value})}function M(T,L,U="options"){var N;T[L].label=(N=T==null?void 0:T[L])!=null&&N.label?r.value(`chartTool.${L}.label`):"";const ie=T[L][U];Array.isArray(ie)&&ie.forEach(K=>{K.label=r.value(`chartTool.${L}.${U}.${K.id}`)})}const H=(T,L)=>{const ie={noData:"chartTool.messages.noData",noResults:"chartTool.messages.noResults"}[L]||"";c.value={show:T,name:L,label:ie}};function q(){l.value=!0,o.push({path:s.path,query:{price:w.value,dateFrom:v.value,dateTo:h.value,metals:f.value}})}return Qe([v,h,f,w],()=>{q()},{deep:!0}),ot(()=>{l.value=!0,s.query&&(O(s.query.price??s.query.price),V(),ee()),setTimeout(()=>{$()},10),setTimeout(()=>{l.value=!1},1e3),setInterval(()=>{$()},(a.refreshInterval??60)*1e3)}),(T,L)=>(J(),ue("div",k5,[Rt(ve(r5,null,null,512),[[pn,we(B)||l.value]]),ve(w5,{"chart-options":P.value,"chart-global-options":k.value,filters:Q.value,"default-date-range":[v.value,h.value],message:c.value,onSelectChanged:Z,onFilterReset:R,onCheckboxChanged:G,onDateChange:X,onRadioChanged:S,onChartInstance:p,onExportPng:g,onExportXls:D},null,8,["chart-options","chart-global-options","filters","default-date-range","message"])]))}}),x5={componentMappings:{"starterkit:pages/page":Uc,"starterkit:pages/T04_ProductDetailPage":os,"starterkit:pages/T04_ProductDetailPageDynamic":os,"starterkit:pages/T04_GeneralProductDetailPage":os,"starterkit:pages/T06_NewsDetailPage":dS,"starterkit:pages/T08_OnePager":Uc,"starterkit:pages/T09_SearchResultPage":j$,"starterkit:components/C03_Stage":RS,"starterkit:components/C04_Teaserwall":iT,"starterkit:components/textMedia":pa,"starterkit:components/nested/C10_TextMediaNested":pa,"starterkit:components/C08_Form":g2,"starterkit:components/forms/C08_FormLayout":w2,"starterkit:components/forms/C08_FormText":ln,"starterkit:components/forms/C08_FormMail":ln,"starterkit:components/forms/C08_FormTextArea":uf,"starterkit:components/forms/C08_FormSelectSingle":nE,"starterkit:components/forms/C08_FormHiddenField":ln,"starterkit:components/forms/C08_FormTextReadOnly":ln,"starterkit:components/forms/C08_FormCheckboxGroup":Xo,"starterkit:components/C16_DownloadList":Kc,"starterkit:components/nested/C16_DownloadListNested":Kc,"starterkit:components/C17_Contact":NT,"starterkit:components/C22_TeaserGroup":Lr,"starterkit:components/C22b_ComponentGroup":Zc,"starterkit:components/nested/C22b_ComponentGroupNested":Zc,"starterkit:components/C24_ContentCarousel":ZT,"starterkit:components/C24_ContentCarouselElement":s$,"starterkit:components/C31_NewsIntro":lL,"starterkit:components/C35_Intro":uL,"starterkit:components/CX_MedevioEmbed":g$,"starterkit:components/CX_MedevioQlikViewEmbed":k$,"starterkit:components/CX_MedevioLinks":b$,"starterkit:components/C28_AccordionElement":yf,"starterkit:components/C28_Accordion":nM,"starterkit:components/C30_Filter":QM,"starterkit:components/C12_ProductIntro":ET,"starterkit:components/C36_ProductFinder":ML,"starterkit:components/C36_ProductFinderDynamic":NL,"starterkit:components/C40_MSDynamicsForm":f$,"starterkit:components/C23_FullsizeTeaser":S$,"starterkit:components/C06_FulltextSearch":bf,"starterkit:components/C15_Tables":Y$,"starterkit:components/C37_ProductSelector":EI,"starterkit:components/C44_IntroHome":US,"starterkit:components/C40a_Salesforce":l3,"starterkit:components/C50_PMPrices":Z4,"starterkit:components/C51_ChartTool":C5}},S5={class:"error-page"},A5={key:0},E5=De({__name:"error",props:{error:{type:Object,default:()=>({statusCode:404,statusMessage:"Page not found"})}},async setup(e){let t,n;const i=e,r=be(null),a=be(null),s=Gt(),o=ka(),l=Ze(),c=window.location,u=be(""),d=be(void 0),m=be(i==null?void 0:i.error),v=de(()=>{var B,Q,I;const E=(B=l.site)!=null&&B.isGroup?"is-group":"is-opco",$=(Q=l.site)!=null&&Q.isGroup?"":`is-theme-${(I=l==null?void 0:l.site)==null?void 0:I.theme}`;return[E,$]});l.setCurrentPath(o.path),l.setCurrentLanguage({$config:s},o.path),l.setLanguages({$config:s}),l.setPublic(s.public.mgnlPublic),l.setLiveCopyClonedPathPattern(Er(o.path,hi({$config:s})));const h={$config:s,pathMatch:o.path,location:c,isServer:!1,site:void 0},f=de(()=>{var E,$;return((E=i==null?void 0:i.error)==null?void 0:E.statusCode)&&(($=i==null?void 0:i.error)==null?void 0:$.statusCode)>=500});Ri(()=>{as(),window.addEventListener("resize",Mt.debounce(as,200),!0)}),yt(()=>{window.removeEventListener("resize",Mt.debounce(as,200),!0)});const{data:w,error:_}=([t,n]=Vt(()=>En("site",()=>f.value?(d.value=!0,Promise.reject(new Error("Not fetching site due to previous 5xx error"))):(d.value=void 0,l.fetchSite(h)))),t=await t,n(),t);h.site=w.value,!_&&f.value&&(En("navigation",()=>l.fetchNavigation(h)),En("labels",()=>l.labels.length===0?l.fetchLabels(h):Promise.resolve([])),En("header",()=>l.fetchHeader(h)),En("footer",()=>l.fetchFooter(h)));const{data:y,error:x}=([t,n]=Vt(()=>En("pageData",()=>{var E;return f.value?(d.value=!0,Promise.reject(new Error("Not fetching page data due to previous 5xx error"))):(d.value=void 0,u.value=A((E=i==null?void 0:i.error)==null?void 0:E.statusCode),Yy({...h,pathMatch:u.value}))})),t=await t,n(),t);if(!x.value&&!_&&!f.value){r.value=y.value;const E=JSON.parse(JSON.stringify(r.value.page));Ea(E,s.public.mgnlDamRaw,s.public.mgnlBase,!1),Nd(E,l),a.value=E}else d.value=!0;function A(E){var I,F,k,P;let $=(isNaN(E)?404:E).toString();const B={...xn((I=l==null?void 0:l.site)==null?void 0:I.errorPages)};$=(F=Object.values(B))!=null&&F.some(C=>(C==null?void 0:C.code)===$)?$:"404";let Q=(P=(k=Object.values(B))==null?void 0:k.find(C=>C.code===$))==null?void 0:P.page;if(Q&&(l!=null&&l.isLiveCopyClonedPathPattern)&&(Q=Mo(Pt(Q).split("/").pop())),Q)return Q=_t(Q,l==null?void 0:l.languages,l==null?void 0:l.currentLanguage,l==null?void 0:l.site,l==null?void 0:l.isPublic),d.value=!1,Q;m.value.statusCode=E,m.value.statusMessage="Error fetching error page",d.value=!0}return(E,$)=>(J(),ue("div",S5,[d.value===!0?(J(),ue("div",A5,[ve(Ow,{error:m.value},null,8,["error"])])):pe("",!0),d.value?pe("",!0):(J(),ue("div",{key:1,class:Ne(we(v))},[a.value?(J(),ke(we(Wh),{key:0,content:a.value,config:we(x5)},null,8,["content","config"])):pe("",!0)],2))]))}}),P5={__name:"nuxt-root",setup(e){const t=()=>null,n=kt(),i=n.deferHydration(),r=!1;Ht(kr,ka()),n.hooks.callHookWith(o=>o.map(l=>l()),"vue:setup");const a=Ca();Dp((o,l,c)=>{if(n.hooks.callHook("vue:error",o,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),vv(o)&&(o.fatal||o.unhandled))return n.runWithContext(()=>Ei(o)),!1});const{islandContext:s}=!1;return(o,l)=>(J(),ke(go,{onResolve:we(i)},{default:He(()=>[we(a)?(J(),ke(we(E5),{key:0,error:we(a)},null,8,["error"])):we(s)?(J(),ke(we(t),{key:1,context:we(s)},null,8,["context"])):we(r)?(J(),ke(Mi(we(r)),{key:2})):(J(),ke(we(Z_),{key:3}))]),_:1},8,["onResolve"]))}},Hu=P5;globalThis.$fetch||(globalThis.$fetch=Am.create({baseURL:Pm()}));let zu;{let e;zu=async function(){var a,s;if(e)return e;const i=!!((a=window.__NUXT__)!=null&&a.serverRendered||((s=document.getElementById("__NUXT_DATA__"))==null?void 0:s.dataset.ssr)==="true")?Ip(Hu):Rp(Hu),r=Hm({vueApp:i});try{await Vm(r,j_)}catch(o){await r.callHook("app:error",o),r.payload.error=r.payload.error||o}try{await r.hooks.callHook("app:created",i),await r.hooks.callHook("app:beforeMount",i),i.mount("#"+Hg),await r.hooks.callHook("app:mounted",i),await Dt()}catch(o){await r.callHook("app:error",o),r.payload.error=r.payload.error||o}return i},e=zu().catch(t=>{console.error("Error while mounting app:",t)})}export{OT as A,nM as B,lt as C,pa as D,Ui as E,Ii as F,v5 as G,yf as H,M5 as I,Uo as J,du as K,tn as L,Zl as M,Ya as N,Xt as O,fi as P,_t as Q,Rs as R,$o as S,Er as T,hi as U,as as V,Qk as W,Wh as X,ex as Y,RC as Z,Je as _,Ze as a,mn as b,Po as c,En as d,Ea as e,Rg as f,Fi as g,Cr as h,Gt as i,kt as j,Yy as k,L5 as l,x5 as m,$5 as n,Hi as o,nn as p,Dn as q,Ni as r,Mt as s,Nd as t,ka as u,Wi as v,ze as w,mt as x,ET as y,ut as z};
