/*! project: dhl-digital-experience-platform v2026.7.0 | compilation hash: e14c2a63cece246b0efd | timestamp: Tue Jul 14 2026 15:16:48 GMT+0200 (Central European Summer Time) */(()=>{var e,t={633:(e,t,r)=>{!function(){"use strict";let t=20;const n=function(e){if(!(this instanceof n))throw new Error('Timer Consttuctor must be called using "new"');if(parseInt(e)!==e||e<1)throw new Error("Timer() expects a positive integer (>1)");const r={"-1":"destroyed",0:"stopped",1:"running",2:"paused",3:"completed"};let o,i,s,a,c,l,u,d,f,m,h,p,y,v;const g=function(){return m=new Date-h,h=new Date,d+=m,y++,p?(clearTimeout(i),clearInterval(i),i=setInterval(g,s),p=!1,a=!0):a=!(m>s+t),l&&!l(E)||c(E),y>=v&&b(),!0},b=function(){clearTimeout(i),clearInterval(i),o=n.Status.COMPLETED,u&&u(E)};a=!0,s=e,y=0,v=1/0,o=n.Status.STOPPED,m=0,d=0;const E={get statusCode(){return o},get status(){return r[o]},get inSync(){return a},get timerDelay(){return s},get timestamp(){let e;return o===n.Status.DESTROYED||o===n.Status.STOPPED?e=0:o===n.Status.RUNNING?e=d+(new Date-h):o===n.Status.PAUSED?e=d+(f-h):o===n.Status.COMPLETED&&(e=d),e||0},get currentCycle(){return y},get cycleLimit(){return v},get cycleTimestamp(){return d||0},get cycleDeltatime(){return m||0},get syncThreshold(){return t},action:function(e){if("function"!=typeof e)throw new Error("Timer.action() expects a function");return c=e.bind(E),this},start:function(e=!0){if(!c)throw new Error("Timer.start() Action must be set");if(!s)throw new Error("Timer.start() Delay must be set");return o===n.Status.RUNNING?this:o===n.Status.PAUSED?this.resume():(o!==n.Status.STOPPED||(e&&this.reset(),h=new Date,o=n.Status.RUNNING,i=setInterval(g,s)),this)},pause:function(){return o===n.Status.PAUSED||o===n.Status.STOPPED||1!==o||(clearTimeout(i),clearInterval(i),o=n.Status.PAUSED,f=new Date),this},stop:function(){return o===n.Status.RUNNING&&this.pause(),this.reset(),this},resume:function(){if(o!==n.Status.PAUSED)return this;o=n.Status.RUNNING,p=!0;const e=f-h;return h=new Date(new Date-(f-h)),i=setTimeout(g,s-e-2),this},repeat:function(e=!0){if((parseInt(e)!==e||e<1)&&!0!==e&&!1!==e)throw new Error("Timer.repeat() expects an integer (>=1) or a boolean");return v=!0===e?1/0:!1===e?1:e,o!==n.Status.RUNNING&&o!==n.Status.PAUSED||y>=v&&b(),this},if:function(e){if(e){if("function"!=typeof e)throw new Error("Timer.if() expects a function or false");l=e.bind(E)}else l=void 0;return this},done:function(e){if(e){if("function"!=typeof e)throw new Error("Timer.done() expects a function or false");u=e.bind(E)}else u=void 0;return this},delay:function(e){if(parseInt(e)!==e||e<1)throw new Error("Timer.delay() expects an integer (>1)");if(s=e,o===n.Status.RUNNING){clearTimeout(i),clearInterval(i),p=!0;let e=new Date-h;i=edelete E[e]),E.statusCode=n.Status.DESTROYED,E.status=r[n.Status.DESTROYED],this},reset:function(){if(o===n.Status.DESTROYED)throw new Error("Destroyed Timers cannot be reset");clearTimeout(i),clearInterval(i);let e=o;return o=n.Status.STOPPED,m=0,y=0,d=0,h=void 0,f=void 0,p=!1,a=!0,e===n.Status.RUNNING?this.start(!1):this},setSyncThreshold:function(e){if(parseInt(e)!==e||e<0)throw new Error("Timer.setSyncThreshold() expects a positive integer");return t=e,!0}};return E};if(n.Status={DESTROYED:-1,STOPPED:0,RUNNING:1,PAUSED:2,COMPLETED:3},e.exports)e.exports=n;else{("object"==typeof window&&window.self===window&&window||"object"==typeof self&&self.self===self&&self||"object"==typeof r.g&&r.g.global===r.g&&r.g).Timer=n}}()},7137:(e,t,r)=>{"use strict";r.d(t,{A:()=>m,z:()=>f});r(8335);var n=r(1652),o=r(1712);const i="data-analytics",s=`a[href][${i}]`,a=`${s}:not(.analytics-ignore-delay):not([href^="#"]):not([href^="javascript"]):not([target="_blank"])`,c=".analytics-ignore-element",l=`${s}:not(${c}), ${`button[${i}]`}:not(${c})`,u=(e,t=!1)=>{setTimeout(()=>{window.open(e.getAttribute("href")??"",e.getAttribute("target")||"_self")},t?n.z:0)},d=e=>{if(e.target.closest(".js--analytics-manual-trigger"))return;let t=!1,r=e.target;r.matches(l)||(r=r.closest(l)),r.matches(a)&&(e.preventDefault(),t=!0);let n=r.getAttribute(i);try{if(n=JSON.parse(n),n&&"off"!==n?.trackedInteractions?.toLowerCase()){const e=new CustomEvent(n.interactionType,{bubbles:!0,detail:{content:n.content}});window.dispatchEvent(e),t&&u(r,!0)}else t&&u(r)}catch(e){t&&u(r)}},f=e=>{let t=e.getAttribute(i);try{if(t=JSON.parse(t),t&&"off"!==t.trackedInteractions.toLowerCase()){const e=new CustomEvent(t.interactionType,{bubbles:!0,detail:{content:t.content}});window.dispatchEvent(e)}}catch(e){}},m=()=>{(0,o.on)("click",l,{},e=>{d(e)}),(0,o.on)("auxclick",l,{},e=>{1===e.button&&d(e)})}},1652:(e,t,r)=>{"use strict";r.d(t,{z:()=>n});const n=333},7769:(e,t,r)=>{"use strict";r.r(t),r.d(t,{easeInOutCubic:()=>a,easeInOutSin:()=>i,easeInSin:()=>n,easeOutSin:()=>o,linear:()=>s});const n=e=>1+Math.sin(Math.PI/2*e-Math.PI/2),o=e=>Math.sin(Math.PI/2*e),i=e=>(1+Math.sin(Math.PI*e-Math.PI/2))/2,s=e=>e,a=e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2},3195:(e,t,r)=>{"use strict";r.d(t,{E:()=>o});let n=!1;!function(){if("complete"===document.readyState)n=!0;else{const e=function(){n=!0,window.removeEventListener("load",e)};window.addEventListener("load",e)}}();const o=function(){return n}},1962:(e,t,r)=>{"use strict";r.d(t,{Gf:()=>a,$U:()=>d,cL:()=>f});var n=r(4396);r(8335),r(8992),r(3949);const o=function(e,t,r,n=null){return new Promise((o,i)=>{const s=new XMLHttpRequest,a=e;s.open("POST",a),((e,t)=>{t&&e.setRequestHeader("Content-type",t)})(s,n),((e,t)=>{if(t)for(const r of t)e.setRequestHeader(r.name,r.value)})(s,r),s.onload=function(){const e=this.response;return this.status>=200&&this.status<400?(this.response,o(e)):i(Error("400"))},s.onerror=function(e){return i(Error("500"))},s.send(t)})},i="action",s="data-form-submit-url",a={SUBMIT:".js--form-step-submit",FORM_CONTAINER:".js--form-steps",ERROR_CONTAINER:".js--form-message-error",SUCCESS_CONTAINER:".js--form-message-success"},c=e=>{e&&(e.style.display="none")},l=e=>{e&&(e.style.display="block")},u=e=>{let t=document.querySelector(a.ERROR_CONTAINER),r=document.querySelector(a.SUCCESS_CONTAINER);const o=e.closest(`${n.Gf.MODAL}`);return o&&(t=o.querySelector(a.ERROR_CONTAINER),r=o.querySelector(a.SUCCESS_CONTAINER)),{errorContainer:t,successContainer:r}},d=e=>{if("form-async"===e.getAttribute(i)){const i=e.closest(a.FORM_CONTAINER),d=e.getAttribute(s),{errorContainer:f,successContainer:m}=u(e);c(i),(t=d,r=new FormData(e),o(t,r,n,null)).then(()=>{l(m),c(f)}).catch(e=>{l(f),c(m)})}else e.submit();var t,r,n},f=e=>{e.reset();const{errorContainer:t,successContainer:r}=u(e),n=e.closest(a.FORM_CONTAINER);c(t),c(r),l(n)}},7921:(e,t,r)=>{"use strict";r.d(t,{O:()=>a,u:()=>c});let n=window._satellite,o=0;const i=function(...e){const t=[].slice.call(e[1]),r=e[0];if(!n)return!1;try{n[r].apply(null,t)}catch(e){}return!0},s=function(){return n=window._satellite,!(o>=40)&&(n||(o++,setTimeout(s,250)),!0)};s();const a=function(...e){i("setVar",e)},c=function(...e){i("track",e)}},8111:(e,t,r)=>{"use strict";r.d(t,{ew:()=>d,fY:()=>g,mh:()=>y,qY:()=>v});r(8992),r(7550),r(3949),r(4520);let n,o,i,s,a=[],c=-1,l=!1,u=!1;if("undefined"!=typeof window){const e={get passive(){l=!0}};window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}const d="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/u.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),f=e=>a.some(t=>!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))),m=e=>{const t=e||window.event;return!!f(t.target)||(t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1))},h=()=>{void 0!==o&&(document.body.style.paddingRight=o,o=void 0),void 0!==n&&(document.body.style.overflow=n,n=void 0)},p=()=>{const e=-parseInt(document.body.style.left,10);let t=i?-parseInt(document.body.style.top,10)-i:-parseInt(document.body.style.top,10);s&&(t-=s,s=void 0),document.body.style.removeProperty("position"),document.body.style.removeProperty("top"),document.body.style.removeProperty("left"),window.scrollTo({left:e,top:t,behavior:"instant"})},y=(e,t)=>{if(!e)return;if(a.some(t=>t.targetElement===e))return;const r={targetElement:e,options:t||{}};a=[].concat((e=>{if(Array.isArray(e)){const t=Array(e.length);for(let r=0;r{const e=window,t=e.scrollX,r=e.innerHeight,n=Math.abs(document.body.style.top?.slice(0,-2)),o=n>0?n:e.scrollY;document.body.style.position="fixed",document.body.style.top=i?-(o+i)+"px":-o+"px",document.body.style.left=-t,setTimeout(()=>window.requestAnimationFrame(()=>{s=r-window.innerHeight,s&&o>=r&&(document.body.style.top=i?-(o+i+s)+"px":-(o+s)+"px")}),300)}):(e=>{if(void 0===o){const t=Boolean(e)&&!0===e.reserveScrollBarGap,r=window.innerWidth-document.documentElement.clientWidth;if(t&&r>0){const e=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"),10);o=document.body.style.paddingRight,document.body.style.paddingRight=`${e+r}px`}}void 0===n&&(n=document.body.style.overflow,document.body.style.overflow="hidden")})(t),d&&(e.ontouchstart=function(e){1===e.targetTouches.length&&(c=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&((e,t)=>{const r=e.targetTouches[0].clientY-c;!f(e.target)&&(t&&0===t.scrollTop&&r>0||(e=>!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight)(t)&&r<0?m(e):e.stopPropagation())})(t,e)},u||(document.addEventListener("touchmove",m,l?{passive:!1}:void 0),u=!0))},v=()=>{d&&(a.forEach(e=>{e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),u&&(document.removeEventListener("touchmove",m,l?{passive:!1}:void 0),u=!1),c=-1),d?p():h(),a=[],i=void 0},g=e=>{e&&(a=a.filter(t=>t.targetElement!==e),d&&(e.ontouchstart=null,e.ontouchmove=null,u&&0===a.length&&(document.removeEventListener("touchmove",m,l?{passive:!1}:void 0),u=!1)),d?p():h(),i=void 0)}},8342:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});const n=function(e,t){const r=window.parent||window;let n;return function(...o){const i=o;n=r.clearTimeout(n),n=r.setTimeout(()=>{e.call(void 0,i),n=r.clearTimeout(n)},t||16)}}},1712:(e,t,r)=>{"use strict";r.r(t),r.d(t,{off:()=>d,on:()=>u});r(8992),r(3949);const n={},o=function(){const e=["matches","matchesSelector","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"];for(let t=0;t-1&&Object.keys(n[e.type]).forEach(t=>{const r=n[e.type][t];i(e.target,r.selector,e,r)})},a=function(e,t){return Boolean(e[o](t))},c=function(e,t,r,o){return n[e]||(n[e]={}),n[e][t]={selector:t,data:r,handler:o},n[e][t]},l=function(e,t,r,o){return n[e]?(c(e,t,r,o),!0):(n[e]={},c(e,t,r,o),document.body.addEventListener(e,s),!0)},u=function(e,t,r,n){3!==arguments.length||"function"!=typeof r||n?l(e,t,r,n):l(e,t,{},r)},d=function(e,t){!function(e,t){Object.keys(n[e]).forEach(r=>{n[e][r].selector===t&&delete n[e][r]}),-1===Object.keys(n).indexOf(e)&&document.body.removeEventListener(e,s)}(e,t)}},8841:(e,t,r)=>{"use strict";r.d(t,{Zk:()=>o,sy:()=>n});const n=(e,t,r=!1)=>{try{r&&(e=>{try{return Boolean(window[`__component_${e}_initialized`])}catch(e){return!1}})(e)||(window[`__component_${e}_initialized`]=!0,t())}catch(e){}},o=e=>{document?.addEventListener("DOMContentLoaded",()=>{e()})}},1424:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=e=>Boolean(e.querySelector("body.is-editmode"))},7224:(e,t,r)=>{"use strict";r.d(t,{$0:()=>u,HP:()=>s,K7:()=>o,SA:()=>c,VA:()=>a,d$:()=>l,fi:()=>i,pn:()=>d});r(8992),r(3949),r(4114),r(4520),r(2577);var n=r(2838);const o={TAB:"Tab",ESC:"Escape",ENTER:"Enter",ARROW_UP:"ArrowUp",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",HOME:"Home",END:"End",BACKSPACE:"Backspace",SPACE:" ",SHIFT:"Shift",SPACEBAR:"Spacebar"},i={MOBILE_MEDIUM_START:"30rem",MOBILE_LARGE_START:"41.625rem",TABLET_START:"48rem",DESKTOP_START:"64rem",DESKTOP_LARGE_START:"85.3125rem",DESKTOP_EXTRA_LARGE_START:"120rem"},s={MOBILE:`(width < ${i.TABLET_START})`,MOBILE_SMALL:`(width < ${i.MOBILE_MEDIUM_START})`,MOBILE_MEDIUM:`(${i.MOBILE_MEDIUM_START} <= width < ${i.MOBILE_LARGE_START})`,MOBILE_LARGE:`(${i.MOBILE_LARGE_START} <= width < ${i.TABLET_START})`,TABLET_DESKTOP:`(width >= ${i.TABLET_START})`,TABLET:`(${i.TABLET_START} <= width < ${i.DESKTOP_START})`,DESKTOP:`(width >= ${i.DESKTOP_START})`,DESKTOP_SMALL:`(${i.DESKTOP_START} <= width < ${i.DESKTOP_LARGE_START})`,DESKTOP_LARGE:`(width >= ${i.DESKTOP_LARGE_START})`,DESKTOP_EXTRA_LARGE:`(width >= ${i.DESKTOP_EXTRA_LARGE_START})`},a=/(android|iemobile|ip(hone|od|ad))/iu.test(navigator.userAgent),c=()=>window.matchMedia("(prefers-reduced-motion: reduce)").matches,l=(function(){const e=document.querySelector("html"),t=Object.prototype.hasOwnProperty.call(window,"ontouchstart");t?(e.classList.add("is-touch"),e.classList.remove("is-desktop")):(e.classList.remove("is-touch"),e.classList.add("is-desktop"))}(),e=>{e.preventDefault();const t="A"===e.target.nodeName?e.target:e.target.parentElement;if(window.location.search){const e=[],r=t.href.includes("?"),n=window.location.search.slice(window.location.search.indexOf("?")+1,window.location.search.length).split("&");t.hasAttribute("data-ignored-url-params")&&t.getAttribute("data-ignored-url-params").split(",").forEach(t=>e.push(t.trim())),r&&t.href.slice(t.href.indexOf("?")+1,t.href.indexOf("#")>0?t.href.indexOf("#"):t.href.length).split("&").forEach(t=>e.push(t.trim().slice(0,t.indexOf("="))));const o=e?.length?n.filter(t=>!e.includes(t.slice(0,t.indexOf("=")))):n;if(o?.length)if(r){const e=t.href.slice(0,t.href.indexOf("?")),r=t.href.slice(t.href.indexOf("?")+1,t.href.length);t.href=`${e}?${o.join("&")}&${r}`}else t.href+=`?${o.join("&")}`}window.location=(0,n.sanitize)(t.href)}),u=(e=document)=>[...e.querySelectorAll('a[href], button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])')].filter(e=>!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden")),d=(e,t)=>{const r=e.indexOf(t);if(r>-1){e.find((e,t)=>t>r&&e.offsetHeight>0).focus()}}},6896:(e,t,r)=>{"use strict";r.d(t,{D$:()=>c,TG:()=>l,W5:()=>f,ap:()=>s,bk:()=>n,fq:()=>d,ne:()=>i,ok:()=>u});r(8992),r(3949);const n=(e,t="An error occurred while loading the video.")=>{e.setAttribute("aria-busy","false");const r=e.querySelector(".js--video-error"),n=e.querySelector(".js--video-loading"),o=e.querySelectorAll(".mi-error");if(o.length>0&&o.forEach(e=>e.remove()),n&&(n.classList.add("is-hidden"),n.setAttribute("aria-hidden","true")),r){const e=r.querySelector(".c-video--error-text");e&&(e.textContent=t),r.classList.add("is-visible"),r.setAttribute("aria-hidden","false")}},o=e=>{const t=e.querySelector(".js--video-error");t&&(t.classList.remove("is-visible"),t.setAttribute("aria-hidden","true"))},i=(e,t)=>{const r=e.querySelector(".js--video-loading"),n=e.querySelector(".js--video-error");r&&(r.setAttribute("aria-hidden",t?"false":"true"),t?(r.classList.remove("is-hidden"),n&&(n.classList.remove("is-visible"),n.setAttribute("aria-hidden","true"))):r.classList.add("is-hidden")),e.setAttribute("aria-busy",t?"true":"false")},s=e=>{const t=e.maxRetries||2;let s=0;const l=async()=>{if(i(e.container,!0),e.videoId&&e.playerId)try{const{Player:t}=await Promise.resolve().then(r.bind(r,1139)),n={videoId:e.videoId,playerId:e.playerId,channelId:e.channelId,autoplay:e.autoplay};let s=!1,l=null;try{l=new t(e.container.id,n)}catch(e){throw e.handled=!0,e}const u=new Promise((t,r)=>{let n=!1;l.on("ready",()=>{n||(n=!0,s=!0,i(e.container,!1),o(e.container),a(e.container),window.dispatchEvent(new CustomEvent("miplayer.ready",{detail:{player:l,container:e.container}})),t(l))}),l.on("error",e=>{n||(n=!0,e.handled=!0,r(e))}),setTimeout(()=>{if(!n&&!s){n=!0;const e=new Error("Player initialization timed out");r(e)}},2e4)});return l.on("play",()=>{o(e.container),window.dispatchEvent(new CustomEvent("miplayer.play",{detail:{player:l,container:e.container}}))}),c(e.container),await u}catch(r){if(r.handled)throw r;if(ssetTimeout(e,1e3*Math.pow(2,s-1))),l();throw i(e.container,!1),r.handled=!0,r}else n(e.container,"The video is not available.")};return l()},a=e=>{const t=e.querySelector("iframe");if(t&&!t.hasAttribute("title")){const r=e.getAttribute("aria-label")||"Video player";t.setAttribute("title",r)}},c=(e,t=2)=>{let r=0;const n=()=>{const o=e.querySelector("iframe");if(o){if(!o.hasAttribute("title")){const t=e.getAttribute("aria-label")||"Video player";o.setAttribute("title",t)}return!0}return r{const r=e.getBoundingClientRect(),n=r.bottom-r.top;return(Math.min(r.bottom,window.innerHeight)-Math.max(r.top,0))/n>=t},u=(e,t,r={})=>{const n={rootMargin:"50px 0px",threshold:.5,...r};return new IntersectionObserver(r=>{r.forEach(r=>{r.isIntersecting?"function"==typeof e&&e(r.target,r):"function"==typeof t&&t(r.target,r)})},n)},d=async(e,t)=>{if(e)try{"function"==typeof e.pause&&await e.pause();if(["play","pause","ended","timeupdate","error","ready","loadedmetadata","durationchange"].forEach(t=>{if("function"==typeof e.removeEventListener)try{e.removeEventListener(t)}catch(e){}else if("function"==typeof e.off)try{e.off(t)}catch(e){}}),t){const e=t.querySelector("iframe");e&&e.remove();const r=t.querySelectorAll(".mi-player");r.length>0&&r.forEach(e=>{e.remove()})}return"function"==typeof e.destroy&&await e.destroy(),null}catch(e){throw e}},f=async e=>{if(e)try{await e.pause()}catch(e){}}},5801:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});const n=function(){const e=window.parent||window;return e.performance&&"function"==typeof e.performance.now?e.performance.now():(new Date).getTime()},o=function(e,t){const r=t||16;let o=n(),i=!0;return function(...t){const s=this,a=t;!function(){const t=n();(t-o>=r||!0===i)&&(o=t,i=!1,e.apply(s,a))}()}}},59:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>y,BT:()=>h,Hr:()=>d,nD:()=>l,zh:()=>m});r(8992),r(4520),r(3949);var n=r(7921),o=r(8841),i=r(7224);const s=768,a=".js--accordion--item",c="c-component-accordion--content";class l{constructor(e){this._currentViewport=d(),this.containerElement=e,this.contentElements=this.containerElement.querySelectorAll(a);const t=this.containerElement.querySelectorAll(".js--accordion--hitbox");this.selectElements=Array.from(t).filter(t=>{const r=t.closest(".js--accordion--content");return!(r&&e.contains(r))})}_initEvents(){window.addEventListener("hashchange",this._onHashChange.bind(this));for(const e of this.selectElements)e.addEventListener("click",this._onEvent.bind(this))}_onHashChange(){const e=window.location.hash;if(e){const t=e.slice(1),r=Array.from(this.contentElements).filter(e=>null!==e.querySelector(`#${t}`));r?.length>0&&(this._closeNodes(this.contentElements),r.forEach(e=>{m(e)}))}}_closeNodes(e=this.contentElements){return!!e&&(Array.from(e).forEach(e=>{!1===e.classList.contains("is-editmode")&&h(e)}),!0)}_onEvent(e){const t=e.target.closest(a),r=e.target.classList.contains("js--accordion-close-all");return t&&(t.classList.contains("is-open")?h(t):(r&&this._closeNodes(),m(t),f("Link Name","Component Accordion Open",t.querySelector(".js--accordion--header a")||t.querySelector(".js--accordion--header h4")||t.querySelector(".js--accordion--header button")))),!1}}const u=()=>{let e,t=[];try{t=document.querySelectorAll(".js-accordion--item--contains-video.is-open .c-video--player"),Array.from(t).forEach(t=>{e=VideoPlayer.Collection.getPlayerById(t.getAttribute("id")),e&&e.stop()})}catch(e){}},d=()=>"function"==typeof window.matchMedia?window.matchMedia(i.HP.TABLET_DESKTOP).matches?"tabletOrDesktop":"mobile":window.innerWidth>=s?"tabletOrDesktop":"mobile",f=(e,t,r,o)=>{if(r){const i=void 0!==o?`${r.textContent.trim().toLowerCase()} - ${o.textContent.trim().toLowerCase()}`:r.textContent.trim().toLowerCase();(0,n.O)(e,i),(0,n.u)(t)}},m=e=>{let t,r;return!e||(r=e.querySelector(":scope > .js--accordion--content"),t=e.querySelector(":scope > .js--accordion--header button")||e.querySelector("button.js--accordion--header"),u(),e.classList.add("is-open"),e.classList.add("is-latest"),t&&t.setAttribute("aria-expanded",!0),r?.classList.contains(c)?(r?.removeAttribute("aria-hidden"),!0):(r&&(r.style.display="block"),r?.classList.contains("c-tracking-result--moredetails-dropdown-menu")&&(r.style.overflow="unset"),!0))},h=e=>{const t=e.querySelector("button.js--accordion--header")||e.querySelector(".js--accordion--header button");if(e.classList.contains("js-accordion--item--locked"))return!0;u(),t&&t.setAttribute("aria-expanded",!1);const r=e.querySelector(".js--accordion--content");return e.classList.remove("is-open"),r?.classList.contains(c)?(r.setAttribute("aria-hidden",!0),!0):(r&&(r.style.display="none"),e.style.height="",!0)},p=()=>{document.querySelectorAll(".js--accordion--type-default").forEach(e=>{new l(e)._initEvents()})},y=()=>{(0,o.sy)("accordion",p)}},9401:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>R});r(8992),r(3949);var n=r(8841);const o=".js--conversion-button",i='[data-navigation-type="sticky"]',s='[data-navigation-type="secondary"]',a=[" ","Spacebar"],c=[100,300,1e3],l=[80,160,240,360,480],u="data-navigation-show";let d,f,m=!1,h=null;const p=new WeakSet,y=(e,t)=>e.offsetHeight||e.clientHeight||t.height||0,v=e=>"true"===e?.getAttribute(u),g=e=>{if(!e)return 0;if("fixed"!==getComputedStyle(e).position||!v(e)&&(e=>e?.classList.contains("is-hidden")||"hidden"===getComputedStyle(e).visibility)(e))return 0;const t=e.getBoundingClientRect();return Math.max(t.bottom,0)},b=()=>{const e=(()=>{const e=document.querySelector(i),t=g(e);return v(e)?Math.max(t,y(e,e.getBoundingClientRect())):t})();return Math.max(e,(e=>{const t=document.querySelector(s),r=g(t);if(!v(t))return r;if("fixed"!==getComputedStyle(t).position)return 0;const n=t.getBoundingClientRect(),o=t.classList.contains("self-standing")?0:e;return Math.max(r,o+y(t,n))})(e),0)},E=()=>{document.querySelectorAll(o).forEach(e=>{const t=e.closest(".c-conversion-button--container"),r=e.closest("header");if(!t)return;r?.classList.add("has-conversion-button");const n=(r?(e=>Math.max(e.getBoundingClientRect().bottom,b(),0))(r):b())+16;t.classList.add("is-fixed"),t.style.setProperty("--c-conversion-button-top",`${n}px`),t.style.setProperty("--c-conversion-button-top-mobile",`${n}px`)})},w=()=>{h&&cancelAnimationFrame(h),h=requestAnimationFrame(()=>{h=null,E()})},S=()=>{w(),l.forEach(e=>{window.setTimeout(w,e)})},A=()=>{E(),requestAnimationFrame(E),c.forEach(e=>{window.setTimeout(E,e)}),document.fonts&&document.fonts.ready&&document.fonts.ready.then(E)},T=()=>{if(!window.MutationObserver||f)return;const e=document.querySelectorAll(`${i}, ${s}`);e.length&&(f=new MutationObserver(S),e.forEach(e=>{f.observe(e,{attributeFilter:[u,"class","style"],attributes:!0})}))},L=()=>{document.querySelectorAll(o).forEach(e=>{e.classList.toggle("is-scrolled",window.scrollY>0)}),m=!1},x=()=>{m||(requestAnimationFrame(()=>{E(),L()}),m=!0)},O=e=>a.includes(e.key)||"Space"===e.code,_=e=>{O(e)&&e.preventDefault()},C=e=>{O(e)&&(e.preventDefault(),e.currentTarget.click())},I=()=>{const e=document.querySelectorAll(o);e.length&&((e=>{e.forEach(e=>{e.addEventListener("keydown",_,!1),e.addEventListener("keyup",C,!1)})})(e),(e=>{window.ResizeObserver?(d||(d=new ResizeObserver(w)),e.forEach(e=>{const t=e.closest("header"),r=document.querySelector(i),n=document.querySelector(s);t&&!p.has(t)&&(p.add(t),d.observe(t)),[r,n].forEach(e=>{e&&!p.has(e)&&(p.add(e),d.observe(e))})}),T()):T()})(e),A(),L(),window.addEventListener("scroll",x,!1),window.addEventListener("resize",L,!1),window.addEventListener("load",A,{once:!0}))},k="conversion_button",R=()=>{(0,n.sy)(k,I)};(0,n.Zk)(()=>{(0,n.sy)(k,I,!0)})},4396:(e,t,r)=>{"use strict";r.d(t,{Gf:()=>o,VF:()=>n,kl:()=>i});const n={OPEN:"open",INERT:"inert",LOADING:"loading",MODAL:"js--modal",AUTOFOCUS:"autofocus",SIZE:"data-modal-size",TARGET:"data-modal-open",CLOSE:"data-modal-close",OVERLAY:"c-modal--overlay",ONLOAD:"data-modal-onload-open",DISMISS:"data-modal-light-dismiss"},o={MODAL:`.${n.MODAL}`,CONTENT:".c-modal--content",CONTAINER:".js--modal--container",CLOSE_ICON:".js--modal--close-icon",CLOSE_ICON_CONTAINER:".js--modal--close-icon-container",OPEN_PIECEID:"js--tracking-result-pieceid--header",OPEN_CTA:`[${n.TARGET}]`,CLOSE_CTA:`[${n.CLOSE}]`,AUTOFOCUS:`[${n.AUTOFOCUS}]`,ON_LOAD_MODALS:`[${n.ONLOAD}="true"]`},i={OPEN_MODAL:"openModal",CLOSE_MODAL:"closeModal",LIGHT_DISMISS:"lightDismiss"}},7558:(e,t,r)=>{"use strict";r.d(t,{Dl:()=>g,ST:()=>h,lb:()=>v});r(8335),r(3110),r(8992),r(3949);var n=r(7921),o=r(7137);const i="Play",s="Pause",a="Enter Full Screen",c="Exit Full Screen",l="Milestone 25%",u="Milestone 50%",d="Milestone 75%",f="Milestone 100%",m="Playlist Select";window.videoAnalyticsDebounce=window.videoAnalyticsDebounce||{};const h=(e,t)=>{const r=`//e.video-cdn.net/watch?video-id=${e}&player-id=${t}`;(0,n.O)("Video URL",r),(0,n.u)("Video Play")},p=(e,t,r)=>{if(!e)return;const n=`${e.id||"video"}_${r}`;if(window.videoAnalyticsDebounce[n])return;window.videoAnalyticsDebounce[n]=!0,setTimeout(()=>{window.videoAnalyticsDebounce[n]=!1},2e3);let i=e.getAttribute("data-analytics");if(i)try{i=JSON.parse(i),i?.content&&(i.content.interaction=r,e.setAttribute("data-analytics",JSON.stringify(i))),(0,o.z)(e)}catch(e){}},y=e=>Boolean(document.fullscreenElement===e||document.webkitFullscreenElement===e||document.mozFullScreenElement===e||document.msFullscreenElement===e||e.closest("iframe")?.matches(":fullscreen")),v=(e,t,r={})=>{if(!e)return;if(!t)return;if(!t.hasAttribute("data-analytics"))return;const n=r.milestoneFlags||{milestone25:!1,milestone50:!1,milestone75:!1};let o,m=!1,h=!1;try{o=JSON.parse(t.getAttribute("data-analytics"))}catch(e){return}const v=o?.trackedInteractions?.toLowerCase(),g=()=>{const e=y(t)||t.querySelector("iframe")&&y(t.querySelector("iframe"));e!==h&&(h=e,p(t,t.dataset.advancedInteractionsType,h?a:c))};if("basic"===v)e.on("play",()=>{m=!0,p(t,t.dataset.advancedInteractionsType,i)});else e.on("play",()=>{m=!0,p(t,t.dataset.advancedInteractionsType,i)}),e.on("pause",()=>{m=!1,p(t,t.dataset.advancedInteractionsType,s)}),e.on("ended",()=>{m=!1,p(t,t.dataset.advancedInteractionsType,f),Object.keys(n).forEach(e=>{n[e]=!1})}),e.on("fullscreenchange",g),document.addEventListener("fullscreenchange",g),document.addEventListener("webkitfullscreenchange",g),document.addEventListener("mozfullscreenchange",g),document.addEventListener("MSFullscreenChange",g),e.on("timeupdate",async()=>{try{const r=await e.getDuration(),o=await e.getCurrentTime(),i=r>0?o/r*100:0;m&&(!n.milestone25&&i>=25&&(n.milestone25=!0,p(t,t.dataset.advancedInteractionsType,l)),!n.milestone50&&i>=50&&(n.milestone50=!0,p(t,t.dataset.advancedInteractionsType,u)),!n.milestone75&&i>=75&&(n.milestone75=!0,p(t,t.dataset.advancedInteractionsType,d)))}catch(e){}});e.on("destroy",()=>{document.removeEventListener("fullscreenchange",g),document.removeEventListener("webkitfullscreenchange",g),document.removeEventListener("mozfullscreenchange",g),document.removeEventListener("MSFullscreenChange",g)})},g=e=>{e?.hasAttribute("data-analytics")&&p(e,e.dataset.advancedInteractionsType,m)}},2838:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:r,getPrototypeOf:n,getOwnPropertyDescriptor:o}=Object;let{freeze:i,seal:s,create:a}=Object,{apply:c,construct:l}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),s||(s=function(e){return e}),c||(c=function(e,t,r){return e.apply(t,r)}),l||(l=function(e,t){return new e(...t)});const u=S(Array.prototype.forEach),d=S(Array.prototype.pop),f=S(Array.prototype.push),m=S(String.prototype.toLowerCase),h=S(String.prototype.toString),p=S(String.prototype.match),y=S(String.prototype.replace),v=S(String.prototype.indexOf),g=S(String.prototype.trim),b=S(Object.prototype.hasOwnProperty),E=S(RegExp.prototype.test),w=A(TypeError);function S(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o2&&void 0!==arguments[2]?arguments[2]:m;t&&t(e,null);let i=n.length;for(;i--;){let t=n[i];if("string"==typeof t){const e=o(t);e!==t&&(r(n)||(n[i]=e),t=e)}e[t]=!0}return e}function L(e){for(let t=0;t/gm),B=s(/\${[\w\W]*}/gm),F=s(/^data-[\-\w.\u00B7-\uFFFF]/),z=s(/^aria-[\-\w]+$/),H=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),W=s(/^(?:\w+script|data):/i),K=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=s(/^html$/i),V=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var Y=Object.freeze({__proto__:null,MUSTACHE_EXPR:$,ERB_EXPR:U,TMPLIT_EXPR:B,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:W,ATTR_WHITESPACE:K,DOCTYPE_NAME:G,CUSTOM_ELEMENT:V});const X={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},J=function(){return"undefined"==typeof window?null:window},Q=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return null}};function Z(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:J();const r=e=>Z(e);if(r.version="3.1.6",r.removed=[],!t||!t.document||t.document.nodeType!==X.document)return r.isSupported=!1,r;let{document:n}=t;const o=n,s=o.currentScript,{DocumentFragment:c,HTMLTemplateElement:l,Node:S,Element:A,NodeFilter:L,NamedNodeMap:$=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:U,DOMParser:B,trustedTypes:F}=t,z=A.prototype,W=O(z,"cloneNode"),K=O(z,"remove"),V=O(z,"nextSibling"),ee=O(z,"childNodes"),te=O(z,"parentNode");if("function"==typeof l){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let re,ne="";const{implementation:oe,createNodeIterator:ie,createDocumentFragment:se,getElementsByTagName:ae}=n,{importNode:ce}=o;let le={};r.isSupported="function"==typeof e&&"function"==typeof te&&oe&&void 0!==oe.createHTMLDocument;const{MUSTACHE_EXPR:ue,ERB_EXPR:de,TMPLIT_EXPR:fe,DATA_ATTR:me,ARIA_ATTR:he,IS_SCRIPT_OR_DATA:pe,ATTR_WHITESPACE:ye,CUSTOM_ELEMENT:ve}=Y;let{IS_ALLOWED_URI:ge}=Y,be=null;const Ee=T({},[..._,...C,...I,...R,...D]);let we=null;const Se=T({},[...P,...N,...M,...q]);let Ae=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Te=null,Le=null,xe=!0,Oe=!0,_e=!1,Ce=!0,Ie=!1,ke=!0,Re=!1,je=!1,De=!1,Pe=!1,Ne=!1,Me=!1,qe=!0,$e=!1;const Ue="user-content-";let Be=!0,Fe=!1,ze={},He=null;const We=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ke=null;const Ge=T({},["audio","video","img","source","image","track"]);let Ve=null;const Ye=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Xe="http://www.w3.org/1998/Math/MathML",Je="http://www.w3.org/2000/svg",Qe="http://www.w3.org/1999/xhtml";let Ze=Qe,et=!1,tt=null;const rt=T({},[Xe,Je,Qe],h);let nt=null;const ot=["application/xhtml+xml","text/html"],it="text/html";let st=null,at=null;const ct=n.createElement("form"),lt=function(e){return e instanceof RegExp||e instanceof Function},ut=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!at||at!==e){if(e&&"object"==typeof e||(e={}),e=x(e),nt=-1===ot.indexOf(e.PARSER_MEDIA_TYPE)?it:e.PARSER_MEDIA_TYPE,st="application/xhtml+xml"===nt?h:m,be=b(e,"ALLOWED_TAGS")?T({},e.ALLOWED_TAGS,st):Ee,we=b(e,"ALLOWED_ATTR")?T({},e.ALLOWED_ATTR,st):Se,tt=b(e,"ALLOWED_NAMESPACES")?T({},e.ALLOWED_NAMESPACES,h):rt,Ve=b(e,"ADD_URI_SAFE_ATTR")?T(x(Ye),e.ADD_URI_SAFE_ATTR,st):Ye,Ke=b(e,"ADD_DATA_URI_TAGS")?T(x(Ge),e.ADD_DATA_URI_TAGS,st):Ge,He=b(e,"FORBID_CONTENTS")?T({},e.FORBID_CONTENTS,st):We,Te=b(e,"FORBID_TAGS")?T({},e.FORBID_TAGS,st):{},Le=b(e,"FORBID_ATTR")?T({},e.FORBID_ATTR,st):{},ze=!!b(e,"USE_PROFILES")&&e.USE_PROFILES,xe=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,_e=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Ce=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Ie=e.SAFE_FOR_TEMPLATES||!1,ke=!1!==e.SAFE_FOR_XML,Re=e.WHOLE_DOCUMENT||!1,Pe=e.RETURN_DOM||!1,Ne=e.RETURN_DOM_FRAGMENT||!1,Me=e.RETURN_TRUSTED_TYPE||!1,De=e.FORCE_BODY||!1,qe=!1!==e.SANITIZE_DOM,$e=e.SANITIZE_NAMED_PROPS||!1,Be=!1!==e.KEEP_CONTENT,Fe=e.IN_PLACE||!1,ge=e.ALLOWED_URI_REGEXP||H,Ze=e.NAMESPACE||Qe,Ae=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&<(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ae.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&<(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ae.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ae.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ie&&(Oe=!1),Ne&&(Pe=!0),ze&&(be=T({},D),we=[],!0===ze.html&&(T(be,_),T(we,P)),!0===ze.svg&&(T(be,C),T(we,N),T(we,q)),!0===ze.svgFilters&&(T(be,I),T(we,N),T(we,q)),!0===ze.mathMl&&(T(be,R),T(we,M),T(we,q))),e.ADD_TAGS&&(be===Ee&&(be=x(be)),T(be,e.ADD_TAGS,st)),e.ADD_ATTR&&(we===Se&&(we=x(we)),T(we,e.ADD_ATTR,st)),e.ADD_URI_SAFE_ATTR&&T(Ve,e.ADD_URI_SAFE_ATTR,st),e.FORBID_CONTENTS&&(He===We&&(He=x(He)),T(He,e.FORBID_CONTENTS,st)),Be&&(be["#text"]=!0),Re&&T(be,["html","head","body"]),be.table&&(T(be,["tbody"]),delete Te.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw w('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');re=e.TRUSTED_TYPES_POLICY,ne=re.createHTML("")}else void 0===re&&(re=Q(F,s)),null!==re&&"string"==typeof ne&&(ne=re.createHTML(""));i&&i(e),at=e}},dt=T({},["mi","mo","mn","ms","mtext"]),ft=T({},["foreignobject","annotation-xml"]),mt=T({},["title","style","font","a","script"]),ht=T({},[...C,...I,...k]),pt=T({},[...R,...j]),yt=function(e){let t=te(e);t&&t.tagName||(t={namespaceURI:Ze,tagName:"template"});const r=m(e.tagName),n=m(t.tagName);return!!tt[e.namespaceURI]&&(e.namespaceURI===Je?t.namespaceURI===Qe?"svg"===r:t.namespaceURI===Xe?"svg"===r&&("annotation-xml"===n||dt[n]):Boolean(ht[r]):e.namespaceURI===Xe?t.namespaceURI===Qe?"math"===r:t.namespaceURI===Je?"math"===r&&ft[n]:Boolean(pt[r]):e.namespaceURI===Qe?!(t.namespaceURI===Je&&!ft[n])&&!(t.namespaceURI===Xe&&!dt[n])&&!pt[r]&&(mt[r]||!ht[r]):!("application/xhtml+xml"!==nt||!tt[e.namespaceURI]))},vt=function(e){f(r.removed,{element:e});try{te(e).removeChild(e)}catch(t){K(e)}},gt=function(e,t){try{f(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){f(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!we[e])if(Pe||Ne)try{vt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},bt=function(e){let t=null,r=null;if(De)e=""+e;else{const t=p(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===nt&&Ze===Qe&&(e=''+e+"");const o=re?re.createHTML(e):e;if(Ze===Qe)try{t=(new B).parseFromString(o,nt)}catch(e){}if(!t||!t.documentElement){t=oe.createDocument(Ze,"template",null);try{t.documentElement.innerHTML=et?ne:o}catch(e){}}const i=t.body||t.documentElement;return e&&r&&i.insertBefore(n.createTextNode(r),i.childNodes[0]||null),Ze===Qe?ae.call(t,Re?"html":"body")[0]:Re?t.documentElement:i},Et=function(e){return ie.call(e.ownerDocument||e,e,L.SHOW_ELEMENT|L.SHOW_COMMENT|L.SHOW_TEXT|L.SHOW_PROCESSING_INSTRUCTION|L.SHOW_CDATA_SECTION,null)},wt=function(e){return e instanceof U&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof $)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},St=function(e){return"function"==typeof S&&e instanceof S},At=function(e,t,n){le[e]&&u(le[e],e=>{e.call(r,t,n,at)})},Tt=function(e){let t=null;if(At("beforeSanitizeElements",e,null),wt(e))return vt(e),!0;const n=st(e.nodeName);if(At("uponSanitizeElement",e,{tagName:n,allowedTags:be}),e.hasChildNodes()&&!St(e.firstElementChild)&&E(/<[/\w]/g,e.innerHTML)&&E(/<[/\w]/g,e.textContent))return vt(e),!0;if(e.nodeType===X.progressingInstruction)return vt(e),!0;if(ke&&e.nodeType===X.comment&&E(/<[/\w]/g,e.data))return vt(e),!0;if(!be[n]||Te[n]){if(!Te[n]&&xt(n)){if(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,n))return!1;if(Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(n))return!1}if(Be&&!He[n]){const t=te(e)||e.parentNode,r=ee(e)||e.childNodes;if(r&&t)for(let n=r.length-1;n>=0;--n){const o=W(r[n],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,V(e))}}return vt(e),!0}return e instanceof A&&!yt(e)?(vt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!E(/<\/no(script|embed|frames)/i,e.innerHTML)?(Ie&&e.nodeType===X.text&&(t=e.textContent,u([ue,de,fe],e=>{t=y(t,e," ")}),e.textContent!==t&&(f(r.removed,{element:e.cloneNode()}),e.textContent=t)),At("afterSanitizeElements",e,null),!1):(vt(e),!0)},Lt=function(e,t,r){if(qe&&("id"===t||"name"===t)&&(r in n||r in ct))return!1;if(Oe&&!Le[t]&&E(me,t));else if(xe&&E(he,t));else if(!we[t]||Le[t]){if(!(xt(e)&&(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,e)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(e))&&(Ae.attributeNameCheck instanceof RegExp&&E(Ae.attributeNameCheck,t)||Ae.attributeNameCheck instanceof Function&&Ae.attributeNameCheck(t))||"is"===t&&Ae.allowCustomizedBuiltInElements&&(Ae.tagNameCheck instanceof RegExp&&E(Ae.tagNameCheck,r)||Ae.tagNameCheck instanceof Function&&Ae.tagNameCheck(r))))return!1}else if(Ve[t]);else if(E(ge,y(r,ye,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==v(r,"data:")||!Ke[e])if(_e&&!E(pe,y(r,ye,"")));else if(r)return!1;return!0},xt=function(e){return"annotation-xml"!==e&&p(e,ve)},Ot=function(e){At("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:we};let o=t.length;for(;o--;){const i=t[o],{name:s,namespaceURI:a,value:c}=i,l=st(s);let f="value"===s?c:g(c);if(n.attrName=l,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,At("uponSanitizeAttribute",e,n),f=n.attrValue,ke&&E(/((--!?|])>)|<\/(style|title)/i,f)){gt(s,e);continue}if(n.forceKeepAttr)continue;if(gt(s,e),!n.keepAttr)continue;if(!Ce&&E(/\/>/i,f)){gt(s,e);continue}Ie&&u([ue,de,fe],e=>{f=y(f,e," ")});const m=st(e.nodeName);if(Lt(m,l,f)){if(!$e||"id"!==l&&"name"!==l||(gt(s,e),f=Ue+f),re&&"object"==typeof F&&"function"==typeof F.getAttributeType)if(a);else switch(F.getAttributeType(m,l)){case"TrustedHTML":f=re.createHTML(f);break;case"TrustedScriptURL":f=re.createScriptURL(f)}try{a?e.setAttributeNS(a,s,f):e.setAttribute(s,f),wt(e)?vt(e):d(r.removed)}catch(e){}}}At("afterSanitizeAttributes",e,null)},_t=function e(t){let r=null;const n=Et(t);for(At("beforeSanitizeShadowDOM",t,null);r=n.nextNode();)At("uponSanitizeShadowNode",r,null),Tt(r)||(r.content instanceof c&&e(r.content),Ot(r));At("afterSanitizeShadowDOM",t,null)};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,i=null,s=null,a=null;if(et=!e,et&&(e="\x3c!--\x3e"),"string"!=typeof e&&!St(e)){if("function"!=typeof e.toString)throw w("toString is not a function");if("string"!=typeof(e=e.toString()))throw w("dirty is not a string, aborting")}if(!r.isSupported)return e;if(je||ut(t),r.removed=[],"string"==typeof e&&(Fe=!1),Fe){if(e.nodeName){const t=st(e.nodeName);if(!be[t]||Te[t])throw w("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof S)n=bt("\x3c!----\x3e"),i=n.ownerDocument.importNode(e,!0),i.nodeType===X.element&&"BODY"===i.nodeName||"HTML"===i.nodeName?n=i:n.appendChild(i);else{if(!Pe&&!Ie&&!Re&&-1===e.indexOf("<"))return re&&Me?re.createHTML(e):e;if(n=bt(e),!n)return Pe?null:Me?ne:""}n&&De&&vt(n.firstChild);const l=Et(Fe?e:n);for(;s=l.nextNode();)Tt(s)||(s.content instanceof c&&_t(s.content),Ot(s));if(Fe)return e;if(Pe){if(Ne)for(a=se.call(n.ownerDocument);n.firstChild;)a.appendChild(n.firstChild);else a=n;return(we.shadowroot||we.shadowrootmode)&&(a=ce.call(o,a,!0)),a}let d=Re?n.outerHTML:n.innerHTML;return Re&&be["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&E(G,n.ownerDocument.doctype.name)&&(d="\n"+d),Ie&&u([ue,de,fe],e=>{d=y(d,e," ")}),re&&Me?re.createHTML(d):d},r.setConfig=function(){ut(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),je=!0},r.clearConfig=function(){at=null,je=!1},r.isValidAttribute=function(e,t,r){at||ut({});const n=st(e),o=st(t);return Lt(n,o,r)},r.addHook=function(e,t){"function"==typeof t&&(le[e]=le[e]||[],f(le[e],t))},r.removeHook=function(e){if(le[e])return d(le[e])},r.removeHooks=function(e){le[e]&&(le[e]=[])},r.removeAllHooks=function(){le={}},r}return Z()}()},8904:e=>{!function(){function t(e,t){document.addEventListener?e.addEventListener("scroll",t,!1):e.attachEvent("scroll",t)}function r(e){this.a=document.createElement("div"),this.a.setAttribute("aria-hidden","true"),this.a.appendChild(document.createTextNode(e)),this.b=document.createElement("span"),this.c=document.createElement("span"),this.h=document.createElement("span"),this.f=document.createElement("span"),this.g=-1,this.b.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.c.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.f.style.cssText="max-width:none;display:inline-block;position:absolute;height:100%;width:100%;overflow:scroll;font-size:16px;",this.h.style.cssText="display:inline-block;width:200%;height:200%;font-size:16px;max-width:none;",this.b.appendChild(this.h),this.c.appendChild(this.f),this.a.appendChild(this.b),this.a.appendChild(this.c)}function n(e,t){e.a.style.cssText="max-width:none;min-width:20px;min-height:20px;display:inline-block;overflow:hidden;position:absolute;width:auto;margin:0;padding:0;top:-999px;white-space:nowrap;font-synthesis:none;font:"+t+";"}function o(e){var t=e.a.offsetWidth,r=t+100;return e.f.style.width=r+"px",e.c.scrollLeft=r,e.b.scrollLeft=e.b.scrollWidth+100,e.g!==t&&(e.g=t,!0)}function i(e,r){function n(){var e=i;o(e)&&e.a.parentNode&&r(e.g)}var i=e;t(e.b,n),t(e.c,n),o(e)}function s(e,t){var r=t||{};this.family=e,this.style=r.style||"normal",this.weight=r.weight||"normal",this.stretch=r.stretch||"normal"}var a=null,c=null,l=null,u=null;function d(){return null===u&&(u=!!document.fonts),u}function f(){if(null===l){var e=document.createElement("div");try{e.style.font="condensed 100px sans-serif"}catch(e){}l=""!==e.style.font}return l}function m(e,t){return[e.style,e.weight,f()?e.stretch:"","100px",t].join(" ")}s.prototype.load=function(e,t){var o=this,s=e||"BESbswy",l=0,u=t||3e3,f=(new Date).getTime();return new Promise(function(e,t){if(d()&&!function(){if(null===c)if(d()&&/Apple/.test(window.navigator.vendor)){var e=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent);c=!!e&&603>parseInt(e[1],10)}else c=!1;return c}()){var h=new Promise(function(e,t){!function r(){(new Date).getTime()-f>=u?t(Error(u+"ms timeout exceeded")):document.fonts.load(m(o,'"'+o.family+'"'),s).then(function(t){1<=t.length?e():setTimeout(r,25)},t)}()}),p=new Promise(function(e,t){l=setTimeout(function(){t(Error(u+"ms timeout exceeded"))},u)});Promise.race([p,h]).then(function(){clearTimeout(l),e(o)},t)}else!function(e){document.body?e():document.addEventListener?document.addEventListener("DOMContentLoaded",function t(){document.removeEventListener("DOMContentLoaded",t),e()}):document.attachEvent("onreadystatechange",function t(){"interactive"!=document.readyState&&"complete"!=document.readyState||(document.detachEvent("onreadystatechange",t),e())})}(function(){function c(){var t;(t=-1!=y&&-1!=v||-1!=y&&-1!=g||-1!=v&&-1!=g)&&((t=y!=v&&y!=g&&v!=g)||(null===a&&(t=/AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent),a=!!t&&(536>parseInt(t[1],10)||536===parseInt(t[1],10)&&11>=parseInt(t[2],10))),t=a&&(y==b&&v==b&&g==b||y==E&&v==E&&g==E||y==w&&v==w&&g==w)),t=!t),t&&(S.parentNode&&S.parentNode.removeChild(S),clearTimeout(l),e(o))}var d=new r(s),h=new r(s),p=new r(s),y=-1,v=-1,g=-1,b=-1,E=-1,w=-1,S=document.createElement("div");S.dir="ltr",n(d,m(o,"sans-serif")),n(h,m(o,"serif")),n(p,m(o,"monospace")),S.appendChild(d.a),S.appendChild(h.a),S.appendChild(p.a),document.body.appendChild(S),b=d.a.offsetWidth,E=h.a.offsetWidth,w=p.a.offsetWidth,function e(){if((new Date).getTime()-f>=u)S.parentNode&&S.parentNode.removeChild(S),t(Error(u+"ms timeout exceeded"));else{var r=document.hidden;!0!==r&&void 0!==r||(y=d.a.offsetWidth,v=h.a.offsetWidth,g=p.a.offsetWidth,c()),l=setTimeout(e,50)}}(),i(d,function(e){y=e,c()}),n(d,m(o,'"'+o.family+'",sans-serif')),i(h,function(e){v=e,c()}),n(h,m(o,'"'+o.family+'",serif')),i(p,function(e){g=e,c()}),n(p,m(o,'"'+o.family+'",monospace'))})})},e.exports=s}()},2944:(e,t,r)=>{"use strict";let n;r.d(t,{A:()=>o}),e=r.hmd(e),"undefined"!=typeof document&&(!function(){if("function"==typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:null};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r}e.prototype=window.Event.prototype,window.CustomEvent=e}(),n=new function(){let e,t,r=!1;function o(e){return e*parseFloat(getComputedStyle(document.documentElement).fontSize)}this.resizeFactor=function(){return e.offsetWidth/n.unzoomPixelValue};const i=function(){e.offsetWidth;return!document.dispatchEvent(t)};this.init=function(n){if(r)return;const s=document.body&&document.body.firstChild;t=new CustomEvent("textzoom",{detail:{resizeFactor:this.resizeFactor}}),this.unzoomPixelValue=n||o(1),e=document.createElement("IFRAME"),e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","-1"),e.setAttribute("title","Text Zoom Event Iframe"),document.body.insertBefore(e,s);const a=e.style;a.width="1em",a.height="1px",a.borderWidth=0,a.position="absolute",a.overflow="hidden",a.whiteSpace="nowrap",a.margin="-1px";const c=e.contentWindow;let l=e.contentWindow||e.contentDocument||e.document;l=l.document||l;const u='style="width:100%;height:100%;padding:0;margin:0;overflow:hidden;"';l.open(),l.write(""),l.close(),c.addEventListener("resize",i),r=!0}}),void 0!==e.exports&&(e.exports=n||new function(){});const o=n},1139:e=>{"use strict";e.exports=import("https://e.video-cdn.net/mi-player-sdk/mi-player-sdk.js")},9306:(e,t,r)=>{"use strict";var n=r(4901),o=r(6823),i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not a function")}},679:(e,t,r)=>{"use strict";var n=r(1625),o=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new o("Incorrect invocation")}},8551:(e,t,r)=>{"use strict";var n=r(34),o=String,i=TypeError;e.exports=function(e){if(n(e))return e;throw new i(o(e)+" is not an object")}},9617:(e,t,r)=>{"use strict";var n=r(5397),o=r(5610),i=r(6198),s=function(e){return function(t,r,s){var a,c=n(t),l=i(c),u=o(s,l);if(e&&r!=r){for(;l>u;)if((a=c[u++])!=a)return!0}else for(;l>u;u++)if((e||u in c)&&c[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},4527:(e,t,r)=>{"use strict";var n=r(3724),o=r(4376),i=TypeError,s=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(o(e)&&!s(e,"length").writable)throw new i("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},7680:(e,t,r)=>{"use strict";var n=r(9504);e.exports=n([].slice)},6319:(e,t,r)=>{"use strict";var n=r(8551),o=r(9539);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(t){o(e,"throw",t)}}},4576:(e,t,r)=>{"use strict";var n=r(9504),o=n({}.toString),i=n("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,t,r)=>{"use strict";var n=r(2140),o=r(4901),i=r(4576),s=r(8227)("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?r:c?i(t):"Object"===(n=i(t))&&o(t.callee)?"Arguments":n}},7740:(e,t,r)=>{"use strict";var n=r(9297),o=r(5031),i=r(7347),s=r(4913);e.exports=function(e,t,r){for(var a=o(t),c=s.f,l=i.f,u=0;u{"use strict";var n=r(9039);e.exports=!n(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},2529:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},6699:(e,t,r)=>{"use strict";var n=r(3724),o=r(4913),i=r(6980);e.exports=n?function(e,t,r){return o.f(e,t,i(1,r))}:function(e,t,r){return e[t]=r,e}},6980:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4659:(e,t,r)=>{"use strict";var n=r(6969),o=r(4913),i=r(6980);e.exports=function(e,t,r){var s=n(t);s in e?o.f(e,s,i(0,r)):e[s]=r}},2106:(e,t,r)=>{"use strict";var n=r(283),o=r(4913);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),o.f(e,t,r)}},6840:(e,t,r)=>{"use strict";var n=r(4901),o=r(4913),i=r(283),s=r(9433);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,l=void 0!==a.name?a.name:t;if(n(r)&&i(r,l,a),a.global)c?e[t]=r:s(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:o.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},6279:(e,t,r)=>{"use strict";var n=r(6840);e.exports=function(e,t,r){for(var o in t)n(e,o,t[o],r);return e}},9433:(e,t,r)=>{"use strict";var n=r(4475),o=Object.defineProperty;e.exports=function(e,t){try{o(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},3724:(e,t,r)=>{"use strict";var n=r(9039);e.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},2171:e=>{"use strict";var t="object"==typeof document&&document.all,r=void 0===t&&void 0!==t;e.exports={all:t,IS_HTMLDDA:r}},4055:(e,t,r)=>{"use strict";var n=r(4475),o=r(34),i=n.document,s=o(i)&&o(i.createElement);e.exports=function(e){return s?i.createElement(e):{}}},6837:e=>{"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},9392:e=>{"use strict";e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7388:(e,t,r)=>{"use strict";var n,o,i=r(4475),s=r(9392),a=i.process,c=i.Deno,l=a&&a.versions||c&&c.version,u=l&&l.v8;u&&(o=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},6518:(e,t,r)=>{"use strict";var n=r(4475),o=r(7347).f,i=r(6699),s=r(6840),a=r(9433),c=r(7740),l=r(2796);e.exports=function(e,t){var r,u,d,f,m,h=e.target,p=e.global,y=e.stat;if(r=p?n:y?n[h]||a(h,{}):(n[h]||{}).prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(m=o(r,u))&&m.value:r[u],!l(p?u:h+(y?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;c(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),s(r,u,f,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},8745:(e,t,r)=>{"use strict";var n=r(616),o=Function.prototype,i=o.apply,s=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},6080:(e,t,r)=>{"use strict";var n=r(7476),o=r(9306),i=r(616),s=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?s(e,t):function(){return e.apply(t,arguments)}}},616:(e,t,r)=>{"use strict";var n=r(9039);e.exports=!n(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},9565:(e,t,r)=>{"use strict";var n=r(616),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,t,r)=>{"use strict";var n=r(3724),o=r(9297),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=o(i,"name"),c=a&&"something"===function(){}.name,l=a&&(!n||n&&s(i,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:l}},7476:(e,t,r)=>{"use strict";var n=r(4576),o=r(9504);e.exports=function(e){if("Function"===n(e))return o(e)}},9504:(e,t,r)=>{"use strict";var n=r(616),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);e.exports=n?s:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,t,r)=>{"use strict";var n=r(4475),o=r(4901);e.exports=function(e,t){return arguments.length<2?(r=n[e],o(r)?r:void 0):n[e]&&n[e][t];var r}},1767:e=>{"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},851:(e,t,r)=>{"use strict";var n=r(6955),o=r(5966),i=r(4117),s=r(6269),a=r(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,a)||o(e,"@@iterator")||s[n(e)]}},81:(e,t,r)=>{"use strict";var n=r(9565),o=r(9306),i=r(8551),s=r(6823),a=r(851),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(o(r))return i(n(r,e));throw new c(s(e)+" is not iterable")}},6933:(e,t,r)=>{"use strict";var n=r(9504),o=r(4376),i=r(4901),s=r(4576),a=r(655),c=n([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,r=[],n=0;n{"use strict";var n=r(9306),o=r(4117);e.exports=function(e,t){var r=e[t];return o(r)?void 0:n(r)}},4475:function(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},9297:(e,t,r)=>{"use strict";var n=r(9504),o=r(8981),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},421:e=>{"use strict";e.exports={}},397:(e,t,r)=>{"use strict";var n=r(7751);e.exports=n("document","documentElement")},5917:(e,t,r)=>{"use strict";var n=r(3724),o=r(9039),i=r(4055);e.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},7055:(e,t,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(4576),s=Object,a=n("".split);e.exports=o(function(){return!s("z").propertyIsEnumerable(0)})?function(e){return"String"===i(e)?a(e,""):s(e)}:s},3706:(e,t,r)=>{"use strict";var n=r(9504),o=r(4901),i=r(7629),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return s(e)}),e.exports=i.inspectSource},1181:(e,t,r)=>{"use strict";var n,o,i,s=r(8622),a=r(4475),c=r(34),l=r(6699),u=r(9297),d=r(7629),f=r(6119),m=r(421),h="Object already initialized",p=a.TypeError,y=a.WeakMap;if(s||d.state){var v=d.state||(d.state=new y);v.get=v.get,v.has=v.has,v.set=v.set,n=function(e,t){if(v.has(e))throw new p(h);return t.facade=e,v.set(e,t),t},o=function(e){return v.get(e)||{}},i=function(e){return v.has(e)}}else{var g=f("state");m[g]=!0,n=function(e,t){if(u(e,g))throw new p(h);return t.facade=e,l(e,g,t),t},o=function(e){return u(e,g)?e[g]:{}},i=function(e){return u(e,g)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw new p("Incompatible receiver, "+e+" required");return r}}}},4209:(e,t,r)=>{"use strict";var n=r(8227),o=r(6269),i=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||s[i]===e)}},4376:(e,t,r)=>{"use strict";var n=r(4576);e.exports=Array.isArray||function(e){return"Array"===n(e)}},4901:(e,t,r)=>{"use strict";var n=r(2171),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},2796:(e,t,r)=>{"use strict";var n=r(9039),o=r(4901),i=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r===u||r!==l&&(o(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=s.data={},l=s.NATIVE="N",u=s.POLYFILL="P";e.exports=s},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,t,r)=>{"use strict";var n=r(4901),o=r(2171),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},6395:e=>{"use strict";e.exports=!1},757:(e,t,r)=>{"use strict";var n=r(7751),o=r(4901),i=r(1625),s=r(7040),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,a(e))}},2652:(e,t,r)=>{"use strict";var n=r(6080),o=r(9565),i=r(8551),s=r(6823),a=r(4209),c=r(6198),l=r(1625),u=r(81),d=r(851),f=r(9539),m=TypeError,h=function(e,t){this.stopped=e,this.result=t},p=h.prototype;e.exports=function(e,t,r){var y,v,g,b,E,w,S,A=r&&r.that,T=!(!r||!r.AS_ENTRIES),L=!(!r||!r.IS_RECORD),x=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),_=n(t,A),C=function(e){return y&&f(y,"normal",e),new h(!0,e)},I=function(e){return T?(i(e),O?_(e[0],e[1],C):_(e[0],e[1])):O?_(e,C):_(e)};if(L)y=e.iterator;else if(x)y=e;else{if(!(v=d(e)))throw new m(s(e)+" is not iterable");if(a(v)){for(g=0,b=c(e);b>g;g++)if((E=I(e[g]))&&l(p,E))return E;return new h(!1)}y=u(e,v)}for(w=L?e.next:y.next;!(S=o(w,y)).done;){try{E=I(S.value)}catch(e){f(y,"throw",e)}if("object"==typeof E&&E&&l(p,E))return E}return new h(!1)}},9539:(e,t,r)=>{"use strict";var n=r(9565),o=r(8551),i=r(5966);e.exports=function(e,t,r){var s,a;o(e);try{if(!(s=i(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return o(s),r}},9462:(e,t,r)=>{"use strict";var n=r(9565),o=r(2360),i=r(6699),s=r(6279),a=r(8227),c=r(1181),l=r(5966),u=r(7657).IteratorPrototype,d=r(2529),f=r(9539),m=a("toStringTag"),h="IteratorHelper",p="WrapForValidIterator",y=c.set,v=function(e){var t=c.getterFor(e?p:h);return s(o(u),{next:function(){var r=t(this);if(e)return r.nextHandler();try{var n=r.done?void 0:r.nextHandler();return d(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),o=r.iterator;if(r.done=!0,e){var i=l(o,"return");return i?n(i,o):d(void 0,!0)}if(r.inner)try{f(r.inner.iterator,"normal")}catch(e){return f(o,"throw",e)}return f(o,"normal"),d(void 0,!0)}})},g=v(!0),b=v(!1);i(b,m,"Iterator Helper"),e.exports=function(e,t){var r=function(r,n){n?(n.iterator=r.iterator,n.next=r.next):n=r,n.type=t?p:h,n.nextHandler=e,n.counter=0,n.done=!1,y(this,n)};return r.prototype=t?g:b,r}},713:(e,t,r)=>{"use strict";var n=r(9565),o=r(9306),i=r(8551),s=r(1767),a=r(9462),c=r(6319),l=a(function(){var e=this.iterator,t=i(n(this.next,e));if(!(this.done=!!t.done))return c(e,this.mapper,[t.value,this.counter++],!0)});e.exports=function(e){return i(this),o(e),new l(s(this),{mapper:e})}},7657:(e,t,r)=>{"use strict";var n,o,i,s=r(9039),a=r(4901),c=r(34),l=r(2360),u=r(2787),d=r(6840),f=r(8227),m=r(6395),h=f("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(n=o):p=!0),!c(n)||s(function(){var e={};return n[h].call(e)!==e})?n={}:m&&(n=l(n)),a(n[h])||d(n,h,function(){return this}),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},6269:e=>{"use strict";e.exports={}},6198:(e,t,r)=>{"use strict";var n=r(8014);e.exports=function(e){return n(e.length)}},283:(e,t,r)=>{"use strict";var n=r(9504),o=r(9039),i=r(4901),s=r(9297),a=r(3724),c=r(350).CONFIGURABLE,l=r(3706),u=r(1181),d=u.enforce,f=u.get,m=String,h=Object.defineProperty,p=n("".slice),y=n("".replace),v=n([].join),g=a&&!o(function(){return 8!==h(function(){},"length",{value:8}).length}),b=String(String).split("String"),E=e.exports=function(e,t,r){"Symbol("===p(m(t),0,7)&&(t="["+y(m(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?h(e,"name",{value:t,configurable:!0}):e.name=t),g&&r&&s(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return s(n,"source")||(n.source=v(b,"string"==typeof t?t:"")),e};Function.prototype.toString=E(function(){return i(this)&&f(this).source||l(this)},"toString")},741:e=>{"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},2360:(e,t,r)=>{"use strict";var n,o=r(8551),i=r(6801),s=r(8727),a=r(421),c=r(397),l=r(4055),u=r(6119),d="prototype",f="script",m=u("IE_PROTO"),h=function(){},p=function(e){return"<"+f+">"+e+""},y=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;v="undefined"!=typeof document?document.domain&&n?y(n):(t=l("iframe"),r="java"+f+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):y(n);for(var o=s.length;o--;)delete v[d][s[o]];return v()};a[m]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h[d]=o(e),r=new h,h[d]=null,r[m]=e):r=v(),void 0===t?r:i.f(r,t)}},6801:(e,t,r)=>{"use strict";var n=r(3724),o=r(8686),i=r(4913),s=r(8551),a=r(5397),c=r(1072);t.f=n&&!o?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),o=c(t),l=o.length,u=0;l>u;)i.f(e,r=o[u++],n[r]);return e}},4913:(e,t,r)=>{"use strict";var n=r(3724),o=r(5917),i=r(8686),s=r(8551),a=r(6969),c=TypeError,l=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",m="writable";t.f=n?i?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&m in r&&!r[m]){var n=u(e,t);n&&n[m]&&(e[t]=r.value,r={configurable:f in r?r[f]:n[f],enumerable:d in r?r[d]:n[d],writable:!1})}return l(e,t,r)}:l:function(e,t,r){if(s(e),t=a(t),s(r),o)try{return l(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},7347:(e,t,r)=>{"use strict";var n=r(3724),o=r(9565),i=r(8773),s=r(6980),a=r(5397),c=r(6969),l=r(9297),u=r(5917),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),u)try{return d(e,t)}catch(e){}if(l(e,t))return s(!o(i.f,e,t),e[t])}},8480:(e,t,r)=>{"use strict";var n=r(1828),o=r(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},3717:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},2787:(e,t,r)=>{"use strict";var n=r(9297),o=r(4901),i=r(8981),s=r(6119),a=r(2211),c=s("IE_PROTO"),l=Object,u=l.prototype;e.exports=a?l.getPrototypeOf:function(e){var t=i(e);if(n(t,c))return t[c];var r=t.constructor;return o(r)&&t instanceof r?r.prototype:t instanceof l?u:null}},1625:(e,t,r)=>{"use strict";var n=r(9504);e.exports=n({}.isPrototypeOf)},1828:(e,t,r)=>{"use strict";var n=r(9504),o=r(9297),i=r(5397),s=r(9617).indexOf,a=r(421),c=n([].push);e.exports=function(e,t){var r,n=i(e),l=0,u=[];for(r in n)!o(a,r)&&o(n,r)&&c(u,r);for(;t.length>l;)o(n,r=t[l++])&&(~s(u,r)||c(u,r));return u}},1072:(e,t,r)=>{"use strict";var n=r(1828),o=r(8727);e.exports=Object.keys||function(e){return n(e,o)}},8773:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},4270:(e,t,r)=>{"use strict";var n=r(9565),o=r(4901),i=r(34),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&o(r=e.toString)&&!i(a=n(r,e)))return a;if(o(r=e.valueOf)&&!i(a=n(r,e)))return a;if("string"!==t&&o(r=e.toString)&&!i(a=n(r,e)))return a;throw new s("Can't convert object to primitive value")}},5031:(e,t,r)=>{"use strict";var n=r(7751),o=r(9504),i=r(8480),s=r(3717),a=r(8551),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=s.f;return r?c(t,r(e)):t}},8235:(e,t,r)=>{"use strict";var n=r(9504),o=r(9297),i=SyntaxError,s=parseInt,a=String.fromCharCode,c=n("".charAt),l=n("".slice),u=n(/./.exec),d={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},f=/^[\da-f]{4}$/i,m=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var r=!0,n="";t{"use strict";var n=r(4117),o=TypeError;e.exports=function(e){if(n(e))throw new o("Can't call method on "+e);return e}},6119:(e,t,r)=>{"use strict";var n=r(5745),o=r(3392),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,t,r)=>{"use strict";var n=r(4475),o=r(9433),i="__core-js_shared__",s=n[i]||o(i,{});e.exports=s},5745:(e,t,r)=>{"use strict";var n=r(6395),o=r(7629);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.33.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.2/LICENSE",source:"https://github.com/zloirock/core-js"})},4495:(e,t,r)=>{"use strict";var n=r(7388),o=r(9039),i=r(4475).String;e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41})},5610:(e,t,r)=>{"use strict";var n=r(1291),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},5397:(e,t,r)=>{"use strict";var n=r(7055),o=r(7750);e.exports=function(e){return n(o(e))}},1291:(e,t,r)=>{"use strict";var n=r(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},8014:(e,t,r)=>{"use strict";var n=r(1291),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},8981:(e,t,r)=>{"use strict";var n=r(7750),o=Object;e.exports=function(e){return o(n(e))}},2777:(e,t,r)=>{"use strict";var n=r(9565),o=r(34),i=r(757),s=r(5966),a=r(4270),c=r(8227),l=TypeError,u=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=s(e,u);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!o(r)||i(r))return r;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},6969:(e,t,r)=>{"use strict";var n=r(2777),o=r(757);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},2140:(e,t,r)=>{"use strict";var n={};n[r(8227)("toStringTag")]="z",e.exports="[object z]"===String(n)},655:(e,t,r)=>{"use strict";var n=r(6955),o=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},3392:(e,t,r)=>{"use strict";var n=r(9504),o=0,i=Math.random(),s=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++o+i,36)}},7040:(e,t,r)=>{"use strict";var n=r(4495);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,t,r)=>{"use strict";var n=r(3724),o=r(9039);e.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},2812:e=>{"use strict";var t=TypeError;e.exports=function(e,r){if(e{"use strict";var n=r(4475),o=r(4901),i=n.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},8227:(e,t,r)=>{"use strict";var n=r(4475),o=r(5745),i=r(9297),s=r(3392),a=r(4495),c=r(7040),l=n.Symbol,u=o("wks"),d=c?l.for||l:l&&l.withoutSetter||s;e.exports=function(e){return i(u,e)||(u[e]=a&&i(l,e)?l[e]:d("Symbol."+e)),u[e]}},4114:(e,t,r)=>{"use strict";var n=r(6518),o=r(8981),i=r(6198),s=r(4527),a=r(6837);n({target:"Array",proto:!0,arity:1,forced:r(9039)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=o(this),r=i(t),n=arguments.length;a(r+n);for(var c=0;c{"use strict";var n=r(6518),o=r(7751),i=r(8745),s=r(9565),a=r(9504),c=r(9039),l=r(4901),u=r(757),d=r(7680),f=r(6933),m=r(4495),h=String,p=o("JSON","stringify"),y=a(/./.exec),v=a("".charAt),g=a("".charCodeAt),b=a("".replace),E=a(1..toString),w=/[\uD800-\uDFFF]/g,S=/^[\uD800-\uDBFF]$/,A=/^[\uDC00-\uDFFF]$/,T=!m||c(function(){var e=o("Symbol")("stringify detection");return"[null]"!==p([e])||"{}"!==p({a:e})||"{}"!==p(Object(e))}),L=c(function(){return'"\\udf06\\ud834"'!==p("\udf06\ud834")||'"\\udead"'!==p("\udead")}),x=function(e,t){var r=d(arguments),n=f(t);if(l(n)||void 0!==e&&!u(e))return r[1]=function(e,t){if(l(n)&&(t=s(n,this,h(e),t)),!u(t))return t},i(p,null,r)},O=function(e,t,r){var n=v(r,t-1),o=v(r,t+1);return y(S,e)&&!y(A,o)||y(A,e)&&!y(S,n)?"\\u"+E(g(e,0),16):e};p&&n({target:"JSON",stat:!0,arity:3,forced:T||L},{stringify:function(e,t,r){var n=d(arguments),o=i(T?x:p,null,n);return L&&"string"==typeof o?b(o,w,O):o}})},8992:(e,t,r)=>{"use strict";var n=r(6518),o=r(4475),i=r(679),s=r(4901),a=r(2787),c=r(6699),l=r(9039),u=r(9297),d=r(8227),f=r(7657).IteratorPrototype,m=r(6395),h=d("toStringTag"),p=TypeError,y=o.Iterator,v=m||!s(y)||y.prototype!==f||!l(function(){y({})}),g=function(){if(i(this,f),a(this)===f)throw new p("Abstract class Iterator not directly constructable")};u(f,h)||c(f,h,"Iterator"),!v&&u(f,"constructor")&&f.constructor!==Object||c(f,"constructor",g),g.prototype=f,n({global:!0,constructor:!0,forced:v},{Iterator:g})},3215:(e,t,r)=>{"use strict";var n=r(6518),o=r(2652),i=r(9306),s=r(8551),a=r(1767);n({target:"Iterator",proto:!0,real:!0},{every:function(e){s(this),i(e);var t=a(this),r=0;return!o(t,function(t,n){if(!e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},4520:(e,t,r)=>{"use strict";var n=r(6518),o=r(9565),i=r(9306),s=r(8551),a=r(1767),c=r(9462),l=r(6319),u=r(6395),d=c(function(){for(var e,t,r=this.iterator,n=this.predicate,i=this.next;;){if(e=s(o(i,r)),this.done=!!e.done)return;if(t=e.value,l(r,n,[t,this.counter++],!0))return t}});n({target:"Iterator",proto:!0,real:!0,forced:u},{filter:function(e){return s(this),i(e),new d(a(this),{predicate:e})}})},2577:(e,t,r)=>{"use strict";var n=r(6518),o=r(2652),i=r(9306),s=r(8551),a=r(1767);n({target:"Iterator",proto:!0,real:!0},{find:function(e){s(this),i(e);var t=a(this),r=0;return o(t,function(t,n){if(e(t,r++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},3949:(e,t,r)=>{"use strict";var n=r(6518),o=r(2652),i=r(9306),s=r(8551),a=r(1767);n({target:"Iterator",proto:!0,real:!0},{forEach:function(e){s(this),i(e);var t=a(this),r=0;o(t,function(t){e(t,r++)},{IS_RECORD:!0})}})},1454:(e,t,r)=>{"use strict";var n=r(6518),o=r(713);n({target:"Iterator",proto:!0,real:!0,forced:r(6395)},{map:o})},8872:(e,t,r)=>{"use strict";var n=r(6518),o=r(2652),i=r(9306),s=r(8551),a=r(1767),c=TypeError;n({target:"Iterator",proto:!0,real:!0},{reduce:function(e){s(this),i(e);var t=a(this),r=arguments.length<2,n=r?void 0:arguments[1],l=0;if(o(t,function(t){r?(r=!1,n=t):n=e(n,t,l),l++},{IS_RECORD:!0}),r)throw new c("Reduce of empty iterator with no initial value");return n}})},7550:(e,t,r)=>{"use strict";var n=r(6518),o=r(2652),i=r(9306),s=r(8551),a=r(1767);n({target:"Iterator",proto:!0,real:!0},{some:function(e){s(this),i(e);var t=a(this),r=0;return o(t,function(t,n){if(e(t,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},8335:(e,t,r)=>{"use strict";var n=r(6518),o=r(3724),i=r(4475),s=r(7751),a=r(9504),c=r(9565),l=r(4901),u=r(34),d=r(4376),f=r(9297),m=r(655),h=r(6198),p=r(4659),y=r(9039),v=r(8235),g=r(4495),b=i.JSON,E=i.Number,w=i.SyntaxError,S=b&&b.parse,A=s("Object","keys"),T=Object.getOwnPropertyDescriptor,L=a("".charAt),x=a("".slice),O=a(/./.exec),_=a([].push),C=/^\d$/,I=/^[1-9]$/,k=/^(?:-|\d)$/,R=/^[\t\n\r ]$/,j=function(e,t,r,n){var o,i,s,a,l,m=e[t],p=n&&m===n.value,y=p&&"string"==typeof n.source?{source:n.source}:{};if(u(m)){var v=d(m),g=p?n.nodes:v?[]:{};if(v)for(o=g.length,s=h(m),a=0;a{"use strict";var n=r(6840),o=r(9504),i=r(655),s=r(2812),a=URLSearchParams,c=a.prototype,l=o(c.append),u=o(c.delete),d=o(c.forEach),f=o([].push),m=new a("a=1&a=2&b=3");m.delete("a",1),m.delete("b",void 0),m+""!="a=2"&&n(c,"delete",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return u(this,e);var n=[];d(this,function(e,t){f(n,{key:t,value:e})}),s(t,1);for(var o,a=i(e),c=i(r),m=0,h=0,p=!1,y=n.length;m{"use strict";var n=r(6840),o=r(9504),i=r(655),s=r(2812),a=URLSearchParams,c=a.prototype,l=o(c.getAll),u=o(c.has),d=new a("a=1");!d.has("a",2)&&d.has("a",void 0)||n(c,"has",function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return u(this,e);var n=l(this,e);s(t,1);for(var o=i(r),a=0;a{"use strict";var n=r(3724),o=r(9504),i=r(2106),s=URLSearchParams.prototype,a=o(s.forEach);n&&!("size"in s)&&i(s,"size",{get:function(){var e=0;return a(this,function(){e++}),e},configurable:!0,enumerable:!0})}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=t,e=[],n.O=(t,r,o,i)=>{if(!r){var s=1/0;for(u=0;u=i)&&Object.keys(n.O).every(e=>n.O[e](r[c]))?r.splice(c--,1):(a=!1,i0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[r,o,i]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={3023:0};n.O.j=t=>0===e[t];var t=(t,r)=>{var o,i,[s,a,c]=r,l=0;if(s.some(t=>0!==e[t])){for(o in a)n.o(a,o)&&(n.m[o]=a[o]);if(c)var u=c(n)}for(t&&t(r);l{"use strict";n(8992),n(3949);var e=n(2944);e.A.init(16),document.addEventListener("textzoom",e=>{const t=e?.detail?.resizeFactor?.();void 0!==t&&(document.body.classList.toggle("text-zoom",t>1),window.zoomlevel=t,document.documentElement.style.setProperty("--zoom-level",t),window.dispatchEvent(new CustomEvent("textzoom.updated")))});var t=n(7137),r=n(7224);n(8335),n(1454),n(4520);const o="loading",i="hover-simplify",s="simplify-mode";let a,c="Revert",l="Simplify Text";class u{constructor(){this.simplifyButton=document.createElement("button"),this.simplifyButton.className="c-text-simplifier--btn base-button base-button--white",this.textSpan=document.createElement("span"),this.textSpan.className="button-text",this.textSpan.textContent=l,this.simplifyButton.appendChild(this.textSpan),this.loaderSpan=document.createElement("span"),this.loaderSpan.className="loader",this.simplifyButton.appendChild(this.loaderSpan),this.simplifyButton.addEventListener("click",this.handleSimplifyClick.bind(this))}handleSimplifyClick(){const e=this.simplifyButton.relatedTarget;e&&(e.dataset.originalText||(e.dataset.originalText=e.innerHTML),y(e),this.showLoader())}updateButtonText(e){e&&e?.classList?.contains(s)?this.textSpan.textContent=c:e&&(this.textSpan.textContent=l)}hideLoader(){this.simplifyButton.classList.remove(o)}showLoader(){this.simplifyButton.classList.add(o)}show(e){const t=e.getBoundingClientRect();this.updateButtonText(e),this.simplifyButton.style.top=(t.top+window.scrollY-32)/10+"rem",document.body.appendChild(this.simplifyButton),this.simplifyButton.style.left=(t.right+window.scrollX-this.simplifyButton.offsetWidth)/10+"rem",this.simplifyButton.relatedTarget=e}hide(){this.simplifyButton.parentNode&&this.simplifyButton.parentNode.removeChild(this.simplifyButton),this.hideLoader(),this.simplifyButton.relatedTarget?.classList.remove(i),this.simplifyButton.relatedTarget=null}}const d=()=>{const e=document.getElementById("input-simplifySwitch"),t=f();l=t?.["dhl-textsimplifier-activate"]||l,c=t?.["dhl-textsimplifier-revert"]||c,a=new u,e&&(e.checked=E(),e.addEventListener("change",m)),E()&&p()},f=()=>{try{return JSON.parse(document.querySelector('meta[name="translations"]')?.getAttribute("content")||"{}")}catch(e){return{}}},m=e=>{b(e.target.checked),e.target.checked?p():(document.removeEventListener("mouseover",g),a?.hide())},h=()=>{a.simplifyButton.contains(event.relatedTarget)||a.hide()},p=()=>{E()&&(document.addEventListener("mouseover",g),document.addEventListener("mouseout",h))},y=e=>{e.classList.contains(s)?(e.classList.remove(s),e.innerHTML=e.dataset.originalText,a.hide()):e.dataset.simplifiedText?(e.innerHTML=e.dataset.simplifiedText,a.hide()):v(e.dataset.originalText,e)},v=async(e,t)=>{try{const r=await fetch("/api/simplify",{method:"POST",headers:{"Content-Type":"application/json"},body:e});if(!r.ok)throw new Error("Network response was not ok");const n=(await r.json()).text;setTimeout(()=>{a.hide(),t.classList.add(s),t.dataset.simplifiedText=n,t.textContent=n},10)}catch(e){}},g=e=>{const t=e.target;var r;(r=t,Array.from(r.childNodes).filter(e=>e.nodeType===Node.TEXT_NODE&&""!==e.textContent.trim()&&!(e.parentNode&&"true"===e.parentNode.getAttribute("data-exclude-simplify"))).map(e=>e.textContent).join(" ")).trim()&&!t.classList.contains("c-text-simplifier--btn")&&(t.classList.add(i),a.show(t))},b=e=>{localStorage.setItem(s,e?"enabled":"disabled")},E=()=>"enabled"===localStorage.getItem(s);var w=n(59),S=n(8841),A=n(5801);const T=".js--faq-tiles--input",L=".js--faq-tiles--close-button",x=function(){return window.matchMedia(r.HP.TABLET_DESKTOP).matches?"tabletOrDesktop":"mobile"};let O=x();const _=function(e,t){(0,r.$0)(e).forEach(e=>{e.setAttribute("tabindex",t?"-1":"0")})};class C{constructor(e){this.toggleRadio={lastChecked:null},this.containerElement=e,this.containerElement&&(this.tabElements=this.containerElement.querySelectorAll(T),this.contentElements=this.containerElement.querySelectorAll(".js--faq-tiles--content"),this.closeElements=this.containerElement.querySelectorAll(L),this.containerElement.addEventListener("click",e=>{e.target.matches(L)&&this.onCloseTile(e),e.target.matches(T)&&this.onTileClick(e)}),"tabletOrDesktop"===x()&&this.contentElements.forEach(e=>{_(e,!0)}),window.addEventListener("resize",(0,A.L)(()=>{this.onResize()},50)))}onCloseTile(e){const t=document.getElementById(e.target.dataset.inputid);t?.setAttribute("aria-expanded",!1),this.closeAllTiles(),this.toggleRadio.lastChecked=null}closeAllTiles(){this.tabElements.forEach(e=>{e.setAttribute("aria-expanded",!1),e.classList?.remove("is-open")}),this.contentElements.forEach(e=>{e.classList.remove("is-open"),"tabletOrDesktop"===x()&&(_(e,!0),e.style.maxHeight="0")})}onTileClick(e){const t=e.target,r=document.getElementById(t.dataset.inputid);t?.classList.contains("is-open")?this.closeAllTiles():(this.closeAllTiles(),"tabletOrDesktop"===x()?(r.style.maxHeight=r.querySelector(".js--faq-tiles--content-container").offsetHeight/10+"rem",_(r,!1)):r.style.maxHeight="none",t?.setAttribute("aria-expanded",!0),t?.classList.add("is-open"),r.classList.add("is-open"))}onResize(){const e=x();O!==e&&(O=e,this.closeAllTiles(),this.toggleRadio.lastChecked=null,this.contentElements.forEach(t=>{t.style.maxHeight="mobile"===e?"none":"0"}))}}const I=()=>{document.querySelectorAll(".js--faq-tiles").forEach(e=>new C(e))},k="faq_tiles",R=()=>{(0,S.sy)(k,I)};(0,S.Zk)(()=>{(0,S.sy)(k,I,!0)});n(2577);const j=".js--accordion--item";class D{constructor(e){if(this.containerElement=e,this.contentElement=this.containerElement?.querySelectorAll(j),this.tabElements=this.containerElement?.querySelectorAll(".js--tab-module--label"),this.automatictabElements=Array.from(this.containerElement?.querySelectorAll(".js--automatic-tabs")??[]),this.firstTab=null,this.lastTab=null,this.automatictabElements)for(const e of this.automatictabElements)e.addEventListener("keydown",this.onKeydown.bind(this)),this.firstTab||(this.firstTab=e),this.lastTab=e;if(this.tabElements){for(const e of this.tabElements)e.addEventListener("click",this.openElement.bind(this));setTimeout(()=>{this.openActiveElementOnStart()},500)}}onKeydown(e){const t=e.currentTarget;let n=!1;switch(e.key){case r.K7.ARROW_LEFT:this.setSelectedToPreviousTab(t),n=!0;break;case r.K7.ARROW_RIGHT:this.setSelectedToNextTab(t),n=!0;break;case r.K7.HOME:this.openElement({target:this.firstTab}),n=!0;break;case r.K7.END:this.openElement({target:this.lastTab}),n=!0}n&&(e.stopPropagation(),e.preventDefault())}setSelectedToPreviousTab(e){let t;e===this.firstTab?this.openElement({target:this.lastTab}):(t=this.automatictabElements.indexOf(e),this.openElement({target:this.automatictabElements[t-1]}))}setSelectedToNextTab(e){let t;e===this.lastTab?this.openElement({target:this.firstTab}):(t=this.automatictabElements.indexOf(e),this.openElement({target:this.automatictabElements[t+1]}))}openActiveElementOnStart(){this.openElement({target:Array.from(this.tabElements).find(e=>e.classList.contains("is-open"))||this.tabElements[0]},!1)}openElement(e,t=!0){const r=e.target;if(r)for(const e of this.automatictabElements){const n=e.dataset.controls,o=this.containerElement.querySelector(`#${n}`);if(r===e){e.setAttribute("aria-selected","true"),e.removeAttribute("tabindex");const r=o.closest(j);(0,w.zh)(r,!1,!0),t&&e.focus(),e.classList.add("is-open")}else{e.setAttribute("aria-selected","false"),e.tabIndex=-1;const t=o.closest(j);(0,w.BT)(t,!0),e.classList.remove("is-open")}}}}const P=()=>{document.querySelectorAll(".js--tab-module").forEach(e=>new D(e))},N=()=>{(0,S.sy)("tab_module",P)},M=(e,t,r,n)=>{const o=n||{};let i,s;if(!e)return document.cookies;const a=o.path?`; path=${o.path}`:"",c=o.domain?`; domain=${o.domain}`:"",l=o.secure?"; secure":"";return i=r||o.expires||"session","session"!==i?(s=new Date,s.setTime(s.getTime()+24*Number(r)*60*60*1e3),s=s.toUTCString(),i=`; expires=${s}`):i="",document.cookie=`${encodeURI(e)}=${encodeURI(t)}${i}${c}${a}${l} ;`,document.cookie},q=e=>{const t=encodeURI(e);let r,n=[];return navigator.cookieEnabled&&document.cookie&&document.cookie.length?(n=document.cookie.split(";"),n.filter(e=>{const n=e.split("=");return!(!n[0]||n[0].trim()!==t)&&(r=decodeURI(n[1]),r)}),r):r},$="tracking-id",U=function(e){const t=e.querySelectorAll(".js--tracking-handover-link-link"),r=e.querySelectorAll(".js--tracking-handover-link-fallbacklink");q($)?Array.from(t).forEach(e=>{void 0===e.dataset.link&&(e.dataset.link=e.href),e.dataset.link?(e.href=e.dataset.link.replace("_TRACKINGNUMBER_",q($)),Array.from(r).forEach(e=>{e.style.display="none"}),e.style.display="inline-block"):e.href=e.href.replace("_TRACKINGNUMBER_",q($))}):(Array.from(t).forEach(e=>{e.style.display="none"}),Array.from(r).forEach(e=>{e.style.display="inline-block"}))},B=function(){U(document)};let F=!1;const z=()=>{F||(window.addEventListener("changed.trackingCookie",B),function(e){if("undefined"!=typeof MutationObserver){const t=new MutationObserver(e=>{e.filter(e=>"childList"===e.type&&e.addedNodes.length>0).forEach(e=>{U(e.target)})});e.querySelectorAll(".js--utapi-content-injection").forEach(e=>{t.observe(e,{childList:!0,subtree:!0})})}}(document),B(),F=!0)};n(4114);const H=function(e){let t;if(null==e||"object"!=typeof e)return e;if(e instanceof Array){t=[];for(let r=0;r-1?(n=e.split("."),r=n.shift()):r=e,t[r]||0===n.length||(t[r]={}),t[r]||0!==n.length||(t[r]=void 0),!t[r]||t[r].constructor!==Object||0===n.length||te(n.join("."),t[r])},re=function(e,t,r){const n=t.split("."),o=n.shift();return 0!==n.length?re(e[o],n.join("."),r):0===n.length&&(e[o]=r,e[o])};Z();const ne=function(e,t,r){return e&&t&&function(e,t){te(e,Q),re(Q,e,t)}(e,t),r?Promise.resolve(r):Promise.resolve(Q)},oe=ee,ie=function(){return new Promise(e=>{window.dataLayer=H(Q),ee(),e(!0)})},se=".js--c-wizard--standard-item",ae=".js-wizard-standard-item-headline",ce=e=>{e.forEach(e=>{e.classList.remove("active"),e.setAttribute("aria-selected","false")})};class le{constructor(e){this.stepRoute=[],this.containerElement=e,this.selectElements=this.containerElement.querySelectorAll(se),this.modules=this.containerElement.querySelectorAll("[data-step-id]"),this.loadModules();for(const e of this.selectElements)e.addEventListener("click",this.onNextStep.bind(this)),e.addEventListener("keyup",this.onNextStep.bind(this))}activateNextModule(e){const t=this.containerElement.querySelector(`[data-step-id="${e}"]`);-1===this.stepRoute.indexOf(e)&&this.stepRoute.push(e),t&&(t.classList.add("stepflex"),window.setTimeout(()=>{t.classList.add("active");t.querySelectorAll(se).forEach(e=>{e.setAttribute("aria-hidden","false")}),(t.querySelector(".js--wizard-step-headline")||t.querySelector("[role='tablist']")||t).focus()},1))}deactivateModules(e){const t=this.stepRoute.indexOf(e);this.modules.forEach(e=>{if(this.stepRoute.indexOf(e.getAttribute("data-step-id"))>t&&e.classList.contains("active")){e.classList.remove("stepflex","active","active-step");e.querySelectorAll(se).forEach(e=>{e.setAttribute("aria-hidden","true")}),ce(e.items)}else this.stepRoute.indexOf(e.getAttribute("data-step-id"))===t&&ce(e.items)}),this.stepRoute.length=t+1}onNextStep(e){const t=e.target.closest(se);let n,o,i;return([r.K7.ENTER,r.K7.BACKSPACE].includes(e.key)||["click","touchend"].includes(e.type))&&(n=t.querySelector(".js--c-wizard--standard-item-wrapper"),o=e.target.closest(".js--c-wizard--step"),e.preventDefault(),e.stopImmediatePropagation(),t.classList.contains("active")||(o.classList.add("active-step"),this.deactivateModules(o.getAttribute("data-step-id")),this.activateNextModule(n.getAttribute("data-nextstep")),t.classList.add("active"),t.setAttribute("aria-selected","false"),t.querySelector(ae)&&(i=t.querySelector(ae).textContent,ne("virtualPage",i),ie()))),!1}loadModules(){this.modules.forEach(e=>{const t=e.querySelectorAll(se);e.items=t}),this.modules.length>0&&(oe(),this.modules[0].classList.add("first-element"),window.setTimeout(()=>{this.modules[0].classList.add("active"),this.modules[0].items.forEach(e=>e.setAttribute("aria-hidden","false"))},1),this.modules[0]?.dataset&&this.modules[0]?.dataset.stepId&&this.stepRoute?.push(this.modules[0].dataset.stepId))}}const ue=()=>{document.querySelectorAll(".js--wizard").forEach(e=>new le(e))},de=()=>{if(void 0!==window.dhlVAWidget){const e=document.querySelector(".js--chatbot-cta");if(e){const t=(e=>{if(!e)return null;{const t=e.getAttribute("data-chatbot");try{return JSON.parse(t)}catch{return null}}})(e);t?(window.dhlVAWidget.init({id:t.chatbotPersonality,languageCode:t.languageCode||"en",countryCode:t.countryCode||"us",design:t.chatbotDesign||"dpdhl",disableWidgetPopupOnHover:!0,startWithChatScreen:!0,hidden:!0,personalityDetail:{locales:{en:{name:t.chatbotWindowTitle||"Chat with Us"}}}}),me()):e.style.display="none"}}},fe=()=>{const e=document.querySelector("#dhl-va-widget-iframe");e&&(e.style.display="block",e.focus(),window.dhlVAWidget.open())},me=()=>{const e=document.querySelector(".js--chatbot--button");e&&e.addEventListener("click",fe)},he=()=>{de()},pe=()=>{(0,S.sy)("chatbot-cta",he)};var ye=n(9401),ve=(n(4603),n(7566),n(8721),n(7769)),ge=n(8111);let be=!1,Ee=!1,we=!1,Se=0,Ae=0;const Te=function(e){const t=window.scrollY||document.documentElement._scrollTop||window.pageYOffset;return e.getBoundingClientRect().top+t},Le=function(){const e=window.scrollY||document.documentElement._scrollTop||window.pageYOffset;Ae=Math.round(e-Se),we&&window.requestAnimationFrame(Le)},xe=function(){Ee=!0,we=!0,_e(),window.requestAnimationFrame(Le),setTimeout(()=>{we=!1},2e4)},Oe=e=>{e.preventDefault();const t=e.target.getAttribute("href"),r=new URL(t,window.location.href);if(r.hash){const e=document.getElementById(r.hash.substring(1));e&&function(e,t=500){const r=window.scrollY,n=Te(e)-r,o=performance.now(),i=function(e){const s=e-o,a=Math.min(s/t,1);window.scrollTo({top:r+n*(0,ve.easeInOutCubic)(a),left:0,behavior:"instant"}),a<1&&requestAnimationFrame(i)};requestAnimationFrame(i)}(e)}},_e=function(){window.removeEventListener("DOMMouseScroll",xe,!1),window.removeEventListener("mousewheel",xe,!1),window.removeEventListener("touchmove",xe,!1)},Ce=function(){if(!0!==be&&window.location.hash){const e=window.location.hash,t=window.location.hash.substring(1),r=document.getElementById(t);r&&(window.location.hash="",setTimeout(()=>{Se=Te(r),window.addEventListener("DOMMouseScroll",xe,!1),window.addEventListener("mousewheel",xe,!1),window.addEventListener("touchmove",xe,!1),window.location.hash=e},1e3))}be=!0,document.querySelectorAll('.c-nav-wcag a[href^="#"]').forEach(e=>{e.addEventListener("keydown",t=>{t.key===r.K7.SPACE&&(t.preventDefault(),e.click())})}),ge.ew&&document.querySelectorAll(".link-jump, .cmp-text__link--anchor").forEach(e=>{e.addEventListener("click",e=>{Oe(e)})})};var Ie=n(8342);const ke=[r.HP.MOBILE_SMALL,r.HP.MOBILE_MEDIUM,r.HP.MOBILE_LARGE,r.HP.TABLET,r.HP.DESKTOP],Re=["s-s","s-m","s-l","m-s","m-m"];let je;const De=function(e){let t,r,n=0;if("resize"===e)for(;n{var t,r;r={action:"resize"},(t=e).data=r,De(t.data.action)},50))},Ne=function(){Pe(),De("resize")};var Me=n(1712);let qe={},$e=!1;const Ue=(e,t)=>({idElement:e.getAttribute("id"),idStepItem:t.getAttribute("data-form-item-id"),element:e,validationType:e.getAttribute("data-form-validation-type"),validationRule:"regex"===e.getAttribute("data-form-validation-type")?new RegExp(e.getAttribute("data-form-validation-rule")):e.getAttribute("data-form-validation-rule"),validatonState:e.parentElement.getAttribute("data-form-validation-state"),validatonConfirmation:e.parentElement.getAttribute("data-form-confirmation-id"),required:void 0!==e.attributes.required,disabled:void 0!==e.attributes.disabled,label:t.querySelector("label")?.textContent}),Be=(e,t)=>{const r={aDataItems:[],aIndexItems:[],aIndexRequired:[],aIndexValidated:[],aIndexError:[],aIndexOk:[],id:e.getAttribute("data-form-step"),stepName:e.getAttribute("data-form-step-name"),stepTotal:e.getAttribute("data-form-step-total"),requiredFieldLabelsArr:[],requiredFieldLabelsStr:""},n=e.querySelectorAll(".js--form-element");let o=0;const i=n.length;let s,a;for(;o`,l.innerHTML=`${r.id}, ${r.stepName}
`,u.innerHTML=`${r.stepTotal}
`),r},Fe=(e,t,r)=>{const n=qe[e].aDataSteps[r],o=n.aIndexItems,i=n.aDataItems[o.indexOf(t)];return i||!1},ze=e=>{const t=e.getAttribute("id");let r,n=0;for(qe[t]={oElements:{elComponent:e,elPaginationItems:e.querySelectorAll(".js--form-step--pagination-item"),elSteps:e.querySelectorAll(".js--form-step--section"),elStepItems:e.querySelectorAll(".js--form-step--item"),elForm:e.querySelector(".js--form-steps--form form")},iStepCurrent:0,iSteps:null,aIndexSteps:[],aDataSteps:[]},qe[t].iSteps=qe[t].oElements.elSteps.length;n{const t=document.querySelector(`#${e}.js--form-steps`)??null;return!!t&&(ze(t),!0)},We=(e,...t)=>t[0]?"step-item-id"===t[0]?qe[e]?.aDataSteps[qe[e]?.iStepCurrent]?.id:"element"===t[0]&&t[1]?((e,t)=>{let r=Fe(e,t,qe[e].iStepCurrent),n=0;if(!r)for(;n{if(!t[0])throw new Error("forms/model.setState: missing arguments");return"item-state"===t[0]&&t[1]&&3===t.length?((e,t,r)=>{let n,o,i=qe[e].iStepCurrent;for(n=0;n(qe[e].iStepCurrent=t,qe[e].iStepCurrent))(e,t[1]):void 0},Ge=()=>{const e=document.querySelectorAll(".js--form-steps");!$e&&e.length&&($e=!0,e.forEach(e=>{try{ze(e),(e=>{const t=e.getAttribute("id");let r=0,n=0;if(!qe[t].oElements.elComponent)return!1;for(qe[t].oElements.elComponent.classList.add("use-form-steps"),qe[t].oElements.elForm.setAttribute("novalidate",""),n=qe[t].iSteps;r{Ke(n,"item-state",e,r),((e,t,r)=>{const n=t.closest(".js--form-step--item-package-size");t.closest(".js--form-step--item:not(.novalidate)").setAttribute("data-form-validation-state",r?"ok":"error"),null!==n&&(0!==n.querySelectorAll('[data-form-validation-state="error"]').length?n.setAttribute("data-form-validation-state","error"):n.setAttribute("data-form-validation-state","ok"))})(0,t,r)},Je=(e,t)=>{const r=e.closest(".js--form-step--item").getAttribute("data-form-item-id"),n=We(t,"element",r),o=n.validationType,i=e.classList.contains("js--form--element-radio"),s=(e,n)=>{Array.from(e.closest(".js--form--element-fieldset").querySelectorAll(".js--form--element-radio")).forEach(e=>{if(n)e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedby");else{const t=[...e.parentNode.childNodes].filter(e=>e?.classList?.contains("c-form-step--error-message"))[0]?.id;e.setAttribute("aria-invalid",!0),e.setAttribute("aria-describedby",t)}Xe(r,e,n,t)})},a=((e,t,r,n)=>new Promise((o,i)=>{const s=e.classList,a=null!==e.getAttribute("required");if(!Ve[r])return o(!0);if(s.contains("js--form--element-radio")){let t=!1;if(Array.from(e.closest(".js--form--element-fieldset").querySelectorAll(".js--form--element-radio")).forEach(e=>{null!==e.getAttribute("required")&&null===e.getAttribute("disabled")&&(t=!0)}),!t)return o(!0)}else if(null!==e.getAttribute("disabled")||!a&&(0===e.value.length||s.contains("js--form--element-select")||s.contains("js--form--element-checkbox"))&&"true"!==e.getAttribute("data-validation-error"))return o(!0);Ve[r].test({...t,required:a},e,n).then(()=>o(!0),()=>i(new Error("Controller validation failed (_validate).")))}))(e,n,o,t);return i?a.then(()=>{s(e,!0)},()=>{s(e,!1)}):a.then(()=>{e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedby");const n=e.parentNode.querySelector(".js-form--element-file-fake-wrapper");n&&n.removeAttribute("aria-describedby"),Xe(r,e,!0,t)},()=>{let n;const o=e.closest(".js--form-step--item-package-size");n=o?o.querySelector(".c-form-step--error-message")?.getAttribute("id"):[...e.parentNode.childNodes].filter(e=>e?.classList?.contains("c-form-step--error-message"))[0]?.id,e.setAttribute("aria-invalid",!0),e.setAttribute("aria-describedby",n);const i=e.parentNode.querySelector(".js-form--element-file-fake-wrapper");i&&i.setAttribute("aria-describedby",n),Xe(r,e,!1,t)})},Qe=(e,t)=>{if("validateElement"===e.action)if(!t.relatedTarget?.parentElement?.classList?.contains("js--c-form-step--item-package-size-add"))return Je(t.target,e.formId);return!0},Ze=(e,t)=>Qe(t,e),et=e=>{(e=>{if("factory"!==e._constructor)throw new Error("forms/main: use the factory for adding new validators");Ve[e.type]=e})(e)},tt=(e,t)=>new Promise((r,n)=>{const o=We(t).aDataSteps[e],i=[],s={action:"validateElement",formId:t};Array.from(o.aDataItems).forEach(e=>{i.push(Qe(s,{target:e.element})),Promise.all(i).then(()=>{0===o.aIndexError.length?r(!0):n(new Error("Controller validation failed (_validateSteps)."))})})}),rt=(e,t=!0)=>{Me[t?"on":"off"]("focusout",`#${e} [data-form-validation-on="blur"]`,{action:"validateElement",formId:e},Ze),Me[t?"on":"off"]("change",`#${e} [data-form-validation-on="change"]`,{action:"validateElement",formId:e},Ze)},nt={_constructor:"factory",type:"blueprint",test(){throw new Error("not implemented")}},ot=function(e){return et(function(e){return e._constructor=nt._constructor,e}(e)),e},it=function(e){return ot(function(e){if(!e.type||"string"!=typeof e.type)throw new Error('forms/factory-validator: missing property "type"');if(!e.test||"function"!=typeof e.test)throw new Error("forms/factory-validator: no test()");return e}(e))},st={type:"checkbox",test:(e,t)=>new Promise((e,r)=>{t.checked?e(!0):r(new Error("Checkbox validation failed"))})},at={type:"confirmation",test:(e,t,r)=>new Promise((n,o)=>{const i=We(r,"element",e.validatonConfirmation);i?.element.value===t.value?n(!0):o(new Error("Confirmation validation failed."))})},ct={type:"dropdown",test:(e,t)=>new Promise((e,r)=>{t.selectedIndex>0?e(!0):r(new Error("Dropdown validation failed"))})};n(3215),n(7550);const lt=(e,t=0,r=5)=>{const n=e.files.length;return n>=t&&n<=r},ut={type:"file",test:(e,t)=>new Promise((r,n)=>{const o=(e=>{const t=e.getAttribute("accept");return t?t.split(",").map(e=>e.trim().toLowerCase()).filter(e=>e.length>0).map(e=>e.startsWith(".")?e:`.${e.replace(/^\*/u,"")}`):[".jpeg",".jpg",".doc",".docx",".png",".gif",".pdf",".xls",".xlsx",".ppt",".pptx",".zip"]})(t),i=t.id,s=i?`${i}-error-message`:null;let a=s?document.getElementById(s):null;if(!a){const e=t.closest(".js--form-step--item");e&&(a=e.querySelector(".c-form-step--error-message"))}const c=a.getAttribute("data-unsupported-file-format-message"),l=a.getAttribute("data-file-size-exceeded-message")||"Fileupload validation failed (size or number).",u=a.getAttribute("data-constraint-message");if(t.files.length>0){if(!((e,t)=>Array.from(e.files).every(e=>{const r=e.name.toLowerCase();return t.some(e=>r.endsWith(e))}))(t,o)){const e=`${c} ${o.join(", ")}`;return a&&(a.textContent=""),t.value="",t.setAttribute("data-validation-error","true"),t.setAttribute("data-validation-error-message",e),setTimeout(()=>{a&&(a.textContent=e)},100),n(new Error(e))}if(((e,t=10485760)=>{let r=0;return Array.from(e.files).forEach(e=>{r+=e.size}),r<=t})(t)&&(e.required&<(t,1)||!e.required&<(t)))return a&&(a.textContent=""),t.removeAttribute("data-validation-error"),t.removeAttribute("data-validation-error-message"),r(!0);const i=l;return a&&(a.textContent=i),t.setAttribute("data-validation-error","true"),t.setAttribute("data-validation-error-message",i),n(new Error(i))}const d=t.getAttribute("data-validation-error-message");if(d)return a&&(a.textContent=d),n(new Error(d));if(a&&a.textContent.startsWith(c)&&(a.textContent=""),e.required){const e=u||"Please upload your files.";return a&&(a.textContent=e),t.setAttribute("data-validation-error","true"),t.setAttribute("data-validation-error-message",e),n(new Error(e))}return a&&a.textContent&&(a.textContent=""),t.removeAttribute("data-validation-error"),t.removeAttribute("data-validation-error-message"),r(!0)})},dt={type:"radio",test:(e,t)=>new Promise((e,r)=>{let n=!1;Array.from(t.closest(".js--form--element-fieldset").querySelectorAll(".js--form--element-radio")).forEach(e=>{e.checked&&(n=!0)}),n?e(!0):r(new Error("Radio button validation failed."))})},ft={type:"regex",test:(e,t)=>new Promise((r,n)=>{e.validationRule="regex"===t.getAttribute("data-form-validation-type")?new RegExp(t.getAttribute("data-form-validation-rule")):t.getAttribute("data-form-validation-rule"),e.validationRule.test(t.value)?r(!0):n(new Error("Regexp validation failed."))})},mt="data-form-dependant-elementid",ht="data-form-value-state",pt="data-form-item-id",yt="unset",vt=".dependant-of-",gt="dependant-hidden",bt="item-input-";let Et=!1;const wt=e=>{const t=`input-${e.getAttribute(pt).split(bt)[1]}`;return document.querySelector(`#${t}`)},St=(e,t)=>((e,t)=>{const r=t.target;let n,o,i,s,a,c,l,u,d,f,m=-1;switch(e){case"dropdownDependancy":n=r.options[r.selectedIndex].getAttribute(mt),a=document.querySelectorAll(`${vt}${r.id}`),Array.from(a).forEach(e=>{e.classList.add(gt),l=wt(e),l.value="",e.setAttribute(ht,yt),c=e.getAttribute(pt),n&&(m=c.indexOf(n),m>=0&&e.classList.remove(gt))});break;case"radioButtonDependancy":o=r.getAttribute("data-form-dependant-label"),i=r.getAttribute("data-form-dependant-validation-regex"),s=r.getAttribute("data-form-dependant-error-message"),n=r.getAttribute(mt),f=r.name,a=document.querySelectorAll(`${vt}${f}`),Array.from(a).forEach(e=>{l=wt(e),u=document.getElementById(`dependant-error-msg-for-${f}`),l.value="",e.setAttribute(ht,yt),l.setAttribute("data-form-validation-rule",i),l.setAttribute("pattern",i),u.innerHTML=s,d=document.querySelector(`label[for=${l.id}]`),d.innerHTML=o})}})(t.action,e,t.formId),At=(e,t=!0)=>{Me[t?"on":"off"]("change",".js--form--element-select",{action:"dropdownDependancy",formId:e},St),Me[t?"on":"off"]("change",".js--form--element-radio",{action:"radioButtonDependancy",formId:e},St)};var Tt=n(7921),Lt=n(4396),xt=n(1962);let Ot,_t=!1,Ct=!1;const It=".js--form-step-submit",kt=".js--form-step--pagination-item-button",Rt=".js--form-step--pagination-item",jt="data-form-value-state",Dt=(e,t,r,n,o)=>{t.elSteps[o].classList.remove("is-active"),t.elSteps[n].classList.add("is-active"),Ke(e,"step-index",n),Ft(r.target)},Pt=e=>{e.parentNode.setAttribute("disabled","true"),e.parentNode.classList.add("is-disabled"),e.setAttribute("disabled","true"),e.classList.add("is-disabled")},Nt=e=>{e.removeAttribute("disabled"),e.classList.remove("is-disabled")},Mt=(e,t,r)=>{(0,Tt.O)(e,r),(0,Tt.u)(t)},qt=(e,t)=>{e.length>0&&Array.from(e).forEach((r,n)=>{if(n<=t&&0!==t){const r=e[t-1].querySelector(kt),o=e[t].querySelector(kt);e[t].classList.remove("is-inactive"),e[t].classList.remove("is-validated"),e[t-1].classList.add("is-validated"),n===t?(o.setAttribute("disabled",!0),e[t].classList.add("is-current")):(r.removeAttribute("disabled"),e[t-1].classList.remove("is-current"))}else if(0===t){const n=r.querySelector(kt);r.classList.add("is-inactive"),r.classList.remove("is-validated"),e[t].classList.remove("is-inactive"),r.removeAttribute("tabIndex"),n.setAttribute("disabled",!0)}else{const e=r.querySelector(kt);r.classList.remove("is-validated"),r.classList.add("is-inactive"),r.removeAttribute("tabIndex"),e.setAttribute("disabled",!0)}})},$t=e=>null!==e.offsetParent,Ut=function(e){if(null!==e.closest(".c-form-step--pagination"))return null!==e.closest(Rt)||e.classList.contains(Rt)},Bt=(e,t)=>{const n=t.formId,o=We(n,"step-index"),i=We(n).oElements,s=document.createEvent("HTMLEvents");let a=e.target;if("keypress"===e.type&&("TEXTAREA"===a.tagName||Ut(a)||e.key!==r.K7.ENTER||((e=>{if(null!==e.closest(".c-form-step--form-wrapper"))return null!==Array.from(e.closest(".c-form-step--form-wrapper").querySelectorAll(".js--form-step--section")).filter($t)[0].querySelector(".js--form-step-submit")})(a)||e.preventDefault(),s.initEvent("mousedown",!0,!1),null!==a.closest(".js--form-step--section")&&a.closest(".js--form-step--section").querySelector(".js--form-step-goto").dispatchEvent(s)),!Ut(a)))return!0;a=a.closest(".js--form-step-goto");const c=parseInt(a?.getAttribute("data-form-step"),10);if("next-key"===t.action){if(![r.K7.ENTER,r.K7.SPACE].includes(e.key))return!0;e.key===r.K7.SPACE&&e.preventDefault()}return{goto:Ht.bind(null,a,c,o,i,e,n),next:Wt.bind(null,a,c,o,i,e,n),"next-key":Wt.bind(null,a,c,o,i,e,n),submit:Kt.bind(null,a,o,e,n),reset:Gt.bind(null,e.target,n)}[t.action](),!0},Ft=e=>{const t=e.closest("form"),n=t.closest(`${Lt.Gf.MODAL}`),o=[...t.querySelectorAll('[data-form-validation-state="error"] input, [data-form-validation-state="error"] select, [data-form-validation-state="error"] textarea'),...t.querySelectorAll('[data-form-validation-state="error"] .js--form--element-file')].filter(e=>!e.validity.valid||"true"===e.getAttribute("data-validation-error"));n?t.scrollIntoView({block:"center",behavior:(0,r.SA)()?"auto":"smooth"}):o[0]?o[0].scrollIntoView({block:"center",behavior:(0,r.SA)()?"auto":"smooth"}):(e=>{if(e){const t=window.scrollY||document.documentElement._scrollTop||window.pageYOffset,n=e.hasAttribute("href")&&e.getAttribute("href").includes("#")?document.getElementById(e.getAttribute("href").slice(e.getAttribute("href").indexOf("#")+1,e.getAttribute("href").length)):e;Se=Te(n),window.scrollTo({left:0,top:Ee?t+Ae:Se,behavior:(0,r.SA)()?"auto":"smooth"})}})(t),o[0]?.focus()},zt=e=>{const t=e.target,r=t.value,n=t.parentNode;"string"==typeof r&&r.length>0?n.setAttribute(jt,"set"):n.setAttribute(jt,"unset")},Ht=(e,t,r,n,o,i)=>{if(e?.classList.contains("is-inactive")||e?.getAttribute("disabled"))return!1;qt(n.elPaginationItems,t),Dt(i,n,o,t,r),Mt("Form Step","Form Next Step",`Step ${t+1}`)},Wt=(e,t,r,n,o,i)=>{if(e?.classList.contains("js--form-step-submit"))return!1;o.preventDefault(),tt(r,i).then(()=>{qt(n.elPaginationItems,t),Dt(i,n,o,t,r)}).then(()=>{Mt("Form Step","Form Next Step",`Step ${t+1}`)}).catch(()=>{Ft(e)})},Kt=(e,t,r,n)=>{r.preventDefault(),Mt("Form Name","Form Submit",Ot),_t?Pt(e):tt(t,n).then(()=>{_t=!0,Pt(e),(0,xt.$U)(document.querySelector(`#${n} .js--form-steps--form-element`))}).catch(()=>{Ft(e)})},Gt=(e,t)=>{const r=e.querySelectorAll("[data-form-validation-state]");r?.forEach(e=>{e.setAttribute("data-form-value-state","unset"),e.setAttribute("data-form-validation-state","neutral")}),_t=!1,Nt(document.querySelector(`#${t} ${It}`))},Vt=(e,t=!0)=>{Me[t?"on":"off"]("mousedown",`#${e} [data-form-validation-on="next"]`,{action:"next",formId:e},Bt),Me[t?"on":"off"]("keypress",`#${e} ${kt}`,{action:"goto",formId:e},Bt),Me[t?"on":"off"]("mousedown",`#${e} ${kt}`,{action:"goto",formId:e},Bt),Me[t?"on":"off"]("mousedown",`#${e} [data-form-validation-on="submit"]`,{action:"submit",formId:e},e=>e.preventDefault()),Me[t?"on":"off"]("click",`#${e} [data-form-validation-on="submit"]`,{action:"submit",formId:e},Bt),Me[t?"on":"off"]("keypress",`#${e} .c-form-step--form form`,{action:"submit",formId:e},Bt),Me[t?"on":"off"]("keydown",`#${e} [data-form-validation-on="next"]`,{action:"next-key",formId:e},Bt),Me[t?"on":"off"]("reset",`#${e} .c-form-step--form form`,{action:"reset",formId:e},Bt),Me[t?"on":"off"]("change",`#${e} .js--form--element-input`,{},zt),Me[t?"on":"off"]("change",`#${e} .js--form--element-textarea`,{},zt)};let Yt=!1;const Xt=".js--form-step--item.c-form-step--item-file",Jt=".js--form--element-file",Qt=".js--form--element-file-fake-text",Zt=e=>{const t=e.target,r=t.parentNode.querySelector(Qt);if(r){const e=Array.from(t.files).map(e=>e.name).join(", ");e?(r.textContent=e,r.classList.add("has-value")):(r.textContent=r.getAttribute("data-placeholder")||"",r.classList.remove("has-value"))}},er=e=>{const t="keydown"===e.type,n=e.key===r.K7.ENTER||e.key===r.K7.SPACE||e.key===r.K7.SPACEBAR;if(t&&!n)return;const o=e.target.closest(Xt);if(!o)return;const i=o.querySelector(Jt);if(!i||i.disabled)return;const s="click"===e.type,a=i.contains(e.target)||i===e.target;s&&a||(t&&e.preventDefault(),e.stopPropagation(),i.click())},tr=(e=!0)=>{Me[e?"on":"off"]("change",Jt,{},Zt),document.querySelectorAll(Xt).forEach(t=>{t[e?"addEventListener":"removeEventListener"]("click",er),t[e?"addEventListener":"removeEventListener"]("keydown",er,!0)})},rr=()=>{Yt||(Yt=!0,tr(),document.querySelectorAll(Qt).forEach(e=>{const t=e.getAttribute("data-placeholder");t&&!e.textContent.trim()&&(e.textContent=t,e.classList.remove("has-value"))}))};n(3110);const nr="data-form-value-state";let or={},ir=!1;const sr=(e,t)=>{const r=e.querySelectorAll("[name]");let n,o,i;return e.setAttribute("data-package-size-id",t),e.querySelector(".c-form-step--error-message")?.setAttribute("id",`package-size-form-${t}-error-message`),Array.from(r).forEach((e,r)=>{n=e.getAttribute("name"),o=e.closest(".js--form-step--item"),i=o.querySelector("label"),e.setAttribute("name",n.replace("--uuid",`--${t}`)),o.setAttribute("data-form-item-id",`${bt}${n.replace("--uuid",`${r}--${t}`)}`),e.classList.contains("js--form--element-radio")?(e.setAttribute("id",n.replace("--uuid",`${r}--${t}`)),i.setAttribute("for",n.replace("--uuid",`${r}--${t}`))):(e.setAttribute("id",n.replace("--uuid",`--${t}`)),i.setAttribute("for",n.replace("--uuid",`--${t}`)))}),e},ar=(e,t)=>{const r=We(e,"step-item-id");He(e),Ke(e,"step-index",r),cr(t,{action:"summary",formId:e})},cr=(e,t)=>{const n=t.formId,o=e.target?e.target.closest(".js--form-step--item-package-size-wrapper"):e,i=o?.getAttribute("data-package-size-placeholder"),s=e?.target?.querySelectorAll(".js--form-step--item-package-size-remove > span"),a={},c=o.querySelector(`[name=${i}]`);let l,u,d,f,m,h,p,y="";if(void 0===e.keyCode||e.key===r.K7.ENTER||0===e.keyCode)switch(t.action){case"add":h=sr(or[n][i].template.cloneNode(!0),J()),o.querySelector(".js--form-step--item-package-size-elements").appendChild(h),or[n][i].count++,or[n][i].count>=or[n][i].max&&Array.from(o.querySelectorAll(".js--c-form-step--item-package-size-add")).forEach(e=>{e.style.display="none"}),or[n][i].count>=2&&Array.from(o.querySelectorAll(".js--form-step--item-package-size-remove")).forEach(e=>{e.style.display="block"}),d=h.querySelector(".js--form-element"),d&&(d.focus(),d.value.trim().length>0&&(e=>{const t=e.target,r=t.value,n=t.parentNode;"string"==typeof r&&r.length>0?n.setAttribute(nr,"set"):n.setAttribute(nr,"unset")})({target:d})),ar(n,o);break;case"remove":l=e.target.closest(".js--form-step--item-package-size"),m=l.previousElementSibling,l.parentElement.removeChild(l),or[n][i].count--,or[n][i].count<2&&Array.from(o.querySelectorAll(".js--form-step--item-package-size-remove")).forEach(e=>{e.style.display=""}),or[n][i].count{t{f=e.querySelectorAll("[name]"),p={},Array.from(f).forEach(e=>{(e.classList.contains("js--form--element-radio")&&e.checked||!e.classList.contains("js--form--element-radio"))&&(p[e.getAttribute("name").split("--")[0]]=e.value)}),a[`#${n}`][`#${t}`]=p}),y=JSON.stringify(a),c&&(c.value=y)}},lr=(e,t=!0)=>{Me[t?"on":"off"]("click",`#${e} .js--c-form-step--item-package-size-add span`,{action:"add",formId:e},cr),Me[t?"on":"off"]("click",`#${e} .js--form-step--item-package-size-remove span`,{action:"remove",formId:e},cr),Me[t?"on":"off"]("keyup",`#${e} .js--c-form-step--item-package-size-add span`,{action:"add",formId:e},cr),Me[t?"on":"off"]("keyup",`#${e} .js--form-step--item-package-size-remove span`,{action:"remove",formId:e},cr),Me[t?"on":"off"]("focusout",`#${e} .js--form-step--item-package-size-item`,{action:"summary",formId:e},cr),Me[t?"on":"off"]("input",`#${e} .js--form-step--item-package-size-item`,{action:"summary",formId:e},cr),Me[t?"on":"off"]("reset",`#${e} .js--form-steps--form-element`,{action:"reset",formId:e},cr)},ur=()=>{const e=document.querySelectorAll(".js--form-steps");!ir&&e.length&&(ir=!0,e.forEach(e=>{const t=e.getAttribute("id");t&&(lr(t),(e=>{const t=document.querySelectorAll(`#${e} .js--form-step--item-package-size-wrapper`);let r,n,o,i=0;or[e]={},Array.from(t).forEach(t=>{for(o=t.getAttribute("data-package-size-placeholder"),r=t.querySelectorAll(".js--form-step--item-package-size"),n=t.querySelector(".js--form-step--item-package-size-elements"),or[e][o]={max:Number(t.getAttribute("data-package-size-max-items")),id:o,count:r.length,template:r[0].cloneNode(!0)},i=r.length;i--;)n.removeChild(r[i]),n.appendChild(sr(or[e][o].template.cloneNode(!0),J()))}),He(e)})(t))}))},dr="data-form-value-state",fr=[".js--form--element-input:not([type='checkbox']):not([type='radio'])",".js--form--element-textarea",".js--form--element-select",".js--form--element-file"].join(",");let mr=!1;const hr=e=>{const t=e.target,r=t.value,n=t.parentNode;"string"==typeof r&&r.length>0&&n.classList.contains("js--form-step--item")?n.setAttribute(dr,"set"):n.setAttribute(dr,"unset")},pr=e=>{const t=fr.split(",").map(t=>`#${e} ${t}`).join(",");Array.from(document.querySelectorAll(`${t}`)).forEach(t=>hr({target:t,formId:e}))},yr=(e,t=50)=>{Me.on("click",e,{},e=>{const r=e.target.closest(".js--form-steps");if(!r)return;const n=r.getAttribute("id");n&&setTimeout(()=>{pr(n)},t)})},vr=(e,t=!0)=>{fr.split(",").forEach(r=>{Me[t?"on":"off"]("change",`#${e} ${r}`,{},hr)})},gr=()=>{const e=document.querySelectorAll(".js--form-steps");!mr&&e.length&&(mr=!0,e.forEach(e=>{const t=e.getAttribute("id");vr(t),pr(t)}),yr(".js--value-state-submit"),yr(".js--value-state-clear"))};var br=n(2838),Er=n.n(br);let wr=!1;const Sr={};let Ar;const Tr=(e,t)=>{const r=t.formId,n=We(r,"step-index"),o=We(r).oElements,i=t.action,s=()=>{if("createCurrentStepFormSummary"===i)Lr(n,o,e,r)};if("mouseover"===e.type){if(Ar)return;Ar=setTimeout(()=>{s(),Ar=void 0},500)}else s();return!0},Lr=(e,t,r,n)=>{if(t?.elSteps?.length>e){const r=[];for(let n=0;n<=e;n++){const e=t.elSteps[n].querySelectorAll(".js--form-element");r.push(...e)}r.forEach(e=>{((e,t)=>{const r=document.querySelector(`#${t} .js--form-summary-fields-info`);if(void 0===Sr[t]&&(Sr[t]={}),"checkbox"!==e.type&&"radio"!==e.type||!e.checked)"checkbox"!==e.type&&"radio"!==e.type&&e.value?Sr[t][e.id]=`${e.parentElement.querySelector("label")?.innerText} : ${(0,br.sanitize)(e.value)}`:!(e.id in Sr[t])||""!==e.value&&e.checked||delete Sr[t][e.id];else if("radio"===e.type){const r=document.querySelector(`[name="${e.name}"]`)?.parentNode?.previousElementSibling,n="legend"===r?.tagName.toLowerCase()?r?.innerText:e.closest(".js--form--element-fieldset")?.querySelector("legend")?.innerText;Sr[t][e.name]=n?.length?`${n} : ${e.nextElementSibling.innerText}`:`${e.nextElementSibling.innerText}`}else{const r=e.closest(".js--form--element-fieldset")?.querySelector("legend")?.innerText;Sr[t][e.id]=r?.length?`${r} : `:"",Sr[t][e.id]+=`${e.nextElementSibling.innerText}`}r&&(r.innerHTML=Object.values(Sr[t]).join("
"))})(e,n)})}return!0},xr=(e,t=!0)=>{Me[t?"on":"off"]("mouseover",`#${e} .js--form-step-goto`,{action:"createCurrentStepFormSummary",formId:e},Tr),Me[t?"on":"off"]("focusin",`#${e} .js--form-step-goto`,{action:"createCurrentStepFormSummary",formId:e},Tr),Me[t?"on":"off"]("focusin",`#${e}`,{action:"createCurrentStepFormSummary",formId:e},Tr),Me[t?"on":"off"]("change",`#${e}`,{action:"createCurrentStepFormSummary",formId:e},Tr)},Or=()=>{it(st),it(at),it(ct),it(ut),it(dt),it(ft),Ge(),(()=>{const e=document.querySelectorAll(".js--form-steps");!Et&&e.length&&(Et=!0,e.forEach(e=>{const t=e.getAttribute("id");At(t)}))})(),(()=>{const e=document.querySelectorAll(".js--form-steps");!Ct&&e.length&&(Ct=!0,e.forEach(e=>{const t=e.getAttribute("id");Vt(t);const r=We(t,"step-index"),n=We(t).oElements;try{e.querySelector(".js--form-steps--form form")&&(Ot=e.querySelector(".js--form-steps--form form").getAttribute("name"),e.querySelectorAll(".js--form-steps").length&&Mt("Form Name","Form Start",Ot)),n&&n.elSteps.length&&(Nt(e.querySelector(It)),n.elSteps[r].classList.add("is-active"))}catch(e){}}))})(),(()=>{const e=document.querySelectorAll(".js--form-steps");!Ye&&e.length&&(Ye=!0,e.forEach(e=>{const t=e.getAttribute("id");rt(t)}))})(),rr(),ur(),gr(),(()=>{const e=document.querySelectorAll(".js--form-steps");!wr&&e.length&&(wr=!0,e.forEach(e=>{const t=e.getAttribute("id");xr(t)}))})()},_r=()=>{$e&&(qe={},$e=!1),(()=>{const e=document.querySelectorAll(".js--form-steps");Et&&e.length&&(e.forEach(e=>{const t=e.getAttribute("id");At(t,!1)}),Et=!1)})(),(()=>{const e=document.querySelectorAll(".js--form-steps");Ct&&e.length&&(e.forEach(e=>{const t=e.getAttribute("id");Vt(t,!1)}),Ot=void 0,_t=!1,Ct=!1)})(),(()=>{const e=document.querySelectorAll(".js--form-steps");Ye&&e.length&&(e.forEach(e=>{const t=e.getAttribute("id");rt(t,!1)}),Ve={},Ye=!1)})(),Yt&&(Yt=!1,tr(!1)),(()=>{const e=document.querySelectorAll(".js--form-steps");ir&&e.length&&(e.forEach(e=>{const t=e.getAttribute("id");lr(t,!1)}),or={},ir=!1)})(),(()=>{const e=document.querySelectorAll(".js--form-steps");mr&&e.length&&(e.forEach(e=>{const t=e.getAttribute("id");vr(t,!1)}),mr=!1)})(),(()=>{const e=document.querySelectorAll(".js--form-steps");wr&&e.length&&(e.forEach(e=>{const t=e.getAttribute("id");xr(t,!1)}),wr=!1)})()},Cr="form-loading",Ir="form-injected",kr="form-error";Er().addHook("uponSanitizeAttribute",(e,t)=>{if(t.attrName.match(/^name$/u))return t.forceKeepAttr=!0,t.attrValue});class Rr{constructor(e){this.containerElement=e,this.selectElement=this.containerElement.querySelector(".js--form-switcher--select"),this.placeholderOptionElement=this.selectElement.querySelector("option[disabled]"),setTimeout(()=>{this.placeholderOptionElement.selected=!0},1),this.currentInjectedFormElement=null,this.currentRequest=null,this.selectElement.addEventListener("change",this.onSelectChange.bind(this))}onSelectChange(e){this.updateLayout(Cr),this.fetchForm(e.target.value)}fetchForm(e){this.currentRequest&&this.currentRequest.abort();this.currentRequest=new XMLHttpRequest,this.currentRequest.addEventListener("load",()=>{this.currentRequest.status>=200&&this.currentRequest.status<300?this.parseAndInjectResponse(this.currentRequest.responseText):this.updateLayout(kr)}),this.currentRequest.addEventListener("error",()=>this.updateLayout(kr)),this.currentRequest.addEventListener("loadend",()=>{this.currentRequest=null}),this.currentRequest.open("GET",Er().sanitize(e)),this.currentRequest.send()}parseAndInjectResponse(e){if("string"!=typeof e||0===e.length)return void this.updateLayout(kr);const t=(new DOMParser).parseFromString(Er().sanitize(e),"text/html").querySelector(".js--form-steps");t?(this.updateLayout(Ir),this.containerElement.insertAdjacentElement("afterend",t),this.currentInjectedFormElement=t,Or()):this.updateLayout(kr)}updateLayout(e){this.containerElement.classList.remove(Cr,Ir,kr),this.containerElement.classList.add(e),e!==Ir&&this.currentInjectedFormElement&&(_r(),this.currentInjectedFormElement.parentElement.removeChild(this.currentInjectedFormElement),this.currentInjectedFormElement=null),e===kr&&(this.placeholderOptionElement.selected=!0)}}const jr=()=>{Array.from(document.querySelectorAll(".js--form-switcher")).forEach(e=>new Rr(e))},Dr=()=>{(0,S.sy)("form_switcher",jr)},Pr=e=>Boolean(e.offsetWidth||e.offsetHeight||e.getClientRects().length),Nr=(e,t,r)=>{if(e.classList.contains("is-open")||e.classList.contains("opened")||"true"===e.getAttribute("data-flyout-selected")||e.hasAttribute("open")||t){const t=e.querySelector(".js--close-trap-prefer")||e.querySelector(".js--close-trap")||e.parentElement?.querySelector(":scope > .js--close-flyout");t&&(t.click(),r||setTimeout(()=>{t.focus()},1))}},Mr=(e=null)=>{let t;e?t=[e]:(t=document.querySelectorAll(".js--flyout-keyboardtrap, .js--auto-close-on-tab-out"),document.lastActiveElement||(document.lastActiveElement=document.activeElement,setInterval(()=>{document.lastActiveElement!==document.activeElement&&(document.prevActiveElement=document.lastActiveElement,document.lastActiveElement=document.activeElement)},50))),t.forEach(e=>{const t=e.classList.contains("js--auto-close-on-tab-out");((e,t)=>{e.addEventListener("keydown",n=>{const o=e.classList.contains("is-open")||e.classList.contains("opened")||"true"===e.getAttribute("data-flyout-selected")||e.hasAttribute("open"),i=e.classList.contains("js--auto-close-desktop");if(!o)return;if(e.classList.contains("js--overlay")&&e.querySelector(".c-media-gallery-slider")){if("Tab"===n.key){const t=e.querySelector(".js--overlay-close"),r=e.querySelector(".js--media-gallery-slider-arrow-prev:not(.is-hidden):not([disabled])"),o=e.querySelector(".js--media-gallery-slider-arrow-next:not(.is-hidden):not([disabled])"),i=e.querySelector(".splide__slide.is-active"),s=i?.classList.contains("js-focusable")?i:null,a=i?Array.from(i.querySelectorAll("a:not(.js--media-gallery-grid-link)")).filter(Pr):[],c=[t,r,o,s,...i?Array.from(i.querySelectorAll(".js--video-player, video, iframe")).filter(Pr):[],...a].filter(Boolean);if(c.length>1){const e=c[0],t=c[c.length-1];n.shiftKey&&document.activeElement===e?(n.preventDefault(),t.focus()):n.shiftKey||document.activeElement!==t||(n.preventDefault(),e.focus())}}else"Escape"===n.key&&Nr(e,!0);return}let s=t?e.querySelectorAll('a:not(.js--close-trap), button:not(.js--close-trap), input, textarea, select, [tabindex]:not([tabindex="-1"])'):e.querySelectorAll('a, button, input, textarea, select, [tabindex]:not([tabindex="-1"])');s=Array.from(s).filter(Pr);const a=s[0],c=s[s.length-1];"Tab"===n.key?0===s.length&&t?Nr(e,!1):n.shiftKey&&document.activeElement===a?t?i&&!window.matchMedia(r.HP.DESKTOP).matches||Nr(e,!1):(n.preventDefault(),c.focus()):n.shiftKey||document.activeElement!==c?n.shiftKey&&document.activeElement.classList.contains("js--close-trap")&&window.matchMedia(r.HP.DESKTOP).matches&&Nr(e,!1,!0):t?i&&!window.matchMedia(r.HP.DESKTOP).matches||Nr(e,!1,!0):(n.preventDefault(),a.focus()):"Escape"===n.key&&Nr(e,!0)})})(e,t)})},qr=function(e){return{element:e.target.closest("[data-cookie]")}},$r=function(e){return e.name=e.element.getAttribute("data-cookie")||"invalidcookiename",e},Ur=function(e){return e.value=e.element.getAttribute("data-cookie-value")||!0,e},Br=function(e){return M(e.name,e.value,e.validity,{path:e.path})},Fr=function(e){return!1===/^\w+$/u.test(e)?e.replace(/\W/gu,""):e},zr=function(e,t){let r,n,o=0;switch(e){case"set":{t.target&&t.target.getAttribute("href")&&t.target.getAttribute("href").length&&(t.preventDefault(),n=t.target.getAttribute("href"));const e=function(e){const t=qr(e),r=[],n=$r(t).name.split("|"),o=!0===Ur(t).value||Ur(t).value.split("|"),i=(s=t,s.validity=s.element.getAttribute("data-cookie-validity")||"365",s).validity.split("|");var s;const a=function(e){return e.path=e.element.getAttribute("data-cookie-path")||"",e.path.length&&0!==e.path.indexOf("/")&&(e.path=`/${e.path}`),e}(t).path.split("|");let c={},l=0;for(;l{const t={},r=window.scrollY||window.pageYOffset;let n;if(t.item=e,t.offsetTop=e.getBoundingClientRect().top+r,e.className.indexOf("group-animation-item-")>0&&(n=e.className.substring(e.className.indexOf("group-animation-item-")),t.triggerItems=document.getElementsByClassName(n)),e.className.indexOf("offsety-")>0){let r=e.className.substring(e.className.indexOf("offsety-")+8,e.className.indexOf("offsety-")+12).trim();r=parseInt(r,10),t.offsetTop-=r}Kr.push(t)})}(e)},Vr=function(){return Kr};var Yr=n(3195);const Xr=function(){window.requestAnimationFrame(Jr)},Jr=function(){const e=(window.scrollY||document.documentElement._scrollTop||window.pageYOffset)+window.innerHeight;if(void 0!==Vr()&&0===Vr().length)return window.removeEventListener("scroll",Xr,!1),window.removeEventListener("resize",Qr),!1;var t;Vr()&&(t=Vr().filter(t=>!(t.offsetTop0&&Array.from(t.triggerItems).forEach(e=>{e.classList.remove("c-viewport-animation--active"),setTimeout(()=>{e.classList.remove("c-viewport-animation")},1800)}),t.item.classList.remove("js--viewport-animation"),t.item.classList.remove("c-viewport-animation--active"),setTimeout(()=>{t.item.classList.remove("c-viewport-animation")},1800),1))),Kr=t)},Qr=function(){const e=document.querySelectorAll(".js--viewport-animation");Gr(e),Jr()},Zr=function(){return!(!document.querySelector("html.viewport-animation")||document.querySelector(".is-editmode"))&&((0,Yr.E)()?Qr():window.addEventListener("load",Qr),window.addEventListener("scroll",Xr,!1),window.addEventListener("resize",Qr),!0)},en=[{name:"srcDesktopExtraLarge",mediaQuery:`(min-width: ${r.fi.DESKTOP_EXTRA_LARGE_START})`},{name:"srcDesktopLarge",mediaQuery:`(min-width: ${r.fi.DESKTOP_LARGE_START})`},{name:"srcDesktop",mediaQuery:`(min-width: ${r.fi.DESKTOP_START})`},{name:"srcTablet",mediaQuery:`(min-width: ${r.fi.TABLET_START})`},{name:"srcMobileLarge",mediaQuery:`(min-width: ${r.fi.MOBILE_LARGE_START})`},{name:"srcMobileMedium",mediaQuery:`(min-width: ${r.fi.MOBILE_MEDIUM_START})`},{name:"srcMobile",mediaQuery:""}],tn=()=>{var e;e=!(0,r.SA)(),Array.from(document.querySelectorAll(".js--background-media--video-element")).forEach(t=>{const r=JSON.parse(t.dataset.backgroundVideo||null);if(r)for(let n=0,o=en.length;n{(0,S.sy)("background_media",tn)};var nn=n(8904),on=n.n(nn);const sn="flipped";let an,cn;const ln=e=>{const t=e.target.closest(an.SELECTOR_CARD);e.target===cn&&e.preventDefault(),e.target.closest(an.SELECTOR_TO_BACK)&&t?(e.preventDefault(),t.classList.add(sn)):e.target.closest(an.SELECTOR_TO_FRONT)&&t&&t.classList.remove(sn)},un=5e3,dn=matchMedia(`${r.HP.MOBILE_LARGE}, ${r.HP.TABLET}`),fn=matchMedia(r.HP.DESKTOP),mn=matchMedia(r.HP.MOBILE_SMALL),hn=matchMedia(r.HP.MOBILE_LARGE),pn=matchMedia(r.HP.DESKTOP_SMALL),yn=matchMedia(r.HP.DESKTOP_EXTRA_LARGE),vn=Array.from(document.querySelectorAll(".js--masonry-layout")),gn=Array.from(document.querySelectorAll(".js--masonry-layout--teaser-card--img img")),bn=(e,t)=>`.js--masonry-layout--item:nth-child(${e}n+${t})`,En={SELECTOR_CARD:".js--teaser-flippable",SELECTOR_TO_BACK:".js--teaser-card-front",SELECTOR_TO_FRONT:".js--teaser-card-back-close"};let wn=!1,Sn=!1,An=1;const Tn=()=>{vn.forEach(e=>{let t=0;for(let r=1;r<=An;r++){const n=Array.from(e.querySelectorAll(bn(An,r)));let o=0;n.forEach(e=>{const t=getComputedStyle(e),r=e.getBoundingClientRect();o+=r.height+parseFloat(t.marginTop)+parseFloat(t.marginBottom)}),o=Math.ceil(o),o>t&&(t=o)}e.style.height=t/10+"rem"}),Sn=!0},Ln=()=>{An>1?setTimeout(Tn,200):Sn&&(vn.forEach(e=>e.removeAttribute("style")),Sn=!1)},xn=()=>gn.forEach(e=>(e=>new Promise(t=>{let r;const n=()=>{clearTimeout(r),e.removeEventListener("load",n),e.removeEventListener("error",n),t()};e.complete?t():(r=setTimeout(n,un),e.addEventListener("load",n),e.addEventListener("error",n))}))(e).finally(Ln)),On=()=>{const e=An;An=dn.matches?2:fn.matches?3:1,Ln(),An>1&&1===e?window.addEventListener("resize",Ln):1===An&&window.removeEventListener("resize",Ln)},_n=()=>{!wn&&vn.length&&(wn=!0,vn.forEach(e=>{((e,t={})=>{an=t,cn=e,e.addEventListener("click",ln)})(e,En)}),xn(),Promise.all([new(on())("Delivery",{weight:200}).load(null,un),new(on())("Delivery",{weight:"normal"}).load(null,un),new(on())("Delivery",{weight:"bold"}).load(null,un),new(on())("Delivery",{weight:800}).load(null,un)]).finally(Ln),On(),dn.addListener(On),mn.addListener(xn),hn.addListener(xn),pn.addListener(xn),yn.addListener(xn))},Cn=()=>{(0,S.sy)("masonry_layout",_n)},In=5e3,kn=matchMedia(r.HP.MOBILE),Rn=matchMedia(r.HP.MOBILE_SMALL),jn=matchMedia(r.HP.MOBILE_LARGE),Dn=matchMedia(r.HP.DESKTOP_SMALL),Pn=matchMedia(r.HP.DESKTOP_EXTRA_LARGE),Nn=Array.from(document.querySelectorAll(".c-media-tiles")),Mn=Array.from(document.querySelectorAll(".js--media-tiles--tile-image-element")),qn=".js--media-tiles--tile";let $n=!1,Un=!1,Bn=!1;const Fn=()=>{Array.from(document.querySelectorAll(qn)).forEach(e=>{e.removeAttribute("style")}),Bn=!1},zn=()=>{Un?(Fn(),Nn.forEach(e=>{let t=!1,r=0;Array.from(e.querySelectorAll(qn)).forEach(e=>{let n=0;const o=getComputedStyle(e);n+=parseInt(o.paddingTop,10)+parseInt(o.paddingBottom,10),Array.from(e.children).forEach(e=>{const t=getComputedStyle(e);n+=e.offsetHeight+parseInt(t.marginTop,10)+parseInt(t.marginBottom,10)}),e.previousElementSibling||e.nextElementSibling?t=!0:n/=2,n>r&&(r=n)}),t&&(Array.from(e.querySelectorAll(".js--media-tiles--tile:first-child:last-child")).forEach(e=>{e.style.height=2*r/10+"rem"}),Array.from(e.querySelectorAll(".js--media-tiles--tile:first-child:nth-last-child(2), .js--media-tiles--tile:first-child:nth-last-child(2) ~ .js--media-tiles--tile")).forEach(e=>{e.style.height=r/10+"rem"}))}),Bn=!0):Bn&&Fn()},Hn=()=>Mn.forEach(e=>(e=>new Promise(t=>{let r;const n=()=>{clearTimeout(r),e.removeEventListener("load",n),e.removeEventListener("error",n),t()};e.complete?t():(r=setTimeout(n,In),e.addEventListener("load",n),e.addEventListener("error",n))}))(e).finally(zn)),Wn=e=>{Un=!e.matches,zn(),window[Un?"addEventListener":"removeEventListener"]("resize",zn)},Kn=()=>{!$n&&Nn.length&&($n=!0,Hn(),Promise.all([new(on())("Delivery",{weight:200}).load(null,In),new(on())("Delivery",{weight:"normal"}).load(null,In),new(on())("Delivery",{weight:"bold"}).load(null,In),new(on())("Delivery",{weight:800}).load(null,In)]).finally(zn),Wn(kn),kn.addListener(Wn),Rn.addListener(Hn),jn.addListener(Hn),Dn.addListener(Hn),Pn.addListener(Hn))},Gn=()=>{(0,S.sy)("media_tiles",Kn)},Vn=function(e){let t;if("close"===e)t=event.target.closest(".js--overlay"),t.classList.remove("is-open"),document.body.classList.remove("noscroll")},Yn=function(e,t){return Vn(t.action)},Xn=()=>{(0,Me.on)("click",".js--overlay-close",{action:"close"},Yn)},Jn=()=>{(0,S.sy)("overlay",Xn)},Qn="js--placeholder-container",Zn="js--placeholder-content",eo="js--placeholder-target",to=document.querySelectorAll(`.${Qn}`),ro=[];class no{constructor(e){this.container=e,this.placeholder=e.querySelector(`.${Zn}`),this.target=e.querySelector(`.${eo}`),this.container&&this.placeholder&&this._init()}_isElementVisible(e=this.placeholder){if(!e)return!1;const t=e.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth;return t.bottom>0&&t.right>0&&t.top{e.forEach(e=>{"childList"===e.type&&this._verifyVisibility()})});this.observer.observe(e,{childList:!0,subtree:!0,attributes:!1,characterData:!1})}_init(){try{const e=this._parseConfig();if(this.controlled=e?.controlled??!1,this.controlled||this._setPlaceholderObserver(),e&&e.disabled)return this.disabled=!0,void this.hide();if(e&&e.hideIfNotInViewport&&!this.controlled){if(!this._isElementVisible(this.placeholder))return void this.hide()}const t=e?.maxDuration??2500;t>-1&&!this.controlled&&setTimeout(()=>{this.hide()},t)}catch(e){this.hide()}}_verifyVisibility(){this.controlled||(this.target?this.target.children?.length&&this.hide():this.hide())}show(){this.placeholder&&!this.disabled&&(this.placeholder.style.display="block")}hide(){this.placeholder&&(this.placeholder.style.display="none"),this.destroy()}disable(){this.disabled=!0,this.hide()}matchContainer(e){return this.container===e}destroy(){this.observer&&this.observer.disconnect&&this.observer.disconnect()}}const oo=()=>{to.forEach(e=>{try{const t=new no(e);ro.push(t)}catch(t){const r=e.querySelector(`.${Zn}`);r&&(r.style.display="none")}})};window.dcw=window.dcw||{},window.dcw.Placeholder={getClosestInstance(e){if(!e)return null;const t=e.closest(`.${Qn}`);return t&&ro.find(e=>e.matchContainer(t))||null},getNestedInstance(e){if(!e)return null;const t=e.querySelector(`.${Qn}`);return t&&ro.find(e=>e.matchContainer(t))||null},hideAll(){ro.forEach(e=>{e.hide()})}};const io="placeholder",so=()=>{(0,S.sy)(io,oo)};(0,S.Zk)(()=>{(0,S.sy)(io,oo,!0)});const ao=function(e){"slide"===e.animationType?window.isRtl?e.slider.style.right=`${e.position}px`:e.slider.style.left=`${e.position}px`:(Array.from(e.elements).forEach(e=>{e.classList.remove("is-active"),co(e,!0)}),e.elements[e.current]?.classList.add("is-active"),co(e.elements[e.current],!1))},co=function(e,t){const r=e?.querySelectorAll("a");r.forEach(e=>{e.setAttribute("tabindex",t?"-1":"0")})},lo=function(e){!function(e){const t=e;if(t.length=t.length?t.dotsContainer.style.display="none":t.dotsContainer&&(t.dotsContainer.style.display="flex")}(e)},uo=function(e){!function(e){Array.from(e.elements).length>=e.minlengthToSlide?(e.sliderContainer.style.height=`${e.tileHeight}px`,e.slider.style.width=(e.tileWidth+.5)*e.length+"px",e.dotsContainer&&"slide"===e.animationType&&!e.isCsbSlider&&(e.dotsContainer.style.top=`${e.tileHeight}px`),ao(e)):e.sliderContainer.style.height=`${e.tileHeight}px`}(e)},fo=function(e){!function(e){e.isCsbSlider&&window.dispatchEvent(new CustomEvent("changed.csbDots",{detail:e})),Array.from(e.dots).forEach((t,r)=>{t.classList.remove("is-active"),r===e.current&&t.classList.add("is-active")})}(e)},mo=function(e){!function(e){e.slider.style.width="100%",Array.from(e.elements).forEach(e=>{e.style.width=""}),e.slider.closest(".js--slider-container").style.height="auto"}(e)},ho={};let po=14;const yo=function(e){const t=document.querySelector(".l-view").offsetWidth;let n;if(e.isOneToShow||e.fixedWidth){const r=getComputedStyle(e.sliderContainer);let o=t>1365?e.sliderContainer.clientWidth:t;o-=parseFloat(r.paddingLeft)+parseFloat(r.paddingRight),e.isOneToShow?(n=Math.ceil(o+parseFloat(getComputedStyle(e.elements[0]).marginRight)+parseFloat(getComputedStyle(e.elements[0]).marginLeft)),t<1365&&(n+=window.innerWidth-document.documentElement.clientWidth)):n=Math.ceil(o/e.fixedWidth)}else{const o=t<=1365?t:1250;po=window.matchMedia(r.HP.TABLET_DESKTOP).matches?21:14,n=e.isCsbSlider?e?.elements[0]?.offsetWidth+po:(o-115)/e.tilesOnScreen}const o=Array.from(e.elements);o.length>=e.minlengthToSlide&&o.forEach(t=>{e.fixedWidth&&(t.style.height=`${n}px`),t.style.width=`${n}px`}),e.tileWidth=n},vo=function(e){return e.current=0,"slide"===e.animationType&&(e.position=0,e.isCsbSlider&&yo(e),e.tilesOnScreen=function(e){let t;return e.isCsbSlider?e.isCsbSlider&&(e.isOneToShow?t=1:window.matchMedia(r.HP.DESKTOP_LARGE).matches?(t=4,e.hasIntro&&(t-=1)):t=window.matchMedia(r.HP.TABLET_DESKTOP).matches?Math.floor((document.querySelector(".l-view").offsetWidth-84+po)/e.tileWidth):Math.floor((document.querySelector(".l-view").offsetWidth-42+po)/e.tileWidth)):t=e.fixedWidth?e.fixedWidth:window.matchMedia(r.HP.DESKTOP).matches?3:window.matchMedia(`${r.HP.MOBILE_LARGE}, ${r.HP.TABLET_DESKTOP}`).matches?2:1,t}(e),e.isCsbSlider||yo(e)),function(e){let t=0;Array.from(e.elements).forEach(e=>{t=e.minlengthToSlide){if("fade"===e.animationType?e.dotsToShow=e.length:e.dotsToShow=Math.ceil(e.length/e.tilesOnScreen),e.dotsContainer){for(e.dotsContainer.innerHTML="";r{r=e.getAttribute("data-id"),n=e.getAttribute("data-animation"),o=e.getAttribute("data-is-infinite"),i=e.getAttribute("data-is-csb-slider"),s=e.getAttribute("data-is-fixed-width"),a=e.getAttribute("data-one-slider"),l=e.getAttribute("data-has-intro"),c=e.getAttribute("data-has-loop"),u=e.querySelectorAll(".js--slider-element"),d=e.closest(".js--slider-container"),f=u.length,m={},m.length=f,m.animationType=n,m.isInfinite=o,m.isCsbSlider=i,m.fixedWidth=s,m.isOneToShow=a,m.hasIntro=l,m.hasLoop=c,m.elements=u,m.slider=e,m.sliderContainer=d,m.prev=d.querySelector(".js--slider-prev"),m.next=d.querySelector(".js--slider-next"),m.minlengthToSlide="fade"===m.animationType?2:3,l&&(m.minlengthToSlide=1),m=vo(m),ho[r]=m})}(e)},bo=function(e,t,r){return ho[e][t]=r,!0},Eo=function(e){return ho[e]},wo=function(e){return vo(e)};const So={toVector:(e,t)=>(void 0===e&&(e=t),Array.isArray(e)?e:[e,e]),add:(e,t)=>[e[0]+t[0],e[1]+t[1]],sub:(e,t)=>[e[0]-t[0],e[1]-t[1]],addTo(e,t){e[0]+=t[0],e[1]+=t[1]},subTo(e,t){e[0]-=t[0],e[1]-=t[1]}};function Ao(e,t,r){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*r):e*t*r/(t+r*e)}function To(e,t,r,n=.15){return 0===n?function(e,t,r){return Math.max(t,Math.min(e,r))}(e,t,r):er?+Ao(e-r,r-t,n)+r:e}function Lo(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function xo(e,t,r){return(t=Lo(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Oo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _o(e){for(var t=1;t{var r,n;return t.target===e.currentTarget||(null===(r=e.currentTarget)||void 0===r||null===(n=r.contains)||void 0===n?void 0:n.call(r,t.target))})}(e).map(e=>e.identifier)}function $o(e){const t=Mo(e);return Po(e)?t.identifier:t.pointerId}function Uo(e){const t=Mo(e);return[t.clientX,t.clientY]}function Bo(e,...t){return"function"==typeof e?e(...t):e}function Fo(){}function zo(...e){return 0===e.length?Fo:1===e.length?e[0]:function(){let t;for(const r of e)t=r.apply(this,arguments)||t;return t}}function Ho(e,t){return Object.assign({},t,e||{})}class Wo{constructor(e,t,r){this.ctrl=e,this.args=t,this.key=r,this.state||(this.state={},this.computeValues([0,0]),this.computeInitial(),this.init&&this.init(),this.reset())}get state(){return this.ctrl.state[this.key]}set state(e){this.ctrl.state[this.key]=e}get shared(){return this.ctrl.state.shared}get eventStore(){return this.ctrl.gestureEventStores[this.key]}get timeoutStore(){return this.ctrl.gestureTimeoutStores[this.key]}get config(){return this.ctrl.config[this.key]}get sharedConfig(){return this.ctrl.config.shared}get handler(){return this.ctrl.handlers[this.key]}reset(){const{state:e,shared:t,ingKey:r,args:n}=this;t[r]=e._active=e.active=e._blocked=e._force=!1,e._step=[!1,!1],e.intentional=!1,e._movement=[0,0],e._distance=[0,0],e._direction=[0,0],e._delta=[0,0],e._bounds=[[-1/0,1/0],[-1/0,1/0]],e.args=n,e.axis=void 0,e.memo=void 0,e.elapsedTime=e.timeDelta=0,e.direction=[0,0],e.distance=[0,0],e.overflow=[0,0],e._movementBound=[!1,!1],e.velocity=[0,0],e.movement=[0,0],e.delta=[0,0],e.timeStamp=0}start(e){const t=this.state,r=this.config;t._active||(this.reset(),this.computeInitial(),t._active=!0,t.target=e.target,t.currentTarget=e.currentTarget,t.lastOffset=r.from?Bo(r.from,t):t.offset,t.offset=t.lastOffset,t.startTime=t.timeStamp=e.timeStamp)}computeValues(e){const t=this.state;t._values=e,t.values=this.config.transform(e)}computeInitial(){const e=this.state;e._initial=e._values,e.initial=e.values}compute(e){const{state:t,config:r,shared:n}=this;t.args=this.args;let o=0;if(e&&(t.event=e,r.preventDefault&&e.cancelable&&t.event.preventDefault(),t.type=e.type,n.touches=this.ctrl.pointerIds.size||this.ctrl.touchIds.size,n.locked=!!document.pointerLockElement,Object.assign(n,function(e){const t={};if("buttons"in e&&(t.buttons=e.buttons),"shiftKey"in e){const{shiftKey:r,altKey:n,metaKey:o,ctrlKey:i}=e;Object.assign(t,{shiftKey:r,altKey:n,metaKey:o,ctrlKey:i})}return t}(e)),n.down=n.pressed=n.buttons%2==1||n.touches>0,o=e.timeStamp-t.timeStamp,t.timeStamp=e.timeStamp,t.elapsedTime=t.timeStamp-t.startTime),t._active){const e=t._delta.map(Math.abs);So.addTo(t._distance,e)}this.axisIntent&&this.axisIntent(e);const[i,s]=t._movement,[a,c]=r.threshold,{_step:l,values:u}=t;if(r.hasCustomTransform?(!1===l[0]&&(l[0]=Math.abs(i)>=a&&u[0]),!1===l[1]&&(l[1]=Math.abs(s)>=c&&u[1])):(!1===l[0]&&(l[0]=Math.abs(i)>=a&&Math.sign(i)*a),!1===l[1]&&(l[1]=Math.abs(s)>=c&&Math.sign(s)*c)),t.intentional=!1!==l[0]||!1!==l[1],!t.intentional)return;const d=[0,0];if(r.hasCustomTransform){const[e,t]=u;d[0]=!1!==l[0]?e-l[0]:0,d[1]=!1!==l[1]?t-l[1]:0}else d[0]=!1!==l[0]?i-l[0]:0,d[1]=!1!==l[1]?s-l[1]:0;this.restrictToAxis&&!t._blocked&&this.restrictToAxis(d);const f=t.offset,m=t._active&&!t._blocked||t.active;m&&(t.first=t._active&&!t.active,t.last=!t._active&&t.active,t.active=n[this.ingKey]=t._active,e&&(t.first&&("bounds"in r&&(t._bounds=Bo(r.bounds,t)),this.setup&&this.setup()),t.movement=d,this.computeOffset()));const[h,p]=t.offset,[[y,v],[g,b]]=t._bounds;t.overflow=[hv?1:0,pb?1:0],t._movementBound[0]=!!t.overflow[0]&&(!1===t._movementBound[0]?t._movement[0]:t._movementBound[0]),t._movementBound[1]=!!t.overflow[1]&&(!1===t._movementBound[1]?t._movement[1]:t._movementBound[1]);const E=t._active&&r.rubberband||[0,0];if(t.offset=function(e,[t,r],[n,o]){const[[i,s],[a,c]]=e;return[To(t,i,s,n),To(r,a,c,o)]}(t._bounds,t.offset,E),t.delta=So.sub(t.offset,f),this.computeMovement(),m&&(!t.last||o>32)){t.delta=So.sub(t.offset,f);const e=t.delta.map(Math.abs);So.addTo(t.distance,e),t.direction=t.delta.map(Math.sign),t._direction=t._delta.map(Math.sign),!t.first&&o>0&&(t.velocity=[e[0]/o,e[1]/o],t.timeDelta=o)}}emit(){const e=this.state,t=this.shared,r=this.config;if(e._active||this.clean(),(e._blocked||!e.intentional)&&!e._force&&!r.triggerAllEvents)return;const n=this.handler(_o(_o(_o({},t),e),{},{[this.aliasKey]:e.values}));void 0!==n&&(e.memo=n)}clean(){this.eventStore.clean(),this.timeoutStore.clean()}}class Ko extends Wo{constructor(...e){super(...e),xo(this,"aliasKey","xy")}reset(){super.reset(),this.state.axis=void 0}init(){this.state.offset=[0,0],this.state.lastOffset=[0,0]}computeOffset(){this.state.offset=So.add(this.state.lastOffset,this.state.movement)}computeMovement(){this.state.movement=So.sub(this.state.offset,this.state.lastOffset)}axisIntent(e){const t=this.state,r=this.config;if(!t.axis&&e){const n="object"==typeof r.axisThreshold?r.axisThreshold[No(e)]:r.axisThreshold;t.axis=function([e,t],r){const n=Math.abs(e),o=Math.abs(t);return n>o&&n>r?"x":o>n&&o>r?"y":void 0}(t._movement,n)}t._blocked=(r.lockDirection||!!r.axis)&&!t.axis||!!r.axis&&r.axis!==t.axis}restrictToAxis(e){if(this.config.axis||this.config.lockDirection)switch(this.state.axis){case"x":e[1]=0;break;case"y":e[0]=0}}}const Go=e=>e,Vo={enabled:(e=!0)=>e,eventOptions:(e,t,r)=>_o(_o({},r.shared.eventOptions),e),preventDefault:(e=!1)=>e,triggerAllEvents:(e=!1)=>e,rubberband(e=0){switch(e){case!0:return[.15,.15];case!1:return[0,0];default:return So.toVector(e)}},from:e=>"function"==typeof e?e:null!=e?So.toVector(e):void 0,transform(e,t,r){const n=e||r.shared.transform;return this.hasCustomTransform=!!n,n||Go},threshold:e=>So.toVector(e,0)};const Yo=_o(_o({},Vo),{},{axis(e,t,{axis:r}){if(this.lockDirection="lock"===r,!this.lockDirection)return r},axisThreshold:(e=0)=>e,bounds(e={}){if("function"==typeof e)return t=>Yo.bounds(e(t));if("current"in e)return()=>e.current;if("function"==typeof HTMLElement&&e instanceof HTMLElement)return e;const{left:t=-1/0,right:r=1/0,top:n=-1/0,bottom:o=1/0}=e;return[[t,r],[n,o]]}}),Xo={ArrowRight:(e,t=1)=>[e*t,0],ArrowLeft:(e,t=1)=>[-1*e*t,0],ArrowUp:(e,t=1)=>[0,-1*e*t],ArrowDown:(e,t=1)=>[0,e*t]};const Jo="undefined"!=typeof window&&window.document&&window.document.createElement;function Qo(){return Jo&&"ontouchstart"in window}const Zo={isBrowser:Jo,gesture:function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),touch:Qo(),touchscreen:Qo()||Jo&&window.navigator.maxTouchPoints>1,pointer:Jo&&"onpointerdown"in window,pointerLock:Jo&&"exitPointerLock"in window.document},ei={mouse:0,touch:0,pen:8},ti=_o(_o({},Yo),{},{device(e,t,{pointer:{touch:r=!1,lock:n=!1,mouse:o=!1}={}}){return this.pointerLock=n&&Zo.pointerLock,Zo.touch&&r?"touch":this.pointerLock?"mouse":Zo.pointer&&!o?"pointer":Zo.touch?"touch":"mouse"},preventScrollAxis(e,t,{preventScroll:r}){if(this.preventScrollDelay="number"==typeof r?r:r||void 0===r&&e?250:void 0,Zo.touchscreen&&!1!==r)return e||(void 0!==r?"y":void 0)},pointerCapture(e,t,{pointer:{capture:r=!0,buttons:n=1,keys:o=!0}={}}){return this.pointerButtons=n,this.keys=o,!this.pointerLock&&"pointer"===this.device&&r},threshold(e,t,{filterTaps:r=!1,tapsThreshold:n=3,axis:o}){const i=So.toVector(e,r?n:o?1:0);return this.filterTaps=r,this.tapsThreshold=n,i},swipe({velocity:e=.5,distance:t=50,duration:r=250}={}){return{velocity:this.transform(So.toVector(e)),distance:this.transform(So.toVector(t)),duration:r}},delay(e=0){switch(e){case!0:return 180;case!1:return 0;default:return e}},axisThreshold:e=>e?_o(_o({},ei),e):ei,keyboardDisplacement:(e=10)=>e});_o(_o({},Vo),{},{device(e,t,{shared:r,pointer:{touch:n=!1}={}}){if(r.target&&!Zo.touch&&Zo.gesture)return"gesture";if(Zo.touch&&n)return"touch";if(Zo.touchscreen){if(Zo.pointer)return"pointer";if(Zo.touch)return"touch"}},bounds(e,t,{scaleBounds:r={},angleBounds:n={}}){const o=e=>{const t=Ho(Bo(r,e),{min:-1/0,max:1/0});return[t.min,t.max]},i=e=>{const t=Ho(Bo(n,e),{min:-1/0,max:1/0});return[t.min,t.max]};return"function"!=typeof r&&"function"!=typeof n?[o(),i()]:e=>[o(e),i(e)]},threshold(e,t,r){this.lockDirection="lock"===r.axis;return So.toVector(e,this.lockDirection?[.1,3]:0)},modifierKey:e=>void 0===e?"ctrlKey":e,pinchOnWheel:(e=!0)=>e});_o(_o({},Yo),{},{mouseOnly:(e=!0)=>e});_o(_o({},Yo),{},{mouseOnly:(e=!0)=>e});const ri=new Map,ni=new Map;const oi={key:"drag",engine:class extends Ko{constructor(...e){super(...e),xo(this,"ingKey","dragging")}reset(){super.reset();const e=this.state;e._pointerId=void 0,e._pointerActive=!1,e._keyboardActive=!1,e._preventScroll=!1,e._delayed=!1,e.swipe=[0,0],e.tap=!1,e.canceled=!1,e.cancel=this.cancel.bind(this)}setup(){const e=this.state;if(e._bounds instanceof HTMLElement){const t=e._bounds.getBoundingClientRect(),r=e.currentTarget.getBoundingClientRect(),n={left:t.left-r.left+e.offset[0],right:t.right-r.right+e.offset[0],top:t.top-r.top+e.offset[1],bottom:t.bottom-r.bottom+e.offset[1]};e._bounds=Yo.bounds(n)}}cancel(){const e=this.state;e.canceled||(e.canceled=!0,e._active=!1,setTimeout(()=>{this.compute(),this.emit()},0))}setActive(){this.state._active=this.state._pointerActive||this.state._keyboardActive}clean(){this.pointerClean(),this.state._pointerActive=!1,this.state._keyboardActive=!1,super.clean()}pointerDown(e){const t=this.config,r=this.state;if(null!=e.buttons&&(Array.isArray(t.pointerButtons)?!t.pointerButtons.includes(e.buttons):-1!==t.pointerButtons&&t.pointerButtons!==e.buttons))return;const n=this.ctrl.setEventIds(e);t.pointerCapture&&e.target.setPointerCapture(e.pointerId),n&&n.size>1&&r._pointerActive||(this.start(e),this.setupPointer(e),r._pointerId=$o(e),r._pointerActive=!0,this.computeValues(Uo(e)),this.computeInitial(),t.preventScrollAxis&&"mouse"!==No(e)?(r._active=!1,this.setupScrollPrevention(e)):t.delay>0?(this.setupDelayTrigger(e),t.triggerAllEvents&&(this.compute(e),this.emit())):this.startPointerDrag(e))}startPointerDrag(e){const t=this.state;t._active=!0,t._preventScroll=!0,t._delayed=!1,this.compute(e),this.emit()}pointerMove(e){const t=this.state,r=this.config;if(!t._pointerActive)return;const n=$o(e);if(void 0!==t._pointerId&&n!==t._pointerId)return;const o=Uo(e);return document.pointerLockElement===e.target?t._delta=[e.movementX,e.movementY]:(t._delta=So.sub(o,t._values),this.computeValues(o)),So.addTo(t._movement,t._delta),this.compute(e),t._delayed&&t.intentional?(this.timeoutStore.remove("dragDelay"),t.active=!1,void this.startPointerDrag(e)):r.preventScrollAxis&&!t._preventScroll?t.axis?t.axis===r.preventScrollAxis||"xy"===r.preventScrollAxis?(t._active=!1,void this.clean()):(this.timeoutStore.remove("startPointerDrag"),void this.startPointerDrag(e)):void 0:void this.emit()}pointerUp(e){this.ctrl.setEventIds(e);try{this.config.pointerCapture&&e.target.hasPointerCapture(e.pointerId)&&e.target.releasePointerCapture(e.pointerId)}catch(e){0}const t=this.state,r=this.config;if(!t._active||!t._pointerActive)return;const n=$o(e);if(void 0!==t._pointerId&&n!==t._pointerId)return;this.state._pointerActive=!1,this.setActive(),this.compute(e);const[o,i]=t._distance;if(t.tap=o<=r.tapsThreshold&&i<=r.tapsThreshold,t.tap&&r.filterTaps)t._force=!0;else{const[e,n]=t._delta,[o,i]=t._movement,[s,a]=r.swipe.velocity,[c,l]=r.swipe.distance,u=r.swipe.duration;if(t.elapsedTimes&&Math.abs(o)>c&&(t.swipe[0]=Math.sign(e)),u>a&&Math.abs(i)>l&&(t.swipe[1]=Math.sign(n))}}this.emit()}pointerClick(e){!this.state.tap&&e.detail>0&&(e.preventDefault(),e.stopPropagation())}setupPointer(e){const t=this.config,r=t.device;t.pointerLock&&e.currentTarget.requestPointerLock(),t.pointerCapture||(this.eventStore.add(this.sharedConfig.window,r,"change",this.pointerMove.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"end",this.pointerUp.bind(this)),this.eventStore.add(this.sharedConfig.window,r,"cancel",this.pointerUp.bind(this)))}pointerClean(){this.config.pointerLock&&document.pointerLockElement===this.state.currentTarget&&document.exitPointerLock()}preventScroll(e){this.state._preventScroll&&e.cancelable&&e.preventDefault()}setupScrollPrevention(e){this.state._preventScroll=!1,function(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}(e);const t=this.eventStore.add(this.sharedConfig.window,"touch","change",this.preventScroll.bind(this),{passive:!1});this.eventStore.add(this.sharedConfig.window,"touch","end",t),this.eventStore.add(this.sharedConfig.window,"touch","cancel",t),this.timeoutStore.add("startPointerDrag",this.startPointerDrag.bind(this),this.config.preventScrollDelay,e)}setupDelayTrigger(e){this.state._delayed=!0,this.timeoutStore.add("dragDelay",()=>{this.state._step=[0,0],this.startPointerDrag(e)},this.config.delay)}keyDown(e){const t=Xo[e.key];if(t){const r=this.state,n=e.shiftKey?10:e.altKey?.1:1;this.start(e),r._delta=t(this.config.keyboardDisplacement,n),r._keyboardActive=!0,So.addTo(r._movement,r._delta),this.compute(e),this.emit()}}keyUp(e){e.key in Xo&&(this.state._keyboardActive=!1,this.setActive(),this.compute(e),this.emit())}bind(e){const t=this.config.device;e(t,"start",this.pointerDown.bind(this)),this.config.pointerCapture&&(e(t,"change",this.pointerMove.bind(this)),e(t,"end",this.pointerUp.bind(this)),e(t,"cancel",this.pointerUp.bind(this)),e("lostPointerCapture","",this.pointerUp.bind(this))),this.config.keys&&(e("key","down",this.keyDown.bind(this)),e("key","up",this.keyUp.bind(this))),this.config.filterTaps&&e("click","",this.pointerClick.bind(this),{capture:!0,passive:!1})}},resolver:ti};function ii(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const si={target(e){if(e)return()=>"current"in e?e.current:e},enabled:(e=!0)=>e,window:(e=(Zo.isBrowser?window:void 0))=>e,eventOptions:({passive:e=!0,capture:t=!1}={})=>({passive:e,capture:t}),transform:e=>e},ai=["target","eventOptions","window","enabled","transform"];function ci(e={},t){const r={};for(const[n,o]of Object.entries(t))switch(typeof o){case"function":r[n]=o.call(r,e[n],n,e);break;case"object":r[n]=ci(e[n],o);break;case"boolean":o&&(r[n]=e[n])}return r}class li{constructor(e,t){xo(this,"_listeners",new Set),this._ctrl=e,this._gestureKey=t}add(e,t,r,n,o){const i=this._listeners,s=function(e,t=""){const r=Co[e];return e+(r&&r[t]||t)}(t,r),a=_o(_o({},this._gestureKey?this._ctrl.config[this._gestureKey].eventOptions:{}),o);e.addEventListener(s,n,a);const c=()=>{e.removeEventListener(s,n,a),i.delete(c)};return i.add(c),c}clean(){this._listeners.forEach(e=>e()),this._listeners.clear()}}class ui{constructor(){xo(this,"_timeouts",new Map)}add(e,t,r=140,...n){this.remove(e),this._timeouts.set(e,window.setTimeout(t,r,...n))}remove(e){const t=this._timeouts.get(e);t&&window.clearTimeout(t)}clean(){this._timeouts.forEach(e=>{window.clearTimeout(e)}),this._timeouts.clear()}}class di{constructor(e){xo(this,"gestures",new Set),xo(this,"_targetEventStore",new li(this)),xo(this,"gestureEventStores",{}),xo(this,"gestureTimeoutStores",{}),xo(this,"handlers",{}),xo(this,"config",{}),xo(this,"pointerIds",new Set),xo(this,"touchIds",new Set),xo(this,"state",{shared:{shiftKey:!1,metaKey:!1,ctrlKey:!1,altKey:!1}}),function(e,t){t.drag&&fi(e,"drag");t.wheel&&fi(e,"wheel");t.scroll&&fi(e,"scroll");t.move&&fi(e,"move");t.pinch&&fi(e,"pinch");t.hover&&fi(e,"hover")}(this,e)}setEventIds(e){return Po(e)?(this.touchIds=new Set(qo(e)),this.touchIds):"pointerId"in e?("pointerup"===e.type||"pointercancel"===e.type?this.pointerIds.delete(e.pointerId):"pointerdown"===e.type&&this.pointerIds.add(e.pointerId),this.pointerIds):void 0}applyHandlers(e,t){this.handlers=e,this.nativeHandlers=t}applyConfig(e,t){this.config=function(e,t,r={}){const n=e,{target:o,eventOptions:i,window:s,enabled:a,transform:c}=n,l=ii(n,ai);if(r.shared=ci({target:o,eventOptions:i,window:s,enabled:a,transform:c},si),t){const e=ni.get(t);r[t]=ci(_o({shared:r.shared},l),e)}else for(const e in l){const t=ni.get(e);t&&(r[e]=ci(_o({shared:r.shared},l[e]),t))}return r}(e,t,this.config)}clean(){this._targetEventStore.clean();for(const e of this.gestures)this.gestureEventStores[e].clean(),this.gestureTimeoutStores[e].clean()}effect(){return this.config.shared.target&&this.bind(),()=>this._targetEventStore.clean()}bind(...e){const t=this.config.shared,r={};let n;if(!t.target||(n=t.target(),n)){if(t.enabled){for(const t of this.gestures){const o=this.config[t],i=mi(r,o.eventOptions,!!n);if(o.enabled){new(ri.get(t))(this,e,t).bind(i)}}const o=mi(r,t.eventOptions,!!n);for(const t in this.nativeHandlers)o(t,"",r=>this.nativeHandlers[t](_o(_o({},this.state.shared),{},{event:r,args:e})),void 0,!0)}for(const e in r)r[e]=zo(...r[e]);if(!n)return r;for(const e in r){const{device:t,capture:o,passive:i}=Do(e);this._targetEventStore.add(n,t,"",r[e],{capture:o,passive:i})}}}}function fi(e,t){e.gestures.add(t),e.gestureEventStores[t]=new li(e,t),e.gestureTimeoutStores[t]=new ui}const mi=(e,t,r)=>(n,o,i,s={},a=!1)=>{var c,l;const u=null!==(c=s.capture)&&void 0!==c?c:t.capture,d=null!==(l=s.passive)&&void 0!==l?l:t.passive;let f=a?n:Ro(n,o,u);r&&d&&(f+="Passive"),e[f]=e[f]||[],e[f].push(i)};function hi(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function pi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function yi(e){for(var t=1;t{Li({target:e.slider},{action:"next"})},7500),r},wi=function(e){let t;e.elements[e.current]&&e.elements[e.current].querySelector(".c-marketing-stage--overline")&&(t=e.elements[e.current].querySelector(".c-marketing-stage--overline").textContent,function(e){(0,Tt.O)("Teaser Image",e),(0,Tt.u)("Teaser Change")}(t))},Si=function(e,t){return Math.min(t.tilesOnScreen*e,t.length-t.tilesOnScreen)},Ai=function(e,t,r){const n=Si(e,r);return Si(t,r)-n},Ti=function(e=!1){let t,n;if(window.innerWidth!==bi||!0===e)for(t in bi=window.innerWidth,n=ho,n)!window.matchMedia(`${r.HP.MOBILE_SMALL}, ${r.HP.MOBILE_MEDIUM}`).matches||"slide"!==n[t].animationType||n[t].isCsbSlider||n[t].fixedWidth?(wo(n[t]),uo(n[t]),Array.from(n[t].elements).length>=n[t].minlengthToSlide&&(fo(n[t]),lo(n[t]))):mo(n[t]);return!0},Li=function(e,t){t=t||{},e.detail&&e.detail.action&&(t.action=e.detail.action);let n=e.target;e.detail&&e.detail.target&&(n=e.detail.target);const o=n.closest(".js--slider-container").querySelector(".js--slider").getAttribute("data-id"),i=Eo(o);if(!i)return;let s,a,c=0,l=0;switch(t.action){case"prev":if(l=-1,"false"===i.isInfinite&&(0===i.current||i.tilesOnScreen===i.length))return;a=Ai(i.current,i.current+-1,i),wi(i);break;case"next":if(l=1,"false"===i.isInfinite&&(i.current===i.dotsToShow-1||i.tilesOnScreen===i.length))return;a=Ai(i.current,i.current+1,i),wi(i);break;case"dot":for(;c<=i.dots.length;c++)i.dots[c]===n&&(s=c);if(s===i.current)return;l=s-i.current,a=Ai(i.current,s,i);break;case"jump":Ti(!0),s=e.detail.position,l=s-i.current,a=Ai(i.current,s,i);break;case"pause":return bo(o,"state","pause"),bo(o,"timer",clearTimeout(i.timer)),!0;case"continue":return bo(o,"state","play"),i.length>=i.minlengthToSlide&&bo(o,"timer",Ei(i,o)),!0}-1!==t.action.indexOf("next")&&"true"===i.hasLoop&&bo(o,"timer",Ei(i,o)),"slide"===i.animationType&&(i.isCsbSlider?bo(o,"position",function(e,t){const n=e.tileWidth*e.length;let o,i=e.position-e.tileWidth*t;const s=e.hasIntro?305:0;return o=window.matchMedia(r.HP.DESKTOP_LARGE).matches?1365-s-168-n:window.matchMedia(r.HP.TABLET_DESKTOP).matches?document.querySelector(".l-view").offsetWidth-84-n:document.querySelector(".l-view").offsetWidth-42-n,i>0&&(i=0),ir?0:n}(l,i.current,i.length-1)),i.isCsbSlider&&i.isOneToShow&&"jump"!==t.action&&window.dispatchEvent(new CustomEvent("video.stop")),ao(i),fo(i),lo(i)},xi=function(e){const t=e.target;Ti(!0),t?.removeEventListener("loadedmetadata",xi)},Oi=function(e){const t=e.getAttribute("data-id"),n=Eo(t);e.style.touchAction="pan-y",window.addEventListener("video.playerAvailable",e=>{if(!e.detail)return;const t=e.detail.element||e.detail;t&&"function"==typeof t.closest&&t.closest(".js--slider-element")&&Ti(!0)}),n.isCsbSlider?n.isCsbSlider&&(lo(n),uo(n)):(e.querySelectorAll(".js--slider-element").length>=n.minlengthToSlide&&window.matchMedia(`${r.HP.MOBILE_LARGE}, ${r.HP.TABLET_DESKTOP}`).matches&&"slide"===n.animationType||"fade"===n.animationType||n.fixedWidth&&e.querySelectorAll(".js--slider-element").length>=n.minlengthToSlide)&&(lo(n),uo(n)),n.length>=n.minlengthToSlide&&"true"===n.hasLoop&&bo(t,"timer",Ei(n,t))},_i=function(e=".js--slider"){const t=document.querySelectorAll(e);for(const e of t)go(e),Oi(e);setTimeout(()=>{window.dispatchEvent(new Event("resize")),Ti(!0)},100),bi=window.innerWidth,function(e){(0,Me.on)("click",".js--slider-prev",{action:"prev"},Li),(0,Me.on)("click",".js--slider-next",{action:"next"},Li),(0,Me.on)("click",".js--slider-dot",{action:"dot"},Li),(0,Me.on)("keypress",".js--slider-dot",{action:"dot"},Li),(0,Me.on)("mouseover",".js--slider-container.has-timer",{action:"pause"},Li),(0,Me.on)("mouseout",".js--slider-container.has-timer",{action:"continue"},Li),window.addEventListener("slider.jumpTo",Li),Array.from(e).forEach(e=>{new gi(e,({swipe:[t],direction:[r],distance:[n],last:o})=>{o&&(0!==t||Math.abs(n)>30)&&(t<0||r<0?function(e){null!==e.target.closest(".js--slider-container")&&e.target.closest(".js--slider-container").querySelector(".js--slider-next").click()}({target:e}):function(e){null!==e.target.closest(".js--slider-container")&&e.target.closest(".js--slider-container").querySelector(".js--slider-prev").click()}({target:e}))},{filterTaps:!0,axis:"x",threshold:5,swipe:{distance:30,velocity:.2},pointer:{touch:!0,mouse:!0}})}),window.addEventListener("resize",Ti);const t=document.querySelector(".js--slider-element video");t?.readyState<1?t.addEventListener("loadedmetadata",xi):xi({target:t})}(t)},Ci=function(){return!(!document.querySelectorAll(".js--slider").length||document.querySelector(".is-editmode"))&&((0,Yr.E)()?_i():window.addEventListener("load",()=>_i()),!0)},Ii=function(e){const t=e.detail;let r=0;t.current>=2&&t.dotsToShow>5&&(r=t.current===t.dotsToShow-1?-1*(t.current-4)*15:t.current===t.dotsToShow-2?-1*(t.current-3)*15:-1*(t.current-2)*15),t.dotsContainer&&(window.isRtl?t.dotsContainer.style.marginRight=`${r}px`:t.dotsContainer.style.marginLeft=`${r}px`),t.dots&&Array.from(t.dots).forEach((e,r)=>{e.classList.remove("is-small"),t.dotsToShow>5&&t.current<3&&r>=4&&e.classList.add("is-small"),t.dotsToShow>5&&t.current>=3&&r<=t.current-2&&t.current<=t.dotsToShow-3&&e.classList.add("is-small"),t.dotsToShow>5&&t.current>=3&&r>=t.current+2&&t.current5&&t.current>=t.dotsToShow-3&&r<=t.dotsToShow-5&&e.classList.add("is-small")})},ki=()=>{window.addEventListener("changed.csbDots",Ii)};var Ri=n(6896);const ji="c-modal",Di=(e,t)=>{(e=>Boolean(e.closest(`.${ji}`)))(t)&&((e,t)=>{const n=t.closest(`.${ji}`);if(!n)return;const o=t.querySelector("iframe");if(o){o.classList.add("js--focus-trap"),o.setAttribute("tabindex","0");const e=document.createElement("div");e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","0"),e.classList.add("js--modal--pre-focus-trap"),e.addEventListener("focus",t=>{t.preventDefault(),document.prevActiveElement===e?e.closest(".js--modal").querySelector(".js--modal--close-icon")?.focus():(document.lastActiveElement=e,e.closest(".js--modal").querySelector("iframe")?.focus())});const t=document.createElement("div");t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","0"),t.classList.add("js--modal--after-focus-trap"),t.addEventListener("focus",()=>{t.closest(".js--modal").querySelector(".js--modal--close-icon")?.focus()}),o.closest(".js--modal").querySelector(".js--modal--close-icon")?.addEventListener("keydown",e=>{e.key===r.K7.TAB&&e.shiftKey&&(e.preventDefault(),o.focus())}),o.parentNode.insertBefore(e,o),o.parentNode.append(t)}n.addEventListener("modal.close",()=>{e.pause()}),n.addEventListener("modal.resize",()=>{window.dispatchEvent(new Event("resize"))})})(e,t)};var Pi=n(7558);class Ni{constructor(e,t){this.container=e,this.observer=t,this.player=null,this.isInitialized=!1,this.initialize()}isInView(){return(0,Ri.TG)(this.container,.5)}async initialize(){if(this.isInitialized)return;const e={videoId:this.container.dataset.videoId,playerId:this.container.dataset.playerId,autoplay:"true"===this.container.dataset.autoplay&&!(0,r.SA)(),container:this.container};this.player=await(0,Ri.ap)(e),this.isInitialized=!0;let t=this.container?.closest(".c-video");if(!t)if(this.container.hasAttribute("data-analytics"))t=this.container;else{t=this.container.closest("[data-analytics]")||this.container}(0,Pi.lb)(this.player,t),Di(this.player,this.container),this.setupEventListeners(),window.dispatchEvent(new CustomEvent("video.playerAvailable",{detail:{player:this.player,container:this.container}}))}setupEventListeners(){this.player&&(this.player.on("play",()=>{this.isInView()||(0,Ri.W5)(this.player)}),window.addEventListener("video.stop",()=>{this.player&&(0,Ri.W5)(this.player)}))}async destroy(){try{this.observer&&this.observer.unobserve(this.container),await(0,Ri.fq)(this.player,this.container),this.player=null,this.isInitialized=!1}catch(e){(0,Ri.ne)(this.container,!1),this.player=null,this.isInitialized=!1}}}class Mi{constructor(){this.players=new Map,this.initObserver=this.createInitObserver(),this.visibilityObserver=this.createVisibilityObserver(),this.scrollHandler=this.handleScroll.bind(this),window.addEventListener("scroll",this.scrollHandler,{passive:!0})}createInitObserver(){return(0,Ri.ok)(e=>{if(!this.players.has(e)){const t=new Ni(e,this.initObserver);this.players.set(e,t),this.visibilityObserver.observe(e)}this.initObserver.unobserve(e)},null,{rootMargin:"50px 0px",threshold:.1})}createVisibilityObserver(){return(0,Ri.ok)(null,e=>{const t=this.players.get(e);t&&t.player&&(0,Ri.W5)(t.player)},{rootMargin:"50px 0px",threshold:.5})}handleScroll(){window.requestAnimationFrame(()=>{this.players.forEach((e,t)=>{e.player&&!(0,Ri.TG)(t,.3)&&(0,Ri.W5)(e.player)})})}initializePlayers(){document.querySelectorAll(".js--video-player").forEach(e=>{e.closest(".js--video-playlist")||this.initObserver.observe(e)})}async destroyAllPlayers(){window.removeEventListener("scroll",this.scrollHandler);const e=[];this.players.forEach((t,r)=>{this.visibilityObserver.unobserve(r),e.push(t.destroy())}),await Promise.all(e),this.players.clear()}}let qi=null;const $i=()=>{qi||(qi=new Mi),(0,Yr.E)()?qi.initializePlayers():window.addEventListener("load",()=>{qi.initializePlayers()})},Ui=()=>{(0,S.sy)("video_player",$i)},Bi="cmp-download__title-link",Fi=()=>{document.querySelectorAll(".cmp-download").forEach(e=>{e.addEventListener("click",t=>{t.target.classList.contains(Bi)||e.querySelector(`.${Bi}`)?.click()}),e.addEventListener("keyup",t=>{t.key!==r.K7.ENTER||t.target.classList.contains(Bi)||e.querySelector(`.${Bi}`)?.click()})})},zi="cmp-accordion__panel",Hi="cmp-accordion__item",Wi=`${zi}--expanded`,Ki=`${zi}--hidden`,Gi=`${Hi}--active`,Vi=`.${zi}`,Yi=`.${Hi}`,Xi=(e,t,r)=>{if(!e||!t)return;("boolean"==typeof r?r:e.classList.contains(Wi))?(e.classList.remove(Ki),e.classList.add(Wi),e.closest(Yi)?.classList.add(Gi),t.setAttribute("aria-expanded","true"),e.setAttribute("aria-hidden","false")):(e.classList.add(Ki),e.classList.remove(Wi),e.closest(Yi)?.classList.remove(Gi),t.setAttribute("aria-expanded","false"),e.setAttribute("aria-hidden","true"))},Ji=(e,t)=>{var r;r=t,e.forEach((e,t)=>{const n=e.querySelector("button");n&&r[t]&&e.addEventListener("click",()=>{const e=r[t].classList.contains(Wi);Xi(r[t],n,!e)})})},Qi=()=>{document.querySelectorAll(".cmp-accordion").forEach(e=>{const t=e.querySelectorAll(Yi),r=e.querySelectorAll(".cmp-accordion__header"),n=e.querySelectorAll(Vi);var o,i;t.forEach(e=>{const t=e.querySelector(Vi),r=e.querySelector("button");t&&r&&Xi(t,r,e.hasAttribute("data-cmp-expanded"))}),e.hasAttribute("data-cmp-single-expansion")?(i=n,(o=r).forEach((e,t)=>{const r=e.querySelector("button");r&&e.addEventListener("click",()=>{i.forEach((e,n)=>{const i=o[n]?.querySelector("button");if(i&&e)if(t===n){const t=e.classList.contains(Wi);Xi(e,r,!t)}else Xi(e,i,!1)})})})):Ji(r,n)})},Zi=()=>{Qi()};n(8872);var es=n(633),ts=n.n(es),rs=n(1424);const ns={CMP_CAROUSEL_CLASS:"cmp-carousel",ARROW_PREVIOUS_CLASS:"cmp-carousel__action--previous",ARROW_NEXT_CLASS:"cmp-carousel__action--next",INDICATOR_CLASS:"cmp-carousel__indicator",INDICATOR_ACTIVE_CLASS:"cmp-carousel__indicator--active",IS_PAUSED_CLASS:"is-paused",SLIDE_ACTIVE_CLASS:"cmp-carousel__item--active",PAUSE_BUTTON_ICON_PAUSE_CLASS:"cmp-carousel__pause-button-icon--pause",PAUSE_BUTTON_ICON_PLAY_CLASS:"cmp-carousel__pause-button-icon--play"},os={CMP_CAROUSEL_SELECTOR:".cmp-carousel",INDICATOR_CONTAINER_SELECTOR:".cmp-carousel__indicators",INDICATOR_SELECTOR:".cmp-carousel__indicator",IS_PAUSED_SELECTOR:".is-paused",SLIDE_ITEM_SELECTOR:".cmp-carousel__item",PAUSE_BUTTON_CONTAINER_SELECTOR:".cmp-carousel__pause-button-container",PAUSE_BUTTON_SELECTOR:".cmp-carousel__pause-button",PAUSE_BUTTON_ICON_SELECTOR:".cmp-carousel__pause-button-icon"},is="left",ss="right",as="ArrowLeft",cs="ArrowUp",ls="ArrowRight",us="ArrowDown",ds=(e,t)=>e===t-1?0:e+1,fs=(e,t)=>{const r=t.querySelector(os.PAUSE_BUTTON_SELECTOR);r&&r.matches(".is-paused")||t.mouseIsOverCarousel||e.start()},ms=(e,t)=>{const r=t.querySelector(os.PAUSE_BUTTON_SELECTOR),n=r?.querySelector(os.PAUSE_BUTTON_ICON_SELECTOR);if(r)if(r.matches(os.IS_PAUSED_SELECTOR)){r.classList.remove(ns.IS_PAUSED_CLASS);const o=r.getAttribute("data-a11y-is-played");r.setAttribute("title",o),n&&(n.classList.remove(ns.PAUSE_BUTTON_ICON_PLAY_CLASS),n.classList.add(ns.PAUSE_BUTTON_ICON_PAUSE_CLASS)),fs(e,t)}else{r.classList.add(ns.IS_PAUSED_CLASS);const t=r.getAttribute("data-a11y-is-paused");r.setAttribute("title",t),n&&(n.classList.remove(ns.PAUSE_BUTTON_ICON_PAUSE_CLASS),n.classList.add(ns.PAUSE_BUTTON_ICON_PLAY_CLASS)),e.pause()}},hs=e=>{const t=[...e.querySelectorAll(os.SLIDE_ITEM_SELECTOR)],n=t.length;if(n<=1)return;let o=0,i=1;const s=(e=>({slideDurationInMs:parseFloat(e.dataset.cmpDelay),shouldPlayAutomatically:void 0!==e.dataset.cmpAutoplay,shouldPauseOnOver:void 0===e.dataset.cmpAutopauseDisabled}))(e),a=e.querySelector(os.INDICATOR_CONTAINER_SELECTOR),c=a?.querySelector(os.INDICATOR_SELECTOR),l=window.matchMedia(r.HP.DESKTOP).matches;l&&(e.mouseIsOverCarousel=!1);const u=((e,t)=>r=>([...e.querySelectorAll(os.INDICATOR_SELECTOR)].reduce((e,r,n)=>[...e,[r,t[n]]],[]).forEach(([e,t],n)=>{const o=window.isRtl?1:-1;t.style.transform=`translateX(calc(${o} * ${r} * 100%))`,t.classList.remove(ns.SLIDE_ACTIVE_CLASS),t.ariaHidden=!0,e.classList.remove(ns.INDICATOR_ACTIVE_CLASS),e.tabIndex=-1,e.ariaSelected=!1,n===r&&(t.classList.add(ns.SLIDE_ACTIVE_CLASS),t.ariaHidden=void 0,e.classList.add(ns.INDICATOR_ACTIVE_CLASS),e.tabIndex=0,e.ariaSelected=!0)}),[r,ds(r,t.length)]))(a,t),d=s.shouldPlayAutomatically?new(ts())(s.slideDurationInMs).action(()=>{[o,i]=u(i)}):{pause:Function.prototype,reset:Function.prototype,start:Function.prototype},f=e=>{[o,i]=u(e===is?((e,t)=>0===e?t-1:e-1)(o,n):ds(o,n))};d.start(),e.addEventListener("click",t=>{if((t.target.matches(os.PAUSE_BUTTON_CONTAINER_SELECTOR)||t.target.matches(os.PAUSE_BUTTON_SELECTOR))&&ms(d,e),(t.target.classList.contains(ns.ARROW_PREVIOUS_CLASS)||t.target.parentNode.classList.contains(ns.ARROW_PREVIOUS_CLASS))&&(f(is),d.reset(),fs(d,e)),(t.target.classList.contains(ns.ARROW_NEXT_CLASS)||t.target.parentNode.classList.contains(ns.ARROW_NEXT_CLASS))&&(f(ss),d.reset(),fs(d,e)),t.target.classList.contains(ns.INDICATOR_CLASS)){const r=[...a.children].reduce((e,r,n)=>r===t.target?n:e,0);[o,i]=u(r),a.children[o].focus(),d.reset(),fs(d,e)}}),e.addEventListener("focusin",e=>{(e.target.classList.contains(ns.ARROW_NEXT_CLASS)||e.target.parentNode.classList.contains(ns.ARROW_NEXT_CLASS)||e.target.classList.contains(ns.ARROW_PREVIOUS_CLASS)||e.target.parentNode.classList.contains(ns.ARROW_PREVIOUS_CLASS))&&((e=>{const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)})(e.target)||e.target.scrollIntoView({behavior:"smooth",block:"center"}))}),c&&(c.tabIndex=0),e.addEventListener("keydown",t=>{switch(t.key){case as:case cs:f(is);break;case ls:case us:f(ss);break;default:return}t.preventDefault(),a.children[o].focus(),d.reset(),fs(d,e)}),e.querySelector(os.PAUSE_BUTTON_SELECTOR)?.addEventListener("keyup",t=>{t.key!==r.K7.ENTER&&t.key!==r.K7.SPACE||ms(d,e)}),e.querySelector(os.PAUSE_BUTTON_SELECTOR)?.addEventListener("keydown",e=>{e.key!==r.K7.ENTER&&e.key!==r.K7.SPACE||e.preventDefault()});new gi(e,({swipe:[t],direction:[r],distance:[n],last:o})=>{if(!o)return;if(0!==t||Math.abs(n)>30){f(t<0||r<0?ss:is),d.reset(),fs(d,e)}},{filterTaps:!0,axis:"x",threshold:5,swipe:{distance:30,velocity:.2},pointer:{touch:!0,mouse:!0}});l&&s.shouldPauseOnOver&&s.shouldPlayAutomatically&&(e.addEventListener("mouseover",()=>{e.mouseIsOverCarousel=!0,d.pause()}),e.addEventListener("mouseout",()=>{e.mouseIsOverCarousel=!1,fs(d,e)})),e.classList.add("js--is-ready")},ps=()=>{(0,rs.A)(document)||[...document.querySelectorAll(os.CMP_CAROUSEL_SELECTOR)].forEach(hs)},ys=".cmp-container--horizontal-arrow",vs=()=>{(()=>{const e=Array.from(document.querySelectorAll(ys)),t=[];e.forEach(e=>{const r=e?.parentNode,n=e?.parentNode?.parentNode;r.classList.add("cmp-container--filter-shadow"),n&&!t.includes(n)&&t.push(n)}),t.forEach(e=>{const t=Array.from(e.querySelectorAll(ys));t[0].classList.add("cmp-container--no-arrow-top"),t[t.length-1].classList.add("cmp-container--no-arrow-bottom")})})()},gs=()=>{document.querySelectorAll(".cmp-list__item-link").forEach(e=>{e.addEventListener("focusin",()=>{e.parentElement.classList.add("focus")}),e.addEventListener("focusout",()=>{e.parentElement.classList.remove("focus")})})},bs=document.querySelector("html").classList;document.querySelector("body").classList.remove("no-js"),window.isRtl="rtl"===document.querySelector("html").getAttribute("dir"),window.isLeftAlignedGrid=Boolean(document.querySelector(".left-aligned-grid")),window.isTabKeyFocus=!1,document.addEventListener("mousedown",()=>{window.isTabKeyFocus=!1,bs.remove("tab-key-focus")}),document.addEventListener("keydown",e=>{e.key!==r.K7.TAB||window.isTabKeyFocus||(window.isTabKeyFocus=!0,bs.add("tab-key-focus"))}),window.initialized||(window.initialized=!0,[rn,d,Fi,Zi,gs,w.Ay,Ce,pe,ye.Ay,ps,vs,Ne,R,Or,Dr,Mr,Cn,Gn,Jn,so,Wr,Ci,ki,N,z,ue,Ui,Zr].forEach(e=>e()),(0,t.A)())})(),o=n.O(o)})();