/*! For license information please see pagenav-bundle.js.LICENSE.txt */ (()=>{var t={5469:t=>{var e;self,e=()=>(()=>{"use strict";var t={d:(e,r)=>{for(var i in r)t.o(r,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:r[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{PageNav:()=>or});var r=function(t,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},r(t,e)};function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function i(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var n=function(){return n=Object.assign||function(t){for(var e,r=1,i=arguments.length;r=0;a--)(n=t[a])&&(s=(o<3?n(s):o>3?n(e,r,s):n(e,r))||s);return o>3&&s&&Object.defineProperty(e,r,s),s}function s(t,e,r){if(r||2===arguments.length)for(var i,n=0,o=e.length;n{if(h)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),i=a.litNonce;void 0!==i&&e.setAttribute("nonce",i),e.textContent=r.cssText,t.appendChild(e)}},d=h?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return(t=>new u("string"==typeof t?t:t+"",void 0,c))(e)})(t):t,{is:f,defineProperty:g,getOwnPropertyDescriptor:m,getOwnPropertyNames:b,getOwnPropertySymbols:v,getPrototypeOf:E}=Object,y=globalThis,_=y.trustedTypes,A=_?_.emptyScript:"",T=y.reactiveElementPolyfillSupport,H=(t,e)=>t,w={toAttribute(t,e){switch(e){case Boolean:t=t?A:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},S=(t,e)=>!f(t,e),P={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S};Symbol.metadata??=Symbol("metadata"),y.litPropertyMetadata??=new WeakMap;class L extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=P){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),i=this.getPropertyDescriptor(t,r,e);void 0!==i&&g(this.prototype,t,i)}}static getPropertyDescriptor(t,e,r){const{get:i,set:n}=m(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const o=i?.call(this);n.call(this,e),this.requestUpdate(t,o,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??P}static _$Ei(){if(this.hasOwnProperty(H("elementProperties")))return;const t=E(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(H("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(H("properties"))){const t=this.properties,e=[...b(t),...v(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift(d(t))}else void 0!==t&&e.push(d(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return p(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){const r=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,r);if(void 0!==i&&!0===r.reflect){const n=(void 0!==r.converter?.toAttribute?r.converter:w).toAttribute(e,r.type);this._$Em=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){const r=this.constructor,i=r._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:w;this._$Em=i,this[i]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??S)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}L.elementStyles=[],L.shadowRootOptions={mode:"open"},L[H("elementProperties")]=new Map,L[H("finalized")]=new Map,T?.({ReactiveElement:L}),(y.reactiveElementVersions??=[]).push("2.0.4");const B=globalThis,C=B.trustedTypes,$=C?C.createPolicy("lit-html",{createHTML:t=>t}):void 0,N="$lit$",I=`lit$${(Math.random()+"").slice(9)}$`,O="?"+I,R=`<${O}>`,U=document,M=()=>U.createComment(""),k=t=>null===t||"object"!=typeof t&&"function"!=typeof t,x=Array.isArray,G="[ \t\n\f\r]",D=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,F=/-->/g,V=/>/g,j=RegExp(`>|${G}(?:([^\\s"'>=/]+)(${G}*=${G}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),z=/'/g,X=/"/g,W=/^(?:script|style|textarea|title)$/i,K=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Y=K(1),Z=(K(2),Symbol.for("lit-noChange")),q=Symbol.for("lit-nothing"),J=new WeakMap,Q=U.createTreeWalker(U,129);function tt(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==$?$.createHTML(e):e}const et=(t,e)=>{const r=t.length-1,i=[];let n,o=2===e?"":"",s=D;for(let e=0;e"===h[0]?(s=n??D,c=-1):void 0===h[1]?c=-2:(c=s.lastIndex-h[2].length,a=h[1],s=void 0===h[3]?j:'"'===h[3]?X:z):s===X||s===z?s=j:s===F||s===V?s=D:(s=j,n=void 0);const u=s===j&&t[e+1].startsWith("/>")?" ":"";o+=s===D?r+R:c>=0?(i.push(a),r.slice(0,c)+N+r.slice(c)+I+u):r+I+(-2===c?e:u)}return[tt(t,o+(t[r]||"")+(2===e?"":"")),i]};class rt{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let n=0,o=0;const s=t.length-1,a=this.parts,[h,c]=et(t,e);if(this.el=rt.createElement(h,r),Q.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=Q.nextNode())&&a.length0){i.textContent=C?C.emptyScript:"";for(let r=0;rx(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==q&&k(this._$AH)?this._$AA.nextSibling.data=t:this.T(U.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=rt.createElement(tt(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new nt(i,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=J.get(t.strings);return void 0===e&&J.set(t.strings,e=new rt(t)),e}k(t){x(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of t)i===e.length?e.push(r=new ot(this.S(M()),this.S(M()),this,this.options)):r=e[i],r._$AI(n),i++;i2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=q}_$AI(t,e=this,r,i){const n=this.strings;let o=!1;if(void 0===n)t=it(this,t,e,0),o=!k(t)||t!==this._$AH&&t!==Z,o&&(this._$AH=t);else{const i=t;let s,a;for(t=n[0],s=0;s{const i=r?.renderBefore??e;let n=i._$litPart$;if(void 0===n){const t=r?.renderBefore??null;i._$litPart$=n=new ot(e.insertBefore(M(),t),t,void 0,r??{})}return n._$AI(t),n})(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return Z}}pt._$litElement$=!0,pt.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:pt});const dt=globalThis.litElementPolyfillSupport;dt?.({LitElement:pt}),(globalThis.litElementVersions??=[]).push("4.0.4");const ft={attribute:!0,type:String,converter:w,reflect:!1,hasChanged:S},gt=(t=ft,e,r)=>{const{kind:i,metadata:n}=r;let o=globalThis.litPropertyMetadata.get(n);if(void 0===o&&globalThis.litPropertyMetadata.set(n,o=new Map),o.set(r.name,t),"accessor"===i){const{name:i}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(i,n,t)},init(e){return void 0!==e&&this.P(i,void 0,t),e}}}if("setter"===i){const{name:i}=r;return function(r){const n=this[i];e.call(this,r),this.requestUpdate(i,n,t)}}throw Error("Unsupported decorator location: "+i)};function mt(t){return(e,r)=>"object"==typeof r?gt(t,e,r):((t,e,r)=>{const i=e.hasOwnProperty(r);return e.constructor.createProperty(r,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}function bt(t){return mt({...t,state:!0,attribute:!1})}class vt{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,r){this._$Ct=t,this._$AM=e,this._$Ci=r}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}class Et extends vt{constructor(t){if(super(t),this.it=q,2!==t.type)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(t){if(t===q||null==t)return this._t=void 0,this.it=t;if(t===Z)return t;if("string"!=typeof t)throw Error(this.constructor.directiveName+"() called with a non-string value");if(t===this.it)return this._t;this.it=t;const e=[t];return e.raw=e,this._t={_$litType$:this.constructor.resultType,strings:e,values:[]}}}Et.directiveName="unsafeHTML",Et.resultType=1;const yt=(t=>(...e)=>({_$litDirective$:t,values:e}))(Et),_t=((t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[i+1]),t[0]);return new u(r,t,c)})` /* Theme color palettes */ .light-theme { --primary-color: white; --contrast-color: black; --partial-contrast-color: lightgray; --accent-color: #0736c3; --accent-compliment-color: #011a64; --ds-action-trigger-color: black; } .dark-theme { --primary-color: #0a0520; --contrast-color: white; --partial-contrast-color: lightgray; --accent-color: #3dcbff; --accent-compliment-color: #c2efff; --ds-action-trigger-color: white; } :host { font-family: 'Segoe UI', SegoeUI, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 600; } nav { position: relative; top: 0; z-index: 100; background-color: var(--background-color); color: var(--text-color); display: flex; flex-direction: row; justify-content: space-between; align-items: center; padding: 0 5%; border-bottom: 1px solid var(--h-sep-color); /* Theme color variables */ --background-color: var(--primary-color); --text-color: var(--contrast-color); --link-color: var(--accent-color); --underline-color: var(--link-color); --button-color: var(--accent-color); --button-hover-color: var(--accent-compliment-color); --button-text-color: var(--primary-color); --button-text-hover-color: var(--primary-color); --h-sep-color: var(--partial-contrast-color); } nav.sticky { position: fixed; width: 100%; } .hidden { display: none !important; } .disabled-link { cursor: not-allowed !important; opacity: 0.4; } h2 { font-size: 1rem; font-weight: inherit; margin: 0; } ul.left-container { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; margin: 0; padding: 0; } ul.left-container > li { flex: 1 0 auto; list-style: none; position: relative; } .nav-item { color: var(--text-color); } .active-underline.active, .active-underline:hover { color: var(--ds-page-nav-active-text-background-color, var(--link-color)); } .active-underline::before { content: ''; display: none; position: absolute; bottom: 0; width: 67.5%; height: 0.25rem; padding: 0 1.125rem; left: 16.5%; border-bottom: 0.25rem solid var(--background-color); background-clip: content-box; box-sizing: border-box; } .active-underline.active::before, .active-underline:hover::before { display: block; border-bottom: 0.25rem solid var( --ds-page-nav-active-underline-background-color, var(--underline-color) ); } ul a, h2, ul button { color: inherit; display: inline-block; padding: 1.125rem; box-sizing: border-box; } ul a, ul a:hover { text-decoration: none; width: 100%; } a:hover { cursor: pointer; } .narrow.active-underline.active::before, .narrow.active-underline:hover::before { padding-left: 0; } .narrow button { padding-left: 0; } .right-container { display: flex; flex-direction: row; align-items: center; font-size: 14px; } .price, .config-button { padding: 0.375rem 1.125rem; margin: 0.75rem 0; } .config-button { color: var(--ds-page-nav-button-text-color, var(--button-text-color)); background-color: var( --ds-page-nav-button-background-color, var(--button-color) ); } .config-button, .config-button:hover { text-decoration: none; border-radius: 8px; } .config-button:hover { color: var(--ds-page-nav-button-text-color, var(--button-text-hover-color)); background-color: var( --ds-page-nav-button-background-color-hover, var(--button-hover-color) ); } .original-price { text-decoration: line-through; font-weight: normal; } .overflow-item button { display: flex; align-items: center; border: none; background-color: inherit; font-size: inherit; font-weight: inherit; color: inherit; font-family: inherit; box-sizing: content-box; text-align: left; } .overflow-item button:hover { cursor: inherit; } .arrow.down-arrow::after { transform: rotate(45deg); } .arrow::after { content: ''; display: block; box-sizing: border-box; width: 0.75em; height: 0.75em; border-bottom: 2px solid; border-right: 2px solid; margin-inline-start: 1.125rem; } .overflow-item:hover { cursor: pointer; } .dropdown-menu { position: absolute; background-color: var(--background-color); top: 100%; padding: 0; left: 0; width: max-content; box-shadow: 1px 1px 5px var(--partial-contrast-color); border: 1px solid var(--partial-contrast-color); overflow-y: scroll; max-height: 82vh; } .dropdown-menu.wide { width: 99%; } .dropdown-menu ul { padding: 0; margin: 0; display: grid; } .dropdown-menu li { list-style: none; border-top: 1px solid var(--h-sep-color); } .active-highlight:hover, .active-highlight.active { background-color: var( --ds-page-nav-active-highlight-background-color, var(--link-color) ); color: var(--ds-page-nav-active-highlight-color, var(--background-color)); } .tab-list-item { outline: none; } @media (max-width: 1083px) { .dropdown-item { padding-left: 1.125rem; } } @media (max-width: 860px) { .actions-slot { display: none; } } `,At=Object.freeze({LOG_LEVEL_INFO:"INFO",LOG_LEVEL_ERROR:"ERROR",LOG_LEVEL_WARN:"WARN"}),Tt=new class{log(t){console.log(`LOG: ${t}`)}info(t){console.info(`${At.LOG_LEVEL_INFO}: ${t}`)}warn(t){console.warn(`${At.LOG_LEVEL_WARN}: ${t}`)}error(t){console.error(`${At.LOG_LEVEL_ERROR}: ${t}`)}};async function Ht(t,e){const[r]=t;if(!r)return null;const i=await async function(t,e){try{const r=await fetch(t,e);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(t){throw Tt.error(`There was an error: ${t}`),t}}(r,e);if(!i)throw new Error("Error parsing store product JSON");return i}function wt(t){if(!t)throw new Error("Product not found");return t.productInfo.title}const St=Symbol();class Pt{get taskComplete(){return this.t||(1===this.status?this.t=new Promise(((t,e)=>{this.i=t,this.o=e})):3===this.status?this.t=Promise.reject(this.h):this.t=Promise.resolve(this.l)),this.t}constructor(t,e,r){this.u=0,this.status=0,(this.p=t).addController(this);const i="object"==typeof e?e:{task:e,args:r};this._=i.task,this.v=i.args,this.j=i.argsEqual??Lt,this.m=i.onComplete,this.g=i.onError,this.autoRun=i.autoRun??!0,"initialValue"in i&&(this.l=i.initialValue,this.status=2,this.k=this.A?.())}hostUpdate(){!0===this.autoRun&&this.O()}hostUpdated(){"afterUpdate"===this.autoRun&&this.O()}A(){if(void 0===this.v)return;const t=this.v();if(!Array.isArray(t))throw Error("The args function must return an array");return t}async O(){const t=this.A(),e=this.k;this.k=t,t===e||void 0===t||void 0!==e&&this.j(e,t)||await this.run(t)}async run(t){let e,r;t??=this.A(),this.k=t,1===this.status?this.T?.abort():(this.t=void 0,this.i=void 0,this.o=void 0),this.status=1,"afterUpdate"===this.autoRun?queueMicrotask((()=>this.p.requestUpdate())):this.p.requestUpdate();const i=++this.u;this.T=new AbortController;let n=!1;try{e=await this._(t,{signal:this.T.signal})}catch(t){n=!0,r=t}if(this.u===i){if(e===St)this.status=0;else{if(!1===n){try{this.m?.(e)}catch{}this.status=2,this.i?.(e)}else{try{this.g?.(r)}catch{}this.status=3,this.o?.(r)}this.l=e,this.h=r}this.p.requestUpdate()}}abort(t){1===this.status&&this.T?.abort(t)}get value(){return this.l}get error(){return this.h}render(t){switch(this.status){case 0:return t.initial?.();case 1:return t.pending?.();case 2:return t.complete?.(this.value);case 3:return t.error?.(this.error);default:throw Error("Unexpected status: "+this.status)}}}const Lt=(t,e)=>t===e||t.length===e.length&&t.every(((t,r)=>!S(t,e[r])));var Bt,Ct,$t,Nt;!function(t){t.Click="click",t.MouseDown="mousedown"}(Bt||(Bt={}));class It extends pt{constructor(){super(...arguments),this.options={}}connectedCallback(){super.connectedCallback(),this.addEventListener(this.options.eventType||Bt.Click,this.handleEvent)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(this.options.eventType||Bt.Click,this.handleEvent)}handleEvent(t){const e=t.composedPath().find((t=>t instanceof HTMLElement&&t.hasAttribute("data-capture-telemetry")));if(e)try{let r;r=e.hasAttribute("data-m")?JSON.parse(e.getAttribute("data-m")||"{}"):Array.from(e.attributes).filter((t=>t.name.startsWith("data-bi"))).reduce(((t,e)=>(t[e.name.slice(8)]=e.value,t)),{}),window?.telemetry?.webAnalyticsPlugin?.capturePageAction?.(null,{behavior:e,actionType:"CL",content:r}),t.stopPropagation()}catch(t){console.error("Error capturing telemetry or dispatching event:",t)}}}function Ot(t){return t.type===$t.literal}function Rt(t){return t.type===$t.argument}function Ut(t){return t.type===$t.number}function Mt(t){return t.type===$t.date}function kt(t){return t.type===$t.time}function xt(t){return t.type===$t.select}function Gt(t){return t.type===$t.plural}function Dt(t){return t.type===$t.pound}function Ft(t){return t.type===$t.tag}function Vt(t){return!(!t||"object"!=typeof t||t.type!==Nt.number)}function jt(t){return!(!t||"object"!=typeof t||t.type!==Nt.dateTime)}o([mt({type:Object})],It.prototype,"options",void 0),function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(Ct||(Ct={})),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}($t||($t={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(Nt||(Nt={}));var zt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Xt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Wt(t){var e={};return t.replace(Xt,(function(t){var r=t.length;switch(t[0]){case"G":e.era=4===r?"long":5===r?"narrow":"short";break;case"y":e.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][r-1];break;case"s":e.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}var Kt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,Yt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Zt=/^(@+)?(\+|#+)?[rs]?$/g,qt=/(\*)(0+)|(#+)(0+)|(0+)/g,Jt=/^(0+)$/;function Qt(t){var e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(Zt,(function(t,r,i){return"string"!=typeof i?(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length):"+"===i?e.minimumSignificantDigits=r.length:"#"===r[0]?e.maximumSignificantDigits=r.length:(e.minimumSignificantDigits=r.length,e.maximumSignificantDigits=r.length+("string"==typeof i?i.length:0)),""})),e}function te(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ee(t){var e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){var r=t.slice(0,2);if("+!"===r?(e.signDisplay="always",t=t.slice(2)):"+?"===r&&(e.signDisplay="exceptZero",t=t.slice(2)),!Jt.test(t))throw new Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}function re(t){return te(t)||{}}function ie(t){for(var e={},r=0,i=t;r1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(qt,(function(t,r,i,n,o,s){if(r)e.minimumIntegerDigits=i.length;else{if(n&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(Jt.test(o.stem))e.minimumIntegerDigits=o.stem.length;else if(Yt.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(Yt,(function(t,r,i,n,o,s){return"*"===i?e.minimumFractionDigits=r.length:n&&"#"===n[0]?e.maximumFractionDigits=n.length:o&&s?(e.minimumFractionDigits=o.length,e.maximumFractionDigits=o.length+s.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""}));var s=o.options[0];"w"===s?e=n(n({},e),{trailingZeroDisplay:"stripIfInteger"}):s&&(e=n(n({},e),Qt(s)))}else if(Zt.test(o.stem))e=n(n({},e),Qt(o.stem));else{var a=te(o.stem);a&&(e=n(n({},e),a));var h=ee(o.stem);h&&(e=n(n({},e),h))}}return e}var ne,oe={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function se(t){var e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,i=t.language;return"root"!==i&&(r=t.maximize().region),(oe[r||""]||oe[i||""]||oe["".concat(i,"-001")]||oe["001"])[0]}var ae=new RegExp("^".concat(zt.source,"*")),he=new RegExp("".concat(zt.source,"*$"));function ce(t,e){return{start:t,end:e}}var le=!!String.prototype.startsWith&&"_a".startsWith("a",1),ue=!!String.fromCodePoint,pe=!!Object.fromEntries,de=!!String.prototype.codePointAt,fe=!!String.prototype.trimStart,ge=!!String.prototype.trimEnd,me=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},be=!0;try{be="a"===(null===(ne=we("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===ne?void 0:ne[0])}catch(V){be=!1}var ve,Ee=le?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},ye=ue?String.fromCodePoint:function(){for(var t=[],e=0;eo;){if((r=t[o++])>1114111)throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},_e=pe?Object.fromEntries:function(t){for(var e={},r=0,i=t;r=r)){var i,n=t.charCodeAt(e);return n<55296||n>56319||e+1===r||(i=t.charCodeAt(e+1))<56320||i>57343?n:i-56320+(n-55296<<10)+65536}},Te=fe?function(t){return t.trimStart()}:function(t){return t.replace(ae,"")},He=ge?function(t){return t.trimEnd()}:function(t){return t.replace(he,"")};function we(t,e){return new RegExp(t,e)}if(be){var Se=we("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");ve=function(t,e){var r;return Se.lastIndex=e,null!==(r=Se.exec(t)[1])&&void 0!==r?r:""}}else ve=function(t,e){for(var r=[];;){var i=Ae(t,e);if(void 0===i||Ce(i)||$e(i))break;r.push(i),e+=i>=65536?2:1}return ye.apply(void 0,r)};var Pe=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var i=[];!this.isEOF();){var n=this.char();if(123===n){if((o=this.parseArgument(t,r)).err)return o;i.push(o.val)}else{if(125===n&&t>0)break;if(35!==n||"plural"!==e&&"selectordinal"!==e){if(60===n&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(Ct.UNMATCHED_CLOSING_TAG,ce(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&Le(this.peek()||0)){if((o=this.parseTag(t,e)).err)return o;i.push(o.val)}else{var o;if((o=this.parseLiteral(t,e)).err)return o;i.push(o.val)}}else{var s=this.clonePosition();this.bump(),i.push({type:$t.pound,location:ce(s,this.clonePosition())})}}}return{val:i,err:null}},t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:$t.literal,value:"<".concat(i,"/>"),location:ce(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(t+1,e,!0);if(n.err)return n;var o=n.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:$t.tag,value:i,children:o,location:ce(r,this.clonePosition())},err:null}:this.error(Ct.INVALID_TAG,ce(s,this.clonePosition())))}return this.error(Ct.UNCLOSED_TAG,ce(r,this.clonePosition()))}return this.error(Ct.INVALID_TAG,ce(r,this.clonePosition()))},t.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Be(this.char());)this.bump();return this.message.slice(t,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(e);if(n)i+=n;else{var o=this.tryParseUnquoted(t,e);if(o)i+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;i+=s}}}var a=ce(r,this.clonePosition());return{val:{type:$t.literal,value:i,location:a},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(Le(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return ye.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&t>0?null:(this.bump(),ye(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE,ce(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(Ct.EMPTY_ARGUMENT,ce(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(Ct.MALFORMED_ARGUMENT,ce(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE,ce(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:$t.argument,value:i,location:ce(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE,ce(r,this.clonePosition())):this.parseArgumentOptions(t,e,i,r);default:return this.error(Ct.MALFORMED_ARGUMENT,ce(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=ve(this.message,e),i=e+r.length;return this.bumpTo(i),{value:r,location:ce(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,h=this.clonePosition();switch(a){case"":return this.error(Ct.EXPECT_ARGUMENT_TYPE,ce(s,h));case"number":case"date":case"time":this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((v=this.parseSimpleArgStyleIfPossible()).err)return v;if(0===(f=He(v.val)).length)return this.error(Ct.EXPECT_ARGUMENT_STYLE,ce(this.clonePosition(),this.clonePosition()));c={style:f,styleLocation:ce(l,this.clonePosition())}}if((E=this.tryParseArgumentClose(i)).err)return E;var u=ce(i,this.clonePosition());if(c&&Ee(null==c?void 0:c.style,"::",0)){var p=Te(c.style.slice(2));if("number"===a)return(v=this.parseNumberSkeletonFromString(p,c.styleLocation)).err?v:{val:{type:$t.number,value:r,location:u,style:v.val},err:null};if(0===p.length)return this.error(Ct.EXPECT_DATE_TIME_SKELETON,u);var d=p;this.locale&&(d=function(t,e){for(var r="",i=0;i>1),h=se(e);for("H"!=h&&"k"!=h||(a=0);a-- >0;)r+="a";for(;s-- >0;)r=h+r}else r+="J"===n?"H":n}return r}(p,this.locale));var f={type:Nt.dateTime,pattern:d,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Wt(d):{}};return{val:{type:"date"===a?$t.date:$t.time,value:r,location:u,style:f},err:null}}return{val:{type:"number"===a?$t.number:"date"===a?$t.date:$t.time,value:r,location:u,style:null!==(o=null==c?void 0:c.style)&&void 0!==o?o:null},err:null};case"plural":case"selectordinal":case"select":var g=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ct.EXPECT_SELECT_ARGUMENT_OPTIONS,ce(g,n({},g)));this.bumpSpace();var m=this.parseIdentifierIfPossible(),b=0;if("select"!==a&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(Ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ce(this.clonePosition(),this.clonePosition()));var v;if(this.bumpSpace(),(v=this.tryParseDecimalInteger(Ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ct.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return v;this.bumpSpace(),m=this.parseIdentifierIfPossible(),b=v.val}var E,y=this.tryParsePluralOrSelectOptions(t,a,e,m);if(y.err)return y;if((E=this.tryParseArgumentClose(i)).err)return E;var _=ce(i,this.clonePosition());return"select"===a?{val:{type:$t.select,value:r,options:_e(y.val),location:_},err:null}:{val:{type:$t.plural,value:r,options:_e(y.val),offset:b,pluralType:"plural"===a?"cardinal":"ordinal",location:_},err:null};default:return this.error(Ct.INVALID_ARGUMENT_TYPE,ce(s,h))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE,ce(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ct.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,ce(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=function(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=t.split(Kt).filter((function(t){return t.length>0})),r=[],i=0,n=e;i=48&&s<=57))break;n=!0,o=10*o+(s-48),this.bump()}var a=ce(i,this.clonePosition());return n?me(o*=r)?{val:o,err:null}:this.error(e,a):this.error(t,a)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=Ae(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(Ee(this.message,t,this.offset())){for(var e=0;e=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ce(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),r=this.message.charCodeAt(e+(t>=65536?2:1));return null!=r?r:null},t}();function Le(t){return t>=97&&t<=122||t>=65&&t<=90}function Be(t){return 45===t||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}function Ce(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function $e(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}function Ne(t){t.forEach((function(t){if(delete t.location,xt(t)||Gt(t))for(var e in t.options)delete t.options[e].location,Ne(t.options[e].value);else Ut(t)&&Vt(t.style)||(Mt(t)||kt(t))&&jt(t.style)?delete t.style.location:Ft(t)&&Ne(t.children)}))}function Ie(t,e){void 0===e&&(e={}),e=n({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new Pe(t,e).parse();if(r.err){var i=SyntaxError(Ct[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return(null==e?void 0:e.captureLocation)||Ne(r.val),r.val}function Oe(t,e){var r=e&&e.cache?e.cache:Fe,i=e&&e.serializer?e.serializer:xe;return(e&&e.strategy?e.strategy:ke)(t,{cache:r,serializer:i})}function Re(t,e,r,i){var n,o=null==(n=i)||"number"==typeof n||"boolean"==typeof n?i:r(i),s=e.get(o);return void 0===s&&(s=t.call(this,i),e.set(o,s)),s}function Ue(t,e,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),o=e.get(n);return void 0===o&&(o=t.apply(this,i),e.set(n,o)),o}function Me(t,e,r,i,n){return r.bind(e,t,i,n)}function ke(t,e){return Me(t,this,1===t.length?Re:Ue,e.cache.create(),e.serializer)}var xe=function(){return JSON.stringify(arguments)};function Ge(){this.cache=Object.create(null)}Ge.prototype.get=function(t){return this.cache[t]},Ge.prototype.set=function(t,e){this.cache[t]=e};var De,Fe={create:function(){return new Ge}},Ve={variadic:function(t,e){return Me(t,this,Ue,e.cache.create(),e.serializer)},monadic:function(t,e){return Me(t,this,Re,e.cache.create(),e.serializer)}};!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(De||(De={}));var je,ze=function(t){function e(e,r,i){var n=t.call(this,e)||this;return n.code=r,n.originalMessage=i,n}return i(e,t),e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),Xe=function(t){function e(e,r,i,n){return t.call(this,'Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),De.INVALID_VALUE,n)||this}return i(e,t),e}(ze),We=function(t){function e(e,r,i){return t.call(this,'Value for "'.concat(e,'" must be of type ').concat(r),De.INVALID_VALUE,i)||this}return i(e,t),e}(ze),Ke=function(t){function e(e,r){return t.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),De.MISSING_VALUE,r)||this}return i(e,t),e}(ze);function Ye(t){return"function"==typeof t}function Ze(t,e,r,i,n,o,s){if(1===t.length&&Ot(t[0]))return[{type:je.literal,value:t[0].value}];for(var a=[],h=0,c=t;h0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=Ie,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}();const Qe=Je;class tr{constructor(){this.lang=er("lang",document?.documentElement?.getAttribute("lang")),this.dir=er("dir",document?.documentElement?.getAttribute("dir")),new MutationObserver((()=>{document.dispatchEvent(new CustomEvent("localeChanged",{detail:{lang:this.lang=er("lang",document.documentElement.lang),dir:this.dir=er("dir",document.documentElement.dir)}}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]})}}function er(t,e){return"lang"===t?e&&e.includes("-")&&e.length>=5?e.toLowerCase():"en-us":"dir"===t?e&&e.match(/^(ltr|rtl)$/i)?e.toLowerCase():"ltr":(console.warn("Invalid validation type!"),"")}const rr=function(){let t;return function(){return t||(t=new tr),t}}(),ir=t=>{class e extends t{constructor(){super(...arguments),this.i18nManager=rr(),this.locChangeHandler=t=>{this.lang=t.detail.lang,this.dir=t.detail.dir,this.requestUpdate()}}connectedCallback(){super.connectedCallback(),this.lang=this.i18nManager?.lang||"en-us",this.dir=this.i18nManager?.dir||"ltr",document.addEventListener("localeChanged",this.locChangeHandler)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("localeChanged",this.locChangeHandler)}msg(t,e){if(!t||!this.lang)return"";let r=this.translations?.[t];const i=this.constructor.dict;return r||(r=i?.[t]||""),this.format(r,e)}format(t,e){return new Qe(t,this.lang).format(e)}}return e.dict={},o([mt({type:Object,reflect:!1})],e.prototype,"translations",void 0),e},nr=(ir(pt),[{minWidth:0,maxVisibleLinks:0},{minWidth:1084,maxVisibleLinks:3,showPrice:!0},{minWidth:1400,maxVisibleLinks:4,showPrice:!0}]);let or=class extends(ir(It)){constructor(){super(...arguments),this.theme="light",this.sections=[],this.overflowLabel="More",this.sizing=nr,this.linearGradient="",this.bgColorCode="",this._isSticky=!1,this._dropdownExpanded=!1,this.productTask=this.connectorUrl?new Pt(this,Ht,(()=>[this.connectorUrl])):void 0,this.handleClickOutside=t=>{this.contains(t.target)||(this._dropdownExpanded=!1)},this._onScroll=t=>{let e;this._isSticky=window.scrollY>this.offsetTop;for(let t=this.sections.length-1;t>=0;t--){const r=this.sections[t];if(this._isActive(r.anchorId)){e=t;break}}void 0!==e?(this._activeLinkIndex=Math.max(e,0),this.sections[this._activeLinkIndex].anchorId&&sr(this.sections[this._activeLinkIndex].anchorId)):void 0!==this._activeLinkIndex&&(this._activeLinkIndex=void 0,sr())},this._onResize=t=>{this.setSizingInfo()}}connectedCallback(){super.connectedCallback(),this.setSizingInfo(),window.addEventListener("scroll",this._onScroll),window.addEventListener("resize",this._onResize),window.addEventListener("click",this.handleClickOutside)}disconnectedCallback(){window.removeEventListener("scroll",this._onScroll),window.removeEventListener("resize",this._onResize),window.removeEventListener("click",this.handleClickOutside),super.disconnectedCallback()}render(){const t=this._currentSizing?.maxVisibleLinks??0,e=0===t,r=this.sections.slice(0,t),i=this.sections.slice(t),n=Y` `;return Y`
`}getDeviceNameElement(){return Y`
  • ${this.getDeviceNameContent()}

  • `}getDropdownLabel(t=!1){return t?this.getDeviceNameContent((()=>this.overflowLabel)):this.overflowLabel}getDeviceNameContent(t){return this.productNameOverrideText?this.productNameOverrideText:this.getFromTask(wt,t)}getPriceContent(){return this.priceOverrideHtml?Y`${yt(this.priceOverrideHtml)}`:this.getFromTask((t=>{const e=function(t,e){if(!t)throw new Error("(Product not found)");return e?t.skuInfo?.[e.toUpperCase()]||t.skuInfo?.[e.toLowerCase()]:t.skuInfo&&Object.keys(t.skuInfo).length>0?Object.values(t.skuInfo).reduce(((t,e)=>t.price.currentValue${r.originalPrice} ${r.currentPrice}`:r.currentPrice;return this.format(r.priceFormat,{0:i})}))}getButtonCTAButton(){return Y`${this.ctaText}`}setSizingInfo(){let t;for(const e of this.sizing)window.innerWidth>=e.minWidth&&(!t||e.minWidth>t.minWidth)&&(t=e);this._currentSizing=t}getFromTask(t,e=(()=>Y``)){return this.productTask?.render({pending:()=>e(),error:t=>(console.log(t),e()),complete:r=>{try{return t(r)}catch(t){return e()}}})??e()}_getSectionElement(t,e){return this._getNavListItem(t,e,"nav-item active-underline")}_getOverflowItem(t,e){return this._getNavListItem(t,e,"dropdown-item active-highlight")}_generateTabbableListItem(){return Y`
  • {"Tab"===t.key&&(this._dropdownExpanded=!1)}} >
  • `}_getNavListItem(t,e,r){const i=this._getScrollToY(t.anchorId);return Y`
  • `}_getScrollToY(t){const e=this.getBoundingClientRect().height;if(t){const r=document.getElementById(t)?.offsetTop;return r?r-e:void 0}}_isActive(t){if(!t)return;const e=document.getElementById(t);if(!e)return;const r=this.getBoundingClientRect().height,i=window.scrollY+r,n=e.offsetTop+e.getBoundingClientRect().height;return e.offsetTop-1<=i&&i(e,r)=>{void 0!==r?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)})("page-nav")],or),e})(),t.exports=e()}},e={};function r(i){var n=e[i];if(void 0!==n)return n.exports;var o=e[i]={exports:{}};return t[i](o,o.exports,r),o.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";r(5469)})()})(); document.addEventListener('DOMContentLoaded', function() { var pageNavElements = document.querySelectorAll('.page-nav-container'); pageNavElements.forEach(function(pageNavElement) { var ctaColor = pageNavElement.getAttribute('data-cta-color'); if (ctaColor != null) { pageNavElement.style.setProperty('--ds-page-nav-button-background-color', ctaColor); pageNavElement.style.setProperty('--ds-page-nav-active-underline-background-color', ctaColor); pageNavElement.style.setProperty('--ds-page-nav-active-text-background-color', ctaColor); pageNavElement.style.setProperty('--ds-page-nav-active-highlight-background-color', ctaColor); pageNavElement.style.setProperty('--ds-page-nav-button-background-color-hover', ctaColor); } var ctaTextColor = pageNavElement.getAttribute('data-cta-text-color'); if (ctaTextColor != null) { pageNavElement.style.setProperty('--ds-page-nav-button-text-color', ctaTextColor); } }); }); document.addEventListener("DOMContentLoaded", function () { var pageNavElements = document.querySelectorAll(".page-nav-container"); pageNavElements.forEach(function (pageNavElement) { var parentElement = pageNavElement.parentNode; if (parentElement != null) { var grandParentElement = parentElement.parentNode; if (grandParentElement != null) { var style = window.getComputedStyle(grandParentElement); if (style.display === "none") { grandParentElement.removeChild(parentElement); } } } }); });