From 6cb26a34b79107fc4fb65668d01e77dd3d80e060 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilyas=20T=C3=BCrkben?= Date: Thu, 23 Jan 2025 10:39:35 +0100 Subject: [PATCH] MWPW-165302: Calculate promo prices with duration (#3492) * MWPW-165302: Calculate promo prices with duration * update jsdoc * fix test * fix recurrence --- libs/deps/mas/commerce.js | 4 +- libs/deps/mas/mas.js | 138 +- libs/deps/mas/merch-card.js | 138 +- libs/features/mas/dist/mas.js | 138 +- libs/features/mas/src/price/index.js | 3 + libs/features/mas/src/price/template.js | 37 +- libs/features/mas/src/price/utilities.js | 143 +- libs/features/mas/test/mocks/snapshots.js | 169 - libs/features/mas/test/price.test.js | 22 +- .../price/__snapshots__/index.snapshot.js | 3419 +++++++++++++++++ .../price/__snapshots__/index.test.js.snap | 1 - .../price/__snapshots__/template.snapshots.js | 385 ++ .../price/__snapshots__/template.test.js.snap | 1 - libs/features/mas/test/price/index.test.js | 38 +- libs/features/mas/test/price/template.test.js | 73 +- .../features/mas/test/price/utilities.test.js | 125 + libs/features/mas/test/utilities.js | 35 +- 17 files changed, 4390 insertions(+), 479 deletions(-) delete mode 100644 libs/features/mas/test/mocks/snapshots.js create mode 100644 libs/features/mas/test/price/__snapshots__/index.snapshot.js delete mode 100644 libs/features/mas/test/price/__snapshots__/index.test.js.snap create mode 100644 libs/features/mas/test/price/__snapshots__/template.snapshots.js delete mode 100644 libs/features/mas/test/price/__snapshots__/template.test.js.snap diff --git a/libs/deps/mas/commerce.js b/libs/deps/mas/commerce.js index e2156741ae..508999b54f 100644 --- a/libs/deps/mas/commerce.js +++ b/libs/deps/mas/commerce.js @@ -1,3 +1,3 @@ -var Qn=Object.create;var Ge=Object.defineProperty;var ei=Object.getOwnPropertyDescriptor;var ti=Object.getOwnPropertyNames;var ri=Object.getPrototypeOf,ni=Object.prototype.hasOwnProperty;var Ir=e=>{throw TypeError(e)};var ii=(e,t,r)=>t in e?Ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ai=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oi=(e,t)=>{for(var r in t)Ge(e,r,{get:t[r],enumerable:!0})},si=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ti(t))!ni.call(e,i)&&i!==r&&Ge(e,i,{get:()=>t[i],enumerable:!(n=ei(t,i))||n.enumerable});return e};var li=(e,t,r)=>(r=e!=null?Qn(ri(e)):{},si(t||!e||!e.__esModule?Ge(r,"default",{value:e,enumerable:!0}):r,e));var L=(e,t,r)=>ii(e,typeof t!="symbol"?t+"":t,r),ci=(e,t,r)=>t.has(e)||Ir("Cannot "+r);var _r=(e,t,r)=>(ci(e,t,"read from private field"),r?r.call(e):t.get(e)),Nr=(e,t,r)=>t.has(e)?Ir("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var Fn=ai((Jl,Ao)=>{Ao.exports={total:38,offset:0,limit:38,data:[{lang:"ar",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0627\u0644\u0634\u0647\u0631} YEAR {/\u0627\u0644\u0639\u0627\u0645} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0643\u0644 \u0634\u0647\u0631} YEAR {\u0643\u0644 \u0639\u0627\u0645} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",freeLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",freeAriaLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0623\u0648 \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643 \u0628\u0642\u064A\u0645\u0629 {alternativePrice}",strikethroughAriaLabel:"\u0628\u0634\u0643\u0644 \u0645\u0646\u062A\u0638\u0645 \u0628\u0642\u064A\u0645\u0629 {strikethroughPrice}"},{lang:"bg",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433\u043E\u0434.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0435\u0441\u0435\u0446} YEAR {\u043D\u0430 \u0433\u043E\u0434\u0438\u043D\u0430} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",freeLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E \u043D\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0434\u043E\u0432\u043D\u043E \u043D\u0430 {strikethroughPrice}"},{lang:"cs",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\u011Bs\xEDc} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za m\u011Bs\xEDc} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenci} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenci} other {}}",freeLabel:"Zdarma",freeAriaLabel:"Zdarma",taxExclusiveLabel:"{taxTerm, select, GST {bez dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {bez DPH} TAX {bez dan\u011B} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {v\u010Detn\u011B dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {v\u010Detn\u011B DPH} TAX {v\u010Detn\u011B dan\u011B} IVA {v\u010Detn\u011B IVA} SST {v\u010Detn\u011B SST} KDV {v\u010Detn\u011B KDV} other {}}",alternativePriceAriaLabel:"P\u0159\xEDpadn\u011B za {alternativePrice}",strikethroughAriaLabel:"Pravideln\u011B za {strikethroughPrice}"},{lang:"da",recurrenceLabel:"{recurrenceTerm, select, MONTH {/md} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pr. m\xE5ned} YEAR {pr. \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. skat} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skat} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"de",recurrenceLabel:"{recurrenceTerm, select, MONTH {/Monat} YEAR {/Jahr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pro Monat} YEAR {pro Jahr} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",freeLabel:"Kostenlos",freeAriaLabel:"Kostenlos",taxExclusiveLabel:"{taxTerm, select, GST {zzgl. GST} VAT {zzgl. MwSt.} TAX {zzgl. Steuern} IVA {zzgl. IVA} SST {zzgl. SST} KDV {zzgl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. MwSt.} TAX {inkl. Steuern} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ: {alternativePrice}",strikethroughAriaLabel:"Regul\xE4r: {strikethroughPrice}"},{lang:"en",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},{lang:"et",recurrenceLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",perUnitLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",freeLabel:"Tasuta",freeAriaLabel:"Tasuta",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Teise v\xF5imalusena hinnaga {alternativePrice}",strikethroughAriaLabel:"Tavahind {strikethroughPrice}"},{lang:"fi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/kk} YEAR {/v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuukausittain} YEAR {vuosittain} other {}}",perUnitLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",freeLabel:"Maksuton",freeAriaLabel:"Maksuton",taxExclusiveLabel:"{taxTerm, select, GST {ilman GST:t\xE4} VAT {ilman ALV:t\xE4} TAX {ilman veroja} IVA {ilman IVA:ta} SST {ilman SST:t\xE4} KDV {ilman KDV:t\xE4} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {sis. GST:n} VAT {sis. ALV:n} TAX {sis. verot} IVA {sis. IVA:n} SST {sis. SST:n} KDV {sis. KDV:n} other {}}",alternativePriceAriaLabel:"Vaihtoehtoisesti hintaan {alternativePrice}",strikethroughAriaLabel:"S\xE4\xE4nn\xF6llisesti hintaan {strikethroughPrice}"},{lang:"fr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mois} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {par mois} YEAR {par an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {par licence} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {par licence} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {hors TPS} VAT {hors TVA} TAX {hors taxes} IVA {hors IVA} SST {hors SST} KDV {hors KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {TPS comprise} VAT {TVA comprise} TAX {taxes comprises} IVA {IVA comprise} SST {SST comprise} KDV {KDV comprise} other {}}",alternativePriceAriaLabel:"Autre prix {alternativePrice}",strikethroughAriaLabel:"Prix habituel {strikethroughPrice}"},{lang:"he",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"},{lang:"hu",recurrenceLabel:"{recurrenceTerm, select, MONTH {/h\xF3} YEAR {/\xE9v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {havonta} YEAR {\xE9vente} other {}}",perUnitLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",freeLabel:"Ingyenes",freeAriaLabel:"Ingyenes",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"M\xE1sik lehet\u0151s\xE9g: {alternativePrice}",strikethroughAriaLabel:"\xC1ltal\xE1ban {strikethroughPrice} \xE1ron"},{lang:"it",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mese} YEAR {/anno} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mese} YEAR {all'anno} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licenza} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licenza} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {escl. GST} VAT {escl. IVA.} TAX {escl. imposte} IVA {escl. IVA} SST {escl. SST} KDV {escl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. IVA} TAX {incl. imposte} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"In alternativa a {alternativePrice}",strikethroughAriaLabel:"Regolarmente a {strikethroughPrice}"},{lang:"ja",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCE\u6708} YEAR {\u6BCE\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",freeLabel:"\u7121\u6599",freeAriaLabel:"\u7121\u6599",taxExclusiveLabel:"{taxTerm, select, GST {GST \u5225} VAT {VAT \u5225} TAX {\u7A0E\u5225} IVA {IVA \u5225} SST {SST \u5225} KDV {KDV \u5225} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u8FBC} VAT {VAT \u8FBC} TAX {\u7A0E\u8FBC} IVA {IVA \u8FBC} SST {SST \u8FBC} KDV {KDV \u8FBC} other {}}",alternativePriceAriaLabel:"\u7279\u5225\u4FA1\u683C : {alternativePrice}",strikethroughAriaLabel:"\u901A\u5E38\u4FA1\u683C : {strikethroughPrice}"},{lang:"ko",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\uC6D4} YEAR {/\uB144} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\uC6D4\uAC04} YEAR {\uC5F0\uAC04} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",freeLabel:"\uBB34\uB8CC",freeAriaLabel:"\uBB34\uB8CC",taxExclusiveLabel:"{taxTerm, select, GST {GST \uC81C\uC678} VAT {VAT \uC81C\uC678} TAX {\uC138\uAE08 \uC81C\uC678} IVA {IVA \uC81C\uC678} SST {SST \uC81C\uC678} KDV {KDV \uC81C\uC678} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \uD3EC\uD568} VAT {VAT \uD3EC\uD568} TAX {\uC138\uAE08 \uD3EC\uD568} IVA {IVA \uD3EC\uD568} SST {SST \uD3EC\uD568} KDV {KDV \uD3EC\uD568} other {}}",alternativePriceAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0",strikethroughAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0"},{lang:"lt",recurrenceLabel:"{recurrenceTerm, select, MONTH { per m\u0117n.} YEAR { per metus} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\u0117n.} YEAR {per metus} other {}}",perUnitLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",freeLabel:"Nemokamai",freeAriaLabel:"Nemokamai",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Arba u\u017E {alternativePrice}",strikethroughAriaLabel:"Normaliai u\u017E {strikethroughPrice}"},{lang:"lv",recurrenceLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",perUnitLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",freeLabel:"Bezmaksas",freeAriaLabel:"Bezmaksas",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternat\u012Bvi par {alternativePrice}",strikethroughAriaLabel:"Regul\u0101ri par {strikethroughPrice}"},{lang:"nb",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd.} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5ned} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisens} other {}}",freeLabel:"Fri",freeAriaLabel:"Fri",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. avgift} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. avgift} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Regelmessig til {strikethroughPrice}"},{lang:"nl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd} YEAR {/jr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per maand} YEAR {per jaar} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licentie} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licentie} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. btw} TAX {excl. belasting} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. btw} TAX {incl. belasting} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Nu {alternativePrice}",strikethroughAriaLabel:"Normaal {strikethroughPrice}"},{lang:"pl",recurrenceLabel:"{recurrenceTerm, select, MONTH { / mies.} YEAR { / rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH { / miesi\u0105c} YEAR { / rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",freeLabel:"Bezp\u0142atne",freeAriaLabel:"Bezp\u0142atne",taxExclusiveLabel:"{taxTerm, select, GST {bez GST} VAT {bez VAT} TAX {netto} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {z GST} VAT {z VAT} TAX {brutto} IVA {z IVA} SST {z SST} KDV {z KDV} other {}}",alternativePriceAriaLabel:"Lub za {alternativePrice}",strikethroughAriaLabel:"Cena zwyk\u0142a: {strikethroughPrice}"},{lang:"pt",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xEAs} YEAR {/ano} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {por m\xEAs} YEAR {por ano} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {ICMS n\xE3o incluso} VAT {IVA n\xE3o incluso} TAX {impostos n\xE3o inclusos} IVA {IVA n\xE3o incluso} SST { SST n\xE3o incluso} KDV {KDV n\xE3o incluso} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {ICMS incluso} VAT {IVA incluso} TAX {impostos inclusos} IVA {IVA incluso} SST {SST incluso} KDV {KDV incluso} other {}}",alternativePriceAriaLabel:"Ou a {alternativePrice}",strikethroughAriaLabel:"Pre\xE7o normal: {strikethroughPrice}"},{lang:"ro",recurrenceLabel:"{recurrenceTerm, select, MONTH {/lun\u0103} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pe lun\u0103} YEAR {pe an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ, la {alternativePrice}",strikethroughAriaLabel:"\xCEn mod normal, la {strikethroughPrice}"},{lang:"ru",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0432 \u043C\u0435\u0441\u044F\u0446} YEAR {\u0432 \u0433\u043E\u0434} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",freeLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0438\u0441\u043A\u043B. \u041D\u0414\u0421} TAX {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0438\u0441\u043A\u043B. \u0418\u0412\u0410} SST {\u0438\u0441\u043A\u043B. SST} KDV {\u0438\u0441\u043A\u043B. \u041A\u0414\u0412} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0432\u043A\u043B. \u041D\u0414\u0421} TAX {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0432\u043A\u043B. \u0418\u0412\u0410} SST {\u0432\u043A\u043B. SST} KDV {\u0432\u043A\u043B. \u041A\u0414\u0412} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E \u043F\u043E \u0446\u0435\u043D\u0435 {strikethroughPrice}"},{lang:"sk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesiac} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za mesiac} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",freeLabel:"Zadarmo",freeAriaLabel:"Zadarmo",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Pr\xEDpadne za {alternativePrice}",strikethroughAriaLabel:"Pravidelne za {strikethroughPrice}"},{lang:"sl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesec} YEAR {/leto} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {na mesec} YEAR {na leto} other {}}",perUnitLabel:"{perUnit, select, LICENSE {na licenco} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {na licenco} other {}}",freeLabel:"Brezpla\u010Dno",freeAriaLabel:"Brezpla\u010Dno",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Druga mo\u017Enost je: {alternativePrice}",strikethroughAriaLabel:"Redno po {strikethroughPrice}"},{lang:"sv",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xE5n} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5nad} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licens} other {}}",freeLabel:"Kostnadsfritt",freeAriaLabel:"Kostnadsfritt",taxExclusiveLabel:"{taxTerm, select, GST {exkl. GST} VAT {exkl. moms} TAX {exkl. skatt} IVA {exkl. IVA} SST {exkl. SST} KDV {exkl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skatt} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt f\xF6r {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"tr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/ay} YEAR {/y\u0131l} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {(ayl\u0131k)} YEAR {(y\u0131ll\u0131k)} other {}}",perUnitLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",freeLabel:"\xDCcretsiz",freeAriaLabel:"\xDCcretsiz",taxExclusiveLabel:"{taxTerm, select, GST {GST hari\xE7} VAT {KDV hari\xE7} TAX {vergi hari\xE7} IVA {IVA hari\xE7} SST {SST hari\xE7} KDV {KDV hari\xE7} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST dahil} VAT {KDV dahil} TAX {vergi dahil} IVA {IVA dahil} SST {SST dahil} KDV {KDV dahil} other {}}",alternativePriceAriaLabel:"Ya da {alternativePrice}",strikethroughAriaLabel:"Standart fiyat: {strikethroughPrice}"},{lang:"uk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0456\u0441.} YEAR {/\u0440\u0456\u043A} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C} YEAR {\u043D\u0430 \u0440\u0456\u043A} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",freeLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0431\u0435\u0437 GST} VAT {\u0431\u0435\u0437 \u041F\u0414\u0412} TAX {\u0431\u0435\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u0443} IVA {\u0431\u0435\u0437 IVA} SST {\u0431\u0435\u0437 SST} KDV {\u0431\u0435\u0437 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 GST} VAT {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u041F\u0414\u0412} TAX {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u043E\u043C} IVA {\u0440\u0430\u0437\u043E\u043C \u0437 IVA} SST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 SST} KDV {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 KDV} other {}}",alternativePriceAriaLabel:"\u0410\u0431\u043E \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0430 \u0446\u0456\u043D\u0430 {strikethroughPrice}"},{lang:"zh-hans",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",freeLabel:"\u514D\u8D39",freeAriaLabel:"\u514D\u8D39",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u6216\u5B9A\u4EF7 {alternativePrice}",strikethroughAriaLabel:"\u6B63\u5E38\u4EF7 {strikethroughPrice}"},{lang:"zh-hant",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",freeLabel:"\u514D\u8CBB",freeAriaLabel:"\u514D\u8CBB",taxExclusiveLabel:"{taxTerm, select, GST {\u4E0D\u542B GST} VAT {\u4E0D\u542B VAT} TAX {\u4E0D\u542B\u7A05} IVA {\u4E0D\u542B IVA} SST {\u4E0D\u542B SST} KDV {\u4E0D\u542B KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u542B GST} VAT {\u542B VAT} TAX {\u542B\u7A05} IVA {\u542B IVA} SST {\u542B SST} KDV {\u542B KDV} other {}}",alternativePriceAriaLabel:"\u6216\u8005\u5728 {alternativePrice}",strikethroughAriaLabel:"\u6A19\u6E96\u50F9\u683C\u70BA {strikethroughPrice}"},{lang:"es",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mes} YEAR {/a\xF1o} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mes} YEAR {al a\xF1o} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licencia} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licencia} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {GST no incluido} VAT {IVA no incluido} TAX {Impuestos no incluidos} IVA {IVA no incluido} SST {SST no incluido} KDV {KDV no incluido} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST incluido} VAT {IVA incluido} TAX {Impuestos incluidos} IVA {IVA incluido} SST {SST incluido} KDV {KDV incluido} other {}}",alternativePriceAriaLabel:"Alternativamente por {alternativePrice}",strikethroughAriaLabel:"Normalmente a {strikethroughPrice}"},{lang:"in",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {tidak termasuk PBJ} VAT {tidak termasuk PPN} TAX {tidak termasuk pajak} IVA {tidak termasuk IVA} SST {tidak termasuk SST} KDV {tidak termasuk KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk PBJ} VAT {termasuk PPN} TAX {termasuk pajak} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Atau seharga {alternativePrice}",strikethroughAriaLabel:"Normalnya seharga {strikethroughPrice}"},{lang:"vi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/th\xE1ng} YEAR {/n\u0103m} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u1ED7i th\xE1ng} YEAR {m\u1ED7i n\u0103m} other {}}",perUnitLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",freeLabel:"Mi\u1EC5n ph\xED",freeAriaLabel:"Mi\u1EC5n ph\xED",taxExclusiveLabel:"{taxTerm, select, GST {ch\u01B0a bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5} VAT {ch\u01B0a bao g\u1ED3m thu\u1EBF GTGT} TAX {ch\u01B0a bao g\u1ED3m thu\u1EBF} IVA {ch\u01B0a bao g\u1ED3m IVA} SST {ch\u01B0a bao g\u1ED3m SST} KDV {ch\u01B0a bao g\u1ED3m KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u0111\xE3 bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5)} VAT {(\u0111\xE3 bao g\u1ED3m thu\u1EBF GTGT)} TAX {(\u0111\xE3 bao g\u1ED3m thu\u1EBF)} IVA {(\u0111\xE3 bao g\u1ED3m IVA)} SST {(\u0111\xE3 bao g\u1ED3m SST)} KDV {(\u0111\xE3 bao g\u1ED3m KDV)} other {}}",alternativePriceAriaLabel:"Gi\xE1 \u01B0u \u0111\xE3i {alternativePrice}",strikethroughAriaLabel:"Gi\xE1 th\xF4ng th\u01B0\u1EDDng {strikethroughPrice}"},{lang:"th",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {/\u0E1B\u0E35} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0E15\u0E48\u0E2D\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {\u0E15\u0E48\u0E2D\u0E1B\u0E35} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",freeLabel:"\u0E1F\u0E23\u0E35",freeAriaLabel:"\u0E1F\u0E23\u0E35",taxExclusiveLabel:"{taxTerm, select, GST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 VAT} TAX {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 IVA} SST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 SST} KDV {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E23\u0E27\u0E21 VAT} TAX {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E23\u0E27\u0E21 IVA} SST {\u0E23\u0E27\u0E21 SST} KDV {\u0E23\u0E27\u0E21 KDV} other {}}",alternativePriceAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1E\u0E34\u0E40\u0E28\u0E29 {alternativePrice}",strikethroughAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1B\u0E01\u0E15\u0E34 {strikethroughPrice}"},{lang:"el",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u03BC\u03AE\u03BD\u03B1} YEAR {/\u03AD\u03C4\u03BF\u03C2} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u03BA\u03AC\u03B8\u03B5 \u03BC\u03AE\u03BD\u03B1} YEAR {\u03B1\u03BD\u03AC \u03AD\u03C4\u03BF\u03C2} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",freeLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",freeAriaLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",taxExclusiveLabel:"{taxTerm, select, GST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 GST)} VAT {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF)} IVA {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 IVA)} SST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 SST)} KDV {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 KDV)} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 GST)} VAT {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF\u03C5)} IVA {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 IVA)} SST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 SST)} KDV {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 KDV)} other {}}",alternativePriceAriaLabel:"\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03B5\u03C4\u03B9\u03BA\u03AC, {alternativePrice}",strikethroughAriaLabel:"\u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE {strikethroughPrice}"},{lang:"fil",recurrenceLabel:"{recurrenceTerm, select, MONTH {/buwan} YEAR {/taon} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per buwan} YEAR {per taon} other {}}",perUnitLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",freeLabel:"Libre",freeAriaLabel:"Libre",taxExclusiveLabel:"{taxTerm, select, GST {hindi kasama ang GST} VAT {hindi kasama ang VAT} TAX {hindi kasama ang Buwis} IVA {hindi kasama ang IVA} SST {hindi kasama ang SST} KDV {hindi kasama ang KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {kasama ang GST} VAT {kasama ang VAT} TAX {kasama ang Buwis} IVA {kasama ang IVA} SST {kasama ang SST} KDV {kasama ang KDV} other {}}",alternativePriceAriaLabel:"Alternatibong nasa halagang {alternativePrice}",strikethroughAriaLabel:"Regular na nasa halagang {strikethroughPrice}"},{lang:"ms",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",freeLabel:"Percuma",freeAriaLabel:"Percuma",taxExclusiveLabel:"{taxTerm, select, GST {kecuali GST} VAT {kecuali VAT} TAX {kecuali Cukai} IVA {kecuali IVA} SST {kecuali SST} KDV {kecuali KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk GST} VAT {termasuk VAT} TAX {termasuk Cukai} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Secara alternatif pada {alternativePrice}",strikethroughAriaLabel:"Biasanya pada {strikethroughPrice}"},{lang:"hi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u092E\u093E\u0939} YEAR {/\u0935\u0930\u094D\u0937} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per \u092E\u093E\u0939} YEAR {per \u0935\u0930\u094D\u0937} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",freeLabel:"\u092B\u093C\u094D\u0930\u0940",freeAriaLabel:"\u092B\u093C\u094D\u0930\u0940",taxExclusiveLabel:"{taxTerm, select, GST {GST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} VAT {VAT \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} TAX {\u0915\u0930 \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} IVA {IVA \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} SST {SST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} KDV {KDV \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u0938\u0939\u093F\u0924} VAT {VAT \u0938\u0939\u093F\u0924} TAX {\u0915\u0930 \u0938\u0939\u093F\u0924} IVA {IVA \u0938\u0939\u093F\u0924} SST {SST \u0938\u0939\u093F\u0924} KDV {KDV \u0938\u0939\u093F\u0924} other {}}",alternativePriceAriaLabel:"\u0935\u0948\u0915\u0932\u094D\u092A\u093F\u0915 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {alternativePrice}",strikethroughAriaLabel:"\u0928\u093F\u092F\u092E\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {strikethroughPrice}"},{lang:"iw",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:'{taxTerm, select, GST {\u05DC\u05DC\u05D0 GST} VAT {\u05DC\u05DC\u05D0 \u05DE\u05E2"\u05DE} TAX {\u05DC\u05DC\u05D0 \u05DE\u05E1} IVA {\u05DC\u05DC\u05D0 IVA} SST {\u05DC\u05DC\u05D0 SST} KDV {\u05DC\u05DC\u05D0 KDV} other {}}',taxInclusiveLabel:'{taxTerm, select, GST {\u05DB\u05D5\u05DC\u05DC GST} VAT {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E2"\u05DE} TAX {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E1} IVA {\u05DB\u05D5\u05DC\u05DC IVA} SST {\u05DB\u05D5\u05DC\u05DC SST} KDV {\u05DB\u05D5\u05DC\u05DC KDV} other {}}',alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"}],":type":"sheet"}});var ve;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(ve||(ve={}));var Tt;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(Tt||(Tt={}));var ye;(function(e){e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED"})(ye||(ye={}));var ne;(function(e){e.V2="UCv2",e.V3="UCv3"})(ne||(ne={}));var G;(function(e){e.CHECKOUT="checkout",e.CHECKOUT_EMAIL="checkout/email",e.SEGMENTATION="segmentation",e.BUNDLE="bundle",e.COMMITMENT="commitment",e.RECOMMENDATION="recommendation",e.EMAIL="email",e.PAYMENT="payment",e.CHANGE_PLAN_TEAM_PLANS="change-plan/team-upgrade/plans",e.CHANGE_PLAN_TEAM_PAYMENT="change-plan/team-upgrade/payment"})(G||(G={}));var At=function(e){var t;return(t=ui.get(e))!==null&&t!==void 0?t:e},ui=new Map([["countrySpecific","cs"],["quantity","q"],["authCode","code"],["checkoutPromoCode","apc"],["rurl","rUrl"],["curl","cUrl"],["ctxrturl","ctxRtUrl"],["country","co"],["language","lang"],["clientId","cli"],["context","ctx"],["productArrangementCode","pa"],["offerType","ot"],["marketSegment","ms"]]);var Cr=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Vr=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a};function Te(e,t,r){var n,i;try{for(var a=Cr(Object.entries(e)),o=a.next();!o.done;o=a.next()){var s=Vr(o.value,2),l=s[0],c=s[1],u=At(l);c!=null&&r.has(u)&&t.set(u,c)}}catch(h){n={error:h}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}function Be(e){switch(e){case ve.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Fe(e,t){var r,n;for(var i in e){var a=e[i];try{for(var o=(r=void 0,Cr(Object.entries(a))),s=o.next();!s.done;s=o.next()){var l=Vr(s.value,2),c=l[0],u=l[1];if(u!=null){var h=At(c);t.set("items["+i+"]["+h+"]",u)}}}catch(f){r={error:f}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}var hi=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Or(e){Ti(e);var t=e.env,r=e.items,n=e.workflowStep,i=hi(e,["env","items","workflowStep"]),a=new URL(Be(t));return a.pathname=n+"/",Fe(r,a.searchParams),Te(i,a.searchParams,pi),a.toString()}var pi=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),mi=["env","workflowStep","clientId","country","items"];function Ti(e){var t,r;try{for(var n=fi(mi),i=n.next();!i.done;i=n.next()){var a=i.value;if(!e[a])throw new Error('Argument "checkoutData" is not valid, missing: '+a)}}catch(o){t={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!0}var Ai=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},di="p_draft_landscape",Si="/store/";function dt(e){xi(e);var t=e.env,r=e.items,n=e.workflowStep,i=e.ms,a=e.marketSegment,o=e.ot,s=e.offerType,l=e.pa,c=e.productArrangementCode,u=e.landscape,h=Ai(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),f={marketSegment:a??i,offerType:s??o,productArrangementCode:c??l},p=new URL(Be(t));return p.pathname=""+Si+n,n!==G.SEGMENTATION&&n!==G.CHANGE_PLAN_TEAM_PLANS&&Fe(r,p.searchParams),n===G.SEGMENTATION&&Te(f,p.searchParams,Et),Te(h,p.searchParams,Et),u===ye.DRAFT&&Te({af:di},p.searchParams,Et),p.toString()}var Et=new Set(["af","ai","apc","appctxid","cli","co","csm","ctx","ctxRtUrl","DCWATC","dp","fr","gsp","ijt","lang","lo","mal","ms","mv","mv2","nglwfdata","ot","otac","pa","pcid","promoid","q","rf","sc","scl","sdid","sid","spint","svar","th","thm","trackingid","usid","workflowid","context.guid","so.ca","so.su","so.tr","so.va"]),bi=["env","workflowStep","clientId","country"];function xi(e){var t,r;try{for(var n=Ei(bi),i=n.next();!i.done;i=n.next()){var a=i.value;if(!e[a])throw new Error('Argument "checkoutData" is not valid, missing: '+a)}}catch(o){t={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}if(e.workflowStep!==G.SEGMENTATION&&e.workflowStep!==G.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function St(e,t){switch(e){case ne.V2:return Or(t);case ne.V3:return dt(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),dt(t)}}var bt;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(bt||(bt={}));var w;(function(e){e.MONTH="MONTH",e.YEAR="YEAR",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.PERPETUAL="PERPETUAL",e.TERM_LICENSE="TERM_LICENSE",e.ACCESS_PASS="ACCESS_PASS",e.THREE_MONTHS="THREE_MONTHS",e.SIX_MONTHS="SIX_MONTHS"})(w||(w={}));var _;(function(e){e.ANNUAL="ANNUAL",e.MONTHLY="MONTHLY",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.P1D="P1D",e.P1Y="P1Y",e.P3Y="P3Y",e.P10Y="P10Y",e.P15Y="P15Y",e.P3D="P3D",e.P7D="P7D",e.P30D="P30D",e.HALF_YEARLY="HALF_YEARLY",e.QUARTERLY="QUARTERLY"})(_||(_={}));var xt;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(xt||(xt={}));var gt;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(gt||(gt={}));var Lt;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(Lt||(Lt={}));var vt;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(vt||(vt={}));var wr="tacocat.js";var Ke=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),Rr=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function N(e,t={},{metadata:r=!0,search:n=!0,storage:i=!0}={}){let a;if(n&&a==null){let o=new URLSearchParams(window.location.search),s=Ae(n)?n:e;a=o.get(s)}if(i&&a==null){let o=Ae(i)?i:e;a=window.sessionStorage.getItem(o)??window.localStorage.getItem(o)}if(r&&a==null){let o=gi(Ae(r)?r:e);a=document.documentElement.querySelector(`meta[name="${o}"]`)?.content}return a??t[e]}var Ee=()=>{};var kr=e=>typeof e=="boolean",Pe=e=>typeof e=="function",Ye=e=>typeof e=="number",Hr=e=>e!=null&&typeof e=="object";var Ae=e=>typeof e=="string",yt=e=>Ae(e)&&e,de=e=>Ye(e)&&Number.isFinite(e)&&e>0;function Se(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function x(e,t){if(kr(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function Q(e,t,r){let n=Object.values(t);return n.find(i=>Ke(i,e))??r??n[0]}function gi(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function be(e,t=1){return Ye(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var Li=Date.now(),Pt=()=>`(+${Date.now()-Li}ms)`,Xe=new Set,vi=x(N("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function Dr(e){let t=`[${wr}/${e}]`,r=(o,s,...l)=>o?!0:(i(s,...l),!1),n=vi?(o,...s)=>{console.debug(`${t} ${o}`,...s,Pt())}:()=>{},i=(o,...s)=>{let l=`${t} ${o}`;Xe.forEach(([c])=>c(l,...s))};return{assert:r,debug:n,error:i,warn:(o,...s)=>{let l=`${t} ${o}`;Xe.forEach(([,c])=>c(l,...s))}}}function yi(e,t){let r=[e,t];return Xe.add(r),()=>{Xe.delete(r)}}yi((e,...t)=>{console.error(e,...t,Pt())},(e,...t)=>{console.warn(e,...t,Pt())});var Pi="no promo",Ur="promo-tag",Ii="yellow",_i="neutral",Ni=(e,t,r)=>{let n=a=>a||Pi,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Ci="cancel-context",Ie=(e,t)=>{let r=e===Ci,n=!r&&e?.length>0,i=(n||r)&&(t&&t!=e||!t&&!r),a=i&&n||!i&&!!t,o=a?e||t:void 0;return{effectivePromoCode:o,overridenPromoCode:e,className:a?Ur:`${Ur} no-promo`,text:Ni(o,t,i),variant:a?Ii:_i,isOverriden:i}};var It="ABM",_t="PUF",Nt="M2M",Ct="PERPETUAL",Vt="P3Y",Vi="TAX_INCLUSIVE_DETAILS",Oi="TAX_EXCLUSIVE",Mr={ABM:It,PUF:_t,M2M:Nt,PERPETUAL:Ct,P3Y:Vt},qo={[It]:{commitment:w.YEAR,term:_.MONTHLY},[_t]:{commitment:w.YEAR,term:_.ANNUAL},[Nt]:{commitment:w.MONTH,term:_.MONTHLY},[Ct]:{commitment:w.PERPETUAL,term:void 0},[Vt]:{commitment:w.THREE_MONTHS,term:_.P3Y}},Gr="Value is not an offer",We=e=>{if(typeof e!="object")return Gr;let{commitment:t,term:r}=e,n=wi(t,r);return{...e,planType:n}};var wi=(e,t)=>{switch(e){case void 0:return Gr;case"":return"";case w.YEAR:return t===_.MONTHLY?It:t===_.ANNUAL?_t:"";case w.MONTH:return t===_.MONTHLY?Nt:"";case w.PERPETUAL:return Ct;case w.TERM_LICENSE:return t===_.P3Y?Vt:"";default:return""}};function Ot(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:a,taxDisplay:o}=t;if(o!==Vi)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:a??n,taxDisplay:Oi}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var wt=function(e,t){return wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},wt(e,t)};function _e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var d=function(){return d=Object.assign||function(t){for(var r,n=1,i=arguments.length;n0}),r=[],n=0,i=t;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Hi,function(l,c,u,h,f,p){if(c)t.minimumIntegerDigits=u.length;else{if(h&&f)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(qr.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Xr.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Xr,function(l,c,u,h,f,p){return u==="*"?t.minimumFractionDigits=c.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:f&&p?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+p.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var a=i.options[0];a==="w"?t=d(d({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=d(d({},t),Wr(a)));continue}if($r.test(i.stem)){t=d(d({},t),Wr(i.stem));continue}var o=Zr(i.stem);o&&(t=d(d({},t),o));var s=Di(i.stem);s&&(t=d(d({},t),s))}return t}var Ce={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Qr(e,t){for(var r="",n=0;n>1),l="a",c=Ui(t);for((c=="H"||c=="k")&&(s=0);s-- >0;)r+=l;for(;o-- >0;)r=c+r}else i==="J"?r+="H":r+=i}return r}function Ui(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Ce[n||""]||Ce[r||""]||Ce["".concat(r,"-001")]||Ce["001"];return i[0]}var Ht,Mi=new RegExp("^".concat(kt.source,"*")),Gi=new RegExp("".concat(kt.source,"*$"));function S(e,t){return{start:e,end:t}}var Bi=!!String.prototype.startsWith,Fi=!!String.fromCodePoint,Ki=!!Object.fromEntries,Yi=!!String.prototype.codePointAt,Xi=!!String.prototype.trimStart,Wi=!!String.prototype.trimEnd,ji=!!Number.isSafeInteger,zi=ji?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ut=!0;try{en=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ut=((Ht=en.exec("a"))===null||Ht===void 0?void 0:Ht[0])==="a"}catch{Ut=!1}var en,tn=Bi?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Mt=Fi?String.fromCodePoint:function(){for(var t=[],r=0;ra;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},rn=Ki?Object.fromEntries:function(t){for(var r={},n=0,i=t;n=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},$i=Xi?function(t){return t.trimStart()}:function(t){return t.replace(Mi,"")},qi=Wi?function(t){return t.trimEnd()}:function(t){return t.replace(Gi,"")};function an(e,t){return new RegExp(e,t)}var Gt;Ut?(Dt=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Gt=function(t,r){var n;Dt.lastIndex=r;var i=Dt.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):Gt=function(t,r){for(var n=[];;){var i=nn(t,r);if(i===void 0||sn(i)||Qi(i))break;n.push(i),r+=i>=65536?2:1}return Mt.apply(void 0,n)};var Dt,on=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:y.pound,location:S(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(E.UNMATCHED_CLOSING_TAG,S(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Bt(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(i,"/>"),location:S(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:y.tag,value:i,children:o,location:S(n,this.clonePosition())},err:null}:this.error(E.INVALID_TAG,S(s,this.clonePosition())))}else return this.error(E.UNCLOSED_TAG,S(n,this.clonePosition()))}else return this.error(E.INVALID_TAG,S(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ji(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=S(n,this.clonePosition());return{val:{type:y.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Zi(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Mt.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Mt(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(E.EMPTY_ARGUMENT,S(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(E.MALFORMED_ARGUMENT,S(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:S(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(E.MALFORMED_ARGUMENT,S(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Gt(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),o=S(t,a);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(E.EXPECT_ARGUMENT_TYPE,S(o,l));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var f=qi(h.val);if(f.length===0)return this.error(E.EXPECT_ARGUMENT_STYLE,S(this.clonePosition(),this.clonePosition()));var p=S(u,this.clonePosition());c={style:f,styleLocation:p}}var m=this.tryParseArgumentClose(i);if(m.err)return m;var T=S(i,this.clonePosition());if(c&&tn(c?.style,"::",0)){var v=$i(c.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(v,c.styleLocation);return h.err?h:{val:{type:y.number,value:n,location:T,style:h.val},err:null}}else{if(v.length===0)return this.error(E.EXPECT_DATE_TIME_SKELETON,T);var P=v;this.locale&&(P=Qr(v,this.locale));var f={type:ie.dateTime,pattern:P,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Kr(P):{}},A=s==="date"?y.date:y.time;return{val:{type:A,value:n,location:T,style:f},err:null}}}return{val:{type:s==="number"?y.number:s==="date"?y.date:y.time,value:n,location:T,style:(a=c?.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var b=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS,S(b,d({},b)));this.bumpSpace();var I=this.parseIdentifierIfPossible(),C=0;if(s!=="select"&&I.value==="offset"){if(!this.bumpIf(":"))return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),I=this.parseIdentifierIfPossible(),C=h.val}var V=this.tryParsePluralOrSelectOptions(t,s,r,I);if(V.err)return V;var m=this.tryParseArgumentClose(i);if(m.err)return m;var O=S(i,this.clonePosition());return s==="select"?{val:{type:y.select,value:n,options:rn(V.val),location:O},err:null}:{val:{type:y.plural,value:n,options:rn(V.val),offset:C,pluralType:s==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(E.INVALID_ARGUMENT_TYPE,S(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,S(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=zr(t)}catch{return this.error(E.INVALID_NUMBER_SKELETON,r)}return{val:{type:ie.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Jr(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,o=!1,s=[],l=new Set,c=i.value,u=i.location;;){if(c.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR,E.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=S(h,this.clonePosition()),c=this.message.slice(h.offset,this.offset())}else break}if(l.has(c))return this.error(r==="select"?E.DUPLICATE_SELECT_ARGUMENT_SELECTOR:E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);c==="other"&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,S(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,r,n);if(m.err)return m;var T=this.tryParseArgumentClose(p);if(T.err)return T;s.push([c,{value:m.val,location:S(p,this.clonePosition())}]),l.add(c),this.bumpSpace(),a=this.parseIdentifierIfPossible(),c=a.value,u=a.location}return s.length===0?this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR:E.EXPECT_PLURAL_ARGUMENT_SELECTOR,S(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(E.MISSING_OTHER_CLAUSE,S(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var l=S(i,this.clonePosition());return a?(o*=n,zi(o)?{val:o,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=nn(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(tn(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.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 r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&sn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function Bt(e){return e>=97&&e<=122||e>=65&&e<=90}function Zi(e){return Bt(e)||e===47}function Ji(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function sn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Qi(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ft(e){e.forEach(function(t){if(delete t.location,Ze(t)||Je(t))for(var r in t.options)delete t.options[r].location,Ft(t.options[r].value);else ze(t)&&et(t.style)||($e(t)||qe(t))&&Ne(t.style)?delete t.style.location:Qe(t)&&Ft(t.children)})}function ln(e,t){t===void 0&&(t={}),t=d({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new on(e,t).parse();if(r.err){var n=SyntaxError(E[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Ft(r.val),r.val}function Ve(e,t){var r=t&&t.cache?t.cache:aa,n=t&&t.serializer?t.serializer:ia,i=t&&t.strategy?t.strategy:ta;return i(e,{cache:r,serializer:n})}function ea(e){return e==null||typeof e=="number"||typeof e=="boolean"}function cn(e,t,r,n){var i=ea(n)?n:r(n),a=t.get(i);return typeof a>"u"&&(a=e.call(this,n),t.set(i,a)),a}function un(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,n),t.set(i,a)),a}function Kt(e,t,r,n,i){return r.bind(t,e,n,i)}function ta(e,t){var r=e.length===1?cn:un;return Kt(e,this,r,t.cache.create(),t.serializer)}function ra(e,t){return Kt(e,this,un,t.cache.create(),t.serializer)}function na(e,t){return Kt(e,this,cn,t.cache.create(),t.serializer)}var ia=function(){return JSON.stringify(arguments)};function Yt(){this.cache=Object.create(null)}Yt.prototype.get=function(e){return this.cache[e]};Yt.prototype.set=function(e,t){this.cache[e]=t};var aa={create:function(){return new Yt}},tt={variadic:ra,monadic:na};var ae;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ae||(ae={}));var Oe=function(e){_e(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var Xt=function(e){_e(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),ae.INVALID_VALUE,a)||this}return t}(Oe);var hn=function(e){_e(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ae.INVALID_VALUE,i)||this}return t}(Oe);var fn=function(e){_e(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ae.MISSING_VALUE,n)||this}return t}(Oe);var k;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(k||(k={}));function oa(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==k.literal||r.type!==k.literal?t.push(r):n.value+=r.value,t},[])}function sa(e){return typeof e=="function"}function we(e,t,r,n,i,a,o){if(e.length===1&&Rt(e[0]))return[{type:k.literal,value:e[0].value}];for(var s=[],l=0,c=e;l{throw TypeError(e)};var ci=(e,t,r)=>t in e?Ke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ui=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),hi=(e,t)=>{for(var r in t)Ke(e,r,{get:t[r],enumerable:!0})},fi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oi(t))!li.call(e,i)&&i!==r&&Ke(e,i,{get:()=>t[i],enumerable:!(n=ai(t,i))||n.enumerable});return e};var pi=(e,t,r)=>(r=e!=null?ii(si(e)):{},fi(t||!e||!e.__esModule?Ke(r,"default",{value:e,enumerable:!0}):r,e));var v=(e,t,r)=>ci(e,typeof t!="symbol"?t+"":t,r),mi=(e,t,r)=>t.has(e)||Vr("Cannot "+r);var Or=(e,t,r)=>(mi(e,t,"read from private field"),r?r.call(e):t.get(e)),wr=(e,t,r)=>t.has(e)?Vr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r);var jn=ui((ic,go)=>{go.exports={total:38,offset:0,limit:38,data:[{lang:"ar",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0627\u0644\u0634\u0647\u0631} YEAR {/\u0627\u0644\u0639\u0627\u0645} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0643\u0644 \u0634\u0647\u0631} YEAR {\u0643\u0644 \u0639\u0627\u0645} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",freeLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",freeAriaLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0623\u0648 \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643 \u0628\u0642\u064A\u0645\u0629 {alternativePrice}",strikethroughAriaLabel:"\u0628\u0634\u0643\u0644 \u0645\u0646\u062A\u0638\u0645 \u0628\u0642\u064A\u0645\u0629 {strikethroughPrice}"},{lang:"bg",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433\u043E\u0434.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0435\u0441\u0435\u0446} YEAR {\u043D\u0430 \u0433\u043E\u0434\u0438\u043D\u0430} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",freeLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E \u043D\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0434\u043E\u0432\u043D\u043E \u043D\u0430 {strikethroughPrice}"},{lang:"cs",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\u011Bs\xEDc} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za m\u011Bs\xEDc} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenci} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenci} other {}}",freeLabel:"Zdarma",freeAriaLabel:"Zdarma",taxExclusiveLabel:"{taxTerm, select, GST {bez dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {bez DPH} TAX {bez dan\u011B} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {v\u010Detn\u011B dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {v\u010Detn\u011B DPH} TAX {v\u010Detn\u011B dan\u011B} IVA {v\u010Detn\u011B IVA} SST {v\u010Detn\u011B SST} KDV {v\u010Detn\u011B KDV} other {}}",alternativePriceAriaLabel:"P\u0159\xEDpadn\u011B za {alternativePrice}",strikethroughAriaLabel:"Pravideln\u011B za {strikethroughPrice}"},{lang:"da",recurrenceLabel:"{recurrenceTerm, select, MONTH {/md} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pr. m\xE5ned} YEAR {pr. \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. skat} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skat} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"de",recurrenceLabel:"{recurrenceTerm, select, MONTH {/Monat} YEAR {/Jahr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pro Monat} YEAR {pro Jahr} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",freeLabel:"Kostenlos",freeAriaLabel:"Kostenlos",taxExclusiveLabel:"{taxTerm, select, GST {zzgl. GST} VAT {zzgl. MwSt.} TAX {zzgl. Steuern} IVA {zzgl. IVA} SST {zzgl. SST} KDV {zzgl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. MwSt.} TAX {inkl. Steuern} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ: {alternativePrice}",strikethroughAriaLabel:"Regul\xE4r: {strikethroughPrice}"},{lang:"en",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},{lang:"et",recurrenceLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",perUnitLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",freeLabel:"Tasuta",freeAriaLabel:"Tasuta",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Teise v\xF5imalusena hinnaga {alternativePrice}",strikethroughAriaLabel:"Tavahind {strikethroughPrice}"},{lang:"fi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/kk} YEAR {/v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuukausittain} YEAR {vuosittain} other {}}",perUnitLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",freeLabel:"Maksuton",freeAriaLabel:"Maksuton",taxExclusiveLabel:"{taxTerm, select, GST {ilman GST:t\xE4} VAT {ilman ALV:t\xE4} TAX {ilman veroja} IVA {ilman IVA:ta} SST {ilman SST:t\xE4} KDV {ilman KDV:t\xE4} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {sis. GST:n} VAT {sis. ALV:n} TAX {sis. verot} IVA {sis. IVA:n} SST {sis. SST:n} KDV {sis. KDV:n} other {}}",alternativePriceAriaLabel:"Vaihtoehtoisesti hintaan {alternativePrice}",strikethroughAriaLabel:"S\xE4\xE4nn\xF6llisesti hintaan {strikethroughPrice}"},{lang:"fr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mois} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {par mois} YEAR {par an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {par licence} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {par licence} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {hors TPS} VAT {hors TVA} TAX {hors taxes} IVA {hors IVA} SST {hors SST} KDV {hors KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {TPS comprise} VAT {TVA comprise} TAX {taxes comprises} IVA {IVA comprise} SST {SST comprise} KDV {KDV comprise} other {}}",alternativePriceAriaLabel:"Autre prix {alternativePrice}",strikethroughAriaLabel:"Prix habituel {strikethroughPrice}"},{lang:"he",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"},{lang:"hu",recurrenceLabel:"{recurrenceTerm, select, MONTH {/h\xF3} YEAR {/\xE9v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {havonta} YEAR {\xE9vente} other {}}",perUnitLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",freeLabel:"Ingyenes",freeAriaLabel:"Ingyenes",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"M\xE1sik lehet\u0151s\xE9g: {alternativePrice}",strikethroughAriaLabel:"\xC1ltal\xE1ban {strikethroughPrice} \xE1ron"},{lang:"it",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mese} YEAR {/anno} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mese} YEAR {all'anno} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licenza} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licenza} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {escl. GST} VAT {escl. IVA.} TAX {escl. imposte} IVA {escl. IVA} SST {escl. SST} KDV {escl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. IVA} TAX {incl. imposte} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"In alternativa a {alternativePrice}",strikethroughAriaLabel:"Regolarmente a {strikethroughPrice}"},{lang:"ja",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCE\u6708} YEAR {\u6BCE\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",freeLabel:"\u7121\u6599",freeAriaLabel:"\u7121\u6599",taxExclusiveLabel:"{taxTerm, select, GST {GST \u5225} VAT {VAT \u5225} TAX {\u7A0E\u5225} IVA {IVA \u5225} SST {SST \u5225} KDV {KDV \u5225} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u8FBC} VAT {VAT \u8FBC} TAX {\u7A0E\u8FBC} IVA {IVA \u8FBC} SST {SST \u8FBC} KDV {KDV \u8FBC} other {}}",alternativePriceAriaLabel:"\u7279\u5225\u4FA1\u683C : {alternativePrice}",strikethroughAriaLabel:"\u901A\u5E38\u4FA1\u683C : {strikethroughPrice}"},{lang:"ko",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\uC6D4} YEAR {/\uB144} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\uC6D4\uAC04} YEAR {\uC5F0\uAC04} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",freeLabel:"\uBB34\uB8CC",freeAriaLabel:"\uBB34\uB8CC",taxExclusiveLabel:"{taxTerm, select, GST {GST \uC81C\uC678} VAT {VAT \uC81C\uC678} TAX {\uC138\uAE08 \uC81C\uC678} IVA {IVA \uC81C\uC678} SST {SST \uC81C\uC678} KDV {KDV \uC81C\uC678} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \uD3EC\uD568} VAT {VAT \uD3EC\uD568} TAX {\uC138\uAE08 \uD3EC\uD568} IVA {IVA \uD3EC\uD568} SST {SST \uD3EC\uD568} KDV {KDV \uD3EC\uD568} other {}}",alternativePriceAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0",strikethroughAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0"},{lang:"lt",recurrenceLabel:"{recurrenceTerm, select, MONTH { per m\u0117n.} YEAR { per metus} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\u0117n.} YEAR {per metus} other {}}",perUnitLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",freeLabel:"Nemokamai",freeAriaLabel:"Nemokamai",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Arba u\u017E {alternativePrice}",strikethroughAriaLabel:"Normaliai u\u017E {strikethroughPrice}"},{lang:"lv",recurrenceLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",perUnitLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",freeLabel:"Bezmaksas",freeAriaLabel:"Bezmaksas",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternat\u012Bvi par {alternativePrice}",strikethroughAriaLabel:"Regul\u0101ri par {strikethroughPrice}"},{lang:"nb",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd.} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5ned} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisens} other {}}",freeLabel:"Fri",freeAriaLabel:"Fri",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. avgift} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. avgift} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Regelmessig til {strikethroughPrice}"},{lang:"nl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd} YEAR {/jr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per maand} YEAR {per jaar} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licentie} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licentie} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. btw} TAX {excl. belasting} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. btw} TAX {incl. belasting} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Nu {alternativePrice}",strikethroughAriaLabel:"Normaal {strikethroughPrice}"},{lang:"pl",recurrenceLabel:"{recurrenceTerm, select, MONTH { / mies.} YEAR { / rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH { / miesi\u0105c} YEAR { / rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",freeLabel:"Bezp\u0142atne",freeAriaLabel:"Bezp\u0142atne",taxExclusiveLabel:"{taxTerm, select, GST {bez GST} VAT {bez VAT} TAX {netto} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {z GST} VAT {z VAT} TAX {brutto} IVA {z IVA} SST {z SST} KDV {z KDV} other {}}",alternativePriceAriaLabel:"Lub za {alternativePrice}",strikethroughAriaLabel:"Cena zwyk\u0142a: {strikethroughPrice}"},{lang:"pt",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xEAs} YEAR {/ano} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {por m\xEAs} YEAR {por ano} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {ICMS n\xE3o incluso} VAT {IVA n\xE3o incluso} TAX {impostos n\xE3o inclusos} IVA {IVA n\xE3o incluso} SST { SST n\xE3o incluso} KDV {KDV n\xE3o incluso} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {ICMS incluso} VAT {IVA incluso} TAX {impostos inclusos} IVA {IVA incluso} SST {SST incluso} KDV {KDV incluso} other {}}",alternativePriceAriaLabel:"Ou a {alternativePrice}",strikethroughAriaLabel:"Pre\xE7o normal: {strikethroughPrice}"},{lang:"ro",recurrenceLabel:"{recurrenceTerm, select, MONTH {/lun\u0103} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pe lun\u0103} YEAR {pe an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ, la {alternativePrice}",strikethroughAriaLabel:"\xCEn mod normal, la {strikethroughPrice}"},{lang:"ru",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0432 \u043C\u0435\u0441\u044F\u0446} YEAR {\u0432 \u0433\u043E\u0434} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",freeLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0438\u0441\u043A\u043B. \u041D\u0414\u0421} TAX {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0438\u0441\u043A\u043B. \u0418\u0412\u0410} SST {\u0438\u0441\u043A\u043B. SST} KDV {\u0438\u0441\u043A\u043B. \u041A\u0414\u0412} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0432\u043A\u043B. \u041D\u0414\u0421} TAX {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0432\u043A\u043B. \u0418\u0412\u0410} SST {\u0432\u043A\u043B. SST} KDV {\u0432\u043A\u043B. \u041A\u0414\u0412} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E \u043F\u043E \u0446\u0435\u043D\u0435 {strikethroughPrice}"},{lang:"sk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesiac} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za mesiac} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",freeLabel:"Zadarmo",freeAriaLabel:"Zadarmo",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Pr\xEDpadne za {alternativePrice}",strikethroughAriaLabel:"Pravidelne za {strikethroughPrice}"},{lang:"sl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesec} YEAR {/leto} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {na mesec} YEAR {na leto} other {}}",perUnitLabel:"{perUnit, select, LICENSE {na licenco} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {na licenco} other {}}",freeLabel:"Brezpla\u010Dno",freeAriaLabel:"Brezpla\u010Dno",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Druga mo\u017Enost je: {alternativePrice}",strikethroughAriaLabel:"Redno po {strikethroughPrice}"},{lang:"sv",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xE5n} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5nad} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licens} other {}}",freeLabel:"Kostnadsfritt",freeAriaLabel:"Kostnadsfritt",taxExclusiveLabel:"{taxTerm, select, GST {exkl. GST} VAT {exkl. moms} TAX {exkl. skatt} IVA {exkl. IVA} SST {exkl. SST} KDV {exkl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skatt} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt f\xF6r {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"tr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/ay} YEAR {/y\u0131l} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {(ayl\u0131k)} YEAR {(y\u0131ll\u0131k)} other {}}",perUnitLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",freeLabel:"\xDCcretsiz",freeAriaLabel:"\xDCcretsiz",taxExclusiveLabel:"{taxTerm, select, GST {GST hari\xE7} VAT {KDV hari\xE7} TAX {vergi hari\xE7} IVA {IVA hari\xE7} SST {SST hari\xE7} KDV {KDV hari\xE7} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST dahil} VAT {KDV dahil} TAX {vergi dahil} IVA {IVA dahil} SST {SST dahil} KDV {KDV dahil} other {}}",alternativePriceAriaLabel:"Ya da {alternativePrice}",strikethroughAriaLabel:"Standart fiyat: {strikethroughPrice}"},{lang:"uk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0456\u0441.} YEAR {/\u0440\u0456\u043A} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C} YEAR {\u043D\u0430 \u0440\u0456\u043A} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",freeLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0431\u0435\u0437 GST} VAT {\u0431\u0435\u0437 \u041F\u0414\u0412} TAX {\u0431\u0435\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u0443} IVA {\u0431\u0435\u0437 IVA} SST {\u0431\u0435\u0437 SST} KDV {\u0431\u0435\u0437 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 GST} VAT {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u041F\u0414\u0412} TAX {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u043E\u043C} IVA {\u0440\u0430\u0437\u043E\u043C \u0437 IVA} SST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 SST} KDV {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 KDV} other {}}",alternativePriceAriaLabel:"\u0410\u0431\u043E \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0430 \u0446\u0456\u043D\u0430 {strikethroughPrice}"},{lang:"zh-hans",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",freeLabel:"\u514D\u8D39",freeAriaLabel:"\u514D\u8D39",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u6216\u5B9A\u4EF7 {alternativePrice}",strikethroughAriaLabel:"\u6B63\u5E38\u4EF7 {strikethroughPrice}"},{lang:"zh-hant",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",freeLabel:"\u514D\u8CBB",freeAriaLabel:"\u514D\u8CBB",taxExclusiveLabel:"{taxTerm, select, GST {\u4E0D\u542B GST} VAT {\u4E0D\u542B VAT} TAX {\u4E0D\u542B\u7A05} IVA {\u4E0D\u542B IVA} SST {\u4E0D\u542B SST} KDV {\u4E0D\u542B KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u542B GST} VAT {\u542B VAT} TAX {\u542B\u7A05} IVA {\u542B IVA} SST {\u542B SST} KDV {\u542B KDV} other {}}",alternativePriceAriaLabel:"\u6216\u8005\u5728 {alternativePrice}",strikethroughAriaLabel:"\u6A19\u6E96\u50F9\u683C\u70BA {strikethroughPrice}"},{lang:"es",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mes} YEAR {/a\xF1o} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mes} YEAR {al a\xF1o} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licencia} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licencia} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {GST no incluido} VAT {IVA no incluido} TAX {Impuestos no incluidos} IVA {IVA no incluido} SST {SST no incluido} KDV {KDV no incluido} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST incluido} VAT {IVA incluido} TAX {Impuestos incluidos} IVA {IVA incluido} SST {SST incluido} KDV {KDV incluido} other {}}",alternativePriceAriaLabel:"Alternativamente por {alternativePrice}",strikethroughAriaLabel:"Normalmente a {strikethroughPrice}"},{lang:"in",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {tidak termasuk PBJ} VAT {tidak termasuk PPN} TAX {tidak termasuk pajak} IVA {tidak termasuk IVA} SST {tidak termasuk SST} KDV {tidak termasuk KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk PBJ} VAT {termasuk PPN} TAX {termasuk pajak} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Atau seharga {alternativePrice}",strikethroughAriaLabel:"Normalnya seharga {strikethroughPrice}"},{lang:"vi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/th\xE1ng} YEAR {/n\u0103m} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u1ED7i th\xE1ng} YEAR {m\u1ED7i n\u0103m} other {}}",perUnitLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",freeLabel:"Mi\u1EC5n ph\xED",freeAriaLabel:"Mi\u1EC5n ph\xED",taxExclusiveLabel:"{taxTerm, select, GST {ch\u01B0a bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5} VAT {ch\u01B0a bao g\u1ED3m thu\u1EBF GTGT} TAX {ch\u01B0a bao g\u1ED3m thu\u1EBF} IVA {ch\u01B0a bao g\u1ED3m IVA} SST {ch\u01B0a bao g\u1ED3m SST} KDV {ch\u01B0a bao g\u1ED3m KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u0111\xE3 bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5)} VAT {(\u0111\xE3 bao g\u1ED3m thu\u1EBF GTGT)} TAX {(\u0111\xE3 bao g\u1ED3m thu\u1EBF)} IVA {(\u0111\xE3 bao g\u1ED3m IVA)} SST {(\u0111\xE3 bao g\u1ED3m SST)} KDV {(\u0111\xE3 bao g\u1ED3m KDV)} other {}}",alternativePriceAriaLabel:"Gi\xE1 \u01B0u \u0111\xE3i {alternativePrice}",strikethroughAriaLabel:"Gi\xE1 th\xF4ng th\u01B0\u1EDDng {strikethroughPrice}"},{lang:"th",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {/\u0E1B\u0E35} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0E15\u0E48\u0E2D\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {\u0E15\u0E48\u0E2D\u0E1B\u0E35} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",freeLabel:"\u0E1F\u0E23\u0E35",freeAriaLabel:"\u0E1F\u0E23\u0E35",taxExclusiveLabel:"{taxTerm, select, GST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 VAT} TAX {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 IVA} SST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 SST} KDV {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E23\u0E27\u0E21 VAT} TAX {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E23\u0E27\u0E21 IVA} SST {\u0E23\u0E27\u0E21 SST} KDV {\u0E23\u0E27\u0E21 KDV} other {}}",alternativePriceAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1E\u0E34\u0E40\u0E28\u0E29 {alternativePrice}",strikethroughAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1B\u0E01\u0E15\u0E34 {strikethroughPrice}"},{lang:"el",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u03BC\u03AE\u03BD\u03B1} YEAR {/\u03AD\u03C4\u03BF\u03C2} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u03BA\u03AC\u03B8\u03B5 \u03BC\u03AE\u03BD\u03B1} YEAR {\u03B1\u03BD\u03AC \u03AD\u03C4\u03BF\u03C2} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",freeLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",freeAriaLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",taxExclusiveLabel:"{taxTerm, select, GST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 GST)} VAT {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF)} IVA {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 IVA)} SST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 SST)} KDV {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 KDV)} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 GST)} VAT {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF\u03C5)} IVA {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 IVA)} SST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 SST)} KDV {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 KDV)} other {}}",alternativePriceAriaLabel:"\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03B5\u03C4\u03B9\u03BA\u03AC, {alternativePrice}",strikethroughAriaLabel:"\u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE {strikethroughPrice}"},{lang:"fil",recurrenceLabel:"{recurrenceTerm, select, MONTH {/buwan} YEAR {/taon} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per buwan} YEAR {per taon} other {}}",perUnitLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",freeLabel:"Libre",freeAriaLabel:"Libre",taxExclusiveLabel:"{taxTerm, select, GST {hindi kasama ang GST} VAT {hindi kasama ang VAT} TAX {hindi kasama ang Buwis} IVA {hindi kasama ang IVA} SST {hindi kasama ang SST} KDV {hindi kasama ang KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {kasama ang GST} VAT {kasama ang VAT} TAX {kasama ang Buwis} IVA {kasama ang IVA} SST {kasama ang SST} KDV {kasama ang KDV} other {}}",alternativePriceAriaLabel:"Alternatibong nasa halagang {alternativePrice}",strikethroughAriaLabel:"Regular na nasa halagang {strikethroughPrice}"},{lang:"ms",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",freeLabel:"Percuma",freeAriaLabel:"Percuma",taxExclusiveLabel:"{taxTerm, select, GST {kecuali GST} VAT {kecuali VAT} TAX {kecuali Cukai} IVA {kecuali IVA} SST {kecuali SST} KDV {kecuali KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk GST} VAT {termasuk VAT} TAX {termasuk Cukai} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Secara alternatif pada {alternativePrice}",strikethroughAriaLabel:"Biasanya pada {strikethroughPrice}"},{lang:"hi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u092E\u093E\u0939} YEAR {/\u0935\u0930\u094D\u0937} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per \u092E\u093E\u0939} YEAR {per \u0935\u0930\u094D\u0937} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",freeLabel:"\u092B\u093C\u094D\u0930\u0940",freeAriaLabel:"\u092B\u093C\u094D\u0930\u0940",taxExclusiveLabel:"{taxTerm, select, GST {GST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} VAT {VAT \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} TAX {\u0915\u0930 \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} IVA {IVA \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} SST {SST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} KDV {KDV \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u0938\u0939\u093F\u0924} VAT {VAT \u0938\u0939\u093F\u0924} TAX {\u0915\u0930 \u0938\u0939\u093F\u0924} IVA {IVA \u0938\u0939\u093F\u0924} SST {SST \u0938\u0939\u093F\u0924} KDV {KDV \u0938\u0939\u093F\u0924} other {}}",alternativePriceAriaLabel:"\u0935\u0948\u0915\u0932\u094D\u092A\u093F\u0915 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {alternativePrice}",strikethroughAriaLabel:"\u0928\u093F\u092F\u092E\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {strikethroughPrice}"},{lang:"iw",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:'{taxTerm, select, GST {\u05DC\u05DC\u05D0 GST} VAT {\u05DC\u05DC\u05D0 \u05DE\u05E2"\u05DE} TAX {\u05DC\u05DC\u05D0 \u05DE\u05E1} IVA {\u05DC\u05DC\u05D0 IVA} SST {\u05DC\u05DC\u05D0 SST} KDV {\u05DC\u05DC\u05D0 KDV} other {}}',taxInclusiveLabel:'{taxTerm, select, GST {\u05DB\u05D5\u05DC\u05DC GST} VAT {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E2"\u05DE} TAX {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E1} IVA {\u05DB\u05D5\u05DC\u05DC IVA} SST {\u05DB\u05D5\u05DC\u05DC SST} KDV {\u05DB\u05D5\u05DC\u05DC KDV} other {}}',alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"}],":type":"sheet"}});var _e;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(_e||(_e={}));var dt;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(dt||(dt={}));var Ne;(function(e){e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED"})(Ne||(Ne={}));var te;(function(e){e.V2="UCv2",e.V3="UCv3"})(te||(te={}));var F;(function(e){e.CHECKOUT="checkout",e.CHECKOUT_EMAIL="checkout/email",e.SEGMENTATION="segmentation",e.BUNDLE="bundle",e.COMMITMENT="commitment",e.RECOMMENDATION="recommendation",e.EMAIL="email",e.PAYMENT="payment",e.CHANGE_PLAN_TEAM_PLANS="change-plan/team-upgrade/plans",e.CHANGE_PLAN_TEAM_PAYMENT="change-plan/team-upgrade/payment"})(F||(F={}));var St=function(e){var t;return(t=Ti.get(e))!==null&&t!==void 0?t:e},Ti=new Map([["countrySpecific","cs"],["quantity","q"],["authCode","code"],["checkoutPromoCode","apc"],["rurl","rUrl"],["curl","cUrl"],["ctxrturl","ctxRtUrl"],["country","co"],["language","lang"],["clientId","cli"],["context","ctx"],["productArrangementCode","pa"],["offerType","ot"],["marketSegment","ms"]]);var Rr=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},kr=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a};function pe(e,t,r){var n,i;try{for(var a=Rr(Object.entries(e)),o=a.next();!o.done;o=a.next()){var s=kr(o.value,2),l=s[0],c=s[1],u=St(l);c!=null&&r.has(u)&&t.set(u,c)}}catch(h){n={error:h}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}function Ye(e){switch(e){case _e.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Xe(e,t){var r,n;for(var i in e){var a=e[i];try{for(var o=(r=void 0,Rr(Object.entries(a))),s=o.next();!s.done;s=o.next()){var l=kr(s.value,2),c=l[0],u=l[1];if(u!=null){var h=St(c);t.set("items["+i+"]["+h+"]",u)}}}catch(f){r={error:f}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}var Ai=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Hr(e){bi(e);var t=e.env,r=e.items,n=e.workflowStep,i=Ai(e,["env","items","workflowStep"]),a=new URL(Ye(t));return a.pathname=n+"/",Xe(r,a.searchParams),pe(i,a.searchParams,di),a.toString()}var di=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),Si=["env","workflowStep","clientId","country","items"];function bi(e){var t,r;try{for(var n=Ei(Si),i=n.next();!i.done;i=n.next()){var a=i.value;if(!e[a])throw new Error('Argument "checkoutData" is not valid, missing: '+a)}}catch(o){t={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!0}var xi=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Li="p_draft_landscape",vi="/store/";function xt(e){Pi(e);var t=e.env,r=e.items,n=e.workflowStep,i=e.ms,a=e.marketSegment,o=e.ot,s=e.offerType,l=e.pa,c=e.productArrangementCode,u=e.landscape,h=xi(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),f={marketSegment:a??i,offerType:s??o,productArrangementCode:c??l},p=new URL(Ye(t));return p.pathname=""+vi+n,n!==F.SEGMENTATION&&n!==F.CHANGE_PLAN_TEAM_PLANS&&Xe(r,p.searchParams),n===F.SEGMENTATION&&pe(f,p.searchParams,bt),pe(h,p.searchParams,bt),u===Ne.DRAFT&&pe({af:Li},p.searchParams,bt),p.toString()}var bt=new Set(["af","ai","apc","appctxid","cli","co","csm","ctx","ctxRtUrl","DCWATC","dp","fr","gsp","ijt","lang","lo","mal","ms","mv","mv2","nglwfdata","ot","otac","pa","pcid","promoid","q","rf","sc","scl","sdid","sid","spint","svar","th","thm","trackingid","usid","workflowid","context.guid","so.ca","so.su","so.tr","so.va"]),yi=["env","workflowStep","clientId","country"];function Pi(e){var t,r;try{for(var n=gi(yi),i=n.next();!i.done;i=n.next()){var a=i.value;if(!e[a])throw new Error('Argument "checkoutData" is not valid, missing: '+a)}}catch(o){t={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}if(e.workflowStep!==F.SEGMENTATION&&e.workflowStep!==F.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function gt(e,t){switch(e){case te.V2:return Hr(t);case te.V3:return xt(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),xt(t)}}var Lt;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(Lt||(Lt={}));var O;(function(e){e.MONTH="MONTH",e.YEAR="YEAR",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.PERPETUAL="PERPETUAL",e.TERM_LICENSE="TERM_LICENSE",e.ACCESS_PASS="ACCESS_PASS",e.THREE_MONTHS="THREE_MONTHS",e.SIX_MONTHS="SIX_MONTHS"})(O||(O={}));var _;(function(e){e.ANNUAL="ANNUAL",e.MONTHLY="MONTHLY",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.P1D="P1D",e.P1Y="P1Y",e.P3Y="P3Y",e.P10Y="P10Y",e.P15Y="P15Y",e.P3D="P3D",e.P7D="P7D",e.P30D="P30D",e.HALF_YEARLY="HALF_YEARLY",e.QUARTERLY="QUARTERLY"})(_||(_={}));var vt;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(vt||(vt={}));var yt;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(yt||(yt={}));var Pt;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(Pt||(Pt={}));var It;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(It||(It={}));var Dr="tacocat.js";var We=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),Ur=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function N(e,t={},{metadata:r=!0,search:n=!0,storage:i=!0}={}){let a;if(n&&a==null){let o=new URLSearchParams(window.location.search),s=me(n)?n:e;a=o.get(s)}if(i&&a==null){let o=me(i)?i:e;a=window.sessionStorage.getItem(o)??window.localStorage.getItem(o)}if(r&&a==null){let o=Ii(me(r)?r:e);a=document.documentElement.querySelector(`meta[name="${o}"]`)?.content}return a??t[e]}var Te=()=>{};var Mr=e=>typeof e=="boolean",Ce=e=>typeof e=="function",je=e=>typeof e=="number",Gr=e=>e!=null&&typeof e=="object";var me=e=>typeof e=="string",_t=e=>me(e)&&e,Ae=e=>je(e)&&Number.isFinite(e)&&e>0;function Ee(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function x(e,t){if(Mr(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function Q(e,t,r){let n=Object.values(t);return n.find(i=>We(i,e))??r??n[0]}function Ii(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function de(e,t=1){return je(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var _i=Date.now(),Nt=()=>`(+${Date.now()-_i}ms)`,ze=new Set,Ni=x(N("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function Br(e){let t=`[${Dr}/${e}]`,r=(o,s,...l)=>o?!0:(i(s,...l),!1),n=Ni?(o,...s)=>{console.debug(`${t} ${o}`,...s,Nt())}:()=>{},i=(o,...s)=>{let l=`${t} ${o}`;ze.forEach(([c])=>c(l,...s))};return{assert:r,debug:n,error:i,warn:(o,...s)=>{let l=`${t} ${o}`;ze.forEach(([,c])=>c(l,...s))}}}function Ci(e,t){let r=[e,t];return ze.add(r),()=>{ze.delete(r)}}Ci((e,...t)=>{console.error(e,...t,Nt())},(e,...t)=>{console.warn(e,...t,Nt())});var Vi="no promo",Fr="promo-tag",Oi="yellow",wi="neutral",Ri=(e,t,r)=>{let n=a=>a||Vi,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},ki="cancel-context",Ve=(e,t)=>{let r=e===ki,n=!r&&e?.length>0,i=(n||r)&&(t&&t!=e||!t&&!r),a=i&&n||!i&&!!t,o=a?e||t:void 0;return{effectivePromoCode:o,overridenPromoCode:e,className:a?Fr:`${Fr} no-promo`,text:Ri(o,t,i),variant:a?Oi:wi,isOverriden:i}};var Ct="ABM",Vt="PUF",Ot="M2M",wt="PERPETUAL",Rt="P3Y",Hi="TAX_INCLUSIVE_DETAILS",Di="TAX_EXCLUSIVE",Kr={ABM:Ct,PUF:Vt,M2M:Ot,PERPETUAL:wt,P3Y:Rt},ts={[Ct]:{commitment:O.YEAR,term:_.MONTHLY},[Vt]:{commitment:O.YEAR,term:_.ANNUAL},[Ot]:{commitment:O.MONTH,term:_.MONTHLY},[wt]:{commitment:O.PERPETUAL,term:void 0},[Rt]:{commitment:O.THREE_MONTHS,term:_.P3Y}},Yr="Value is not an offer",$e=e=>{if(typeof e!="object")return Yr;let{commitment:t,term:r}=e,n=Ui(t,r);return{...e,planType:n}};var Ui=(e,t)=>{switch(e){case void 0:return Yr;case"":return"";case O.YEAR:return t===_.MONTHLY?Ct:t===_.ANNUAL?Vt:"";case O.MONTH:return t===_.MONTHLY?Ot:"";case O.PERPETUAL:return wt;case O.TERM_LICENSE:return t===_.P3Y?Rt:"";default:return""}};function kt(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:a,taxDisplay:o}=t;if(o!==Hi)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:a??n,taxDisplay:Di}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var Ht=function(e,t){return Ht=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Ht(e,t)};function Oe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ht(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var d=function(){return d=Object.assign||function(t){for(var r,n=1,i=arguments.length;n0}),r=[],n=0,i=t;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Bi,function(l,c,u,h,f,p){if(c)t.minimumIntegerDigits=u.length;else{if(h&&f)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(en.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if($r.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace($r,function(l,c,u,h,f,p){return u==="*"?t.minimumFractionDigits=c.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:f&&p?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+p.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var a=i.options[0];a==="w"?t=d(d({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=d(d({},t),qr(a)));continue}if(Qr.test(i.stem)){t=d(d({},t),qr(i.stem));continue}var o=tn(i.stem);o&&(t=d(d({},t),o));var s=Fi(i.stem);s&&(t=d(d({},t),s))}return t}var Re={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function nn(e,t){for(var r="",n=0;n>1),l="a",c=Ki(t);for((c=="H"||c=="k")&&(s=0);s-- >0;)r+=l;for(;o-- >0;)r=c+r}else i==="J"?r+="H":r+=i}return r}function Ki(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Re[n||""]||Re[r||""]||Re["".concat(r,"-001")]||Re["001"];return i[0]}var Mt,Yi=new RegExp("^".concat(Ut.source,"*")),Xi=new RegExp("".concat(Ut.source,"*$"));function S(e,t){return{start:e,end:t}}var Wi=!!String.prototype.startsWith,ji=!!String.fromCodePoint,zi=!!Object.fromEntries,$i=!!String.prototype.codePointAt,qi=!!String.prototype.trimStart,Zi=!!String.prototype.trimEnd,Ji=!!Number.isSafeInteger,Qi=Ji?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Bt=!0;try{an=cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Bt=((Mt=an.exec("a"))===null||Mt===void 0?void 0:Mt[0])==="a"}catch{Bt=!1}var an,on=Wi?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ft=ji?String.fromCodePoint:function(){for(var t=[],r=0;ra;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},sn=zi?Object.fromEntries:function(t){for(var r={},n=0,i=t;n=n)){var i=t.charCodeAt(r),a;return i<55296||i>56319||r+1===n||(a=t.charCodeAt(r+1))<56320||a>57343?i:(i-55296<<10)+(a-56320)+65536}},ea=qi?function(t){return t.trimStart()}:function(t){return t.replace(Yi,"")},ta=Zi?function(t){return t.trimEnd()}:function(t){return t.replace(Xi,"")};function cn(e,t){return new RegExp(e,t)}var Kt;Bt?(Gt=cn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Kt=function(t,r){var n;Gt.lastIndex=r;var i=Gt.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):Kt=function(t,r){for(var n=[];;){var i=ln(t,r);if(i===void 0||hn(i)||ia(i))break;n.push(i),r+=i>=65536?2:1}return Ft.apply(void 0,n)};var Gt,un=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:y.pound,location:S(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(E.UNMATCHED_CLOSING_TAG,S(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Yt(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:y.literal,value:"<".concat(i,"/>"),location:S(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var a=this.parseMessage(t+1,r,!0);if(a.err)return a;var o=a.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:y.tag,value:i,children:o,location:S(n,this.clonePosition())},err:null}:this.error(E.INVALID_TAG,S(s,this.clonePosition())))}else return this.error(E.UNCLOSED_TAG,S(n,this.clonePosition()))}else return this.error(E.INVALID_TAG,S(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&na(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=S(n,this.clonePosition());return{val:{type:y.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ra(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Ft.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Ft(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(E.EMPTY_ARGUMENT,S(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(E.MALFORMED_ARGUMENT,S(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:y.argument,value:i,location:S(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(E.MALFORMED_ARGUMENT,S(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Kt(this.message,r),i=r+n.length;this.bumpTo(i);var a=this.clonePosition(),o=S(t,a);return{value:n,location:o}},e.prototype.parseArgumentOptions=function(t,r,n,i){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,l=this.clonePosition();switch(s){case"":return this.error(E.EXPECT_ARGUMENT_TYPE,S(o,l));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var f=ta(h.val);if(f.length===0)return this.error(E.EXPECT_ARGUMENT_STYLE,S(this.clonePosition(),this.clonePosition()));var p=S(u,this.clonePosition());c={style:f,styleLocation:p}}var m=this.tryParseArgumentClose(i);if(m.err)return m;var T=S(i,this.clonePosition());if(c&&on(c?.style,"::",0)){var L=ea(c.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(L,c.styleLocation);return h.err?h:{val:{type:y.number,value:n,location:T,style:h.val},err:null}}else{if(L.length===0)return this.error(E.EXPECT_DATE_TIME_SKELETON,T);var P=L;this.locale&&(P=nn(L,this.locale));var f={type:re.dateTime,pattern:P,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?jr(P):{}},A=s==="date"?y.date:y.time;return{val:{type:A,value:n,location:T,style:f},err:null}}}return{val:{type:s==="number"?y.number:s==="date"?y.date:y.time,value:n,location:T,style:(a=c?.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var b=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS,S(b,d({},b)));this.bumpSpace();var I=this.parseIdentifierIfPossible(),C=0;if(s!=="select"&&I.value==="offset"){if(!this.bumpIf(":"))return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S(this.clonePosition(),this.clonePosition()));this.bumpSpace();var h=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(h.err)return h;this.bumpSpace(),I=this.parseIdentifierIfPossible(),C=h.val}var w=this.tryParsePluralOrSelectOptions(t,s,r,I);if(w.err)return w;var m=this.tryParseArgumentClose(i);if(m.err)return m;var V=S(i,this.clonePosition());return s==="select"?{val:{type:y.select,value:n,options:sn(w.val),location:V},err:null}:{val:{type:y.plural,value:n,options:sn(w.val),offset:C,pluralType:s==="plural"?"cardinal":"ordinal",location:V},err:null}}default:return this.error(E.INVALID_ARGUMENT_TYPE,S(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,S(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Jr(t)}catch{return this.error(E.INVALID_NUMBER_SKELETON,r)}return{val:{type:re.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?rn(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,o=!1,s=[],l=new Set,c=i.value,u=i.location;;){if(c.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR,E.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=S(h,this.clonePosition()),c=this.message.slice(h.offset,this.offset())}else break}if(l.has(c))return this.error(r==="select"?E.DUPLICATE_SELECT_ARGUMENT_SELECTOR:E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);c==="other"&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,S(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,r,n);if(m.err)return m;var T=this.tryParseArgumentClose(p);if(T.err)return T;s.push([c,{value:m.val,location:S(p,this.clonePosition())}]),l.add(c),this.bumpSpace(),a=this.parseIdentifierIfPossible(),c=a.value,u=a.location}return s.length===0?this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR:E.EXPECT_PLURAL_ARGUMENT_SELECTOR,S(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(E.MISSING_OTHER_CLAUSE,S(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var l=S(i,this.clonePosition());return a?(o*=n,Qi(o)?{val:o,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=ln(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(on(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.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 r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&hn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function Yt(e){return e>=97&&e<=122||e>=65&&e<=90}function ra(e){return Yt(e)||e===47}function na(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function hn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ia(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Xt(e){e.forEach(function(t){if(delete t.location,et(t)||tt(t))for(var r in t.options)delete t.options[r].location,Xt(t.options[r].value);else Ze(t)&&nt(t.style)||(Je(t)||Qe(t))&&we(t.style)?delete t.style.location:rt(t)&&Xt(t.children)})}function fn(e,t){t===void 0&&(t={}),t=d({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new un(e,t).parse();if(r.err){var n=SyntaxError(E[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Xt(r.val),r.val}function ke(e,t){var r=t&&t.cache?t.cache:ua,n=t&&t.serializer?t.serializer:ca,i=t&&t.strategy?t.strategy:oa;return i(e,{cache:r,serializer:n})}function aa(e){return e==null||typeof e=="number"||typeof e=="boolean"}function pn(e,t,r,n){var i=aa(n)?n:r(n),a=t.get(i);return typeof a>"u"&&(a=e.call(this,n),t.set(i,a)),a}function mn(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,n),t.set(i,a)),a}function Wt(e,t,r,n,i){return r.bind(t,e,n,i)}function oa(e,t){var r=e.length===1?pn:mn;return Wt(e,this,r,t.cache.create(),t.serializer)}function sa(e,t){return Wt(e,this,mn,t.cache.create(),t.serializer)}function la(e,t){return Wt(e,this,pn,t.cache.create(),t.serializer)}var ca=function(){return JSON.stringify(arguments)};function jt(){this.cache=Object.create(null)}jt.prototype.get=function(e){return this.cache[e]};jt.prototype.set=function(e,t){this.cache[e]=t};var ua={create:function(){return new jt}},it={variadic:sa,monadic:la};var ne;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(ne||(ne={}));var He=function(e){Oe(t,e);function t(r,n,i){var a=e.call(this,r)||this;return a.code=n,a.originalMessage=i,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var zt=function(e){Oe(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),ne.INVALID_VALUE,a)||this}return t}(He);var Tn=function(e){Oe(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),ne.INVALID_VALUE,i)||this}return t}(He);var An=function(e){Oe(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),ne.MISSING_VALUE,n)||this}return t}(He);var k;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(k||(k={}));function ha(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==k.literal||r.type!==k.literal?t.push(r):n.value+=r.value,t},[])}function fa(e){return typeof e=="function"}function De(e,t,r,n,i,a,o){if(e.length===1&&Dt(e[0]))return[{type:k.literal,value:e[0].value}];for(var s=[],l=0,c=e;l0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=ln,e.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"}}},e}();var mn=pn;var ha=/[0-9\-+#]/,fa=/[^\d\-+#]/g;function Tn(e){return e.search(ha)}function pa(e="#.##"){let t={},r=e.length,n=Tn(e);t.prefix=n>0?e.substring(0,n):"";let i=Tn(e.split("").reverse().join("")),a=r-i,o=e.substring(a,a+1),s=a+(o==="."||o===","?1:0);t.suffix=i>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let l=t.mask.match(fa);return t.decimal=l&&l[l.length-1]||".",t.separator=l&&l[1]&&l[0]||",",l=t.mask.split(t.decimal),t.integer=l[0],t.fraction=l[1],t}function ma(e,t,r){let n=!1,i={value:e};e<0&&(n=!0,i.value=-i.value),i.sign=n?"-":"",i.value=Number(i.value).toFixed(t.fraction&&t.fraction.length),i.value=Number(i.value).toString();let a=t.fraction&&t.fraction.lastIndexOf("0"),[o="0",s=""]=i.value.split(".");return(!s||s&&s.length<=a)&&(s=a<0?"":(+("0."+s)).toFixed(a+1).replace("0.","")),i.integer=o,i.fraction=s,Ta(i,t),(i.result==="0"||i.result==="")&&(n=!1,i.sign=""),!n&&t.maskHasPositiveSign?i.sign="+":n&&t.maskHasPositiveSign?i.sign="-":n&&(i.sign=r&&r.enforceMaskSign&&!t.maskHasNegativeSign?"":"-"),i}function Ta(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),i=n&&n.indexOf("0");if(i>-1)for(;e.integer.length({accept:e,round:t}),Sa=[jt(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),jt(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),jt(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],zt={[w.YEAR]:{[_.MONTHLY]:Re.MONTH,[_.ANNUAL]:Re.YEAR},[w.MONTH]:{[_.MONTHLY]:Re.MONTH}},ba=(e,t)=>e.indexOf(`'${t}'`)===0,xa=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=gn(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+La(e)),r},ga=e=>{let t=va(e),r=ba(e,t),n=e.replace(/'.*?'/,""),i=Sn.test(n)||bn.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},xn=e=>e.replace(Sn,dn).replace(bn,dn),La=e=>e.match(/#(.?)#/)?.[1]===En?Ea:En,va=e=>e.match(/'(.*?)'/)?.[1]??"",gn=e=>e.match(/0(.?)0/)?.[1]??"";function rt({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,a=o=>o){let{currencySymbol:o,isCurrencyFirst:s,hasCurrencySpace:l}=ga(e),c=r?gn(e):"",u=xa(e,r),h=r?2:0,f=a(t,{currencySymbol:o}),p=n?f.toLocaleString("hi-IN",{minimumFractionDigits:h,maximumFractionDigits:h}):An(u,f),m=r?p.lastIndexOf(c):p.length,T=p.substring(0,m),v=p.substring(m+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,p).replace(/SYMBOL/,o),currencySymbol:o,decimals:v,decimalsDelimiter:c,hasCurrencySpace:l,integer:T,isCurrencyFirst:s,recurrenceTerm:i}}var Ln=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=da[r]??1;return rt(e,i>1?Re.MONTH:zt[t]?.[r],a=>{let o={divisor:i,price:a,usePrecision:n},{round:s}=Sa.find(({accept:l})=>l(o));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(o)}`);return s(o)})},vn=({commitment:e,term:t,...r})=>rt(r,zt[e]?.[t]),yn=e=>{let{commitment:t,term:r}=e;return t===w.YEAR&&r===_.MONTHLY?rt(e,Re.YEAR,n=>n*12):rt(e,zt[t]?.[r])};var ya={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},Pa=Dr("ConsonantTemplates/price"),Ia=/<\/?[^>]+(>|$)/g,R={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},oe={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},_a="TAX_EXCLUSIVE",Na=e=>Hr(e)?Object.entries(e).filter(([,t])=>Ae(t)||Ye(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Rr(n)+'"'}`,""):"",H=(e,t,r,n=!1)=>`${n?xn(t):t??""}`;function Ca(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:a,integer:o,isCurrencyFirst:s,recurrenceLabel:l,perUnitLabel:c,taxInclusivityLabel:u},h={}){let f=H(R.currencySymbol,r),p=H(R.currencySpace,a?" ":""),m="";return s&&(m+=f+p),m+=H(R.integer,o),m+=H(R.decimalsDelimiter,i),m+=H(R.decimals,n),s||(m+=p+f),m+=H(R.recurrence,l,null,!0),m+=H(R.unitType,c,null,!0),m+=H(R.taxInclusivity,u,!0),H(e,m,{...h,"aria-label":t})}var U=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1}={})=>({country:n,displayFormatted:i=!0,displayRecurrence:a=!0,displayPerUnit:o=!1,displayTax:s=!1,language:l,literals:c={}}={},{commitment:u,offerSelectorIds:h,formatString:f,price:p,priceWithoutDiscount:m,taxDisplay:T,taxTerm:v,term:P,usePrecision:A}={},b={})=>{Object.entries({country:n,formatString:f,language:l,price:p}).forEach(([$,pt])=>{if(pt==null)throw new Error(`Argument "${$}" is missing for osi ${h?.toString()}, country ${n}, language ${l}`)});let I={...ya,...c},C=`${l.toLowerCase()}-${n.toUpperCase()}`;function V($,pt){let mt=I[$];if(mt==null)return"";try{return new mn(mt.replace(Ia,""),C).format(pt)}catch{return Pa.error("Failed to format literal:",mt),""}}let O=t&&m?m:p,j=e?Ln:vn;r&&(j=yn);let{accessiblePrice:fe,recurrenceTerm:te,...pe}=j({commitment:u,formatString:f,term:P,price:e?p:O,usePrecision:A,isIndianPrice:n==="IN"}),B=fe,J="";if(x(a)&&te){let $=V(oe.recurrenceAriaLabel,{recurrenceTerm:te});$&&(B+=" "+$),J=V(oe.recurrenceLabel,{recurrenceTerm:te})}let z="";if(x(o)){z=V(oe.perUnitLabel,{perUnit:"LICENSE"});let $=V(oe.perUnitAriaLabel,{perUnit:"LICENSE"});$&&(B+=" "+$)}let F="";x(s)&&v&&(F=V(T===_a?oe.taxExclusiveLabel:oe.taxInclusiveLabel,{taxTerm:v}),F&&(B+=" "+F)),t&&(B=V(oe.strikethroughAriaLabel,{strikethroughPrice:B}));let re=R.container;if(e&&(re+=" "+R.containerOptical),t&&(re+=" "+R.containerStrikethrough),r&&(re+=" "+R.containerAnnual),x(i))return Ca(re,{...pe,accessibleLabel:B,recurrenceLabel:J,perUnitLabel:z,taxInclusivityLabel:F},b);let{currencySymbol:yr,decimals:zn,decimalsDelimiter:$n,hasCurrencySpace:Pr,integer:qn,isCurrencyFirst:Zn}=pe,me=[qn,$n,zn];Zn?(me.unshift(Pr?"\xA0":""),me.unshift(yr)):(me.push(Pr?"\xA0":""),me.push(yr)),me.push(J,z,F);let Jn=me.join("");return H(re,Jn,b)},Pn=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||x(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${U()(e,t,r)}${i?" "+U({displayStrikethrough:!0})(e,t,r):""}`},In=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||x(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?U({displayStrikethrough:!0})(n,t,r)+" ":""}${U()(e,t,r)}${H(R.containerAnnualPrefix," (")}${U({displayAnnual:!0})(n,t,r)}${H(R.containerAnnualSuffix,")")}`},_n=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${U()(e,t,r)}${H(R.containerAnnualPrefix," (")}${U({displayAnnual:!0})(n,t,r)}${H(R.containerAnnualSuffix,")")}`};var $t=U(),qt=Pn(),Zt=U({displayOptical:!0}),Jt=U({displayStrikethrough:!0}),Qt=U({displayAnnual:!0}),er=_n(),tr=In();var Va=(e,t)=>{if(!(!de(e)||!de(t)))return Math.floor((t-e)/t*100)},Nn=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Va(r,n);return i===void 0?'':`${i}%`};var rr=Nn();var{freeze:ke}=Object,K=ke({...ne}),Y=ke({...G}),se={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},nr=ke({...w}),ir=ke({...Mr}),ar=ke({..._});var Er={};oi(Er,{CLASS_NAME_FAILED:()=>or,CLASS_NAME_HIDDEN:()=>wa,CLASS_NAME_PENDING:()=>sr,CLASS_NAME_RESOLVED:()=>lr,ERROR_MESSAGE_BAD_REQUEST:()=>nt,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>Za,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>cr,EVENT_AEM_ERROR:()=>za,EVENT_AEM_LOAD:()=>ja,EVENT_MAS_ERROR:()=>qa,EVENT_MAS_READY:()=>$a,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Ua,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>Xa,EVENT_MERCH_CARD_COLLECTION_SORT:()=>Ya,EVENT_MERCH_CARD_READY:()=>Da,EVENT_MERCH_OFFER_READY:()=>ka,EVENT_MERCH_OFFER_SELECT_READY:()=>Ha,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>Fa,EVENT_MERCH_SEARCH_CHANGE:()=>Ka,EVENT_MERCH_SIDENAV_SELECT:()=>Wa,EVENT_MERCH_STOCK_CHANGE:()=>Ga,EVENT_MERCH_STORAGE_CHANGE:()=>Ba,EVENT_OFFER_SELECTED:()=>Ma,EVENT_TYPE_FAILED:()=>ur,EVENT_TYPE_READY:()=>xe,EVENT_TYPE_RESOLVED:()=>hr,LOG_NAMESPACE:()=>fr,Landscape:()=>le,NAMESPACE:()=>Oa,PARAM_AOS_API_KEY:()=>Ja,PARAM_ENV:()=>pr,PARAM_LANDSCAPE:()=>mr,PARAM_WCS_API_KEY:()=>Qa,STATE_FAILED:()=>q,STATE_PENDING:()=>ee,STATE_RESOLVED:()=>Z,TAG_NAME_SERVICE:()=>Ra,WCS_PROD_URL:()=>Tr,WCS_STAGE_URL:()=>Ar});var Oa="merch",wa="hidden",xe="wcms:commerce:ready",Ra="mas-commerce-service",ka="merch-offer:ready",Ha="merch-offer-select:ready",Da="merch-card:ready",Ua="merch-card:action-menu-toggle",Ma="merch-offer:selected",Ga="merch-stock:change",Ba="merch-storage:change",Fa="merch-quantity-selector:change",Ka="merch-search:change",Ya="merch-card-collection:sort",Xa="merch-card-collection:showmore",Wa="merch-sidenav:select",ja="aem:load",za="aem:error",$a="mas:ready",qa="mas:error",or="placeholder-failed",sr="placeholder-pending",lr="placeholder-resolved",nt="Bad WCS request",cr="Commerce offer not found",Za="Literals URL not provided",ur="mas:failed",hr="mas:resolved",fr="mas/commerce",pr="commerce.env",mr="commerce.landscape",Ja="commerce.aosKey",Qa="commerce.wcsKey",Tr="https://www.adobe.com/web_commerce_artifact",Ar="https://www.stage.adobe.com/web_commerce_artifact_stage",q="failed",ee="pending",Z="resolved",le={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Cn="mas-commerce-service";function Vn(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(Cn);i!==r&&(r=i,i&&e(i))}return document.addEventListener(xe,n,{once:t}),ce(n),()=>document.removeEventListener(xe,n)}function He(e,{country:t,forceTaxExclusive:r,perpetual:n}){let i;if(e.length<2)i=e;else{let a=t==="GB"||n?"EN":"MULT",[o,s]=e;i=[o.language===a?o:s]}return r&&(i=i.map(Ot)),i}var ce=e=>window.setTimeout(e);function ge(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(be).filter(de);return r.length||(r=[t]),r}function it(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(yt)}function M(){return document.getElementsByTagName(Cn)?.[0]}var ue={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},On=1e3,wn=new Set;function eo(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function Rn(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:i,status:a}=e;return[n,a,i].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!ue.serializableTypes.includes(r))return r}return e}function to(e,t){if(!ue.ignoredProperties.includes(e))return Rn(t)}var dr={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],a=t;r.forEach(c=>{c!=null&&(eo(c)?n:i).push(c)}),n.length&&(a+=" "+n.map(Rn).join(" "));let{pathname:o,search:s}=window.location,l=`${ue.delimiter}page=${o}${s}`;l.length>On&&(l=`${l.slice(0,On)}`),a+=l,i.length&&(a+=`${ue.delimiter}facts=`,a+=JSON.stringify(i,to)),wn.has(a)||(wn.add(a),window.lana?.log(a,ue))}};function at(e){Object.assign(ue,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in ue&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var g=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:K.V3,checkoutWorkflowStep:Y.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:se.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsBufferDelay:1,wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:le.PUBLISHED,wcsBufferLimit:1});var Sr=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function ro({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||g.language),t??(t=e?.split("_")?.[1]||g.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function br(e={}){let{commerce:t={}}=e,r=se.PRODUCTION,n=Tr,i=N("checkoutClientId",t)??g.checkoutClientId,a=Q(N("checkoutWorkflow",t),K,g.checkoutWorkflow),o=Y.CHECKOUT;a===K.V3&&(o=Q(N("checkoutWorkflowStep",t),Y,g.checkoutWorkflowStep));let s=x(N("displayOldPrice",t),g.displayOldPrice),l=x(N("displayPerUnit",t),g.displayPerUnit),c=x(N("displayRecurrence",t),g.displayRecurrence),u=x(N("displayTax",t),g.displayTax),h=x(N("entitlement",t),g.entitlement),f=x(N("modal",t),g.modal),p=x(N("forceTaxExclusive",t),g.forceTaxExclusive),m=N("promotionCode",t)??g.promotionCode,T=ge(N("quantity",t)),v=N("wcsApiKey",t)??g.wcsApiKey,P=t?.env==="stage",A=le.PUBLISHED;["true",""].includes(t.allowOverride)&&(P=(N(pr,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",A=Q(N(mr,t),le,A)),P&&(r=se.STAGE,n=Ar);let I=be(N("wcsBufferDelay",t),g.wcsBufferDelay),C=be(N("wcsBufferLimit",t),g.wcsBufferLimit);return{...ro(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:a,checkoutWorkflowStep:o,displayPerUnit:l,displayRecurrence:c,displayTax:u,entitlement:h,extraOptions:g.extraOptions,modal:f,env:r,forceTaxExclusive:p,promotionCode:m,quantity:T,wcsApiKey:v,wcsBufferDelay:I,wcsBufferLimit:C,wcsURL:n,landscape:A}}var xr={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},no=Date.now(),gr=new Set,Lr=new Set,kn=new Map,Hn={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},Dn={filter:({level:e})=>e!==xr.DEBUG},io={filter:()=>!1};function ao(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Pe(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-no}}function oo(e){[...Lr].every(t=>t(e))&&gr.forEach(t=>t(e))}function Un(e){let t=(kn.get(e)??0)+1;kn.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>Un(`${n.namespace}/${i}`),updateConfig:at};return Object.values(xr).forEach(i=>{n[i]=(a,...o)=>oo(ao(i,a,e,o,r))}),Object.seal(n)}function ot(...e){e.forEach(t=>{let{append:r,filter:n}=t;Pe(n)&&Lr.add(n),Pe(r)&&gr.add(r)})}function so(e={}){let{name:t}=e,r=x(N("commerce.debug",{search:!0,storage:!0}),t===Sr.LOCAL);return ot(r?Hn:Dn),t===Sr.PROD&&ot(dr),D}function lo(){gr.clear(),Lr.clear()}var D={...Un(fr),Level:xr,Plugins:{consoleAppender:Hn,debugFilter:Dn,quietFilter:io,lanaAppender:dr},init:so,reset:lo,use:ot};var co={[q]:or,[ee]:sr,[Z]:lr},uo={[q]:ur,[Z]:hr},Le=class{constructor(t){L(this,"changes",new Map);L(this,"connected",!1);L(this,"dispose",Ee);L(this,"error");L(this,"log");L(this,"options");L(this,"promises",[]);L(this,"state",ee);L(this,"timer",null);L(this,"value");L(this,"version",0);L(this,"wrapperElement");this.wrapperElement=t}update(){[q,ee,Z].forEach(t=>{this.wrapperElement.classList.toggle(co[t],t===this.state)})}notify(){(this.state===Z||this.state===q)&&(this.state===Z?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===q&&this.promises.forEach(({reject:t})=>t(this.error)),this.promises=[]),this.wrapperElement.dispatchEvent(new CustomEvent(uo[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=Vn(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=Ee}onceSettled(){let{error:t,promises:r,state:n}=this;return Z===n?Promise.resolve(this.wrapperElement):q===n?Promise.reject(t):new Promise((i,a)=>{r.push({resolve:i,reject:a})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=Z,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),ce(()=>this.notify()),!0)}toggleFailed(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.error=r,this.state=q,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),ce(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=ee,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!M()||this.timer)return;let r=D.module("mas-element"),{error:n,options:i,state:a,value:o,version:s}=this;this.state=ee,this.timer=ce(async()=>{this.timer=null;let l=null;if(this.changes.size&&(l=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:l}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:l})),l||t)try{await this.wrapperElement.render?.()===!1&&this.state===ee&&this.version===s&&(this.state=a,this.error=n,this.value=o,this.update(),this.notify())}catch(c){r.error("Failed to render mas-element: ",c),this.toggleFailed(this.version,c,i)}})}};function Mn(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function st(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,Mn(t)),i}function lt(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,Mn(t)),e):null}var ho="download",fo="upgrade";function ct(e,t={},r=""){let n=M();if(!n)return null;let{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:l,modal:c,perpetual:u,promotionCode:h,quantity:f,wcsOsi:p,extraOptions:m}=n.collectCheckoutOptions(t),T=st(e,{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:l,modal:c,perpetual:u,promotionCode:h,quantity:f,wcsOsi:p,extraOptions:m});return r&&(T.innerHTML=`${r}`),T}function ut(e){return class extends e{constructor(){super(...arguments);L(this,"checkoutActionHandler");L(this,"masElement",new Le(this))}attributeChangedCallback(n,i,a){this.masElement.attributeChangedCallback(n,i,a)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){if(!this.isConnected)return!1;let i=M();if(!i)return!1;this.dataset.imsCountry||i.imsCountryPromise.then(h=>{h&&(this.dataset.imsCountry=h)},Ee),n.imsCountry=null;let a=i.collectCheckoutOptions(n,this);if(!a.wcsOsi.length)return!1;let o;try{o=JSON.parse(a.extraOptions??"{}")}catch(h){this.masElement.log?.error("cannot parse exta checkout options",h)}let s=this.masElement.togglePending(a);this.setCheckoutUrl("");let l=i.resolveOfferSelectors(a),c=await Promise.all(l);c=c.map(h=>He(h,a)),a.country=this.dataset.imsCountry||a.country;let u=await i.buildCheckoutAction?.(c.flat(),{...o,...a},this);return this.renderOffers(c.flat(),a,{},u,s)}renderOffers(n,i,a={},o=void 0,s=void 0){if(!this.isConnected)return!1;let l=M();if(!l)return!1;if(i={...JSON.parse(this.dataset.extraOptions??"null"),...i,...a},s??(s=this.masElement.togglePending(i)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0),o){this.classList.remove(ho,fo),this.masElement.toggleResolved(s,n,i);let{url:u,text:h,className:f,handler:p}=o;return u&&this.setCheckoutUrl(u),h&&(this.firstElementChild.innerHTML=h),f&&this.classList.add(...f.split(" ")),p&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=p.bind(this)),!0}else if(n.length){if(this.masElement.toggleResolved(s,n,i)){let u=l.buildCheckoutURL(n,i);return this.setCheckoutUrl(u),!0}}else{let u=new Error(`Not provided: ${i?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,u,i))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let i=M();if(!i)return!1;let{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:u,perpetual:h,promotionCode:f,quantity:p,wcsOsi:m}=i.collectCheckoutOptions(n);return lt(this,{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:u,perpetual:h,promotionCode:f,quantity:p,wcsOsi:m}),!0}}}var De=class De extends ut(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return ct(De,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};L(De,"is","checkout-link"),L(De,"tag","a");var X=De;window.customElements.get(X.is)||window.customElements.define(X.is,X,{extends:X.tag});var Ue=class Ue extends ut(HTMLButtonElement){static createCheckoutButton(t={},r=""){return ct(Ue,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};L(Ue,"is","checkout-button"),L(Ue,"tag","button");var he=Ue;window.customElements.get(he.is)||window.customElements.define(he.is,he,{extends:he.tag});function Gn({providers:e,settings:t}){function r(a,o){let{checkoutClientId:s,checkoutWorkflow:l,checkoutWorkflowStep:c,country:u,language:h,promotionCode:f,quantity:p}=t,{checkoutMarketSegment:m,checkoutWorkflow:T=l,checkoutWorkflowStep:v=c,imsCountry:P,country:A=P??u,language:b=h,quantity:I=p,entitlement:C,upgrade:V,modal:O,perpetual:j,promotionCode:fe=f,wcsOsi:te,extraOptions:pe,...B}=Object.assign({},o?.dataset??{},a??{}),J=Q(T,K,g.checkoutWorkflow),z=Y.CHECKOUT;J===K.V3&&(z=Q(v,Y,g.checkoutWorkflowStep));let F=Se({...B,extraOptions:pe,checkoutClientId:s,checkoutMarketSegment:m,country:A,quantity:ge(I,g.quantity),checkoutWorkflow:J,checkoutWorkflowStep:z,language:b,entitlement:x(C),upgrade:x(V),modal:x(O),perpetual:x(j),promotionCode:Ie(fe).effectivePromoCode,wcsOsi:it(te)});if(o)for(let re of e.checkout)re(o,F);return F}function n(a,o){if(!Array.isArray(a)||!a.length||!o)return"";let{env:s,landscape:l}=t,{checkoutClientId:c,checkoutMarketSegment:u,checkoutWorkflow:h,checkoutWorkflowStep:f,country:p,promotionCode:m,quantity:T,...v}=r(o),P=window.frameElement?"if":"fp",A={checkoutPromoCode:m,clientId:c,context:P,country:p,env:s,items:[],marketSegment:u,workflowStep:f,landscape:l,...v};if(a.length===1){let[{offerId:b,offerType:I,productArrangementCode:C}]=a,{marketSegments:[V]}=a[0];Object.assign(A,{marketSegment:V,offerType:I,productArrangementCode:C}),A.items.push(T[0]===1?{id:b}:{id:b,quantity:T[0]})}else A.items.push(...a.map(({offerId:b},I)=>({id:b,quantity:T[I]??g.quantity})));return St(h,A)}let{createCheckoutLink:i}=X;return{CheckoutLink:X,CheckoutWorkflow:K,CheckoutWorkflowStep:Y,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function po({interval:e=200,maxAttempts:t=25}={}){let r=D.module("ims");return new Promise(n=>{r.debug("Waing for IMS to be ready");let i=0;function a(){window.adobeIMS?.initialized?n():++i>t?(r.debug("Timeout"),n()):setTimeout(a,e)}a()})}function mo(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function To(e){let t=D.module("ims");return e.then(r=>r?window.adobeIMS.getProfile().then(({countryCode:n})=>(t.debug("Got user country:",n),n),n=>{t.error("Unable to get user country:",n)}):null)}function Bn({}){let e=po(),t=mo(e),r=To(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function Kn(e,t){let{data:r}=t||await Promise.resolve().then(()=>li(Fn(),1));if(Array.isArray(r)){let n=a=>r.find(o=>Ke(o.lang,a)),i=n(e.language)??n(g.language);if(i)return Object.freeze(i)}return{}}var Yn=["GB_en","AU_en","FR_fr","AT_de","BE_en","BE_fr","BE_nl","BG_bg","CH_de","CH_fr","CH_it","CZ_cs","DE_de","DK_da","EE_et","EG_ar","EG_en","ES_es","FI_fi","FR_fr","GR_el","GR_en","HU_hu","IE_en","IT_it","LU_de","LU_en","LU_fr","NL_nl","NO_nb","PL_pl","PT_pt","RO_ro","SE_sv","SI_sl","SK_sk","TR_tr","UA_uk","ID_en","ID_in","IN_en","IN_hi","JP_ja","MY_en","MY_ms","NZ_en","TH_en","TH_th"],Eo={INDIVIDUAL_COM:["ZA_en","LT_lt","LV_lv","NG_en","SA_ar","SA_en","ZA_en","SG_en","KR_ko"],TEAM_COM:["ZA_en","LT_lt","LV_lv","NG_en","ZA_en","CO_es","KR_ko"],INDIVIDUAL_EDU:["LT_lt","LV_lv","SA_en","SG_en"],TEAM_EDU:["SG_en","KR_ko"]},Me=class Me extends HTMLSpanElement{constructor(){super();L(this,"masElement",new Le(this));this.handleClick=this.handleClick.bind(this)}static get observedAttributes(){return["data-display-old-price","data-display-per-unit","data-display-recurrence","data-display-tax","data-perpetual","data-promotion-code","data-tax-exclusive","data-template","data-wcs-osi"]}static createInlinePrice(r){let n=M();if(!n)return null;let{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p}=n.collectPriceOptions(r);return st(Me,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p})}get isInlinePrice(){return!0}attributeChangedCallback(r,n,i){this.masElement.attributeChangedCallback(r,n,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.handleClick)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.handleClick)}handleClick(r){r.target!==this&&(r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})))}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(r=!1){return this.masElement.requestUpdate(r)}resolveDisplayTaxForGeoAndSegment(r,n,i,a){let o=`${r}_${n}`;if(Yn.includes(r)||Yn.includes(o))return!0;let s=Eo[`${i}_${a}`];return s?!!(s.includes(r)||s.includes(o)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),a=He(await i,n);if(a?.length){let{country:o,language:s}=n,l=a[0],[c=""]=l.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(o,s,l.customerSegment,c)}}async render(r={}){if(!this.isConnected)return!1;let n=M();if(!n)return!1;let i=n.collectPriceOptions(r,this);if(!i.wcsOsi.length)return!1;let a=this.masElement.togglePending(i);this.innerHTML="";let[o]=n.resolveOfferSelectors(i);return this.renderOffers(He(await o,i),i,a)}renderOffers(r,n={},i=void 0){if(!this.isConnected)return;let a=M();if(!a)return!1;let o=a.collectPriceOptions({...this.dataset,...n},this);if(i??(i=this.masElement.togglePending(o)),r.length){if(this.masElement.toggleResolved(i,r,o))return this.innerHTML=a.buildPriceHTML(r,o),!0}else{let s=new Error(`Not provided: ${o?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(i,s,o))return this.innerHTML="",!0}return!1}updateOptions(r){let n=M();if(!n)return!1;let{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p}=n.collectPriceOptions(r);return lt(this,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p}),!0}};L(Me,"is","inline-price"),L(Me,"tag","span");var W=Me;window.customElements.get(W.is)||window.customElements.define(W.is,W,{extends:W.tag});function Xn({literals:e,providers:t,settings:r}){function n(o,s){let{country:l,displayOldPrice:c,displayPerUnit:u,displayRecurrence:h,displayTax:f,forceTaxExclusive:p,language:m,promotionCode:T,quantity:v}=r,{displayOldPrice:P=c,displayPerUnit:A=u,displayRecurrence:b=h,displayTax:I=f,forceTaxExclusive:C=p,country:V=l,language:O=m,perpetual:j,promotionCode:fe=T,quantity:te=v,template:pe,wcsOsi:B,...J}=Object.assign({},s?.dataset??{},o??{}),z=Se({...J,country:V,displayOldPrice:x(P),displayPerUnit:x(A),displayRecurrence:x(b),displayTax:x(I),forceTaxExclusive:x(C),language:O,perpetual:x(j),promotionCode:Ie(fe).effectivePromoCode,quantity:ge(te,g.quantity),template:pe,wcsOsi:it(B)});if(s)for(let F of t.price)F(s,z);return z}function i(o,s){if(!Array.isArray(o)||!o.length||!s)return"";let{template:l}=s,c;switch(l){case"discount":c=rr;break;case"strikethrough":c=Jt;break;case"optical":c=Zt;break;case"annual":c=Qt;break;default:s.country==="AU"&&o[0].planType==="ABM"?c=s.promotionCode?tr:er:c=s.promotionCode?qt:$t}let u=n(s);u.literals=Object.assign({},e.price,Se(s.literals??{}));let[h]=o;return h={...h,...h.priceDetails},c(u,h)}let a=W.createInlinePrice;return{InlinePrice:W,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:a}}function Wn({settings:e}){let t=D.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,a=new Map,o;async function s(h,f,p=!0){let m=cr;t.debug("Fetching:",h);let T="",v,P=(A,b,I)=>`${A}: ${b?.status}, url: ${I.toString()}`;try{if(h.offerSelectorIds=h.offerSelectorIds.sort(),T=new URL(e.wcsURL),T.searchParams.set("offer_selector_ids",h.offerSelectorIds.join(",")),T.searchParams.set("country",h.country),T.searchParams.set("locale",h.locale),T.searchParams.set("landscape",r===se.STAGE?"ALL":e.landscape),T.searchParams.set("api_key",n),h.language&&T.searchParams.set("language",h.language),h.promotionCode&&T.searchParams.set("promotion_code",h.promotionCode),h.currency&&T.searchParams.set("currency",h.currency),v=await fetch(T.toString(),{credentials:"omit"}),v.ok){let A=await v.json();t.debug("Fetched:",h,A);let b=A.resolvedOffers??[];b=b.map(We),f.forEach(({resolve:I},C)=>{let V=b.filter(({offerSelectorIds:O})=>O.includes(C)).flat();V.length&&(f.delete(C),I(V))})}else v.status===404&&h.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(h.offerSelectorIds.map(A=>s({...h,offerSelectorIds:[A]},f,!1)))):m=nt}catch(A){m=nt,t.error(m,h,A)}p&&f.size&&(t.debug("Missing:",{offerSelectorIds:[...f.keys()]}),f.forEach(A=>{A.reject(new Error(P(m,v,T)))}))}function l(){clearTimeout(o);let h=[...a.values()];a.clear(),h.forEach(({options:f,promises:p})=>s(f,p))}function c(){let h=i.size;i.clear(),t.debug(`Flushed ${h} cache entries`)}function u({country:h,language:f,perpetual:p=!1,promotionCode:m="",wcsOsi:T=[]}){let v=`${f}_${h}`;h!=="GB"&&(f=p?"EN":"MULT");let P=[h,f,m].filter(A=>A).join("-").toLowerCase();return T.map(A=>{let b=`${A}-${P}`;if(!i.has(b)){let I=new Promise((C,V)=>{let O=a.get(P);if(!O){let j={country:h,locale:v,offerSelectorIds:[]};h!=="GB"&&(j.language=f),O={options:j,promises:new Map},a.set(P,O)}m&&(O.options.promotionCode=m),O.options.offerSelectorIds.push(A),O.promises.set(A,{resolve:C,reject:V}),O.options.offerSelectorIds.length>=e.wcsBufferLimit?l():(t.debug("Queued:",O.options),o||(o=setTimeout(l,e.wcsBufferDelay)))});i.set(b,I)}return i.get(b)})}return{WcsCommitment:nr,WcsPlanType:ir,WcsTerm:ar,resolveOfferSelectors:u,flushWcsCache:c}}var vr="mas-commerce-service",So="mas:start",bo="mas:ready",ft,jn,ht=class extends HTMLElement{constructor(){super(...arguments);Nr(this,ft);L(this,"promise",null)}async registerCheckoutAction(r){typeof r=="function"&&(this.buildCheckoutAction=async(n,i,a)=>{let o=await r?.(n,i,this.imsSignedInPromise,a);return o||null})}async activate(){let r=_r(this,ft,jn),n=Object.freeze(br(r));at(r.lana);let i=D.init(r.hostEnv).module("service");i.debug("Activating:",r);let a={price:{}};try{a.price=await Kn(n,r.commerce.priceLiterals)}catch{}let o={checkout:new Set,price:new Set},s={literals:a,providers:o,settings:n};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...Gn(s),...Bn(s),...Xn(s),...Wn(s),...Er,Log:D,get defaults(){return g},get log(){return D},get providers(){return{checkout(l){return o.checkout.add(l),()=>o.checkout.delete(l)},price(l){return o.price.add(l),()=>o.price.delete(l)}}},get settings(){return n}})),i.debug("Activated:",{literals:a,settings:n}),ce(()=>{let l=new CustomEvent(xe,{bubbles:!0,cancelable:!1,detail:this});performance.mark(bo),this.dispatchEvent(l)})}connectedCallback(){this.readyPromise||(performance.mark(So),this.readyPromise=this.activate())}disconnectedCallback(){this.readyPromise=null}flushWcsCache(){this.flushWcsCache(),this.log.debug("Flushed WCS cache")}refreshOffers(){this.flushWcsCache(),document.querySelectorAll('span[is="inline-price"],a[is="checkout-link"]').forEach(r=>r.requestUpdate(!0)),this.log.debug("Refreshed WCS offers")}refreshFragments(){this.flushWcsCache(),document.querySelectorAll("aem-fragment").forEach(r=>r.refresh()),this.log.debug("Refreshed AEM fragments")}};ft=new WeakSet,jn=function(){let r={hostEnv:{name:this.getAttribute("host-env")??"prod"},commerce:{env:this.getAttribute("env")},lana:{tags:this.getAttribute("lana-tags"),sampleRate:parseInt(this.getAttribute("lana-sample-rate"),10),isProdDomain:this.getAttribute("host-env")==="prod"}};return["locale","country","language"].forEach(n=>{let i=this.getAttribute(n);i&&(r[n]=i)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(n=>{let i=this.getAttribute(n);if(i!=null){let a=n.replace(/-([a-z])/g,o=>o[1].toUpperCase());r.commerce[a]=i}}),r},L(ht,"instance");window.customElements.get(vr)||window.customElements.define(vr,ht);export{he as CheckoutButton,X as CheckoutLink,K as CheckoutWorkflow,Y as CheckoutWorkflowStep,g as Defaults,W as InlinePrice,le as Landscape,D as Log,vr as TAG_NAME_SERVICE,nr as WcsCommitment,ir as WcsPlanType,ar as WcsTerm,We as applyPlanType,br as getSettings}; +`,ne.MISSING_INTL_API,o);var I=r.getPluralRules(t,{type:u.pluralType}).select(f-(u.offset||0));b=u.options[I]||u.options.other}if(!b)throw new zt(u.value,f,Object.keys(u.options),o);s.push.apply(s,De(b.value,t,r,n,i,f-(u.offset||0)));continue}}return ha(s)}function pa(e,t){return t?d(d(d({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=d(d({},e[n]),t[n]||{}),r},{})):e}function ma(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=pa(e[n],t[n]),r},d({},e)):e}function $t(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Ta(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ke(function(){for(var t,r=[],n=0;n0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=fn,e.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"}}},e}();var dn=En;var Aa=/[0-9\-+#]/,Ea=/[^\d\-+#]/g;function Sn(e){return e.search(Aa)}function da(e="#.##"){let t={},r=e.length,n=Sn(e);t.prefix=n>0?e.substring(0,n):"";let i=Sn(e.split("").reverse().join("")),a=r-i,o=e.substring(a,a+1),s=a+(o==="."||o===","?1:0);t.suffix=i>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let l=t.mask.match(Ea);return t.decimal=l&&l[l.length-1]||".",t.separator=l&&l[1]&&l[0]||",",l=t.mask.split(t.decimal),t.integer=l[0],t.fraction=l[1],t}function Sa(e,t,r){let n=!1,i={value:e};e<0&&(n=!0,i.value=-i.value),i.sign=n?"-":"",i.value=Number(i.value).toFixed(t.fraction&&t.fraction.length),i.value=Number(i.value).toString();let a=t.fraction&&t.fraction.lastIndexOf("0"),[o="0",s=""]=i.value.split(".");return(!s||s&&s.length<=a)&&(s=a<0?"":(+("0."+s)).toFixed(a+1).replace("0.","")),i.integer=o,i.fraction=s,ba(i,t),(i.result==="0"||i.result==="")&&(n=!1,i.sign=""),!n&&t.maskHasPositiveSign?i.sign="+":n&&t.maskHasPositiveSign?i.sign="-":n&&(i.sign=r&&r.enforceMaskSign&&!t.maskHasNegativeSign?"":"-"),i}function ba(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),i=n&&n.indexOf("0");if(i>-1)for(;e.integer.lengthe*12,yn=(e,t)=>{let{start:r,end:n,displaySummary:{amount:i,duration:a,minProductQuantity:o,outcomeType:s}={}}=e;if(!(i&&a&&s&&o))return!1;let l=t?new Date(t):new Date;if(!r||!n)return!1;let c=new Date(r),u=new Date(n);return l>=c&&l<=u},ie={MONTH:"MONTH",YEAR:"YEAR"},La={[_.ANNUAL]:12,[_.MONTHLY]:1,[_.THREE_YEARS]:36,[_.TWO_YEARS]:24},Zt=(e,t)=>({accept:e,round:t}),va=[Zt(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Zt(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),Zt(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Jt={[O.YEAR]:{[_.MONTHLY]:ie.MONTH,[_.ANNUAL]:ie.YEAR},[O.MONTH]:{[_.MONTHLY]:ie.MONTH}},ya=(e,t)=>e.indexOf(`'${t}'`)===0,Pa=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=In(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+_a(e)),r},Ia=e=>{let t=Na(e),r=ya(e,t),n=e.replace(/'.*?'/,""),i=Ln.test(n)||vn.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},Pn=e=>e.replace(Ln,gn).replace(vn,gn),_a=e=>e.match(/#(.?)#/)?.[1]===xn?ga:xn,Na=e=>e.match(/'(.*?)'/)?.[1]??"",In=e=>e.match(/0(.?)0/)?.[1]??"";function Se({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,a=o=>o){let{currencySymbol:o,isCurrencyFirst:s,hasCurrencySpace:l}=Ia(e),c=r?In(e):"",u=Pa(e,r),h=r?2:0,f=a(t,{currencySymbol:o}),p=n?f.toLocaleString("hi-IN",{minimumFractionDigits:h,maximumFractionDigits:h}):bn(u,f),m=r?p.lastIndexOf(c):p.length,T=p.substring(0,m),L=p.substring(m+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,p).replace(/SYMBOL/,o),currencySymbol:o,decimals:L,decimalsDelimiter:c,hasCurrencySpace:l,integer:T,isCurrencyFirst:s,recurrenceTerm:i}}var _n=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=La[r]??1;return Se(e,i>1?ie.MONTH:Jt[t]?.[r],a=>{let o={divisor:i,price:a,usePrecision:n},{round:s}=va.find(({accept:l})=>l(o));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(o)}`);return s(o)})},Nn=({commitment:e,term:t,...r})=>Se(r,Jt[e]?.[t]),Cn=e=>{let{commitment:t,instant:r,price:n,originalPrice:i,priceWithoutDiscount:a,promotion:o,quantity:s=1,term:l}=e;if(t===O.YEAR&&l===_.MONTHLY){if(!o)return Se(e,ie.YEAR,qt);let{displaySummary:{outcomeType:c,duration:u,minProductQuantity:h=1}={}}=o;switch(c){case"PERCENTAGE_DISCOUNT":if(s>=h&&yn(o,r)){let f=parseInt(u.replace("P","").replace("M",""));if(isNaN(f))return qt(n);let p=s*i*f,m=s*a*(12-f),T=Math.floor((p+m)*100)/100;return Se({...e,price:T},ie.YEAR)}default:return Se(e,ie.YEAR,()=>qt(a??n))}}return Se(e,Jt[t]?.[l])};var Ca={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},Va=Br("ConsonantTemplates/price"),Oa=/<\/?[^>]+(>|$)/g,R={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},ae={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},wa="TAX_EXCLUSIVE",Ra=e=>Gr(e)?Object.entries(e).filter(([,t])=>me(t)||je(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Ur(n)+'"'}`,""):"",H=(e,t,r,n=!1)=>`${n?Pn(t):t??""}`;function ka(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:a,integer:o,isCurrencyFirst:s,recurrenceLabel:l,perUnitLabel:c,taxInclusivityLabel:u},h={}){let f=H(R.currencySymbol,r),p=H(R.currencySpace,a?" ":""),m="";return s&&(m+=f+p),m+=H(R.integer,o),m+=H(R.decimalsDelimiter,i),m+=H(R.decimals,n),s||(m+=p+f),m+=H(R.recurrence,l,null,!0),m+=H(R.unitType,c,null,!0),m+=H(R.taxInclusivity,u,!0),H(e,m,{...h,"aria-label":t})}var U=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1,instant:n=void 0}={})=>({country:i,displayFormatted:a=!0,displayRecurrence:o=!0,displayPerUnit:s=!1,displayTax:l=!1,language:c,literals:u={},quantity:h=1}={},{commitment:f,offerSelectorIds:p,formatString:m,price:T,priceWithoutDiscount:L,taxDisplay:P,taxTerm:A,term:b,usePrecision:I,promotion:C}={},w={})=>{Object.entries({country:i,formatString:m,language:c,price:T}).forEach(([j,At])=>{if(At==null)throw new Error(`Argument "${j}" is missing for osi ${p?.toString()}, country ${i}, language ${c}`)});let V={...Ca,...u},q=`${c.toLowerCase()}-${i.toUpperCase()}`;function G(j,At){let Et=V[j];if(Et==null)return"";try{return new dn(Et.replace(Oa,""),q).format(At)}catch{return Va.error("Failed to format literal:",Et),""}}let Le=t&&L?L:T,he=e?_n:Nn;r&&(he=Cn);let{accessiblePrice:ve,recurrenceTerm:Z,...J}=he({commitment:f,formatString:m,instant:n,isIndianPrice:i==="IN",originalPrice:T,priceWithoutDiscount:L,price:e?T:Le,promotion:C,quantity:h,term:b,usePrecision:I}),B=ve,ye="";if(x(o)&&Z){let j=G(ae.recurrenceAriaLabel,{recurrenceTerm:Z});j&&(B+=" "+j),ye=G(ae.recurrenceLabel,{recurrenceTerm:Z})}let Tt="";if(x(s)){Tt=G(ae.perUnitLabel,{perUnit:"LICENSE"});let j=G(ae.perUnitAriaLabel,{perUnit:"LICENSE"});j&&(B+=" "+j)}let Pe="";x(l)&&A&&(Pe=G(P===wa?ae.taxExclusiveLabel:ae.taxInclusiveLabel,{taxTerm:A}),Pe&&(B+=" "+Pe)),t&&(B=G(ae.strikethroughAriaLabel,{strikethroughPrice:B}));let Ie=R.container;if(e&&(Ie+=" "+R.containerOptical),t&&(Ie+=" "+R.containerStrikethrough),r&&(Ie+=" "+R.containerAnnual),x(a))return ka(Ie,{...J,accessibleLabel:B,recurrenceLabel:ye,perUnitLabel:Tt,taxInclusivityLabel:Pe},w);let{currencySymbol:Nr,decimals:Qn,decimalsDelimiter:ei,hasCurrencySpace:Cr,integer:ti,isCurrencyFirst:ri}=J,fe=[ti,ei,Qn];ri?(fe.unshift(Cr?"\xA0":""),fe.unshift(Nr)):(fe.push(Cr?"\xA0":""),fe.push(Nr)),fe.push(ye,Tt,Pe);let ni=fe.join("");return H(Ie,ni,w)},Vn=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||x(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${U()(e,t,r)}${i?" "+U({displayStrikethrough:!0})(e,t,r):""}`},On=()=>(e,t,r)=>{let{instant:n}=e;try{n||(n=new URLSearchParams(document.location.search).get("instant")),n&&(n=new Date(n))}catch{n=void 0}let i={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||x(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?U({displayStrikethrough:!0})(i,t,r)+" ":""}${U()(e,t,r)}${H(R.containerAnnualPrefix," (")}${U({displayAnnual:!0,instant:n})(i,t,r)}${H(R.containerAnnualSuffix,")")}`},wn=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${U()(e,t,r)}${H(R.containerAnnualPrefix," (")}${U({displayAnnual:!0})(n,t,r)}${H(R.containerAnnualSuffix,")")}`};var Qt=U(),er=Vn(),tr=U({displayOptical:!0}),rr=U({displayStrikethrough:!0}),nr=U({displayAnnual:!0}),ir=wn(),ar=On();var Ha=(e,t)=>{if(!(!Ae(e)||!Ae(t)))return Math.floor((t-e)/t*100)},Rn=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Ha(r,n);return i===void 0?'':`${i}%`};var or=Rn();var{freeze:Ue}=Object,K=Ue({...te}),Y=Ue({...F}),oe={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},sr=Ue({...O}),lr=Ue({...Kr}),cr=Ue({..._});var xr={};hi(xr,{CLASS_NAME_FAILED:()=>ur,CLASS_NAME_HIDDEN:()=>Ua,CLASS_NAME_PENDING:()=>hr,CLASS_NAME_RESOLVED:()=>fr,ERROR_MESSAGE_BAD_REQUEST:()=>at,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>ro,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>pr,EVENT_AEM_ERROR:()=>Qa,EVENT_AEM_LOAD:()=>Ja,EVENT_MAS_ERROR:()=>to,EVENT_MAS_READY:()=>eo,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Ka,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>qa,EVENT_MERCH_CARD_COLLECTION_SORT:()=>$a,EVENT_MERCH_CARD_READY:()=>Fa,EVENT_MERCH_OFFER_READY:()=>Ga,EVENT_MERCH_OFFER_SELECT_READY:()=>Ba,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>ja,EVENT_MERCH_SEARCH_CHANGE:()=>za,EVENT_MERCH_SIDENAV_SELECT:()=>Za,EVENT_MERCH_STOCK_CHANGE:()=>Xa,EVENT_MERCH_STORAGE_CHANGE:()=>Wa,EVENT_OFFER_SELECTED:()=>Ya,EVENT_TYPE_FAILED:()=>mr,EVENT_TYPE_READY:()=>be,EVENT_TYPE_RESOLVED:()=>Tr,LOG_NAMESPACE:()=>Ar,Landscape:()=>se,NAMESPACE:()=>Da,PARAM_AOS_API_KEY:()=>no,PARAM_ENV:()=>Er,PARAM_LANDSCAPE:()=>dr,PARAM_WCS_API_KEY:()=>io,STATE_FAILED:()=>z,STATE_PENDING:()=>ee,STATE_RESOLVED:()=>$,TAG_NAME_SERVICE:()=>Ma,WCS_PROD_URL:()=>Sr,WCS_STAGE_URL:()=>br});var Da="merch",Ua="hidden",be="wcms:commerce:ready",Ma="mas-commerce-service",Ga="merch-offer:ready",Ba="merch-offer-select:ready",Fa="merch-card:ready",Ka="merch-card:action-menu-toggle",Ya="merch-offer:selected",Xa="merch-stock:change",Wa="merch-storage:change",ja="merch-quantity-selector:change",za="merch-search:change",$a="merch-card-collection:sort",qa="merch-card-collection:showmore",Za="merch-sidenav:select",Ja="aem:load",Qa="aem:error",eo="mas:ready",to="mas:error",ur="placeholder-failed",hr="placeholder-pending",fr="placeholder-resolved",at="Bad WCS request",pr="Commerce offer not found",ro="Literals URL not provided",mr="mas:failed",Tr="mas:resolved",Ar="mas/commerce",Er="commerce.env",dr="commerce.landscape",no="commerce.aosKey",io="commerce.wcsKey",Sr="https://www.adobe.com/web_commerce_artifact",br="https://www.stage.adobe.com/web_commerce_artifact_stage",z="failed",ee="pending",$="resolved",se={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var kn="mas-commerce-service";function Hn(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(kn);i!==r&&(r=i,i&&e(i))}return document.addEventListener(be,n,{once:t}),le(n),()=>document.removeEventListener(be,n)}function Me(e,{country:t,forceTaxExclusive:r,perpetual:n}){let i;if(e.length<2)i=e;else{let a=t==="GB"||n?"EN":"MULT",[o,s]=e;i=[o.language===a?o:s]}return r&&(i=i.map(kt)),i}var le=e=>window.setTimeout(e);function xe(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(de).filter(Ae);return r.length||(r=[t]),r}function ot(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(_t)}function M(){return document.getElementsByTagName(kn)?.[0]}var ce={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},Dn=1e3,Un=new Set;function ao(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function Mn(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:i,status:a}=e;return[n,a,i].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!ce.serializableTypes.includes(r))return r}return e}function oo(e,t){if(!ce.ignoredProperties.includes(e))return Mn(t)}var gr={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],a=t;r.forEach(c=>{c!=null&&(ao(c)?n:i).push(c)}),n.length&&(a+=" "+n.map(Mn).join(" "));let{pathname:o,search:s}=window.location,l=`${ce.delimiter}page=${o}${s}`;l.length>Dn&&(l=`${l.slice(0,Dn)}`),a+=l,i.length&&(a+=`${ce.delimiter}facts=`,a+=JSON.stringify(i,oo)),Un.has(a)||(Un.add(a),window.lana?.log(a,ce))}};function st(e){Object.assign(ce,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in ce&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var g=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:K.V3,checkoutWorkflowStep:Y.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:oe.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsBufferDelay:1,wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:se.PUBLISHED,wcsBufferLimit:1});var Lr=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function so({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||g.language),t??(t=e?.split("_")?.[1]||g.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function vr(e={}){let{commerce:t={}}=e,r=oe.PRODUCTION,n=Sr,i=N("checkoutClientId",t)??g.checkoutClientId,a=Q(N("checkoutWorkflow",t),K,g.checkoutWorkflow),o=Y.CHECKOUT;a===K.V3&&(o=Q(N("checkoutWorkflowStep",t),Y,g.checkoutWorkflowStep));let s=x(N("displayOldPrice",t),g.displayOldPrice),l=x(N("displayPerUnit",t),g.displayPerUnit),c=x(N("displayRecurrence",t),g.displayRecurrence),u=x(N("displayTax",t),g.displayTax),h=x(N("entitlement",t),g.entitlement),f=x(N("modal",t),g.modal),p=x(N("forceTaxExclusive",t),g.forceTaxExclusive),m=N("promotionCode",t)??g.promotionCode,T=xe(N("quantity",t)),L=N("wcsApiKey",t)??g.wcsApiKey,P=t?.env==="stage",A=se.PUBLISHED;["true",""].includes(t.allowOverride)&&(P=(N(Er,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",A=Q(N(dr,t),se,A)),P&&(r=oe.STAGE,n=br);let I=de(N("wcsBufferDelay",t),g.wcsBufferDelay),C=de(N("wcsBufferLimit",t),g.wcsBufferLimit);return{...so(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:a,checkoutWorkflowStep:o,displayPerUnit:l,displayRecurrence:c,displayTax:u,entitlement:h,extraOptions:g.extraOptions,modal:f,env:r,forceTaxExclusive:p,promotionCode:m,quantity:T,wcsApiKey:L,wcsBufferDelay:I,wcsBufferLimit:C,wcsURL:n,landscape:A}}var yr={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},lo=Date.now(),Pr=new Set,Ir=new Set,Gn=new Map,Bn={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},Fn={filter:({level:e})=>e!==yr.DEBUG},co={filter:()=>!1};function uo(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Ce(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-lo}}function ho(e){[...Ir].every(t=>t(e))&&Pr.forEach(t=>t(e))}function Kn(e){let t=(Gn.get(e)??0)+1;Gn.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>Kn(`${n.namespace}/${i}`),updateConfig:st};return Object.values(yr).forEach(i=>{n[i]=(a,...o)=>ho(uo(i,a,e,o,r))}),Object.seal(n)}function lt(...e){e.forEach(t=>{let{append:r,filter:n}=t;Ce(n)&&Ir.add(n),Ce(r)&&Pr.add(r)})}function fo(e={}){let{name:t}=e,r=x(N("commerce.debug",{search:!0,storage:!0}),t===Lr.LOCAL);return lt(r?Bn:Fn),t===Lr.PROD&<(gr),D}function po(){Pr.clear(),Ir.clear()}var D={...Kn(Ar),Level:yr,Plugins:{consoleAppender:Bn,debugFilter:Fn,quietFilter:co,lanaAppender:gr},init:fo,reset:po,use:lt};var mo={[z]:ur,[ee]:hr,[$]:fr},To={[z]:mr,[$]:Tr},ge=class{constructor(t){v(this,"changes",new Map);v(this,"connected",!1);v(this,"dispose",Te);v(this,"error");v(this,"log");v(this,"options");v(this,"promises",[]);v(this,"state",ee);v(this,"timer",null);v(this,"value");v(this,"version",0);v(this,"wrapperElement");this.wrapperElement=t}update(){[z,ee,$].forEach(t=>{this.wrapperElement.classList.toggle(mo[t],t===this.state)})}notify(){(this.state===$||this.state===z)&&(this.state===$?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===z&&this.promises.forEach(({reject:t})=>t(this.error)),this.promises=[]),this.wrapperElement.dispatchEvent(new CustomEvent(To[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=Hn(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=Te}onceSettled(){let{error:t,promises:r,state:n}=this;return $===n?Promise.resolve(this.wrapperElement):z===n?Promise.reject(t):new Promise((i,a)=>{r.push({resolve:i,reject:a})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=$,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),le(()=>this.notify()),!0)}toggleFailed(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.error=r,this.state=z,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),le(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=ee,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!M()||this.timer)return;let r=D.module("mas-element"),{error:n,options:i,state:a,value:o,version:s}=this;this.state=ee,this.timer=le(async()=>{this.timer=null;let l=null;if(this.changes.size&&(l=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:l}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:l})),l||t)try{await this.wrapperElement.render?.()===!1&&this.state===ee&&this.version===s&&(this.state=a,this.error=n,this.value=o,this.update(),this.notify())}catch(c){r.error("Failed to render mas-element: ",c),this.toggleFailed(this.version,c,i)}})}};function Yn(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function ct(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,Yn(t)),i}function ut(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,Yn(t)),e):null}var Ao="download",Eo="upgrade";function ht(e,t={},r=""){let n=M();if(!n)return null;let{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:l,modal:c,perpetual:u,promotionCode:h,quantity:f,wcsOsi:p,extraOptions:m}=n.collectCheckoutOptions(t),T=ct(e,{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:l,modal:c,perpetual:u,promotionCode:h,quantity:f,wcsOsi:p,extraOptions:m});return r&&(T.innerHTML=`${r}`),T}function ft(e){return class extends e{constructor(){super(...arguments);v(this,"checkoutActionHandler");v(this,"masElement",new ge(this))}attributeChangedCallback(n,i,a){this.masElement.attributeChangedCallback(n,i,a)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){if(!this.isConnected)return!1;let i=M();if(!i)return!1;this.dataset.imsCountry||i.imsCountryPromise.then(h=>{h&&(this.dataset.imsCountry=h)},Te),n.imsCountry=null;let a=i.collectCheckoutOptions(n,this);if(!a.wcsOsi.length)return!1;let o;try{o=JSON.parse(a.extraOptions??"{}")}catch(h){this.masElement.log?.error("cannot parse exta checkout options",h)}let s=this.masElement.togglePending(a);this.setCheckoutUrl("");let l=i.resolveOfferSelectors(a),c=await Promise.all(l);c=c.map(h=>Me(h,a)),a.country=this.dataset.imsCountry||a.country;let u=await i.buildCheckoutAction?.(c.flat(),{...o,...a},this);return this.renderOffers(c.flat(),a,{},u,s)}renderOffers(n,i,a={},o=void 0,s=void 0){if(!this.isConnected)return!1;let l=M();if(!l)return!1;if(i={...JSON.parse(this.dataset.extraOptions??"null"),...i,...a},s??(s=this.masElement.togglePending(i)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0),o){this.classList.remove(Ao,Eo),this.masElement.toggleResolved(s,n,i);let{url:u,text:h,className:f,handler:p}=o;return u&&this.setCheckoutUrl(u),h&&(this.firstElementChild.innerHTML=h),f&&this.classList.add(...f.split(" ")),p&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=p.bind(this)),!0}else if(n.length){if(this.masElement.toggleResolved(s,n,i)){let u=l.buildCheckoutURL(n,i);return this.setCheckoutUrl(u),!0}}else{let u=new Error(`Not provided: ${i?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,u,i))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let i=M();if(!i)return!1;let{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:u,perpetual:h,promotionCode:f,quantity:p,wcsOsi:m}=i.collectCheckoutOptions(n);return ut(this,{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:u,perpetual:h,promotionCode:f,quantity:p,wcsOsi:m}),!0}}}var Ge=class Ge extends ft(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return ht(Ge,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};v(Ge,"is","checkout-link"),v(Ge,"tag","a");var X=Ge;window.customElements.get(X.is)||window.customElements.define(X.is,X,{extends:X.tag});var Be=class Be extends ft(HTMLButtonElement){static createCheckoutButton(t={},r=""){return ht(Be,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};v(Be,"is","checkout-button"),v(Be,"tag","button");var ue=Be;window.customElements.get(ue.is)||window.customElements.define(ue.is,ue,{extends:ue.tag});function Xn({providers:e,settings:t}){function r(a,o){let{checkoutClientId:s,checkoutWorkflow:l,checkoutWorkflowStep:c,country:u,language:h,promotionCode:f,quantity:p}=t,{checkoutMarketSegment:m,checkoutWorkflow:T=l,checkoutWorkflowStep:L=c,imsCountry:P,country:A=P??u,language:b=h,quantity:I=p,entitlement:C,upgrade:w,modal:V,perpetual:q,promotionCode:G=f,wcsOsi:Le,extraOptions:he,...ve}=Object.assign({},o?.dataset??{},a??{}),Z=Q(T,K,g.checkoutWorkflow),J=Y.CHECKOUT;Z===K.V3&&(J=Q(L,Y,g.checkoutWorkflowStep));let B=Ee({...ve,extraOptions:he,checkoutClientId:s,checkoutMarketSegment:m,country:A,quantity:xe(I,g.quantity),checkoutWorkflow:Z,checkoutWorkflowStep:J,language:b,entitlement:x(C),upgrade:x(w),modal:x(V),perpetual:x(q),promotionCode:Ve(G).effectivePromoCode,wcsOsi:ot(Le)});if(o)for(let ye of e.checkout)ye(o,B);return B}function n(a,o){if(!Array.isArray(a)||!a.length||!o)return"";let{env:s,landscape:l}=t,{checkoutClientId:c,checkoutMarketSegment:u,checkoutWorkflow:h,checkoutWorkflowStep:f,country:p,promotionCode:m,quantity:T,...L}=r(o),P=window.frameElement?"if":"fp",A={checkoutPromoCode:m,clientId:c,context:P,country:p,env:s,items:[],marketSegment:u,workflowStep:f,landscape:l,...L};if(a.length===1){let[{offerId:b,offerType:I,productArrangementCode:C}]=a,{marketSegments:[w]}=a[0];Object.assign(A,{marketSegment:w,offerType:I,productArrangementCode:C}),A.items.push(T[0]===1?{id:b}:{id:b,quantity:T[0]})}else A.items.push(...a.map(({offerId:b},I)=>({id:b,quantity:T[I]??g.quantity})));return gt(h,A)}let{createCheckoutLink:i}=X;return{CheckoutLink:X,CheckoutWorkflow:K,CheckoutWorkflowStep:Y,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function So({interval:e=200,maxAttempts:t=25}={}){let r=D.module("ims");return new Promise(n=>{r.debug("Waing for IMS to be ready");let i=0;function a(){window.adobeIMS?.initialized?n():++i>t?(r.debug("Timeout"),n()):setTimeout(a,e)}a()})}function bo(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function xo(e){let t=D.module("ims");return e.then(r=>r?window.adobeIMS.getProfile().then(({countryCode:n})=>(t.debug("Got user country:",n),n),n=>{t.error("Unable to get user country:",n)}):null)}function Wn({}){let e=So(),t=bo(e),r=xo(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function zn(e,t){let{data:r}=t||await Promise.resolve().then(()=>pi(jn(),1));if(Array.isArray(r)){let n=a=>r.find(o=>We(o.lang,a)),i=n(e.language)??n(g.language);if(i)return Object.freeze(i)}return{}}var $n=["GB_en","AU_en","FR_fr","AT_de","BE_en","BE_fr","BE_nl","BG_bg","CH_de","CH_fr","CH_it","CZ_cs","DE_de","DK_da","EE_et","EG_ar","EG_en","ES_es","FI_fi","FR_fr","GR_el","GR_en","HU_hu","IE_en","IT_it","LU_de","LU_en","LU_fr","NL_nl","NO_nb","PL_pl","PT_pt","RO_ro","SE_sv","SI_sl","SK_sk","TR_tr","UA_uk","ID_en","ID_in","IN_en","IN_hi","JP_ja","MY_en","MY_ms","NZ_en","TH_en","TH_th"],Lo={INDIVIDUAL_COM:["ZA_en","LT_lt","LV_lv","NG_en","SA_ar","SA_en","ZA_en","SG_en","KR_ko"],TEAM_COM:["ZA_en","LT_lt","LV_lv","NG_en","ZA_en","CO_es","KR_ko"],INDIVIDUAL_EDU:["LT_lt","LV_lv","SA_en","SG_en"],TEAM_EDU:["SG_en","KR_ko"]},Fe=class Fe extends HTMLSpanElement{constructor(){super();v(this,"masElement",new ge(this));this.handleClick=this.handleClick.bind(this)}static get observedAttributes(){return["data-display-old-price","data-display-per-unit","data-display-recurrence","data-display-tax","data-perpetual","data-promotion-code","data-tax-exclusive","data-template","data-wcs-osi"]}static createInlinePrice(r){let n=M();if(!n)return null;let{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p}=n.collectPriceOptions(r);return ct(Fe,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p})}get isInlinePrice(){return!0}attributeChangedCallback(r,n,i){this.masElement.attributeChangedCallback(r,n,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.handleClick)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.handleClick)}handleClick(r){r.target!==this&&(r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})))}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(r=!1){return this.masElement.requestUpdate(r)}resolveDisplayTaxForGeoAndSegment(r,n,i,a){let o=`${r}_${n}`;if($n.includes(r)||$n.includes(o))return!0;let s=Lo[`${i}_${a}`];return s?!!(s.includes(r)||s.includes(o)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),a=Me(await i,n);if(a?.length){let{country:o,language:s}=n,l=a[0],[c=""]=l.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(o,s,l.customerSegment,c)}}async render(r={}){if(!this.isConnected)return!1;let n=M();if(!n)return!1;let i=n.collectPriceOptions(r,this);if(!i.wcsOsi.length)return!1;let a=this.masElement.togglePending(i);this.innerHTML="";let[o]=n.resolveOfferSelectors(i);return this.renderOffers(Me(await o,i),i,a)}renderOffers(r,n={},i=void 0){if(!this.isConnected)return;let a=M();if(!a)return!1;let o=a.collectPriceOptions({...this.dataset,...n},this);if(i??(i=this.masElement.togglePending(o)),r.length){if(this.masElement.toggleResolved(i,r,o))return this.innerHTML=a.buildPriceHTML(r,o),!0}else{let s=new Error(`Not provided: ${o?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(i,s,o))return this.innerHTML="",!0}return!1}updateOptions(r){let n=M();if(!n)return!1;let{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p}=n.collectPriceOptions(r);return ut(this,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p}),!0}};v(Fe,"is","inline-price"),v(Fe,"tag","span");var W=Fe;window.customElements.get(W.is)||window.customElements.define(W.is,W,{extends:W.tag});function qn({literals:e,providers:t,settings:r}){function n(o,s){let{country:l,displayOldPrice:c,displayPerUnit:u,displayRecurrence:h,displayTax:f,forceTaxExclusive:p,language:m,promotionCode:T,quantity:L}=r,{displayOldPrice:P=c,displayPerUnit:A=u,displayRecurrence:b=h,displayTax:I=f,forceTaxExclusive:C=p,country:w=l,language:V=m,perpetual:q,promotionCode:G=T,quantity:Le=L,template:he,wcsOsi:ve,...Z}=Object.assign({},s?.dataset??{},o??{}),J=Ee({...Z,country:w,displayOldPrice:x(P),displayPerUnit:x(A),displayRecurrence:x(b),displayTax:x(I),forceTaxExclusive:x(C),language:V,perpetual:x(q),promotionCode:Ve(G).effectivePromoCode,quantity:xe(Le,g.quantity),template:he,wcsOsi:ot(ve)});if(s)for(let B of t.price)B(s,J);return J}function i(o,s){if(!Array.isArray(o)||!o.length||!s)return"";let{template:l}=s,c;switch(l){case"discount":c=or;break;case"strikethrough":c=rr;break;case"optical":c=tr;break;case"annual":c=nr;break;default:s.country==="AU"&&o[0].planType==="ABM"?c=s.promotionCode?ar:ir:c=s.promotionCode?er:Qt}let u=n(s);u.literals=Object.assign({},e.price,Ee(s.literals??{}));let[h]=o;return h={...h,...h.priceDetails},c(u,h)}let a=W.createInlinePrice;return{InlinePrice:W,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:a}}function Zn({settings:e}){let t=D.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,a=new Map,o;async function s(h,f,p=!0){let m=pr;t.debug("Fetching:",h);let T="",L,P=(A,b,I)=>`${A}: ${b?.status}, url: ${I.toString()}`;try{if(h.offerSelectorIds=h.offerSelectorIds.sort(),T=new URL(e.wcsURL),T.searchParams.set("offer_selector_ids",h.offerSelectorIds.join(",")),T.searchParams.set("country",h.country),T.searchParams.set("locale",h.locale),T.searchParams.set("landscape",r===oe.STAGE?"ALL":e.landscape),T.searchParams.set("api_key",n),h.language&&T.searchParams.set("language",h.language),h.promotionCode&&T.searchParams.set("promotion_code",h.promotionCode),h.currency&&T.searchParams.set("currency",h.currency),L=await fetch(T.toString(),{credentials:"omit"}),L.ok){let A=await L.json();t.debug("Fetched:",h,A);let b=A.resolvedOffers??[];b=b.map($e),f.forEach(({resolve:I},C)=>{let w=b.filter(({offerSelectorIds:V})=>V.includes(C)).flat();w.length&&(f.delete(C),I(w))})}else L.status===404&&h.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(h.offerSelectorIds.map(A=>s({...h,offerSelectorIds:[A]},f,!1)))):m=at}catch(A){m=at,t.error(m,h,A)}p&&f.size&&(t.debug("Missing:",{offerSelectorIds:[...f.keys()]}),f.forEach(A=>{A.reject(new Error(P(m,L,T)))}))}function l(){clearTimeout(o);let h=[...a.values()];a.clear(),h.forEach(({options:f,promises:p})=>s(f,p))}function c(){let h=i.size;i.clear(),t.debug(`Flushed ${h} cache entries`)}function u({country:h,language:f,perpetual:p=!1,promotionCode:m="",wcsOsi:T=[]}){let L=`${f}_${h}`;h!=="GB"&&(f=p?"EN":"MULT");let P=[h,f,m].filter(A=>A).join("-").toLowerCase();return T.map(A=>{let b=`${A}-${P}`;if(!i.has(b)){let I=new Promise((C,w)=>{let V=a.get(P);if(!V){let q={country:h,locale:L,offerSelectorIds:[]};h!=="GB"&&(q.language=f),V={options:q,promises:new Map},a.set(P,V)}m&&(V.options.promotionCode=m),V.options.offerSelectorIds.push(A),V.promises.set(A,{resolve:C,reject:w}),V.options.offerSelectorIds.length>=e.wcsBufferLimit?l():(t.debug("Queued:",V.options),o||(o=setTimeout(l,e.wcsBufferDelay)))});i.set(b,I)}return i.get(b)})}return{WcsCommitment:sr,WcsPlanType:lr,WcsTerm:cr,resolveOfferSelectors:u,flushWcsCache:c}}var _r="mas-commerce-service",vo="mas:start",yo="mas:ready",mt,Jn,pt=class extends HTMLElement{constructor(){super(...arguments);wr(this,mt);v(this,"promise",null)}async registerCheckoutAction(r){typeof r=="function"&&(this.buildCheckoutAction=async(n,i,a)=>{let o=await r?.(n,i,this.imsSignedInPromise,a);return o||null})}async activate(){let r=Or(this,mt,Jn),n=Object.freeze(vr(r));st(r.lana);let i=D.init(r.hostEnv).module("service");i.debug("Activating:",r);let a={price:{}};try{a.price=await zn(n,r.commerce.priceLiterals)}catch{}let o={checkout:new Set,price:new Set},s={literals:a,providers:o,settings:n};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...Xn(s),...Wn(s),...qn(s),...Zn(s),...xr,Log:D,get defaults(){return g},get log(){return D},get providers(){return{checkout(l){return o.checkout.add(l),()=>o.checkout.delete(l)},price(l){return o.price.add(l),()=>o.price.delete(l)}}},get settings(){return n}})),i.debug("Activated:",{literals:a,settings:n}),le(()=>{let l=new CustomEvent(be,{bubbles:!0,cancelable:!1,detail:this});performance.mark(yo),this.dispatchEvent(l)})}connectedCallback(){this.readyPromise||(performance.mark(vo),this.readyPromise=this.activate())}disconnectedCallback(){this.readyPromise=null}flushWcsCache(){this.flushWcsCache(),this.log.debug("Flushed WCS cache")}refreshOffers(){this.flushWcsCache(),document.querySelectorAll('span[is="inline-price"],a[is="checkout-link"]').forEach(r=>r.requestUpdate(!0)),this.log.debug("Refreshed WCS offers")}refreshFragments(){this.flushWcsCache(),document.querySelectorAll("aem-fragment").forEach(r=>r.refresh()),this.log.debug("Refreshed AEM fragments")}};mt=new WeakSet,Jn=function(){let r={hostEnv:{name:this.getAttribute("host-env")??"prod"},commerce:{env:this.getAttribute("env")},lana:{tags:this.getAttribute("lana-tags"),sampleRate:parseInt(this.getAttribute("lana-sample-rate"),10),isProdDomain:this.getAttribute("host-env")==="prod"}};return["locale","country","language"].forEach(n=>{let i=this.getAttribute(n);i&&(r[n]=i)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(n=>{let i=this.getAttribute(n);if(i!=null){let a=n.replace(/-([a-z])/g,o=>o[1].toUpperCase());r.commerce[a]=i}}),r},v(pt,"instance");window.customElements.get(_r)||window.customElements.define(_r,pt);export{ue as CheckoutButton,X as CheckoutLink,K as CheckoutWorkflow,Y as CheckoutWorkflowStep,g as Defaults,W as InlinePrice,se as Landscape,D as Log,_r as TAG_NAME_SERVICE,sr as WcsCommitment,lr as WcsPlanType,cr as WcsTerm,$e as applyPlanType,vr as getSettings}; diff --git a/libs/deps/mas/mas.js b/libs/deps/mas/mas.js index b8ee7e18d1..5cedc4fff0 100644 --- a/libs/deps/mas/mas.js +++ b/libs/deps/mas/mas.js @@ -1,9 +1,9 @@ -var Ls=Object.create;var er=Object.defineProperty;var _s=Object.getOwnPropertyDescriptor;var ws=Object.getOwnPropertyNames;var Cs=Object.getPrototypeOf,Ps=Object.prototype.hasOwnProperty;var Wi=e=>{throw TypeError(e)};var Is=(e,t,r)=>t in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ks=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ns=(e,t)=>{for(var r in t)er(e,r,{get:t[r],enumerable:!0})},Os=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ws(t))!Ps.call(e,i)&&i!==r&&er(e,i,{get:()=>t[i],enumerable:!(n=_s(t,i))||n.enumerable});return e};var Rs=(e,t,r)=>(r=e!=null?Ls(Cs(e)):{},Os(t||!e||!e.__esModule?er(r,"default",{value:e,enumerable:!0}):r,e));var p=(e,t,r)=>Is(e,typeof t!="symbol"?t+"":t,r),Wr=(e,t,r)=>t.has(e)||Wi("Cannot "+r);var w=(e,t,r)=>(Wr(e,t,"read from private field"),r?r.call(e):t.get(e)),F=(e,t,r)=>t.has(e)?Wi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),j=(e,t,r,n)=>(Wr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ge=(e,t,r)=>(Wr(e,t,"access private method"),r);var ps=ks((Hf,Ah)=>{Ah.exports={total:38,offset:0,limit:38,data:[{lang:"ar",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0627\u0644\u0634\u0647\u0631} YEAR {/\u0627\u0644\u0639\u0627\u0645} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0643\u0644 \u0634\u0647\u0631} YEAR {\u0643\u0644 \u0639\u0627\u0645} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",freeLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",freeAriaLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0623\u0648 \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643 \u0628\u0642\u064A\u0645\u0629 {alternativePrice}",strikethroughAriaLabel:"\u0628\u0634\u0643\u0644 \u0645\u0646\u062A\u0638\u0645 \u0628\u0642\u064A\u0645\u0629 {strikethroughPrice}"},{lang:"bg",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433\u043E\u0434.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0435\u0441\u0435\u0446} YEAR {\u043D\u0430 \u0433\u043E\u0434\u0438\u043D\u0430} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",freeLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E \u043D\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0434\u043E\u0432\u043D\u043E \u043D\u0430 {strikethroughPrice}"},{lang:"cs",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\u011Bs\xEDc} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za m\u011Bs\xEDc} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenci} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenci} other {}}",freeLabel:"Zdarma",freeAriaLabel:"Zdarma",taxExclusiveLabel:"{taxTerm, select, GST {bez dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {bez DPH} TAX {bez dan\u011B} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {v\u010Detn\u011B dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {v\u010Detn\u011B DPH} TAX {v\u010Detn\u011B dan\u011B} IVA {v\u010Detn\u011B IVA} SST {v\u010Detn\u011B SST} KDV {v\u010Detn\u011B KDV} other {}}",alternativePriceAriaLabel:"P\u0159\xEDpadn\u011B za {alternativePrice}",strikethroughAriaLabel:"Pravideln\u011B za {strikethroughPrice}"},{lang:"da",recurrenceLabel:"{recurrenceTerm, select, MONTH {/md} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pr. m\xE5ned} YEAR {pr. \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. skat} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skat} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"de",recurrenceLabel:"{recurrenceTerm, select, MONTH {/Monat} YEAR {/Jahr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pro Monat} YEAR {pro Jahr} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",freeLabel:"Kostenlos",freeAriaLabel:"Kostenlos",taxExclusiveLabel:"{taxTerm, select, GST {zzgl. GST} VAT {zzgl. MwSt.} TAX {zzgl. Steuern} IVA {zzgl. IVA} SST {zzgl. SST} KDV {zzgl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. MwSt.} TAX {inkl. Steuern} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ: {alternativePrice}",strikethroughAriaLabel:"Regul\xE4r: {strikethroughPrice}"},{lang:"en",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},{lang:"et",recurrenceLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",perUnitLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",freeLabel:"Tasuta",freeAriaLabel:"Tasuta",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Teise v\xF5imalusena hinnaga {alternativePrice}",strikethroughAriaLabel:"Tavahind {strikethroughPrice}"},{lang:"fi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/kk} YEAR {/v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuukausittain} YEAR {vuosittain} other {}}",perUnitLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",freeLabel:"Maksuton",freeAriaLabel:"Maksuton",taxExclusiveLabel:"{taxTerm, select, GST {ilman GST:t\xE4} VAT {ilman ALV:t\xE4} TAX {ilman veroja} IVA {ilman IVA:ta} SST {ilman SST:t\xE4} KDV {ilman KDV:t\xE4} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {sis. GST:n} VAT {sis. ALV:n} TAX {sis. verot} IVA {sis. IVA:n} SST {sis. SST:n} KDV {sis. KDV:n} other {}}",alternativePriceAriaLabel:"Vaihtoehtoisesti hintaan {alternativePrice}",strikethroughAriaLabel:"S\xE4\xE4nn\xF6llisesti hintaan {strikethroughPrice}"},{lang:"fr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mois} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {par mois} YEAR {par an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {par licence} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {par licence} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {hors TPS} VAT {hors TVA} TAX {hors taxes} IVA {hors IVA} SST {hors SST} KDV {hors KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {TPS comprise} VAT {TVA comprise} TAX {taxes comprises} IVA {IVA comprise} SST {SST comprise} KDV {KDV comprise} other {}}",alternativePriceAriaLabel:"Autre prix {alternativePrice}",strikethroughAriaLabel:"Prix habituel {strikethroughPrice}"},{lang:"he",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"},{lang:"hu",recurrenceLabel:"{recurrenceTerm, select, MONTH {/h\xF3} YEAR {/\xE9v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {havonta} YEAR {\xE9vente} other {}}",perUnitLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",freeLabel:"Ingyenes",freeAriaLabel:"Ingyenes",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"M\xE1sik lehet\u0151s\xE9g: {alternativePrice}",strikethroughAriaLabel:"\xC1ltal\xE1ban {strikethroughPrice} \xE1ron"},{lang:"it",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mese} YEAR {/anno} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mese} YEAR {all'anno} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licenza} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licenza} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {escl. GST} VAT {escl. IVA.} TAX {escl. imposte} IVA {escl. IVA} SST {escl. SST} KDV {escl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. IVA} TAX {incl. imposte} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"In alternativa a {alternativePrice}",strikethroughAriaLabel:"Regolarmente a {strikethroughPrice}"},{lang:"ja",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCE\u6708} YEAR {\u6BCE\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",freeLabel:"\u7121\u6599",freeAriaLabel:"\u7121\u6599",taxExclusiveLabel:"{taxTerm, select, GST {GST \u5225} VAT {VAT \u5225} TAX {\u7A0E\u5225} IVA {IVA \u5225} SST {SST \u5225} KDV {KDV \u5225} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u8FBC} VAT {VAT \u8FBC} TAX {\u7A0E\u8FBC} IVA {IVA \u8FBC} SST {SST \u8FBC} KDV {KDV \u8FBC} other {}}",alternativePriceAriaLabel:"\u7279\u5225\u4FA1\u683C : {alternativePrice}",strikethroughAriaLabel:"\u901A\u5E38\u4FA1\u683C : {strikethroughPrice}"},{lang:"ko",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\uC6D4} YEAR {/\uB144} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\uC6D4\uAC04} YEAR {\uC5F0\uAC04} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",freeLabel:"\uBB34\uB8CC",freeAriaLabel:"\uBB34\uB8CC",taxExclusiveLabel:"{taxTerm, select, GST {GST \uC81C\uC678} VAT {VAT \uC81C\uC678} TAX {\uC138\uAE08 \uC81C\uC678} IVA {IVA \uC81C\uC678} SST {SST \uC81C\uC678} KDV {KDV \uC81C\uC678} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \uD3EC\uD568} VAT {VAT \uD3EC\uD568} TAX {\uC138\uAE08 \uD3EC\uD568} IVA {IVA \uD3EC\uD568} SST {SST \uD3EC\uD568} KDV {KDV \uD3EC\uD568} other {}}",alternativePriceAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0",strikethroughAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0"},{lang:"lt",recurrenceLabel:"{recurrenceTerm, select, MONTH { per m\u0117n.} YEAR { per metus} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\u0117n.} YEAR {per metus} other {}}",perUnitLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",freeLabel:"Nemokamai",freeAriaLabel:"Nemokamai",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Arba u\u017E {alternativePrice}",strikethroughAriaLabel:"Normaliai u\u017E {strikethroughPrice}"},{lang:"lv",recurrenceLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",perUnitLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",freeLabel:"Bezmaksas",freeAriaLabel:"Bezmaksas",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternat\u012Bvi par {alternativePrice}",strikethroughAriaLabel:"Regul\u0101ri par {strikethroughPrice}"},{lang:"nb",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd.} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5ned} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisens} other {}}",freeLabel:"Fri",freeAriaLabel:"Fri",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. avgift} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. avgift} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Regelmessig til {strikethroughPrice}"},{lang:"nl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd} YEAR {/jr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per maand} YEAR {per jaar} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licentie} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licentie} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. btw} TAX {excl. belasting} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. btw} TAX {incl. belasting} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Nu {alternativePrice}",strikethroughAriaLabel:"Normaal {strikethroughPrice}"},{lang:"pl",recurrenceLabel:"{recurrenceTerm, select, MONTH { / mies.} YEAR { / rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH { / miesi\u0105c} YEAR { / rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",freeLabel:"Bezp\u0142atne",freeAriaLabel:"Bezp\u0142atne",taxExclusiveLabel:"{taxTerm, select, GST {bez GST} VAT {bez VAT} TAX {netto} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {z GST} VAT {z VAT} TAX {brutto} IVA {z IVA} SST {z SST} KDV {z KDV} other {}}",alternativePriceAriaLabel:"Lub za {alternativePrice}",strikethroughAriaLabel:"Cena zwyk\u0142a: {strikethroughPrice}"},{lang:"pt",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xEAs} YEAR {/ano} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {por m\xEAs} YEAR {por ano} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {ICMS n\xE3o incluso} VAT {IVA n\xE3o incluso} TAX {impostos n\xE3o inclusos} IVA {IVA n\xE3o incluso} SST { SST n\xE3o incluso} KDV {KDV n\xE3o incluso} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {ICMS incluso} VAT {IVA incluso} TAX {impostos inclusos} IVA {IVA incluso} SST {SST incluso} KDV {KDV incluso} other {}}",alternativePriceAriaLabel:"Ou a {alternativePrice}",strikethroughAriaLabel:"Pre\xE7o normal: {strikethroughPrice}"},{lang:"ro",recurrenceLabel:"{recurrenceTerm, select, MONTH {/lun\u0103} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pe lun\u0103} YEAR {pe an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ, la {alternativePrice}",strikethroughAriaLabel:"\xCEn mod normal, la {strikethroughPrice}"},{lang:"ru",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0432 \u043C\u0435\u0441\u044F\u0446} YEAR {\u0432 \u0433\u043E\u0434} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",freeLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0438\u0441\u043A\u043B. \u041D\u0414\u0421} TAX {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0438\u0441\u043A\u043B. \u0418\u0412\u0410} SST {\u0438\u0441\u043A\u043B. SST} KDV {\u0438\u0441\u043A\u043B. \u041A\u0414\u0412} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0432\u043A\u043B. \u041D\u0414\u0421} TAX {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0432\u043A\u043B. \u0418\u0412\u0410} SST {\u0432\u043A\u043B. SST} KDV {\u0432\u043A\u043B. \u041A\u0414\u0412} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E \u043F\u043E \u0446\u0435\u043D\u0435 {strikethroughPrice}"},{lang:"sk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesiac} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za mesiac} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",freeLabel:"Zadarmo",freeAriaLabel:"Zadarmo",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Pr\xEDpadne za {alternativePrice}",strikethroughAriaLabel:"Pravidelne za {strikethroughPrice}"},{lang:"sl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesec} YEAR {/leto} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {na mesec} YEAR {na leto} other {}}",perUnitLabel:"{perUnit, select, LICENSE {na licenco} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {na licenco} other {}}",freeLabel:"Brezpla\u010Dno",freeAriaLabel:"Brezpla\u010Dno",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Druga mo\u017Enost je: {alternativePrice}",strikethroughAriaLabel:"Redno po {strikethroughPrice}"},{lang:"sv",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xE5n} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5nad} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licens} other {}}",freeLabel:"Kostnadsfritt",freeAriaLabel:"Kostnadsfritt",taxExclusiveLabel:"{taxTerm, select, GST {exkl. GST} VAT {exkl. moms} TAX {exkl. skatt} IVA {exkl. IVA} SST {exkl. SST} KDV {exkl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skatt} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt f\xF6r {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"tr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/ay} YEAR {/y\u0131l} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {(ayl\u0131k)} YEAR {(y\u0131ll\u0131k)} other {}}",perUnitLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",freeLabel:"\xDCcretsiz",freeAriaLabel:"\xDCcretsiz",taxExclusiveLabel:"{taxTerm, select, GST {GST hari\xE7} VAT {KDV hari\xE7} TAX {vergi hari\xE7} IVA {IVA hari\xE7} SST {SST hari\xE7} KDV {KDV hari\xE7} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST dahil} VAT {KDV dahil} TAX {vergi dahil} IVA {IVA dahil} SST {SST dahil} KDV {KDV dahil} other {}}",alternativePriceAriaLabel:"Ya da {alternativePrice}",strikethroughAriaLabel:"Standart fiyat: {strikethroughPrice}"},{lang:"uk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0456\u0441.} YEAR {/\u0440\u0456\u043A} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C} YEAR {\u043D\u0430 \u0440\u0456\u043A} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",freeLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0431\u0435\u0437 GST} VAT {\u0431\u0435\u0437 \u041F\u0414\u0412} TAX {\u0431\u0435\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u0443} IVA {\u0431\u0435\u0437 IVA} SST {\u0431\u0435\u0437 SST} KDV {\u0431\u0435\u0437 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 GST} VAT {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u041F\u0414\u0412} TAX {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u043E\u043C} IVA {\u0440\u0430\u0437\u043E\u043C \u0437 IVA} SST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 SST} KDV {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 KDV} other {}}",alternativePriceAriaLabel:"\u0410\u0431\u043E \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0430 \u0446\u0456\u043D\u0430 {strikethroughPrice}"},{lang:"zh-hans",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",freeLabel:"\u514D\u8D39",freeAriaLabel:"\u514D\u8D39",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u6216\u5B9A\u4EF7 {alternativePrice}",strikethroughAriaLabel:"\u6B63\u5E38\u4EF7 {strikethroughPrice}"},{lang:"zh-hant",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",freeLabel:"\u514D\u8CBB",freeAriaLabel:"\u514D\u8CBB",taxExclusiveLabel:"{taxTerm, select, GST {\u4E0D\u542B GST} VAT {\u4E0D\u542B VAT} TAX {\u4E0D\u542B\u7A05} IVA {\u4E0D\u542B IVA} SST {\u4E0D\u542B SST} KDV {\u4E0D\u542B KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u542B GST} VAT {\u542B VAT} TAX {\u542B\u7A05} IVA {\u542B IVA} SST {\u542B SST} KDV {\u542B KDV} other {}}",alternativePriceAriaLabel:"\u6216\u8005\u5728 {alternativePrice}",strikethroughAriaLabel:"\u6A19\u6E96\u50F9\u683C\u70BA {strikethroughPrice}"},{lang:"es",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mes} YEAR {/a\xF1o} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mes} YEAR {al a\xF1o} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licencia} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licencia} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {GST no incluido} VAT {IVA no incluido} TAX {Impuestos no incluidos} IVA {IVA no incluido} SST {SST no incluido} KDV {KDV no incluido} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST incluido} VAT {IVA incluido} TAX {Impuestos incluidos} IVA {IVA incluido} SST {SST incluido} KDV {KDV incluido} other {}}",alternativePriceAriaLabel:"Alternativamente por {alternativePrice}",strikethroughAriaLabel:"Normalmente a {strikethroughPrice}"},{lang:"in",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {tidak termasuk PBJ} VAT {tidak termasuk PPN} TAX {tidak termasuk pajak} IVA {tidak termasuk IVA} SST {tidak termasuk SST} KDV {tidak termasuk KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk PBJ} VAT {termasuk PPN} TAX {termasuk pajak} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Atau seharga {alternativePrice}",strikethroughAriaLabel:"Normalnya seharga {strikethroughPrice}"},{lang:"vi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/th\xE1ng} YEAR {/n\u0103m} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u1ED7i th\xE1ng} YEAR {m\u1ED7i n\u0103m} other {}}",perUnitLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",freeLabel:"Mi\u1EC5n ph\xED",freeAriaLabel:"Mi\u1EC5n ph\xED",taxExclusiveLabel:"{taxTerm, select, GST {ch\u01B0a bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5} VAT {ch\u01B0a bao g\u1ED3m thu\u1EBF GTGT} TAX {ch\u01B0a bao g\u1ED3m thu\u1EBF} IVA {ch\u01B0a bao g\u1ED3m IVA} SST {ch\u01B0a bao g\u1ED3m SST} KDV {ch\u01B0a bao g\u1ED3m KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u0111\xE3 bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5)} VAT {(\u0111\xE3 bao g\u1ED3m thu\u1EBF GTGT)} TAX {(\u0111\xE3 bao g\u1ED3m thu\u1EBF)} IVA {(\u0111\xE3 bao g\u1ED3m IVA)} SST {(\u0111\xE3 bao g\u1ED3m SST)} KDV {(\u0111\xE3 bao g\u1ED3m KDV)} other {}}",alternativePriceAriaLabel:"Gi\xE1 \u01B0u \u0111\xE3i {alternativePrice}",strikethroughAriaLabel:"Gi\xE1 th\xF4ng th\u01B0\u1EDDng {strikethroughPrice}"},{lang:"th",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {/\u0E1B\u0E35} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0E15\u0E48\u0E2D\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {\u0E15\u0E48\u0E2D\u0E1B\u0E35} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",freeLabel:"\u0E1F\u0E23\u0E35",freeAriaLabel:"\u0E1F\u0E23\u0E35",taxExclusiveLabel:"{taxTerm, select, GST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 VAT} TAX {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 IVA} SST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 SST} KDV {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E23\u0E27\u0E21 VAT} TAX {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E23\u0E27\u0E21 IVA} SST {\u0E23\u0E27\u0E21 SST} KDV {\u0E23\u0E27\u0E21 KDV} other {}}",alternativePriceAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1E\u0E34\u0E40\u0E28\u0E29 {alternativePrice}",strikethroughAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1B\u0E01\u0E15\u0E34 {strikethroughPrice}"},{lang:"el",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u03BC\u03AE\u03BD\u03B1} YEAR {/\u03AD\u03C4\u03BF\u03C2} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u03BA\u03AC\u03B8\u03B5 \u03BC\u03AE\u03BD\u03B1} YEAR {\u03B1\u03BD\u03AC \u03AD\u03C4\u03BF\u03C2} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",freeLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",freeAriaLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",taxExclusiveLabel:"{taxTerm, select, GST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 GST)} VAT {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF)} IVA {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 IVA)} SST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 SST)} KDV {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 KDV)} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 GST)} VAT {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF\u03C5)} IVA {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 IVA)} SST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 SST)} KDV {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 KDV)} other {}}",alternativePriceAriaLabel:"\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03B5\u03C4\u03B9\u03BA\u03AC, {alternativePrice}",strikethroughAriaLabel:"\u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE {strikethroughPrice}"},{lang:"fil",recurrenceLabel:"{recurrenceTerm, select, MONTH {/buwan} YEAR {/taon} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per buwan} YEAR {per taon} other {}}",perUnitLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",freeLabel:"Libre",freeAriaLabel:"Libre",taxExclusiveLabel:"{taxTerm, select, GST {hindi kasama ang GST} VAT {hindi kasama ang VAT} TAX {hindi kasama ang Buwis} IVA {hindi kasama ang IVA} SST {hindi kasama ang SST} KDV {hindi kasama ang KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {kasama ang GST} VAT {kasama ang VAT} TAX {kasama ang Buwis} IVA {kasama ang IVA} SST {kasama ang SST} KDV {kasama ang KDV} other {}}",alternativePriceAriaLabel:"Alternatibong nasa halagang {alternativePrice}",strikethroughAriaLabel:"Regular na nasa halagang {strikethroughPrice}"},{lang:"ms",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",freeLabel:"Percuma",freeAriaLabel:"Percuma",taxExclusiveLabel:"{taxTerm, select, GST {kecuali GST} VAT {kecuali VAT} TAX {kecuali Cukai} IVA {kecuali IVA} SST {kecuali SST} KDV {kecuali KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk GST} VAT {termasuk VAT} TAX {termasuk Cukai} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Secara alternatif pada {alternativePrice}",strikethroughAriaLabel:"Biasanya pada {strikethroughPrice}"},{lang:"hi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u092E\u093E\u0939} YEAR {/\u0935\u0930\u094D\u0937} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per \u092E\u093E\u0939} YEAR {per \u0935\u0930\u094D\u0937} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",freeLabel:"\u092B\u093C\u094D\u0930\u0940",freeAriaLabel:"\u092B\u093C\u094D\u0930\u0940",taxExclusiveLabel:"{taxTerm, select, GST {GST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} VAT {VAT \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} TAX {\u0915\u0930 \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} IVA {IVA \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} SST {SST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} KDV {KDV \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u0938\u0939\u093F\u0924} VAT {VAT \u0938\u0939\u093F\u0924} TAX {\u0915\u0930 \u0938\u0939\u093F\u0924} IVA {IVA \u0938\u0939\u093F\u0924} SST {SST \u0938\u0939\u093F\u0924} KDV {KDV \u0938\u0939\u093F\u0924} other {}}",alternativePriceAriaLabel:"\u0935\u0948\u0915\u0932\u094D\u092A\u093F\u0915 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {alternativePrice}",strikethroughAriaLabel:"\u0928\u093F\u092F\u092E\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {strikethroughPrice}"},{lang:"iw",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:'{taxTerm, select, GST {\u05DC\u05DC\u05D0 GST} VAT {\u05DC\u05DC\u05D0 \u05DE\u05E2"\u05DE} TAX {\u05DC\u05DC\u05D0 \u05DE\u05E1} IVA {\u05DC\u05DC\u05D0 IVA} SST {\u05DC\u05DC\u05D0 SST} KDV {\u05DC\u05DC\u05D0 KDV} other {}}',taxInclusiveLabel:'{taxTerm, select, GST {\u05DB\u05D5\u05DC\u05DC GST} VAT {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E2"\u05DE} TAX {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E1} IVA {\u05DB\u05D5\u05DC\u05DC IVA} SST {\u05DB\u05D5\u05DC\u05DC SST} KDV {\u05DB\u05D5\u05DC\u05DC KDV} other {}}',alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"}],":type":"sheet"}});(function(){let r={clientId:"",endpoint:"https://www.adobe.com/lana/ll",endpointStage:"https://www.stage.adobe.com/lana/ll",errorType:"e",sampleRate:1,tags:"",implicitSampleRate:1,useProd:!0,isProdDomain:!1},n=window;function i(){let{host:h}=window.location;return h.substring(h.length-10)===".adobe.com"&&h.substring(h.length-15)!==".corp.adobe.com"&&h.substring(h.length-16)!==".stage.adobe.com"}function o(h,d){h||(h={}),d||(d={});function u(m){return h[m]!==void 0?h[m]:d[m]!==void 0?d[m]:r[m]}return Object.keys(r).reduce((m,f)=>(m[f]=u(f),m),{})}function a(h,d){h=h&&h.stack?h.stack:h||"",h.length>2e3&&(h=`${h.slice(0,2e3)}`);let u=o(d,n.lana.options);if(!u.clientId){console.warn("LANA ClientID is not set in options.");return}let f=parseInt(new URL(window.location).searchParams.get("lana-sample"),10)||(u.errorType==="i"?u.implicitSampleRate:u.sampleRate);if(!n.lana.debug&&!n.lana.localhost&&f<=Math.random()*100)return;let g=i()||u.isProdDomain,T=!g||!u.useProd?u.endpointStage:u.endpoint,_=[`m=${encodeURIComponent(h)}`,`c=${encodeURI(u.clientId)}`,`s=${f}`,`t=${encodeURI(u.errorType)}`];if(u.tags&&_.push(`tags=${encodeURI(u.tags)}`),(!g||n.lana.debug||n.lana.localhost)&&console.log("LANA Msg: ",h,` -Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lana.debug&&(_.push("d"),b.addEventListener("load",()=>{console.log("LANA response:",b.responseText)})),b.open("GET",`${T}?${_.join("&")}`),b.send(),b}}function s(h){a(h.reason||h.error||h.message,{errorType:"i"})}function c(){return n.location.search.toLowerCase().indexOf("lanadebug")!==-1}function l(){return n.location.host.toLowerCase().indexOf("localhost")!==-1}n.lana={debug:!1,log:a,options:o(n.lana&&n.lana.options)},c()&&(n.lana.debug=!0),l()&&(n.lana.localhost=!0),n.addEventListener("error",s),n.addEventListener("unhandledrejection",s)})();var tr=window,nr=tr.ShadowRoot&&(tr.ShadyCSS===void 0||tr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Zi=Symbol(),qi=new WeakMap,rr=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Zi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(nr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=qi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&qi.set(r,t))}return t}toString(){return this.cssText}},Ji=e=>new rr(typeof e=="string"?e:e+"",void 0,Zi);var qr=(e,t)=>{nr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=tr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},ir=nr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Ji(r)})(e):e;var Zr,or=window,Qi=or.trustedTypes,Vs=Qi?Qi.emptyScript:"",eo=or.reactiveElementPolyfillSupport,Qr={toAttribute(e,t){switch(t){case Boolean:e=e?Vs:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},to=(e,t)=>t!==e&&(t==t||e==e),Jr={attribute:!0,type:String,converter:Qr,reflect:!1,hasChanged:to},en="finalized",we=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=Jr){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Jr}static finalize(){if(this.hasOwnProperty(en))return!1;this[en]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(ir(i))}else t!==void 0&&r.push(ir(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return qr(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=Jr){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:Qr).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:Qr;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||to)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};we[en]=!0,we.elementProperties=new Map,we.elementStyles=[],we.shadowRootOptions={mode:"open"},eo?.({ReactiveElement:we}),((Zr=or.reactiveElementVersions)!==null&&Zr!==void 0?Zr:or.reactiveElementVersions=[]).push("1.6.3");var tn,ar=window,Ze=ar.trustedTypes,ro=Ze?Ze.createPolicy("lit-html",{createHTML:e=>e}):void 0,nn="$lit$",xe=`lit$${(Math.random()+"").slice(9)}$`,lo="?"+xe,Ms=`<${lo}>`,Ie=document,sr=()=>Ie.createComment(""),Lt=e=>e===null||typeof e!="object"&&typeof e!="function",ho=Array.isArray,Hs=e=>ho(e)||typeof e?.[Symbol.iterator]=="function",rn=`[ -\f\r]`,Tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,no=/-->/g,io=/>/g,Ce=RegExp(`>|${rn}(?:([^\\s"'>=/]+)(${rn}*=${rn}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),oo=/'/g,ao=/"/g,uo=/^(?:script|style|textarea|title)$/i,mo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Ih=mo(1),kh=mo(2),_t=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),so=new WeakMap,Pe=Ie.createTreeWalker(Ie,129,null,!1);function po(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ro!==void 0?ro.createHTML(t):t}var $s=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Tt;for(let s=0;s"?(a=i??Tt,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?Ce:h[3]==='"'?ao:oo):a===ao||a===oo?a=Ce:a===no||a===io?a=Tt:(a=Ce,i=void 0);let m=a===Ce&&e[s+1].startsWith("/>")?" ":"";o+=a===Tt?c+Ms:d>=0?(n.push(l),c.slice(0,d)+nn+c.slice(d)+xe+m):c+xe+(d===-2?(n.push(void 0),s):m)}return[po(e,o+(e[r]||"")+(t===2?"":"")),n]},wt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=$s(t,r);if(this.el=e.createElement(l,n),Pe.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=Pe.nextNode())!==null&&c.length0){i.textContent=Ze?Ze.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=Je(this,t,r,0),a=!Lt(t)||t!==this._$AH&&t!==_t,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;cnew Ct(typeof e=="string"?e:e+"",void 0,hn),P=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,o)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[o+1],e[0]);return new Ct(r,e,hn)},dn=(e,t)=>{hr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},dr=hr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return be(r)})(e):e;var un,ur=window,go=ur.trustedTypes,Ds=go?go.emptyScript:"",xo=ur.reactiveElementPolyfillSupport,pn={toAttribute(e,t){switch(t){case Boolean:e=e?Ds:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},bo=(e,t)=>t!==e&&(t==t||e==e),mn={attribute:!0,type:String,converter:pn,reflect:!1,hasChanged:bo},fn="finalized",le=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=mn){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||mn}static finalize(){if(this.hasOwnProperty(fn))return!1;this[fn]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(dr(i))}else t!==void 0&&r.push(dr(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return dn(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=mn){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:pn).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:pn;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||bo)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};le[fn]=!0,le.elementProperties=new Map,le.elementStyles=[],le.shadowRootOptions={mode:"open"},xo?.({ReactiveElement:le}),((un=ur.reactiveElementVersions)!==null&&un!==void 0?un:ur.reactiveElementVersions=[]).push("1.6.3");var gn,mr=window,et=mr.trustedTypes,vo=et?et.createPolicy("lit-html",{createHTML:e=>e}):void 0,bn="$lit$",ve=`lit$${(Math.random()+"").slice(9)}$`,_o="?"+ve,Bs=`<${_o}>`,Oe=document,It=()=>Oe.createComment(""),kt=e=>e===null||typeof e!="object"&&typeof e!="function",wo=Array.isArray,Gs=e=>wo(e)||typeof e?.[Symbol.iterator]=="function",xn=`[ -\f\r]`,Pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ao=/-->/g,Eo=/>/g,ke=RegExp(`>|${xn}(?:([^\\s"'>=/]+)(${xn}*=${xn}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),So=/'/g,yo=/"/g,Co=/^(?:script|style|textarea|title)$/i,Po=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),x=Po(1),Hh=Po(2),Re=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),To=new WeakMap,Ne=Oe.createTreeWalker(Oe,129,null,!1);function Io(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return vo!==void 0?vo.createHTML(t):t}var zs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Pt;for(let s=0;s"?(a=i??Pt,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?ke:h[3]==='"'?yo:So):a===yo||a===So?a=ke:a===Ao||a===Eo?a=Pt:(a=ke,i=void 0);let m=a===ke&&e[s+1].startsWith("/>")?" ":"";o+=a===Pt?c+Bs:d>=0?(n.push(l),c.slice(0,d)+bn+c.slice(d)+ve+m):c+ve+(d===-2?(n.push(void 0),s):m)}return[Io(e,o+(e[r]||"")+(t===2?"":"")),n]},Nt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=zs(t,r);if(this.el=e.createElement(l,n),Ne.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=Ne.nextNode())!==null&&c.length0){i.textContent=et?et.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=tt(this,t,r,0),a=!kt(t)||t!==this._$AH&&t!==Re,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;c{var n,i;let o=(n=r?.renderBefore)!==null&&n!==void 0?n:t,a=o._$litPart$;if(a===void 0){let s=(i=r?.renderBefore)!==null&&i!==void 0?i:null;o._$litPart$=a=new Ot(t.insertBefore(It(),s),s,void 0,r??{})}return a._$AI(e),a};var Tn,Ln;var ee=class extends le{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,r;let n=super.createRenderRoot();return(t=(r=this.renderOptions).renderBefore)!==null&&t!==void 0||(r.renderBefore=n.firstChild),n}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ko(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return Re}};ee.finalized=!0,ee._$litElement$=!0,(Tn=globalThis.litElementHydrateSupport)===null||Tn===void 0||Tn.call(globalThis,{LitElement:ee});var No=globalThis.litElementPolyfillSupport;No?.({LitElement:ee});((Ln=globalThis.litElementVersions)!==null&&Ln!==void 0?Ln:globalThis.litElementVersions=[]).push("3.3.3");var Ae="(max-width: 767px)",pr="(max-width: 1199px)",H="(min-width: 768px)",M="(min-width: 1200px)",X="(min-width: 1600px)";var Oo=P` +var Is=Object.create;var nr=Object.defineProperty;var ks=Object.getOwnPropertyDescriptor;var Ns=Object.getOwnPropertyNames;var Os=Object.getPrototypeOf,Rs=Object.prototype.hasOwnProperty;var Qi=e=>{throw TypeError(e)};var Vs=(e,t,r)=>t in e?nr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ms=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Hs=(e,t)=>{for(var r in t)nr(e,r,{get:t[r],enumerable:!0})},$s=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ns(t))!Rs.call(e,i)&&i!==r&&nr(e,i,{get:()=>t[i],enumerable:!(n=ks(t,i))||n.enumerable});return e};var Us=(e,t,r)=>(r=e!=null?Is(Os(e)):{},$s(t||!e||!e.__esModule?nr(r,"default",{value:e,enumerable:!0}):r,e));var p=(e,t,r)=>Vs(e,typeof t!="symbol"?t+"":t,r),Jr=(e,t,r)=>t.has(e)||Qi("Cannot "+r);var _=(e,t,r)=>(Jr(e,t,"read from private field"),r?r.call(e):t.get(e)),F=(e,t,r)=>t.has(e)?Qi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),j=(e,t,r,n)=>(Jr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ge=(e,t,r)=>(Jr(e,t,"access private method"),r);var vs=Ms((zf,Lh)=>{Lh.exports={total:38,offset:0,limit:38,data:[{lang:"ar",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0627\u0644\u0634\u0647\u0631} YEAR {/\u0627\u0644\u0639\u0627\u0645} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0643\u0644 \u0634\u0647\u0631} YEAR {\u0643\u0644 \u0639\u0627\u0645} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",freeLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",freeAriaLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0623\u0648 \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643 \u0628\u0642\u064A\u0645\u0629 {alternativePrice}",strikethroughAriaLabel:"\u0628\u0634\u0643\u0644 \u0645\u0646\u062A\u0638\u0645 \u0628\u0642\u064A\u0645\u0629 {strikethroughPrice}"},{lang:"bg",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433\u043E\u0434.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0435\u0441\u0435\u0446} YEAR {\u043D\u0430 \u0433\u043E\u0434\u0438\u043D\u0430} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",freeLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E \u043D\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0434\u043E\u0432\u043D\u043E \u043D\u0430 {strikethroughPrice}"},{lang:"cs",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\u011Bs\xEDc} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za m\u011Bs\xEDc} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenci} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenci} other {}}",freeLabel:"Zdarma",freeAriaLabel:"Zdarma",taxExclusiveLabel:"{taxTerm, select, GST {bez dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {bez DPH} TAX {bez dan\u011B} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {v\u010Detn\u011B dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {v\u010Detn\u011B DPH} TAX {v\u010Detn\u011B dan\u011B} IVA {v\u010Detn\u011B IVA} SST {v\u010Detn\u011B SST} KDV {v\u010Detn\u011B KDV} other {}}",alternativePriceAriaLabel:"P\u0159\xEDpadn\u011B za {alternativePrice}",strikethroughAriaLabel:"Pravideln\u011B za {strikethroughPrice}"},{lang:"da",recurrenceLabel:"{recurrenceTerm, select, MONTH {/md} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pr. m\xE5ned} YEAR {pr. \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. skat} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skat} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"de",recurrenceLabel:"{recurrenceTerm, select, MONTH {/Monat} YEAR {/Jahr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pro Monat} YEAR {pro Jahr} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",freeLabel:"Kostenlos",freeAriaLabel:"Kostenlos",taxExclusiveLabel:"{taxTerm, select, GST {zzgl. GST} VAT {zzgl. MwSt.} TAX {zzgl. Steuern} IVA {zzgl. IVA} SST {zzgl. SST} KDV {zzgl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. MwSt.} TAX {inkl. Steuern} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ: {alternativePrice}",strikethroughAriaLabel:"Regul\xE4r: {strikethroughPrice}"},{lang:"en",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},{lang:"et",recurrenceLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",perUnitLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",freeLabel:"Tasuta",freeAriaLabel:"Tasuta",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Teise v\xF5imalusena hinnaga {alternativePrice}",strikethroughAriaLabel:"Tavahind {strikethroughPrice}"},{lang:"fi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/kk} YEAR {/v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuukausittain} YEAR {vuosittain} other {}}",perUnitLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",freeLabel:"Maksuton",freeAriaLabel:"Maksuton",taxExclusiveLabel:"{taxTerm, select, GST {ilman GST:t\xE4} VAT {ilman ALV:t\xE4} TAX {ilman veroja} IVA {ilman IVA:ta} SST {ilman SST:t\xE4} KDV {ilman KDV:t\xE4} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {sis. GST:n} VAT {sis. ALV:n} TAX {sis. verot} IVA {sis. IVA:n} SST {sis. SST:n} KDV {sis. KDV:n} other {}}",alternativePriceAriaLabel:"Vaihtoehtoisesti hintaan {alternativePrice}",strikethroughAriaLabel:"S\xE4\xE4nn\xF6llisesti hintaan {strikethroughPrice}"},{lang:"fr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mois} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {par mois} YEAR {par an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {par licence} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {par licence} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {hors TPS} VAT {hors TVA} TAX {hors taxes} IVA {hors IVA} SST {hors SST} KDV {hors KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {TPS comprise} VAT {TVA comprise} TAX {taxes comprises} IVA {IVA comprise} SST {SST comprise} KDV {KDV comprise} other {}}",alternativePriceAriaLabel:"Autre prix {alternativePrice}",strikethroughAriaLabel:"Prix habituel {strikethroughPrice}"},{lang:"he",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"},{lang:"hu",recurrenceLabel:"{recurrenceTerm, select, MONTH {/h\xF3} YEAR {/\xE9v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {havonta} YEAR {\xE9vente} other {}}",perUnitLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",freeLabel:"Ingyenes",freeAriaLabel:"Ingyenes",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"M\xE1sik lehet\u0151s\xE9g: {alternativePrice}",strikethroughAriaLabel:"\xC1ltal\xE1ban {strikethroughPrice} \xE1ron"},{lang:"it",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mese} YEAR {/anno} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mese} YEAR {all'anno} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licenza} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licenza} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {escl. GST} VAT {escl. IVA.} TAX {escl. imposte} IVA {escl. IVA} SST {escl. SST} KDV {escl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. IVA} TAX {incl. imposte} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"In alternativa a {alternativePrice}",strikethroughAriaLabel:"Regolarmente a {strikethroughPrice}"},{lang:"ja",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCE\u6708} YEAR {\u6BCE\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",freeLabel:"\u7121\u6599",freeAriaLabel:"\u7121\u6599",taxExclusiveLabel:"{taxTerm, select, GST {GST \u5225} VAT {VAT \u5225} TAX {\u7A0E\u5225} IVA {IVA \u5225} SST {SST \u5225} KDV {KDV \u5225} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u8FBC} VAT {VAT \u8FBC} TAX {\u7A0E\u8FBC} IVA {IVA \u8FBC} SST {SST \u8FBC} KDV {KDV \u8FBC} other {}}",alternativePriceAriaLabel:"\u7279\u5225\u4FA1\u683C : {alternativePrice}",strikethroughAriaLabel:"\u901A\u5E38\u4FA1\u683C : {strikethroughPrice}"},{lang:"ko",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\uC6D4} YEAR {/\uB144} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\uC6D4\uAC04} YEAR {\uC5F0\uAC04} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",freeLabel:"\uBB34\uB8CC",freeAriaLabel:"\uBB34\uB8CC",taxExclusiveLabel:"{taxTerm, select, GST {GST \uC81C\uC678} VAT {VAT \uC81C\uC678} TAX {\uC138\uAE08 \uC81C\uC678} IVA {IVA \uC81C\uC678} SST {SST \uC81C\uC678} KDV {KDV \uC81C\uC678} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \uD3EC\uD568} VAT {VAT \uD3EC\uD568} TAX {\uC138\uAE08 \uD3EC\uD568} IVA {IVA \uD3EC\uD568} SST {SST \uD3EC\uD568} KDV {KDV \uD3EC\uD568} other {}}",alternativePriceAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0",strikethroughAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0"},{lang:"lt",recurrenceLabel:"{recurrenceTerm, select, MONTH { per m\u0117n.} YEAR { per metus} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\u0117n.} YEAR {per metus} other {}}",perUnitLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",freeLabel:"Nemokamai",freeAriaLabel:"Nemokamai",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Arba u\u017E {alternativePrice}",strikethroughAriaLabel:"Normaliai u\u017E {strikethroughPrice}"},{lang:"lv",recurrenceLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",perUnitLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",freeLabel:"Bezmaksas",freeAriaLabel:"Bezmaksas",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternat\u012Bvi par {alternativePrice}",strikethroughAriaLabel:"Regul\u0101ri par {strikethroughPrice}"},{lang:"nb",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd.} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5ned} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisens} other {}}",freeLabel:"Fri",freeAriaLabel:"Fri",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. avgift} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. avgift} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Regelmessig til {strikethroughPrice}"},{lang:"nl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd} YEAR {/jr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per maand} YEAR {per jaar} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licentie} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licentie} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. btw} TAX {excl. belasting} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. btw} TAX {incl. belasting} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Nu {alternativePrice}",strikethroughAriaLabel:"Normaal {strikethroughPrice}"},{lang:"pl",recurrenceLabel:"{recurrenceTerm, select, MONTH { / mies.} YEAR { / rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH { / miesi\u0105c} YEAR { / rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",freeLabel:"Bezp\u0142atne",freeAriaLabel:"Bezp\u0142atne",taxExclusiveLabel:"{taxTerm, select, GST {bez GST} VAT {bez VAT} TAX {netto} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {z GST} VAT {z VAT} TAX {brutto} IVA {z IVA} SST {z SST} KDV {z KDV} other {}}",alternativePriceAriaLabel:"Lub za {alternativePrice}",strikethroughAriaLabel:"Cena zwyk\u0142a: {strikethroughPrice}"},{lang:"pt",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xEAs} YEAR {/ano} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {por m\xEAs} YEAR {por ano} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {ICMS n\xE3o incluso} VAT {IVA n\xE3o incluso} TAX {impostos n\xE3o inclusos} IVA {IVA n\xE3o incluso} SST { SST n\xE3o incluso} KDV {KDV n\xE3o incluso} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {ICMS incluso} VAT {IVA incluso} TAX {impostos inclusos} IVA {IVA incluso} SST {SST incluso} KDV {KDV incluso} other {}}",alternativePriceAriaLabel:"Ou a {alternativePrice}",strikethroughAriaLabel:"Pre\xE7o normal: {strikethroughPrice}"},{lang:"ro",recurrenceLabel:"{recurrenceTerm, select, MONTH {/lun\u0103} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pe lun\u0103} YEAR {pe an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ, la {alternativePrice}",strikethroughAriaLabel:"\xCEn mod normal, la {strikethroughPrice}"},{lang:"ru",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0432 \u043C\u0435\u0441\u044F\u0446} YEAR {\u0432 \u0433\u043E\u0434} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",freeLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0438\u0441\u043A\u043B. \u041D\u0414\u0421} TAX {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0438\u0441\u043A\u043B. \u0418\u0412\u0410} SST {\u0438\u0441\u043A\u043B. SST} KDV {\u0438\u0441\u043A\u043B. \u041A\u0414\u0412} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0432\u043A\u043B. \u041D\u0414\u0421} TAX {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0432\u043A\u043B. \u0418\u0412\u0410} SST {\u0432\u043A\u043B. SST} KDV {\u0432\u043A\u043B. \u041A\u0414\u0412} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E \u043F\u043E \u0446\u0435\u043D\u0435 {strikethroughPrice}"},{lang:"sk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesiac} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za mesiac} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",freeLabel:"Zadarmo",freeAriaLabel:"Zadarmo",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Pr\xEDpadne za {alternativePrice}",strikethroughAriaLabel:"Pravidelne za {strikethroughPrice}"},{lang:"sl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesec} YEAR {/leto} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {na mesec} YEAR {na leto} other {}}",perUnitLabel:"{perUnit, select, LICENSE {na licenco} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {na licenco} other {}}",freeLabel:"Brezpla\u010Dno",freeAriaLabel:"Brezpla\u010Dno",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Druga mo\u017Enost je: {alternativePrice}",strikethroughAriaLabel:"Redno po {strikethroughPrice}"},{lang:"sv",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xE5n} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5nad} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licens} other {}}",freeLabel:"Kostnadsfritt",freeAriaLabel:"Kostnadsfritt",taxExclusiveLabel:"{taxTerm, select, GST {exkl. GST} VAT {exkl. moms} TAX {exkl. skatt} IVA {exkl. IVA} SST {exkl. SST} KDV {exkl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skatt} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt f\xF6r {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"tr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/ay} YEAR {/y\u0131l} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {(ayl\u0131k)} YEAR {(y\u0131ll\u0131k)} other {}}",perUnitLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",freeLabel:"\xDCcretsiz",freeAriaLabel:"\xDCcretsiz",taxExclusiveLabel:"{taxTerm, select, GST {GST hari\xE7} VAT {KDV hari\xE7} TAX {vergi hari\xE7} IVA {IVA hari\xE7} SST {SST hari\xE7} KDV {KDV hari\xE7} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST dahil} VAT {KDV dahil} TAX {vergi dahil} IVA {IVA dahil} SST {SST dahil} KDV {KDV dahil} other {}}",alternativePriceAriaLabel:"Ya da {alternativePrice}",strikethroughAriaLabel:"Standart fiyat: {strikethroughPrice}"},{lang:"uk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0456\u0441.} YEAR {/\u0440\u0456\u043A} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C} YEAR {\u043D\u0430 \u0440\u0456\u043A} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",freeLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0431\u0435\u0437 GST} VAT {\u0431\u0435\u0437 \u041F\u0414\u0412} TAX {\u0431\u0435\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u0443} IVA {\u0431\u0435\u0437 IVA} SST {\u0431\u0435\u0437 SST} KDV {\u0431\u0435\u0437 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 GST} VAT {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u041F\u0414\u0412} TAX {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u043E\u043C} IVA {\u0440\u0430\u0437\u043E\u043C \u0437 IVA} SST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 SST} KDV {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 KDV} other {}}",alternativePriceAriaLabel:"\u0410\u0431\u043E \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0430 \u0446\u0456\u043D\u0430 {strikethroughPrice}"},{lang:"zh-hans",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",freeLabel:"\u514D\u8D39",freeAriaLabel:"\u514D\u8D39",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u6216\u5B9A\u4EF7 {alternativePrice}",strikethroughAriaLabel:"\u6B63\u5E38\u4EF7 {strikethroughPrice}"},{lang:"zh-hant",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",freeLabel:"\u514D\u8CBB",freeAriaLabel:"\u514D\u8CBB",taxExclusiveLabel:"{taxTerm, select, GST {\u4E0D\u542B GST} VAT {\u4E0D\u542B VAT} TAX {\u4E0D\u542B\u7A05} IVA {\u4E0D\u542B IVA} SST {\u4E0D\u542B SST} KDV {\u4E0D\u542B KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u542B GST} VAT {\u542B VAT} TAX {\u542B\u7A05} IVA {\u542B IVA} SST {\u542B SST} KDV {\u542B KDV} other {}}",alternativePriceAriaLabel:"\u6216\u8005\u5728 {alternativePrice}",strikethroughAriaLabel:"\u6A19\u6E96\u50F9\u683C\u70BA {strikethroughPrice}"},{lang:"es",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mes} YEAR {/a\xF1o} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mes} YEAR {al a\xF1o} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licencia} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licencia} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {GST no incluido} VAT {IVA no incluido} TAX {Impuestos no incluidos} IVA {IVA no incluido} SST {SST no incluido} KDV {KDV no incluido} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST incluido} VAT {IVA incluido} TAX {Impuestos incluidos} IVA {IVA incluido} SST {SST incluido} KDV {KDV incluido} other {}}",alternativePriceAriaLabel:"Alternativamente por {alternativePrice}",strikethroughAriaLabel:"Normalmente a {strikethroughPrice}"},{lang:"in",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {tidak termasuk PBJ} VAT {tidak termasuk PPN} TAX {tidak termasuk pajak} IVA {tidak termasuk IVA} SST {tidak termasuk SST} KDV {tidak termasuk KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk PBJ} VAT {termasuk PPN} TAX {termasuk pajak} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Atau seharga {alternativePrice}",strikethroughAriaLabel:"Normalnya seharga {strikethroughPrice}"},{lang:"vi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/th\xE1ng} YEAR {/n\u0103m} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u1ED7i th\xE1ng} YEAR {m\u1ED7i n\u0103m} other {}}",perUnitLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",freeLabel:"Mi\u1EC5n ph\xED",freeAriaLabel:"Mi\u1EC5n ph\xED",taxExclusiveLabel:"{taxTerm, select, GST {ch\u01B0a bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5} VAT {ch\u01B0a bao g\u1ED3m thu\u1EBF GTGT} TAX {ch\u01B0a bao g\u1ED3m thu\u1EBF} IVA {ch\u01B0a bao g\u1ED3m IVA} SST {ch\u01B0a bao g\u1ED3m SST} KDV {ch\u01B0a bao g\u1ED3m KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u0111\xE3 bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5)} VAT {(\u0111\xE3 bao g\u1ED3m thu\u1EBF GTGT)} TAX {(\u0111\xE3 bao g\u1ED3m thu\u1EBF)} IVA {(\u0111\xE3 bao g\u1ED3m IVA)} SST {(\u0111\xE3 bao g\u1ED3m SST)} KDV {(\u0111\xE3 bao g\u1ED3m KDV)} other {}}",alternativePriceAriaLabel:"Gi\xE1 \u01B0u \u0111\xE3i {alternativePrice}",strikethroughAriaLabel:"Gi\xE1 th\xF4ng th\u01B0\u1EDDng {strikethroughPrice}"},{lang:"th",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {/\u0E1B\u0E35} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0E15\u0E48\u0E2D\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {\u0E15\u0E48\u0E2D\u0E1B\u0E35} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",freeLabel:"\u0E1F\u0E23\u0E35",freeAriaLabel:"\u0E1F\u0E23\u0E35",taxExclusiveLabel:"{taxTerm, select, GST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 VAT} TAX {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 IVA} SST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 SST} KDV {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E23\u0E27\u0E21 VAT} TAX {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E23\u0E27\u0E21 IVA} SST {\u0E23\u0E27\u0E21 SST} KDV {\u0E23\u0E27\u0E21 KDV} other {}}",alternativePriceAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1E\u0E34\u0E40\u0E28\u0E29 {alternativePrice}",strikethroughAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1B\u0E01\u0E15\u0E34 {strikethroughPrice}"},{lang:"el",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u03BC\u03AE\u03BD\u03B1} YEAR {/\u03AD\u03C4\u03BF\u03C2} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u03BA\u03AC\u03B8\u03B5 \u03BC\u03AE\u03BD\u03B1} YEAR {\u03B1\u03BD\u03AC \u03AD\u03C4\u03BF\u03C2} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",freeLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",freeAriaLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",taxExclusiveLabel:"{taxTerm, select, GST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 GST)} VAT {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF)} IVA {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 IVA)} SST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 SST)} KDV {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 KDV)} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 GST)} VAT {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF\u03C5)} IVA {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 IVA)} SST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 SST)} KDV {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 KDV)} other {}}",alternativePriceAriaLabel:"\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03B5\u03C4\u03B9\u03BA\u03AC, {alternativePrice}",strikethroughAriaLabel:"\u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE {strikethroughPrice}"},{lang:"fil",recurrenceLabel:"{recurrenceTerm, select, MONTH {/buwan} YEAR {/taon} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per buwan} YEAR {per taon} other {}}",perUnitLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",freeLabel:"Libre",freeAriaLabel:"Libre",taxExclusiveLabel:"{taxTerm, select, GST {hindi kasama ang GST} VAT {hindi kasama ang VAT} TAX {hindi kasama ang Buwis} IVA {hindi kasama ang IVA} SST {hindi kasama ang SST} KDV {hindi kasama ang KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {kasama ang GST} VAT {kasama ang VAT} TAX {kasama ang Buwis} IVA {kasama ang IVA} SST {kasama ang SST} KDV {kasama ang KDV} other {}}",alternativePriceAriaLabel:"Alternatibong nasa halagang {alternativePrice}",strikethroughAriaLabel:"Regular na nasa halagang {strikethroughPrice}"},{lang:"ms",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",freeLabel:"Percuma",freeAriaLabel:"Percuma",taxExclusiveLabel:"{taxTerm, select, GST {kecuali GST} VAT {kecuali VAT} TAX {kecuali Cukai} IVA {kecuali IVA} SST {kecuali SST} KDV {kecuali KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk GST} VAT {termasuk VAT} TAX {termasuk Cukai} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Secara alternatif pada {alternativePrice}",strikethroughAriaLabel:"Biasanya pada {strikethroughPrice}"},{lang:"hi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u092E\u093E\u0939} YEAR {/\u0935\u0930\u094D\u0937} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per \u092E\u093E\u0939} YEAR {per \u0935\u0930\u094D\u0937} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",freeLabel:"\u092B\u093C\u094D\u0930\u0940",freeAriaLabel:"\u092B\u093C\u094D\u0930\u0940",taxExclusiveLabel:"{taxTerm, select, GST {GST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} VAT {VAT \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} TAX {\u0915\u0930 \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} IVA {IVA \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} SST {SST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} KDV {KDV \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u0938\u0939\u093F\u0924} VAT {VAT \u0938\u0939\u093F\u0924} TAX {\u0915\u0930 \u0938\u0939\u093F\u0924} IVA {IVA \u0938\u0939\u093F\u0924} SST {SST \u0938\u0939\u093F\u0924} KDV {KDV \u0938\u0939\u093F\u0924} other {}}",alternativePriceAriaLabel:"\u0935\u0948\u0915\u0932\u094D\u092A\u093F\u0915 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {alternativePrice}",strikethroughAriaLabel:"\u0928\u093F\u092F\u092E\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {strikethroughPrice}"},{lang:"iw",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:'{taxTerm, select, GST {\u05DC\u05DC\u05D0 GST} VAT {\u05DC\u05DC\u05D0 \u05DE\u05E2"\u05DE} TAX {\u05DC\u05DC\u05D0 \u05DE\u05E1} IVA {\u05DC\u05DC\u05D0 IVA} SST {\u05DC\u05DC\u05D0 SST} KDV {\u05DC\u05DC\u05D0 KDV} other {}}',taxInclusiveLabel:'{taxTerm, select, GST {\u05DB\u05D5\u05DC\u05DC GST} VAT {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E2"\u05DE} TAX {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E1} IVA {\u05DB\u05D5\u05DC\u05DC IVA} SST {\u05DB\u05D5\u05DC\u05DC SST} KDV {\u05DB\u05D5\u05DC\u05DC KDV} other {}}',alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"}],":type":"sheet"}});(function(){let r={clientId:"",endpoint:"https://www.adobe.com/lana/ll",endpointStage:"https://www.stage.adobe.com/lana/ll",errorType:"e",sampleRate:1,tags:"",implicitSampleRate:1,useProd:!0,isProdDomain:!1},n=window;function i(){let{host:h}=window.location;return h.substring(h.length-10)===".adobe.com"&&h.substring(h.length-15)!==".corp.adobe.com"&&h.substring(h.length-16)!==".stage.adobe.com"}function o(h,d){h||(h={}),d||(d={});function u(m){return h[m]!==void 0?h[m]:d[m]!==void 0?d[m]:r[m]}return Object.keys(r).reduce((m,g)=>(m[g]=u(g),m),{})}function a(h,d){h=h&&h.stack?h.stack:h||"",h.length>2e3&&(h=`${h.slice(0,2e3)}`);let u=o(d,n.lana.options);if(!u.clientId){console.warn("LANA ClientID is not set in options.");return}let g=parseInt(new URL(window.location).searchParams.get("lana-sample"),10)||(u.errorType==="i"?u.implicitSampleRate:u.sampleRate);if(!n.lana.debug&&!n.lana.localhost&&g<=Math.random()*100)return;let f=i()||u.isProdDomain,T=!f||!u.useProd?u.endpointStage:u.endpoint,w=[`m=${encodeURIComponent(h)}`,`c=${encodeURI(u.clientId)}`,`s=${g}`,`t=${encodeURI(u.errorType)}`];if(u.tags&&w.push(`tags=${encodeURI(u.tags)}`),(!f||n.lana.debug||n.lana.localhost)&&console.log("LANA Msg: ",h,` +Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lana.debug&&(w.push("d"),b.addEventListener("load",()=>{console.log("LANA response:",b.responseText)})),b.open("GET",`${T}?${w.join("&")}`),b.send(),b}}function s(h){a(h.reason||h.error||h.message,{errorType:"i"})}function c(){return n.location.search.toLowerCase().indexOf("lanadebug")!==-1}function l(){return n.location.host.toLowerCase().indexOf("localhost")!==-1}n.lana={debug:!1,log:a,options:o(n.lana&&n.lana.options)},c()&&(n.lana.debug=!0),l()&&(n.lana.localhost=!0),n.addEventListener("error",s),n.addEventListener("unhandledrejection",s)})();var ir=window,ar=ir.ShadowRoot&&(ir.ShadyCSS===void 0||ir.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,to=Symbol(),eo=new WeakMap,or=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==to)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(ar&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=eo.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&eo.set(r,t))}return t}toString(){return this.cssText}},ro=e=>new or(typeof e=="string"?e:e+"",void 0,to);var Qr=(e,t)=>{ar?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=ir.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},sr=ar?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return ro(r)})(e):e;var en,cr=window,no=cr.trustedTypes,Ds=no?no.emptyScript:"",io=cr.reactiveElementPolyfillSupport,rn={toAttribute(e,t){switch(t){case Boolean:e=e?Ds:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},oo=(e,t)=>t!==e&&(t==t||e==e),tn={attribute:!0,type:String,converter:rn,reflect:!1,hasChanged:oo},nn="finalized",Le=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=tn){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||tn}static finalize(){if(this.hasOwnProperty(nn))return!1;this[nn]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(sr(i))}else t!==void 0&&r.push(sr(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Qr(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=tn){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:rn).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:rn;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||oo)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};Le[nn]=!0,Le.elementProperties=new Map,Le.elementStyles=[],Le.shadowRootOptions={mode:"open"},io?.({ReactiveElement:Le}),((en=cr.reactiveElementVersions)!==null&&en!==void 0?en:cr.reactiveElementVersions=[]).push("1.6.3");var on,lr=window,We=lr.trustedTypes,ao=We?We.createPolicy("lit-html",{createHTML:e=>e}):void 0,sn="$lit$",xe=`lit$${(Math.random()+"").slice(9)}$`,po="?"+xe,Bs=`<${po}>`,Pe=document,hr=()=>Pe.createComment(""),Ct=e=>e===null||typeof e!="object"&&typeof e!="function",fo=Array.isArray,Gs=e=>fo(e)||typeof e?.[Symbol.iterator]=="function",an=`[ +\f\r]`,Pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,so=/-->/g,co=/>/g,we=RegExp(`>|${an}(?:([^\\s"'>=/]+)(${an}*=${an}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),lo=/'/g,ho=/"/g,go=/^(?:script|style|textarea|title)$/i,xo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Vh=xo(1),Mh=xo(2),It=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),uo=new WeakMap,_e=Pe.createTreeWalker(Pe,129,null,!1);function bo(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ao!==void 0?ao.createHTML(t):t}var zs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Pt;for(let s=0;s"?(a=i??Pt,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?we:h[3]==='"'?ho:lo):a===ho||a===lo?a=we:a===so||a===co?a=Pt:(a=we,i=void 0);let m=a===we&&e[s+1].startsWith("/>")?" ":"";o+=a===Pt?c+Bs:d>=0?(n.push(l),c.slice(0,d)+sn+c.slice(d)+xe+m):c+xe+(d===-2?(n.push(void 0),s):m)}return[bo(e,o+(e[r]||"")+(t===2?"":"")),n]},kt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=zs(t,r);if(this.el=e.createElement(l,n),_e.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=_e.nextNode())!==null&&c.length0){i.textContent=We?We.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=qe(this,t,r,0),a=!Ct(t)||t!==this._$AH&&t!==It,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;cnew Nt(typeof e=="string"?e:e+"",void 0,mn),C=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,o)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[o+1],e[0]);return new Nt(r,e,mn)},pn=(e,t)=>{mr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=ur.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},pr=mr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return be(r)})(e):e;var fn,fr=window,Ao=fr.trustedTypes,Ks=Ao?Ao.emptyScript:"",Eo=fr.reactiveElementPolyfillSupport,xn={toAttribute(e,t){switch(t){case Boolean:e=e?Ks:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},So=(e,t)=>t!==e&&(t==t||e==e),gn={attribute:!0,type:String,converter:xn,reflect:!1,hasChanged:So},bn="finalized",se=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=gn){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||gn}static finalize(){if(this.hasOwnProperty(bn))return!1;this[bn]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(pr(i))}else t!==void 0&&r.push(pr(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return pn(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=gn){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:xn).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:xn;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||So)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};se[bn]=!0,se.elementProperties=new Map,se.elementStyles=[],se.shadowRootOptions={mode:"open"},Eo?.({ReactiveElement:se}),((fn=fr.reactiveElementVersions)!==null&&fn!==void 0?fn:fr.reactiveElementVersions=[]).push("1.6.3");var vn,gr=window,Je=gr.trustedTypes,yo=Je?Je.createPolicy("lit-html",{createHTML:e=>e}):void 0,En="$lit$",ve=`lit$${(Math.random()+"").slice(9)}$`,Io="?"+ve,js=`<${Io}>`,ke=document,Rt=()=>ke.createComment(""),Vt=e=>e===null||typeof e!="object"&&typeof e!="function",ko=Array.isArray,Ys=e=>ko(e)||typeof e?.[Symbol.iterator]=="function",An=`[ +\f\r]`,Ot=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,To=/-->/g,Lo=/>/g,Ce=RegExp(`>|${An}(?:([^\\s"'>=/]+)(${An}*=${An}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),wo=/'/g,_o=/"/g,No=/^(?:script|style|textarea|title)$/i,Oo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),x=Oo(1),Gh=Oo(2),Ne=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Po=new WeakMap,Ie=ke.createTreeWalker(ke,129,null,!1);function Ro(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return yo!==void 0?yo.createHTML(t):t}var Xs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Ot;for(let s=0;s"?(a=i??Ot,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?Ce:h[3]==='"'?_o:wo):a===_o||a===wo?a=Ce:a===To||a===Lo?a=Ot:(a=Ce,i=void 0);let m=a===Ce&&e[s+1].startsWith("/>")?" ":"";o+=a===Ot?c+js:d>=0?(n.push(l),c.slice(0,d)+En+c.slice(d)+ve+m):c+ve+(d===-2?(n.push(void 0),s):m)}return[Ro(e,o+(e[r]||"")+(t===2?"":"")),n]},Mt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=Xs(t,r);if(this.el=e.createElement(l,n),Ie.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=Ie.nextNode())!==null&&c.length0){i.textContent=Je?Je.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=Qe(this,t,r,0),a=!Vt(t)||t!==this._$AH&&t!==Ne,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;c{var n,i;let o=(n=r?.renderBefore)!==null&&n!==void 0?n:t,a=o._$litPart$;if(a===void 0){let s=(i=r?.renderBefore)!==null&&i!==void 0?i:null;o._$litPart$=a=new Ht(t.insertBefore(Rt(),s),s,void 0,r??{})}return a._$AI(e),a};var _n,Pn;var ee=class extends se{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,r;let n=super.createRenderRoot();return(t=(r=this.renderOptions).renderBefore)!==null&&t!==void 0||(r.renderBefore=n.firstChild),n}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Vo(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return Ne}};ee.finalized=!0,ee._$litElement$=!0,(_n=globalThis.litElementHydrateSupport)===null||_n===void 0||_n.call(globalThis,{LitElement:ee});var Mo=globalThis.litElementPolyfillSupport;Mo?.({LitElement:ee});((Pn=globalThis.litElementVersions)!==null&&Pn!==void 0?Pn:globalThis.litElementVersions=[]).push("3.3.3");var Ae="(max-width: 767px)",xr="(max-width: 1199px)",M="(min-width: 768px)",V="(min-width: 1200px)",X="(min-width: 1600px)";var Ho=C` :host { --consonant-merch-card-background-color: #fff; --consonant-merch-card-border: 1px solid var(--consonant-merch-card-border-color); @@ -233,9 +233,9 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lan ::slotted([slot='price']) { color: var(--consonant-merch-card-price-color); } -`,Ro=()=>[P` +`,$o=()=>[C` /* Tablet */ - @media screen and ${be(H)} { + @media screen and ${be(M)} { :host([size='wide']), :host([size='super-wide']) { width: 100%; @@ -244,11 +244,11 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lan } /* Laptop */ - @media screen and ${be(M)} { + @media screen and ${be(V)} { :host([size='wide']) { grid-column: span 2; } - `];var nt,Rt=class Rt{constructor(t){p(this,"card");F(this,nt);this.card=t,this.insertVariantStyle()}getContainer(){return j(this,nt,w(this,nt)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),w(this,nt)}insertVariantStyle(){if(!Rt.styleMap[this.card.variant]){Rt.styleMap[this.card.variant]=!0;let t=document.createElement("style");t.innerHTML=this.getGlobalCSS(),document.head.appendChild(t)}}updateCardElementMinHeight(t,r){if(!t)return;let n=`--consonant-merch-card-${this.card.variant}-${r}-height`,i=Math.max(0,parseInt(window.getComputedStyle(t).height)||0),o=parseInt(this.getContainer().style.getPropertyValue(n))||0;i>o&&this.getContainer().style.setProperty(n,`${i}px`)}get badge(){let t;if(!(!this.card.badgeBackgroundColor||!this.card.badgeColor||!this.card.badgeText))return this.evergreen&&(t=`border: 1px solid ${this.card.badgeBackgroundColor}; border-right: none;`),x` + `];var tt,$t=class $t{constructor(t){p(this,"card");F(this,tt);this.card=t,this.insertVariantStyle()}getContainer(){return j(this,tt,_(this,tt)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),_(this,tt)}insertVariantStyle(){if(!$t.styleMap[this.card.variant]){$t.styleMap[this.card.variant]=!0;let t=document.createElement("style");t.innerHTML=this.getGlobalCSS(),document.head.appendChild(t)}}updateCardElementMinHeight(t,r){if(!t)return;let n=`--consonant-merch-card-${this.card.variant}-${r}-height`,i=Math.max(0,parseInt(window.getComputedStyle(t).height)||0),o=parseInt(this.getContainer().style.getPropertyValue(n))||0;i>o&&this.getContainer().style.setProperty(n,`${i}px`)}get badge(){let t;if(!(!this.card.badgeBackgroundColor||!this.card.badgeColor||!this.card.badgeText))return this.evergreen&&(t=`border: 1px solid ${this.card.badgeBackgroundColor}; border-right: none;`),x`
`}getGlobalCSS(){return""}get theme(){return document.querySelector("sp-theme")}get evergreen(){return this.card.classList.contains("intro-pricing")}get promoBottom(){return this.card.classList.contains("promo-bottom")}get headingSelector(){return'[slot="heading-xs"]'}get secureLabelFooter(){let t=this.card.secureLabel?x`${this.card.secureLabel}`:"";return x`
${t}
`}async adjustTitleWidth(){let t=this.card.getBoundingClientRect().width,r=this.card.badgeElement?.getBoundingClientRect().width||0;t===0||r===0||this.card.style.setProperty("--consonant-merch-card-heading-xs-max-width",`${Math.round(t-r-16)}px`)}postCardUpdateHook(){}connectedCallbackHook(){}disconnectedCallbackHook(){}renderLayout(){}get aemFragmentMapping(){}};nt=new WeakMap,p(Rt,"styleMap",{});var I=Rt;function te(e,t={},r=null,n=null){let i=n?document.createElement(e,{is:n}):document.createElement(e);r instanceof HTMLElement?i.appendChild(r):i.innerHTML=r;for(let[o,a]of Object.entries(t))i.setAttribute(o,a);return i}function fr(){return window.matchMedia("(max-width: 767px)").matches}function Vo(){return window.matchMedia("(max-width: 1024px)").matches}var Gn={};Ns(Gn,{CLASS_NAME_FAILED:()=>kn,CLASS_NAME_HIDDEN:()=>js,CLASS_NAME_PENDING:()=>Nn,CLASS_NAME_RESOLVED:()=>On,ERROR_MESSAGE_BAD_REQUEST:()=>br,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>tc,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>Rn,EVENT_AEM_ERROR:()=>Me,EVENT_AEM_LOAD:()=>Ve,EVENT_MAS_ERROR:()=>In,EVENT_MAS_READY:()=>Pn,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Cn,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>Qs,EVENT_MERCH_CARD_COLLECTION_SORT:()=>Js,EVENT_MERCH_CARD_READY:()=>wn,EVENT_MERCH_OFFER_READY:()=>Xs,EVENT_MERCH_OFFER_SELECT_READY:()=>_n,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>xr,EVENT_MERCH_SEARCH_CHANGE:()=>Zs,EVENT_MERCH_SIDENAV_SELECT:()=>ec,EVENT_MERCH_STOCK_CHANGE:()=>qs,EVENT_MERCH_STORAGE_CHANGE:()=>gr,EVENT_OFFER_SELECTED:()=>Ws,EVENT_TYPE_FAILED:()=>Vn,EVENT_TYPE_READY:()=>it,EVENT_TYPE_RESOLVED:()=>Mn,LOG_NAMESPACE:()=>Hn,Landscape:()=>He,NAMESPACE:()=>Ks,PARAM_AOS_API_KEY:()=>rc,PARAM_ENV:()=>$n,PARAM_LANDSCAPE:()=>Un,PARAM_WCS_API_KEY:()=>nc,STATE_FAILED:()=>he,STATE_PENDING:()=>Ee,STATE_RESOLVED:()=>de,TAG_NAME_SERVICE:()=>Ys,WCS_PROD_URL:()=>Dn,WCS_STAGE_URL:()=>Bn});var Ks="merch",js="hidden",it="wcms:commerce:ready",Ys="mas-commerce-service",Xs="merch-offer:ready",_n="merch-offer-select:ready",wn="merch-card:ready",Cn="merch-card:action-menu-toggle",Ws="merch-offer:selected",qs="merch-stock:change",gr="merch-storage:change",xr="merch-quantity-selector:change",Zs="merch-search:change",Js="merch-card-collection:sort",Qs="merch-card-collection:showmore",ec="merch-sidenav:select",Ve="aem:load",Me="aem:error",Pn="mas:ready",In="mas:error",kn="placeholder-failed",Nn="placeholder-pending",On="placeholder-resolved",br="Bad WCS request",Rn="Commerce offer not found",tc="Literals URL not provided",Vn="mas:failed",Mn="mas:resolved",Hn="mas/commerce",$n="commerce.env",Un="commerce.landscape",rc="commerce.aosKey",nc="commerce.wcsKey",Dn="https://www.adobe.com/web_commerce_artifact",Bn="https://www.stage.adobe.com/web_commerce_artifact_stage",he="failed",Ee="pending",de="resolved",He={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Mo=` + >`:"";return x`
${t}
`}async adjustTitleWidth(){let t=this.card.getBoundingClientRect().width,r=this.card.badgeElement?.getBoundingClientRect().width||0;t===0||r===0||this.card.style.setProperty("--consonant-merch-card-heading-xs-max-width",`${Math.round(t-r-16)}px`)}postCardUpdateHook(){}connectedCallbackHook(){}disconnectedCallbackHook(){}renderLayout(){}get aemFragmentMapping(){}};tt=new WeakMap,p($t,"styleMap",{});var I=$t;function te(e,t={},r=null,n=null){let i=n?document.createElement(e,{is:n}):document.createElement(e);r instanceof HTMLElement?i.appendChild(r):i.innerHTML=r;for(let[o,a]of Object.entries(t))i.setAttribute(o,a);return i}function br(){return window.matchMedia("(max-width: 767px)").matches}function Uo(){return window.matchMedia("(max-width: 1024px)").matches}var Kn={};Hs(Kn,{CLASS_NAME_FAILED:()=>Rn,CLASS_NAME_HIDDEN:()=>Zs,CLASS_NAME_PENDING:()=>Vn,CLASS_NAME_RESOLVED:()=>Mn,ERROR_MESSAGE_BAD_REQUEST:()=>Er,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>ac,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>Hn,EVENT_AEM_ERROR:()=>Re,EVENT_AEM_LOAD:()=>Oe,EVENT_MAS_ERROR:()=>On,EVENT_MAS_READY:()=>Nn,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>kn,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>ic,EVENT_MERCH_CARD_COLLECTION_SORT:()=>nc,EVENT_MERCH_CARD_READY:()=>In,EVENT_MERCH_OFFER_READY:()=>Qs,EVENT_MERCH_OFFER_SELECT_READY:()=>Cn,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>Ar,EVENT_MERCH_SEARCH_CHANGE:()=>rc,EVENT_MERCH_SIDENAV_SELECT:()=>oc,EVENT_MERCH_STOCK_CHANGE:()=>tc,EVENT_MERCH_STORAGE_CHANGE:()=>vr,EVENT_OFFER_SELECTED:()=>ec,EVENT_TYPE_FAILED:()=>$n,EVENT_TYPE_READY:()=>rt,EVENT_TYPE_RESOLVED:()=>Un,LOG_NAMESPACE:()=>Dn,Landscape:()=>Ve,NAMESPACE:()=>qs,PARAM_AOS_API_KEY:()=>sc,PARAM_ENV:()=>Bn,PARAM_LANDSCAPE:()=>Gn,PARAM_WCS_API_KEY:()=>cc,STATE_FAILED:()=>ce,STATE_PENDING:()=>Ee,STATE_RESOLVED:()=>le,TAG_NAME_SERVICE:()=>Js,WCS_PROD_URL:()=>zn,WCS_STAGE_URL:()=>Fn});var qs="merch",Zs="hidden",rt="wcms:commerce:ready",Js="mas-commerce-service",Qs="merch-offer:ready",Cn="merch-offer-select:ready",In="merch-card:ready",kn="merch-card:action-menu-toggle",ec="merch-offer:selected",tc="merch-stock:change",vr="merch-storage:change",Ar="merch-quantity-selector:change",rc="merch-search:change",nc="merch-card-collection:sort",ic="merch-card-collection:showmore",oc="merch-sidenav:select",Oe="aem:load",Re="aem:error",Nn="mas:ready",On="mas:error",Rn="placeholder-failed",Vn="placeholder-pending",Mn="placeholder-resolved",Er="Bad WCS request",Hn="Commerce offer not found",ac="Literals URL not provided",$n="mas:failed",Un="mas:resolved",Dn="mas/commerce",Bn="commerce.env",Gn="commerce.landscape",sc="commerce.aosKey",cc="commerce.wcsKey",zn="https://www.adobe.com/web_commerce_artifact",Fn="https://www.stage.adobe.com/web_commerce_artifact_stage",ce="failed",Ee="pending",le="resolved",Ve={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Do=` :root { --consonant-merch-card-catalog-width: 276px; --consonant-merch-card-catalog-icon-size: 40px; @@ -275,7 +275,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lan grid-template-columns: var(--consonant-merch-card-catalog-width); } -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-catalog-width: 302px; } @@ -287,7 +287,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lan } } -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-catalog-width: 276px; } @@ -349,12 +349,12 @@ merch-card[variant="catalog"] .payment-details { font-style: italic; font-weight: 400; line-height: var(--consonant-merch-card-body-line-height); -}`;var ic={title:{tag:"h3",slot:"heading-xs"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"m"},allowedSizes:["wide","super-wide"]},ot=class extends I{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(Cn,{bubbles:!0,composed:!0,detail:{card:this.card.name,type:"action-menu"}}))});p(this,"toggleActionMenu",r=>{let n=this.card.shadowRoot.querySelector('slot[name="action-menu-content"]');!n||!r||r.type!=="click"&&r.code!=="Space"&&r.code!=="Enter"||(r.preventDefault(),n.classList.toggle("hidden"),n.classList.contains("hidden")||this.dispatchActionMenuToggle())});p(this,"toggleActionMenuFromCard",r=>{let n=r?.type==="mouseleave"?!0:void 0,i=this.card.shadowRoot,o=i.querySelector(".action-menu");this.card.blur(),o?.classList.remove("always-visible");let a=i.querySelector('slot[name="action-menu-content"]');a&&(n||this.dispatchActionMenuToggle(),a.classList.toggle("hidden",n))});p(this,"hideActionMenu",r=>{this.card.shadowRoot.querySelector('slot[name="action-menu-content"]')?.classList.add("hidden")});p(this,"focusEventHandler",r=>{let n=this.card.shadowRoot.querySelector(".action-menu");n&&(n.classList.add("always-visible"),(r.relatedTarget?.nodeName==="MERCH-CARD-COLLECTION"||r.relatedTarget?.nodeName==="MERCH-CARD"&&r.target.nodeName!=="MERCH-ICON")&&n.classList.remove("always-visible"))})}get aemFragmentMapping(){return ic}renderLayout(){return x`
+}`;var lc={title:{tag:"h3",slot:"heading-xs"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"m"},allowedSizes:["wide","super-wide"]},nt=class extends I{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(kn,{bubbles:!0,composed:!0,detail:{card:this.card.name,type:"action-menu"}}))});p(this,"toggleActionMenu",r=>{let n=this.card.shadowRoot.querySelector('slot[name="action-menu-content"]');!n||!r||r.type!=="click"&&r.code!=="Space"&&r.code!=="Enter"||(r.preventDefault(),n.classList.toggle("hidden"),n.classList.contains("hidden")||this.dispatchActionMenuToggle())});p(this,"toggleActionMenuFromCard",r=>{let n=r?.type==="mouseleave"?!0:void 0,i=this.card.shadowRoot,o=i.querySelector(".action-menu");this.card.blur(),o?.classList.remove("always-visible");let a=i.querySelector('slot[name="action-menu-content"]');a&&(n||this.dispatchActionMenuToggle(),a.classList.toggle("hidden",n))});p(this,"hideActionMenu",r=>{this.card.shadowRoot.querySelector('slot[name="action-menu-content"]')?.classList.add("hidden")});p(this,"focusEventHandler",r=>{let n=this.card.shadowRoot.querySelector(".action-menu");n&&(n.classList.add("always-visible"),(r.relatedTarget?.nodeName==="MERCH-CARD-COLLECTION"||r.relatedTarget?.nodeName==="MERCH-CARD"&&r.target.nodeName!=="MERCH-ICON")&&n.classList.remove("always-visible"))})}get aemFragmentMapping(){return lc}renderLayout(){return x`
${this.badge}
`:""}
${this.secureLabelFooter} - `}getGlobalCSS(){return Mo}connectedCallbackHook(){this.card.addEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.addEventListener("focusout",this.focusEventHandler)}disconnectedCallbackHook(){this.card.removeEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.removeEventListener("focusout",this.focusEventHandler)}};p(ot,"variantStyle",P` + `}getGlobalCSS(){return Do}connectedCallbackHook(){this.card.addEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.addEventListener("focusout",this.focusEventHandler)}disconnectedCallbackHook(){this.card.removeEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.removeEventListener("focusout",this.focusEventHandler)}};p(nt,"variantStyle",C` :host([variant='catalog']) { min-height: 330px; width: var(--consonant-merch-card-catalog-width); @@ -397,7 +397,7 @@ merch-card[variant="catalog"] .payment-details { margin-left: var(--consonant-merch-spacing-xxs); box-sizing: border-box; } - `);var Ho=` + `);var Bo=` :root { --consonant-merch-card-image-width: 300px; } @@ -409,7 +409,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${H} { +@media screen and ${M} { .two-merch-cards.image, .three-merch-cards.image, .four-merch-cards.image { @@ -417,7 +417,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-image-width: 378px; --consonant-merch-card-image-width-4clm: 276px; @@ -431,7 +431,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: repeat(4, var(--consonant-merch-card-image-width-4clm)); } } -`;var vr=class extends I{constructor(t){super(t)}getGlobalCSS(){return Ho}renderLayout(){return x`${this.cardImage} +`;var Sr=class extends I{constructor(t){super(t)}getGlobalCSS(){return Bo}renderLayout(){return x`${this.cardImage}
@@ -448,7 +448,7 @@ merch-card[variant="catalog"] .payment-details { `:x`
${this.secureLabelFooter} - `}`}};var $o=` + `}`}};var Go=` :root { --consonant-merch-card-inline-heading-width: 300px; } @@ -460,7 +460,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-inline-heading-width); } -@media screen and ${H} { +@media screen and ${M} { .two-merch-cards.inline-heading, .three-merch-cards.inline-heading, .four-merch-cards.inline-heading { @@ -468,7 +468,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-inline-heading-width: 378px; } @@ -484,7 +484,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: repeat(4, var(--consonant-merch-card-inline-heading-width)); } } -`;var Ar=class extends I{constructor(t){super(t)}getGlobalCSS(){return $o}renderLayout(){return x` ${this.badge} +`;var yr=class extends I{constructor(t){super(t)}getGlobalCSS(){return Go}renderLayout(){return x` ${this.badge}
@@ -492,7 +492,7 @@ merch-card[variant="catalog"] .payment-details {
- ${this.card.customHr?"":x`
`} ${this.secureLabelFooter}`}};var Uo=` + ${this.card.customHr?"":x`
`} ${this.secureLabelFooter}`}};var zo=` :root { --consonant-merch-card-mini-compare-chart-icon-size: 32px; --consonant-merch-card-mini-compare-mobile-cta-font-size: 15px; @@ -721,7 +721,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${pr} { +@media screen and ${xr} { merch-card[variant="mini-compare-chart"] [slot='heading-m'] { font-size: var(--consonant-merch-card-body-s-font-size); line-height: var(--consonant-merch-card-body-s-line-height); @@ -747,7 +747,7 @@ merch-card[variant="catalog"] .payment-details { line-height: var(--consonant-merch-card-body-xs-line-height); } } -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -765,7 +765,7 @@ merch-card[variant="catalog"] .payment-details { } /* desktop */ -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-mini-compare-chart-width: 378px; --consonant-merch-card-mini-compare-chart-wide-width: 484px; @@ -823,11 +823,11 @@ merch-card .footer-row-cell:nth-child(7) { merch-card .footer-row-cell:nth-child(8) { min-height: var(--consonant-merch-card-footer-row-8-min-height); } -`;var oc=32,at=class extends I{constructor(r){super(r);p(this,"getRowMinHeightPropertyName",r=>`--consonant-merch-card-footer-row-${r}-min-height`);p(this,"getMiniCompareFooter",()=>{let r=this.card.secureLabel?x` +`;var hc=32,it=class extends I{constructor(r){super(r);p(this,"getRowMinHeightPropertyName",r=>`--consonant-merch-card-footer-row-${r}-min-height`);p(this,"getMiniCompareFooter",()=>{let r=this.card.secureLabel?x` ${this.card.secureLabel}`:x``;return x`
${r}
`})}getGlobalCSS(){return Uo}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section");let r=["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"];this.card.classList.contains("bullet-list")&&r.push("footer-rows"),r.forEach(i=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${i}"]`),i)),this.updateCardElementMinHeight(this.card.shadowRoot.querySelector("footer"),"footer");let n=this.card.shadowRoot.querySelector(".mini-compare-chart-badge");n&&n.textContent!==""&&this.getContainer().style.setProperty("--consonant-merch-card-mini-compare-chart-top-section-mobile-height","32px")}adjustMiniCompareFooterRows(){if(this.card.getBoundingClientRect().width===0)return;[...this.card.querySelector('[slot="footer-rows"] ul')?.children].forEach((n,i)=>{let o=Math.max(oc,parseFloat(window.getComputedStyle(n).height)||0),a=parseFloat(this.getContainer().style.getPropertyValue(this.getRowMinHeightPropertyName(i+1)))||0;o>a&&this.getContainer().style.setProperty(this.getRowMinHeightPropertyName(i+1),`${o}px`)})}removeEmptyRows(){this.card.querySelectorAll(".footer-row-cell").forEach(n=>{let i=n.querySelector(".footer-row-cell-description");i&&!i.textContent.trim()&&n.remove()})}renderLayout(){return x`
+ >`:x``;return x`
${r}
`})}getGlobalCSS(){return zo}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section");let r=["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"];this.card.classList.contains("bullet-list")&&r.push("footer-rows"),r.forEach(i=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${i}"]`),i)),this.updateCardElementMinHeight(this.card.shadowRoot.querySelector("footer"),"footer");let n=this.card.shadowRoot.querySelector(".mini-compare-chart-badge");n&&n.textContent!==""&&this.getContainer().style.setProperty("--consonant-merch-card-mini-compare-chart-top-section-mobile-height","32px")}adjustMiniCompareFooterRows(){if(this.card.getBoundingClientRect().width===0)return;[...this.card.querySelector('[slot="footer-rows"] ul')?.children].forEach((n,i)=>{let o=Math.max(hc,parseFloat(window.getComputedStyle(n).height)||0),a=parseFloat(this.getContainer().style.getPropertyValue(this.getRowMinHeightPropertyName(i+1)))||0;o>a&&this.getContainer().style.setProperty(this.getRowMinHeightPropertyName(i+1),`${o}px`)})}removeEmptyRows(){this.card.querySelectorAll(".footer-row-cell").forEach(n=>{let i=n.querySelector(".footer-row-cell-description");i&&!i.textContent.trim()&&n.remove()})}renderLayout(){return x`
${this.badge}
@@ -840,7 +840,7 @@ merch-card .footer-row-cell:nth-child(8) { ${this.getMiniCompareFooter()} - `}async postCardUpdateHook(){fr()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(at,"variantStyle",P` + `}async postCardUpdateHook(){br()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(it,"variantStyle",C` :host([variant='mini-compare-chart']) > slot:not([name='icons']) { display: block; } @@ -873,7 +873,7 @@ merch-card .footer-row-cell:nth-child(8) { color: var(--merch-color-grey-700); } - @media screen and ${be(pr)} { + @media screen and ${be(xr)} { [class*'-merch-cards'] :host([variant='mini-compare-chart']) footer { flex-direction: column; align-items: stretch; @@ -881,7 +881,7 @@ merch-card .footer-row-cell:nth-child(8) { } } - @media screen and ${be(M)} { + @media screen and ${be(V)} { :host([variant='mini-compare-chart']) footer { padding: var(--consonant-merch-spacing-xs) var(--consonant-merch-spacing-s) @@ -932,7 +932,7 @@ merch-card .footer-row-cell:nth-child(8) { :host([variant='mini-compare-chart']) slot[name='footer-rows'] { justify-content: flex-start; } - `);var Do=` + `);var Fo=` :root { --consonant-merch-card-plans-width: 300px; --consonant-merch-card-plans-icon-size: 40px; @@ -958,7 +958,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-plans-width: 302px; } @@ -970,7 +970,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-plans-width: 276px; } @@ -986,7 +986,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, var(--consonant-merch-card-plans-width)); } } -`;var st=class extends I{constructor(t){super(t)}getGlobalCSS(){return Do}postCardUpdateHook(){this.adjustTitleWidth()}get stockCheckbox(){return this.card.checkboxLabel?x`
- ${this.secureLabelFooter}`}};p(st,"variantStyle",P` + ${this.secureLabelFooter}`}};p(ot,"variantStyle",C` :host([variant='plans']) { min-height: 348px; } @@ -1010,7 +1010,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { :host([variant='plans']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);var Bo=` + `);var Ko=` :root { --consonant-merch-card-product-width: 300px; } @@ -1024,7 +1024,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${H} { +@media screen and ${M} { .two-merch-cards.product, .three-merch-cards.product, .four-merch-cards.product { @@ -1033,7 +1033,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-product-width: 378px; --consonant-merch-card-product-width-4clm: 276px; @@ -1047,7 +1047,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, var(--consonant-merch-card-product-width-4clm)); } } -`;var $e=class extends I{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Bo}adjustProductBodySlots(){if(this.card.getBoundingClientRect().width===0)return;["heading-xs","body-xxs","body-xs","promo-text","callout-content","body-lower"].forEach(r=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${r}"]`),r))}renderLayout(){return x` ${this.badge} +`;var Me=class extends I{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Ko}adjustProductBodySlots(){if(this.card.getBoundingClientRect().width===0)return;["heading-xs","body-xxs","body-xs","promo-text","callout-content","body-lower"].forEach(r=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${r}"]`),r))}renderLayout(){return x` ${this.badge}
@@ -1058,7 +1058,7 @@ merch-card[variant="plans"] [slot="quantity-select"] {
- ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(fr()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p($e,"variantStyle",P` + ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(br()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p(Me,"variantStyle",C` :host([variant='product']) > slot:not([name='icons']) { display: block; } @@ -1086,7 +1086,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { :host([variant='product']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);var Go=` + `);var jo=` :root { --consonant-merch-card-segment-width: 378px; } @@ -1106,7 +1106,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } } -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-segment-width: 276px; } @@ -1119,7 +1119,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-segment-width: 302px; } @@ -1132,7 +1132,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, minmax(276px, var(--consonant-merch-card-segment-width))); } } -`;var ct=class extends I{constructor(t){super(t)}getGlobalCSS(){return Go}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return x` ${this.badge} +`;var at=class extends I{constructor(t){super(t)}getGlobalCSS(){return jo}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return x` ${this.badge}
@@ -1141,14 +1141,14 @@ merch-card[variant="plans"] [slot="quantity-select"] { ${this.promoBottom?x``:""}

- ${this.secureLabelFooter}`}};p(ct,"variantStyle",P` + ${this.secureLabelFooter}`}};p(at,"variantStyle",C` :host([variant='segment']) { min-height: 214px; } :host([variant='segment']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);var zo=` + `);var Yo=` :root { --consonant-merch-card-special-offers-width: 378px; } @@ -1171,7 +1171,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri } } -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-special-offers-width: 302px; } @@ -1184,7 +1184,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri } /* desktop */ -@media screen and ${M} { +@media screen and ${V} { .three-merch-cards.special-offers, .four-merch-cards.special-offers { grid-template-columns: repeat(3, minmax(300px, var(--consonant-merch-card-special-offers-width))); @@ -1196,7 +1196,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri grid-template-columns: repeat(4, minmax(300px, var(--consonant-merch-card-special-offers-width))); } } -`;var ac={name:{tag:"h4",slot:"detail-m"},title:{tag:"h4",slot:"detail-m"},backgroundImage:{tag:"div",slot:"bg-image"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"l"}},lt=class extends I{constructor(t){super(t)}getGlobalCSS(){return zo}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return ac}renderLayout(){return x`${this.cardImage} +`;var dc={name:{tag:"h4",slot:"detail-m"},title:{tag:"h4",slot:"detail-m"},backgroundImage:{tag:"div",slot:"bg-image"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"l"}},st=class extends I{constructor(t){super(t)}getGlobalCSS(){return Yo}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return dc}renderLayout(){return x`${this.cardImage}
@@ -1213,7 +1213,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri
${this.secureLabelFooter} `} - `}};p(lt,"variantStyle",P` + `}};p(st,"variantStyle",C` :host([variant='special-offers']) { min-height: 439px; } @@ -1225,7 +1225,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri :host([variant='special-offers'].center) { text-align: center; } - `);var Fo=` + `);var Xo=` :root { --consonant-merch-card-twp-width: 268px; --consonant-merch-card-twp-mobile-width: 300px; @@ -1291,7 +1291,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-twp-width: 268px; } @@ -1304,7 +1304,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-twp-width: 268px; } @@ -1326,7 +1326,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: repeat(3, var(--consonant-merch-card-twp-width)); } } -`;var ht=class extends I{constructor(t){super(t)}getGlobalCSS(){return Fo}renderLayout(){return x`${this.badge} +`;var ct=class extends I{constructor(t){super(t)}getGlobalCSS(){return Xo}renderLayout(){return x`${this.badge}
@@ -1335,7 +1335,7 @@ merch-card[variant='twp'] merch-offer-select {
-
`}};p(ht,"variantStyle",P` +
`}};p(ct,"variantStyle",C` :host([variant='twp']) { padding: 4px 10px 5px 10px; } @@ -1374,7 +1374,7 @@ merch-card[variant='twp'] merch-offer-select { flex-direction: column; align-self: flex-start; } - `);var Ko=` + `);var Wo=` merch-card[variant="ccd-suggested"] [slot="heading-xs"] { font-size: var(--consonant-merch-card-heading-xxs-font-size); @@ -1399,7 +1399,7 @@ merch-card[variant='twp'] merch-offer-select { .spectrum--darkest merch-card[variant="ccd-suggested"]:hover { --consonant-merch-card-border-color:rgb(73, 73, 73); } -`;var sc={mnemonics:{size:"l"},subtitle:{tag:"h4",slot:"detail-s"},backgroundImage:{attribute:"background-image"},title:{tag:"h3",slot:"heading-xs"},prices:{tag:"p",slot:"price"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"cta",size:"M"}},dt=class extends I{getGlobalCSS(){return Ko}get aemFragmentMapping(){return sc}get stripStyle(){return this.card.backgroundImage?` +`;var uc={mnemonics:{size:"l"},subtitle:{tag:"h4",slot:"detail-s"},backgroundImage:{attribute:"background-image"},title:{tag:"h3",slot:"heading-xs"},prices:{tag:"p",slot:"price"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"cta",size:"M"}},lt=class extends I{getGlobalCSS(){return Wo}get aemFragmentMapping(){return uc}get stripStyle(){return this.card.backgroundImage?` background: url("${this.card.backgroundImage}"); background-size: auto 100%; background-repeat: no-repeat; @@ -1421,7 +1421,7 @@ merch-card[variant='twp'] merch-offer-select {
- `}postCardUpdateHook(t){t.has("backgroundImage")&&this.styleBackgroundImage()}styleBackgroundImage(){if(this.card.classList.remove("thin-strip"),this.card.classList.remove("wide-strip"),!this.card.backgroundImage)return;let t=new Image;t.src=this.card.backgroundImage,t.onload=()=>{t.width>8?this.card.classList.add("wide-strip"):t.width===8&&this.card.classList.add("thin-strip")}}};p(dt,"variantStyle",P` + `}postCardUpdateHook(t){t.has("backgroundImage")&&this.styleBackgroundImage()}styleBackgroundImage(){if(this.card.classList.remove("thin-strip"),this.card.classList.remove("wide-strip"),!this.card.backgroundImage)return;let t=new Image;t.src=this.card.backgroundImage,t.onload=()=>{t.width>8?this.card.classList.add("wide-strip"):t.width===8&&this.card.classList.add("thin-strip")}}};p(lt,"variantStyle",C` :host([variant='ccd-suggested']) { --consonant-merch-card-background-color: rgb(245, 245, 245); --consonant-merch-card-body-xs-color: rgb(75, 75, 75); @@ -1530,7 +1530,7 @@ merch-card[variant='twp'] merch-offer-select { :host([variant='ccd-suggested']) .top-section { align-items: center; } - `);var jo=` + `);var qo=` merch-card[variant="ccd-slice"] [slot='image'] img { overflow: hidden; @@ -1550,7 +1550,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { --consonant-merch-card-border-color:rgb(48, 48, 48); --consonant-merch-card-detail-s-color:rgb(235, 235, 235); } -`;var cc={mnemonics:{size:"m"},backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"S"},allowedSizes:["wide"]},ut=class extends I{getGlobalCSS(){return jo}get aemFragmentMapping(){return cc}renderLayout(){return x`
+`;var mc={mnemonics:{size:"m"},backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"S"},allowedSizes:["wide"]},ht=class extends I{getGlobalCSS(){return qo}get aemFragmentMapping(){return mc}renderLayout(){return x`
${this.badge} @@ -1559,7 +1559,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link {
- `}};p(ut,"variantStyle",P` + `}};p(ht,"variantStyle",C` :host([variant='ccd-slice']) { --consonant-merch-card-background-color: rgb(248, 248, 248); --consonant-merch-card-border-color: rgb(230, 230, 230); @@ -1662,7 +1662,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { align-items: center; gap: 8px; } - `);var zn=(e,t=!1)=>{switch(e.variant){case"catalog":return new ot(e);case"image":return new vr(e);case"inline-heading":return new Ar(e);case"mini-compare-chart":return new at(e);case"plans":return new st(e);case"product":return new $e(e);case"segment":return new ct(e);case"special-offers":return new lt(e);case"twp":return new ht(e);case"ccd-suggested":return new dt(e);case"ccd-slice":return new ut(e);default:return t?void 0:new $e(e)}},Yo=()=>{let e=[];return e.push(ot.variantStyle),e.push(at.variantStyle),e.push($e.variantStyle),e.push(st.variantStyle),e.push(ct.variantStyle),e.push(lt.variantStyle),e.push(ht.variantStyle),e.push(dt.variantStyle),e.push(ut.variantStyle),e};var Xo=document.createElement("style");Xo.innerHTML=` + `);var jn=(e,t=!1)=>{switch(e.variant){case"catalog":return new nt(e);case"image":return new Sr(e);case"inline-heading":return new yr(e);case"mini-compare-chart":return new it(e);case"plans":return new ot(e);case"product":return new Me(e);case"segment":return new at(e);case"special-offers":return new st(e);case"twp":return new ct(e);case"ccd-suggested":return new lt(e);case"ccd-slice":return new ht(e);default:return t?void 0:new Me(e)}},Zo=()=>{let e=[];return e.push(nt.variantStyle),e.push(it.variantStyle),e.push(Me.variantStyle),e.push(ot.variantStyle),e.push(at.variantStyle),e.push(st.variantStyle),e.push(ct.variantStyle),e.push(lt.variantStyle),e.push(ht.variantStyle),e};var Jo=document.createElement("style");Jo.innerHTML=` :root { --consonant-merch-card-detail-font-size: 12px; --consonant-merch-card-detail-font-weight: 500; @@ -2094,11 +2094,11 @@ body.merch-modal { height: 100vh; } -`;document.head.appendChild(Xo);var Vt;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(Vt||(Vt={}));var Fn;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(Fn||(Fn={}));var Mt;(function(e){e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED"})(Mt||(Mt={}));var Ue;(function(e){e.V2="UCv2",e.V3="UCv3"})(Ue||(Ue={}));var Z;(function(e){e.CHECKOUT="checkout",e.CHECKOUT_EMAIL="checkout/email",e.SEGMENTATION="segmentation",e.BUNDLE="bundle",e.COMMITMENT="commitment",e.RECOMMENDATION="recommendation",e.EMAIL="email",e.PAYMENT="payment",e.CHANGE_PLAN_TEAM_PLANS="change-plan/team-upgrade/plans",e.CHANGE_PLAN_TEAM_PAYMENT="change-plan/team-upgrade/payment"})(Z||(Z={}));var Kn=function(e){var t;return(t=lc.get(e))!==null&&t!==void 0?t:e},lc=new Map([["countrySpecific","cs"],["quantity","q"],["authCode","code"],["checkoutPromoCode","apc"],["rurl","rUrl"],["curl","cUrl"],["ctxrturl","ctxRtUrl"],["country","co"],["language","lang"],["clientId","cli"],["context","ctx"],["productArrangementCode","pa"],["offerType","ot"],["marketSegment","ms"]]);var Wo=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},qo=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o};function mt(e,t,r){var n,i;try{for(var o=Wo(Object.entries(e)),a=o.next();!a.done;a=o.next()){var s=qo(a.value,2),c=s[0],l=s[1],h=Kn(c);l!=null&&r.has(h)&&t.set(h,l)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Er(e){switch(e){case Vt.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Sr(e,t){var r,n;for(var i in e){var o=e[i];try{for(var a=(r=void 0,Wo(Object.entries(o))),s=a.next();!s.done;s=a.next()){var c=qo(s.value,2),l=c[0],h=c[1];if(h!=null){var d=Kn(l);t.set("items["+i+"]["+d+"]",h)}}}catch(u){r={error:u}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}var hc=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Zo(e){pc(e);var t=e.env,r=e.items,n=e.workflowStep,i=hc(e,["env","items","workflowStep"]),o=new URL(Er(t));return o.pathname=n+"/",Sr(r,o.searchParams),mt(i,o.searchParams,uc),o.toString()}var uc=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),mc=["env","workflowStep","clientId","country","items"];function pc(e){var t,r;try{for(var n=dc(mc),i=n.next();!i.done;i=n.next()){var o=i.value;if(!e[o])throw new Error('Argument "checkoutData" is not valid, missing: '+o)}}catch(a){t={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!0}var fc=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},xc="p_draft_landscape",bc="/store/";function Yn(e){Ac(e);var t=e.env,r=e.items,n=e.workflowStep,i=e.ms,o=e.marketSegment,a=e.ot,s=e.offerType,c=e.pa,l=e.productArrangementCode,h=e.landscape,d=fc(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),u={marketSegment:o??i,offerType:s??a,productArrangementCode:l??c},m=new URL(Er(t));return m.pathname=""+bc+n,n!==Z.SEGMENTATION&&n!==Z.CHANGE_PLAN_TEAM_PLANS&&Sr(r,m.searchParams),n===Z.SEGMENTATION&&mt(u,m.searchParams,jn),mt(d,m.searchParams,jn),h===Mt.DRAFT&&mt({af:xc},m.searchParams,jn),m.toString()}var jn=new Set(["af","ai","apc","appctxid","cli","co","csm","ctx","ctxRtUrl","DCWATC","dp","fr","gsp","ijt","lang","lo","mal","ms","mv","mv2","nglwfdata","ot","otac","pa","pcid","promoid","q","rf","sc","scl","sdid","sid","spint","svar","th","thm","trackingid","usid","workflowid","context.guid","so.ca","so.su","so.tr","so.va"]),vc=["env","workflowStep","clientId","country"];function Ac(e){var t,r;try{for(var n=gc(vc),i=n.next();!i.done;i=n.next()){var o=i.value;if(!e[o])throw new Error('Argument "checkoutData" is not valid, missing: '+o)}}catch(a){t={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}if(e.workflowStep!==Z.SEGMENTATION&&e.workflowStep!==Z.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function Xn(e,t){switch(e){case Ue.V2:return Zo(t);case Ue.V3:return Yn(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),Yn(t)}}var Wn;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(Wn||(Wn={}));var U;(function(e){e.MONTH="MONTH",e.YEAR="YEAR",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.PERPETUAL="PERPETUAL",e.TERM_LICENSE="TERM_LICENSE",e.ACCESS_PASS="ACCESS_PASS",e.THREE_MONTHS="THREE_MONTHS",e.SIX_MONTHS="SIX_MONTHS"})(U||(U={}));var N;(function(e){e.ANNUAL="ANNUAL",e.MONTHLY="MONTHLY",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.P1D="P1D",e.P1Y="P1Y",e.P3Y="P3Y",e.P10Y="P10Y",e.P15Y="P15Y",e.P3D="P3D",e.P7D="P7D",e.P30D="P30D",e.HALF_YEARLY="HALF_YEARLY",e.QUARTERLY="QUARTERLY"})(N||(N={}));var qn;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(qn||(qn={}));var Zn;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(Zn||(Zn={}));var Jn;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(Jn||(Jn={}));var Qn;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(Qn||(Qn={}));var Jo="tacocat.js";var yr=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),Qo=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function O(e,t={},{metadata:r=!0,search:n=!0,storage:i=!0}={}){let o;if(n&&o==null){let a=new URLSearchParams(window.location.search),s=pt(n)?n:e;o=a.get(s)}if(i&&o==null){let a=pt(i)?i:e;o=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&o==null){let a=Ec(pt(r)?r:e);o=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return o??t[e]}var ft=()=>{};var ea=e=>typeof e=="boolean",Ht=e=>typeof e=="function",Tr=e=>typeof e=="number",ta=e=>e!=null&&typeof e=="object";var pt=e=>typeof e=="string",ei=e=>pt(e)&&e,gt=e=>Tr(e)&&Number.isFinite(e)&&e>0;function xt(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function y(e,t){if(ea(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function Se(e,t,r){let n=Object.values(t);return n.find(i=>yr(i,e))??r??n[0]}function Ec(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function bt(e,t=1){return Tr(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var Sc=Date.now(),ti=()=>`(+${Date.now()-Sc}ms)`,Lr=new Set,yc=y(O("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function ra(e){let t=`[${Jo}/${e}]`,r=(a,s,...c)=>a?!0:(i(s,...c),!1),n=yc?(a,...s)=>{console.debug(`${t} ${a}`,...s,ti())}:()=>{},i=(a,...s)=>{let c=`${t} ${a}`;Lr.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:i,warn:(a,...s)=>{let c=`${t} ${a}`;Lr.forEach(([,l])=>l(c,...s))}}}function Tc(e,t){let r=[e,t];return Lr.add(r),()=>{Lr.delete(r)}}Tc((e,...t)=>{console.error(e,...t,ti())},(e,...t)=>{console.warn(e,...t,ti())});var Lc="no promo",na="promo-tag",_c="yellow",wc="neutral",Cc=(e,t,r)=>{let n=o=>o||Lc,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Pc="cancel-context",$t=(e,t)=>{let r=e===Pc,n=!r&&e?.length>0,i=(n||r)&&(t&&t!=e||!t&&!r),o=i&&n||!i&&!!t,a=o?e||t:void 0;return{effectivePromoCode:a,overridenPromoCode:e,className:o?na:`${na} no-promo`,text:Cc(a,t,i),variant:o?_c:wc,isOverriden:i}};var ri="ABM",ni="PUF",ii="M2M",oi="PERPETUAL",ai="P3Y",Ic="TAX_INCLUSIVE_DETAILS",kc="TAX_EXCLUSIVE",ia={ABM:ri,PUF:ni,M2M:ii,PERPETUAL:oi,P3Y:ai},pm={[ri]:{commitment:U.YEAR,term:N.MONTHLY},[ni]:{commitment:U.YEAR,term:N.ANNUAL},[ii]:{commitment:U.MONTH,term:N.MONTHLY},[oi]:{commitment:U.PERPETUAL,term:void 0},[ai]:{commitment:U.THREE_MONTHS,term:N.P3Y}},oa="Value is not an offer",_r=e=>{if(typeof e!="object")return oa;let{commitment:t,term:r}=e,n=Nc(t,r);return{...e,planType:n}};var Nc=(e,t)=>{switch(e){case void 0:return oa;case"":return"";case U.YEAR:return t===N.MONTHLY?ri:t===N.ANNUAL?ni:"";case U.MONTH:return t===N.MONTHLY?ii:"";case U.PERPETUAL:return oi;case U.TERM_LICENSE:return t===N.P3Y?ai:"";default:return""}};function si(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:o,taxDisplay:a}=t;if(a!==Ic)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:o??n,taxDisplay:kc}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var ci=function(e,t){return ci=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},ci(e,t)};function Ut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ci(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var A=function(){return A=Object.assign||function(t){for(var r,n=1,i=arguments.length;n0}),r=[],n=0,i=t;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Vc,function(c,l,h,d,u,m){if(l)t.minimumIntegerDigits=h.length;else{if(d&&u)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fa.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ha.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ha,function(c,l,h,d,u,m){return h==="*"?t.minimumFractionDigits=l.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:u&&m?(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=A(A({},t),da(o)));continue}if(pa.test(i.stem)){t=A(A({},t),da(i.stem));continue}var a=ga(i.stem);a&&(t=A(A({},t),a));var s=Mc(i.stem);s&&(t=A(A({},t),s))}return t}var Bt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function ba(e,t){for(var r="",n=0;n>1),c="a",l=Hc(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=c;for(;a-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function Hc(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Bt[n||""]||Bt[r||""]||Bt["".concat(r,"-001")]||Bt["001"];return i[0]}var di,$c=new RegExp("^".concat(hi.source,"*")),Uc=new RegExp("".concat(hi.source,"*$"));function E(e,t){return{start:e,end:t}}var Dc=!!String.prototype.startsWith,Bc=!!String.fromCodePoint,Gc=!!Object.fromEntries,zc=!!String.prototype.codePointAt,Fc=!!String.prototype.trimStart,Kc=!!String.prototype.trimEnd,jc=!!Number.isSafeInteger,Yc=jc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},mi=!0;try{va=ya("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),mi=((di=va.exec("a"))===null||di===void 0?void 0:di[0])==="a"}catch{mi=!1}var va,Aa=Dc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},pi=Bc?String.fromCodePoint:function(){for(var t=[],r=0;ro;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Ea=Gc?Object.fromEntries:function(t){for(var r={},n=0,i=t;n=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Xc=Fc?function(t){return t.trimStart()}:function(t){return t.replace($c,"")},Wc=Kc?function(t){return t.trimEnd()}:function(t){return t.replace(Uc,"")};function ya(e,t){return new RegExp(e,t)}var fi;mi?(ui=ya("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),fi=function(t,r){var n;ui.lastIndex=r;var i=ui.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):fi=function(t,r){for(var n=[];;){var i=Sa(t,r);if(i===void 0||La(i)||Jc(i))break;n.push(i),r+=i>=65536?2:1}return pi.apply(void 0,n)};var ui,Ta=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:C.pound,location:E(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(v.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&gi(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:C.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:C.tag,value:i,children:a,location:E(n,this.clonePosition())},err:null}:this.error(v.INVALID_TAG,E(s,this.clonePosition())))}else return this.error(v.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(v.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Zc(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var c=E(n,this.clonePosition());return{val:{type:C.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!qc(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return pi.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),pi(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(v.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:C.argument,value:i,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=fi(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=E(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(v.EXPECT_ARGUMENT_TYPE,E(a,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var u=Wc(d.val);if(u.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var m=E(h,this.clonePosition());l={style:u,styleLocation:m}}var f=this.tryParseArgumentClose(i);if(f.err)return f;var g=E(i,this.clonePosition());if(l&&Aa(l?.style,"::",0)){var T=Xc(l.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(T,l.styleLocation);return d.err?d:{val:{type:C.number,value:n,location:g,style:d.val},err:null}}else{if(T.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,g);var _=T;this.locale&&(_=ba(T,this.locale));var u={type:De.dateTime,pattern:_,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ca(_):{}},b=s==="date"?C.date:C.time;return{val:{type:b,value:n,location:g,style:u},err:null}}}return{val:{type:s==="number"?C.number:s==="date"?C.date:C.time,value:n,location:g,style:(o=l?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS,E(S,A({},S)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),R=0;if(s!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),k=this.parseIdentifierIfPossible(),R=d.val}var V=this.tryParsePluralOrSelectOptions(t,s,r,k);if(V.err)return V;var f=this.tryParseArgumentClose(i);if(f.err)return f;var $=E(i,this.clonePosition());return s==="select"?{val:{type:C.select,value:n,options:Ea(V.val),location:$},err:null}:{val:{type:C.plural,value:n,options:Ea(V.val),offset:R,pluralType:s==="plural"?"cardinal":"ordinal",location:$},err:null}}default:return this.error(v.INVALID_ARGUMENT_TYPE,E(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=ma(t)}catch{return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:De.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?xa(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],c=new Set,l=i.value,h=i.location;;){if(l.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var u=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=E(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}else break}if(c.has(l))return this.error(r==="select"?v.DUPLICATE_SELECT_ARGUMENT_SELECTOR:v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(t+1,r,n);if(f.err)return f;var g=this.tryParseArgumentClose(m);if(g.err)return g;s.push([l,{value:f.val,location:E(m,this.clonePosition())}]),c.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return s.length===0?this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR:v.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(v.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var c=E(i,this.clonePosition());return o?(a*=n,Yc(a)?{val:a,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Sa(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Aa(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.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 r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&La(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function gi(e){return e>=97&&e<=122||e>=65&&e<=90}function qc(e){return gi(e)||e===47}function Zc(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function La(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Jc(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function xi(e){e.forEach(function(t){if(delete t.location,kr(t)||Nr(t))for(var r in t.options)delete t.options[r].location,xi(t.options[r].value);else Cr(t)&&Rr(t.style)||(Pr(t)||Ir(t))&&Dt(t.style)?delete t.style.location:Or(t)&&xi(t.children)})}function _a(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ta(e,t).parse();if(r.err){var n=SyntaxError(v[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||xi(r.val),r.val}function Gt(e,t){var r=t&&t.cache?t.cache:il,n=t&&t.serializer?t.serializer:nl,i=t&&t.strategy?t.strategy:el;return i(e,{cache:r,serializer:n})}function Qc(e){return e==null||typeof e=="number"||typeof e=="boolean"}function wa(e,t,r,n){var i=Qc(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function Ca(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,n),t.set(i,o)),o}function bi(e,t,r,n,i){return r.bind(t,e,n,i)}function el(e,t){var r=e.length===1?wa:Ca;return bi(e,this,r,t.cache.create(),t.serializer)}function tl(e,t){return bi(e,this,Ca,t.cache.create(),t.serializer)}function rl(e,t){return bi(e,this,wa,t.cache.create(),t.serializer)}var nl=function(){return JSON.stringify(arguments)};function vi(){this.cache=Object.create(null)}vi.prototype.get=function(e){return this.cache[e]};vi.prototype.set=function(e,t){this.cache[e]=t};var il={create:function(){return new vi}},Vr={variadic:tl,monadic:rl};var Be;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Be||(Be={}));var zt=function(e){Ut(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var Ai=function(e){Ut(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Be.INVALID_VALUE,o)||this}return t}(zt);var Pa=function(e){Ut(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Be.INVALID_VALUE,i)||this}return t}(zt);var Ia=function(e){Ut(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Be.MISSING_VALUE,n)||this}return t}(zt);var z;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(z||(z={}));function ol(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==z.literal||r.type!==z.literal?t.push(r):n.value+=r.value,t},[])}function al(e){return typeof e=="function"}function Ft(e,t,r,n,i,o,a){if(e.length===1&&li(e[0]))return[{type:z.literal,value:e[0].value}];for(var s=[],c=0,l=e;c=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ea=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o};function dt(e,t,r){var n,i;try{for(var o=Qo(Object.entries(e)),a=o.next();!a.done;a=o.next()){var s=ea(a.value,2),c=s[0],l=s[1],h=Xn(c);l!=null&&r.has(h)&&t.set(h,l)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Tr(e){switch(e){case Ut.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Lr(e,t){var r,n;for(var i in e){var o=e[i];try{for(var a=(r=void 0,Qo(Object.entries(o))),s=a.next();!s.done;s=a.next()){var c=ea(s.value,2),l=c[0],h=c[1];if(h!=null){var d=Xn(l);t.set("items["+i+"]["+d+"]",h)}}}catch(u){r={error:u}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}var fc=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function ta(e){vc(e);var t=e.env,r=e.items,n=e.workflowStep,i=fc(e,["env","items","workflowStep"]),o=new URL(Tr(t));return o.pathname=n+"/",Lr(r,o.searchParams),dt(i,o.searchParams,xc),o.toString()}var xc=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),bc=["env","workflowStep","clientId","country","items"];function vc(e){var t,r;try{for(var n=gc(bc),i=n.next();!i.done;i=n.next()){var o=i.value;if(!e[o])throw new Error('Argument "checkoutData" is not valid, missing: '+o)}}catch(a){t={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!0}var Ac=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Sc="p_draft_landscape",yc="/store/";function qn(e){Lc(e);var t=e.env,r=e.items,n=e.workflowStep,i=e.ms,o=e.marketSegment,a=e.ot,s=e.offerType,c=e.pa,l=e.productArrangementCode,h=e.landscape,d=Ac(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),u={marketSegment:o??i,offerType:s??a,productArrangementCode:l??c},m=new URL(Tr(t));return m.pathname=""+yc+n,n!==Q.SEGMENTATION&&n!==Q.CHANGE_PLAN_TEAM_PLANS&&Lr(r,m.searchParams),n===Q.SEGMENTATION&&dt(u,m.searchParams,Wn),dt(d,m.searchParams,Wn),h===Dt.DRAFT&&dt({af:Sc},m.searchParams,Wn),m.toString()}var Wn=new Set(["af","ai","apc","appctxid","cli","co","csm","ctx","ctxRtUrl","DCWATC","dp","fr","gsp","ijt","lang","lo","mal","ms","mv","mv2","nglwfdata","ot","otac","pa","pcid","promoid","q","rf","sc","scl","sdid","sid","spint","svar","th","thm","trackingid","usid","workflowid","context.guid","so.ca","so.su","so.tr","so.va"]),Tc=["env","workflowStep","clientId","country"];function Lc(e){var t,r;try{for(var n=Ec(Tc),i=n.next();!i.done;i=n.next()){var o=i.value;if(!e[o])throw new Error('Argument "checkoutData" is not valid, missing: '+o)}}catch(a){t={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}if(e.workflowStep!==Q.SEGMENTATION&&e.workflowStep!==Q.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function Zn(e,t){switch(e){case He.V2:return ta(t);case He.V3:return qn(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),qn(t)}}var Jn;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(Jn||(Jn={}));var $;(function(e){e.MONTH="MONTH",e.YEAR="YEAR",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.PERPETUAL="PERPETUAL",e.TERM_LICENSE="TERM_LICENSE",e.ACCESS_PASS="ACCESS_PASS",e.THREE_MONTHS="THREE_MONTHS",e.SIX_MONTHS="SIX_MONTHS"})($||($={}));var N;(function(e){e.ANNUAL="ANNUAL",e.MONTHLY="MONTHLY",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.P1D="P1D",e.P1Y="P1Y",e.P3Y="P3Y",e.P10Y="P10Y",e.P15Y="P15Y",e.P3D="P3D",e.P7D="P7D",e.P30D="P30D",e.HALF_YEARLY="HALF_YEARLY",e.QUARTERLY="QUARTERLY"})(N||(N={}));var Qn;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(Qn||(Qn={}));var ei;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(ei||(ei={}));var ti;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(ti||(ti={}));var ri;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(ri||(ri={}));var ra="tacocat.js";var wr=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),na=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function O(e,t={},{metadata:r=!0,search:n=!0,storage:i=!0}={}){let o;if(n&&o==null){let a=new URLSearchParams(window.location.search),s=ut(n)?n:e;o=a.get(s)}if(i&&o==null){let a=ut(i)?i:e;o=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&o==null){let a=wc(ut(r)?r:e);o=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return o??t[e]}var mt=()=>{};var ia=e=>typeof e=="boolean",Bt=e=>typeof e=="function",_r=e=>typeof e=="number",oa=e=>e!=null&&typeof e=="object";var ut=e=>typeof e=="string",ni=e=>ut(e)&&e,pt=e=>_r(e)&&Number.isFinite(e)&&e>0;function ft(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function y(e,t){if(ia(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function Se(e,t,r){let n=Object.values(t);return n.find(i=>wr(i,e))??r??n[0]}function wc(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function gt(e,t=1){return _r(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var _c=Date.now(),ii=()=>`(+${Date.now()-_c}ms)`,Pr=new Set,Pc=y(O("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function aa(e){let t=`[${ra}/${e}]`,r=(a,s,...c)=>a?!0:(i(s,...c),!1),n=Pc?(a,...s)=>{console.debug(`${t} ${a}`,...s,ii())}:()=>{},i=(a,...s)=>{let c=`${t} ${a}`;Pr.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:i,warn:(a,...s)=>{let c=`${t} ${a}`;Pr.forEach(([,l])=>l(c,...s))}}}function Cc(e,t){let r=[e,t];return Pr.add(r),()=>{Pr.delete(r)}}Cc((e,...t)=>{console.error(e,...t,ii())},(e,...t)=>{console.warn(e,...t,ii())});var Ic="no promo",sa="promo-tag",kc="yellow",Nc="neutral",Oc=(e,t,r)=>{let n=o=>o||Ic,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Rc="cancel-context",Gt=(e,t)=>{let r=e===Rc,n=!r&&e?.length>0,i=(n||r)&&(t&&t!=e||!t&&!r),o=i&&n||!i&&!!t,a=o?e||t:void 0;return{effectivePromoCode:a,overridenPromoCode:e,className:o?sa:`${sa} no-promo`,text:Oc(a,t,i),variant:o?kc:Nc,isOverriden:i}};var oi="ABM",ai="PUF",si="M2M",ci="PERPETUAL",li="P3Y",Vc="TAX_INCLUSIVE_DETAILS",Mc="TAX_EXCLUSIVE",ca={ABM:oi,PUF:ai,M2M:si,PERPETUAL:ci,P3Y:li},vm={[oi]:{commitment:$.YEAR,term:N.MONTHLY},[ai]:{commitment:$.YEAR,term:N.ANNUAL},[si]:{commitment:$.MONTH,term:N.MONTHLY},[ci]:{commitment:$.PERPETUAL,term:void 0},[li]:{commitment:$.THREE_MONTHS,term:N.P3Y}},la="Value is not an offer",Cr=e=>{if(typeof e!="object")return la;let{commitment:t,term:r}=e,n=Hc(t,r);return{...e,planType:n}};var Hc=(e,t)=>{switch(e){case void 0:return la;case"":return"";case $.YEAR:return t===N.MONTHLY?oi:t===N.ANNUAL?ai:"";case $.MONTH:return t===N.MONTHLY?si:"";case $.PERPETUAL:return ci;case $.TERM_LICENSE:return t===N.P3Y?li:"";default:return""}};function hi(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:o,taxDisplay:a}=t;if(a!==Vc)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:o??n,taxDisplay:Mc}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var di=function(e,t){return di=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},di(e,t)};function zt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");di(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var A=function(){return A=Object.assign||function(t){for(var r,n=1,i=arguments.length;n0}),r=[],n=0,i=t;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Dc,function(c,l,h,d,u,m){if(l)t.minimumIntegerDigits=h.length;else{if(d&&u)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(va.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(pa.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(pa,function(c,l,h,d,u,m){return h==="*"?t.minimumFractionDigits=l.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:u&&m?(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=A(A({},t),fa(o)));continue}if(ba.test(i.stem)){t=A(A({},t),fa(i.stem));continue}var a=Aa(i.stem);a&&(t=A(A({},t),a));var s=Bc(i.stem);s&&(t=A(A({},t),s))}return t}var Kt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Sa(e,t){for(var r="",n=0;n>1),c="a",l=Gc(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=c;for(;a-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function Gc(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Kt[n||""]||Kt[r||""]||Kt["".concat(r,"-001")]||Kt["001"];return i[0]}var pi,zc=new RegExp("^".concat(mi.source,"*")),Fc=new RegExp("".concat(mi.source,"*$"));function E(e,t){return{start:e,end:t}}var Kc=!!String.prototype.startsWith,jc=!!String.fromCodePoint,Yc=!!Object.fromEntries,Xc=!!String.prototype.codePointAt,Wc=!!String.prototype.trimStart,qc=!!String.prototype.trimEnd,Zc=!!Number.isSafeInteger,Jc=Zc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},gi=!0;try{ya=_a("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),gi=((pi=ya.exec("a"))===null||pi===void 0?void 0:pi[0])==="a"}catch{gi=!1}var ya,Ta=Kc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},xi=jc?String.fromCodePoint:function(){for(var t=[],r=0;ro;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},La=Yc?Object.fromEntries:function(t){for(var r={},n=0,i=t;n=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Qc=Wc?function(t){return t.trimStart()}:function(t){return t.replace(zc,"")},el=qc?function(t){return t.trimEnd()}:function(t){return t.replace(Fc,"")};function _a(e,t){return new RegExp(e,t)}var bi;gi?(fi=_a("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),bi=function(t,r){var n;fi.lastIndex=r;var i=fi.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):bi=function(t,r){for(var n=[];;){var i=wa(t,r);if(i===void 0||Ca(i)||nl(i))break;n.push(i),r+=i>=65536?2:1}return xi.apply(void 0,n)};var fi,Pa=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:P.pound,location:E(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(v.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&vi(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:P.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:P.tag,value:i,children:a,location:E(n,this.clonePosition())},err:null}:this.error(v.INVALID_TAG,E(s,this.clonePosition())))}else return this.error(v.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(v.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&rl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var c=E(n,this.clonePosition());return{val:{type:P.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!tl(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return xi.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),xi(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(v.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:P.argument,value:i,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=bi(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=E(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(v.EXPECT_ARGUMENT_TYPE,E(a,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var u=el(d.val);if(u.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var m=E(h,this.clonePosition());l={style:u,styleLocation:m}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var f=E(i,this.clonePosition());if(l&&Ta(l?.style,"::",0)){var T=Qc(l.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(T,l.styleLocation);return d.err?d:{val:{type:P.number,value:n,location:f,style:d.val},err:null}}else{if(T.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,f);var w=T;this.locale&&(w=Sa(T,this.locale));var u={type:$e.dateTime,pattern:w,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ua(w):{}},b=s==="date"?P.date:P.time;return{val:{type:b,value:n,location:f,style:u},err:null}}}return{val:{type:s==="number"?P.number:s==="date"?P.date:P.time,value:n,location:f,style:(o=l?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS,E(S,A({},S)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),R=0;if(s!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),k=this.parseIdentifierIfPossible(),R=d.val}var U=this.tryParsePluralOrSelectOptions(t,s,r,k);if(U.err)return U;var g=this.tryParseArgumentClose(i);if(g.err)return g;var H=E(i,this.clonePosition());return s==="select"?{val:{type:P.select,value:n,options:La(U.val),location:H},err:null}:{val:{type:P.plural,value:n,options:La(U.val),offset:R,pluralType:s==="plural"?"cardinal":"ordinal",location:H},err:null}}default:return this.error(v.INVALID_ARGUMENT_TYPE,E(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=xa(t)}catch{return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:$e.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ea(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],c=new Set,l=i.value,h=i.location;;){if(l.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var u=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=E(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}else break}if(c.has(l))return this.error(r==="select"?v.DUPLICATE_SELECT_ARGUMENT_SELECTOR:v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var f=this.tryParseArgumentClose(m);if(f.err)return f;s.push([l,{value:g.val,location:E(m,this.clonePosition())}]),c.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return s.length===0?this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR:v.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(v.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var c=E(i,this.clonePosition());return o?(a*=n,Jc(a)?{val:a,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=wa(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ta(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.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 r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ca(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function vi(e){return e>=97&&e<=122||e>=65&&e<=90}function tl(e){return vi(e)||e===47}function rl(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ca(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function nl(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ai(e){e.forEach(function(t){if(delete t.location,Rr(t)||Vr(t))for(var r in t.options)delete t.options[r].location,Ai(t.options[r].value);else kr(t)&&Hr(t.style)||(Nr(t)||Or(t))&&Ft(t.style)?delete t.style.location:Mr(t)&&Ai(t.children)})}function Ia(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Pa(e,t).parse();if(r.err){var n=SyntaxError(v[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Ai(r.val),r.val}function jt(e,t){var r=t&&t.cache?t.cache:ll,n=t&&t.serializer?t.serializer:cl,i=t&&t.strategy?t.strategy:ol;return i(e,{cache:r,serializer:n})}function il(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ka(e,t,r,n){var i=il(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function Na(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,n),t.set(i,o)),o}function Ei(e,t,r,n,i){return r.bind(t,e,n,i)}function ol(e,t){var r=e.length===1?ka:Na;return Ei(e,this,r,t.cache.create(),t.serializer)}function al(e,t){return Ei(e,this,Na,t.cache.create(),t.serializer)}function sl(e,t){return Ei(e,this,ka,t.cache.create(),t.serializer)}var cl=function(){return JSON.stringify(arguments)};function Si(){this.cache=Object.create(null)}Si.prototype.get=function(e){return this.cache[e]};Si.prototype.set=function(e,t){this.cache[e]=t};var ll={create:function(){return new Si}},$r={variadic:al,monadic:sl};var Ue;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ue||(Ue={}));var Yt=function(e){zt(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var yi=function(e){zt(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ue.INVALID_VALUE,o)||this}return t}(Yt);var Oa=function(e){zt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Ue.INVALID_VALUE,i)||this}return t}(Yt);var Ra=function(e){zt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Ue.MISSING_VALUE,n)||this}return t}(Yt);var z;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(z||(z={}));function hl(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==z.literal||r.type!==z.literal?t.push(r):n.value+=r.value,t},[])}function dl(e){return typeof e=="function"}function Xt(e,t,r,n,i,o,a){if(e.length===1&&ui(e[0]))return[{type:z.literal,value:e[0].value}];for(var s=[],c=0,l=e;c0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=_a,e.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"}}},e}();var Na=ka;var hl=/[0-9\-+#]/,dl=/[^\d\-+#]/g;function Oa(e){return e.search(hl)}function ul(e="#.##"){let t={},r=e.length,n=Oa(e);t.prefix=n>0?e.substring(0,n):"";let i=Oa(e.split("").reverse().join("")),o=r-i,a=e.substring(o,o+1),s=o+(a==="."||a===","?1:0);t.suffix=i>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let c=t.mask.match(dl);return t.decimal=c&&c[c.length-1]||".",t.separator=c&&c[1]&&c[0]||",",c=t.mask.split(t.decimal),t.integer=c[0],t.fraction=c[1],t}function ml(e,t,r){let n=!1,i={value:e};e<0&&(n=!0,i.value=-i.value),i.sign=n?"-":"",i.value=Number(i.value).toFixed(t.fraction&&t.fraction.length),i.value=Number(i.value).toString();let o=t.fraction&&t.fraction.lastIndexOf("0"),[a="0",s=""]=i.value.split(".");return(!s||s&&s.length<=o)&&(s=o<0?"":(+("0."+s)).toFixed(o+1).replace("0.","")),i.integer=a,i.fraction=s,pl(i,t),(i.result==="0"||i.result==="")&&(n=!1,i.sign=""),!n&&t.maskHasPositiveSign?i.sign="+":n&&t.maskHasPositiveSign?i.sign="-":n&&(i.sign=r&&r.enforceMaskSign&&!t.maskHasNegativeSign?"":"-"),i}function pl(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),i=n&&n.indexOf("0");if(i>-1)for(;e.integer.length({accept:e,round:t}),bl=[Si(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Si(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),Si(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],yi={[U.YEAR]:{[N.MONTHLY]:Kt.MONTH,[N.ANNUAL]:Kt.YEAR},[U.MONTH]:{[N.MONTHLY]:Kt.MONTH}},vl=(e,t)=>e.indexOf(`'${t}'`)===0,Al=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Da(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Sl(e)),r},El=e=>{let t=yl(e),r=vl(e,t),n=e.replace(/'.*?'/,""),i=Ha.test(n)||$a.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},Ua=e=>e.replace(Ha,Ma).replace($a,Ma),Sl=e=>e.match(/#(.?)#/)?.[1]===Va?gl:Va,yl=e=>e.match(/'(.*?)'/)?.[1]??"",Da=e=>e.match(/0(.?)0/)?.[1]??"";function Mr({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,o=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=El(e),l=r?Da(e):"",h=Al(e,r),d=r?2:0,u=o(t,{currencySymbol:a}),m=n?u.toLocaleString("hi-IN",{minimumFractionDigits:d,maximumFractionDigits:d}):Ra(h,u),f=r?m.lastIndexOf(l):m.length,g=m.substring(0,f),T=m.substring(f+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,a),currencySymbol:a,decimals:T,decimalsDelimiter:l,hasCurrencySpace:c,integer:g,isCurrencyFirst:s,recurrenceTerm:i}}var Ba=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=xl[r]??1;return Mr(e,i>1?Kt.MONTH:yi[t]?.[r],o=>{let a={divisor:i,price:o,usePrecision:n},{round:s}=bl.find(({accept:c})=>c(a));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(a)}`);return s(a)})},Ga=({commitment:e,term:t,...r})=>Mr(r,yi[e]?.[t]),za=e=>{let{commitment:t,term:r}=e;return t===U.YEAR&&r===N.MONTHLY?Mr(e,Kt.YEAR,n=>n*12):Mr(e,yi[t]?.[r])};var Tl={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},Ll=ra("ConsonantTemplates/price"),_l=/<\/?[^>]+(>|$)/g,G={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},Ge={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},wl="TAX_EXCLUSIVE",Cl=e=>ta(e)?Object.entries(e).filter(([,t])=>pt(t)||Tr(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Qo(n)+'"'}`,""):"",K=(e,t,r,n=!1)=>`${n?Ua(t):t??""}`;function Pl(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:o,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},d={}){let u=K(G.currencySymbol,r),m=K(G.currencySpace,o?" ":""),f="";return s&&(f+=u+m),f+=K(G.integer,a),f+=K(G.decimalsDelimiter,i),f+=K(G.decimals,n),s||(f+=m+u),f+=K(G.recurrence,c,null,!0),f+=K(G.unitType,l,null,!0),f+=K(G.taxInclusivity,h,!0),K(e,f,{...d,"aria-label":t})}var W=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1}={})=>({country:n,displayFormatted:i=!0,displayRecurrence:o=!0,displayPerUnit:a=!1,displayTax:s=!1,language:c,literals:l={}}={},{commitment:h,offerSelectorIds:d,formatString:u,price:m,priceWithoutDiscount:f,taxDisplay:g,taxTerm:T,term:_,usePrecision:b}={},S={})=>{Object.entries({country:n,formatString:u,language:c,price:m}).forEach(([ce,Yr])=>{if(Yr==null)throw new Error(`Argument "${ce}" is missing for osi ${d?.toString()}, country ${n}, language ${c}`)});let k={...Tl,...l},R=`${c.toLowerCase()}-${n.toUpperCase()}`;function V(ce,Yr){let Xr=k[ce];if(Xr==null)return"";try{return new Na(Xr.replace(_l,""),R).format(Yr)}catch{return Ll.error("Failed to format literal:",Xr),""}}let $=t&&f?f:m,ae=e?Ba:Ga;r&&(ae=za);let{accessiblePrice:Xe,recurrenceTerm:Le,...We}=ae({commitment:h,formatString:u,term:_,price:e?m:$,usePrecision:b,isIndianPrice:n==="IN"}),J=Xe,fe="";if(y(o)&&Le){let ce=V(Ge.recurrenceAriaLabel,{recurrenceTerm:Le});ce&&(J+=" "+ce),fe=V(Ge.recurrenceLabel,{recurrenceTerm:Le})}let se="";if(y(a)){se=V(Ge.perUnitLabel,{perUnit:"LICENSE"});let ce=V(Ge.perUnitAriaLabel,{perUnit:"LICENSE"});ce&&(J+=" "+ce)}let Q="";y(s)&&T&&(Q=V(g===wl?Ge.taxExclusiveLabel:Ge.taxInclusiveLabel,{taxTerm:T}),Q&&(J+=" "+Q)),t&&(J=V(Ge.strikethroughAriaLabel,{strikethroughPrice:J}));let _e=G.container;if(e&&(_e+=" "+G.containerOptical),t&&(_e+=" "+G.containerStrikethrough),r&&(_e+=" "+G.containerAnnual),y(i))return Pl(_e,{...We,accessibleLabel:J,recurrenceLabel:fe,perUnitLabel:se,taxInclusivityLabel:Q},S);let{currencySymbol:Yi,decimals:As,decimalsDelimiter:Es,hasCurrencySpace:Xi,integer:Ss,isCurrencyFirst:ys}=We,qe=[Ss,Es,As];ys?(qe.unshift(Xi?"\xA0":""),qe.unshift(Yi)):(qe.push(Xi?"\xA0":""),qe.push(Yi)),qe.push(fe,se,Q);let Ts=qe.join("");return K(_e,Ts,S)},Fa=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||y(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${W()(e,t,r)}${i?" "+W({displayStrikethrough:!0})(e,t,r):""}`},Ka=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||y(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?W({displayStrikethrough:!0})(n,t,r)+" ":""}${W()(e,t,r)}${K(G.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${K(G.containerAnnualSuffix,")")}`},ja=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${W()(e,t,r)}${K(G.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${K(G.containerAnnualSuffix,")")}`};var Ti=W(),Li=Fa(),_i=W({displayOptical:!0}),wi=W({displayStrikethrough:!0}),Ci=W({displayAnnual:!0}),Pi=ja(),Ii=Ka();var Il=(e,t)=>{if(!(!gt(e)||!gt(t)))return Math.floor((t-e)/t*100)},Ya=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Il(r,n);return i===void 0?'':`${i}%`};var ki=Ya();var{freeze:jt}=Object,re=jt({...Ue}),ne=jt({...Z}),ze={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},Ni=jt({...U}),Oi=jt({...ia}),Ri=jt({...N});var Xa="mas-commerce-service";function Wa(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(Xa);i!==r&&(r=i,i&&e(i))}return document.addEventListener(it,n,{once:t}),Fe(n),()=>document.removeEventListener(it,n)}function Yt(e,{country:t,forceTaxExclusive:r,perpetual:n}){let i;if(e.length<2)i=e;else{let o=t==="GB"||n?"EN":"MULT",[a,s]=e;i=[a.language===o?a:s]}return r&&(i=i.map(si)),i}var Fe=e=>window.setTimeout(e);function vt(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(bt).filter(gt);return r.length||(r=[t]),r}function Hr(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(ei)}function q(){return document.getElementsByTagName(Xa)?.[0]}var Ke={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},qa=1e3,Za=new Set;function kl(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function Ja(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:i,status:o}=e;return[n,o,i].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!Ke.serializableTypes.includes(r))return r}return e}function Nl(e,t){if(!Ke.ignoredProperties.includes(e))return Ja(t)}var Vi={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],o=t;r.forEach(l=>{l!=null&&(kl(l)?n:i).push(l)}),n.length&&(o+=" "+n.map(Ja).join(" "));let{pathname:a,search:s}=window.location,c=`${Ke.delimiter}page=${a}${s}`;c.length>qa&&(c=`${c.slice(0,qa)}`),o+=c,i.length&&(o+=`${Ke.delimiter}facts=`,o+=JSON.stringify(i,Nl)),Za.has(o)||(Za.add(o),window.lana?.log(o,Ke))}};function At(e){Object.assign(Ke,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in Ke&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var L=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:re.V3,checkoutWorkflowStep:ne.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:ze.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsBufferDelay:1,wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:He.PUBLISHED,wcsBufferLimit:1});var Mi=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function Ol({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||L.language),t??(t=e?.split("_")?.[1]||L.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function Hi(e={}){let{commerce:t={}}=e,r=ze.PRODUCTION,n=Dn,i=O("checkoutClientId",t)??L.checkoutClientId,o=Se(O("checkoutWorkflow",t),re,L.checkoutWorkflow),a=ne.CHECKOUT;o===re.V3&&(a=Se(O("checkoutWorkflowStep",t),ne,L.checkoutWorkflowStep));let s=y(O("displayOldPrice",t),L.displayOldPrice),c=y(O("displayPerUnit",t),L.displayPerUnit),l=y(O("displayRecurrence",t),L.displayRecurrence),h=y(O("displayTax",t),L.displayTax),d=y(O("entitlement",t),L.entitlement),u=y(O("modal",t),L.modal),m=y(O("forceTaxExclusive",t),L.forceTaxExclusive),f=O("promotionCode",t)??L.promotionCode,g=vt(O("quantity",t)),T=O("wcsApiKey",t)??L.wcsApiKey,_=t?.env==="stage",b=He.PUBLISHED;["true",""].includes(t.allowOverride)&&(_=(O($n,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",b=Se(O(Un,t),He,b)),_&&(r=ze.STAGE,n=Bn);let k=bt(O("wcsBufferDelay",t),L.wcsBufferDelay),R=bt(O("wcsBufferLimit",t),L.wcsBufferLimit);return{...Ol(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:o,checkoutWorkflowStep:a,displayPerUnit:c,displayRecurrence:l,displayTax:h,entitlement:d,extraOptions:L.extraOptions,modal:u,env:r,forceTaxExclusive:m,promotionCode:f,quantity:g,wcsApiKey:T,wcsBufferDelay:k,wcsBufferLimit:R,wcsURL:n,landscape:b}}var $i={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Rl=Date.now(),Ui=new Set,Di=new Set,Qa=new Map,es={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},ts={filter:({level:e})=>e!==$i.DEBUG},Vl={filter:()=>!1};function Ml(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Ht(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-Rl}}function Hl(e){[...Di].every(t=>t(e))&&Ui.forEach(t=>t(e))}function rs(e){let t=(Qa.get(e)??0)+1;Qa.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>rs(`${n.namespace}/${i}`),updateConfig:At};return Object.values($i).forEach(i=>{n[i]=(o,...a)=>Hl(Ml(i,o,e,a,r))}),Object.seal(n)}function $r(...e){e.forEach(t=>{let{append:r,filter:n}=t;Ht(n)&&Di.add(n),Ht(r)&&Ui.add(r)})}function $l(e={}){let{name:t}=e,r=y(O("commerce.debug",{search:!0,storage:!0}),t===Mi.LOCAL);return $r(r?es:ts),t===Mi.PROD&&$r(Vi),Y}function Ul(){Ui.clear(),Di.clear()}var Y={...rs(Hn),Level:$i,Plugins:{consoleAppender:es,debugFilter:ts,quietFilter:Vl,lanaAppender:Vi},init:$l,reset:Ul,use:$r};var Dl={[he]:kn,[Ee]:Nn,[de]:On},Bl={[he]:Vn,[de]:Mn},Et=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",ft);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",Ee);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t}update(){[he,Ee,de].forEach(t=>{this.wrapperElement.classList.toggle(Dl[t],t===this.state)})}notify(){(this.state===de||this.state===he)&&(this.state===de?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===he&&this.promises.forEach(({reject:t})=>t(this.error)),this.promises=[]),this.wrapperElement.dispatchEvent(new CustomEvent(Bl[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=Wa(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=ft}onceSettled(){let{error:t,promises:r,state:n}=this;return de===n?Promise.resolve(this.wrapperElement):he===n?Promise.reject(t):new Promise((i,o)=>{r.push({resolve:i,reject:o})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=de,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),Fe(()=>this.notify()),!0)}toggleFailed(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.error=r,this.state=he,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),Fe(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=Ee,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!q()||this.timer)return;let r=Y.module("mas-element"),{error:n,options:i,state:o,value:a,version:s}=this;this.state=Ee,this.timer=Fe(async()=>{this.timer=null;let c=null;if(this.changes.size&&(c=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:c}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:c})),c||t)try{await this.wrapperElement.render?.()===!1&&this.state===Ee&&this.version===s&&(this.state=o,this.error=n,this.value=a,this.update(),this.notify())}catch(l){r.error("Failed to render mas-element: ",l),this.toggleFailed(this.version,l,i)}})}};function ns(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function Ur(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,ns(t)),i}function Dr(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,ns(t)),e):null}var Gl="download",zl="upgrade";function Br(e,t={},r=""){let n=q();if(!n)return null;let{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:d,quantity:u,wcsOsi:m,extraOptions:f}=n.collectCheckoutOptions(t),g=Ur(e,{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:d,quantity:u,wcsOsi:m,extraOptions:f});return r&&(g.innerHTML=`${r}`),g}function Gr(e){return class extends e{constructor(){super(...arguments);p(this,"checkoutActionHandler");p(this,"masElement",new Et(this))}attributeChangedCallback(n,i,o){this.masElement.attributeChangedCallback(n,i,o)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){if(!this.isConnected)return!1;let i=q();if(!i)return!1;this.dataset.imsCountry||i.imsCountryPromise.then(d=>{d&&(this.dataset.imsCountry=d)},ft),n.imsCountry=null;let o=i.collectCheckoutOptions(n,this);if(!o.wcsOsi.length)return!1;let a;try{a=JSON.parse(o.extraOptions??"{}")}catch(d){this.masElement.log?.error("cannot parse exta checkout options",d)}let s=this.masElement.togglePending(o);this.setCheckoutUrl("");let c=i.resolveOfferSelectors(o),l=await Promise.all(c);l=l.map(d=>Yt(d,o)),o.country=this.dataset.imsCountry||o.country;let h=await i.buildCheckoutAction?.(l.flat(),{...a,...o},this);return this.renderOffers(l.flat(),o,{},h,s)}renderOffers(n,i,o={},a=void 0,s=void 0){if(!this.isConnected)return!1;let c=q();if(!c)return!1;if(i={...JSON.parse(this.dataset.extraOptions??"null"),...i,...o},s??(s=this.masElement.togglePending(i)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0),a){this.classList.remove(Gl,zl),this.masElement.toggleResolved(s,n,i);let{url:h,text:d,className:u,handler:m}=a;return h&&this.setCheckoutUrl(h),d&&(this.firstElementChild.innerHTML=d),u&&this.classList.add(...u.split(" ")),m&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=m.bind(this)),!0}else if(n.length){if(this.masElement.toggleResolved(s,n,i)){let h=c.buildCheckoutURL(n,i);return this.setCheckoutUrl(h),!0}}else{let h=new Error(`Not provided: ${i?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,h,i))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let i=q();if(!i)return!1;let{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:d,promotionCode:u,quantity:m,wcsOsi:f}=i.collectCheckoutOptions(n);return Dr(this,{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:d,promotionCode:u,quantity:m,wcsOsi:f}),!0}}}var Xt=class Xt extends Gr(HTMLButtonElement){static createCheckoutButton(t={},r=""){return Br(Xt,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};p(Xt,"is","checkout-button"),p(Xt,"tag","button");var je=Xt;window.customElements.get(je.is)||window.customElements.define(je.is,je,{extends:je.tag});var Fl="#000000",Kl="#F8D904",jl=/(accent|primary|secondary)(-(outline|link))?/,Yl="mas:product_code/",Xl="daa-ll",zr="daa-lh",Wl=["XL","L","M","S"];function ql(e,t,r){e.mnemonicIcon?.map((i,o)=>({icon:i,alt:e.mnemonicAlt[o]??"",link:e.mnemonicLink[o]??""}))?.forEach(({icon:i,alt:o,link:a})=>{if(a&&!/^https?:/.test(a))try{a=new URL(`https://${a}`).href.toString()}catch{a="#"}let s={slot:"icons",src:i,size:r?.size??"l"};o&&(s.alt=o),a&&(s.href=a);let c=te("merch-icon",s);t.append(c)})}function Zl(e,t){e.badge&&(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||Fl),t.setAttribute("badge-background-color",e.badgeBackgroundColor||Kl))}function Jl(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function Ql(e,t,r){e.cardTitle&&r&&t.append(te(r.tag,{slot:r.slot},e.cardTitle))}function eh(e,t,r){e.subtitle&&r&&t.append(te(r.tag,{slot:r.slot},e.subtitle))}function th(e,t,r){if(r?.tag&&e.backgroundImage){let n={loading:"lazy",src:e.backgroundImage};e.backgroundImageAltText?n.alt=e.backgroundImageAltText:n.role="none",t.append(te(r.tag,{slot:r.slot},te("img",n)))}r?.attribute&&t.setAttribute(r.attribute,e.backgroundImage)}function rh(e,t,r){if(e.prices&&r){let n=te(r.tag,{slot:r.slot},e.prices);t.append(n)}}function nh(e,t,r){if(e.description&&r){let n=te(r.tag,{slot:r.slot},e.description);t.append(n)}}function ih(e,t,r,n){let o=customElements.get("checkout-button").createCheckoutButton({},e.innerHTML);o.setAttribute("tabindex",0);for(let h of e.attributes)["class","is"].includes(h.name)||o.setAttribute(h.name,h.value);o.firstElementChild?.classList.add("spectrum-Button-label");let a=t.ctas.size??"M",s=`spectrum-Button--${n}`,c=Wl.includes(a)?`spectrum-Button--size${a}`:"spectrum-Button--sizeM",l=["spectrum-Button",s,c];return r&&l.push("spectrum-Button--outline"),o.classList.add(...l),o}function oh(e,t,r,n){let i="fill";r&&(i="outline");let o=te("sp-button",{treatment:i,variant:n,tabIndex:0,size:t.ctas.size??"m"},e);return o.addEventListener("click",a=>{a.target!==e&&(a.stopPropagation(),e.click())}),o}function ah(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function sh(e,t,r,n){if(e.ctas){let{slot:i}=r.ctas,o=te("div",{slot:i},e.ctas),a=[...o.querySelectorAll("a")].map(s=>{let c=s.parentElement.tagName==="STRONG";if(t.consonant)return ah(s,c);let l=jl.exec(s.className)?.[0]??"accent",h=l.includes("accent"),d=l.includes("primary"),u=l.includes("secondary"),m=l.includes("-outline");if(l.includes("-link"))return s;let g;return h||c?g="accent":d?g="primary":u&&(g="secondary"),t.spectrum==="swc"?oh(s,r,m,g):ih(s,r,m,g)});o.innerHTML="",o.append(...a),t.append(o)}}function ch(e,t){let{tags:r}=e,n=r?.find(i=>i.startsWith(Yl))?.split("/").pop();n&&(t.setAttribute(zr,n),t.querySelectorAll("a[data-analytics-id],button[data-analytics-id]").forEach((i,o)=>{i.setAttribute(Xl,`${i.dataset.analyticsId}-${o+1}`)}))}function lh(e){e.spectrum==="css"&&[["primary-link","primary"],["secondary-link","secondary"]].forEach(([t,r])=>{e.querySelectorAll(`a.${t}`).forEach(n=>{n.classList.remove(t),n.classList.add("spectrum-Link",`spectrum-Link--${r}`)})})}async function is(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;t.id=e.id,t.querySelectorAll("[slot]").forEach(o=>{o.remove()}),t.removeAttribute("background-image"),t.removeAttribute("badge-background-color"),t.removeAttribute("badge-color"),t.removeAttribute("badge-text"),t.removeAttribute("size"),t.classList.remove("wide-strip"),t.classList.remove("thin-strip"),t.removeAttribute(zr),t.variant=n,await t.updateComplete;let{aemFragmentMapping:i}=t.variantLayout;i&&(ql(r,t,i.mnemonics),Zl(r,t),Jl(r,t,i.allowedSizes),Ql(r,t,i.title),eh(r,t,i.subtitle),rh(r,t,i.prices),th(r,t,i.backgroundImage,n),nh(r,t,i.description),sh(r,t,i,n),ch(r,t),lh(t))}var hh="merch-card",dh=":start",uh=":ready",mh=1e4,os="merch-card:",qt,Bi,Wt=class extends ee{constructor(){super();F(this,qt);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}firstUpdated(){this.variantLayout=zn(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=zn(this),this.variantLayout.connectedCallbackHook())}updated(r){(r.has("badgeBackgroundColor")||r.has("borderColor"))&&this.style.setProperty("--consonant-merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(r)}get theme(){return this.closest("sp-theme")}get dir(){return this.closest("[dir]")?.getAttribute("dir")??"ltr"}get prices(){return Array.from(this.querySelectorAll('span[is="inline-price"][data-wcs-osi]'))}render(){if(!(!this.isConnected||!this.variantLayout||this.style.display==="none"))return this.variantLayout.renderLayout()}get computedBorderStyle(){return["twp","ccd-slice","ccd-suggested"].includes(this.variant)?"":`1px solid ${this.borderColor?this.borderColor:this.badgeBackgroundColor}`}get badgeElement(){return this.shadowRoot.getElementById("badge")}get headingmMSlot(){return this.shadowRoot.querySelector('slot[name="heading-m"]').assignedElements()[0]}get footerSlot(){return this.shadowRoot.querySelector('slot[name="footer"]')?.assignedElements()[0]}get price(){return this.headingmMSlot?.querySelector('span[is="inline-price"]')}get checkoutLinks(){return[...this.footerSlot?.querySelectorAll('a[is="checkout-link"]')??[]]}async toggleStockOffer({target:r}){if(!this.stockOfferOsis)return;let n=this.checkoutLinks;if(n.length!==0)for(let i of n){await i.onceSettled();let o=i.value?.[0]?.planType;if(!o)return;let a=this.stockOfferOsis[o];if(!a)return;let s=i.dataset.wcsOsi.split(",").filter(c=>c!==a);r.checked&&s.push(a),i.dataset.wcsOsi=s.join(",")}}handleQuantitySelection(r){let n=this.checkoutLinks;for(let i of n)i.dataset.quantity=r.detail.option}get titleElement(){return this.querySelector(this.variantLayout?.headingSelector||".card-heading")}get title(){return this.titleElement?.textContent?.trim()}get description(){return this.querySelector('[slot="body-xs"]')?.textContent?.trim()}updateFilters(r){let n={...this.filters};Object.keys(n).forEach(i=>{if(r){n[i].order=Math.min(n[i].order||2,2);return}let o=n[i].order;o===1||isNaN(o)||(n[i].order=Number(o)+1)}),this.filters=n}includes(r){return this.textContent.match(new RegExp(r,"i"))!==null}connectedCallback(){super.connectedCallback();let r=this.querySelector("aem-fragment")?.getAttribute("fragment");performance.mark(`${os}${r}${dh}`),this.addEventListener(xr,this.handleQuantitySelection),this.addEventListener(_n,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(Me,this.handleAemFragmentEvents),this.addEventListener(Ve,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(xr,this.handleQuantitySelection),this.storageOptions?.removeEventListener(gr,this.handleStorageChange),this.removeEventListener(Me,this.handleAemFragmentEvents),this.removeEventListener(Ve,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===Me&&ge(this,qt,Bi).call(this,"AEM fragment cannot be loaded"),r.type===Ve&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await is(n,this),this.checkReady()}}async checkReady(){let r=Promise.all([...this.querySelectorAll('span[is="inline-price"][data-wcs-osi],a[is="checkout-link"][data-wcs-osi]')].map(o=>o.onceSettled().catch(()=>o))).then(o=>o.every(a=>a.classList.contains("placeholder-resolved"))),n=new Promise(o=>setTimeout(()=>o(!1),mh));if(await Promise.race([r,n])===!0){performance.mark(`${os}${this.id}${uh}`),this.dispatchEvent(new CustomEvent(Pn,{bubbles:!0,composed:!0}));return}ge(this,qt,Bi).call(this,"Contains unresolved offers")}get aemFragment(){return this.querySelector("aem-fragment")}get storageOptions(){return this.querySelector("sp-radio-group#storage")}get storageSpecificOfferSelect(){let r=this.storageOptions?.selected;if(r){let n=this.querySelector(`merch-offer-select[storage="${r}"]`);if(n)return n}return this.querySelector("merch-offer-select")}get offerSelect(){return this.storageOptions?this.storageSpecificOfferSelect:this.querySelector("merch-offer-select")}get quantitySelect(){return this.querySelector("merch-quantity-select")}displayFooterElementsInColumn(){if(!this.classList.contains("product"))return;let r=this.shadowRoot.querySelector(".secure-transaction-label");(this.footerSlot?.querySelectorAll('a[is="checkout-link"].con-button')).length===2&&r&&r.parentElement.classList.add("footer-column")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||(this.dispatchEvent(new CustomEvent(wn,{bubbles:!0})),this.displayFooterElementsInColumn())}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(gr,{detail:{offerSelect:r},bubbles:!0}))}get dynamicPrice(){return this.querySelector('[slot="price"]')}selectMerchOffer(r){if(r===this.merchOffer)return;this.merchOffer=r;let n=this.dynamicPrice;if(r.price&&n){let i=r.price.cloneNode(!0);n.onceSettled?n.onceSettled().then(()=>{n.replaceWith(i)}):n.replaceWith(i)}}};qt=new WeakSet,Bi=function(r){this.dispatchEvent(new CustomEvent(In,{detail:r,bubbles:!0,composed:!0}))},p(Wt,"properties",{name:{type:String,attribute:"name",reflect:!0},variant:{type:String,reflect:!0},size:{type:String,attribute:"size",reflect:!0},badgeColor:{type:String,attribute:"badge-color",reflect:!0},borderColor:{type:String,attribute:"border-color",reflect:!0},badgeBackgroundColor:{type:String,attribute:"badge-background-color",reflect:!0},backgroundImage:{type:String,attribute:"background-image",reflect:!0},badgeText:{type:String,attribute:"badge-text"},actionMenu:{type:Boolean,attribute:"action-menu"},customHr:{type:Boolean,attribute:"custom-hr"},consonant:{type:Boolean,attribute:"consonant"},spectrum:{type:String,attribute:"spectrum"},detailBg:{type:String,attribute:"detail-bg"},secureLabel:{type:String,attribute:"secure-label"},checkboxLabel:{type:String,attribute:"checkbox-label"},selected:{type:Boolean,attribute:"aria-selected",reflect:!0},storageOption:{type:String,attribute:"storage",reflect:!0},stockOfferOsis:{type:Object,attribute:"stock-offer-osis",converter:{fromAttribute:r=>{let[n,i,o]=r.split(",");return{PUF:n,ABM:i,M2M:o}}}},filters:{type:String,reflect:!0,converter:{fromAttribute:r=>Object.fromEntries(r.split(",").map(n=>{let[i,o,a]=n.split(":"),s=Number(o);return[i,{order:isNaN(s)?void 0:s,size:a}]})),toAttribute:r=>Object.entries(r).map(([n,{order:i,size:o}])=>[n,i,o].filter(a=>a!=null).join(":")).join(",")}},types:{type:String,attribute:"types",reflect:!0},merchOffer:{type:Object},analyticsId:{type:String,attribute:zr,reflect:!0}}),p(Wt,"styles",[Oo,Yo(),...Ro()]);customElements.define(hh,Wt);var St=class extends ee{constructor(){super(),this.size="m",this.alt=""}render(){let{href:t}=this;return t?x` +`,Ue.MISSING_INTL_API,a);var k=r.getPluralRules(t,{type:h.pluralType}).select(u-(h.offset||0));S=h.options[k]||h.options.other}if(!S)throw new yi(h.value,u,Object.keys(h.options),a);s.push.apply(s,Xt(S.value,t,r,n,i,u-(h.offset||0)));continue}}return hl(s)}function ul(e,t){return t?A(A(A({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=A(A({},e[n]),t[n]||{}),r},{})):e}function ml(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=ul(e[n],t[n]),r},A({},e)):e}function Ti(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function pl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:jt(function(){for(var t,r=[],n=0;n0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=Ia,e.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"}}},e}();var Ma=Va;var fl=/[0-9\-+#]/,gl=/[^\d\-+#]/g;function Ha(e){return e.search(fl)}function xl(e="#.##"){let t={},r=e.length,n=Ha(e);t.prefix=n>0?e.substring(0,n):"";let i=Ha(e.split("").reverse().join("")),o=r-i,a=e.substring(o,o+1),s=o+(a==="."||a===","?1:0);t.suffix=i>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let c=t.mask.match(gl);return t.decimal=c&&c[c.length-1]||".",t.separator=c&&c[1]&&c[0]||",",c=t.mask.split(t.decimal),t.integer=c[0],t.fraction=c[1],t}function bl(e,t,r){let n=!1,i={value:e};e<0&&(n=!0,i.value=-i.value),i.sign=n?"-":"",i.value=Number(i.value).toFixed(t.fraction&&t.fraction.length),i.value=Number(i.value).toString();let o=t.fraction&&t.fraction.lastIndexOf("0"),[a="0",s=""]=i.value.split(".");return(!s||s&&s.length<=o)&&(s=o<0?"":(+("0."+s)).toFixed(o+1).replace("0.","")),i.integer=a,i.fraction=s,vl(i,t),(i.result==="0"||i.result==="")&&(n=!1,i.sign=""),!n&&t.maskHasPositiveSign?i.sign="+":n&&t.maskHasPositiveSign?i.sign="-":n&&(i.sign=r&&r.enforceMaskSign&&!t.maskHasNegativeSign?"":"-"),i}function vl(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),i=n&&n.indexOf("0");if(i>-1)for(;e.integer.lengthe*12,za=(e,t)=>{let{start:r,end:n,displaySummary:{amount:i,duration:o,minProductQuantity:a,outcomeType:s}={}}=e;if(!(i&&o&&s&&a))return!1;let c=t?new Date(t):new Date;if(!r||!n)return!1;let l=new Date(r),h=new Date(n);return c>=l&&c<=h},De={MONTH:"MONTH",YEAR:"YEAR"},Sl={[N.ANNUAL]:12,[N.MONTHLY]:1,[N.THREE_YEARS]:36,[N.TWO_YEARS]:24},wi=(e,t)=>({accept:e,round:t}),yl=[wi(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),wi(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),wi(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],_i={[$.YEAR]:{[N.MONTHLY]:De.MONTH,[N.ANNUAL]:De.YEAR},[$.MONTH]:{[N.MONTHLY]:De.MONTH}},Tl=(e,t)=>e.indexOf(`'${t}'`)===0,Ll=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Ka(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+_l(e)),r},wl=e=>{let t=Pl(e),r=Tl(e,t),n=e.replace(/'.*?'/,""),i=Ba.test(n)||Ga.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},Fa=e=>e.replace(Ba,Da).replace(Ga,Da),_l=e=>e.match(/#(.?)#/)?.[1]===Ua?El:Ua,Pl=e=>e.match(/'(.*?)'/)?.[1]??"",Ka=e=>e.match(/0(.?)0/)?.[1]??"";function xt({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,o=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=wl(e),l=r?Ka(e):"",h=Ll(e,r),d=r?2:0,u=o(t,{currencySymbol:a}),m=n?u.toLocaleString("hi-IN",{minimumFractionDigits:d,maximumFractionDigits:d}):$a(h,u),g=r?m.lastIndexOf(l):m.length,f=m.substring(0,g),T=m.substring(g+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,a),currencySymbol:a,decimals:T,decimalsDelimiter:l,hasCurrencySpace:c,integer:f,isCurrencyFirst:s,recurrenceTerm:i}}var ja=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=Sl[r]??1;return xt(e,i>1?De.MONTH:_i[t]?.[r],o=>{let a={divisor:i,price:o,usePrecision:n},{round:s}=yl.find(({accept:c})=>c(a));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(a)}`);return s(a)})},Ya=({commitment:e,term:t,...r})=>xt(r,_i[e]?.[t]),Xa=e=>{let{commitment:t,instant:r,price:n,originalPrice:i,priceWithoutDiscount:o,promotion:a,quantity:s=1,term:c}=e;if(t===$.YEAR&&c===N.MONTHLY){if(!a)return xt(e,De.YEAR,Li);let{displaySummary:{outcomeType:l,duration:h,minProductQuantity:d=1}={}}=a;switch(l){case"PERCENTAGE_DISCOUNT":if(s>=d&&za(a,r)){let u=parseInt(h.replace("P","").replace("M",""));if(isNaN(u))return Li(n);let m=s*i*u,g=s*o*(12-u),f=Math.floor((m+g)*100)/100;return xt({...e,price:f},De.YEAR)}default:return xt(e,De.YEAR,()=>Li(o??n))}}return xt(e,_i[t]?.[c])};var Cl={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},Il=aa("ConsonantTemplates/price"),kl=/<\/?[^>]+(>|$)/g,G={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},Be={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Nl="TAX_EXCLUSIVE",Ol=e=>oa(e)?Object.entries(e).filter(([,t])=>ut(t)||_r(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+na(n)+'"'}`,""):"",K=(e,t,r,n=!1)=>`${n?Fa(t):t??""}`;function Rl(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:o,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},d={}){let u=K(G.currencySymbol,r),m=K(G.currencySpace,o?" ":""),g="";return s&&(g+=u+m),g+=K(G.integer,a),g+=K(G.decimalsDelimiter,i),g+=K(G.decimals,n),s||(g+=m+u),g+=K(G.recurrence,c,null,!0),g+=K(G.unitType,l,null,!0),g+=K(G.taxInclusivity,h,!0),K(e,g,{...d,"aria-label":t})}var W=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1,instant:n=void 0}={})=>({country:i,displayFormatted:o=!0,displayRecurrence:a=!0,displayPerUnit:s=!1,displayTax:c=!1,language:l,literals:h={},quantity:d=1}={},{commitment:u,offerSelectorIds:m,formatString:g,price:f,priceWithoutDiscount:T,taxDisplay:w,taxTerm:b,term:S,usePrecision:k,promotion:R}={},U={})=>{Object.entries({country:i,formatString:g,language:l,price:f}).forEach(([ae,qr])=>{if(qr==null)throw new Error(`Argument "${ae}" is missing for osi ${m?.toString()}, country ${i}, language ${l}`)});let H={...Cl,...h},me=`${l.toLowerCase()}-${i.toUpperCase()}`;function Z(ae,qr){let Zr=H[ae];if(Zr==null)return"";try{return new Ma(Zr.replace(kl,""),me).format(qr)}catch{return Il.error("Failed to format literal:",Zr),""}}let yt=t&&T?T:f,Ye=e?ja:Ya;r&&(Ye=Xa);let{accessiblePrice:Tt,recurrenceTerm:pe,...fe}=Ye({commitment:u,formatString:g,instant:n,isIndianPrice:i==="IN",originalPrice:f,priceWithoutDiscount:T,price:e?f:yt,promotion:R,quantity:d,term:S,usePrecision:k}),J=Tt,Lt="";if(y(a)&&pe){let ae=Z(Be.recurrenceAriaLabel,{recurrenceTerm:pe});ae&&(J+=" "+ae),Lt=Z(Be.recurrenceLabel,{recurrenceTerm:pe})}let Wr="";if(y(s)){Wr=Z(Be.perUnitLabel,{perUnit:"LICENSE"});let ae=Z(Be.perUnitAriaLabel,{perUnit:"LICENSE"});ae&&(J+=" "+ae)}let wt="";y(c)&&b&&(wt=Z(w===Nl?Be.taxExclusiveLabel:Be.taxInclusiveLabel,{taxTerm:b}),wt&&(J+=" "+wt)),t&&(J=Z(Be.strikethroughAriaLabel,{strikethroughPrice:J}));let _t=G.container;if(e&&(_t+=" "+G.containerOptical),t&&(_t+=" "+G.containerStrikethrough),r&&(_t+=" "+G.containerAnnual),y(o))return Rl(_t,{...fe,accessibleLabel:J,recurrenceLabel:Lt,perUnitLabel:Wr,taxInclusivityLabel:wt},U);let{currencySymbol:Zi,decimals:Ls,decimalsDelimiter:ws,hasCurrencySpace:Ji,integer:_s,isCurrencyFirst:Ps}=fe,Xe=[_s,ws,Ls];Ps?(Xe.unshift(Ji?"\xA0":""),Xe.unshift(Zi)):(Xe.push(Ji?"\xA0":""),Xe.push(Zi)),Xe.push(Lt,Wr,wt);let Cs=Xe.join("");return K(_t,Cs,U)},Wa=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||y(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${W()(e,t,r)}${i?" "+W({displayStrikethrough:!0})(e,t,r):""}`},qa=()=>(e,t,r)=>{let{instant:n}=e;try{n||(n=new URLSearchParams(document.location.search).get("instant")),n&&(n=new Date(n))}catch{n=void 0}let i={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||y(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?W({displayStrikethrough:!0})(i,t,r)+" ":""}${W()(e,t,r)}${K(G.containerAnnualPrefix," (")}${W({displayAnnual:!0,instant:n})(i,t,r)}${K(G.containerAnnualSuffix,")")}`},Za=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${W()(e,t,r)}${K(G.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${K(G.containerAnnualSuffix,")")}`};var Pi=W(),Ci=Wa(),Ii=W({displayOptical:!0}),ki=W({displayStrikethrough:!0}),Ni=W({displayAnnual:!0}),Oi=Za(),Ri=qa();var Vl=(e,t)=>{if(!(!pt(e)||!pt(t)))return Math.floor((t-e)/t*100)},Ja=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Vl(r,n);return i===void 0?'':`${i}%`};var Vi=Ja();var{freeze:Wt}=Object,re=Wt({...He}),ne=Wt({...Q}),Ge={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},Mi=Wt({...$}),Hi=Wt({...ca}),$i=Wt({...N});var Qa="mas-commerce-service";function es(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(Qa);i!==r&&(r=i,i&&e(i))}return document.addEventListener(rt,n,{once:t}),ze(n),()=>document.removeEventListener(rt,n)}function qt(e,{country:t,forceTaxExclusive:r,perpetual:n}){let i;if(e.length<2)i=e;else{let o=t==="GB"||n?"EN":"MULT",[a,s]=e;i=[a.language===o?a:s]}return r&&(i=i.map(hi)),i}var ze=e=>window.setTimeout(e);function bt(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(gt).filter(pt);return r.length||(r=[t]),r}function Ur(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(ni)}function q(){return document.getElementsByTagName(Qa)?.[0]}var Fe={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},ts=1e3,rs=new Set;function Ml(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function ns(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:i,status:o}=e;return[n,o,i].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!Fe.serializableTypes.includes(r))return r}return e}function Hl(e,t){if(!Fe.ignoredProperties.includes(e))return ns(t)}var Ui={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],o=t;r.forEach(l=>{l!=null&&(Ml(l)?n:i).push(l)}),n.length&&(o+=" "+n.map(ns).join(" "));let{pathname:a,search:s}=window.location,c=`${Fe.delimiter}page=${a}${s}`;c.length>ts&&(c=`${c.slice(0,ts)}`),o+=c,i.length&&(o+=`${Fe.delimiter}facts=`,o+=JSON.stringify(i,Hl)),rs.has(o)||(rs.add(o),window.lana?.log(o,Fe))}};function vt(e){Object.assign(Fe,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in Fe&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var L=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:re.V3,checkoutWorkflowStep:ne.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:Ge.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsBufferDelay:1,wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:Ve.PUBLISHED,wcsBufferLimit:1});var Di=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function $l({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||L.language),t??(t=e?.split("_")?.[1]||L.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function Bi(e={}){let{commerce:t={}}=e,r=Ge.PRODUCTION,n=zn,i=O("checkoutClientId",t)??L.checkoutClientId,o=Se(O("checkoutWorkflow",t),re,L.checkoutWorkflow),a=ne.CHECKOUT;o===re.V3&&(a=Se(O("checkoutWorkflowStep",t),ne,L.checkoutWorkflowStep));let s=y(O("displayOldPrice",t),L.displayOldPrice),c=y(O("displayPerUnit",t),L.displayPerUnit),l=y(O("displayRecurrence",t),L.displayRecurrence),h=y(O("displayTax",t),L.displayTax),d=y(O("entitlement",t),L.entitlement),u=y(O("modal",t),L.modal),m=y(O("forceTaxExclusive",t),L.forceTaxExclusive),g=O("promotionCode",t)??L.promotionCode,f=bt(O("quantity",t)),T=O("wcsApiKey",t)??L.wcsApiKey,w=t?.env==="stage",b=Ve.PUBLISHED;["true",""].includes(t.allowOverride)&&(w=(O(Bn,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",b=Se(O(Gn,t),Ve,b)),w&&(r=Ge.STAGE,n=Fn);let k=gt(O("wcsBufferDelay",t),L.wcsBufferDelay),R=gt(O("wcsBufferLimit",t),L.wcsBufferLimit);return{...$l(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:o,checkoutWorkflowStep:a,displayPerUnit:c,displayRecurrence:l,displayTax:h,entitlement:d,extraOptions:L.extraOptions,modal:u,env:r,forceTaxExclusive:m,promotionCode:g,quantity:f,wcsApiKey:T,wcsBufferDelay:k,wcsBufferLimit:R,wcsURL:n,landscape:b}}var Gi={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Ul=Date.now(),zi=new Set,Fi=new Set,is=new Map,os={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},as={filter:({level:e})=>e!==Gi.DEBUG},Dl={filter:()=>!1};function Bl(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Bt(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-Ul}}function Gl(e){[...Fi].every(t=>t(e))&&zi.forEach(t=>t(e))}function ss(e){let t=(is.get(e)??0)+1;is.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>ss(`${n.namespace}/${i}`),updateConfig:vt};return Object.values(Gi).forEach(i=>{n[i]=(o,...a)=>Gl(Bl(i,o,e,a,r))}),Object.seal(n)}function Dr(...e){e.forEach(t=>{let{append:r,filter:n}=t;Bt(n)&&Fi.add(n),Bt(r)&&zi.add(r)})}function zl(e={}){let{name:t}=e,r=y(O("commerce.debug",{search:!0,storage:!0}),t===Di.LOCAL);return Dr(r?os:as),t===Di.PROD&&Dr(Ui),Y}function Fl(){zi.clear(),Fi.clear()}var Y={...ss(Dn),Level:Gi,Plugins:{consoleAppender:os,debugFilter:as,quietFilter:Dl,lanaAppender:Ui},init:zl,reset:Fl,use:Dr};var Kl={[ce]:Rn,[Ee]:Vn,[le]:Mn},jl={[ce]:$n,[le]:Un},At=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",mt);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",Ee);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t}update(){[ce,Ee,le].forEach(t=>{this.wrapperElement.classList.toggle(Kl[t],t===this.state)})}notify(){(this.state===le||this.state===ce)&&(this.state===le?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===ce&&this.promises.forEach(({reject:t})=>t(this.error)),this.promises=[]),this.wrapperElement.dispatchEvent(new CustomEvent(jl[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=es(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=mt}onceSettled(){let{error:t,promises:r,state:n}=this;return le===n?Promise.resolve(this.wrapperElement):ce===n?Promise.reject(t):new Promise((i,o)=>{r.push({resolve:i,reject:o})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=le,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),ze(()=>this.notify()),!0)}toggleFailed(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.error=r,this.state=ce,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),ze(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=Ee,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!q()||this.timer)return;let r=Y.module("mas-element"),{error:n,options:i,state:o,value:a,version:s}=this;this.state=Ee,this.timer=ze(async()=>{this.timer=null;let c=null;if(this.changes.size&&(c=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:c}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:c})),c||t)try{await this.wrapperElement.render?.()===!1&&this.state===Ee&&this.version===s&&(this.state=o,this.error=n,this.value=a,this.update(),this.notify())}catch(l){r.error("Failed to render mas-element: ",l),this.toggleFailed(this.version,l,i)}})}};function cs(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function Br(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,cs(t)),i}function Gr(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,cs(t)),e):null}var Yl="download",Xl="upgrade";function zr(e,t={},r=""){let n=q();if(!n)return null;let{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:d,quantity:u,wcsOsi:m,extraOptions:g}=n.collectCheckoutOptions(t),f=Br(e,{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:d,quantity:u,wcsOsi:m,extraOptions:g});return r&&(f.innerHTML=`${r}`),f}function Fr(e){return class extends e{constructor(){super(...arguments);p(this,"checkoutActionHandler");p(this,"masElement",new At(this))}attributeChangedCallback(n,i,o){this.masElement.attributeChangedCallback(n,i,o)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){if(!this.isConnected)return!1;let i=q();if(!i)return!1;this.dataset.imsCountry||i.imsCountryPromise.then(d=>{d&&(this.dataset.imsCountry=d)},mt),n.imsCountry=null;let o=i.collectCheckoutOptions(n,this);if(!o.wcsOsi.length)return!1;let a;try{a=JSON.parse(o.extraOptions??"{}")}catch(d){this.masElement.log?.error("cannot parse exta checkout options",d)}let s=this.masElement.togglePending(o);this.setCheckoutUrl("");let c=i.resolveOfferSelectors(o),l=await Promise.all(c);l=l.map(d=>qt(d,o)),o.country=this.dataset.imsCountry||o.country;let h=await i.buildCheckoutAction?.(l.flat(),{...a,...o},this);return this.renderOffers(l.flat(),o,{},h,s)}renderOffers(n,i,o={},a=void 0,s=void 0){if(!this.isConnected)return!1;let c=q();if(!c)return!1;if(i={...JSON.parse(this.dataset.extraOptions??"null"),...i,...o},s??(s=this.masElement.togglePending(i)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0),a){this.classList.remove(Yl,Xl),this.masElement.toggleResolved(s,n,i);let{url:h,text:d,className:u,handler:m}=a;return h&&this.setCheckoutUrl(h),d&&(this.firstElementChild.innerHTML=d),u&&this.classList.add(...u.split(" ")),m&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=m.bind(this)),!0}else if(n.length){if(this.masElement.toggleResolved(s,n,i)){let h=c.buildCheckoutURL(n,i);return this.setCheckoutUrl(h),!0}}else{let h=new Error(`Not provided: ${i?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,h,i))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let i=q();if(!i)return!1;let{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:d,promotionCode:u,quantity:m,wcsOsi:g}=i.collectCheckoutOptions(n);return Gr(this,{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:d,promotionCode:u,quantity:m,wcsOsi:g}),!0}}}var Zt=class Zt extends Fr(HTMLButtonElement){static createCheckoutButton(t={},r=""){return zr(Zt,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};p(Zt,"is","checkout-button"),p(Zt,"tag","button");var Ke=Zt;window.customElements.get(Ke.is)||window.customElements.define(Ke.is,Ke,{extends:Ke.tag});var Wl="#000000",ql="#F8D904",Zl=/(accent|primary|secondary)(-(outline|link))?/,Jl="mas:product_code/",Ql="daa-ll",Kr="daa-lh",eh=["XL","L","M","S"];function th(e,t,r){e.mnemonicIcon?.map((i,o)=>({icon:i,alt:e.mnemonicAlt[o]??"",link:e.mnemonicLink[o]??""}))?.forEach(({icon:i,alt:o,link:a})=>{if(a&&!/^https?:/.test(a))try{a=new URL(`https://${a}`).href.toString()}catch{a="#"}let s={slot:"icons",src:i,size:r?.size??"l"};o&&(s.alt=o),a&&(s.href=a);let c=te("merch-icon",s);t.append(c)})}function rh(e,t){e.badge&&(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||Wl),t.setAttribute("badge-background-color",e.badgeBackgroundColor||ql))}function nh(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function ih(e,t,r){e.cardTitle&&r&&t.append(te(r.tag,{slot:r.slot},e.cardTitle))}function oh(e,t,r){e.subtitle&&r&&t.append(te(r.tag,{slot:r.slot},e.subtitle))}function ah(e,t,r){if(r?.tag&&e.backgroundImage){let n={loading:"lazy",src:e.backgroundImage};e.backgroundImageAltText?n.alt=e.backgroundImageAltText:n.role="none",t.append(te(r.tag,{slot:r.slot},te("img",n)))}r?.attribute&&t.setAttribute(r.attribute,e.backgroundImage)}function sh(e,t,r){if(e.prices&&r){let n=te(r.tag,{slot:r.slot},e.prices);t.append(n)}}function ch(e,t,r){if(e.description&&r){let n=te(r.tag,{slot:r.slot},e.description);t.append(n)}}function lh(e,t,r,n){let o=customElements.get("checkout-button").createCheckoutButton({},e.innerHTML);o.setAttribute("tabindex",0);for(let h of e.attributes)["class","is"].includes(h.name)||o.setAttribute(h.name,h.value);o.firstElementChild?.classList.add("spectrum-Button-label");let a=t.ctas.size??"M",s=`spectrum-Button--${n}`,c=eh.includes(a)?`spectrum-Button--size${a}`:"spectrum-Button--sizeM",l=["spectrum-Button",s,c];return r&&l.push("spectrum-Button--outline"),o.classList.add(...l),o}function hh(e,t,r,n){let i="fill";r&&(i="outline");let o=te("sp-button",{treatment:i,variant:n,tabIndex:0,size:t.ctas.size??"m"},e);return o.addEventListener("click",a=>{a.target!==e&&(a.stopPropagation(),e.click())}),o}function dh(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function uh(e,t,r,n){if(e.ctas){let{slot:i}=r.ctas,o=te("div",{slot:i},e.ctas),a=[...o.querySelectorAll("a")].map(s=>{let c=s.parentElement.tagName==="STRONG";if(t.consonant)return dh(s,c);let l=Zl.exec(s.className)?.[0]??"accent",h=l.includes("accent"),d=l.includes("primary"),u=l.includes("secondary"),m=l.includes("-outline");if(l.includes("-link"))return s;let f;return h||c?f="accent":d?f="primary":u&&(f="secondary"),t.spectrum==="swc"?hh(s,r,m,f):lh(s,r,m,f)});o.innerHTML="",o.append(...a),t.append(o)}}function mh(e,t){let{tags:r}=e,n=r?.find(i=>i.startsWith(Jl))?.split("/").pop();n&&(t.setAttribute(Kr,n),t.querySelectorAll("a[data-analytics-id],button[data-analytics-id]").forEach((i,o)=>{i.setAttribute(Ql,`${i.dataset.analyticsId}-${o+1}`)}))}function ph(e){e.spectrum==="css"&&[["primary-link","primary"],["secondary-link","secondary"]].forEach(([t,r])=>{e.querySelectorAll(`a.${t}`).forEach(n=>{n.classList.remove(t),n.classList.add("spectrum-Link",`spectrum-Link--${r}`)})})}async function ls(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;t.id=e.id,t.querySelectorAll("[slot]").forEach(o=>{o.remove()}),t.removeAttribute("background-image"),t.removeAttribute("badge-background-color"),t.removeAttribute("badge-color"),t.removeAttribute("badge-text"),t.removeAttribute("size"),t.classList.remove("wide-strip"),t.classList.remove("thin-strip"),t.removeAttribute(Kr),t.variant=n,await t.updateComplete;let{aemFragmentMapping:i}=t.variantLayout;i&&(th(r,t,i.mnemonics),rh(r,t),nh(r,t,i.allowedSizes),ih(r,t,i.title),oh(r,t,i.subtitle),sh(r,t,i.prices),ah(r,t,i.backgroundImage,n),ch(r,t,i.description),uh(r,t,i,n),mh(r,t),ph(t))}var fh="merch-card",gh=":start",xh=":ready",bh=1e4,hs="merch-card:",Qt,Ki,Jt=class extends ee{constructor(){super();F(this,Qt);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}firstUpdated(){this.variantLayout=jn(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=jn(this),this.variantLayout.connectedCallbackHook())}updated(r){(r.has("badgeBackgroundColor")||r.has("borderColor"))&&this.style.setProperty("--consonant-merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(r)}get theme(){return this.closest("sp-theme")}get dir(){return this.closest("[dir]")?.getAttribute("dir")??"ltr"}get prices(){return Array.from(this.querySelectorAll('span[is="inline-price"][data-wcs-osi]'))}render(){if(!(!this.isConnected||!this.variantLayout||this.style.display==="none"))return this.variantLayout.renderLayout()}get computedBorderStyle(){return["twp","ccd-slice","ccd-suggested"].includes(this.variant)?"":`1px solid ${this.borderColor?this.borderColor:this.badgeBackgroundColor}`}get badgeElement(){return this.shadowRoot.getElementById("badge")}get headingmMSlot(){return this.shadowRoot.querySelector('slot[name="heading-m"]').assignedElements()[0]}get footerSlot(){return this.shadowRoot.querySelector('slot[name="footer"]')?.assignedElements()[0]}get price(){return this.headingmMSlot?.querySelector('span[is="inline-price"]')}get checkoutLinks(){return[...this.footerSlot?.querySelectorAll('a[is="checkout-link"]')??[]]}async toggleStockOffer({target:r}){if(!this.stockOfferOsis)return;let n=this.checkoutLinks;if(n.length!==0)for(let i of n){await i.onceSettled();let o=i.value?.[0]?.planType;if(!o)return;let a=this.stockOfferOsis[o];if(!a)return;let s=i.dataset.wcsOsi.split(",").filter(c=>c!==a);r.checked&&s.push(a),i.dataset.wcsOsi=s.join(",")}}handleQuantitySelection(r){let n=this.checkoutLinks;for(let i of n)i.dataset.quantity=r.detail.option}get titleElement(){return this.querySelector(this.variantLayout?.headingSelector||".card-heading")}get title(){return this.titleElement?.textContent?.trim()}get description(){return this.querySelector('[slot="body-xs"]')?.textContent?.trim()}updateFilters(r){let n={...this.filters};Object.keys(n).forEach(i=>{if(r){n[i].order=Math.min(n[i].order||2,2);return}let o=n[i].order;o===1||isNaN(o)||(n[i].order=Number(o)+1)}),this.filters=n}includes(r){return this.textContent.match(new RegExp(r,"i"))!==null}connectedCallback(){super.connectedCallback();let r=this.querySelector("aem-fragment")?.getAttribute("fragment");performance.mark(`${hs}${r}${gh}`),this.addEventListener(Ar,this.handleQuantitySelection),this.addEventListener(Cn,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(Re,this.handleAemFragmentEvents),this.addEventListener(Oe,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(Ar,this.handleQuantitySelection),this.storageOptions?.removeEventListener(vr,this.handleStorageChange),this.removeEventListener(Re,this.handleAemFragmentEvents),this.removeEventListener(Oe,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===Re&&ge(this,Qt,Ki).call(this,"AEM fragment cannot be loaded"),r.type===Oe&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await ls(n,this),this.checkReady()}}async checkReady(){let r=Promise.all([...this.querySelectorAll('span[is="inline-price"][data-wcs-osi],a[is="checkout-link"][data-wcs-osi]')].map(o=>o.onceSettled().catch(()=>o))).then(o=>o.every(a=>a.classList.contains("placeholder-resolved"))),n=new Promise(o=>setTimeout(()=>o(!1),bh));if(await Promise.race([r,n])===!0){performance.mark(`${hs}${this.id}${xh}`),this.dispatchEvent(new CustomEvent(Nn,{bubbles:!0,composed:!0}));return}ge(this,Qt,Ki).call(this,"Contains unresolved offers")}get aemFragment(){return this.querySelector("aem-fragment")}get storageOptions(){return this.querySelector("sp-radio-group#storage")}get storageSpecificOfferSelect(){let r=this.storageOptions?.selected;if(r){let n=this.querySelector(`merch-offer-select[storage="${r}"]`);if(n)return n}return this.querySelector("merch-offer-select")}get offerSelect(){return this.storageOptions?this.storageSpecificOfferSelect:this.querySelector("merch-offer-select")}get quantitySelect(){return this.querySelector("merch-quantity-select")}displayFooterElementsInColumn(){if(!this.classList.contains("product"))return;let r=this.shadowRoot.querySelector(".secure-transaction-label");(this.footerSlot?.querySelectorAll('a[is="checkout-link"].con-button')).length===2&&r&&r.parentElement.classList.add("footer-column")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||(this.dispatchEvent(new CustomEvent(In,{bubbles:!0})),this.displayFooterElementsInColumn())}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(vr,{detail:{offerSelect:r},bubbles:!0}))}get dynamicPrice(){return this.querySelector('[slot="price"]')}selectMerchOffer(r){if(r===this.merchOffer)return;this.merchOffer=r;let n=this.dynamicPrice;if(r.price&&n){let i=r.price.cloneNode(!0);n.onceSettled?n.onceSettled().then(()=>{n.replaceWith(i)}):n.replaceWith(i)}}};Qt=new WeakSet,Ki=function(r){this.dispatchEvent(new CustomEvent(On,{detail:r,bubbles:!0,composed:!0}))},p(Jt,"properties",{name:{type:String,attribute:"name",reflect:!0},variant:{type:String,reflect:!0},size:{type:String,attribute:"size",reflect:!0},badgeColor:{type:String,attribute:"badge-color",reflect:!0},borderColor:{type:String,attribute:"border-color",reflect:!0},badgeBackgroundColor:{type:String,attribute:"badge-background-color",reflect:!0},backgroundImage:{type:String,attribute:"background-image",reflect:!0},badgeText:{type:String,attribute:"badge-text"},actionMenu:{type:Boolean,attribute:"action-menu"},customHr:{type:Boolean,attribute:"custom-hr"},consonant:{type:Boolean,attribute:"consonant"},spectrum:{type:String,attribute:"spectrum"},detailBg:{type:String,attribute:"detail-bg"},secureLabel:{type:String,attribute:"secure-label"},checkboxLabel:{type:String,attribute:"checkbox-label"},selected:{type:Boolean,attribute:"aria-selected",reflect:!0},storageOption:{type:String,attribute:"storage",reflect:!0},stockOfferOsis:{type:Object,attribute:"stock-offer-osis",converter:{fromAttribute:r=>{let[n,i,o]=r.split(",");return{PUF:n,ABM:i,M2M:o}}}},filters:{type:String,reflect:!0,converter:{fromAttribute:r=>Object.fromEntries(r.split(",").map(n=>{let[i,o,a]=n.split(":"),s=Number(o);return[i,{order:isNaN(s)?void 0:s,size:a}]})),toAttribute:r=>Object.entries(r).map(([n,{order:i,size:o}])=>[n,i,o].filter(a=>a!=null).join(":")).join(",")}},types:{type:String,attribute:"types",reflect:!0},merchOffer:{type:Object},analyticsId:{type:String,attribute:Kr,reflect:!0}}),p(Jt,"styles",[Ho,Zo(),...$o()]);customElements.define(fh,Jt);var Et=class extends ee{constructor(){super(),this.size="m",this.alt=""}render(){let{href:t}=this;return t?x` ${this.alt} - `:x` ${this.alt}`}};p(St,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}}),p(St,"styles",P` + `:x` ${this.alt}`}};p(Et,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}}),p(Et,"styles",C` :host { --img-width: 32px; --img-height: 32px; @@ -2126,7 +2126,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules" width: var(--mod-img-width, var(--img-width)); height: var(--mod-img-height, var(--img-height)); } - `);customElements.define("merch-icon",St);var ls=new CSSStyleSheet;ls.replaceSync(":host { display: contents; }");var ph=document.querySelector('meta[name="aem-base-url"]')?.content??"https://odin.adobe.com",as="fragment",ss="author",fh="ims",cs=e=>{throw new Error(`Failed to get fragment: ${e}`)};async function gh(e,t,r,n){let i=r?`${e}/adobe/sites/cf/fragments/${t}`:`${e}/adobe/sites/fragments/${t}`,o=await fetch(i,{cache:"default",credentials:"omit",headers:n}).catch(a=>cs(a.message));return o?.ok||cs(`${o.status} ${o.statusText}`),o.json()}var Gi,ye,zi=class{constructor(){F(this,ye,new Map)}clear(){w(this,ye).clear()}add(...t){t.forEach(r=>{let{id:n}=r;n&&w(this,ye).set(n,r)})}has(t){return w(this,ye).has(t)}get(t){return w(this,ye).get(t)}remove(t){w(this,ye).delete(t)}};ye=new WeakMap;var Fr=new zi,Ye,ue,Te,Zt,me,yt,pe,Ki,hs,ds,Fi=class extends HTMLElement{constructor(){super();F(this,pe);p(this,"cache",Fr);F(this,Ye);F(this,ue);F(this,Te);F(this,Zt,!1);F(this,me);F(this,yt,!1);this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[ls];let r=this.getAttribute(fh);["",!0,"true"].includes(r)&&(j(this,Zt,!0),Gi||(Gi={Authorization:`Bearer ${window.adobeid?.authorize?.()}`}))}static get observedAttributes(){return[as,ss]}attributeChangedCallback(r,n,i){r===as&&(j(this,Te,i),this.refresh(!1)),r===ss&&j(this,yt,["","true"].includes(i))}connectedCallback(){if(!w(this,Te)){ge(this,pe,Ki).call(this,"Missing fragment id");return}}async refresh(r=!0){w(this,me)&&!await Promise.race([w(this,me),Promise.resolve(!1)])||(r&&Fr.remove(w(this,Te)),j(this,me,this.fetchData().then(()=>(this.dispatchEvent(new CustomEvent(Ve,{detail:this.data,bubbles:!0,composed:!0})),!0)).catch(n=>(ge(this,pe,Ki).call(this,"Network error: failed to load fragment"),j(this,me,null),!1))),w(this,me))}async fetchData(){j(this,Ye,null),j(this,ue,null);let r=Fr.get(w(this,Te));r||(r=await gh(ph,w(this,Te),w(this,yt),w(this,Zt)?Gi:void 0),Fr.add(r)),j(this,Ye,r)}get updateComplete(){return w(this,me)??Promise.reject(new Error("AEM fragment cannot be loaded"))}get data(){return w(this,ue)?w(this,ue):(w(this,yt)?ge(this,pe,hs).call(this):ge(this,pe,ds).call(this),w(this,ue))}};Ye=new WeakMap,ue=new WeakMap,Te=new WeakMap,Zt=new WeakMap,me=new WeakMap,yt=new WeakMap,pe=new WeakSet,Ki=function(r){this.classList.add("error"),this.dispatchEvent(new CustomEvent(Me,{detail:r,bubbles:!0,composed:!0}))},hs=function(){let{fields:r,id:n,tags:i}=w(this,Ye);j(this,ue,r.reduce((o,{name:a,multiple:s,values:c})=>(o.fields[a]=s?c:c[0],o),{fields:{},id:n,tags:i}))},ds=function(){let{fields:r,id:n,tags:i}=w(this,Ye);j(this,ue,Object.entries(r).reduce((o,[a,s])=>(o.fields[a]=s?.mimeType?s.value:s??"",o),{fields:{},id:n,tags:i}))};customElements.define("aem-fragment",Fi);var Jt=class Jt extends Gr(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return Br(Jt,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};p(Jt,"is","checkout-link"),p(Jt,"tag","a");var ie=Jt;window.customElements.get(ie.is)||window.customElements.define(ie.is,ie,{extends:ie.tag});function us({providers:e,settings:t}){function r(o,a){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:l,country:h,language:d,promotionCode:u,quantity:m}=t,{checkoutMarketSegment:f,checkoutWorkflow:g=c,checkoutWorkflowStep:T=l,imsCountry:_,country:b=_??h,language:S=d,quantity:k=m,entitlement:R,upgrade:V,modal:$,perpetual:ae,promotionCode:Xe=u,wcsOsi:Le,extraOptions:We,...J}=Object.assign({},a?.dataset??{},o??{}),fe=Se(g,re,L.checkoutWorkflow),se=ne.CHECKOUT;fe===re.V3&&(se=Se(T,ne,L.checkoutWorkflowStep));let Q=xt({...J,extraOptions:We,checkoutClientId:s,checkoutMarketSegment:f,country:b,quantity:vt(k,L.quantity),checkoutWorkflow:fe,checkoutWorkflowStep:se,language:S,entitlement:y(R),upgrade:y(V),modal:y($),perpetual:y(ae),promotionCode:$t(Xe).effectivePromoCode,wcsOsi:Hr(Le)});if(a)for(let _e of e.checkout)_e(a,Q);return Q}function n(o,a){if(!Array.isArray(o)||!o.length||!a)return"";let{env:s,landscape:c}=t,{checkoutClientId:l,checkoutMarketSegment:h,checkoutWorkflow:d,checkoutWorkflowStep:u,country:m,promotionCode:f,quantity:g,...T}=r(a),_=window.frameElement?"if":"fp",b={checkoutPromoCode:f,clientId:l,context:_,country:m,env:s,items:[],marketSegment:h,workflowStep:u,landscape:c,...T};if(o.length===1){let[{offerId:S,offerType:k,productArrangementCode:R}]=o,{marketSegments:[V]}=o[0];Object.assign(b,{marketSegment:V,offerType:k,productArrangementCode:R}),b.items.push(g[0]===1?{id:S}:{id:S,quantity:g[0]})}else b.items.push(...o.map(({offerId:S},k)=>({id:S,quantity:g[k]??L.quantity})));return Xn(d,b)}let{createCheckoutLink:i}=ie;return{CheckoutLink:ie,CheckoutWorkflow:re,CheckoutWorkflowStep:ne,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function xh({interval:e=200,maxAttempts:t=25}={}){let r=Y.module("ims");return new Promise(n=>{r.debug("Waing for IMS to be ready");let i=0;function o(){window.adobeIMS?.initialized?n():++i>t?(r.debug("Timeout"),n()):setTimeout(o,e)}o()})}function bh(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function vh(e){let t=Y.module("ims");return e.then(r=>r?window.adobeIMS.getProfile().then(({countryCode:n})=>(t.debug("Got user country:",n),n),n=>{t.error("Unable to get user country:",n)}):null)}function ms({}){let e=xh(),t=bh(e),r=vh(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function fs(e,t){let{data:r}=t||await Promise.resolve().then(()=>Rs(ps(),1));if(Array.isArray(r)){let n=o=>r.find(a=>yr(a.lang,o)),i=n(e.language)??n(L.language);if(i)return Object.freeze(i)}return{}}var gs=["GB_en","AU_en","FR_fr","AT_de","BE_en","BE_fr","BE_nl","BG_bg","CH_de","CH_fr","CH_it","CZ_cs","DE_de","DK_da","EE_et","EG_ar","EG_en","ES_es","FI_fi","FR_fr","GR_el","GR_en","HU_hu","IE_en","IT_it","LU_de","LU_en","LU_fr","NL_nl","NO_nb","PL_pl","PT_pt","RO_ro","SE_sv","SI_sl","SK_sk","TR_tr","UA_uk","ID_en","ID_in","IN_en","IN_hi","JP_ja","MY_en","MY_ms","NZ_en","TH_en","TH_th"],Eh={INDIVIDUAL_COM:["ZA_en","LT_lt","LV_lv","NG_en","SA_ar","SA_en","ZA_en","SG_en","KR_ko"],TEAM_COM:["ZA_en","LT_lt","LV_lv","NG_en","ZA_en","CO_es","KR_ko"],INDIVIDUAL_EDU:["LT_lt","LV_lv","SA_en","SG_en"],TEAM_EDU:["SG_en","KR_ko"]},Qt=class Qt extends HTMLSpanElement{constructor(){super();p(this,"masElement",new Et(this));this.handleClick=this.handleClick.bind(this)}static get observedAttributes(){return["data-display-old-price","data-display-per-unit","data-display-recurrence","data-display-tax","data-perpetual","data-promotion-code","data-tax-exclusive","data-template","data-wcs-osi"]}static createInlinePrice(r){let n=q();if(!n)return null;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Ur(Qt,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m})}get isInlinePrice(){return!0}attributeChangedCallback(r,n,i){this.masElement.attributeChangedCallback(r,n,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.handleClick)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.handleClick)}handleClick(r){r.target!==this&&(r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})))}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(r=!1){return this.masElement.requestUpdate(r)}resolveDisplayTaxForGeoAndSegment(r,n,i,o){let a=`${r}_${n}`;if(gs.includes(r)||gs.includes(a))return!0;let s=Eh[`${i}_${o}`];return s?!!(s.includes(r)||s.includes(a)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),o=Yt(await i,n);if(o?.length){let{country:a,language:s}=n,c=o[0],[l=""]=c.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(a,s,c.customerSegment,l)}}async render(r={}){if(!this.isConnected)return!1;let n=q();if(!n)return!1;let i=n.collectPriceOptions(r,this);if(!i.wcsOsi.length)return!1;let o=this.masElement.togglePending(i);this.innerHTML="";let[a]=n.resolveOfferSelectors(i);return this.renderOffers(Yt(await a,i),i,o)}renderOffers(r,n={},i=void 0){if(!this.isConnected)return;let o=q();if(!o)return!1;let a=o.collectPriceOptions({...this.dataset,...n},this);if(i??(i=this.masElement.togglePending(a)),r.length){if(this.masElement.toggleResolved(i,r,a))return this.innerHTML=o.buildPriceHTML(r,a),!0}else{let s=new Error(`Not provided: ${a?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(i,s,a))return this.innerHTML="",!0}return!1}updateOptions(r){let n=q();if(!n)return!1;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Dr(this,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}),!0}};p(Qt,"is","inline-price"),p(Qt,"tag","span");var oe=Qt;window.customElements.get(oe.is)||window.customElements.define(oe.is,oe,{extends:oe.tag});function xs({literals:e,providers:t,settings:r}){function n(a,s){let{country:c,displayOldPrice:l,displayPerUnit:h,displayRecurrence:d,displayTax:u,forceTaxExclusive:m,language:f,promotionCode:g,quantity:T}=r,{displayOldPrice:_=l,displayPerUnit:b=h,displayRecurrence:S=d,displayTax:k=u,forceTaxExclusive:R=m,country:V=c,language:$=f,perpetual:ae,promotionCode:Xe=g,quantity:Le=T,template:We,wcsOsi:J,...fe}=Object.assign({},s?.dataset??{},a??{}),se=xt({...fe,country:V,displayOldPrice:y(_),displayPerUnit:y(b),displayRecurrence:y(S),displayTax:y(k),forceTaxExclusive:y(R),language:$,perpetual:y(ae),promotionCode:$t(Xe).effectivePromoCode,quantity:vt(Le,L.quantity),template:We,wcsOsi:Hr(J)});if(s)for(let Q of t.price)Q(s,se);return se}function i(a,s){if(!Array.isArray(a)||!a.length||!s)return"";let{template:c}=s,l;switch(c){case"discount":l=ki;break;case"strikethrough":l=wi;break;case"optical":l=_i;break;case"annual":l=Ci;break;default:s.country==="AU"&&a[0].planType==="ABM"?l=s.promotionCode?Ii:Pi:l=s.promotionCode?Li:Ti}let h=n(s);h.literals=Object.assign({},e.price,xt(s.literals??{}));let[d]=a;return d={...d,...d.priceDetails},l(h,d)}let o=oe.createInlinePrice;return{InlinePrice:oe,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:o}}function bs({settings:e}){let t=Y.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,o=new Map,a;async function s(d,u,m=!0){let f=Rn;t.debug("Fetching:",d);let g="",T,_=(b,S,k)=>`${b}: ${S?.status}, url: ${k.toString()}`;try{if(d.offerSelectorIds=d.offerSelectorIds.sort(),g=new URL(e.wcsURL),g.searchParams.set("offer_selector_ids",d.offerSelectorIds.join(",")),g.searchParams.set("country",d.country),g.searchParams.set("locale",d.locale),g.searchParams.set("landscape",r===ze.STAGE?"ALL":e.landscape),g.searchParams.set("api_key",n),d.language&&g.searchParams.set("language",d.language),d.promotionCode&&g.searchParams.set("promotion_code",d.promotionCode),d.currency&&g.searchParams.set("currency",d.currency),T=await fetch(g.toString(),{credentials:"omit"}),T.ok){let b=await T.json();t.debug("Fetched:",d,b);let S=b.resolvedOffers??[];S=S.map(_r),u.forEach(({resolve:k},R)=>{let V=S.filter(({offerSelectorIds:$})=>$.includes(R)).flat();V.length&&(u.delete(R),k(V))})}else T.status===404&&d.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(d.offerSelectorIds.map(b=>s({...d,offerSelectorIds:[b]},u,!1)))):f=br}catch(b){f=br,t.error(f,d,b)}m&&u.size&&(t.debug("Missing:",{offerSelectorIds:[...u.keys()]}),u.forEach(b=>{b.reject(new Error(_(f,T,g)))}))}function c(){clearTimeout(a);let d=[...o.values()];o.clear(),d.forEach(({options:u,promises:m})=>s(u,m))}function l(){let d=i.size;i.clear(),t.debug(`Flushed ${d} cache entries`)}function h({country:d,language:u,perpetual:m=!1,promotionCode:f="",wcsOsi:g=[]}){let T=`${u}_${d}`;d!=="GB"&&(u=m?"EN":"MULT");let _=[d,u,f].filter(b=>b).join("-").toLowerCase();return g.map(b=>{let S=`${b}-${_}`;if(!i.has(S)){let k=new Promise((R,V)=>{let $=o.get(_);if(!$){let ae={country:d,locale:T,offerSelectorIds:[]};d!=="GB"&&(ae.language=u),$={options:ae,promises:new Map},o.set(_,$)}f&&($.options.promotionCode=f),$.options.offerSelectorIds.push(b),$.promises.set(b,{resolve:R,reject:V}),$.options.offerSelectorIds.length>=e.wcsBufferLimit?c():(t.debug("Queued:",$.options),a||(a=setTimeout(c,e.wcsBufferDelay)))});i.set(S,k)}return i.get(S)})}return{WcsCommitment:Ni,WcsPlanType:Oi,WcsTerm:Ri,resolveOfferSelectors:h,flushWcsCache:l}}var ji="mas-commerce-service",Sh="mas:start",yh="mas:ready",jr,vs,Kr=class extends HTMLElement{constructor(){super(...arguments);F(this,jr);p(this,"promise",null)}async registerCheckoutAction(r){typeof r=="function"&&(this.buildCheckoutAction=async(n,i,o)=>{let a=await r?.(n,i,this.imsSignedInPromise,o);return a||null})}async activate(){let r=w(this,jr,vs),n=Object.freeze(Hi(r));At(r.lana);let i=Y.init(r.hostEnv).module("service");i.debug("Activating:",r);let o={price:{}};try{o.price=await fs(n,r.commerce.priceLiterals)}catch{}let a={checkout:new Set,price:new Set},s={literals:o,providers:a,settings:n};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...us(s),...ms(s),...xs(s),...bs(s),...Gn,Log:Y,get defaults(){return L},get log(){return Y},get providers(){return{checkout(c){return a.checkout.add(c),()=>a.checkout.delete(c)},price(c){return a.price.add(c),()=>a.price.delete(c)}}},get settings(){return n}})),i.debug("Activated:",{literals:o,settings:n}),Fe(()=>{let c=new CustomEvent(it,{bubbles:!0,cancelable:!1,detail:this});performance.mark(yh),this.dispatchEvent(c)})}connectedCallback(){this.readyPromise||(performance.mark(Sh),this.readyPromise=this.activate())}disconnectedCallback(){this.readyPromise=null}flushWcsCache(){this.flushWcsCache(),this.log.debug("Flushed WCS cache")}refreshOffers(){this.flushWcsCache(),document.querySelectorAll('span[is="inline-price"],a[is="checkout-link"]').forEach(r=>r.requestUpdate(!0)),this.log.debug("Refreshed WCS offers")}refreshFragments(){this.flushWcsCache(),document.querySelectorAll("aem-fragment").forEach(r=>r.refresh()),this.log.debug("Refreshed AEM fragments")}};jr=new WeakSet,vs=function(){let r={hostEnv:{name:this.getAttribute("host-env")??"prod"},commerce:{env:this.getAttribute("env")},lana:{tags:this.getAttribute("lana-tags"),sampleRate:parseInt(this.getAttribute("lana-sample-rate"),10),isProdDomain:this.getAttribute("host-env")==="prod"}};return["locale","country","language"].forEach(n=>{let i=this.getAttribute(n);i&&(r[n]=i)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(n=>{let i=this.getAttribute(n);if(i!=null){let o=n.replace(/-([a-z])/g,a=>a[1].toUpperCase());r.commerce[o]=i}}),r},p(Kr,"instance");window.customElements.get(ji)||window.customElements.define(ji,Kr);At({sampleRate:1});export{je as CheckoutButton,ie as CheckoutLink,re as CheckoutWorkflow,ne as CheckoutWorkflowStep,L as Defaults,oe as InlinePrice,He as Landscape,Y as Log,ji as TAG_NAME_SERVICE,Ni as WcsCommitment,Oi as WcsPlanType,Ri as WcsTerm,_r as applyPlanType,Hi as getSettings}; + `);customElements.define("merch-icon",Et);var ps=new CSSStyleSheet;ps.replaceSync(":host { display: contents; }");var vh=document.querySelector('meta[name="aem-base-url"]')?.content??"https://odin.adobe.com",ds="fragment",us="author",Ah="ims",ms=e=>{throw new Error(`Failed to get fragment: ${e}`)};async function Eh(e,t,r,n){let i=r?`${e}/adobe/sites/cf/fragments/${t}`:`${e}/adobe/sites/fragments/${t}`,o=await fetch(i,{cache:"default",credentials:"omit",headers:n}).catch(a=>ms(a.message));return o?.ok||ms(`${o.status} ${o.statusText}`),o.json()}var ji,ye,Yi=class{constructor(){F(this,ye,new Map)}clear(){_(this,ye).clear()}add(...t){t.forEach(r=>{let{id:n}=r;n&&_(this,ye).set(n,r)})}has(t){return _(this,ye).has(t)}get(t){return _(this,ye).get(t)}remove(t){_(this,ye).delete(t)}};ye=new WeakMap;var jr=new Yi,je,he,Te,er,de,St,ue,Wi,fs,gs,Xi=class extends HTMLElement{constructor(){super();F(this,ue);p(this,"cache",jr);F(this,je);F(this,he);F(this,Te);F(this,er,!1);F(this,de);F(this,St,!1);this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[ps];let r=this.getAttribute(Ah);["",!0,"true"].includes(r)&&(j(this,er,!0),ji||(ji={Authorization:`Bearer ${window.adobeid?.authorize?.()}`}))}static get observedAttributes(){return[ds,us]}attributeChangedCallback(r,n,i){r===ds&&(j(this,Te,i),this.refresh(!1)),r===us&&j(this,St,["","true"].includes(i))}connectedCallback(){if(!_(this,Te)){ge(this,ue,Wi).call(this,"Missing fragment id");return}}async refresh(r=!0){_(this,de)&&!await Promise.race([_(this,de),Promise.resolve(!1)])||(r&&jr.remove(_(this,Te)),j(this,de,this.fetchData().then(()=>(this.dispatchEvent(new CustomEvent(Oe,{detail:this.data,bubbles:!0,composed:!0})),!0)).catch(n=>(ge(this,ue,Wi).call(this,"Network error: failed to load fragment"),j(this,de,null),!1))),_(this,de))}async fetchData(){j(this,je,null),j(this,he,null);let r=jr.get(_(this,Te));r||(r=await Eh(vh,_(this,Te),_(this,St),_(this,er)?ji:void 0),jr.add(r)),j(this,je,r)}get updateComplete(){return _(this,de)??Promise.reject(new Error("AEM fragment cannot be loaded"))}get data(){return _(this,he)?_(this,he):(_(this,St)?ge(this,ue,fs).call(this):ge(this,ue,gs).call(this),_(this,he))}};je=new WeakMap,he=new WeakMap,Te=new WeakMap,er=new WeakMap,de=new WeakMap,St=new WeakMap,ue=new WeakSet,Wi=function(r){this.classList.add("error"),this.dispatchEvent(new CustomEvent(Re,{detail:r,bubbles:!0,composed:!0}))},fs=function(){let{fields:r,id:n,tags:i}=_(this,je);j(this,he,r.reduce((o,{name:a,multiple:s,values:c})=>(o.fields[a]=s?c:c[0],o),{fields:{},id:n,tags:i}))},gs=function(){let{fields:r,id:n,tags:i}=_(this,je);j(this,he,Object.entries(r).reduce((o,[a,s])=>(o.fields[a]=s?.mimeType?s.value:s??"",o),{fields:{},id:n,tags:i}))};customElements.define("aem-fragment",Xi);var tr=class tr extends Fr(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return zr(tr,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};p(tr,"is","checkout-link"),p(tr,"tag","a");var ie=tr;window.customElements.get(ie.is)||window.customElements.define(ie.is,ie,{extends:ie.tag});function xs({providers:e,settings:t}){function r(o,a){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:l,country:h,language:d,promotionCode:u,quantity:m}=t,{checkoutMarketSegment:g,checkoutWorkflow:f=c,checkoutWorkflowStep:T=l,imsCountry:w,country:b=w??h,language:S=d,quantity:k=m,entitlement:R,upgrade:U,modal:H,perpetual:me,promotionCode:Z=u,wcsOsi:yt,extraOptions:Ye,...Tt}=Object.assign({},a?.dataset??{},o??{}),pe=Se(f,re,L.checkoutWorkflow),fe=ne.CHECKOUT;pe===re.V3&&(fe=Se(T,ne,L.checkoutWorkflowStep));let J=ft({...Tt,extraOptions:Ye,checkoutClientId:s,checkoutMarketSegment:g,country:b,quantity:bt(k,L.quantity),checkoutWorkflow:pe,checkoutWorkflowStep:fe,language:S,entitlement:y(R),upgrade:y(U),modal:y(H),perpetual:y(me),promotionCode:Gt(Z).effectivePromoCode,wcsOsi:Ur(yt)});if(a)for(let Lt of e.checkout)Lt(a,J);return J}function n(o,a){if(!Array.isArray(o)||!o.length||!a)return"";let{env:s,landscape:c}=t,{checkoutClientId:l,checkoutMarketSegment:h,checkoutWorkflow:d,checkoutWorkflowStep:u,country:m,promotionCode:g,quantity:f,...T}=r(a),w=window.frameElement?"if":"fp",b={checkoutPromoCode:g,clientId:l,context:w,country:m,env:s,items:[],marketSegment:h,workflowStep:u,landscape:c,...T};if(o.length===1){let[{offerId:S,offerType:k,productArrangementCode:R}]=o,{marketSegments:[U]}=o[0];Object.assign(b,{marketSegment:U,offerType:k,productArrangementCode:R}),b.items.push(f[0]===1?{id:S}:{id:S,quantity:f[0]})}else b.items.push(...o.map(({offerId:S},k)=>({id:S,quantity:f[k]??L.quantity})));return Zn(d,b)}let{createCheckoutLink:i}=ie;return{CheckoutLink:ie,CheckoutWorkflow:re,CheckoutWorkflowStep:ne,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function Sh({interval:e=200,maxAttempts:t=25}={}){let r=Y.module("ims");return new Promise(n=>{r.debug("Waing for IMS to be ready");let i=0;function o(){window.adobeIMS?.initialized?n():++i>t?(r.debug("Timeout"),n()):setTimeout(o,e)}o()})}function yh(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function Th(e){let t=Y.module("ims");return e.then(r=>r?window.adobeIMS.getProfile().then(({countryCode:n})=>(t.debug("Got user country:",n),n),n=>{t.error("Unable to get user country:",n)}):null)}function bs({}){let e=Sh(),t=yh(e),r=Th(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function As(e,t){let{data:r}=t||await Promise.resolve().then(()=>Us(vs(),1));if(Array.isArray(r)){let n=o=>r.find(a=>wr(a.lang,o)),i=n(e.language)??n(L.language);if(i)return Object.freeze(i)}return{}}var Es=["GB_en","AU_en","FR_fr","AT_de","BE_en","BE_fr","BE_nl","BG_bg","CH_de","CH_fr","CH_it","CZ_cs","DE_de","DK_da","EE_et","EG_ar","EG_en","ES_es","FI_fi","FR_fr","GR_el","GR_en","HU_hu","IE_en","IT_it","LU_de","LU_en","LU_fr","NL_nl","NO_nb","PL_pl","PT_pt","RO_ro","SE_sv","SI_sl","SK_sk","TR_tr","UA_uk","ID_en","ID_in","IN_en","IN_hi","JP_ja","MY_en","MY_ms","NZ_en","TH_en","TH_th"],wh={INDIVIDUAL_COM:["ZA_en","LT_lt","LV_lv","NG_en","SA_ar","SA_en","ZA_en","SG_en","KR_ko"],TEAM_COM:["ZA_en","LT_lt","LV_lv","NG_en","ZA_en","CO_es","KR_ko"],INDIVIDUAL_EDU:["LT_lt","LV_lv","SA_en","SG_en"],TEAM_EDU:["SG_en","KR_ko"]},rr=class rr extends HTMLSpanElement{constructor(){super();p(this,"masElement",new At(this));this.handleClick=this.handleClick.bind(this)}static get observedAttributes(){return["data-display-old-price","data-display-per-unit","data-display-recurrence","data-display-tax","data-perpetual","data-promotion-code","data-tax-exclusive","data-template","data-wcs-osi"]}static createInlinePrice(r){let n=q();if(!n)return null;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Br(rr,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m})}get isInlinePrice(){return!0}attributeChangedCallback(r,n,i){this.masElement.attributeChangedCallback(r,n,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.handleClick)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.handleClick)}handleClick(r){r.target!==this&&(r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})))}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(r=!1){return this.masElement.requestUpdate(r)}resolveDisplayTaxForGeoAndSegment(r,n,i,o){let a=`${r}_${n}`;if(Es.includes(r)||Es.includes(a))return!0;let s=wh[`${i}_${o}`];return s?!!(s.includes(r)||s.includes(a)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),o=qt(await i,n);if(o?.length){let{country:a,language:s}=n,c=o[0],[l=""]=c.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(a,s,c.customerSegment,l)}}async render(r={}){if(!this.isConnected)return!1;let n=q();if(!n)return!1;let i=n.collectPriceOptions(r,this);if(!i.wcsOsi.length)return!1;let o=this.masElement.togglePending(i);this.innerHTML="";let[a]=n.resolveOfferSelectors(i);return this.renderOffers(qt(await a,i),i,o)}renderOffers(r,n={},i=void 0){if(!this.isConnected)return;let o=q();if(!o)return!1;let a=o.collectPriceOptions({...this.dataset,...n},this);if(i??(i=this.masElement.togglePending(a)),r.length){if(this.masElement.toggleResolved(i,r,a))return this.innerHTML=o.buildPriceHTML(r,a),!0}else{let s=new Error(`Not provided: ${a?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(i,s,a))return this.innerHTML="",!0}return!1}updateOptions(r){let n=q();if(!n)return!1;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Gr(this,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}),!0}};p(rr,"is","inline-price"),p(rr,"tag","span");var oe=rr;window.customElements.get(oe.is)||window.customElements.define(oe.is,oe,{extends:oe.tag});function Ss({literals:e,providers:t,settings:r}){function n(a,s){let{country:c,displayOldPrice:l,displayPerUnit:h,displayRecurrence:d,displayTax:u,forceTaxExclusive:m,language:g,promotionCode:f,quantity:T}=r,{displayOldPrice:w=l,displayPerUnit:b=h,displayRecurrence:S=d,displayTax:k=u,forceTaxExclusive:R=m,country:U=c,language:H=g,perpetual:me,promotionCode:Z=f,quantity:yt=T,template:Ye,wcsOsi:Tt,...pe}=Object.assign({},s?.dataset??{},a??{}),fe=ft({...pe,country:U,displayOldPrice:y(w),displayPerUnit:y(b),displayRecurrence:y(S),displayTax:y(k),forceTaxExclusive:y(R),language:H,perpetual:y(me),promotionCode:Gt(Z).effectivePromoCode,quantity:bt(yt,L.quantity),template:Ye,wcsOsi:Ur(Tt)});if(s)for(let J of t.price)J(s,fe);return fe}function i(a,s){if(!Array.isArray(a)||!a.length||!s)return"";let{template:c}=s,l;switch(c){case"discount":l=Vi;break;case"strikethrough":l=ki;break;case"optical":l=Ii;break;case"annual":l=Ni;break;default:s.country==="AU"&&a[0].planType==="ABM"?l=s.promotionCode?Ri:Oi:l=s.promotionCode?Ci:Pi}let h=n(s);h.literals=Object.assign({},e.price,ft(s.literals??{}));let[d]=a;return d={...d,...d.priceDetails},l(h,d)}let o=oe.createInlinePrice;return{InlinePrice:oe,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:o}}function ys({settings:e}){let t=Y.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,o=new Map,a;async function s(d,u,m=!0){let g=Hn;t.debug("Fetching:",d);let f="",T,w=(b,S,k)=>`${b}: ${S?.status}, url: ${k.toString()}`;try{if(d.offerSelectorIds=d.offerSelectorIds.sort(),f=new URL(e.wcsURL),f.searchParams.set("offer_selector_ids",d.offerSelectorIds.join(",")),f.searchParams.set("country",d.country),f.searchParams.set("locale",d.locale),f.searchParams.set("landscape",r===Ge.STAGE?"ALL":e.landscape),f.searchParams.set("api_key",n),d.language&&f.searchParams.set("language",d.language),d.promotionCode&&f.searchParams.set("promotion_code",d.promotionCode),d.currency&&f.searchParams.set("currency",d.currency),T=await fetch(f.toString(),{credentials:"omit"}),T.ok){let b=await T.json();t.debug("Fetched:",d,b);let S=b.resolvedOffers??[];S=S.map(Cr),u.forEach(({resolve:k},R)=>{let U=S.filter(({offerSelectorIds:H})=>H.includes(R)).flat();U.length&&(u.delete(R),k(U))})}else T.status===404&&d.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(d.offerSelectorIds.map(b=>s({...d,offerSelectorIds:[b]},u,!1)))):g=Er}catch(b){g=Er,t.error(g,d,b)}m&&u.size&&(t.debug("Missing:",{offerSelectorIds:[...u.keys()]}),u.forEach(b=>{b.reject(new Error(w(g,T,f)))}))}function c(){clearTimeout(a);let d=[...o.values()];o.clear(),d.forEach(({options:u,promises:m})=>s(u,m))}function l(){let d=i.size;i.clear(),t.debug(`Flushed ${d} cache entries`)}function h({country:d,language:u,perpetual:m=!1,promotionCode:g="",wcsOsi:f=[]}){let T=`${u}_${d}`;d!=="GB"&&(u=m?"EN":"MULT");let w=[d,u,g].filter(b=>b).join("-").toLowerCase();return f.map(b=>{let S=`${b}-${w}`;if(!i.has(S)){let k=new Promise((R,U)=>{let H=o.get(w);if(!H){let me={country:d,locale:T,offerSelectorIds:[]};d!=="GB"&&(me.language=u),H={options:me,promises:new Map},o.set(w,H)}g&&(H.options.promotionCode=g),H.options.offerSelectorIds.push(b),H.promises.set(b,{resolve:R,reject:U}),H.options.offerSelectorIds.length>=e.wcsBufferLimit?c():(t.debug("Queued:",H.options),a||(a=setTimeout(c,e.wcsBufferDelay)))});i.set(S,k)}return i.get(S)})}return{WcsCommitment:Mi,WcsPlanType:Hi,WcsTerm:$i,resolveOfferSelectors:h,flushWcsCache:l}}var qi="mas-commerce-service",_h="mas:start",Ph="mas:ready",Xr,Ts,Yr=class extends HTMLElement{constructor(){super(...arguments);F(this,Xr);p(this,"promise",null)}async registerCheckoutAction(r){typeof r=="function"&&(this.buildCheckoutAction=async(n,i,o)=>{let a=await r?.(n,i,this.imsSignedInPromise,o);return a||null})}async activate(){let r=_(this,Xr,Ts),n=Object.freeze(Bi(r));vt(r.lana);let i=Y.init(r.hostEnv).module("service");i.debug("Activating:",r);let o={price:{}};try{o.price=await As(n,r.commerce.priceLiterals)}catch{}let a={checkout:new Set,price:new Set},s={literals:o,providers:a,settings:n};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...xs(s),...bs(s),...Ss(s),...ys(s),...Kn,Log:Y,get defaults(){return L},get log(){return Y},get providers(){return{checkout(c){return a.checkout.add(c),()=>a.checkout.delete(c)},price(c){return a.price.add(c),()=>a.price.delete(c)}}},get settings(){return n}})),i.debug("Activated:",{literals:o,settings:n}),ze(()=>{let c=new CustomEvent(rt,{bubbles:!0,cancelable:!1,detail:this});performance.mark(Ph),this.dispatchEvent(c)})}connectedCallback(){this.readyPromise||(performance.mark(_h),this.readyPromise=this.activate())}disconnectedCallback(){this.readyPromise=null}flushWcsCache(){this.flushWcsCache(),this.log.debug("Flushed WCS cache")}refreshOffers(){this.flushWcsCache(),document.querySelectorAll('span[is="inline-price"],a[is="checkout-link"]').forEach(r=>r.requestUpdate(!0)),this.log.debug("Refreshed WCS offers")}refreshFragments(){this.flushWcsCache(),document.querySelectorAll("aem-fragment").forEach(r=>r.refresh()),this.log.debug("Refreshed AEM fragments")}};Xr=new WeakSet,Ts=function(){let r={hostEnv:{name:this.getAttribute("host-env")??"prod"},commerce:{env:this.getAttribute("env")},lana:{tags:this.getAttribute("lana-tags"),sampleRate:parseInt(this.getAttribute("lana-sample-rate"),10),isProdDomain:this.getAttribute("host-env")==="prod"}};return["locale","country","language"].forEach(n=>{let i=this.getAttribute(n);i&&(r[n]=i)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(n=>{let i=this.getAttribute(n);if(i!=null){let o=n.replace(/-([a-z])/g,a=>a[1].toUpperCase());r.commerce[o]=i}}),r},p(Yr,"instance");window.customElements.get(qi)||window.customElements.define(qi,Yr);vt({sampleRate:1});export{Ke as CheckoutButton,ie as CheckoutLink,re as CheckoutWorkflow,ne as CheckoutWorkflowStep,L as Defaults,oe as InlinePrice,Ve as Landscape,Y as Log,qi as TAG_NAME_SERVICE,Mi as WcsCommitment,Hi as WcsPlanType,$i as WcsTerm,Cr as applyPlanType,Bi as getSettings}; /*! Bundled license information: @lit/reactive-element/css-tag.js: diff --git a/libs/deps/mas/merch-card.js b/libs/deps/mas/merch-card.js index 45007f25b9..07d5fa9953 100644 --- a/libs/deps/mas/merch-card.js +++ b/libs/deps/mas/merch-card.js @@ -1,6 +1,6 @@ -var ho=Object.defineProperty;var ir=e=>{throw TypeError(e)};var mo=(e,t,r)=>t in e?ho(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var u=(e,t,r)=>mo(e,typeof t!="symbol"?t+"":t,r),lt=(e,t,r)=>t.has(e)||ir("Cannot "+r);var ht=(e,t,r)=>(lt(e,t,"read from private field"),r?r.call(e):t.get(e)),Ie=(e,t,r)=>t.has(e)?ir("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ar=(e,t,r,n)=>(lt(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),mt=(e,t,r)=>(lt(e,t,"access private method"),r);import{LitElement as Ta}from"../lit-all.min.js";import{LitElement as uo,html as sr,css as po}from"../lit-all.min.js";var m=class extends uo{constructor(){super(),this.size="m",this.alt=""}render(){let{href:t}=this;return t?sr` +var go=Object.defineProperty;var sr=e=>{throw TypeError(e)};var xo=(e,t,r)=>t in e?go(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var p=(e,t,r)=>xo(e,typeof t!="symbol"?t+"":t,r),ht=(e,t,r)=>t.has(e)||sr("Cannot "+r);var mt=(e,t,r)=>(ht(e,t,"read from private field"),r?r.call(e):t.get(e)),Be=(e,t,r)=>t.has(e)?sr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),cr=(e,t,r,n)=>(ht(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),dt=(e,t,r)=>(ht(e,t,"access private method"),r);import{LitElement as Na}from"../lit-all.min.js";import{LitElement as bo,html as lr,css as vo}from"../lit-all.min.js";var m=class extends bo{constructor(){super(),this.size="m",this.alt=""}render(){let{href:t}=this;return t?lr` ${this.alt} - `:sr` ${this.alt}`}};u(m,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}}),u(m,"styles",po` + `:lr` ${this.alt}`}};p(m,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}}),p(m,"styles",vo` :host { --img-width: 32px; --img-height: 32px; @@ -28,7 +28,7 @@ var ho=Object.defineProperty;var ir=e=>{throw TypeError(e)};var mo=(e,t,r)=>t in width: var(--mod-img-width, var(--img-width)); height: var(--mod-img-height, var(--img-height)); } - `);customElements.define("merch-icon",m);import{css as lr,unsafeCSS as cr}from"../lit-all.min.js";var F="(max-width: 767px)",ke="(max-width: 1199px)",T="(min-width: 768px)",A="(min-width: 1200px)",M="(min-width: 1600px)";var hr=lr` + `);customElements.define("merch-icon",m);import{css as mr,unsafeCSS as hr}from"../lit-all.min.js";var z="(max-width: 767px)",De="(max-width: 1199px)",T="(min-width: 768px)",A="(min-width: 1200px)",M="(min-width: 1600px)";var dr=mr` :host { --consonant-merch-card-background-color: #fff; --consonant-merch-card-border: 1px solid var(--consonant-merch-card-border-color); @@ -258,9 +258,9 @@ var ho=Object.defineProperty;var ir=e=>{throw TypeError(e)};var mo=(e,t,r)=>t in ::slotted([slot='price']) { color: var(--consonant-merch-card-price-color); } -`,mr=()=>[lr` +`,ur=()=>[mr` /* Tablet */ - @media screen and ${cr(T)} { + @media screen and ${hr(T)} { :host([size='wide']), :host([size='super-wide']) { width: 100%; @@ -269,11 +269,11 @@ var ho=Object.defineProperty;var ir=e=>{throw TypeError(e)};var mo=(e,t,r)=>t in } /* Laptop */ - @media screen and ${cr(A)} { + @media screen and ${hr(A)} { :host([size='wide']) { grid-column: span 2; } - `];import{html as Be}from"../lit-all.min.js";var te,ge=class ge{constructor(t){u(this,"card");Ie(this,te);this.card=t,this.insertVariantStyle()}getContainer(){return ar(this,te,ht(this,te)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),ht(this,te)}insertVariantStyle(){if(!ge.styleMap[this.card.variant]){ge.styleMap[this.card.variant]=!0;let t=document.createElement("style");t.innerHTML=this.getGlobalCSS(),document.head.appendChild(t)}}updateCardElementMinHeight(t,r){if(!t)return;let n=`--consonant-merch-card-${this.card.variant}-${r}-height`,o=Math.max(0,parseInt(window.getComputedStyle(t).height)||0),i=parseInt(this.getContainer().style.getPropertyValue(n))||0;o>i&&this.getContainer().style.setProperty(n,`${o}px`)}get badge(){let t;if(!(!this.card.badgeBackgroundColor||!this.card.badgeColor||!this.card.badgeText))return this.evergreen&&(t=`border: 1px solid ${this.card.badgeBackgroundColor}; border-right: none;`),Be` + `];import{html as Ue}from"../lit-all.min.js";var ne,ve=class ve{constructor(t){p(this,"card");Be(this,ne);this.card=t,this.insertVariantStyle()}getContainer(){return cr(this,ne,mt(this,ne)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),mt(this,ne)}insertVariantStyle(){if(!ve.styleMap[this.card.variant]){ve.styleMap[this.card.variant]=!0;let t=document.createElement("style");t.innerHTML=this.getGlobalCSS(),document.head.appendChild(t)}}updateCardElementMinHeight(t,r){if(!t)return;let n=`--consonant-merch-card-${this.card.variant}-${r}-height`,o=Math.max(0,parseInt(window.getComputedStyle(t).height)||0),i=parseInt(this.getContainer().style.getPropertyValue(n))||0;o>i&&this.getContainer().style.setProperty(n,`${o}px`)}get badge(){let t;if(!(!this.card.badgeBackgroundColor||!this.card.badgeColor||!this.card.badgeText))return this.evergreen&&(t=`border: 1px solid ${this.card.badgeBackgroundColor}; border-right: none;`),Ue`
{throw TypeError(e)};var mo=(e,t,r)=>t in > ${this.card.badgeText}
- `}get cardImage(){return Be`
+ `}get cardImage(){return Ue`
${this.badge} -
`}getGlobalCSS(){return""}get theme(){return document.querySelector("sp-theme")}get evergreen(){return this.card.classList.contains("intro-pricing")}get promoBottom(){return this.card.classList.contains("promo-bottom")}get headingSelector(){return'[slot="heading-xs"]'}get secureLabelFooter(){let t=this.card.secureLabel?Be``}getGlobalCSS(){return""}get theme(){return document.querySelector("sp-theme")}get evergreen(){return this.card.classList.contains("intro-pricing")}get promoBottom(){return this.card.classList.contains("promo-bottom")}get headingSelector(){return'[slot="heading-xs"]'}get secureLabelFooter(){let t=this.card.secureLabel?Ue`${this.card.secureLabel}`:"";return Be`
${t}
`}async adjustTitleWidth(){let t=this.card.getBoundingClientRect().width,r=this.card.badgeElement?.getBoundingClientRect().width||0;t===0||r===0||this.card.style.setProperty("--consonant-merch-card-heading-xs-max-width",`${Math.round(t-r-16)}px`)}postCardUpdateHook(){}connectedCallbackHook(){}disconnectedCallbackHook(){}renderLayout(){}get aemFragmentMapping(){}};te=new WeakMap,u(ge,"styleMap",{});var w=ge;import{html as gt,css as fo}from"../lit-all.min.js";function B(e,t={},r=null,n=null){let o=n?document.createElement(e,{is:n}):document.createElement(e);r instanceof HTMLElement?o.appendChild(r):o.innerHTML=r;for(let[i,a]of Object.entries(t))o.setAttribute(i,a);return o}function De(){return window.matchMedia("(max-width: 767px)").matches}function dr(){return window.matchMedia("(max-width: 1024px)").matches}var dt="wcms:commerce:ready";var ur="merch-offer-select:ready",pr="merch-card:ready",fr="merch-card:action-menu-toggle";var ut="merch-storage:change",pt="merch-quantity-selector:change";var Ue="aem:load",Ge="aem:error",gr="mas:ready",xr="mas:error",br="placeholder-failed",vr="placeholder-pending",yr="placeholder-resolved";var Er="mas:failed",wr="mas:resolved",Sr="mas/commerce";var $="failed",Y="pending",V="resolved",ft={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Ar=` + >`:"";return Ue`
${t}
`}async adjustTitleWidth(){let t=this.card.getBoundingClientRect().width,r=this.card.badgeElement?.getBoundingClientRect().width||0;t===0||r===0||this.card.style.setProperty("--consonant-merch-card-heading-xs-max-width",`${Math.round(t-r-16)}px`)}postCardUpdateHook(){}connectedCallbackHook(){}disconnectedCallbackHook(){}renderLayout(){}get aemFragmentMapping(){}};ne=new WeakMap,p(ve,"styleMap",{});var S=ve;import{html as xt,css as yo}from"../lit-all.min.js";function k(e,t={},r=null,n=null){let o=n?document.createElement(e,{is:n}):document.createElement(e);r instanceof HTMLElement?o.appendChild(r):o.innerHTML=r;for(let[i,a]of Object.entries(t))o.setAttribute(i,a);return o}function Ge(){return window.matchMedia("(max-width: 767px)").matches}function pr(){return window.matchMedia("(max-width: 1024px)").matches}var ut="wcms:commerce:ready";var fr="merch-offer-select:ready",gr="merch-card:ready",xr="merch-card:action-menu-toggle";var pt="merch-storage:change",ft="merch-quantity-selector:change";var ze="aem:load",Fe="aem:error",br="mas:ready",vr="mas:error",yr="placeholder-failed",Er="placeholder-pending",wr="placeholder-resolved";var Sr="mas:failed",Ar="mas:resolved",Tr="mas/commerce";var F="failed",Y="pending",$="resolved",gt={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var _r=` :root { --consonant-merch-card-catalog-width: 276px; --consonant-merch-card-catalog-icon-size: 40px; @@ -374,12 +374,12 @@ merch-card[variant="catalog"] .payment-details { font-style: italic; font-weight: 400; line-height: var(--consonant-merch-card-body-line-height); -}`;var go={title:{tag:"h3",slot:"heading-xs"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"m"},allowedSizes:["wide","super-wide"]},re=class extends w{constructor(r){super(r);u(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(fr,{bubbles:!0,composed:!0,detail:{card:this.card.name,type:"action-menu"}}))});u(this,"toggleActionMenu",r=>{let n=this.card.shadowRoot.querySelector('slot[name="action-menu-content"]');!n||!r||r.type!=="click"&&r.code!=="Space"&&r.code!=="Enter"||(r.preventDefault(),n.classList.toggle("hidden"),n.classList.contains("hidden")||this.dispatchActionMenuToggle())});u(this,"toggleActionMenuFromCard",r=>{let n=r?.type==="mouseleave"?!0:void 0,o=this.card.shadowRoot,i=o.querySelector(".action-menu");this.card.blur(),i?.classList.remove("always-visible");let a=o.querySelector('slot[name="action-menu-content"]');a&&(n||this.dispatchActionMenuToggle(),a.classList.toggle("hidden",n))});u(this,"hideActionMenu",r=>{this.card.shadowRoot.querySelector('slot[name="action-menu-content"]')?.classList.add("hidden")});u(this,"focusEventHandler",r=>{let n=this.card.shadowRoot.querySelector(".action-menu");n&&(n.classList.add("always-visible"),(r.relatedTarget?.nodeName==="MERCH-CARD-COLLECTION"||r.relatedTarget?.nodeName==="MERCH-CARD"&&r.target.nodeName!=="MERCH-ICON")&&n.classList.remove("always-visible"))})}get aemFragmentMapping(){return go}renderLayout(){return gt`
+}`;var Eo={title:{tag:"h3",slot:"heading-xs"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"m"},allowedSizes:["wide","super-wide"]},oe=class extends S{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(xr,{bubbles:!0,composed:!0,detail:{card:this.card.name,type:"action-menu"}}))});p(this,"toggleActionMenu",r=>{let n=this.card.shadowRoot.querySelector('slot[name="action-menu-content"]');!n||!r||r.type!=="click"&&r.code!=="Space"&&r.code!=="Enter"||(r.preventDefault(),n.classList.toggle("hidden"),n.classList.contains("hidden")||this.dispatchActionMenuToggle())});p(this,"toggleActionMenuFromCard",r=>{let n=r?.type==="mouseleave"?!0:void 0,o=this.card.shadowRoot,i=o.querySelector(".action-menu");this.card.blur(),i?.classList.remove("always-visible");let a=o.querySelector('slot[name="action-menu-content"]');a&&(n||this.dispatchActionMenuToggle(),a.classList.toggle("hidden",n))});p(this,"hideActionMenu",r=>{this.card.shadowRoot.querySelector('slot[name="action-menu-content"]')?.classList.add("hidden")});p(this,"focusEventHandler",r=>{let n=this.card.shadowRoot.querySelector(".action-menu");n&&(n.classList.add("always-visible"),(r.relatedTarget?.nodeName==="MERCH-CARD-COLLECTION"||r.relatedTarget?.nodeName==="MERCH-CARD"&&r.target.nodeName!=="MERCH-ICON")&&n.classList.remove("always-visible"))})}get aemFragmentMapping(){return Eo}renderLayout(){return xt`
${this.badge}
- ${this.promoBottom?"":gt``} - ${this.promoBottom?gt``:""}
${this.secureLabelFooter} - `}getGlobalCSS(){return Ar}connectedCallbackHook(){this.card.addEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.addEventListener("focusout",this.focusEventHandler)}disconnectedCallbackHook(){this.card.removeEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.removeEventListener("focusout",this.focusEventHandler)}};u(re,"variantStyle",fo` + `}getGlobalCSS(){return _r}connectedCallbackHook(){this.card.addEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.addEventListener("focusout",this.focusEventHandler)}disconnectedCallbackHook(){this.card.removeEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.removeEventListener("focusout",this.focusEventHandler)}};p(oe,"variantStyle",yo` :host([variant='catalog']) { min-height: 330px; width: var(--consonant-merch-card-catalog-width); @@ -422,7 +422,7 @@ merch-card[variant="catalog"] .payment-details { margin-left: var(--consonant-merch-spacing-xxs); box-sizing: border-box; } - `);import{html as xe}from"../lit-all.min.js";var Tr=` + `);import{html as ye}from"../lit-all.min.js";var Lr=` :root { --consonant-merch-card-image-width: 300px; } @@ -456,24 +456,24 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: repeat(4, var(--consonant-merch-card-image-width-4clm)); } } -`;var ze=class extends w{constructor(t){super(t)}getGlobalCSS(){return Tr}renderLayout(){return xe`${this.cardImage} +`;var $e=class extends S{constructor(t){super(t)}getGlobalCSS(){return Lr}renderLayout(){return ye`${this.cardImage}
- ${this.promoBottom?xe``:xe``} + ${this.promoBottom?ye``:ye``}
- ${this.evergreen?xe` + ${this.evergreen?ye`
- `:xe` + `:ye`
${this.secureLabelFooter} - `}`}};import{html as Lr}from"../lit-all.min.js";var _r=` + `}`}};import{html as Pr}from"../lit-all.min.js";var Cr=` :root { --consonant-merch-card-inline-heading-width: 300px; } @@ -509,7 +509,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: repeat(4, var(--consonant-merch-card-inline-heading-width)); } } -`;var Fe=class extends w{constructor(t){super(t)}getGlobalCSS(){return _r}renderLayout(){return Lr` ${this.badge} +`;var Ve=class extends S{constructor(t){super(t)}getGlobalCSS(){return Cr}renderLayout(){return Pr` ${this.badge}
@@ -517,7 +517,7 @@ merch-card[variant="catalog"] .payment-details {
- ${this.card.customHr?"":Lr`
`} ${this.secureLabelFooter}`}};import{html as ne,css as xo,unsafeCSS as Pr}from"../lit-all.min.js";var Cr=` + ${this.card.customHr?"":Pr`
`} ${this.secureLabelFooter}`}};import{html as ie,css as wo,unsafeCSS as Rr}from"../lit-all.min.js";var Nr=` :root { --consonant-merch-card-mini-compare-chart-icon-size: 32px; --consonant-merch-card-mini-compare-mobile-cta-font-size: 15px; @@ -708,7 +708,7 @@ merch-card[variant="catalog"] .payment-details { } /* mini compare mobile */ -@media screen and ${F} { +@media screen and ${z} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -746,7 +746,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${ke} { +@media screen and ${De} { merch-card[variant="mini-compare-chart"] [slot='heading-m'] { font-size: var(--consonant-merch-card-body-s-font-size); line-height: var(--consonant-merch-card-body-s-line-height); @@ -848,16 +848,16 @@ merch-card .footer-row-cell:nth-child(7) { merch-card .footer-row-cell:nth-child(8) { min-height: var(--consonant-merch-card-footer-row-8-min-height); } -`;var bo=32,oe=class extends w{constructor(r){super(r);u(this,"getRowMinHeightPropertyName",r=>`--consonant-merch-card-footer-row-${r}-min-height`);u(this,"getMiniCompareFooter",()=>{let r=this.card.secureLabel?ne` +`;var So=32,ae=class extends S{constructor(r){super(r);p(this,"getRowMinHeightPropertyName",r=>`--consonant-merch-card-footer-row-${r}-min-height`);p(this,"getMiniCompareFooter",()=>{let r=this.card.secureLabel?ie` ${this.card.secureLabel}`:ne``;return ne`
${r}
`})}getGlobalCSS(){return Cr}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section");let r=["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"];this.card.classList.contains("bullet-list")&&r.push("footer-rows"),r.forEach(o=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${o}"]`),o)),this.updateCardElementMinHeight(this.card.shadowRoot.querySelector("footer"),"footer");let n=this.card.shadowRoot.querySelector(".mini-compare-chart-badge");n&&n.textContent!==""&&this.getContainer().style.setProperty("--consonant-merch-card-mini-compare-chart-top-section-mobile-height","32px")}adjustMiniCompareFooterRows(){if(this.card.getBoundingClientRect().width===0)return;[...this.card.querySelector('[slot="footer-rows"] ul')?.children].forEach((n,o)=>{let i=Math.max(bo,parseFloat(window.getComputedStyle(n).height)||0),a=parseFloat(this.getContainer().style.getPropertyValue(this.getRowMinHeightPropertyName(o+1)))||0;i>a&&this.getContainer().style.setProperty(this.getRowMinHeightPropertyName(o+1),`${i}px`)})}removeEmptyRows(){this.card.querySelectorAll(".footer-row-cell").forEach(n=>{let o=n.querySelector(".footer-row-cell-description");o&&!o.textContent.trim()&&n.remove()})}renderLayout(){return ne`
+ >`:ie``;return ie`
${r}
`})}getGlobalCSS(){return Nr}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section");let r=["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"];this.card.classList.contains("bullet-list")&&r.push("footer-rows"),r.forEach(o=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${o}"]`),o)),this.updateCardElementMinHeight(this.card.shadowRoot.querySelector("footer"),"footer");let n=this.card.shadowRoot.querySelector(".mini-compare-chart-badge");n&&n.textContent!==""&&this.getContainer().style.setProperty("--consonant-merch-card-mini-compare-chart-top-section-mobile-height","32px")}adjustMiniCompareFooterRows(){if(this.card.getBoundingClientRect().width===0)return;[...this.card.querySelector('[slot="footer-rows"] ul')?.children].forEach((n,o)=>{let i=Math.max(So,parseFloat(window.getComputedStyle(n).height)||0),a=parseFloat(this.getContainer().style.getPropertyValue(this.getRowMinHeightPropertyName(o+1)))||0;i>a&&this.getContainer().style.setProperty(this.getRowMinHeightPropertyName(o+1),`${i}px`)})}removeEmptyRows(){this.card.querySelectorAll(".footer-row-cell").forEach(n=>{let o=n.querySelector(".footer-row-cell-description");o&&!o.textContent.trim()&&n.remove()})}renderLayout(){return ie`
${this.badge}
- ${this.card.classList.contains("bullet-list")?ne` - `:ne` + ${this.card.classList.contains("bullet-list")?ie` + `:ie` `} @@ -865,7 +865,7 @@ merch-card .footer-row-cell:nth-child(8) { ${this.getMiniCompareFooter()} - `}async postCardUpdateHook(){De()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};u(oe,"variantStyle",xo` + `}async postCardUpdateHook(){Ge()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(ae,"variantStyle",wo` :host([variant='mini-compare-chart']) > slot:not([name='icons']) { display: block; } @@ -898,7 +898,7 @@ merch-card .footer-row-cell:nth-child(8) { color: var(--merch-color-grey-700); } - @media screen and ${Pr(ke)} { + @media screen and ${Rr(De)} { [class*'-merch-cards'] :host([variant='mini-compare-chart']) footer { flex-direction: column; align-items: stretch; @@ -906,7 +906,7 @@ merch-card .footer-row-cell:nth-child(8) { } } - @media screen and ${Pr(A)} { + @media screen and ${Rr(A)} { :host([variant='mini-compare-chart']) footer { padding: var(--consonant-merch-spacing-xs) var(--consonant-merch-spacing-s) @@ -957,7 +957,7 @@ merch-card .footer-row-cell:nth-child(8) { :host([variant='mini-compare-chart']) slot[name='footer-rows'] { justify-content: flex-start; } - `);import{html as $e,css as vo}from"../lit-all.min.js";var Nr=` + `);import{html as je,css as Ao}from"../lit-all.min.js";var Or=` :root { --consonant-merch-card-plans-width: 300px; --consonant-merch-card-plans-icon-size: 40px; @@ -1011,23 +1011,23 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, var(--consonant-merch-card-plans-width)); } } -`;var ie=class extends w{constructor(t){super(t)}getGlobalCSS(){return Nr}postCardUpdateHook(){this.adjustTitleWidth()}get stockCheckbox(){return this.card.checkboxLabel?$e``:""}renderLayout(){return je` ${this.badge}
- ${this.promoBottom?"":$e` `} + ${this.promoBottom?"":je` `} - ${this.promoBottom?$e` `:""} + ${this.promoBottom?je` `:""} ${this.stockCheckbox}
- ${this.secureLabelFooter}`}};u(ie,"variantStyle",vo` + ${this.secureLabelFooter}`}};p(se,"variantStyle",Ao` :host([variant='plans']) { min-height: 348px; } @@ -1035,7 +1035,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { :host([variant='plans']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);import{html as xt,css as yo}from"../lit-all.min.js";var Rr=` + `);import{html as bt,css as To}from"../lit-all.min.js";var Hr=` :root { --consonant-merch-card-product-width: 300px; } @@ -1072,18 +1072,18 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, var(--consonant-merch-card-product-width-4clm)); } } -`;var W=class extends w{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Rr}adjustProductBodySlots(){if(this.card.getBoundingClientRect().width===0)return;["heading-xs","body-xxs","body-xs","promo-text","callout-content","body-lower"].forEach(r=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${r}"]`),r))}renderLayout(){return xt` ${this.badge} +`;var W=class extends S{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Hr}adjustProductBodySlots(){if(this.card.getBoundingClientRect().width===0)return;["heading-xs","body-xxs","body-xs","promo-text","callout-content","body-lower"].forEach(r=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${r}"]`),r))}renderLayout(){return bt` ${this.badge}
- ${this.promoBottom?"":xt``} + ${this.promoBottom?"":bt``} - ${this.promoBottom?xt``:""} + ${this.promoBottom?bt``:""}
- ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(De()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};u(W,"variantStyle",yo` + ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(Ge()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p(W,"variantStyle",To` :host([variant='product']) > slot:not([name='icons']) { display: block; } @@ -1111,7 +1111,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { :host([variant='product']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);import{html as bt,css as Eo}from"../lit-all.min.js";var Or=` + `);import{html as vt,css as _o}from"../lit-all.min.js";var Mr=` :root { --consonant-merch-card-segment-width: 378px; } @@ -1125,7 +1125,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Mobile */ -@media screen and ${F} { +@media screen and ${z} { :root { --consonant-merch-card-segment-width: 276px; } @@ -1157,23 +1157,23 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, minmax(276px, var(--consonant-merch-card-segment-width))); } } -`;var ae=class extends w{constructor(t){super(t)}getGlobalCSS(){return Or}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return bt` ${this.badge} +`;var ce=class extends S{constructor(t){super(t)}getGlobalCSS(){return Mr}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return vt` ${this.badge}
- ${this.promoBottom?"":bt``} + ${this.promoBottom?"":vt``} - ${this.promoBottom?bt``:""} + ${this.promoBottom?vt``:""}

- ${this.secureLabelFooter}`}};u(ae,"variantStyle",Eo` + ${this.secureLabelFooter}`}};p(ce,"variantStyle",_o` :host([variant='segment']) { min-height: 214px; } :host([variant='segment']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);import{html as vt,css as wo}from"../lit-all.min.js";var Hr=` + `);import{html as yt,css as Lo}from"../lit-all.min.js";var Ir=` :root { --consonant-merch-card-special-offers-width: 378px; } @@ -1190,7 +1190,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri grid-template-columns: minmax(300px, var(--consonant-merch-card-special-offers-width)); } -@media screen and ${F} { +@media screen and ${z} { :root { --consonant-merch-card-special-offers-width: 302px; } @@ -1221,24 +1221,24 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri grid-template-columns: repeat(4, minmax(300px, var(--consonant-merch-card-special-offers-width))); } } -`;var So={name:{tag:"h4",slot:"detail-m"},title:{tag:"h4",slot:"detail-m"},backgroundImage:{tag:"div",slot:"bg-image"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"l"}},se=class extends w{constructor(t){super(t)}getGlobalCSS(){return Hr}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return So}renderLayout(){return vt`${this.cardImage} +`;var Co={name:{tag:"h4",slot:"detail-m"},title:{tag:"h4",slot:"detail-m"},backgroundImage:{tag:"div",slot:"bg-image"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"l"}},le=class extends S{constructor(t){super(t)}getGlobalCSS(){return Ir}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return Co}renderLayout(){return yt`${this.cardImage}
- ${this.evergreen?vt` + ${this.evergreen?yt`
- `:vt` + `:yt`
${this.secureLabelFooter} `} - `}};u(se,"variantStyle",wo` + `}};p(le,"variantStyle",Lo` :host([variant='special-offers']) { min-height: 439px; } @@ -1250,7 +1250,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri :host([variant='special-offers'].center) { text-align: center; } - `);import{html as Ao,css as To}from"../lit-all.min.js";var Mr=` + `);import{html as Po,css as No}from"../lit-all.min.js";var kr=` :root { --consonant-merch-card-twp-width: 268px; --consonant-merch-card-twp-mobile-width: 300px; @@ -1305,7 +1305,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${F} { +@media screen and ${z} { :root { --consonant-merch-card-twp-width: 300px; } @@ -1351,7 +1351,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: repeat(3, var(--consonant-merch-card-twp-width)); } } -`;var ce=class extends w{constructor(t){super(t)}getGlobalCSS(){return Mr}renderLayout(){return Ao`${this.badge} +`;var he=class extends S{constructor(t){super(t)}getGlobalCSS(){return kr}renderLayout(){return Po`${this.badge}
@@ -1360,7 +1360,7 @@ merch-card[variant='twp'] merch-offer-select {
-
`}};u(ce,"variantStyle",To` +
`}};p(he,"variantStyle",No` :host([variant='twp']) { padding: 4px 10px 5px 10px; } @@ -1399,7 +1399,7 @@ merch-card[variant='twp'] merch-offer-select { flex-direction: column; align-self: flex-start; } - `);import{html as _o,css as Lo}from"../lit-all.min.js";var Ir=` + `);import{html as Ro,css as Oo}from"../lit-all.min.js";var Br=` merch-card[variant="ccd-suggested"] [slot="heading-xs"] { font-size: var(--consonant-merch-card-heading-xxs-font-size); @@ -1424,12 +1424,12 @@ merch-card[variant='twp'] merch-offer-select { .spectrum--darkest merch-card[variant="ccd-suggested"]:hover { --consonant-merch-card-border-color:rgb(73, 73, 73); } -`;var Co={mnemonics:{size:"l"},subtitle:{tag:"h4",slot:"detail-s"},backgroundImage:{attribute:"background-image"},title:{tag:"h3",slot:"heading-xs"},prices:{tag:"p",slot:"price"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"cta",size:"M"}},le=class extends w{getGlobalCSS(){return Ir}get aemFragmentMapping(){return Co}get stripStyle(){return this.card.backgroundImage?` +`;var Ho={mnemonics:{size:"l"},subtitle:{tag:"h4",slot:"detail-s"},backgroundImage:{attribute:"background-image"},title:{tag:"h3",slot:"heading-xs"},prices:{tag:"p",slot:"price"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"cta",size:"M"}},me=class extends S{getGlobalCSS(){return Br}get aemFragmentMapping(){return Ho}get stripStyle(){return this.card.backgroundImage?` background: url("${this.card.backgroundImage}"); background-size: auto 100%; background-repeat: no-repeat; background-position: ${this.card.dir==="ltr"?"left":"right"}; - `:""}renderLayout(){return _o`
+ `:""}renderLayout(){return Ro`
@@ -1446,7 +1446,7 @@ merch-card[variant='twp'] merch-offer-select {
- `}postCardUpdateHook(t){t.has("backgroundImage")&&this.styleBackgroundImage()}styleBackgroundImage(){if(this.card.classList.remove("thin-strip"),this.card.classList.remove("wide-strip"),!this.card.backgroundImage)return;let t=new Image;t.src=this.card.backgroundImage,t.onload=()=>{t.width>8?this.card.classList.add("wide-strip"):t.width===8&&this.card.classList.add("thin-strip")}}};u(le,"variantStyle",Lo` + `}postCardUpdateHook(t){t.has("backgroundImage")&&this.styleBackgroundImage()}styleBackgroundImage(){if(this.card.classList.remove("thin-strip"),this.card.classList.remove("wide-strip"),!this.card.backgroundImage)return;let t=new Image;t.src=this.card.backgroundImage,t.onload=()=>{t.width>8?this.card.classList.add("wide-strip"):t.width===8&&this.card.classList.add("thin-strip")}}};p(me,"variantStyle",Oo` :host([variant='ccd-suggested']) { --consonant-merch-card-background-color: rgb(245, 245, 245); --consonant-merch-card-body-xs-color: rgb(75, 75, 75); @@ -1555,7 +1555,7 @@ merch-card[variant='twp'] merch-offer-select { :host([variant='ccd-suggested']) .top-section { align-items: center; } - `);import{html as Po,css as No}from"../lit-all.min.js";var kr=` + `);import{html as Mo,css as Io}from"../lit-all.min.js";var Dr=` merch-card[variant="ccd-slice"] [slot='image'] img { overflow: hidden; @@ -1575,7 +1575,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { --consonant-merch-card-border-color:rgb(48, 48, 48); --consonant-merch-card-detail-s-color:rgb(235, 235, 235); } -`;var Ro={mnemonics:{size:"m"},backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"S"},allowedSizes:["wide"]},he=class extends w{getGlobalCSS(){return kr}get aemFragmentMapping(){return Ro}renderLayout(){return Po`
+`;var ko={mnemonics:{size:"m"},backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"S"},allowedSizes:["wide"]},de=class extends S{getGlobalCSS(){return Dr}get aemFragmentMapping(){return ko}renderLayout(){return Mo`
${this.badge} @@ -1584,7 +1584,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link {
- `}};u(he,"variantStyle",No` + `}};p(de,"variantStyle",Io` :host([variant='ccd-slice']) { --consonant-merch-card-background-color: rgb(248, 248, 248); --consonant-merch-card-border-color: rgb(230, 230, 230); @@ -1687,7 +1687,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { align-items: center; gap: 8px; } - `);var yt=(e,t=!1)=>{switch(e.variant){case"catalog":return new re(e);case"image":return new ze(e);case"inline-heading":return new Fe(e);case"mini-compare-chart":return new oe(e);case"plans":return new ie(e);case"product":return new W(e);case"segment":return new ae(e);case"special-offers":return new se(e);case"twp":return new ce(e);case"ccd-suggested":return new le(e);case"ccd-slice":return new he(e);default:return t?void 0:new W(e)}},Br=()=>{let e=[];return e.push(re.variantStyle),e.push(oe.variantStyle),e.push(W.variantStyle),e.push(ie.variantStyle),e.push(ae.variantStyle),e.push(se.variantStyle),e.push(ce.variantStyle),e.push(le.variantStyle),e.push(he.variantStyle),e};var Dr=document.createElement("style");Dr.innerHTML=` + `);var Et=(e,t=!1)=>{switch(e.variant){case"catalog":return new oe(e);case"image":return new $e(e);case"inline-heading":return new Ve(e);case"mini-compare-chart":return new ae(e);case"plans":return new se(e);case"product":return new W(e);case"segment":return new ce(e);case"special-offers":return new le(e);case"twp":return new he(e);case"ccd-suggested":return new me(e);case"ccd-slice":return new de(e);default:return t?void 0:new W(e)}},Ur=()=>{let e=[];return e.push(oe.variantStyle),e.push(ae.variantStyle),e.push(W.variantStyle),e.push(se.variantStyle),e.push(ce.variantStyle),e.push(le.variantStyle),e.push(he.variantStyle),e.push(me.variantStyle),e.push(de.variantStyle),e};var Gr=document.createElement("style");Gr.innerHTML=` :root { --consonant-merch-card-detail-font-size: 12px; --consonant-merch-card-detail-font-weight: 500; @@ -2119,6 +2119,6 @@ body.merch-modal { height: 100vh; } -`;document.head.appendChild(Dr);var be;(function(e){e.V2="UCv2",e.V3="UCv3"})(be||(be={}));var ve;(function(e){e.CHECKOUT="checkout",e.CHECKOUT_EMAIL="checkout/email",e.SEGMENTATION="segmentation",e.BUNDLE="bundle",e.COMMITMENT="commitment",e.RECOMMENDATION="recommendation",e.EMAIL="email",e.PAYMENT="payment",e.CHANGE_PLAN_TEAM_PLANS="change-plan/team-upgrade/plans",e.CHANGE_PLAN_TEAM_PAYMENT="change-plan/team-upgrade/payment"})(ve||(ve={}));var Et;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(Et||(Et={}));var P;(function(e){e.MONTH="MONTH",e.YEAR="YEAR",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.PERPETUAL="PERPETUAL",e.TERM_LICENSE="TERM_LICENSE",e.ACCESS_PASS="ACCESS_PASS",e.THREE_MONTHS="THREE_MONTHS",e.SIX_MONTHS="SIX_MONTHS"})(P||(P={}));var _;(function(e){e.ANNUAL="ANNUAL",e.MONTHLY="MONTHLY",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.P1D="P1D",e.P1Y="P1Y",e.P3Y="P3Y",e.P10Y="P10Y",e.P15Y="P15Y",e.P3D="P3D",e.P7D="P7D",e.P30D="P30D",e.HALF_YEARLY="HALF_YEARLY",e.QUARTERLY="QUARTERLY"})(_||(_={}));var wt;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(wt||(wt={}));var St;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(St||(St={}));var At;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(At||(At={}));var Tt;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(Tt||(Tt={}));var Ur="tacocat.js";var Gr=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function me(e,t={},{metadata:r=!0,search:n=!0,storage:o=!0}={}){let i;if(n&&i==null){let a=new URLSearchParams(window.location.search),s=ye(n)?n:e;i=a.get(s)}if(o&&i==null){let a=ye(o)?o:e;i=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&i==null){let a=Oo(ye(r)?r:e);i=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return i??t[e]}var de=()=>{};var zr=e=>typeof e=="boolean",Ee=e=>typeof e=="function",_t=e=>typeof e=="number",Fr=e=>e!=null&&typeof e=="object";var ye=e=>typeof e=="string";var we=e=>_t(e)&&Number.isFinite(e)&&e>0;function O(e,t){if(zr(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function Oo(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}var Ho=Date.now(),Lt=()=>`(+${Date.now()-Ho}ms)`,Ve=new Set,Mo=O(me("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function $r(e){let t=`[${Ur}/${e}]`,r=(a,s,...c)=>a?!0:(o(s,...c),!1),n=Mo?(a,...s)=>{console.debug(`${t} ${a}`,...s,Lt())}:()=>{},o=(a,...s)=>{let c=`${t} ${a}`;Ve.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:o,warn:(a,...s)=>{let c=`${t} ${a}`;Ve.forEach(([,l])=>l(c,...s))}}}function Io(e,t){let r=[e,t];return Ve.add(r),()=>{Ve.delete(r)}}Io((e,...t)=>{console.error(e,...t,Lt())},(e,...t)=>{console.warn(e,...t,Lt())});var Vr="ABM",jr="PUF",Yr="M2M",Wr="PERPETUAL",qr="P3Y",ko="TAX_INCLUSIVE_DETAILS",Bo="TAX_EXCLUSIVE",Xr={ABM:Vr,PUF:jr,M2M:Yr,PERPETUAL:Wr,P3Y:qr},th={[Vr]:{commitment:P.YEAR,term:_.MONTHLY},[jr]:{commitment:P.YEAR,term:_.ANNUAL},[Yr]:{commitment:P.MONTH,term:_.MONTHLY},[Wr]:{commitment:P.PERPETUAL,term:void 0},[qr]:{commitment:P.THREE_MONTHS,term:_.P3Y}};function Ct(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:o,priceWithoutDiscountAndTax:i,taxDisplay:a}=t;if(a!==ko)return e;let s={...e,priceDetails:{...t,price:o??r,priceWithoutDiscount:i??n,taxDisplay:Bo}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var Pt=function(e,t){return Pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Pt(e,t)};function Se(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Pt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var b=function(){return b=Object.assign||function(t){for(var r,n=1,o=arguments.length;n0}),r=[],n=0,o=t;n1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(Go,function(c,l,h,f,p,g){if(l)t.minimumIntegerDigits=h.length;else{if(f&&p)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(an.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(en.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(en,function(c,l,h,f,p,g){return h==="*"?t.minimumFractionDigits=l.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:p&&g?(t.minimumFractionDigits=p.length,t.maximumFractionDigits=p.length+g.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var i=o.options[0];i==="w"?t=b(b({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=b(b({},t),tn(i)));continue}if(on.test(o.stem)){t=b(b({},t),tn(o.stem));continue}var a=sn(o.stem);a&&(t=b(b({},t),a));var s=zo(o.stem);s&&(t=b(b({},t),s))}return t}var Te={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function ln(e,t){for(var r="",n=0;n>1),c="a",l=Fo(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=c;for(;a-- >0;)r=l+r}else o==="J"?r+="H":r+=o}return r}function Fo(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var o=Te[n||""]||Te[r||""]||Te["".concat(r,"-001")]||Te["001"];return o[0]}var Ot,$o=new RegExp("^".concat(Rt.source,"*")),Vo=new RegExp("".concat(Rt.source,"*$"));function v(e,t){return{start:e,end:t}}var jo=!!String.prototype.startsWith,Yo=!!String.fromCodePoint,Wo=!!Object.fromEntries,qo=!!String.prototype.codePointAt,Xo=!!String.prototype.trimStart,Ko=!!String.prototype.trimEnd,Zo=!!Number.isSafeInteger,Qo=Zo?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Mt=!0;try{hn=pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Mt=((Ot=hn.exec("a"))===null||Ot===void 0?void 0:Ot[0])==="a"}catch{Mt=!1}var hn,mn=jo?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},It=Yo?String.fromCodePoint:function(){for(var t=[],r=0;ri;){if(a=t[i++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},dn=Wo?Object.fromEntries:function(t){for(var r={},n=0,o=t;n=n)){var o=t.charCodeAt(r),i;return o<55296||o>56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?o:(o-55296<<10)+(i-56320)+65536}},Jo=Xo?function(t){return t.trimStart()}:function(t){return t.replace($o,"")},ei=Ko?function(t){return t.trimEnd()}:function(t){return t.replace(Vo,"")};function pn(e,t){return new RegExp(e,t)}var kt;Mt?(Ht=pn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),kt=function(t,r){var n;Ht.lastIndex=r;var o=Ht.exec(t);return(n=o[1])!==null&&n!==void 0?n:""}):kt=function(t,r){for(var n=[];;){var o=un(t,r);if(o===void 0||gn(o)||ni(o))break;n.push(o),r+=o>=65536?2:1}return It.apply(void 0,n)};var Ht,fn=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var o=[];!this.isEOF();){var i=this.char();if(i===123){var a=this.parseArgument(t,n);if(a.err)return a;o.push(a.val)}else{if(i===125&&t>0)break;if(i===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),o.push({type:E.pound,location:v(s,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(x.UNMATCHED_CLOSING_TAG,v(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Bt(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;o.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;o.push(a.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:E.literal,value:"<".concat(o,"/>"),location:v(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,r,!0);if(i.err)return i;var a=i.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:E.tag,value:o,children:a,location:v(n,this.clonePosition())},err:null}:this.error(x.INVALID_TAG,v(s,this.clonePosition())))}else return this.error(x.UNCLOSED_TAG,v(n,this.clonePosition()))}else return this.error(x.INVALID_TAG,v(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ri(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),o="";;){var i=this.tryParseQuote(r);if(i){o+=i;continue}var a=this.tryParseUnquoted(t,r);if(a){o+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){o+=s;continue}break}var c=v(n,this.clonePosition());return{val:{type:E.literal,value:o,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ti(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return It.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),It(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(x.EMPTY_ARGUMENT,v(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(x.MALFORMED_ARGUMENT,v(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:E.argument,value:o,location:v(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,v(n,this.clonePosition())):this.parseArgumentOptions(t,r,o,n);default:return this.error(x.MALFORMED_ARGUMENT,v(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=kt(this.message,r),o=r+n.length;this.bumpTo(o);var i=this.clonePosition(),a=v(t,i);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,o){var i,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(x.EXPECT_ARGUMENT_TYPE,v(a,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var p=ei(f.val);if(p.length===0)return this.error(x.EXPECT_ARGUMENT_STYLE,v(this.clonePosition(),this.clonePosition()));var g=v(h,this.clonePosition());l={style:p,styleLocation:g}}var y=this.tryParseArgumentClose(o);if(y.err)return y;var S=v(o,this.clonePosition());if(l&&mn(l?.style,"::",0)){var H=Jo(l.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(H,l.styleLocation);return f.err?f:{val:{type:E.number,value:n,location:S,style:f.val},err:null}}else{if(H.length===0)return this.error(x.EXPECT_DATE_TIME_SKELETON,S);var G=H;this.locale&&(G=ln(H,this.locale));var p={type:q.dateTime,pattern:G,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Qr(G):{}},z=s==="date"?E.date:E.time;return{val:{type:z,value:n,location:S,style:p},err:null}}}return{val:{type:s==="number"?E.number:s==="date"?E.date:E.time,value:n,location:S,style:(i=l?.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var R=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS,v(R,b({},R)));this.bumpSpace();var j=this.parseIdentifierIfPossible(),D=0;if(s!=="select"&&j.value==="offset"){if(!this.bumpIf(":"))return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),j=this.parseIdentifierIfPossible(),D=f.val}var k=this.tryParsePluralOrSelectOptions(t,s,r,j);if(k.err)return k;var y=this.tryParseArgumentClose(o);if(y.err)return y;var Me=v(o,this.clonePosition());return s==="select"?{val:{type:E.select,value:n,options:dn(k.val),location:Me},err:null}:{val:{type:E.plural,value:n,options:dn(k.val),offset:D,pluralType:s==="plural"?"cardinal":"ordinal",location:Me},err:null}}default:return this.error(x.INVALID_ARGUMENT_TYPE,v(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,v(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,v(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=nn(t)}catch{return this.error(x.INVALID_NUMBER_SKELETON,r)}return{val:{type:q.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?cn(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,o){for(var i,a=!1,s=[],c=new Set,l=o.value,h=o.location;;){if(l.length===0){var f=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR,x.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;h=v(f,this.clonePosition()),l=this.message.slice(f.offset,this.offset())}else break}if(c.has(l))return this.error(r==="select"?x.DUPLICATE_SELECT_ARGUMENT_SELECTOR:x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(a=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,v(this.clonePosition(),this.clonePosition()));var y=this.parseMessage(t+1,r,n);if(y.err)return y;var S=this.tryParseArgumentClose(g);if(S.err)return S;s.push([l,{value:y.val,location:v(g,this.clonePosition())}]),c.add(l),this.bumpSpace(),i=this.parseIdentifierIfPossible(),l=i.value,h=i.location}return s.length===0?this.error(r==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR:x.EXPECT_PLURAL_ARGUMENT_SELECTOR,v(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(x.MISSING_OTHER_CLAUSE,v(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,a=a*10+(s-48),this.bump();else break}var c=v(o,this.clonePosition());return i?(a*=n,Qo(a)?{val:a,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=un(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(mn(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.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 r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&gn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function Bt(e){return e>=97&&e<=122||e>=65&&e<=90}function ti(e){return Bt(e)||e===47}function ri(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function gn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ni(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Dt(e){e.forEach(function(t){if(delete t.location,Xe(t)||Ke(t))for(var r in t.options)delete t.options[r].location,Dt(t.options[r].value);else Ye(t)&&Qe(t.style)||(We(t)||qe(t))&&Ae(t.style)?delete t.style.location:Ze(t)&&Dt(t.children)})}function xn(e,t){t===void 0&&(t={}),t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new fn(e,t).parse();if(r.err){var n=SyntaxError(x[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Dt(r.val),r.val}function _e(e,t){var r=t&&t.cache?t.cache:li,n=t&&t.serializer?t.serializer:ci,o=t&&t.strategy?t.strategy:ii;return o(e,{cache:r,serializer:n})}function oi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function bn(e,t,r,n){var o=oi(n)?n:r(n),i=t.get(o);return typeof i>"u"&&(i=e.call(this,n),t.set(o,i)),i}function vn(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return typeof i>"u"&&(i=e.apply(this,n),t.set(o,i)),i}function Ut(e,t,r,n,o){return r.bind(t,e,n,o)}function ii(e,t){var r=e.length===1?bn:vn;return Ut(e,this,r,t.cache.create(),t.serializer)}function ai(e,t){return Ut(e,this,vn,t.cache.create(),t.serializer)}function si(e,t){return Ut(e,this,bn,t.cache.create(),t.serializer)}var ci=function(){return JSON.stringify(arguments)};function Gt(){this.cache=Object.create(null)}Gt.prototype.get=function(e){return this.cache[e]};Gt.prototype.set=function(e,t){this.cache[e]=t};var li={create:function(){return new Gt}},Je={variadic:ai,monadic:si};var X;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(X||(X={}));var Le=function(e){Se(t,e);function t(r,n,o){var i=e.call(this,r)||this;return i.code=n,i.originalMessage=o,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var zt=function(e){Se(t,e);function t(r,n,o,i){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),X.INVALID_VALUE,i)||this}return t}(Le);var yn=function(e){Se(t,e);function t(r,n,o){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),X.INVALID_VALUE,o)||this}return t}(Le);var En=function(e){Se(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),X.MISSING_VALUE,n)||this}return t}(Le);var C;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(C||(C={}));function hi(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==C.literal||r.type!==C.literal?t.push(r):n.value+=r.value,t},[])}function mi(e){return typeof e=="function"}function Ce(e,t,r,n,o,i,a){if(e.length===1&&Nt(e[0]))return[{type:C.literal,value:e[0].value}];for(var s=[],c=0,l=e;c`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function ue(e,t={},{metadata:r=!0,search:n=!0,storage:o=!0}={}){let i;if(n&&i==null){let a=new URLSearchParams(window.location.search),s=Se(n)?n:e;i=a.get(s)}if(o&&i==null){let a=Se(o)?o:e;i=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&i==null){let a=Bo(Se(r)?r:e);i=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return i??t[e]}var pe=()=>{};var $r=e=>typeof e=="boolean",Ae=e=>typeof e=="function",Lt=e=>typeof e=="number",Vr=e=>e!=null&&typeof e=="object";var Se=e=>typeof e=="string";var Te=e=>Lt(e)&&Number.isFinite(e)&&e>0;function O(e,t){if($r(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function Bo(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}var Do=Date.now(),Ct=()=>`(+${Date.now()-Do}ms)`,Ye=new Set,Uo=O(ue("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function jr(e){let t=`[${zr}/${e}]`,r=(a,s,...c)=>a?!0:(o(s,...c),!1),n=Uo?(a,...s)=>{console.debug(`${t} ${a}`,...s,Ct())}:()=>{},o=(a,...s)=>{let c=`${t} ${a}`;Ye.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:o,warn:(a,...s)=>{let c=`${t} ${a}`;Ye.forEach(([,l])=>l(c,...s))}}}function Go(e,t){let r=[e,t];return Ye.add(r),()=>{Ye.delete(r)}}Go((e,...t)=>{console.error(e,...t,Ct())},(e,...t)=>{console.warn(e,...t,Ct())});var Yr="ABM",Wr="PUF",qr="M2M",Xr="PERPETUAL",Kr="P3Y",zo="TAX_INCLUSIVE_DETAILS",Fo="TAX_EXCLUSIVE",Zr={ABM:Yr,PUF:Wr,M2M:qr,PERPETUAL:Xr,P3Y:Kr},ah={[Yr]:{commitment:P.YEAR,term:_.MONTHLY},[Wr]:{commitment:P.YEAR,term:_.ANNUAL},[qr]:{commitment:P.MONTH,term:_.MONTHLY},[Xr]:{commitment:P.PERPETUAL,term:void 0},[Kr]:{commitment:P.THREE_MONTHS,term:_.P3Y}};function Pt(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:o,priceWithoutDiscountAndTax:i,taxDisplay:a}=t;if(a!==zo)return e;let s={...e,priceDetails:{...t,price:o??r,priceWithoutDiscount:i??n,taxDisplay:Fo}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var Nt=function(e,t){return Nt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},Nt(e,t)};function _e(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Nt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var v=function(){return v=Object.assign||function(t){for(var r,n=1,o=arguments.length;n0}),r=[],n=0,o=t;n1)throw new RangeError("integer-width stems only accept a single optional option");o.options[0].replace(jo,function(c,l,h,f,u,g){if(l)t.minimumIntegerDigits=h.length;else{if(f&&u)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(cn.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(rn.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(rn,function(c,l,h,f,u,g){return h==="*"?t.minimumFractionDigits=l.length:f&&f[0]==="#"?t.maximumFractionDigits=f.length:u&&g?(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length+g.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var i=o.options[0];i==="w"?t=v(v({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=v(v({},t),nn(i)));continue}if(sn.test(o.stem)){t=v(v({},t),nn(o.stem));continue}var a=ln(o.stem);a&&(t=v(v({},t),a));var s=Yo(o.stem);s&&(t=v(v({},t),s))}return t}var Ce={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function mn(e,t){for(var r="",n=0;n>1),c="a",l=Wo(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=c;for(;a-- >0;)r=l+r}else o==="J"?r+="H":r+=o}return r}function Wo(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var o=Ce[n||""]||Ce[r||""]||Ce["".concat(r,"-001")]||Ce["001"];return o[0]}var Ht,qo=new RegExp("^".concat(Ot.source,"*")),Xo=new RegExp("".concat(Ot.source,"*$"));function y(e,t){return{start:e,end:t}}var Ko=!!String.prototype.startsWith,Zo=!!String.fromCodePoint,Qo=!!Object.fromEntries,Jo=!!String.prototype.codePointAt,ei=!!String.prototype.trimStart,ti=!!String.prototype.trimEnd,ri=!!Number.isSafeInteger,ni=ri?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},It=!0;try{dn=gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),It=((Ht=dn.exec("a"))===null||Ht===void 0?void 0:Ht[0])==="a"}catch{It=!1}var dn,un=Ko?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},kt=Zo?String.fromCodePoint:function(){for(var t=[],r=0;ri;){if(a=t[i++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},pn=Qo?Object.fromEntries:function(t){for(var r={},n=0,o=t;n=n)){var o=t.charCodeAt(r),i;return o<55296||o>56319||r+1===n||(i=t.charCodeAt(r+1))<56320||i>57343?o:(o-55296<<10)+(i-56320)+65536}},oi=ei?function(t){return t.trimStart()}:function(t){return t.replace(qo,"")},ii=ti?function(t){return t.trimEnd()}:function(t){return t.replace(Xo,"")};function gn(e,t){return new RegExp(e,t)}var Bt;It?(Mt=gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Bt=function(t,r){var n;Mt.lastIndex=r;var o=Mt.exec(t);return(n=o[1])!==null&&n!==void 0?n:""}):Bt=function(t,r){for(var n=[];;){var o=fn(t,r);if(o===void 0||bn(o)||ci(o))break;n.push(o),r+=o>=65536?2:1}return kt.apply(void 0,n)};var Mt,xn=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var o=[];!this.isEOF();){var i=this.char();if(i===123){var a=this.parseArgument(t,n);if(a.err)return a;o.push(a.val)}else{if(i===125&&t>0)break;if(i===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),o.push({type:w.pound,location:y(s,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(x.UNMATCHED_CLOSING_TAG,y(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&Dt(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;o.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;o.push(a.val)}}}return{val:o,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var o=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:w.literal,value:"<".concat(o,"/>"),location:y(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,r,!0);if(i.err)return i;var a=i.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:w.tag,value:o,children:a,location:y(n,this.clonePosition())},err:null}:this.error(x.INVALID_TAG,y(s,this.clonePosition())))}else return this.error(x.UNCLOSED_TAG,y(n,this.clonePosition()))}else return this.error(x.INVALID_TAG,y(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&si(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),o="";;){var i=this.tryParseQuote(r);if(i){o+=i;continue}var a=this.tryParseUnquoted(t,r);if(a){o+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){o+=s;continue}break}var c=y(n,this.clonePosition());return{val:{type:w.literal,value:o,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ai(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return kt.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),kt(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(x.EMPTY_ARGUMENT,y(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(x.MALFORMED_ARGUMENT,y(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:w.argument,value:o,location:y(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition())):this.parseArgumentOptions(t,r,o,n);default:return this.error(x.MALFORMED_ARGUMENT,y(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Bt(this.message,r),o=r+n.length;this.bumpTo(o);var i=this.clonePosition(),a=y(t,i);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,o){var i,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(x.EXPECT_ARGUMENT_TYPE,y(a,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var u=ii(f.val);if(u.length===0)return this.error(x.EXPECT_ARGUMENT_STYLE,y(this.clonePosition(),this.clonePosition()));var g=y(h,this.clonePosition());l={style:u,styleLocation:g}}var b=this.tryParseArgumentClose(o);if(b.err)return b;var E=y(o,this.clonePosition());if(l&&un(l?.style,"::",0)){var R=oi(l.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(R,l.styleLocation);return f.err?f:{val:{type:w.number,value:n,location:E,style:f.val},err:null}}else{if(R.length===0)return this.error(x.EXPECT_DATE_TIME_SKELETON,E);var G=R;this.locale&&(G=mn(R,this.locale));var u={type:q.dateTime,pattern:G,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?en(G):{}},B=s==="date"?w.date:w.time;return{val:{type:B,value:n,location:E,style:u},err:null}}}return{val:{type:s==="number"?w.number:s==="date"?w.date:w.time,value:n,location:E,style:(i=l?.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var H=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS,y(H,v({},H)));this.bumpSpace();var V=this.parseIdentifierIfPossible(),D=0;if(s!=="select"&&V.value==="offset"){if(!this.bumpIf(":"))return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),V=this.parseIdentifierIfPossible(),D=f.val}var j=this.tryParsePluralOrSelectOptions(t,s,r,V);if(j.err)return j;var b=this.tryParseArgumentClose(o);if(b.err)return b;var ke=y(o,this.clonePosition());return s==="select"?{val:{type:w.select,value:n,options:pn(j.val),location:ke},err:null}:{val:{type:w.plural,value:n,options:pn(j.val),offset:D,pluralType:s==="plural"?"cardinal":"ordinal",location:ke},err:null}}default:return this.error(x.INVALID_ARGUMENT_TYPE,y(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE,y(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var o=this.clonePosition();if(!this.bumpUntil("'"))return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,y(o,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=an(t)}catch{return this.error(x.INVALID_NUMBER_SKELETON,r)}return{val:{type:q.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?hn(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,o){for(var i,a=!1,s=[],c=new Set,l=o.value,h=o.location;;){if(l.length===0){var f=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var u=this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_SELECTOR,x.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=y(f,this.clonePosition()),l=this.message.slice(f.offset,this.offset())}else break}if(c.has(l))return this.error(r==="select"?x.DUPLICATE_SELECT_ARGUMENT_SELECTOR:x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(a=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,y(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(t+1,r,n);if(b.err)return b;var E=this.tryParseArgumentClose(g);if(E.err)return E;s.push([l,{value:b.val,location:y(g,this.clonePosition())}]),c.add(l),this.bumpSpace(),i=this.parseIdentifierIfPossible(),l=i.value,h=i.location}return s.length===0?this.error(r==="select"?x.EXPECT_SELECT_ARGUMENT_SELECTOR:x.EXPECT_PLURAL_ARGUMENT_SELECTOR,y(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(x.MISSING_OTHER_CLAUSE,y(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,o=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,a=a*10+(s-48),this.bump();else break}var c=y(o,this.clonePosition());return i?(a*=n,ni(a)?{val:a,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=fn(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(un(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.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 r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&bn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function Dt(e){return e>=97&&e<=122||e>=65&&e<=90}function ai(e){return Dt(e)||e===47}function si(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function bn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ci(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ut(e){e.forEach(function(t){if(delete t.location,Ze(t)||Qe(t))for(var r in t.options)delete t.options[r].location,Ut(t.options[r].value);else qe(t)&&et(t.style)||(Xe(t)||Ke(t))&&Le(t.style)?delete t.style.location:Je(t)&&Ut(t.children)})}function vn(e,t){t===void 0&&(t={}),t=v({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new xn(e,t).parse();if(r.err){var n=SyntaxError(x[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Ut(r.val),r.val}function Pe(e,t){var r=t&&t.cache?t.cache:pi,n=t&&t.serializer?t.serializer:ui,o=t&&t.strategy?t.strategy:hi;return o(e,{cache:r,serializer:n})}function li(e){return e==null||typeof e=="number"||typeof e=="boolean"}function yn(e,t,r,n){var o=li(n)?n:r(n),i=t.get(o);return typeof i>"u"&&(i=e.call(this,n),t.set(o,i)),i}function En(e,t,r){var n=Array.prototype.slice.call(arguments,3),o=r(n),i=t.get(o);return typeof i>"u"&&(i=e.apply(this,n),t.set(o,i)),i}function Gt(e,t,r,n,o){return r.bind(t,e,n,o)}function hi(e,t){var r=e.length===1?yn:En;return Gt(e,this,r,t.cache.create(),t.serializer)}function mi(e,t){return Gt(e,this,En,t.cache.create(),t.serializer)}function di(e,t){return Gt(e,this,yn,t.cache.create(),t.serializer)}var ui=function(){return JSON.stringify(arguments)};function zt(){this.cache=Object.create(null)}zt.prototype.get=function(e){return this.cache[e]};zt.prototype.set=function(e,t){this.cache[e]=t};var pi={create:function(){return new zt}},tt={variadic:mi,monadic:di};var X;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(X||(X={}));var Ne=function(e){_e(t,e);function t(r,n,o){var i=e.call(this,r)||this;return i.code=n,i.originalMessage=o,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var Ft=function(e){_e(t,e);function t(r,n,o,i){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(o).join('", "'),'"'),X.INVALID_VALUE,i)||this}return t}(Ne);var wn=function(e){_e(t,e);function t(r,n,o){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),X.INVALID_VALUE,o)||this}return t}(Ne);var Sn=function(e){_e(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),X.MISSING_VALUE,n)||this}return t}(Ne);var C;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(C||(C={}));function fi(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==C.literal||r.type!==C.literal?t.push(r):n.value+=r.value,t},[])}function gi(e){return typeof e=="function"}function Re(e,t,r,n,o,i,a){if(e.length===1&&Rt(e[0]))return[{type:C.literal,value:e[0].value}];for(var s=[],c=0,l=e;c0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=xn,e.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"}}},e}();var Sn=wn;var fi=/[0-9\-+#]/,gi=/[^\d\-+#]/g;function An(e){return e.search(fi)}function xi(e="#.##"){let t={},r=e.length,n=An(e);t.prefix=n>0?e.substring(0,n):"";let o=An(e.split("").reverse().join("")),i=r-o,a=e.substring(i,i+1),s=i+(a==="."||a===","?1:0);t.suffix=o>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let c=t.mask.match(gi);return t.decimal=c&&c[c.length-1]||".",t.separator=c&&c[1]&&c[0]||",",c=t.mask.split(t.decimal),t.integer=c[0],t.fraction=c[1],t}function bi(e,t,r){let n=!1,o={value:e};e<0&&(n=!0,o.value=-o.value),o.sign=n?"-":"",o.value=Number(o.value).toFixed(t.fraction&&t.fraction.length),o.value=Number(o.value).toString();let i=t.fraction&&t.fraction.lastIndexOf("0"),[a="0",s=""]=o.value.split(".");return(!s||s&&s.length<=i)&&(s=i<0?"":(+("0."+s)).toFixed(i+1).replace("0.","")),o.integer=a,o.fraction=s,vi(o,t),(o.result==="0"||o.result==="")&&(n=!1,o.sign=""),!n&&t.maskHasPositiveSign?o.sign="+":n&&t.maskHasPositiveSign?o.sign="-":n&&(o.sign=r&&r.enforceMaskSign&&!t.maskHasNegativeSign?"":"-"),o}function vi(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),o=n&&n.indexOf("0");if(o>-1)for(;e.integer.length({accept:e,round:t}),Si=[$t(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),$t(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),$t(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Vt={[P.YEAR]:{[_.MONTHLY]:Pe.MONTH,[_.ANNUAL]:Pe.YEAR},[P.MONTH]:{[_.MONTHLY]:Pe.MONTH}},Ai=(e,t)=>e.indexOf(`'${t}'`)===0,Ti=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Rn(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Li(e)),r},_i=e=>{let t=Ci(e),r=Ai(e,t),n=e.replace(/'.*?'/,""),o=Cn.test(n)||Pn.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:o}},Nn=e=>e.replace(Cn,Ln).replace(Pn,Ln),Li=e=>e.match(/#(.?)#/)?.[1]===_n?Ei:_n,Ci=e=>e.match(/'(.*?)'/)?.[1]??"",Rn=e=>e.match(/0(.?)0/)?.[1]??"";function et({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},o,i=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=_i(e),l=r?Rn(e):"",h=Ti(e,r),f=r?2:0,p=i(t,{currencySymbol:a}),g=n?p.toLocaleString("hi-IN",{minimumFractionDigits:f,maximumFractionDigits:f}):Tn(h,p),y=r?g.lastIndexOf(l):g.length,S=g.substring(0,y),H=g.substring(y+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,g).replace(/SYMBOL/,a),currencySymbol:a,decimals:H,decimalsDelimiter:l,hasCurrencySpace:c,integer:S,isCurrencyFirst:s,recurrenceTerm:o}}var On=e=>{let{commitment:t,term:r,usePrecision:n}=e,o=wi[r]??1;return et(e,o>1?Pe.MONTH:Vt[t]?.[r],i=>{let a={divisor:o,price:i,usePrecision:n},{round:s}=Si.find(({accept:c})=>c(a));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(a)}`);return s(a)})},Hn=({commitment:e,term:t,...r})=>et(r,Vt[e]?.[t]),Mn=e=>{let{commitment:t,term:r}=e;return t===P.YEAR&&r===_.MONTHLY?et(e,Pe.YEAR,n=>n*12):et(e,Vt[t]?.[r])};var Pi={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},Ni=$r("ConsonantTemplates/price"),Ri=/<\/?[^>]+(>|$)/g,L={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},K={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Oi="TAX_EXCLUSIVE",Hi=e=>Fr(e)?Object.entries(e).filter(([,t])=>ye(t)||_t(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Gr(n)+'"'}`,""):"",N=(e,t,r,n=!1)=>`${n?Nn(t):t??""}`;function Mi(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:o,hasCurrencySpace:i,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},f={}){let p=N(L.currencySymbol,r),g=N(L.currencySpace,i?" ":""),y="";return s&&(y+=p+g),y+=N(L.integer,a),y+=N(L.decimalsDelimiter,o),y+=N(L.decimals,n),s||(y+=g+p),y+=N(L.recurrence,c,null,!0),y+=N(L.unitType,l,null,!0),y+=N(L.taxInclusivity,h,!0),N(e,y,{...f,"aria-label":t})}var I=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1}={})=>({country:n,displayFormatted:o=!0,displayRecurrence:i=!0,displayPerUnit:a=!1,displayTax:s=!1,language:c,literals:l={}}={},{commitment:h,offerSelectorIds:f,formatString:p,price:g,priceWithoutDiscount:y,taxDisplay:S,taxTerm:H,term:G,usePrecision:z}={},R={})=>{Object.entries({country:n,formatString:p,language:c,price:g}).forEach(([U,st])=>{if(st==null)throw new Error(`Argument "${U}" is missing for osi ${f?.toString()}, country ${n}, language ${c}`)});let j={...Pi,...l},D=`${c.toLowerCase()}-${n.toUpperCase()}`;function k(U,st){let ct=j[U];if(ct==null)return"";try{return new Sn(ct.replace(Ri,""),D).format(st)}catch{return Ni.error("Failed to format literal:",ct),""}}let Me=t&&y?y:g,tr=e?On:Hn;r&&(tr=Mn);let{accessiblePrice:oo,recurrenceTerm:ot,...rr}=tr({commitment:h,formatString:p,term:G,price:e?g:Me,usePrecision:z,isIndianPrice:n==="IN"}),J=oo,it="";if(O(i)&&ot){let U=k(K.recurrenceAriaLabel,{recurrenceTerm:ot});U&&(J+=" "+U),it=k(K.recurrenceLabel,{recurrenceTerm:ot})}let at="";if(O(a)){at=k(K.perUnitLabel,{perUnit:"LICENSE"});let U=k(K.perUnitAriaLabel,{perUnit:"LICENSE"});U&&(J+=" "+U)}let pe="";O(s)&&H&&(pe=k(S===Oi?K.taxExclusiveLabel:K.taxInclusiveLabel,{taxTerm:H}),pe&&(J+=" "+pe)),t&&(J=k(K.strikethroughAriaLabel,{strikethroughPrice:J}));let fe=L.container;if(e&&(fe+=" "+L.containerOptical),t&&(fe+=" "+L.containerStrikethrough),r&&(fe+=" "+L.containerAnnual),O(o))return Mi(fe,{...rr,accessibleLabel:J,recurrenceLabel:it,perUnitLabel:at,taxInclusivityLabel:pe},R);let{currencySymbol:nr,decimals:io,decimalsDelimiter:ao,hasCurrencySpace:or,integer:so,isCurrencyFirst:co}=rr,ee=[so,ao,io];co?(ee.unshift(or?"\xA0":""),ee.unshift(nr)):(ee.push(or?"\xA0":""),ee.push(nr)),ee.push(it,at,pe);let lo=ee.join("");return N(fe,lo,R)},In=()=>(e,t,r)=>{let o=(e.displayOldPrice===void 0||O(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${I()(e,t,r)}${o?" "+I({displayStrikethrough:!0})(e,t,r):""}`},kn=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||O(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?I({displayStrikethrough:!0})(n,t,r)+" ":""}${I()(e,t,r)}${N(L.containerAnnualPrefix," (")}${I({displayAnnual:!0})(n,t,r)}${N(L.containerAnnualSuffix,")")}`},Bn=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${I()(e,t,r)}${N(L.containerAnnualPrefix," (")}${I({displayAnnual:!0})(n,t,r)}${N(L.containerAnnualSuffix,")")}`};var Ii=I(),ki=In(),Bi=I({displayOptical:!0}),Di=I({displayStrikethrough:!0}),Ui=I({displayAnnual:!0}),Gi=Bn(),zi=kn();var Fi=(e,t)=>{if(!(!we(e)||!we(t)))return Math.floor((t-e)/t*100)},Dn=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,o=Fi(r,n);return o===void 0?'':`${o}%`};var $i=Dn();var{freeze:Ne}=Object,jt=Ne({...be}),Yt=Ne({...ve}),Wt={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},dd=Ne({...P}),ud=Ne({...Xr}),pd=Ne({..._});var Gn="mas-commerce-service";function zn(e,{once:t=!1}={}){let r=null;function n(){let o=document.querySelector(Gn);o!==r&&(r=o,o&&e(o))}return document.addEventListener(dt,n,{once:t}),Re(n),()=>document.removeEventListener(dt,n)}function Fn(e,{country:t,forceTaxExclusive:r,perpetual:n}){let o;if(e.length<2)o=e;else{let i=t==="GB"||n?"EN":"MULT",[a,s]=e;o=[a.language===i?a:s]}return r&&(o=o.map(Ct)),o}var Re=e=>window.setTimeout(e);function Z(){return document.getElementsByTagName(Gn)?.[0]}var Q={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},$n=1e3,Vn=new Set;function Yi(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function jn(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:o,status:i}=e;return[n,i,o].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!Q.serializableTypes.includes(r))return r}return e}function Wi(e,t){if(!Q.ignoredProperties.includes(e))return jn(t)}var qt={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],o=[],i=t;r.forEach(l=>{l!=null&&(Yi(l)?n:o).push(l)}),n.length&&(i+=" "+n.map(jn).join(" "));let{pathname:a,search:s}=window.location,c=`${Q.delimiter}page=${a}${s}`;c.length>$n&&(c=`${c.slice(0,$n)}`),i+=c,o.length&&(i+=`${Q.delimiter}facts=`,i+=JSON.stringify(o,Wi)),Vn.has(i)||(Vn.add(i),window.lana?.log(i,Q))}};function Yn(e){Object.assign(Q,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in Q&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var qi=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:jt.V3,checkoutWorkflowStep:Yt.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:Wt.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsBufferDelay:1,wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:ft.PUBLISHED,wcsBufferLimit:1});var Xt=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});var Kt={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Xi=Date.now(),Zt=new Set,Qt=new Set,Wn=new Map,qn={append({level:e,message:t,params:r,timestamp:n,source:o}){console[e](`${n}ms [${o}] %c${t}`,"font-weight: bold;",...r)}},Xn={filter:({level:e})=>e!==Kt.DEBUG},Ki={filter:()=>!1};function Zi(e,t,r,n,o){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Ee(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:o,timestamp:Date.now()-Xi}}function Qi(e){[...Qt].every(t=>t(e))&&Zt.forEach(t=>t(e))}function Kn(e){let t=(Wn.get(e)??0)+1;Wn.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:o=>Kn(`${n.namespace}/${o}`),updateConfig:Yn};return Object.values(Kt).forEach(o=>{n[o]=(i,...a)=>Qi(Zi(o,i,e,a,r))}),Object.seal(n)}function tt(...e){e.forEach(t=>{let{append:r,filter:n}=t;Ee(n)&&Qt.add(n),Ee(r)&&Zt.add(r)})}function Ji(e={}){let{name:t}=e,r=O(me("commerce.debug",{search:!0,storage:!0}),t===Xt.LOCAL);return tt(r?qn:Xn),t===Xt.PROD&&tt(qt),Jt}function ea(){Zt.clear(),Qt.clear()}var Jt={...Kn(Sr),Level:Kt,Plugins:{consoleAppender:qn,debugFilter:Xn,quietFilter:Ki,lanaAppender:qt},init:Ji,reset:ea,use:tt};var ta={[$]:br,[Y]:vr,[V]:yr},ra={[$]:Er,[V]:wr},rt=class{constructor(t){u(this,"changes",new Map);u(this,"connected",!1);u(this,"dispose",de);u(this,"error");u(this,"log");u(this,"options");u(this,"promises",[]);u(this,"state",Y);u(this,"timer",null);u(this,"value");u(this,"version",0);u(this,"wrapperElement");this.wrapperElement=t}update(){[$,Y,V].forEach(t=>{this.wrapperElement.classList.toggle(ta[t],t===this.state)})}notify(){(this.state===V||this.state===$)&&(this.state===V?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===$&&this.promises.forEach(({reject:t})=>t(this.error)),this.promises=[]),this.wrapperElement.dispatchEvent(new CustomEvent(ra[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=zn(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=de}onceSettled(){let{error:t,promises:r,state:n}=this;return V===n?Promise.resolve(this.wrapperElement):$===n?Promise.reject(t):new Promise((o,i)=>{r.push({resolve:o,reject:i})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=V,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),Re(()=>this.notify()),!0)}toggleFailed(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.error=r,this.state=$,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),Re(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=Y,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!Z()||this.timer)return;let r=Jt.module("mas-element"),{error:n,options:o,state:i,value:a,version:s}=this;this.state=Y,this.timer=Re(async()=>{this.timer=null;let c=null;if(this.changes.size&&(c=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:c}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:c})),c||t)try{await this.wrapperElement.render?.()===!1&&this.state===Y&&this.version===s&&(this.state=i,this.error=n,this.value=a,this.update(),this.notify())}catch(l){r.error("Failed to render mas-element: ",l),this.toggleFailed(this.version,l,o)}})}};function Zn(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function Qn(e,t={}){let{tag:r,is:n}=e,o=document.createElement(r,{is:n});return o.setAttribute("is",n),Object.assign(o.dataset,Zn(t)),o}function Jn(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,Zn(t)),e):null}var na="download",oa="upgrade";function eo(e,t={},r=""){let n=Z();if(!n)return null;let{checkoutMarketSegment:o,checkoutWorkflow:i,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:f,quantity:p,wcsOsi:g,extraOptions:y}=n.collectCheckoutOptions(t),S=Qn(e,{checkoutMarketSegment:o,checkoutWorkflow:i,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:f,quantity:p,wcsOsi:g,extraOptions:y});return r&&(S.innerHTML=`${r}`),S}function to(e){return class extends e{constructor(){super(...arguments);u(this,"checkoutActionHandler");u(this,"masElement",new rt(this))}attributeChangedCallback(n,o,i){this.masElement.attributeChangedCallback(n,o,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){if(!this.isConnected)return!1;let o=Z();if(!o)return!1;this.dataset.imsCountry||o.imsCountryPromise.then(f=>{f&&(this.dataset.imsCountry=f)},de),n.imsCountry=null;let i=o.collectCheckoutOptions(n,this);if(!i.wcsOsi.length)return!1;let a;try{a=JSON.parse(i.extraOptions??"{}")}catch(f){this.masElement.log?.error("cannot parse exta checkout options",f)}let s=this.masElement.togglePending(i);this.setCheckoutUrl("");let c=o.resolveOfferSelectors(i),l=await Promise.all(c);l=l.map(f=>Fn(f,i)),i.country=this.dataset.imsCountry||i.country;let h=await o.buildCheckoutAction?.(l.flat(),{...a,...i},this);return this.renderOffers(l.flat(),i,{},h,s)}renderOffers(n,o,i={},a=void 0,s=void 0){if(!this.isConnected)return!1;let c=Z();if(!c)return!1;if(o={...JSON.parse(this.dataset.extraOptions??"null"),...o,...i},s??(s=this.masElement.togglePending(o)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0),a){this.classList.remove(na,oa),this.masElement.toggleResolved(s,n,o);let{url:h,text:f,className:p,handler:g}=a;return h&&this.setCheckoutUrl(h),f&&(this.firstElementChild.innerHTML=f),p&&this.classList.add(...p.split(" ")),g&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=g.bind(this)),!0}else if(n.length){if(this.masElement.toggleResolved(s,n,o)){let h=c.buildCheckoutURL(n,o);return this.setCheckoutUrl(h),!0}}else{let h=new Error(`Not provided: ${o?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,h,o))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let o=Z();if(!o)return!1;let{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:f,promotionCode:p,quantity:g,wcsOsi:y}=o.collectCheckoutOptions(n);return Jn(this,{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:f,promotionCode:p,quantity:g,wcsOsi:y}),!0}}}var Oe=class Oe extends to(HTMLButtonElement){static createCheckoutButton(t={},r=""){return eo(Oe,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};u(Oe,"is","checkout-button"),u(Oe,"tag","button");var ue=Oe;window.customElements.get(ue.is)||window.customElements.define(ue.is,ue,{extends:ue.tag});var ia="#000000",aa="#F8D904",sa=/(accent|primary|secondary)(-(outline|link))?/,ca="mas:product_code/",la="daa-ll",nt="daa-lh",ha=["XL","L","M","S"];function ma(e,t,r){e.mnemonicIcon?.map((o,i)=>({icon:o,alt:e.mnemonicAlt[i]??"",link:e.mnemonicLink[i]??""}))?.forEach(({icon:o,alt:i,link:a})=>{if(a&&!/^https?:/.test(a))try{a=new URL(`https://${a}`).href.toString()}catch{a="#"}let s={slot:"icons",src:o,size:r?.size??"l"};i&&(s.alt=i),a&&(s.href=a);let c=B("merch-icon",s);t.append(c)})}function da(e,t){e.badge&&(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||ia),t.setAttribute("badge-background-color",e.badgeBackgroundColor||aa))}function ua(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function pa(e,t,r){e.cardTitle&&r&&t.append(B(r.tag,{slot:r.slot},e.cardTitle))}function fa(e,t,r){e.subtitle&&r&&t.append(B(r.tag,{slot:r.slot},e.subtitle))}function ga(e,t,r){if(r?.tag&&e.backgroundImage){let n={loading:"lazy",src:e.backgroundImage};e.backgroundImageAltText?n.alt=e.backgroundImageAltText:n.role="none",t.append(B(r.tag,{slot:r.slot},B("img",n)))}r?.attribute&&t.setAttribute(r.attribute,e.backgroundImage)}function xa(e,t,r){if(e.prices&&r){let n=B(r.tag,{slot:r.slot},e.prices);t.append(n)}}function ba(e,t,r){if(e.description&&r){let n=B(r.tag,{slot:r.slot},e.description);t.append(n)}}function va(e,t,r,n){let i=customElements.get("checkout-button").createCheckoutButton({},e.innerHTML);i.setAttribute("tabindex",0);for(let h of e.attributes)["class","is"].includes(h.name)||i.setAttribute(h.name,h.value);i.firstElementChild?.classList.add("spectrum-Button-label");let a=t.ctas.size??"M",s=`spectrum-Button--${n}`,c=ha.includes(a)?`spectrum-Button--size${a}`:"spectrum-Button--sizeM",l=["spectrum-Button",s,c];return r&&l.push("spectrum-Button--outline"),i.classList.add(...l),i}function ya(e,t,r,n){let o="fill";r&&(o="outline");let i=B("sp-button",{treatment:o,variant:n,tabIndex:0,size:t.ctas.size??"m"},e);return i.addEventListener("click",a=>{a.target!==e&&(a.stopPropagation(),e.click())}),i}function Ea(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function wa(e,t,r,n){if(e.ctas){let{slot:o}=r.ctas,i=B("div",{slot:o},e.ctas),a=[...i.querySelectorAll("a")].map(s=>{let c=s.parentElement.tagName==="STRONG";if(t.consonant)return Ea(s,c);let l=sa.exec(s.className)?.[0]??"accent",h=l.includes("accent"),f=l.includes("primary"),p=l.includes("secondary"),g=l.includes("-outline");if(l.includes("-link"))return s;let S;return h||c?S="accent":f?S="primary":p&&(S="secondary"),t.spectrum==="swc"?ya(s,r,g,S):va(s,r,g,S)});i.innerHTML="",i.append(...a),t.append(i)}}function Sa(e,t){let{tags:r}=e,n=r?.find(o=>o.startsWith(ca))?.split("/").pop();n&&(t.setAttribute(nt,n),t.querySelectorAll("a[data-analytics-id],button[data-analytics-id]").forEach((o,i)=>{o.setAttribute(la,`${o.dataset.analyticsId}-${i+1}`)}))}function Aa(e){e.spectrum==="css"&&[["primary-link","primary"],["secondary-link","secondary"]].forEach(([t,r])=>{e.querySelectorAll(`a.${t}`).forEach(n=>{n.classList.remove(t),n.classList.add("spectrum-Link",`spectrum-Link--${r}`)})})}async function ro(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;t.id=e.id,t.querySelectorAll("[slot]").forEach(i=>{i.remove()}),t.removeAttribute("background-image"),t.removeAttribute("badge-background-color"),t.removeAttribute("badge-color"),t.removeAttribute("badge-text"),t.removeAttribute("size"),t.classList.remove("wide-strip"),t.classList.remove("thin-strip"),t.removeAttribute(nt),t.variant=n,await t.updateComplete;let{aemFragmentMapping:o}=t.variantLayout;o&&(ma(r,t,o.mnemonics),da(r,t),ua(r,t,o.allowedSizes),pa(r,t,o.title),fa(r,t,o.subtitle),xa(r,t,o.prices),ga(r,t,o.backgroundImage,n),ba(r,t,o.description),wa(r,t,o,n),Sa(r,t),Aa(t))}var _a="merch-card",La=":start",Ca=":ready",Pa=1e4,no="merch-card:",He,er,d=class extends Ta{constructor(){super();Ie(this,He);u(this,"customerSegment");u(this,"marketSegment");u(this,"variantLayout");this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}firstUpdated(){this.variantLayout=yt(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=yt(this),this.variantLayout.connectedCallbackHook())}updated(r){(r.has("badgeBackgroundColor")||r.has("borderColor"))&&this.style.setProperty("--consonant-merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(r)}get theme(){return this.closest("sp-theme")}get dir(){return this.closest("[dir]")?.getAttribute("dir")??"ltr"}get prices(){return Array.from(this.querySelectorAll('span[is="inline-price"][data-wcs-osi]'))}render(){if(!(!this.isConnected||!this.variantLayout||this.style.display==="none"))return this.variantLayout.renderLayout()}get computedBorderStyle(){return["twp","ccd-slice","ccd-suggested"].includes(this.variant)?"":`1px solid ${this.borderColor?this.borderColor:this.badgeBackgroundColor}`}get badgeElement(){return this.shadowRoot.getElementById("badge")}get headingmMSlot(){return this.shadowRoot.querySelector('slot[name="heading-m"]').assignedElements()[0]}get footerSlot(){return this.shadowRoot.querySelector('slot[name="footer"]')?.assignedElements()[0]}get price(){return this.headingmMSlot?.querySelector('span[is="inline-price"]')}get checkoutLinks(){return[...this.footerSlot?.querySelectorAll('a[is="checkout-link"]')??[]]}async toggleStockOffer({target:r}){if(!this.stockOfferOsis)return;let n=this.checkoutLinks;if(n.length!==0)for(let o of n){await o.onceSettled();let i=o.value?.[0]?.planType;if(!i)return;let a=this.stockOfferOsis[i];if(!a)return;let s=o.dataset.wcsOsi.split(",").filter(c=>c!==a);r.checked&&s.push(a),o.dataset.wcsOsi=s.join(",")}}handleQuantitySelection(r){let n=this.checkoutLinks;for(let o of n)o.dataset.quantity=r.detail.option}get titleElement(){return this.querySelector(this.variantLayout?.headingSelector||".card-heading")}get title(){return this.titleElement?.textContent?.trim()}get description(){return this.querySelector('[slot="body-xs"]')?.textContent?.trim()}updateFilters(r){let n={...this.filters};Object.keys(n).forEach(o=>{if(r){n[o].order=Math.min(n[o].order||2,2);return}let i=n[o].order;i===1||isNaN(i)||(n[o].order=Number(i)+1)}),this.filters=n}includes(r){return this.textContent.match(new RegExp(r,"i"))!==null}connectedCallback(){super.connectedCallback();let r=this.querySelector("aem-fragment")?.getAttribute("fragment");performance.mark(`${no}${r}${La}`),this.addEventListener(pt,this.handleQuantitySelection),this.addEventListener(ur,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(Ge,this.handleAemFragmentEvents),this.addEventListener(Ue,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(pt,this.handleQuantitySelection),this.storageOptions?.removeEventListener(ut,this.handleStorageChange),this.removeEventListener(Ge,this.handleAemFragmentEvents),this.removeEventListener(Ue,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===Ge&&mt(this,He,er).call(this,"AEM fragment cannot be loaded"),r.type===Ue&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await ro(n,this),this.checkReady()}}async checkReady(){let r=Promise.all([...this.querySelectorAll('span[is="inline-price"][data-wcs-osi],a[is="checkout-link"][data-wcs-osi]')].map(i=>i.onceSettled().catch(()=>i))).then(i=>i.every(a=>a.classList.contains("placeholder-resolved"))),n=new Promise(i=>setTimeout(()=>i(!1),Pa));if(await Promise.race([r,n])===!0){performance.mark(`${no}${this.id}${Ca}`),this.dispatchEvent(new CustomEvent(gr,{bubbles:!0,composed:!0}));return}mt(this,He,er).call(this,"Contains unresolved offers")}get aemFragment(){return this.querySelector("aem-fragment")}get storageOptions(){return this.querySelector("sp-radio-group#storage")}get storageSpecificOfferSelect(){let r=this.storageOptions?.selected;if(r){let n=this.querySelector(`merch-offer-select[storage="${r}"]`);if(n)return n}return this.querySelector("merch-offer-select")}get offerSelect(){return this.storageOptions?this.storageSpecificOfferSelect:this.querySelector("merch-offer-select")}get quantitySelect(){return this.querySelector("merch-quantity-select")}displayFooterElementsInColumn(){if(!this.classList.contains("product"))return;let r=this.shadowRoot.querySelector(".secure-transaction-label");(this.footerSlot?.querySelectorAll('a[is="checkout-link"].con-button')).length===2&&r&&r.parentElement.classList.add("footer-column")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||(this.dispatchEvent(new CustomEvent(pr,{bubbles:!0})),this.displayFooterElementsInColumn())}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(ut,{detail:{offerSelect:r},bubbles:!0}))}get dynamicPrice(){return this.querySelector('[slot="price"]')}selectMerchOffer(r){if(r===this.merchOffer)return;this.merchOffer=r;let n=this.dynamicPrice;if(r.price&&n){let o=r.price.cloneNode(!0);n.onceSettled?n.onceSettled().then(()=>{n.replaceWith(o)}):n.replaceWith(o)}}};He=new WeakSet,er=function(r){this.dispatchEvent(new CustomEvent(xr,{detail:r,bubbles:!0,composed:!0}))},u(d,"properties",{name:{type:String,attribute:"name",reflect:!0},variant:{type:String,reflect:!0},size:{type:String,attribute:"size",reflect:!0},badgeColor:{type:String,attribute:"badge-color",reflect:!0},borderColor:{type:String,attribute:"border-color",reflect:!0},badgeBackgroundColor:{type:String,attribute:"badge-background-color",reflect:!0},backgroundImage:{type:String,attribute:"background-image",reflect:!0},badgeText:{type:String,attribute:"badge-text"},actionMenu:{type:Boolean,attribute:"action-menu"},customHr:{type:Boolean,attribute:"custom-hr"},consonant:{type:Boolean,attribute:"consonant"},spectrum:{type:String,attribute:"spectrum"},detailBg:{type:String,attribute:"detail-bg"},secureLabel:{type:String,attribute:"secure-label"},checkboxLabel:{type:String,attribute:"checkbox-label"},selected:{type:Boolean,attribute:"aria-selected",reflect:!0},storageOption:{type:String,attribute:"storage",reflect:!0},stockOfferOsis:{type:Object,attribute:"stock-offer-osis",converter:{fromAttribute:r=>{let[n,o,i]=r.split(",");return{PUF:n,ABM:o,M2M:i}}}},filters:{type:String,reflect:!0,converter:{fromAttribute:r=>Object.fromEntries(r.split(",").map(n=>{let[o,i,a]=n.split(":"),s=Number(i);return[o,{order:isNaN(s)?void 0:s,size:a}]})),toAttribute:r=>Object.entries(r).map(([n,{order:o,size:i}])=>[n,o,i].filter(a=>a!=null).join(":")).join(",")}},types:{type:String,attribute:"types",reflect:!0},merchOffer:{type:Object},analyticsId:{type:String,attribute:nt,reflect:!0}}),u(d,"styles",[hr,Br(),...mr()]);customElements.define(_a,d); +`,X.MISSING_INTL_API,a);var V=r.getPluralRules(t,{type:h.pluralType}).select(u-(h.offset||0));H=h.options[V]||h.options.other}if(!H)throw new Ft(h.value,u,Object.keys(h.options),a);s.push.apply(s,Re(H.value,t,r,n,o,u-(h.offset||0)));continue}}return fi(s)}function xi(e,t){return t?v(v(v({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=v(v({},e[n]),t[n]||{}),r},{})):e}function bi(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=xi(e[n],t[n]),r},v({},e)):e}function $t(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function vi(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Pe(function(){for(var t,r=[],n=0;n0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=vn,e.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"}}},e}();var Tn=An;var yi=/[0-9\-+#]/,Ei=/[^\d\-+#]/g;function _n(e){return e.search(yi)}function wi(e="#.##"){let t={},r=e.length,n=_n(e);t.prefix=n>0?e.substring(0,n):"";let o=_n(e.split("").reverse().join("")),i=r-o,a=e.substring(i,i+1),s=i+(a==="."||a===","?1:0);t.suffix=o>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let c=t.mask.match(Ei);return t.decimal=c&&c[c.length-1]||".",t.separator=c&&c[1]&&c[0]||",",c=t.mask.split(t.decimal),t.integer=c[0],t.fraction=c[1],t}function Si(e,t,r){let n=!1,o={value:e};e<0&&(n=!0,o.value=-o.value),o.sign=n?"-":"",o.value=Number(o.value).toFixed(t.fraction&&t.fraction.length),o.value=Number(o.value).toString();let i=t.fraction&&t.fraction.lastIndexOf("0"),[a="0",s=""]=o.value.split(".");return(!s||s&&s.length<=i)&&(s=i<0?"":(+("0."+s)).toFixed(i+1).replace("0.","")),o.integer=a,o.fraction=s,Ai(o,t),(o.result==="0"||o.result==="")&&(n=!1,o.sign=""),!n&&t.maskHasPositiveSign?o.sign="+":n&&t.maskHasPositiveSign?o.sign="-":n&&(o.sign=r&&r.enforceMaskSign&&!t.maskHasNegativeSign?"":"-"),o}function Ai(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),o=n&&n.indexOf("0");if(o>-1)for(;e.integer.lengthe*12,On=(e,t)=>{let{start:r,end:n,displaySummary:{amount:o,duration:i,minProductQuantity:a,outcomeType:s}={}}=e;if(!(o&&i&&s&&a))return!1;let c=t?new Date(t):new Date;if(!r||!n)return!1;let l=new Date(r),h=new Date(n);return c>=l&&c<=h},K={MONTH:"MONTH",YEAR:"YEAR"},Li={[_.ANNUAL]:12,[_.MONTHLY]:1,[_.THREE_YEARS]:36,[_.TWO_YEARS]:24},jt=(e,t)=>({accept:e,round:t}),Ci=[jt(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),jt(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),jt(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Yt={[P.YEAR]:{[_.MONTHLY]:K.MONTH,[_.ANNUAL]:K.YEAR},[P.MONTH]:{[_.MONTHLY]:K.MONTH}},Pi=(e,t)=>e.indexOf(`'${t}'`)===0,Ni=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Mn(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Oi(e)),r},Ri=e=>{let t=Hi(e),r=Pi(e,t),n=e.replace(/'.*?'/,""),o=Nn.test(n)||Rn.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:o}},Hn=e=>e.replace(Nn,Pn).replace(Rn,Pn),Oi=e=>e.match(/#(.?)#/)?.[1]===Cn?_i:Cn,Hi=e=>e.match(/'(.*?)'/)?.[1]??"",Mn=e=>e.match(/0(.?)0/)?.[1]??"";function fe({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},o,i=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=Ri(e),l=r?Mn(e):"",h=Ni(e,r),f=r?2:0,u=i(t,{currencySymbol:a}),g=n?u.toLocaleString("hi-IN",{minimumFractionDigits:f,maximumFractionDigits:f}):Ln(h,u),b=r?g.lastIndexOf(l):g.length,E=g.substring(0,b),R=g.substring(b+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,g).replace(/SYMBOL/,a),currencySymbol:a,decimals:R,decimalsDelimiter:l,hasCurrencySpace:c,integer:E,isCurrencyFirst:s,recurrenceTerm:o}}var In=e=>{let{commitment:t,term:r,usePrecision:n}=e,o=Li[r]??1;return fe(e,o>1?K.MONTH:Yt[t]?.[r],i=>{let a={divisor:o,price:i,usePrecision:n},{round:s}=Ci.find(({accept:c})=>c(a));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(a)}`);return s(a)})},kn=({commitment:e,term:t,...r})=>fe(r,Yt[e]?.[t]),Bn=e=>{let{commitment:t,instant:r,price:n,originalPrice:o,priceWithoutDiscount:i,promotion:a,quantity:s=1,term:c}=e;if(t===P.YEAR&&c===_.MONTHLY){if(!a)return fe(e,K.YEAR,Vt);let{displaySummary:{outcomeType:l,duration:h,minProductQuantity:f=1}={}}=a;switch(l){case"PERCENTAGE_DISCOUNT":if(s>=f&&On(a,r)){let u=parseInt(h.replace("P","").replace("M",""));if(isNaN(u))return Vt(n);let g=s*o*u,b=s*i*(12-u),E=Math.floor((g+b)*100)/100;return fe({...e,price:E},K.YEAR)}default:return fe(e,K.YEAR,()=>Vt(i??n))}}return fe(e,Yt[t]?.[c])};var Mi={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},Ii=jr("ConsonantTemplates/price"),ki=/<\/?[^>]+(>|$)/g,L={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},Z={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Bi="TAX_EXCLUSIVE",Di=e=>Vr(e)?Object.entries(e).filter(([,t])=>Se(t)||Lt(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Fr(n)+'"'}`,""):"",N=(e,t,r,n=!1)=>`${n?Hn(t):t??""}`;function Ui(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:o,hasCurrencySpace:i,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},f={}){let u=N(L.currencySymbol,r),g=N(L.currencySpace,i?" ":""),b="";return s&&(b+=u+g),b+=N(L.integer,a),b+=N(L.decimalsDelimiter,o),b+=N(L.decimals,n),s||(b+=g+u),b+=N(L.recurrence,c,null,!0),b+=N(L.unitType,l,null,!0),b+=N(L.taxInclusivity,h,!0),N(e,b,{...f,"aria-label":t})}var I=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1,instant:n=void 0}={})=>({country:o,displayFormatted:i=!0,displayRecurrence:a=!0,displayPerUnit:s=!1,displayTax:c=!1,language:l,literals:h={},quantity:f=1}={},{commitment:u,offerSelectorIds:g,formatString:b,price:E,priceWithoutDiscount:R,taxDisplay:G,taxTerm:B,term:H,usePrecision:V,promotion:D}={},j={})=>{Object.entries({country:o,formatString:b,language:l,price:E}).forEach(([U,ct])=>{if(ct==null)throw new Error(`Argument "${U}" is missing for osi ${g?.toString()}, country ${o}, language ${l}`)});let ke={...Mi,...h},so=`${l.toLowerCase()}-${o.toUpperCase()}`;function ee(U,ct){let lt=ke[U];if(lt==null)return"";try{return new Tn(lt.replace(ki,""),so).format(ct)}catch{return Ii.error("Failed to format literal:",lt),""}}let co=t&&R?R:E,nr=e?In:kn;r&&(nr=Bn);let{accessiblePrice:lo,recurrenceTerm:it,...or}=nr({commitment:u,formatString:b,instant:n,isIndianPrice:o==="IN",originalPrice:E,priceWithoutDiscount:R,price:e?E:co,promotion:D,quantity:f,term:H,usePrecision:V}),te=lo,at="";if(O(a)&&it){let U=ee(Z.recurrenceAriaLabel,{recurrenceTerm:it});U&&(te+=" "+U),at=ee(Z.recurrenceLabel,{recurrenceTerm:it})}let st="";if(O(s)){st=ee(Z.perUnitLabel,{perUnit:"LICENSE"});let U=ee(Z.perUnitAriaLabel,{perUnit:"LICENSE"});U&&(te+=" "+U)}let xe="";O(c)&&B&&(xe=ee(G===Bi?Z.taxExclusiveLabel:Z.taxInclusiveLabel,{taxTerm:B}),xe&&(te+=" "+xe)),t&&(te=ee(Z.strikethroughAriaLabel,{strikethroughPrice:te}));let be=L.container;if(e&&(be+=" "+L.containerOptical),t&&(be+=" "+L.containerStrikethrough),r&&(be+=" "+L.containerAnnual),O(i))return Ui(be,{...or,accessibleLabel:te,recurrenceLabel:at,perUnitLabel:st,taxInclusivityLabel:xe},j);let{currencySymbol:ir,decimals:ho,decimalsDelimiter:mo,hasCurrencySpace:ar,integer:uo,isCurrencyFirst:po}=or,re=[uo,mo,ho];po?(re.unshift(ar?"\xA0":""),re.unshift(ir)):(re.push(ar?"\xA0":""),re.push(ir)),re.push(at,st,xe);let fo=re.join("");return N(be,fo,j)},Dn=()=>(e,t,r)=>{let o=(e.displayOldPrice===void 0||O(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${I()(e,t,r)}${o?" "+I({displayStrikethrough:!0})(e,t,r):""}`},Un=()=>(e,t,r)=>{let{instant:n}=e;try{n||(n=new URLSearchParams(document.location.search).get("instant")),n&&(n=new Date(n))}catch{n=void 0}let o={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||O(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?I({displayStrikethrough:!0})(o,t,r)+" ":""}${I()(e,t,r)}${N(L.containerAnnualPrefix," (")}${I({displayAnnual:!0,instant:n})(o,t,r)}${N(L.containerAnnualSuffix,")")}`},Gn=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${I()(e,t,r)}${N(L.containerAnnualPrefix," (")}${I({displayAnnual:!0})(n,t,r)}${N(L.containerAnnualSuffix,")")}`};var Gi=I(),zi=Dn(),Fi=I({displayOptical:!0}),$i=I({displayStrikethrough:!0}),Vi=I({displayAnnual:!0}),ji=Gn(),Yi=Un();var Wi=(e,t)=>{if(!(!Te(e)||!Te(t)))return Math.floor((t-e)/t*100)},zn=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,o=Wi(r,n);return o===void 0?'':`${o}%`};var qi=zn();var{freeze:Oe}=Object,Wt=Oe({...Ee}),qt=Oe({...we}),Xt={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},bd=Oe({...P}),vd=Oe({...Zr}),yd=Oe({..._});var $n="mas-commerce-service";function Vn(e,{once:t=!1}={}){let r=null;function n(){let o=document.querySelector($n);o!==r&&(r=o,o&&e(o))}return document.addEventListener(ut,n,{once:t}),He(n),()=>document.removeEventListener(ut,n)}function jn(e,{country:t,forceTaxExclusive:r,perpetual:n}){let o;if(e.length<2)o=e;else{let i=t==="GB"||n?"EN":"MULT",[a,s]=e;o=[a.language===i?a:s]}return r&&(o=o.map(Pt)),o}var He=e=>window.setTimeout(e);function Q(){return document.getElementsByTagName($n)?.[0]}var J={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},Yn=1e3,Wn=new Set;function Zi(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function qn(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:o,status:i}=e;return[n,i,o].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!J.serializableTypes.includes(r))return r}return e}function Qi(e,t){if(!J.ignoredProperties.includes(e))return qn(t)}var Kt={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],o=[],i=t;r.forEach(l=>{l!=null&&(Zi(l)?n:o).push(l)}),n.length&&(i+=" "+n.map(qn).join(" "));let{pathname:a,search:s}=window.location,c=`${J.delimiter}page=${a}${s}`;c.length>Yn&&(c=`${c.slice(0,Yn)}`),i+=c,o.length&&(i+=`${J.delimiter}facts=`,i+=JSON.stringify(o,Qi)),Wn.has(i)||(Wn.add(i),window.lana?.log(i,J))}};function Xn(e){Object.assign(J,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in J&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var Ji=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:Wt.V3,checkoutWorkflowStep:qt.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:Xt.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsBufferDelay:1,wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:gt.PUBLISHED,wcsBufferLimit:1});var Zt=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});var Qt={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},ea=Date.now(),Jt=new Set,er=new Set,Kn=new Map,Zn={append({level:e,message:t,params:r,timestamp:n,source:o}){console[e](`${n}ms [${o}] %c${t}`,"font-weight: bold;",...r)}},Qn={filter:({level:e})=>e!==Qt.DEBUG},ta={filter:()=>!1};function ra(e,t,r,n,o){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Ae(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:o,timestamp:Date.now()-ea}}function na(e){[...er].every(t=>t(e))&&Jt.forEach(t=>t(e))}function Jn(e){let t=(Kn.get(e)??0)+1;Kn.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:o=>Jn(`${n.namespace}/${o}`),updateConfig:Xn};return Object.values(Qt).forEach(o=>{n[o]=(i,...a)=>na(ra(o,i,e,a,r))}),Object.seal(n)}function rt(...e){e.forEach(t=>{let{append:r,filter:n}=t;Ae(n)&&er.add(n),Ae(r)&&Jt.add(r)})}function oa(e={}){let{name:t}=e,r=O(ue("commerce.debug",{search:!0,storage:!0}),t===Zt.LOCAL);return rt(r?Zn:Qn),t===Zt.PROD&&rt(Kt),tr}function ia(){Jt.clear(),er.clear()}var tr={...Jn(Tr),Level:Qt,Plugins:{consoleAppender:Zn,debugFilter:Qn,quietFilter:ta,lanaAppender:Kt},init:oa,reset:ia,use:rt};var aa={[F]:yr,[Y]:Er,[$]:wr},sa={[F]:Sr,[$]:Ar},nt=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",pe);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",Y);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t}update(){[F,Y,$].forEach(t=>{this.wrapperElement.classList.toggle(aa[t],t===this.state)})}notify(){(this.state===$||this.state===F)&&(this.state===$?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===F&&this.promises.forEach(({reject:t})=>t(this.error)),this.promises=[]),this.wrapperElement.dispatchEvent(new CustomEvent(sa[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=Vn(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=pe}onceSettled(){let{error:t,promises:r,state:n}=this;return $===n?Promise.resolve(this.wrapperElement):F===n?Promise.reject(t):new Promise((o,i)=>{r.push({resolve:o,reject:i})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=$,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),He(()=>this.notify()),!0)}toggleFailed(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.error=r,this.state=F,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),He(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=Y,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!Q()||this.timer)return;let r=tr.module("mas-element"),{error:n,options:o,state:i,value:a,version:s}=this;this.state=Y,this.timer=He(async()=>{this.timer=null;let c=null;if(this.changes.size&&(c=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:c}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:c})),c||t)try{await this.wrapperElement.render?.()===!1&&this.state===Y&&this.version===s&&(this.state=i,this.error=n,this.value=a,this.update(),this.notify())}catch(l){r.error("Failed to render mas-element: ",l),this.toggleFailed(this.version,l,o)}})}};function eo(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function to(e,t={}){let{tag:r,is:n}=e,o=document.createElement(r,{is:n});return o.setAttribute("is",n),Object.assign(o.dataset,eo(t)),o}function ro(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,eo(t)),e):null}var ca="download",la="upgrade";function no(e,t={},r=""){let n=Q();if(!n)return null;let{checkoutMarketSegment:o,checkoutWorkflow:i,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:f,quantity:u,wcsOsi:g,extraOptions:b}=n.collectCheckoutOptions(t),E=to(e,{checkoutMarketSegment:o,checkoutWorkflow:i,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:f,quantity:u,wcsOsi:g,extraOptions:b});return r&&(E.innerHTML=`${r}`),E}function oo(e){return class extends e{constructor(){super(...arguments);p(this,"checkoutActionHandler");p(this,"masElement",new nt(this))}attributeChangedCallback(n,o,i){this.masElement.attributeChangedCallback(n,o,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){if(!this.isConnected)return!1;let o=Q();if(!o)return!1;this.dataset.imsCountry||o.imsCountryPromise.then(f=>{f&&(this.dataset.imsCountry=f)},pe),n.imsCountry=null;let i=o.collectCheckoutOptions(n,this);if(!i.wcsOsi.length)return!1;let a;try{a=JSON.parse(i.extraOptions??"{}")}catch(f){this.masElement.log?.error("cannot parse exta checkout options",f)}let s=this.masElement.togglePending(i);this.setCheckoutUrl("");let c=o.resolveOfferSelectors(i),l=await Promise.all(c);l=l.map(f=>jn(f,i)),i.country=this.dataset.imsCountry||i.country;let h=await o.buildCheckoutAction?.(l.flat(),{...a,...i},this);return this.renderOffers(l.flat(),i,{},h,s)}renderOffers(n,o,i={},a=void 0,s=void 0){if(!this.isConnected)return!1;let c=Q();if(!c)return!1;if(o={...JSON.parse(this.dataset.extraOptions??"null"),...o,...i},s??(s=this.masElement.togglePending(o)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0),a){this.classList.remove(ca,la),this.masElement.toggleResolved(s,n,o);let{url:h,text:f,className:u,handler:g}=a;return h&&this.setCheckoutUrl(h),f&&(this.firstElementChild.innerHTML=f),u&&this.classList.add(...u.split(" ")),g&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=g.bind(this)),!0}else if(n.length){if(this.masElement.toggleResolved(s,n,o)){let h=c.buildCheckoutURL(n,o);return this.setCheckoutUrl(h),!0}}else{let h=new Error(`Not provided: ${o?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,h,o))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let o=Q();if(!o)return!1;let{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:f,promotionCode:u,quantity:g,wcsOsi:b}=o.collectCheckoutOptions(n);return ro(this,{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:f,promotionCode:u,quantity:g,wcsOsi:b}),!0}}}var Me=class Me extends oo(HTMLButtonElement){static createCheckoutButton(t={},r=""){return no(Me,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};p(Me,"is","checkout-button"),p(Me,"tag","button");var ge=Me;window.customElements.get(ge.is)||window.customElements.define(ge.is,ge,{extends:ge.tag});var ha="#000000",ma="#F8D904",da=/(accent|primary|secondary)(-(outline|link))?/,ua="mas:product_code/",pa="daa-ll",ot="daa-lh",fa=["XL","L","M","S"];function ga(e,t,r){e.mnemonicIcon?.map((o,i)=>({icon:o,alt:e.mnemonicAlt[i]??"",link:e.mnemonicLink[i]??""}))?.forEach(({icon:o,alt:i,link:a})=>{if(a&&!/^https?:/.test(a))try{a=new URL(`https://${a}`).href.toString()}catch{a="#"}let s={slot:"icons",src:o,size:r?.size??"l"};i&&(s.alt=i),a&&(s.href=a);let c=k("merch-icon",s);t.append(c)})}function xa(e,t){e.badge&&(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||ha),t.setAttribute("badge-background-color",e.badgeBackgroundColor||ma))}function ba(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function va(e,t,r){e.cardTitle&&r&&t.append(k(r.tag,{slot:r.slot},e.cardTitle))}function ya(e,t,r){e.subtitle&&r&&t.append(k(r.tag,{slot:r.slot},e.subtitle))}function Ea(e,t,r){if(r?.tag&&e.backgroundImage){let n={loading:"lazy",src:e.backgroundImage};e.backgroundImageAltText?n.alt=e.backgroundImageAltText:n.role="none",t.append(k(r.tag,{slot:r.slot},k("img",n)))}r?.attribute&&t.setAttribute(r.attribute,e.backgroundImage)}function wa(e,t,r){if(e.prices&&r){let n=k(r.tag,{slot:r.slot},e.prices);t.append(n)}}function Sa(e,t,r){if(e.description&&r){let n=k(r.tag,{slot:r.slot},e.description);t.append(n)}}function Aa(e,t,r,n){let i=customElements.get("checkout-button").createCheckoutButton({},e.innerHTML);i.setAttribute("tabindex",0);for(let h of e.attributes)["class","is"].includes(h.name)||i.setAttribute(h.name,h.value);i.firstElementChild?.classList.add("spectrum-Button-label");let a=t.ctas.size??"M",s=`spectrum-Button--${n}`,c=fa.includes(a)?`spectrum-Button--size${a}`:"spectrum-Button--sizeM",l=["spectrum-Button",s,c];return r&&l.push("spectrum-Button--outline"),i.classList.add(...l),i}function Ta(e,t,r,n){let o="fill";r&&(o="outline");let i=k("sp-button",{treatment:o,variant:n,tabIndex:0,size:t.ctas.size??"m"},e);return i.addEventListener("click",a=>{a.target!==e&&(a.stopPropagation(),e.click())}),i}function _a(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function La(e,t,r,n){if(e.ctas){let{slot:o}=r.ctas,i=k("div",{slot:o},e.ctas),a=[...i.querySelectorAll("a")].map(s=>{let c=s.parentElement.tagName==="STRONG";if(t.consonant)return _a(s,c);let l=da.exec(s.className)?.[0]??"accent",h=l.includes("accent"),f=l.includes("primary"),u=l.includes("secondary"),g=l.includes("-outline");if(l.includes("-link"))return s;let E;return h||c?E="accent":f?E="primary":u&&(E="secondary"),t.spectrum==="swc"?Ta(s,r,g,E):Aa(s,r,g,E)});i.innerHTML="",i.append(...a),t.append(i)}}function Ca(e,t){let{tags:r}=e,n=r?.find(o=>o.startsWith(ua))?.split("/").pop();n&&(t.setAttribute(ot,n),t.querySelectorAll("a[data-analytics-id],button[data-analytics-id]").forEach((o,i)=>{o.setAttribute(pa,`${o.dataset.analyticsId}-${i+1}`)}))}function Pa(e){e.spectrum==="css"&&[["primary-link","primary"],["secondary-link","secondary"]].forEach(([t,r])=>{e.querySelectorAll(`a.${t}`).forEach(n=>{n.classList.remove(t),n.classList.add("spectrum-Link",`spectrum-Link--${r}`)})})}async function io(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;t.id=e.id,t.querySelectorAll("[slot]").forEach(i=>{i.remove()}),t.removeAttribute("background-image"),t.removeAttribute("badge-background-color"),t.removeAttribute("badge-color"),t.removeAttribute("badge-text"),t.removeAttribute("size"),t.classList.remove("wide-strip"),t.classList.remove("thin-strip"),t.removeAttribute(ot),t.variant=n,await t.updateComplete;let{aemFragmentMapping:o}=t.variantLayout;o&&(ga(r,t,o.mnemonics),xa(r,t),ba(r,t,o.allowedSizes),va(r,t,o.title),ya(r,t,o.subtitle),wa(r,t,o.prices),Ea(r,t,o.backgroundImage,n),Sa(r,t,o.description),La(r,t,o,n),Ca(r,t),Pa(t))}var Ra="merch-card",Oa=":start",Ha=":ready",Ma=1e4,ao="merch-card:",Ie,rr,d=class extends Na{constructor(){super();Be(this,Ie);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}firstUpdated(){this.variantLayout=Et(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=Et(this),this.variantLayout.connectedCallbackHook())}updated(r){(r.has("badgeBackgroundColor")||r.has("borderColor"))&&this.style.setProperty("--consonant-merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(r)}get theme(){return this.closest("sp-theme")}get dir(){return this.closest("[dir]")?.getAttribute("dir")??"ltr"}get prices(){return Array.from(this.querySelectorAll('span[is="inline-price"][data-wcs-osi]'))}render(){if(!(!this.isConnected||!this.variantLayout||this.style.display==="none"))return this.variantLayout.renderLayout()}get computedBorderStyle(){return["twp","ccd-slice","ccd-suggested"].includes(this.variant)?"":`1px solid ${this.borderColor?this.borderColor:this.badgeBackgroundColor}`}get badgeElement(){return this.shadowRoot.getElementById("badge")}get headingmMSlot(){return this.shadowRoot.querySelector('slot[name="heading-m"]').assignedElements()[0]}get footerSlot(){return this.shadowRoot.querySelector('slot[name="footer"]')?.assignedElements()[0]}get price(){return this.headingmMSlot?.querySelector('span[is="inline-price"]')}get checkoutLinks(){return[...this.footerSlot?.querySelectorAll('a[is="checkout-link"]')??[]]}async toggleStockOffer({target:r}){if(!this.stockOfferOsis)return;let n=this.checkoutLinks;if(n.length!==0)for(let o of n){await o.onceSettled();let i=o.value?.[0]?.planType;if(!i)return;let a=this.stockOfferOsis[i];if(!a)return;let s=o.dataset.wcsOsi.split(",").filter(c=>c!==a);r.checked&&s.push(a),o.dataset.wcsOsi=s.join(",")}}handleQuantitySelection(r){let n=this.checkoutLinks;for(let o of n)o.dataset.quantity=r.detail.option}get titleElement(){return this.querySelector(this.variantLayout?.headingSelector||".card-heading")}get title(){return this.titleElement?.textContent?.trim()}get description(){return this.querySelector('[slot="body-xs"]')?.textContent?.trim()}updateFilters(r){let n={...this.filters};Object.keys(n).forEach(o=>{if(r){n[o].order=Math.min(n[o].order||2,2);return}let i=n[o].order;i===1||isNaN(i)||(n[o].order=Number(i)+1)}),this.filters=n}includes(r){return this.textContent.match(new RegExp(r,"i"))!==null}connectedCallback(){super.connectedCallback();let r=this.querySelector("aem-fragment")?.getAttribute("fragment");performance.mark(`${ao}${r}${Oa}`),this.addEventListener(ft,this.handleQuantitySelection),this.addEventListener(fr,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(Fe,this.handleAemFragmentEvents),this.addEventListener(ze,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(ft,this.handleQuantitySelection),this.storageOptions?.removeEventListener(pt,this.handleStorageChange),this.removeEventListener(Fe,this.handleAemFragmentEvents),this.removeEventListener(ze,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===Fe&&dt(this,Ie,rr).call(this,"AEM fragment cannot be loaded"),r.type===ze&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await io(n,this),this.checkReady()}}async checkReady(){let r=Promise.all([...this.querySelectorAll('span[is="inline-price"][data-wcs-osi],a[is="checkout-link"][data-wcs-osi]')].map(i=>i.onceSettled().catch(()=>i))).then(i=>i.every(a=>a.classList.contains("placeholder-resolved"))),n=new Promise(i=>setTimeout(()=>i(!1),Ma));if(await Promise.race([r,n])===!0){performance.mark(`${ao}${this.id}${Ha}`),this.dispatchEvent(new CustomEvent(br,{bubbles:!0,composed:!0}));return}dt(this,Ie,rr).call(this,"Contains unresolved offers")}get aemFragment(){return this.querySelector("aem-fragment")}get storageOptions(){return this.querySelector("sp-radio-group#storage")}get storageSpecificOfferSelect(){let r=this.storageOptions?.selected;if(r){let n=this.querySelector(`merch-offer-select[storage="${r}"]`);if(n)return n}return this.querySelector("merch-offer-select")}get offerSelect(){return this.storageOptions?this.storageSpecificOfferSelect:this.querySelector("merch-offer-select")}get quantitySelect(){return this.querySelector("merch-quantity-select")}displayFooterElementsInColumn(){if(!this.classList.contains("product"))return;let r=this.shadowRoot.querySelector(".secure-transaction-label");(this.footerSlot?.querySelectorAll('a[is="checkout-link"].con-button')).length===2&&r&&r.parentElement.classList.add("footer-column")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||(this.dispatchEvent(new CustomEvent(gr,{bubbles:!0})),this.displayFooterElementsInColumn())}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(pt,{detail:{offerSelect:r},bubbles:!0}))}get dynamicPrice(){return this.querySelector('[slot="price"]')}selectMerchOffer(r){if(r===this.merchOffer)return;this.merchOffer=r;let n=this.dynamicPrice;if(r.price&&n){let o=r.price.cloneNode(!0);n.onceSettled?n.onceSettled().then(()=>{n.replaceWith(o)}):n.replaceWith(o)}}};Ie=new WeakSet,rr=function(r){this.dispatchEvent(new CustomEvent(vr,{detail:r,bubbles:!0,composed:!0}))},p(d,"properties",{name:{type:String,attribute:"name",reflect:!0},variant:{type:String,reflect:!0},size:{type:String,attribute:"size",reflect:!0},badgeColor:{type:String,attribute:"badge-color",reflect:!0},borderColor:{type:String,attribute:"border-color",reflect:!0},badgeBackgroundColor:{type:String,attribute:"badge-background-color",reflect:!0},backgroundImage:{type:String,attribute:"background-image",reflect:!0},badgeText:{type:String,attribute:"badge-text"},actionMenu:{type:Boolean,attribute:"action-menu"},customHr:{type:Boolean,attribute:"custom-hr"},consonant:{type:Boolean,attribute:"consonant"},spectrum:{type:String,attribute:"spectrum"},detailBg:{type:String,attribute:"detail-bg"},secureLabel:{type:String,attribute:"secure-label"},checkboxLabel:{type:String,attribute:"checkbox-label"},selected:{type:Boolean,attribute:"aria-selected",reflect:!0},storageOption:{type:String,attribute:"storage",reflect:!0},stockOfferOsis:{type:Object,attribute:"stock-offer-osis",converter:{fromAttribute:r=>{let[n,o,i]=r.split(",");return{PUF:n,ABM:o,M2M:i}}}},filters:{type:String,reflect:!0,converter:{fromAttribute:r=>Object.fromEntries(r.split(",").map(n=>{let[o,i,a]=n.split(":"),s=Number(i);return[o,{order:isNaN(s)?void 0:s,size:a}]})),toAttribute:r=>Object.entries(r).map(([n,{order:o,size:i}])=>[n,o,i].filter(a=>a!=null).join(":")).join(",")}},types:{type:String,attribute:"types",reflect:!0},merchOffer:{type:Object},analyticsId:{type:String,attribute:ot,reflect:!0}}),p(d,"styles",[dr,Ur(),...ur()]);customElements.define(Ra,d); diff --git a/libs/features/mas/dist/mas.js b/libs/features/mas/dist/mas.js index b8ee7e18d1..5cedc4fff0 100644 --- a/libs/features/mas/dist/mas.js +++ b/libs/features/mas/dist/mas.js @@ -1,9 +1,9 @@ -var Ls=Object.create;var er=Object.defineProperty;var _s=Object.getOwnPropertyDescriptor;var ws=Object.getOwnPropertyNames;var Cs=Object.getPrototypeOf,Ps=Object.prototype.hasOwnProperty;var Wi=e=>{throw TypeError(e)};var Is=(e,t,r)=>t in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ks=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ns=(e,t)=>{for(var r in t)er(e,r,{get:t[r],enumerable:!0})},Os=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ws(t))!Ps.call(e,i)&&i!==r&&er(e,i,{get:()=>t[i],enumerable:!(n=_s(t,i))||n.enumerable});return e};var Rs=(e,t,r)=>(r=e!=null?Ls(Cs(e)):{},Os(t||!e||!e.__esModule?er(r,"default",{value:e,enumerable:!0}):r,e));var p=(e,t,r)=>Is(e,typeof t!="symbol"?t+"":t,r),Wr=(e,t,r)=>t.has(e)||Wi("Cannot "+r);var w=(e,t,r)=>(Wr(e,t,"read from private field"),r?r.call(e):t.get(e)),F=(e,t,r)=>t.has(e)?Wi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),j=(e,t,r,n)=>(Wr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ge=(e,t,r)=>(Wr(e,t,"access private method"),r);var ps=ks((Hf,Ah)=>{Ah.exports={total:38,offset:0,limit:38,data:[{lang:"ar",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0627\u0644\u0634\u0647\u0631} YEAR {/\u0627\u0644\u0639\u0627\u0645} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0643\u0644 \u0634\u0647\u0631} YEAR {\u0643\u0644 \u0639\u0627\u0645} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",freeLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",freeAriaLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0623\u0648 \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643 \u0628\u0642\u064A\u0645\u0629 {alternativePrice}",strikethroughAriaLabel:"\u0628\u0634\u0643\u0644 \u0645\u0646\u062A\u0638\u0645 \u0628\u0642\u064A\u0645\u0629 {strikethroughPrice}"},{lang:"bg",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433\u043E\u0434.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0435\u0441\u0435\u0446} YEAR {\u043D\u0430 \u0433\u043E\u0434\u0438\u043D\u0430} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",freeLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E \u043D\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0434\u043E\u0432\u043D\u043E \u043D\u0430 {strikethroughPrice}"},{lang:"cs",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\u011Bs\xEDc} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za m\u011Bs\xEDc} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenci} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenci} other {}}",freeLabel:"Zdarma",freeAriaLabel:"Zdarma",taxExclusiveLabel:"{taxTerm, select, GST {bez dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {bez DPH} TAX {bez dan\u011B} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {v\u010Detn\u011B dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {v\u010Detn\u011B DPH} TAX {v\u010Detn\u011B dan\u011B} IVA {v\u010Detn\u011B IVA} SST {v\u010Detn\u011B SST} KDV {v\u010Detn\u011B KDV} other {}}",alternativePriceAriaLabel:"P\u0159\xEDpadn\u011B za {alternativePrice}",strikethroughAriaLabel:"Pravideln\u011B za {strikethroughPrice}"},{lang:"da",recurrenceLabel:"{recurrenceTerm, select, MONTH {/md} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pr. m\xE5ned} YEAR {pr. \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. skat} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skat} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"de",recurrenceLabel:"{recurrenceTerm, select, MONTH {/Monat} YEAR {/Jahr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pro Monat} YEAR {pro Jahr} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",freeLabel:"Kostenlos",freeAriaLabel:"Kostenlos",taxExclusiveLabel:"{taxTerm, select, GST {zzgl. GST} VAT {zzgl. MwSt.} TAX {zzgl. Steuern} IVA {zzgl. IVA} SST {zzgl. SST} KDV {zzgl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. MwSt.} TAX {inkl. Steuern} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ: {alternativePrice}",strikethroughAriaLabel:"Regul\xE4r: {strikethroughPrice}"},{lang:"en",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},{lang:"et",recurrenceLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",perUnitLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",freeLabel:"Tasuta",freeAriaLabel:"Tasuta",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Teise v\xF5imalusena hinnaga {alternativePrice}",strikethroughAriaLabel:"Tavahind {strikethroughPrice}"},{lang:"fi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/kk} YEAR {/v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuukausittain} YEAR {vuosittain} other {}}",perUnitLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",freeLabel:"Maksuton",freeAriaLabel:"Maksuton",taxExclusiveLabel:"{taxTerm, select, GST {ilman GST:t\xE4} VAT {ilman ALV:t\xE4} TAX {ilman veroja} IVA {ilman IVA:ta} SST {ilman SST:t\xE4} KDV {ilman KDV:t\xE4} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {sis. GST:n} VAT {sis. ALV:n} TAX {sis. verot} IVA {sis. IVA:n} SST {sis. SST:n} KDV {sis. KDV:n} other {}}",alternativePriceAriaLabel:"Vaihtoehtoisesti hintaan {alternativePrice}",strikethroughAriaLabel:"S\xE4\xE4nn\xF6llisesti hintaan {strikethroughPrice}"},{lang:"fr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mois} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {par mois} YEAR {par an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {par licence} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {par licence} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {hors TPS} VAT {hors TVA} TAX {hors taxes} IVA {hors IVA} SST {hors SST} KDV {hors KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {TPS comprise} VAT {TVA comprise} TAX {taxes comprises} IVA {IVA comprise} SST {SST comprise} KDV {KDV comprise} other {}}",alternativePriceAriaLabel:"Autre prix {alternativePrice}",strikethroughAriaLabel:"Prix habituel {strikethroughPrice}"},{lang:"he",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"},{lang:"hu",recurrenceLabel:"{recurrenceTerm, select, MONTH {/h\xF3} YEAR {/\xE9v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {havonta} YEAR {\xE9vente} other {}}",perUnitLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",freeLabel:"Ingyenes",freeAriaLabel:"Ingyenes",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"M\xE1sik lehet\u0151s\xE9g: {alternativePrice}",strikethroughAriaLabel:"\xC1ltal\xE1ban {strikethroughPrice} \xE1ron"},{lang:"it",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mese} YEAR {/anno} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mese} YEAR {all'anno} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licenza} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licenza} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {escl. GST} VAT {escl. IVA.} TAX {escl. imposte} IVA {escl. IVA} SST {escl. SST} KDV {escl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. IVA} TAX {incl. imposte} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"In alternativa a {alternativePrice}",strikethroughAriaLabel:"Regolarmente a {strikethroughPrice}"},{lang:"ja",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCE\u6708} YEAR {\u6BCE\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",freeLabel:"\u7121\u6599",freeAriaLabel:"\u7121\u6599",taxExclusiveLabel:"{taxTerm, select, GST {GST \u5225} VAT {VAT \u5225} TAX {\u7A0E\u5225} IVA {IVA \u5225} SST {SST \u5225} KDV {KDV \u5225} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u8FBC} VAT {VAT \u8FBC} TAX {\u7A0E\u8FBC} IVA {IVA \u8FBC} SST {SST \u8FBC} KDV {KDV \u8FBC} other {}}",alternativePriceAriaLabel:"\u7279\u5225\u4FA1\u683C : {alternativePrice}",strikethroughAriaLabel:"\u901A\u5E38\u4FA1\u683C : {strikethroughPrice}"},{lang:"ko",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\uC6D4} YEAR {/\uB144} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\uC6D4\uAC04} YEAR {\uC5F0\uAC04} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",freeLabel:"\uBB34\uB8CC",freeAriaLabel:"\uBB34\uB8CC",taxExclusiveLabel:"{taxTerm, select, GST {GST \uC81C\uC678} VAT {VAT \uC81C\uC678} TAX {\uC138\uAE08 \uC81C\uC678} IVA {IVA \uC81C\uC678} SST {SST \uC81C\uC678} KDV {KDV \uC81C\uC678} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \uD3EC\uD568} VAT {VAT \uD3EC\uD568} TAX {\uC138\uAE08 \uD3EC\uD568} IVA {IVA \uD3EC\uD568} SST {SST \uD3EC\uD568} KDV {KDV \uD3EC\uD568} other {}}",alternativePriceAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0",strikethroughAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0"},{lang:"lt",recurrenceLabel:"{recurrenceTerm, select, MONTH { per m\u0117n.} YEAR { per metus} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\u0117n.} YEAR {per metus} other {}}",perUnitLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",freeLabel:"Nemokamai",freeAriaLabel:"Nemokamai",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Arba u\u017E {alternativePrice}",strikethroughAriaLabel:"Normaliai u\u017E {strikethroughPrice}"},{lang:"lv",recurrenceLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",perUnitLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",freeLabel:"Bezmaksas",freeAriaLabel:"Bezmaksas",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternat\u012Bvi par {alternativePrice}",strikethroughAriaLabel:"Regul\u0101ri par {strikethroughPrice}"},{lang:"nb",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd.} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5ned} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisens} other {}}",freeLabel:"Fri",freeAriaLabel:"Fri",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. avgift} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. avgift} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Regelmessig til {strikethroughPrice}"},{lang:"nl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd} YEAR {/jr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per maand} YEAR {per jaar} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licentie} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licentie} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. btw} TAX {excl. belasting} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. btw} TAX {incl. belasting} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Nu {alternativePrice}",strikethroughAriaLabel:"Normaal {strikethroughPrice}"},{lang:"pl",recurrenceLabel:"{recurrenceTerm, select, MONTH { / mies.} YEAR { / rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH { / miesi\u0105c} YEAR { / rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",freeLabel:"Bezp\u0142atne",freeAriaLabel:"Bezp\u0142atne",taxExclusiveLabel:"{taxTerm, select, GST {bez GST} VAT {bez VAT} TAX {netto} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {z GST} VAT {z VAT} TAX {brutto} IVA {z IVA} SST {z SST} KDV {z KDV} other {}}",alternativePriceAriaLabel:"Lub za {alternativePrice}",strikethroughAriaLabel:"Cena zwyk\u0142a: {strikethroughPrice}"},{lang:"pt",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xEAs} YEAR {/ano} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {por m\xEAs} YEAR {por ano} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {ICMS n\xE3o incluso} VAT {IVA n\xE3o incluso} TAX {impostos n\xE3o inclusos} IVA {IVA n\xE3o incluso} SST { SST n\xE3o incluso} KDV {KDV n\xE3o incluso} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {ICMS incluso} VAT {IVA incluso} TAX {impostos inclusos} IVA {IVA incluso} SST {SST incluso} KDV {KDV incluso} other {}}",alternativePriceAriaLabel:"Ou a {alternativePrice}",strikethroughAriaLabel:"Pre\xE7o normal: {strikethroughPrice}"},{lang:"ro",recurrenceLabel:"{recurrenceTerm, select, MONTH {/lun\u0103} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pe lun\u0103} YEAR {pe an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ, la {alternativePrice}",strikethroughAriaLabel:"\xCEn mod normal, la {strikethroughPrice}"},{lang:"ru",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0432 \u043C\u0435\u0441\u044F\u0446} YEAR {\u0432 \u0433\u043E\u0434} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",freeLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0438\u0441\u043A\u043B. \u041D\u0414\u0421} TAX {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0438\u0441\u043A\u043B. \u0418\u0412\u0410} SST {\u0438\u0441\u043A\u043B. SST} KDV {\u0438\u0441\u043A\u043B. \u041A\u0414\u0412} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0432\u043A\u043B. \u041D\u0414\u0421} TAX {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0432\u043A\u043B. \u0418\u0412\u0410} SST {\u0432\u043A\u043B. SST} KDV {\u0432\u043A\u043B. \u041A\u0414\u0412} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E \u043F\u043E \u0446\u0435\u043D\u0435 {strikethroughPrice}"},{lang:"sk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesiac} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za mesiac} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",freeLabel:"Zadarmo",freeAriaLabel:"Zadarmo",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Pr\xEDpadne za {alternativePrice}",strikethroughAriaLabel:"Pravidelne za {strikethroughPrice}"},{lang:"sl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesec} YEAR {/leto} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {na mesec} YEAR {na leto} other {}}",perUnitLabel:"{perUnit, select, LICENSE {na licenco} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {na licenco} other {}}",freeLabel:"Brezpla\u010Dno",freeAriaLabel:"Brezpla\u010Dno",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Druga mo\u017Enost je: {alternativePrice}",strikethroughAriaLabel:"Redno po {strikethroughPrice}"},{lang:"sv",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xE5n} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5nad} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licens} other {}}",freeLabel:"Kostnadsfritt",freeAriaLabel:"Kostnadsfritt",taxExclusiveLabel:"{taxTerm, select, GST {exkl. GST} VAT {exkl. moms} TAX {exkl. skatt} IVA {exkl. IVA} SST {exkl. SST} KDV {exkl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skatt} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt f\xF6r {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"tr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/ay} YEAR {/y\u0131l} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {(ayl\u0131k)} YEAR {(y\u0131ll\u0131k)} other {}}",perUnitLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",freeLabel:"\xDCcretsiz",freeAriaLabel:"\xDCcretsiz",taxExclusiveLabel:"{taxTerm, select, GST {GST hari\xE7} VAT {KDV hari\xE7} TAX {vergi hari\xE7} IVA {IVA hari\xE7} SST {SST hari\xE7} KDV {KDV hari\xE7} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST dahil} VAT {KDV dahil} TAX {vergi dahil} IVA {IVA dahil} SST {SST dahil} KDV {KDV dahil} other {}}",alternativePriceAriaLabel:"Ya da {alternativePrice}",strikethroughAriaLabel:"Standart fiyat: {strikethroughPrice}"},{lang:"uk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0456\u0441.} YEAR {/\u0440\u0456\u043A} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C} YEAR {\u043D\u0430 \u0440\u0456\u043A} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",freeLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0431\u0435\u0437 GST} VAT {\u0431\u0435\u0437 \u041F\u0414\u0412} TAX {\u0431\u0435\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u0443} IVA {\u0431\u0435\u0437 IVA} SST {\u0431\u0435\u0437 SST} KDV {\u0431\u0435\u0437 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 GST} VAT {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u041F\u0414\u0412} TAX {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u043E\u043C} IVA {\u0440\u0430\u0437\u043E\u043C \u0437 IVA} SST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 SST} KDV {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 KDV} other {}}",alternativePriceAriaLabel:"\u0410\u0431\u043E \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0430 \u0446\u0456\u043D\u0430 {strikethroughPrice}"},{lang:"zh-hans",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",freeLabel:"\u514D\u8D39",freeAriaLabel:"\u514D\u8D39",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u6216\u5B9A\u4EF7 {alternativePrice}",strikethroughAriaLabel:"\u6B63\u5E38\u4EF7 {strikethroughPrice}"},{lang:"zh-hant",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",freeLabel:"\u514D\u8CBB",freeAriaLabel:"\u514D\u8CBB",taxExclusiveLabel:"{taxTerm, select, GST {\u4E0D\u542B GST} VAT {\u4E0D\u542B VAT} TAX {\u4E0D\u542B\u7A05} IVA {\u4E0D\u542B IVA} SST {\u4E0D\u542B SST} KDV {\u4E0D\u542B KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u542B GST} VAT {\u542B VAT} TAX {\u542B\u7A05} IVA {\u542B IVA} SST {\u542B SST} KDV {\u542B KDV} other {}}",alternativePriceAriaLabel:"\u6216\u8005\u5728 {alternativePrice}",strikethroughAriaLabel:"\u6A19\u6E96\u50F9\u683C\u70BA {strikethroughPrice}"},{lang:"es",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mes} YEAR {/a\xF1o} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mes} YEAR {al a\xF1o} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licencia} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licencia} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {GST no incluido} VAT {IVA no incluido} TAX {Impuestos no incluidos} IVA {IVA no incluido} SST {SST no incluido} KDV {KDV no incluido} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST incluido} VAT {IVA incluido} TAX {Impuestos incluidos} IVA {IVA incluido} SST {SST incluido} KDV {KDV incluido} other {}}",alternativePriceAriaLabel:"Alternativamente por {alternativePrice}",strikethroughAriaLabel:"Normalmente a {strikethroughPrice}"},{lang:"in",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {tidak termasuk PBJ} VAT {tidak termasuk PPN} TAX {tidak termasuk pajak} IVA {tidak termasuk IVA} SST {tidak termasuk SST} KDV {tidak termasuk KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk PBJ} VAT {termasuk PPN} TAX {termasuk pajak} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Atau seharga {alternativePrice}",strikethroughAriaLabel:"Normalnya seharga {strikethroughPrice}"},{lang:"vi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/th\xE1ng} YEAR {/n\u0103m} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u1ED7i th\xE1ng} YEAR {m\u1ED7i n\u0103m} other {}}",perUnitLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",freeLabel:"Mi\u1EC5n ph\xED",freeAriaLabel:"Mi\u1EC5n ph\xED",taxExclusiveLabel:"{taxTerm, select, GST {ch\u01B0a bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5} VAT {ch\u01B0a bao g\u1ED3m thu\u1EBF GTGT} TAX {ch\u01B0a bao g\u1ED3m thu\u1EBF} IVA {ch\u01B0a bao g\u1ED3m IVA} SST {ch\u01B0a bao g\u1ED3m SST} KDV {ch\u01B0a bao g\u1ED3m KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u0111\xE3 bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5)} VAT {(\u0111\xE3 bao g\u1ED3m thu\u1EBF GTGT)} TAX {(\u0111\xE3 bao g\u1ED3m thu\u1EBF)} IVA {(\u0111\xE3 bao g\u1ED3m IVA)} SST {(\u0111\xE3 bao g\u1ED3m SST)} KDV {(\u0111\xE3 bao g\u1ED3m KDV)} other {}}",alternativePriceAriaLabel:"Gi\xE1 \u01B0u \u0111\xE3i {alternativePrice}",strikethroughAriaLabel:"Gi\xE1 th\xF4ng th\u01B0\u1EDDng {strikethroughPrice}"},{lang:"th",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {/\u0E1B\u0E35} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0E15\u0E48\u0E2D\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {\u0E15\u0E48\u0E2D\u0E1B\u0E35} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",freeLabel:"\u0E1F\u0E23\u0E35",freeAriaLabel:"\u0E1F\u0E23\u0E35",taxExclusiveLabel:"{taxTerm, select, GST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 VAT} TAX {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 IVA} SST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 SST} KDV {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E23\u0E27\u0E21 VAT} TAX {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E23\u0E27\u0E21 IVA} SST {\u0E23\u0E27\u0E21 SST} KDV {\u0E23\u0E27\u0E21 KDV} other {}}",alternativePriceAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1E\u0E34\u0E40\u0E28\u0E29 {alternativePrice}",strikethroughAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1B\u0E01\u0E15\u0E34 {strikethroughPrice}"},{lang:"el",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u03BC\u03AE\u03BD\u03B1} YEAR {/\u03AD\u03C4\u03BF\u03C2} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u03BA\u03AC\u03B8\u03B5 \u03BC\u03AE\u03BD\u03B1} YEAR {\u03B1\u03BD\u03AC \u03AD\u03C4\u03BF\u03C2} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",freeLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",freeAriaLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",taxExclusiveLabel:"{taxTerm, select, GST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 GST)} VAT {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF)} IVA {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 IVA)} SST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 SST)} KDV {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 KDV)} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 GST)} VAT {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF\u03C5)} IVA {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 IVA)} SST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 SST)} KDV {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 KDV)} other {}}",alternativePriceAriaLabel:"\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03B5\u03C4\u03B9\u03BA\u03AC, {alternativePrice}",strikethroughAriaLabel:"\u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE {strikethroughPrice}"},{lang:"fil",recurrenceLabel:"{recurrenceTerm, select, MONTH {/buwan} YEAR {/taon} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per buwan} YEAR {per taon} other {}}",perUnitLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",freeLabel:"Libre",freeAriaLabel:"Libre",taxExclusiveLabel:"{taxTerm, select, GST {hindi kasama ang GST} VAT {hindi kasama ang VAT} TAX {hindi kasama ang Buwis} IVA {hindi kasama ang IVA} SST {hindi kasama ang SST} KDV {hindi kasama ang KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {kasama ang GST} VAT {kasama ang VAT} TAX {kasama ang Buwis} IVA {kasama ang IVA} SST {kasama ang SST} KDV {kasama ang KDV} other {}}",alternativePriceAriaLabel:"Alternatibong nasa halagang {alternativePrice}",strikethroughAriaLabel:"Regular na nasa halagang {strikethroughPrice}"},{lang:"ms",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",freeLabel:"Percuma",freeAriaLabel:"Percuma",taxExclusiveLabel:"{taxTerm, select, GST {kecuali GST} VAT {kecuali VAT} TAX {kecuali Cukai} IVA {kecuali IVA} SST {kecuali SST} KDV {kecuali KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk GST} VAT {termasuk VAT} TAX {termasuk Cukai} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Secara alternatif pada {alternativePrice}",strikethroughAriaLabel:"Biasanya pada {strikethroughPrice}"},{lang:"hi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u092E\u093E\u0939} YEAR {/\u0935\u0930\u094D\u0937} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per \u092E\u093E\u0939} YEAR {per \u0935\u0930\u094D\u0937} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",freeLabel:"\u092B\u093C\u094D\u0930\u0940",freeAriaLabel:"\u092B\u093C\u094D\u0930\u0940",taxExclusiveLabel:"{taxTerm, select, GST {GST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} VAT {VAT \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} TAX {\u0915\u0930 \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} IVA {IVA \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} SST {SST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} KDV {KDV \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u0938\u0939\u093F\u0924} VAT {VAT \u0938\u0939\u093F\u0924} TAX {\u0915\u0930 \u0938\u0939\u093F\u0924} IVA {IVA \u0938\u0939\u093F\u0924} SST {SST \u0938\u0939\u093F\u0924} KDV {KDV \u0938\u0939\u093F\u0924} other {}}",alternativePriceAriaLabel:"\u0935\u0948\u0915\u0932\u094D\u092A\u093F\u0915 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {alternativePrice}",strikethroughAriaLabel:"\u0928\u093F\u092F\u092E\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {strikethroughPrice}"},{lang:"iw",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:'{taxTerm, select, GST {\u05DC\u05DC\u05D0 GST} VAT {\u05DC\u05DC\u05D0 \u05DE\u05E2"\u05DE} TAX {\u05DC\u05DC\u05D0 \u05DE\u05E1} IVA {\u05DC\u05DC\u05D0 IVA} SST {\u05DC\u05DC\u05D0 SST} KDV {\u05DC\u05DC\u05D0 KDV} other {}}',taxInclusiveLabel:'{taxTerm, select, GST {\u05DB\u05D5\u05DC\u05DC GST} VAT {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E2"\u05DE} TAX {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E1} IVA {\u05DB\u05D5\u05DC\u05DC IVA} SST {\u05DB\u05D5\u05DC\u05DC SST} KDV {\u05DB\u05D5\u05DC\u05DC KDV} other {}}',alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"}],":type":"sheet"}});(function(){let r={clientId:"",endpoint:"https://www.adobe.com/lana/ll",endpointStage:"https://www.stage.adobe.com/lana/ll",errorType:"e",sampleRate:1,tags:"",implicitSampleRate:1,useProd:!0,isProdDomain:!1},n=window;function i(){let{host:h}=window.location;return h.substring(h.length-10)===".adobe.com"&&h.substring(h.length-15)!==".corp.adobe.com"&&h.substring(h.length-16)!==".stage.adobe.com"}function o(h,d){h||(h={}),d||(d={});function u(m){return h[m]!==void 0?h[m]:d[m]!==void 0?d[m]:r[m]}return Object.keys(r).reduce((m,f)=>(m[f]=u(f),m),{})}function a(h,d){h=h&&h.stack?h.stack:h||"",h.length>2e3&&(h=`${h.slice(0,2e3)}`);let u=o(d,n.lana.options);if(!u.clientId){console.warn("LANA ClientID is not set in options.");return}let f=parseInt(new URL(window.location).searchParams.get("lana-sample"),10)||(u.errorType==="i"?u.implicitSampleRate:u.sampleRate);if(!n.lana.debug&&!n.lana.localhost&&f<=Math.random()*100)return;let g=i()||u.isProdDomain,T=!g||!u.useProd?u.endpointStage:u.endpoint,_=[`m=${encodeURIComponent(h)}`,`c=${encodeURI(u.clientId)}`,`s=${f}`,`t=${encodeURI(u.errorType)}`];if(u.tags&&_.push(`tags=${encodeURI(u.tags)}`),(!g||n.lana.debug||n.lana.localhost)&&console.log("LANA Msg: ",h,` -Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lana.debug&&(_.push("d"),b.addEventListener("load",()=>{console.log("LANA response:",b.responseText)})),b.open("GET",`${T}?${_.join("&")}`),b.send(),b}}function s(h){a(h.reason||h.error||h.message,{errorType:"i"})}function c(){return n.location.search.toLowerCase().indexOf("lanadebug")!==-1}function l(){return n.location.host.toLowerCase().indexOf("localhost")!==-1}n.lana={debug:!1,log:a,options:o(n.lana&&n.lana.options)},c()&&(n.lana.debug=!0),l()&&(n.lana.localhost=!0),n.addEventListener("error",s),n.addEventListener("unhandledrejection",s)})();var tr=window,nr=tr.ShadowRoot&&(tr.ShadyCSS===void 0||tr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Zi=Symbol(),qi=new WeakMap,rr=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Zi)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(nr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=qi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&qi.set(r,t))}return t}toString(){return this.cssText}},Ji=e=>new rr(typeof e=="string"?e:e+"",void 0,Zi);var qr=(e,t)=>{nr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=tr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},ir=nr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Ji(r)})(e):e;var Zr,or=window,Qi=or.trustedTypes,Vs=Qi?Qi.emptyScript:"",eo=or.reactiveElementPolyfillSupport,Qr={toAttribute(e,t){switch(t){case Boolean:e=e?Vs:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},to=(e,t)=>t!==e&&(t==t||e==e),Jr={attribute:!0,type:String,converter:Qr,reflect:!1,hasChanged:to},en="finalized",we=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=Jr){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||Jr}static finalize(){if(this.hasOwnProperty(en))return!1;this[en]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(ir(i))}else t!==void 0&&r.push(ir(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return qr(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=Jr){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:Qr).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:Qr;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||to)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};we[en]=!0,we.elementProperties=new Map,we.elementStyles=[],we.shadowRootOptions={mode:"open"},eo?.({ReactiveElement:we}),((Zr=or.reactiveElementVersions)!==null&&Zr!==void 0?Zr:or.reactiveElementVersions=[]).push("1.6.3");var tn,ar=window,Ze=ar.trustedTypes,ro=Ze?Ze.createPolicy("lit-html",{createHTML:e=>e}):void 0,nn="$lit$",xe=`lit$${(Math.random()+"").slice(9)}$`,lo="?"+xe,Ms=`<${lo}>`,Ie=document,sr=()=>Ie.createComment(""),Lt=e=>e===null||typeof e!="object"&&typeof e!="function",ho=Array.isArray,Hs=e=>ho(e)||typeof e?.[Symbol.iterator]=="function",rn=`[ -\f\r]`,Tt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,no=/-->/g,io=/>/g,Ce=RegExp(`>|${rn}(?:([^\\s"'>=/]+)(${rn}*=${rn}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),oo=/'/g,ao=/"/g,uo=/^(?:script|style|textarea|title)$/i,mo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Ih=mo(1),kh=mo(2),_t=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),so=new WeakMap,Pe=Ie.createTreeWalker(Ie,129,null,!1);function po(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ro!==void 0?ro.createHTML(t):t}var $s=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Tt;for(let s=0;s"?(a=i??Tt,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?Ce:h[3]==='"'?ao:oo):a===ao||a===oo?a=Ce:a===no||a===io?a=Tt:(a=Ce,i=void 0);let m=a===Ce&&e[s+1].startsWith("/>")?" ":"";o+=a===Tt?c+Ms:d>=0?(n.push(l),c.slice(0,d)+nn+c.slice(d)+xe+m):c+xe+(d===-2?(n.push(void 0),s):m)}return[po(e,o+(e[r]||"")+(t===2?"":"")),n]},wt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=$s(t,r);if(this.el=e.createElement(l,n),Pe.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=Pe.nextNode())!==null&&c.length0){i.textContent=Ze?Ze.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=Je(this,t,r,0),a=!Lt(t)||t!==this._$AH&&t!==_t,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;cnew Ct(typeof e=="string"?e:e+"",void 0,hn),P=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,o)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[o+1],e[0]);return new Ct(r,e,hn)},dn=(e,t)=>{hr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},dr=hr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return be(r)})(e):e;var un,ur=window,go=ur.trustedTypes,Ds=go?go.emptyScript:"",xo=ur.reactiveElementPolyfillSupport,pn={toAttribute(e,t){switch(t){case Boolean:e=e?Ds:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},bo=(e,t)=>t!==e&&(t==t||e==e),mn={attribute:!0,type:String,converter:pn,reflect:!1,hasChanged:bo},fn="finalized",le=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=mn){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||mn}static finalize(){if(this.hasOwnProperty(fn))return!1;this[fn]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(dr(i))}else t!==void 0&&r.push(dr(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return dn(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=mn){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:pn).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:pn;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||bo)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};le[fn]=!0,le.elementProperties=new Map,le.elementStyles=[],le.shadowRootOptions={mode:"open"},xo?.({ReactiveElement:le}),((un=ur.reactiveElementVersions)!==null&&un!==void 0?un:ur.reactiveElementVersions=[]).push("1.6.3");var gn,mr=window,et=mr.trustedTypes,vo=et?et.createPolicy("lit-html",{createHTML:e=>e}):void 0,bn="$lit$",ve=`lit$${(Math.random()+"").slice(9)}$`,_o="?"+ve,Bs=`<${_o}>`,Oe=document,It=()=>Oe.createComment(""),kt=e=>e===null||typeof e!="object"&&typeof e!="function",wo=Array.isArray,Gs=e=>wo(e)||typeof e?.[Symbol.iterator]=="function",xn=`[ -\f\r]`,Pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ao=/-->/g,Eo=/>/g,ke=RegExp(`>|${xn}(?:([^\\s"'>=/]+)(${xn}*=${xn}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),So=/'/g,yo=/"/g,Co=/^(?:script|style|textarea|title)$/i,Po=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),x=Po(1),Hh=Po(2),Re=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),To=new WeakMap,Ne=Oe.createTreeWalker(Oe,129,null,!1);function Io(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return vo!==void 0?vo.createHTML(t):t}var zs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Pt;for(let s=0;s"?(a=i??Pt,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?ke:h[3]==='"'?yo:So):a===yo||a===So?a=ke:a===Ao||a===Eo?a=Pt:(a=ke,i=void 0);let m=a===ke&&e[s+1].startsWith("/>")?" ":"";o+=a===Pt?c+Bs:d>=0?(n.push(l),c.slice(0,d)+bn+c.slice(d)+ve+m):c+ve+(d===-2?(n.push(void 0),s):m)}return[Io(e,o+(e[r]||"")+(t===2?"":"")),n]},Nt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=zs(t,r);if(this.el=e.createElement(l,n),Ne.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=Ne.nextNode())!==null&&c.length0){i.textContent=et?et.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=tt(this,t,r,0),a=!kt(t)||t!==this._$AH&&t!==Re,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;c{var n,i;let o=(n=r?.renderBefore)!==null&&n!==void 0?n:t,a=o._$litPart$;if(a===void 0){let s=(i=r?.renderBefore)!==null&&i!==void 0?i:null;o._$litPart$=a=new Ot(t.insertBefore(It(),s),s,void 0,r??{})}return a._$AI(e),a};var Tn,Ln;var ee=class extends le{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,r;let n=super.createRenderRoot();return(t=(r=this.renderOptions).renderBefore)!==null&&t!==void 0||(r.renderBefore=n.firstChild),n}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=ko(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return Re}};ee.finalized=!0,ee._$litElement$=!0,(Tn=globalThis.litElementHydrateSupport)===null||Tn===void 0||Tn.call(globalThis,{LitElement:ee});var No=globalThis.litElementPolyfillSupport;No?.({LitElement:ee});((Ln=globalThis.litElementVersions)!==null&&Ln!==void 0?Ln:globalThis.litElementVersions=[]).push("3.3.3");var Ae="(max-width: 767px)",pr="(max-width: 1199px)",H="(min-width: 768px)",M="(min-width: 1200px)",X="(min-width: 1600px)";var Oo=P` +var Is=Object.create;var nr=Object.defineProperty;var ks=Object.getOwnPropertyDescriptor;var Ns=Object.getOwnPropertyNames;var Os=Object.getPrototypeOf,Rs=Object.prototype.hasOwnProperty;var Qi=e=>{throw TypeError(e)};var Vs=(e,t,r)=>t in e?nr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ms=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Hs=(e,t)=>{for(var r in t)nr(e,r,{get:t[r],enumerable:!0})},$s=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ns(t))!Rs.call(e,i)&&i!==r&&nr(e,i,{get:()=>t[i],enumerable:!(n=ks(t,i))||n.enumerable});return e};var Us=(e,t,r)=>(r=e!=null?Is(Os(e)):{},$s(t||!e||!e.__esModule?nr(r,"default",{value:e,enumerable:!0}):r,e));var p=(e,t,r)=>Vs(e,typeof t!="symbol"?t+"":t,r),Jr=(e,t,r)=>t.has(e)||Qi("Cannot "+r);var _=(e,t,r)=>(Jr(e,t,"read from private field"),r?r.call(e):t.get(e)),F=(e,t,r)=>t.has(e)?Qi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),j=(e,t,r,n)=>(Jr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ge=(e,t,r)=>(Jr(e,t,"access private method"),r);var vs=Ms((zf,Lh)=>{Lh.exports={total:38,offset:0,limit:38,data:[{lang:"ar",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0627\u0644\u0634\u0647\u0631} YEAR {/\u0627\u0644\u0639\u0627\u0645} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0643\u0644 \u0634\u0647\u0631} YEAR {\u0643\u0644 \u0639\u0627\u0645} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",freeLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",freeAriaLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0623\u0648 \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643 \u0628\u0642\u064A\u0645\u0629 {alternativePrice}",strikethroughAriaLabel:"\u0628\u0634\u0643\u0644 \u0645\u0646\u062A\u0638\u0645 \u0628\u0642\u064A\u0645\u0629 {strikethroughPrice}"},{lang:"bg",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433\u043E\u0434.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0435\u0441\u0435\u0446} YEAR {\u043D\u0430 \u0433\u043E\u0434\u0438\u043D\u0430} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",freeLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E \u043D\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0434\u043E\u0432\u043D\u043E \u043D\u0430 {strikethroughPrice}"},{lang:"cs",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\u011Bs\xEDc} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za m\u011Bs\xEDc} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenci} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenci} other {}}",freeLabel:"Zdarma",freeAriaLabel:"Zdarma",taxExclusiveLabel:"{taxTerm, select, GST {bez dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {bez DPH} TAX {bez dan\u011B} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {v\u010Detn\u011B dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {v\u010Detn\u011B DPH} TAX {v\u010Detn\u011B dan\u011B} IVA {v\u010Detn\u011B IVA} SST {v\u010Detn\u011B SST} KDV {v\u010Detn\u011B KDV} other {}}",alternativePriceAriaLabel:"P\u0159\xEDpadn\u011B za {alternativePrice}",strikethroughAriaLabel:"Pravideln\u011B za {strikethroughPrice}"},{lang:"da",recurrenceLabel:"{recurrenceTerm, select, MONTH {/md} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pr. m\xE5ned} YEAR {pr. \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. skat} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skat} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"de",recurrenceLabel:"{recurrenceTerm, select, MONTH {/Monat} YEAR {/Jahr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pro Monat} YEAR {pro Jahr} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",freeLabel:"Kostenlos",freeAriaLabel:"Kostenlos",taxExclusiveLabel:"{taxTerm, select, GST {zzgl. GST} VAT {zzgl. MwSt.} TAX {zzgl. Steuern} IVA {zzgl. IVA} SST {zzgl. SST} KDV {zzgl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. MwSt.} TAX {inkl. Steuern} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ: {alternativePrice}",strikethroughAriaLabel:"Regul\xE4r: {strikethroughPrice}"},{lang:"en",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},{lang:"et",recurrenceLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",perUnitLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",freeLabel:"Tasuta",freeAriaLabel:"Tasuta",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Teise v\xF5imalusena hinnaga {alternativePrice}",strikethroughAriaLabel:"Tavahind {strikethroughPrice}"},{lang:"fi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/kk} YEAR {/v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuukausittain} YEAR {vuosittain} other {}}",perUnitLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",freeLabel:"Maksuton",freeAriaLabel:"Maksuton",taxExclusiveLabel:"{taxTerm, select, GST {ilman GST:t\xE4} VAT {ilman ALV:t\xE4} TAX {ilman veroja} IVA {ilman IVA:ta} SST {ilman SST:t\xE4} KDV {ilman KDV:t\xE4} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {sis. GST:n} VAT {sis. ALV:n} TAX {sis. verot} IVA {sis. IVA:n} SST {sis. SST:n} KDV {sis. KDV:n} other {}}",alternativePriceAriaLabel:"Vaihtoehtoisesti hintaan {alternativePrice}",strikethroughAriaLabel:"S\xE4\xE4nn\xF6llisesti hintaan {strikethroughPrice}"},{lang:"fr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mois} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {par mois} YEAR {par an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {par licence} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {par licence} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {hors TPS} VAT {hors TVA} TAX {hors taxes} IVA {hors IVA} SST {hors SST} KDV {hors KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {TPS comprise} VAT {TVA comprise} TAX {taxes comprises} IVA {IVA comprise} SST {SST comprise} KDV {KDV comprise} other {}}",alternativePriceAriaLabel:"Autre prix {alternativePrice}",strikethroughAriaLabel:"Prix habituel {strikethroughPrice}"},{lang:"he",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"},{lang:"hu",recurrenceLabel:"{recurrenceTerm, select, MONTH {/h\xF3} YEAR {/\xE9v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {havonta} YEAR {\xE9vente} other {}}",perUnitLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",freeLabel:"Ingyenes",freeAriaLabel:"Ingyenes",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"M\xE1sik lehet\u0151s\xE9g: {alternativePrice}",strikethroughAriaLabel:"\xC1ltal\xE1ban {strikethroughPrice} \xE1ron"},{lang:"it",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mese} YEAR {/anno} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mese} YEAR {all'anno} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licenza} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licenza} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {escl. GST} VAT {escl. IVA.} TAX {escl. imposte} IVA {escl. IVA} SST {escl. SST} KDV {escl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. IVA} TAX {incl. imposte} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"In alternativa a {alternativePrice}",strikethroughAriaLabel:"Regolarmente a {strikethroughPrice}"},{lang:"ja",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCE\u6708} YEAR {\u6BCE\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",freeLabel:"\u7121\u6599",freeAriaLabel:"\u7121\u6599",taxExclusiveLabel:"{taxTerm, select, GST {GST \u5225} VAT {VAT \u5225} TAX {\u7A0E\u5225} IVA {IVA \u5225} SST {SST \u5225} KDV {KDV \u5225} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u8FBC} VAT {VAT \u8FBC} TAX {\u7A0E\u8FBC} IVA {IVA \u8FBC} SST {SST \u8FBC} KDV {KDV \u8FBC} other {}}",alternativePriceAriaLabel:"\u7279\u5225\u4FA1\u683C : {alternativePrice}",strikethroughAriaLabel:"\u901A\u5E38\u4FA1\u683C : {strikethroughPrice}"},{lang:"ko",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\uC6D4} YEAR {/\uB144} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\uC6D4\uAC04} YEAR {\uC5F0\uAC04} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",freeLabel:"\uBB34\uB8CC",freeAriaLabel:"\uBB34\uB8CC",taxExclusiveLabel:"{taxTerm, select, GST {GST \uC81C\uC678} VAT {VAT \uC81C\uC678} TAX {\uC138\uAE08 \uC81C\uC678} IVA {IVA \uC81C\uC678} SST {SST \uC81C\uC678} KDV {KDV \uC81C\uC678} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \uD3EC\uD568} VAT {VAT \uD3EC\uD568} TAX {\uC138\uAE08 \uD3EC\uD568} IVA {IVA \uD3EC\uD568} SST {SST \uD3EC\uD568} KDV {KDV \uD3EC\uD568} other {}}",alternativePriceAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0",strikethroughAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0"},{lang:"lt",recurrenceLabel:"{recurrenceTerm, select, MONTH { per m\u0117n.} YEAR { per metus} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\u0117n.} YEAR {per metus} other {}}",perUnitLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",freeLabel:"Nemokamai",freeAriaLabel:"Nemokamai",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Arba u\u017E {alternativePrice}",strikethroughAriaLabel:"Normaliai u\u017E {strikethroughPrice}"},{lang:"lv",recurrenceLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",perUnitLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",freeLabel:"Bezmaksas",freeAriaLabel:"Bezmaksas",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternat\u012Bvi par {alternativePrice}",strikethroughAriaLabel:"Regul\u0101ri par {strikethroughPrice}"},{lang:"nb",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd.} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5ned} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisens} other {}}",freeLabel:"Fri",freeAriaLabel:"Fri",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. avgift} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. avgift} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Regelmessig til {strikethroughPrice}"},{lang:"nl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd} YEAR {/jr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per maand} YEAR {per jaar} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licentie} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licentie} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. btw} TAX {excl. belasting} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. btw} TAX {incl. belasting} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Nu {alternativePrice}",strikethroughAriaLabel:"Normaal {strikethroughPrice}"},{lang:"pl",recurrenceLabel:"{recurrenceTerm, select, MONTH { / mies.} YEAR { / rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH { / miesi\u0105c} YEAR { / rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",freeLabel:"Bezp\u0142atne",freeAriaLabel:"Bezp\u0142atne",taxExclusiveLabel:"{taxTerm, select, GST {bez GST} VAT {bez VAT} TAX {netto} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {z GST} VAT {z VAT} TAX {brutto} IVA {z IVA} SST {z SST} KDV {z KDV} other {}}",alternativePriceAriaLabel:"Lub za {alternativePrice}",strikethroughAriaLabel:"Cena zwyk\u0142a: {strikethroughPrice}"},{lang:"pt",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xEAs} YEAR {/ano} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {por m\xEAs} YEAR {por ano} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {ICMS n\xE3o incluso} VAT {IVA n\xE3o incluso} TAX {impostos n\xE3o inclusos} IVA {IVA n\xE3o incluso} SST { SST n\xE3o incluso} KDV {KDV n\xE3o incluso} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {ICMS incluso} VAT {IVA incluso} TAX {impostos inclusos} IVA {IVA incluso} SST {SST incluso} KDV {KDV incluso} other {}}",alternativePriceAriaLabel:"Ou a {alternativePrice}",strikethroughAriaLabel:"Pre\xE7o normal: {strikethroughPrice}"},{lang:"ro",recurrenceLabel:"{recurrenceTerm, select, MONTH {/lun\u0103} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pe lun\u0103} YEAR {pe an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ, la {alternativePrice}",strikethroughAriaLabel:"\xCEn mod normal, la {strikethroughPrice}"},{lang:"ru",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0432 \u043C\u0435\u0441\u044F\u0446} YEAR {\u0432 \u0433\u043E\u0434} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",freeLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0438\u0441\u043A\u043B. \u041D\u0414\u0421} TAX {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0438\u0441\u043A\u043B. \u0418\u0412\u0410} SST {\u0438\u0441\u043A\u043B. SST} KDV {\u0438\u0441\u043A\u043B. \u041A\u0414\u0412} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0432\u043A\u043B. \u041D\u0414\u0421} TAX {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0432\u043A\u043B. \u0418\u0412\u0410} SST {\u0432\u043A\u043B. SST} KDV {\u0432\u043A\u043B. \u041A\u0414\u0412} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E \u043F\u043E \u0446\u0435\u043D\u0435 {strikethroughPrice}"},{lang:"sk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesiac} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za mesiac} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",freeLabel:"Zadarmo",freeAriaLabel:"Zadarmo",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Pr\xEDpadne za {alternativePrice}",strikethroughAriaLabel:"Pravidelne za {strikethroughPrice}"},{lang:"sl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesec} YEAR {/leto} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {na mesec} YEAR {na leto} other {}}",perUnitLabel:"{perUnit, select, LICENSE {na licenco} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {na licenco} other {}}",freeLabel:"Brezpla\u010Dno",freeAriaLabel:"Brezpla\u010Dno",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Druga mo\u017Enost je: {alternativePrice}",strikethroughAriaLabel:"Redno po {strikethroughPrice}"},{lang:"sv",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xE5n} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5nad} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licens} other {}}",freeLabel:"Kostnadsfritt",freeAriaLabel:"Kostnadsfritt",taxExclusiveLabel:"{taxTerm, select, GST {exkl. GST} VAT {exkl. moms} TAX {exkl. skatt} IVA {exkl. IVA} SST {exkl. SST} KDV {exkl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skatt} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt f\xF6r {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"tr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/ay} YEAR {/y\u0131l} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {(ayl\u0131k)} YEAR {(y\u0131ll\u0131k)} other {}}",perUnitLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",freeLabel:"\xDCcretsiz",freeAriaLabel:"\xDCcretsiz",taxExclusiveLabel:"{taxTerm, select, GST {GST hari\xE7} VAT {KDV hari\xE7} TAX {vergi hari\xE7} IVA {IVA hari\xE7} SST {SST hari\xE7} KDV {KDV hari\xE7} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST dahil} VAT {KDV dahil} TAX {vergi dahil} IVA {IVA dahil} SST {SST dahil} KDV {KDV dahil} other {}}",alternativePriceAriaLabel:"Ya da {alternativePrice}",strikethroughAriaLabel:"Standart fiyat: {strikethroughPrice}"},{lang:"uk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0456\u0441.} YEAR {/\u0440\u0456\u043A} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C} YEAR {\u043D\u0430 \u0440\u0456\u043A} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",freeLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0431\u0435\u0437 GST} VAT {\u0431\u0435\u0437 \u041F\u0414\u0412} TAX {\u0431\u0435\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u0443} IVA {\u0431\u0435\u0437 IVA} SST {\u0431\u0435\u0437 SST} KDV {\u0431\u0435\u0437 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 GST} VAT {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u041F\u0414\u0412} TAX {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u043E\u043C} IVA {\u0440\u0430\u0437\u043E\u043C \u0437 IVA} SST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 SST} KDV {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 KDV} other {}}",alternativePriceAriaLabel:"\u0410\u0431\u043E \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0430 \u0446\u0456\u043D\u0430 {strikethroughPrice}"},{lang:"zh-hans",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",freeLabel:"\u514D\u8D39",freeAriaLabel:"\u514D\u8D39",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u6216\u5B9A\u4EF7 {alternativePrice}",strikethroughAriaLabel:"\u6B63\u5E38\u4EF7 {strikethroughPrice}"},{lang:"zh-hant",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",freeLabel:"\u514D\u8CBB",freeAriaLabel:"\u514D\u8CBB",taxExclusiveLabel:"{taxTerm, select, GST {\u4E0D\u542B GST} VAT {\u4E0D\u542B VAT} TAX {\u4E0D\u542B\u7A05} IVA {\u4E0D\u542B IVA} SST {\u4E0D\u542B SST} KDV {\u4E0D\u542B KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u542B GST} VAT {\u542B VAT} TAX {\u542B\u7A05} IVA {\u542B IVA} SST {\u542B SST} KDV {\u542B KDV} other {}}",alternativePriceAriaLabel:"\u6216\u8005\u5728 {alternativePrice}",strikethroughAriaLabel:"\u6A19\u6E96\u50F9\u683C\u70BA {strikethroughPrice}"},{lang:"es",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mes} YEAR {/a\xF1o} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mes} YEAR {al a\xF1o} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licencia} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licencia} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {GST no incluido} VAT {IVA no incluido} TAX {Impuestos no incluidos} IVA {IVA no incluido} SST {SST no incluido} KDV {KDV no incluido} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST incluido} VAT {IVA incluido} TAX {Impuestos incluidos} IVA {IVA incluido} SST {SST incluido} KDV {KDV incluido} other {}}",alternativePriceAriaLabel:"Alternativamente por {alternativePrice}",strikethroughAriaLabel:"Normalmente a {strikethroughPrice}"},{lang:"in",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {tidak termasuk PBJ} VAT {tidak termasuk PPN} TAX {tidak termasuk pajak} IVA {tidak termasuk IVA} SST {tidak termasuk SST} KDV {tidak termasuk KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk PBJ} VAT {termasuk PPN} TAX {termasuk pajak} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Atau seharga {alternativePrice}",strikethroughAriaLabel:"Normalnya seharga {strikethroughPrice}"},{lang:"vi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/th\xE1ng} YEAR {/n\u0103m} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u1ED7i th\xE1ng} YEAR {m\u1ED7i n\u0103m} other {}}",perUnitLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",freeLabel:"Mi\u1EC5n ph\xED",freeAriaLabel:"Mi\u1EC5n ph\xED",taxExclusiveLabel:"{taxTerm, select, GST {ch\u01B0a bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5} VAT {ch\u01B0a bao g\u1ED3m thu\u1EBF GTGT} TAX {ch\u01B0a bao g\u1ED3m thu\u1EBF} IVA {ch\u01B0a bao g\u1ED3m IVA} SST {ch\u01B0a bao g\u1ED3m SST} KDV {ch\u01B0a bao g\u1ED3m KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u0111\xE3 bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5)} VAT {(\u0111\xE3 bao g\u1ED3m thu\u1EBF GTGT)} TAX {(\u0111\xE3 bao g\u1ED3m thu\u1EBF)} IVA {(\u0111\xE3 bao g\u1ED3m IVA)} SST {(\u0111\xE3 bao g\u1ED3m SST)} KDV {(\u0111\xE3 bao g\u1ED3m KDV)} other {}}",alternativePriceAriaLabel:"Gi\xE1 \u01B0u \u0111\xE3i {alternativePrice}",strikethroughAriaLabel:"Gi\xE1 th\xF4ng th\u01B0\u1EDDng {strikethroughPrice}"},{lang:"th",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {/\u0E1B\u0E35} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0E15\u0E48\u0E2D\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {\u0E15\u0E48\u0E2D\u0E1B\u0E35} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",freeLabel:"\u0E1F\u0E23\u0E35",freeAriaLabel:"\u0E1F\u0E23\u0E35",taxExclusiveLabel:"{taxTerm, select, GST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 VAT} TAX {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 IVA} SST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 SST} KDV {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E23\u0E27\u0E21 VAT} TAX {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E23\u0E27\u0E21 IVA} SST {\u0E23\u0E27\u0E21 SST} KDV {\u0E23\u0E27\u0E21 KDV} other {}}",alternativePriceAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1E\u0E34\u0E40\u0E28\u0E29 {alternativePrice}",strikethroughAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1B\u0E01\u0E15\u0E34 {strikethroughPrice}"},{lang:"el",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u03BC\u03AE\u03BD\u03B1} YEAR {/\u03AD\u03C4\u03BF\u03C2} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u03BA\u03AC\u03B8\u03B5 \u03BC\u03AE\u03BD\u03B1} YEAR {\u03B1\u03BD\u03AC \u03AD\u03C4\u03BF\u03C2} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",freeLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",freeAriaLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",taxExclusiveLabel:"{taxTerm, select, GST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 GST)} VAT {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF)} IVA {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 IVA)} SST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 SST)} KDV {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 KDV)} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 GST)} VAT {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF\u03C5)} IVA {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 IVA)} SST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 SST)} KDV {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 KDV)} other {}}",alternativePriceAriaLabel:"\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03B5\u03C4\u03B9\u03BA\u03AC, {alternativePrice}",strikethroughAriaLabel:"\u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE {strikethroughPrice}"},{lang:"fil",recurrenceLabel:"{recurrenceTerm, select, MONTH {/buwan} YEAR {/taon} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per buwan} YEAR {per taon} other {}}",perUnitLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",freeLabel:"Libre",freeAriaLabel:"Libre",taxExclusiveLabel:"{taxTerm, select, GST {hindi kasama ang GST} VAT {hindi kasama ang VAT} TAX {hindi kasama ang Buwis} IVA {hindi kasama ang IVA} SST {hindi kasama ang SST} KDV {hindi kasama ang KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {kasama ang GST} VAT {kasama ang VAT} TAX {kasama ang Buwis} IVA {kasama ang IVA} SST {kasama ang SST} KDV {kasama ang KDV} other {}}",alternativePriceAriaLabel:"Alternatibong nasa halagang {alternativePrice}",strikethroughAriaLabel:"Regular na nasa halagang {strikethroughPrice}"},{lang:"ms",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",freeLabel:"Percuma",freeAriaLabel:"Percuma",taxExclusiveLabel:"{taxTerm, select, GST {kecuali GST} VAT {kecuali VAT} TAX {kecuali Cukai} IVA {kecuali IVA} SST {kecuali SST} KDV {kecuali KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk GST} VAT {termasuk VAT} TAX {termasuk Cukai} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Secara alternatif pada {alternativePrice}",strikethroughAriaLabel:"Biasanya pada {strikethroughPrice}"},{lang:"hi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u092E\u093E\u0939} YEAR {/\u0935\u0930\u094D\u0937} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per \u092E\u093E\u0939} YEAR {per \u0935\u0930\u094D\u0937} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",freeLabel:"\u092B\u093C\u094D\u0930\u0940",freeAriaLabel:"\u092B\u093C\u094D\u0930\u0940",taxExclusiveLabel:"{taxTerm, select, GST {GST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} VAT {VAT \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} TAX {\u0915\u0930 \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} IVA {IVA \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} SST {SST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} KDV {KDV \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u0938\u0939\u093F\u0924} VAT {VAT \u0938\u0939\u093F\u0924} TAX {\u0915\u0930 \u0938\u0939\u093F\u0924} IVA {IVA \u0938\u0939\u093F\u0924} SST {SST \u0938\u0939\u093F\u0924} KDV {KDV \u0938\u0939\u093F\u0924} other {}}",alternativePriceAriaLabel:"\u0935\u0948\u0915\u0932\u094D\u092A\u093F\u0915 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {alternativePrice}",strikethroughAriaLabel:"\u0928\u093F\u092F\u092E\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {strikethroughPrice}"},{lang:"iw",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:'{taxTerm, select, GST {\u05DC\u05DC\u05D0 GST} VAT {\u05DC\u05DC\u05D0 \u05DE\u05E2"\u05DE} TAX {\u05DC\u05DC\u05D0 \u05DE\u05E1} IVA {\u05DC\u05DC\u05D0 IVA} SST {\u05DC\u05DC\u05D0 SST} KDV {\u05DC\u05DC\u05D0 KDV} other {}}',taxInclusiveLabel:'{taxTerm, select, GST {\u05DB\u05D5\u05DC\u05DC GST} VAT {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E2"\u05DE} TAX {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E1} IVA {\u05DB\u05D5\u05DC\u05DC IVA} SST {\u05DB\u05D5\u05DC\u05DC SST} KDV {\u05DB\u05D5\u05DC\u05DC KDV} other {}}',alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"}],":type":"sheet"}});(function(){let r={clientId:"",endpoint:"https://www.adobe.com/lana/ll",endpointStage:"https://www.stage.adobe.com/lana/ll",errorType:"e",sampleRate:1,tags:"",implicitSampleRate:1,useProd:!0,isProdDomain:!1},n=window;function i(){let{host:h}=window.location;return h.substring(h.length-10)===".adobe.com"&&h.substring(h.length-15)!==".corp.adobe.com"&&h.substring(h.length-16)!==".stage.adobe.com"}function o(h,d){h||(h={}),d||(d={});function u(m){return h[m]!==void 0?h[m]:d[m]!==void 0?d[m]:r[m]}return Object.keys(r).reduce((m,g)=>(m[g]=u(g),m),{})}function a(h,d){h=h&&h.stack?h.stack:h||"",h.length>2e3&&(h=`${h.slice(0,2e3)}`);let u=o(d,n.lana.options);if(!u.clientId){console.warn("LANA ClientID is not set in options.");return}let g=parseInt(new URL(window.location).searchParams.get("lana-sample"),10)||(u.errorType==="i"?u.implicitSampleRate:u.sampleRate);if(!n.lana.debug&&!n.lana.localhost&&g<=Math.random()*100)return;let f=i()||u.isProdDomain,T=!f||!u.useProd?u.endpointStage:u.endpoint,w=[`m=${encodeURIComponent(h)}`,`c=${encodeURI(u.clientId)}`,`s=${g}`,`t=${encodeURI(u.errorType)}`];if(u.tags&&w.push(`tags=${encodeURI(u.tags)}`),(!f||n.lana.debug||n.lana.localhost)&&console.log("LANA Msg: ",h,` +Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lana.debug&&(w.push("d"),b.addEventListener("load",()=>{console.log("LANA response:",b.responseText)})),b.open("GET",`${T}?${w.join("&")}`),b.send(),b}}function s(h){a(h.reason||h.error||h.message,{errorType:"i"})}function c(){return n.location.search.toLowerCase().indexOf("lanadebug")!==-1}function l(){return n.location.host.toLowerCase().indexOf("localhost")!==-1}n.lana={debug:!1,log:a,options:o(n.lana&&n.lana.options)},c()&&(n.lana.debug=!0),l()&&(n.lana.localhost=!0),n.addEventListener("error",s),n.addEventListener("unhandledrejection",s)})();var ir=window,ar=ir.ShadowRoot&&(ir.ShadyCSS===void 0||ir.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,to=Symbol(),eo=new WeakMap,or=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==to)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(ar&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=eo.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&eo.set(r,t))}return t}toString(){return this.cssText}},ro=e=>new or(typeof e=="string"?e:e+"",void 0,to);var Qr=(e,t)=>{ar?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=ir.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},sr=ar?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return ro(r)})(e):e;var en,cr=window,no=cr.trustedTypes,Ds=no?no.emptyScript:"",io=cr.reactiveElementPolyfillSupport,rn={toAttribute(e,t){switch(t){case Boolean:e=e?Ds:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},oo=(e,t)=>t!==e&&(t==t||e==e),tn={attribute:!0,type:String,converter:rn,reflect:!1,hasChanged:oo},nn="finalized",Le=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=tn){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||tn}static finalize(){if(this.hasOwnProperty(nn))return!1;this[nn]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(sr(i))}else t!==void 0&&r.push(sr(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Qr(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=tn){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:rn).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:rn;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||oo)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};Le[nn]=!0,Le.elementProperties=new Map,Le.elementStyles=[],Le.shadowRootOptions={mode:"open"},io?.({ReactiveElement:Le}),((en=cr.reactiveElementVersions)!==null&&en!==void 0?en:cr.reactiveElementVersions=[]).push("1.6.3");var on,lr=window,We=lr.trustedTypes,ao=We?We.createPolicy("lit-html",{createHTML:e=>e}):void 0,sn="$lit$",xe=`lit$${(Math.random()+"").slice(9)}$`,po="?"+xe,Bs=`<${po}>`,Pe=document,hr=()=>Pe.createComment(""),Ct=e=>e===null||typeof e!="object"&&typeof e!="function",fo=Array.isArray,Gs=e=>fo(e)||typeof e?.[Symbol.iterator]=="function",an=`[ +\f\r]`,Pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,so=/-->/g,co=/>/g,we=RegExp(`>|${an}(?:([^\\s"'>=/]+)(${an}*=${an}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),lo=/'/g,ho=/"/g,go=/^(?:script|style|textarea|title)$/i,xo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Vh=xo(1),Mh=xo(2),It=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),uo=new WeakMap,_e=Pe.createTreeWalker(Pe,129,null,!1);function bo(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ao!==void 0?ao.createHTML(t):t}var zs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Pt;for(let s=0;s"?(a=i??Pt,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?we:h[3]==='"'?ho:lo):a===ho||a===lo?a=we:a===so||a===co?a=Pt:(a=we,i=void 0);let m=a===we&&e[s+1].startsWith("/>")?" ":"";o+=a===Pt?c+Bs:d>=0?(n.push(l),c.slice(0,d)+sn+c.slice(d)+xe+m):c+xe+(d===-2?(n.push(void 0),s):m)}return[bo(e,o+(e[r]||"")+(t===2?"":"")),n]},kt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=zs(t,r);if(this.el=e.createElement(l,n),_e.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=_e.nextNode())!==null&&c.length0){i.textContent=We?We.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=qe(this,t,r,0),a=!Ct(t)||t!==this._$AH&&t!==It,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;cnew Nt(typeof e=="string"?e:e+"",void 0,mn),C=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,o)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[o+1],e[0]);return new Nt(r,e,mn)},pn=(e,t)=>{mr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=ur.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},pr=mr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return be(r)})(e):e;var fn,fr=window,Ao=fr.trustedTypes,Ks=Ao?Ao.emptyScript:"",Eo=fr.reactiveElementPolyfillSupport,xn={toAttribute(e,t){switch(t){case Boolean:e=e?Ks:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},So=(e,t)=>t!==e&&(t==t||e==e),gn={attribute:!0,type:String,converter:xn,reflect:!1,hasChanged:So},bn="finalized",se=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=gn){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||gn}static finalize(){if(this.hasOwnProperty(bn))return!1;this[bn]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(pr(i))}else t!==void 0&&r.push(pr(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return pn(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=gn){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:xn).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:xn;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||So)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};se[bn]=!0,se.elementProperties=new Map,se.elementStyles=[],se.shadowRootOptions={mode:"open"},Eo?.({ReactiveElement:se}),((fn=fr.reactiveElementVersions)!==null&&fn!==void 0?fn:fr.reactiveElementVersions=[]).push("1.6.3");var vn,gr=window,Je=gr.trustedTypes,yo=Je?Je.createPolicy("lit-html",{createHTML:e=>e}):void 0,En="$lit$",ve=`lit$${(Math.random()+"").slice(9)}$`,Io="?"+ve,js=`<${Io}>`,ke=document,Rt=()=>ke.createComment(""),Vt=e=>e===null||typeof e!="object"&&typeof e!="function",ko=Array.isArray,Ys=e=>ko(e)||typeof e?.[Symbol.iterator]=="function",An=`[ +\f\r]`,Ot=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,To=/-->/g,Lo=/>/g,Ce=RegExp(`>|${An}(?:([^\\s"'>=/]+)(${An}*=${An}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),wo=/'/g,_o=/"/g,No=/^(?:script|style|textarea|title)$/i,Oo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),x=Oo(1),Gh=Oo(2),Ne=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Po=new WeakMap,Ie=ke.createTreeWalker(ke,129,null,!1);function Ro(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return yo!==void 0?yo.createHTML(t):t}var Xs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Ot;for(let s=0;s"?(a=i??Ot,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?Ce:h[3]==='"'?_o:wo):a===_o||a===wo?a=Ce:a===To||a===Lo?a=Ot:(a=Ce,i=void 0);let m=a===Ce&&e[s+1].startsWith("/>")?" ":"";o+=a===Ot?c+js:d>=0?(n.push(l),c.slice(0,d)+En+c.slice(d)+ve+m):c+ve+(d===-2?(n.push(void 0),s):m)}return[Ro(e,o+(e[r]||"")+(t===2?"":"")),n]},Mt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=Xs(t,r);if(this.el=e.createElement(l,n),Ie.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=Ie.nextNode())!==null&&c.length0){i.textContent=Je?Je.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=Qe(this,t,r,0),a=!Vt(t)||t!==this._$AH&&t!==Ne,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;c{var n,i;let o=(n=r?.renderBefore)!==null&&n!==void 0?n:t,a=o._$litPart$;if(a===void 0){let s=(i=r?.renderBefore)!==null&&i!==void 0?i:null;o._$litPart$=a=new Ht(t.insertBefore(Rt(),s),s,void 0,r??{})}return a._$AI(e),a};var _n,Pn;var ee=class extends se{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,r;let n=super.createRenderRoot();return(t=(r=this.renderOptions).renderBefore)!==null&&t!==void 0||(r.renderBefore=n.firstChild),n}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Vo(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return Ne}};ee.finalized=!0,ee._$litElement$=!0,(_n=globalThis.litElementHydrateSupport)===null||_n===void 0||_n.call(globalThis,{LitElement:ee});var Mo=globalThis.litElementPolyfillSupport;Mo?.({LitElement:ee});((Pn=globalThis.litElementVersions)!==null&&Pn!==void 0?Pn:globalThis.litElementVersions=[]).push("3.3.3");var Ae="(max-width: 767px)",xr="(max-width: 1199px)",M="(min-width: 768px)",V="(min-width: 1200px)",X="(min-width: 1600px)";var Ho=C` :host { --consonant-merch-card-background-color: #fff; --consonant-merch-card-border: 1px solid var(--consonant-merch-card-border-color); @@ -233,9 +233,9 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lan ::slotted([slot='price']) { color: var(--consonant-merch-card-price-color); } -`,Ro=()=>[P` +`,$o=()=>[C` /* Tablet */ - @media screen and ${be(H)} { + @media screen and ${be(M)} { :host([size='wide']), :host([size='super-wide']) { width: 100%; @@ -244,11 +244,11 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lan } /* Laptop */ - @media screen and ${be(M)} { + @media screen and ${be(V)} { :host([size='wide']) { grid-column: span 2; } - `];var nt,Rt=class Rt{constructor(t){p(this,"card");F(this,nt);this.card=t,this.insertVariantStyle()}getContainer(){return j(this,nt,w(this,nt)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),w(this,nt)}insertVariantStyle(){if(!Rt.styleMap[this.card.variant]){Rt.styleMap[this.card.variant]=!0;let t=document.createElement("style");t.innerHTML=this.getGlobalCSS(),document.head.appendChild(t)}}updateCardElementMinHeight(t,r){if(!t)return;let n=`--consonant-merch-card-${this.card.variant}-${r}-height`,i=Math.max(0,parseInt(window.getComputedStyle(t).height)||0),o=parseInt(this.getContainer().style.getPropertyValue(n))||0;i>o&&this.getContainer().style.setProperty(n,`${i}px`)}get badge(){let t;if(!(!this.card.badgeBackgroundColor||!this.card.badgeColor||!this.card.badgeText))return this.evergreen&&(t=`border: 1px solid ${this.card.badgeBackgroundColor}; border-right: none;`),x` + `];var tt,$t=class $t{constructor(t){p(this,"card");F(this,tt);this.card=t,this.insertVariantStyle()}getContainer(){return j(this,tt,_(this,tt)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),_(this,tt)}insertVariantStyle(){if(!$t.styleMap[this.card.variant]){$t.styleMap[this.card.variant]=!0;let t=document.createElement("style");t.innerHTML=this.getGlobalCSS(),document.head.appendChild(t)}}updateCardElementMinHeight(t,r){if(!t)return;let n=`--consonant-merch-card-${this.card.variant}-${r}-height`,i=Math.max(0,parseInt(window.getComputedStyle(t).height)||0),o=parseInt(this.getContainer().style.getPropertyValue(n))||0;i>o&&this.getContainer().style.setProperty(n,`${i}px`)}get badge(){let t;if(!(!this.card.badgeBackgroundColor||!this.card.badgeColor||!this.card.badgeText))return this.evergreen&&(t=`border: 1px solid ${this.card.badgeBackgroundColor}; border-right: none;`),x`
`}getGlobalCSS(){return""}get theme(){return document.querySelector("sp-theme")}get evergreen(){return this.card.classList.contains("intro-pricing")}get promoBottom(){return this.card.classList.contains("promo-bottom")}get headingSelector(){return'[slot="heading-xs"]'}get secureLabelFooter(){let t=this.card.secureLabel?x`${this.card.secureLabel}`:"";return x`
${t}
`}async adjustTitleWidth(){let t=this.card.getBoundingClientRect().width,r=this.card.badgeElement?.getBoundingClientRect().width||0;t===0||r===0||this.card.style.setProperty("--consonant-merch-card-heading-xs-max-width",`${Math.round(t-r-16)}px`)}postCardUpdateHook(){}connectedCallbackHook(){}disconnectedCallbackHook(){}renderLayout(){}get aemFragmentMapping(){}};nt=new WeakMap,p(Rt,"styleMap",{});var I=Rt;function te(e,t={},r=null,n=null){let i=n?document.createElement(e,{is:n}):document.createElement(e);r instanceof HTMLElement?i.appendChild(r):i.innerHTML=r;for(let[o,a]of Object.entries(t))i.setAttribute(o,a);return i}function fr(){return window.matchMedia("(max-width: 767px)").matches}function Vo(){return window.matchMedia("(max-width: 1024px)").matches}var Gn={};Ns(Gn,{CLASS_NAME_FAILED:()=>kn,CLASS_NAME_HIDDEN:()=>js,CLASS_NAME_PENDING:()=>Nn,CLASS_NAME_RESOLVED:()=>On,ERROR_MESSAGE_BAD_REQUEST:()=>br,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>tc,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>Rn,EVENT_AEM_ERROR:()=>Me,EVENT_AEM_LOAD:()=>Ve,EVENT_MAS_ERROR:()=>In,EVENT_MAS_READY:()=>Pn,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Cn,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>Qs,EVENT_MERCH_CARD_COLLECTION_SORT:()=>Js,EVENT_MERCH_CARD_READY:()=>wn,EVENT_MERCH_OFFER_READY:()=>Xs,EVENT_MERCH_OFFER_SELECT_READY:()=>_n,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>xr,EVENT_MERCH_SEARCH_CHANGE:()=>Zs,EVENT_MERCH_SIDENAV_SELECT:()=>ec,EVENT_MERCH_STOCK_CHANGE:()=>qs,EVENT_MERCH_STORAGE_CHANGE:()=>gr,EVENT_OFFER_SELECTED:()=>Ws,EVENT_TYPE_FAILED:()=>Vn,EVENT_TYPE_READY:()=>it,EVENT_TYPE_RESOLVED:()=>Mn,LOG_NAMESPACE:()=>Hn,Landscape:()=>He,NAMESPACE:()=>Ks,PARAM_AOS_API_KEY:()=>rc,PARAM_ENV:()=>$n,PARAM_LANDSCAPE:()=>Un,PARAM_WCS_API_KEY:()=>nc,STATE_FAILED:()=>he,STATE_PENDING:()=>Ee,STATE_RESOLVED:()=>de,TAG_NAME_SERVICE:()=>Ys,WCS_PROD_URL:()=>Dn,WCS_STAGE_URL:()=>Bn});var Ks="merch",js="hidden",it="wcms:commerce:ready",Ys="mas-commerce-service",Xs="merch-offer:ready",_n="merch-offer-select:ready",wn="merch-card:ready",Cn="merch-card:action-menu-toggle",Ws="merch-offer:selected",qs="merch-stock:change",gr="merch-storage:change",xr="merch-quantity-selector:change",Zs="merch-search:change",Js="merch-card-collection:sort",Qs="merch-card-collection:showmore",ec="merch-sidenav:select",Ve="aem:load",Me="aem:error",Pn="mas:ready",In="mas:error",kn="placeholder-failed",Nn="placeholder-pending",On="placeholder-resolved",br="Bad WCS request",Rn="Commerce offer not found",tc="Literals URL not provided",Vn="mas:failed",Mn="mas:resolved",Hn="mas/commerce",$n="commerce.env",Un="commerce.landscape",rc="commerce.aosKey",nc="commerce.wcsKey",Dn="https://www.adobe.com/web_commerce_artifact",Bn="https://www.stage.adobe.com/web_commerce_artifact_stage",he="failed",Ee="pending",de="resolved",He={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Mo=` + >`:"";return x`
${t}
`}async adjustTitleWidth(){let t=this.card.getBoundingClientRect().width,r=this.card.badgeElement?.getBoundingClientRect().width||0;t===0||r===0||this.card.style.setProperty("--consonant-merch-card-heading-xs-max-width",`${Math.round(t-r-16)}px`)}postCardUpdateHook(){}connectedCallbackHook(){}disconnectedCallbackHook(){}renderLayout(){}get aemFragmentMapping(){}};tt=new WeakMap,p($t,"styleMap",{});var I=$t;function te(e,t={},r=null,n=null){let i=n?document.createElement(e,{is:n}):document.createElement(e);r instanceof HTMLElement?i.appendChild(r):i.innerHTML=r;for(let[o,a]of Object.entries(t))i.setAttribute(o,a);return i}function br(){return window.matchMedia("(max-width: 767px)").matches}function Uo(){return window.matchMedia("(max-width: 1024px)").matches}var Kn={};Hs(Kn,{CLASS_NAME_FAILED:()=>Rn,CLASS_NAME_HIDDEN:()=>Zs,CLASS_NAME_PENDING:()=>Vn,CLASS_NAME_RESOLVED:()=>Mn,ERROR_MESSAGE_BAD_REQUEST:()=>Er,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>ac,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>Hn,EVENT_AEM_ERROR:()=>Re,EVENT_AEM_LOAD:()=>Oe,EVENT_MAS_ERROR:()=>On,EVENT_MAS_READY:()=>Nn,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>kn,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>ic,EVENT_MERCH_CARD_COLLECTION_SORT:()=>nc,EVENT_MERCH_CARD_READY:()=>In,EVENT_MERCH_OFFER_READY:()=>Qs,EVENT_MERCH_OFFER_SELECT_READY:()=>Cn,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>Ar,EVENT_MERCH_SEARCH_CHANGE:()=>rc,EVENT_MERCH_SIDENAV_SELECT:()=>oc,EVENT_MERCH_STOCK_CHANGE:()=>tc,EVENT_MERCH_STORAGE_CHANGE:()=>vr,EVENT_OFFER_SELECTED:()=>ec,EVENT_TYPE_FAILED:()=>$n,EVENT_TYPE_READY:()=>rt,EVENT_TYPE_RESOLVED:()=>Un,LOG_NAMESPACE:()=>Dn,Landscape:()=>Ve,NAMESPACE:()=>qs,PARAM_AOS_API_KEY:()=>sc,PARAM_ENV:()=>Bn,PARAM_LANDSCAPE:()=>Gn,PARAM_WCS_API_KEY:()=>cc,STATE_FAILED:()=>ce,STATE_PENDING:()=>Ee,STATE_RESOLVED:()=>le,TAG_NAME_SERVICE:()=>Js,WCS_PROD_URL:()=>zn,WCS_STAGE_URL:()=>Fn});var qs="merch",Zs="hidden",rt="wcms:commerce:ready",Js="mas-commerce-service",Qs="merch-offer:ready",Cn="merch-offer-select:ready",In="merch-card:ready",kn="merch-card:action-menu-toggle",ec="merch-offer:selected",tc="merch-stock:change",vr="merch-storage:change",Ar="merch-quantity-selector:change",rc="merch-search:change",nc="merch-card-collection:sort",ic="merch-card-collection:showmore",oc="merch-sidenav:select",Oe="aem:load",Re="aem:error",Nn="mas:ready",On="mas:error",Rn="placeholder-failed",Vn="placeholder-pending",Mn="placeholder-resolved",Er="Bad WCS request",Hn="Commerce offer not found",ac="Literals URL not provided",$n="mas:failed",Un="mas:resolved",Dn="mas/commerce",Bn="commerce.env",Gn="commerce.landscape",sc="commerce.aosKey",cc="commerce.wcsKey",zn="https://www.adobe.com/web_commerce_artifact",Fn="https://www.stage.adobe.com/web_commerce_artifact_stage",ce="failed",Ee="pending",le="resolved",Ve={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Do=` :root { --consonant-merch-card-catalog-width: 276px; --consonant-merch-card-catalog-icon-size: 40px; @@ -275,7 +275,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lan grid-template-columns: var(--consonant-merch-card-catalog-width); } -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-catalog-width: 302px; } @@ -287,7 +287,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let b=new XMLHttpRequest;return n.lan } } -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-catalog-width: 276px; } @@ -349,12 +349,12 @@ merch-card[variant="catalog"] .payment-details { font-style: italic; font-weight: 400; line-height: var(--consonant-merch-card-body-line-height); -}`;var ic={title:{tag:"h3",slot:"heading-xs"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"m"},allowedSizes:["wide","super-wide"]},ot=class extends I{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(Cn,{bubbles:!0,composed:!0,detail:{card:this.card.name,type:"action-menu"}}))});p(this,"toggleActionMenu",r=>{let n=this.card.shadowRoot.querySelector('slot[name="action-menu-content"]');!n||!r||r.type!=="click"&&r.code!=="Space"&&r.code!=="Enter"||(r.preventDefault(),n.classList.toggle("hidden"),n.classList.contains("hidden")||this.dispatchActionMenuToggle())});p(this,"toggleActionMenuFromCard",r=>{let n=r?.type==="mouseleave"?!0:void 0,i=this.card.shadowRoot,o=i.querySelector(".action-menu");this.card.blur(),o?.classList.remove("always-visible");let a=i.querySelector('slot[name="action-menu-content"]');a&&(n||this.dispatchActionMenuToggle(),a.classList.toggle("hidden",n))});p(this,"hideActionMenu",r=>{this.card.shadowRoot.querySelector('slot[name="action-menu-content"]')?.classList.add("hidden")});p(this,"focusEventHandler",r=>{let n=this.card.shadowRoot.querySelector(".action-menu");n&&(n.classList.add("always-visible"),(r.relatedTarget?.nodeName==="MERCH-CARD-COLLECTION"||r.relatedTarget?.nodeName==="MERCH-CARD"&&r.target.nodeName!=="MERCH-ICON")&&n.classList.remove("always-visible"))})}get aemFragmentMapping(){return ic}renderLayout(){return x`
+}`;var lc={title:{tag:"h3",slot:"heading-xs"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"m"},allowedSizes:["wide","super-wide"]},nt=class extends I{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(kn,{bubbles:!0,composed:!0,detail:{card:this.card.name,type:"action-menu"}}))});p(this,"toggleActionMenu",r=>{let n=this.card.shadowRoot.querySelector('slot[name="action-menu-content"]');!n||!r||r.type!=="click"&&r.code!=="Space"&&r.code!=="Enter"||(r.preventDefault(),n.classList.toggle("hidden"),n.classList.contains("hidden")||this.dispatchActionMenuToggle())});p(this,"toggleActionMenuFromCard",r=>{let n=r?.type==="mouseleave"?!0:void 0,i=this.card.shadowRoot,o=i.querySelector(".action-menu");this.card.blur(),o?.classList.remove("always-visible");let a=i.querySelector('slot[name="action-menu-content"]');a&&(n||this.dispatchActionMenuToggle(),a.classList.toggle("hidden",n))});p(this,"hideActionMenu",r=>{this.card.shadowRoot.querySelector('slot[name="action-menu-content"]')?.classList.add("hidden")});p(this,"focusEventHandler",r=>{let n=this.card.shadowRoot.querySelector(".action-menu");n&&(n.classList.add("always-visible"),(r.relatedTarget?.nodeName==="MERCH-CARD-COLLECTION"||r.relatedTarget?.nodeName==="MERCH-CARD"&&r.target.nodeName!=="MERCH-ICON")&&n.classList.remove("always-visible"))})}get aemFragmentMapping(){return lc}renderLayout(){return x`
${this.badge}
`:""}
${this.secureLabelFooter} - `}getGlobalCSS(){return Mo}connectedCallbackHook(){this.card.addEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.addEventListener("focusout",this.focusEventHandler)}disconnectedCallbackHook(){this.card.removeEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.removeEventListener("focusout",this.focusEventHandler)}};p(ot,"variantStyle",P` + `}getGlobalCSS(){return Do}connectedCallbackHook(){this.card.addEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.addEventListener("focusout",this.focusEventHandler)}disconnectedCallbackHook(){this.card.removeEventListener("mouseleave",this.toggleActionMenuFromCard),this.card.removeEventListener("focusout",this.focusEventHandler)}};p(nt,"variantStyle",C` :host([variant='catalog']) { min-height: 330px; width: var(--consonant-merch-card-catalog-width); @@ -397,7 +397,7 @@ merch-card[variant="catalog"] .payment-details { margin-left: var(--consonant-merch-spacing-xxs); box-sizing: border-box; } - `);var Ho=` + `);var Bo=` :root { --consonant-merch-card-image-width: 300px; } @@ -409,7 +409,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${H} { +@media screen and ${M} { .two-merch-cards.image, .three-merch-cards.image, .four-merch-cards.image { @@ -417,7 +417,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-image-width: 378px; --consonant-merch-card-image-width-4clm: 276px; @@ -431,7 +431,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: repeat(4, var(--consonant-merch-card-image-width-4clm)); } } -`;var vr=class extends I{constructor(t){super(t)}getGlobalCSS(){return Ho}renderLayout(){return x`${this.cardImage} +`;var Sr=class extends I{constructor(t){super(t)}getGlobalCSS(){return Bo}renderLayout(){return x`${this.cardImage}
@@ -448,7 +448,7 @@ merch-card[variant="catalog"] .payment-details { `:x`
${this.secureLabelFooter} - `}`}};var $o=` + `}`}};var Go=` :root { --consonant-merch-card-inline-heading-width: 300px; } @@ -460,7 +460,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-inline-heading-width); } -@media screen and ${H} { +@media screen and ${M} { .two-merch-cards.inline-heading, .three-merch-cards.inline-heading, .four-merch-cards.inline-heading { @@ -468,7 +468,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-inline-heading-width: 378px; } @@ -484,7 +484,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: repeat(4, var(--consonant-merch-card-inline-heading-width)); } } -`;var Ar=class extends I{constructor(t){super(t)}getGlobalCSS(){return $o}renderLayout(){return x` ${this.badge} +`;var yr=class extends I{constructor(t){super(t)}getGlobalCSS(){return Go}renderLayout(){return x` ${this.badge}
@@ -492,7 +492,7 @@ merch-card[variant="catalog"] .payment-details {
- ${this.card.customHr?"":x`
`} ${this.secureLabelFooter}`}};var Uo=` + ${this.card.customHr?"":x`
`} ${this.secureLabelFooter}`}};var zo=` :root { --consonant-merch-card-mini-compare-chart-icon-size: 32px; --consonant-merch-card-mini-compare-mobile-cta-font-size: 15px; @@ -721,7 +721,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${pr} { +@media screen and ${xr} { merch-card[variant="mini-compare-chart"] [slot='heading-m'] { font-size: var(--consonant-merch-card-body-s-font-size); line-height: var(--consonant-merch-card-body-s-line-height); @@ -747,7 +747,7 @@ merch-card[variant="catalog"] .payment-details { line-height: var(--consonant-merch-card-body-xs-line-height); } } -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -765,7 +765,7 @@ merch-card[variant="catalog"] .payment-details { } /* desktop */ -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-mini-compare-chart-width: 378px; --consonant-merch-card-mini-compare-chart-wide-width: 484px; @@ -823,11 +823,11 @@ merch-card .footer-row-cell:nth-child(7) { merch-card .footer-row-cell:nth-child(8) { min-height: var(--consonant-merch-card-footer-row-8-min-height); } -`;var oc=32,at=class extends I{constructor(r){super(r);p(this,"getRowMinHeightPropertyName",r=>`--consonant-merch-card-footer-row-${r}-min-height`);p(this,"getMiniCompareFooter",()=>{let r=this.card.secureLabel?x` +`;var hc=32,it=class extends I{constructor(r){super(r);p(this,"getRowMinHeightPropertyName",r=>`--consonant-merch-card-footer-row-${r}-min-height`);p(this,"getMiniCompareFooter",()=>{let r=this.card.secureLabel?x` ${this.card.secureLabel}`:x``;return x`
${r}
`})}getGlobalCSS(){return Uo}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section");let r=["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"];this.card.classList.contains("bullet-list")&&r.push("footer-rows"),r.forEach(i=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${i}"]`),i)),this.updateCardElementMinHeight(this.card.shadowRoot.querySelector("footer"),"footer");let n=this.card.shadowRoot.querySelector(".mini-compare-chart-badge");n&&n.textContent!==""&&this.getContainer().style.setProperty("--consonant-merch-card-mini-compare-chart-top-section-mobile-height","32px")}adjustMiniCompareFooterRows(){if(this.card.getBoundingClientRect().width===0)return;[...this.card.querySelector('[slot="footer-rows"] ul')?.children].forEach((n,i)=>{let o=Math.max(oc,parseFloat(window.getComputedStyle(n).height)||0),a=parseFloat(this.getContainer().style.getPropertyValue(this.getRowMinHeightPropertyName(i+1)))||0;o>a&&this.getContainer().style.setProperty(this.getRowMinHeightPropertyName(i+1),`${o}px`)})}removeEmptyRows(){this.card.querySelectorAll(".footer-row-cell").forEach(n=>{let i=n.querySelector(".footer-row-cell-description");i&&!i.textContent.trim()&&n.remove()})}renderLayout(){return x`
+ >`:x``;return x`
${r}
`})}getGlobalCSS(){return zo}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section");let r=["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"];this.card.classList.contains("bullet-list")&&r.push("footer-rows"),r.forEach(i=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${i}"]`),i)),this.updateCardElementMinHeight(this.card.shadowRoot.querySelector("footer"),"footer");let n=this.card.shadowRoot.querySelector(".mini-compare-chart-badge");n&&n.textContent!==""&&this.getContainer().style.setProperty("--consonant-merch-card-mini-compare-chart-top-section-mobile-height","32px")}adjustMiniCompareFooterRows(){if(this.card.getBoundingClientRect().width===0)return;[...this.card.querySelector('[slot="footer-rows"] ul')?.children].forEach((n,i)=>{let o=Math.max(hc,parseFloat(window.getComputedStyle(n).height)||0),a=parseFloat(this.getContainer().style.getPropertyValue(this.getRowMinHeightPropertyName(i+1)))||0;o>a&&this.getContainer().style.setProperty(this.getRowMinHeightPropertyName(i+1),`${o}px`)})}removeEmptyRows(){this.card.querySelectorAll(".footer-row-cell").forEach(n=>{let i=n.querySelector(".footer-row-cell-description");i&&!i.textContent.trim()&&n.remove()})}renderLayout(){return x`
${this.badge}
@@ -840,7 +840,7 @@ merch-card .footer-row-cell:nth-child(8) { ${this.getMiniCompareFooter()} - `}async postCardUpdateHook(){fr()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(at,"variantStyle",P` + `}async postCardUpdateHook(){br()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(it,"variantStyle",C` :host([variant='mini-compare-chart']) > slot:not([name='icons']) { display: block; } @@ -873,7 +873,7 @@ merch-card .footer-row-cell:nth-child(8) { color: var(--merch-color-grey-700); } - @media screen and ${be(pr)} { + @media screen and ${be(xr)} { [class*'-merch-cards'] :host([variant='mini-compare-chart']) footer { flex-direction: column; align-items: stretch; @@ -881,7 +881,7 @@ merch-card .footer-row-cell:nth-child(8) { } } - @media screen and ${be(M)} { + @media screen and ${be(V)} { :host([variant='mini-compare-chart']) footer { padding: var(--consonant-merch-spacing-xs) var(--consonant-merch-spacing-s) @@ -932,7 +932,7 @@ merch-card .footer-row-cell:nth-child(8) { :host([variant='mini-compare-chart']) slot[name='footer-rows'] { justify-content: flex-start; } - `);var Do=` + `);var Fo=` :root { --consonant-merch-card-plans-width: 300px; --consonant-merch-card-plans-icon-size: 40px; @@ -958,7 +958,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-plans-width: 302px; } @@ -970,7 +970,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-plans-width: 276px; } @@ -986,7 +986,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, var(--consonant-merch-card-plans-width)); } } -`;var st=class extends I{constructor(t){super(t)}getGlobalCSS(){return Do}postCardUpdateHook(){this.adjustTitleWidth()}get stockCheckbox(){return this.card.checkboxLabel?x`
- ${this.secureLabelFooter}`}};p(st,"variantStyle",P` + ${this.secureLabelFooter}`}};p(ot,"variantStyle",C` :host([variant='plans']) { min-height: 348px; } @@ -1010,7 +1010,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { :host([variant='plans']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);var Bo=` + `);var Ko=` :root { --consonant-merch-card-product-width: 300px; } @@ -1024,7 +1024,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${H} { +@media screen and ${M} { .two-merch-cards.product, .three-merch-cards.product, .four-merch-cards.product { @@ -1033,7 +1033,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-product-width: 378px; --consonant-merch-card-product-width-4clm: 276px; @@ -1047,7 +1047,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, var(--consonant-merch-card-product-width-4clm)); } } -`;var $e=class extends I{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Bo}adjustProductBodySlots(){if(this.card.getBoundingClientRect().width===0)return;["heading-xs","body-xxs","body-xs","promo-text","callout-content","body-lower"].forEach(r=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${r}"]`),r))}renderLayout(){return x` ${this.badge} +`;var Me=class extends I{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Ko}adjustProductBodySlots(){if(this.card.getBoundingClientRect().width===0)return;["heading-xs","body-xxs","body-xs","promo-text","callout-content","body-lower"].forEach(r=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${r}"]`),r))}renderLayout(){return x` ${this.badge}
@@ -1058,7 +1058,7 @@ merch-card[variant="plans"] [slot="quantity-select"] {
- ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(fr()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p($e,"variantStyle",P` + ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(br()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p(Me,"variantStyle",C` :host([variant='product']) > slot:not([name='icons']) { display: block; } @@ -1086,7 +1086,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { :host([variant='product']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);var Go=` + `);var jo=` :root { --consonant-merch-card-segment-width: 378px; } @@ -1106,7 +1106,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } } -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-segment-width: 276px; } @@ -1119,7 +1119,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-segment-width: 302px; } @@ -1132,7 +1132,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, minmax(276px, var(--consonant-merch-card-segment-width))); } } -`;var ct=class extends I{constructor(t){super(t)}getGlobalCSS(){return Go}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return x` ${this.badge} +`;var at=class extends I{constructor(t){super(t)}getGlobalCSS(){return jo}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return x` ${this.badge}
@@ -1141,14 +1141,14 @@ merch-card[variant="plans"] [slot="quantity-select"] { ${this.promoBottom?x``:""}

- ${this.secureLabelFooter}`}};p(ct,"variantStyle",P` + ${this.secureLabelFooter}`}};p(at,"variantStyle",C` :host([variant='segment']) { min-height: 214px; } :host([variant='segment']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);var zo=` + `);var Yo=` :root { --consonant-merch-card-special-offers-width: 378px; } @@ -1171,7 +1171,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri } } -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-special-offers-width: 302px; } @@ -1184,7 +1184,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri } /* desktop */ -@media screen and ${M} { +@media screen and ${V} { .three-merch-cards.special-offers, .four-merch-cards.special-offers { grid-template-columns: repeat(3, minmax(300px, var(--consonant-merch-card-special-offers-width))); @@ -1196,7 +1196,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri grid-template-columns: repeat(4, minmax(300px, var(--consonant-merch-card-special-offers-width))); } } -`;var ac={name:{tag:"h4",slot:"detail-m"},title:{tag:"h4",slot:"detail-m"},backgroundImage:{tag:"div",slot:"bg-image"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"l"}},lt=class extends I{constructor(t){super(t)}getGlobalCSS(){return zo}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return ac}renderLayout(){return x`${this.cardImage} +`;var dc={name:{tag:"h4",slot:"detail-m"},title:{tag:"h4",slot:"detail-m"},backgroundImage:{tag:"div",slot:"bg-image"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"l"}},st=class extends I{constructor(t){super(t)}getGlobalCSS(){return Yo}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return dc}renderLayout(){return x`${this.cardImage}
@@ -1213,7 +1213,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri
${this.secureLabelFooter} `} - `}};p(lt,"variantStyle",P` + `}};p(st,"variantStyle",C` :host([variant='special-offers']) { min-height: 439px; } @@ -1225,7 +1225,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri :host([variant='special-offers'].center) { text-align: center; } - `);var Fo=` + `);var Xo=` :root { --consonant-merch-card-twp-width: 268px; --consonant-merch-card-twp-mobile-width: 300px; @@ -1291,7 +1291,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${H} { +@media screen and ${M} { :root { --consonant-merch-card-twp-width: 268px; } @@ -1304,7 +1304,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${M} { +@media screen and ${V} { :root { --consonant-merch-card-twp-width: 268px; } @@ -1326,7 +1326,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: repeat(3, var(--consonant-merch-card-twp-width)); } } -`;var ht=class extends I{constructor(t){super(t)}getGlobalCSS(){return Fo}renderLayout(){return x`${this.badge} +`;var ct=class extends I{constructor(t){super(t)}getGlobalCSS(){return Xo}renderLayout(){return x`${this.badge}
@@ -1335,7 +1335,7 @@ merch-card[variant='twp'] merch-offer-select {
-
`}};p(ht,"variantStyle",P` +
`}};p(ct,"variantStyle",C` :host([variant='twp']) { padding: 4px 10px 5px 10px; } @@ -1374,7 +1374,7 @@ merch-card[variant='twp'] merch-offer-select { flex-direction: column; align-self: flex-start; } - `);var Ko=` + `);var Wo=` merch-card[variant="ccd-suggested"] [slot="heading-xs"] { font-size: var(--consonant-merch-card-heading-xxs-font-size); @@ -1399,7 +1399,7 @@ merch-card[variant='twp'] merch-offer-select { .spectrum--darkest merch-card[variant="ccd-suggested"]:hover { --consonant-merch-card-border-color:rgb(73, 73, 73); } -`;var sc={mnemonics:{size:"l"},subtitle:{tag:"h4",slot:"detail-s"},backgroundImage:{attribute:"background-image"},title:{tag:"h3",slot:"heading-xs"},prices:{tag:"p",slot:"price"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"cta",size:"M"}},dt=class extends I{getGlobalCSS(){return Ko}get aemFragmentMapping(){return sc}get stripStyle(){return this.card.backgroundImage?` +`;var uc={mnemonics:{size:"l"},subtitle:{tag:"h4",slot:"detail-s"},backgroundImage:{attribute:"background-image"},title:{tag:"h3",slot:"heading-xs"},prices:{tag:"p",slot:"price"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"cta",size:"M"}},lt=class extends I{getGlobalCSS(){return Wo}get aemFragmentMapping(){return uc}get stripStyle(){return this.card.backgroundImage?` background: url("${this.card.backgroundImage}"); background-size: auto 100%; background-repeat: no-repeat; @@ -1421,7 +1421,7 @@ merch-card[variant='twp'] merch-offer-select {
- `}postCardUpdateHook(t){t.has("backgroundImage")&&this.styleBackgroundImage()}styleBackgroundImage(){if(this.card.classList.remove("thin-strip"),this.card.classList.remove("wide-strip"),!this.card.backgroundImage)return;let t=new Image;t.src=this.card.backgroundImage,t.onload=()=>{t.width>8?this.card.classList.add("wide-strip"):t.width===8&&this.card.classList.add("thin-strip")}}};p(dt,"variantStyle",P` + `}postCardUpdateHook(t){t.has("backgroundImage")&&this.styleBackgroundImage()}styleBackgroundImage(){if(this.card.classList.remove("thin-strip"),this.card.classList.remove("wide-strip"),!this.card.backgroundImage)return;let t=new Image;t.src=this.card.backgroundImage,t.onload=()=>{t.width>8?this.card.classList.add("wide-strip"):t.width===8&&this.card.classList.add("thin-strip")}}};p(lt,"variantStyle",C` :host([variant='ccd-suggested']) { --consonant-merch-card-background-color: rgb(245, 245, 245); --consonant-merch-card-body-xs-color: rgb(75, 75, 75); @@ -1530,7 +1530,7 @@ merch-card[variant='twp'] merch-offer-select { :host([variant='ccd-suggested']) .top-section { align-items: center; } - `);var jo=` + `);var qo=` merch-card[variant="ccd-slice"] [slot='image'] img { overflow: hidden; @@ -1550,7 +1550,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { --consonant-merch-card-border-color:rgb(48, 48, 48); --consonant-merch-card-detail-s-color:rgb(235, 235, 235); } -`;var cc={mnemonics:{size:"m"},backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"S"},allowedSizes:["wide"]},ut=class extends I{getGlobalCSS(){return jo}get aemFragmentMapping(){return cc}renderLayout(){return x`
+`;var mc={mnemonics:{size:"m"},backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"S"},allowedSizes:["wide"]},ht=class extends I{getGlobalCSS(){return qo}get aemFragmentMapping(){return mc}renderLayout(){return x`
${this.badge} @@ -1559,7 +1559,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link {
- `}};p(ut,"variantStyle",P` + `}};p(ht,"variantStyle",C` :host([variant='ccd-slice']) { --consonant-merch-card-background-color: rgb(248, 248, 248); --consonant-merch-card-border-color: rgb(230, 230, 230); @@ -1662,7 +1662,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { align-items: center; gap: 8px; } - `);var zn=(e,t=!1)=>{switch(e.variant){case"catalog":return new ot(e);case"image":return new vr(e);case"inline-heading":return new Ar(e);case"mini-compare-chart":return new at(e);case"plans":return new st(e);case"product":return new $e(e);case"segment":return new ct(e);case"special-offers":return new lt(e);case"twp":return new ht(e);case"ccd-suggested":return new dt(e);case"ccd-slice":return new ut(e);default:return t?void 0:new $e(e)}},Yo=()=>{let e=[];return e.push(ot.variantStyle),e.push(at.variantStyle),e.push($e.variantStyle),e.push(st.variantStyle),e.push(ct.variantStyle),e.push(lt.variantStyle),e.push(ht.variantStyle),e.push(dt.variantStyle),e.push(ut.variantStyle),e};var Xo=document.createElement("style");Xo.innerHTML=` + `);var jn=(e,t=!1)=>{switch(e.variant){case"catalog":return new nt(e);case"image":return new Sr(e);case"inline-heading":return new yr(e);case"mini-compare-chart":return new it(e);case"plans":return new ot(e);case"product":return new Me(e);case"segment":return new at(e);case"special-offers":return new st(e);case"twp":return new ct(e);case"ccd-suggested":return new lt(e);case"ccd-slice":return new ht(e);default:return t?void 0:new Me(e)}},Zo=()=>{let e=[];return e.push(nt.variantStyle),e.push(it.variantStyle),e.push(Me.variantStyle),e.push(ot.variantStyle),e.push(at.variantStyle),e.push(st.variantStyle),e.push(ct.variantStyle),e.push(lt.variantStyle),e.push(ht.variantStyle),e};var Jo=document.createElement("style");Jo.innerHTML=` :root { --consonant-merch-card-detail-font-size: 12px; --consonant-merch-card-detail-font-weight: 500; @@ -2094,11 +2094,11 @@ body.merch-modal { height: 100vh; } -`;document.head.appendChild(Xo);var Vt;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(Vt||(Vt={}));var Fn;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(Fn||(Fn={}));var Mt;(function(e){e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED"})(Mt||(Mt={}));var Ue;(function(e){e.V2="UCv2",e.V3="UCv3"})(Ue||(Ue={}));var Z;(function(e){e.CHECKOUT="checkout",e.CHECKOUT_EMAIL="checkout/email",e.SEGMENTATION="segmentation",e.BUNDLE="bundle",e.COMMITMENT="commitment",e.RECOMMENDATION="recommendation",e.EMAIL="email",e.PAYMENT="payment",e.CHANGE_PLAN_TEAM_PLANS="change-plan/team-upgrade/plans",e.CHANGE_PLAN_TEAM_PAYMENT="change-plan/team-upgrade/payment"})(Z||(Z={}));var Kn=function(e){var t;return(t=lc.get(e))!==null&&t!==void 0?t:e},lc=new Map([["countrySpecific","cs"],["quantity","q"],["authCode","code"],["checkoutPromoCode","apc"],["rurl","rUrl"],["curl","cUrl"],["ctxrturl","ctxRtUrl"],["country","co"],["language","lang"],["clientId","cli"],["context","ctx"],["productArrangementCode","pa"],["offerType","ot"],["marketSegment","ms"]]);var Wo=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},qo=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o};function mt(e,t,r){var n,i;try{for(var o=Wo(Object.entries(e)),a=o.next();!a.done;a=o.next()){var s=qo(a.value,2),c=s[0],l=s[1],h=Kn(c);l!=null&&r.has(h)&&t.set(h,l)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Er(e){switch(e){case Vt.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Sr(e,t){var r,n;for(var i in e){var o=e[i];try{for(var a=(r=void 0,Wo(Object.entries(o))),s=a.next();!s.done;s=a.next()){var c=qo(s.value,2),l=c[0],h=c[1];if(h!=null){var d=Kn(l);t.set("items["+i+"]["+d+"]",h)}}}catch(u){r={error:u}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}var hc=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Zo(e){pc(e);var t=e.env,r=e.items,n=e.workflowStep,i=hc(e,["env","items","workflowStep"]),o=new URL(Er(t));return o.pathname=n+"/",Sr(r,o.searchParams),mt(i,o.searchParams,uc),o.toString()}var uc=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),mc=["env","workflowStep","clientId","country","items"];function pc(e){var t,r;try{for(var n=dc(mc),i=n.next();!i.done;i=n.next()){var o=i.value;if(!e[o])throw new Error('Argument "checkoutData" is not valid, missing: '+o)}}catch(a){t={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!0}var fc=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},xc="p_draft_landscape",bc="/store/";function Yn(e){Ac(e);var t=e.env,r=e.items,n=e.workflowStep,i=e.ms,o=e.marketSegment,a=e.ot,s=e.offerType,c=e.pa,l=e.productArrangementCode,h=e.landscape,d=fc(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),u={marketSegment:o??i,offerType:s??a,productArrangementCode:l??c},m=new URL(Er(t));return m.pathname=""+bc+n,n!==Z.SEGMENTATION&&n!==Z.CHANGE_PLAN_TEAM_PLANS&&Sr(r,m.searchParams),n===Z.SEGMENTATION&&mt(u,m.searchParams,jn),mt(d,m.searchParams,jn),h===Mt.DRAFT&&mt({af:xc},m.searchParams,jn),m.toString()}var jn=new Set(["af","ai","apc","appctxid","cli","co","csm","ctx","ctxRtUrl","DCWATC","dp","fr","gsp","ijt","lang","lo","mal","ms","mv","mv2","nglwfdata","ot","otac","pa","pcid","promoid","q","rf","sc","scl","sdid","sid","spint","svar","th","thm","trackingid","usid","workflowid","context.guid","so.ca","so.su","so.tr","so.va"]),vc=["env","workflowStep","clientId","country"];function Ac(e){var t,r;try{for(var n=gc(vc),i=n.next();!i.done;i=n.next()){var o=i.value;if(!e[o])throw new Error('Argument "checkoutData" is not valid, missing: '+o)}}catch(a){t={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}if(e.workflowStep!==Z.SEGMENTATION&&e.workflowStep!==Z.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function Xn(e,t){switch(e){case Ue.V2:return Zo(t);case Ue.V3:return Yn(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),Yn(t)}}var Wn;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(Wn||(Wn={}));var U;(function(e){e.MONTH="MONTH",e.YEAR="YEAR",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.PERPETUAL="PERPETUAL",e.TERM_LICENSE="TERM_LICENSE",e.ACCESS_PASS="ACCESS_PASS",e.THREE_MONTHS="THREE_MONTHS",e.SIX_MONTHS="SIX_MONTHS"})(U||(U={}));var N;(function(e){e.ANNUAL="ANNUAL",e.MONTHLY="MONTHLY",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.P1D="P1D",e.P1Y="P1Y",e.P3Y="P3Y",e.P10Y="P10Y",e.P15Y="P15Y",e.P3D="P3D",e.P7D="P7D",e.P30D="P30D",e.HALF_YEARLY="HALF_YEARLY",e.QUARTERLY="QUARTERLY"})(N||(N={}));var qn;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(qn||(qn={}));var Zn;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(Zn||(Zn={}));var Jn;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(Jn||(Jn={}));var Qn;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(Qn||(Qn={}));var Jo="tacocat.js";var yr=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),Qo=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function O(e,t={},{metadata:r=!0,search:n=!0,storage:i=!0}={}){let o;if(n&&o==null){let a=new URLSearchParams(window.location.search),s=pt(n)?n:e;o=a.get(s)}if(i&&o==null){let a=pt(i)?i:e;o=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&o==null){let a=Ec(pt(r)?r:e);o=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return o??t[e]}var ft=()=>{};var ea=e=>typeof e=="boolean",Ht=e=>typeof e=="function",Tr=e=>typeof e=="number",ta=e=>e!=null&&typeof e=="object";var pt=e=>typeof e=="string",ei=e=>pt(e)&&e,gt=e=>Tr(e)&&Number.isFinite(e)&&e>0;function xt(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function y(e,t){if(ea(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function Se(e,t,r){let n=Object.values(t);return n.find(i=>yr(i,e))??r??n[0]}function Ec(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function bt(e,t=1){return Tr(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var Sc=Date.now(),ti=()=>`(+${Date.now()-Sc}ms)`,Lr=new Set,yc=y(O("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function ra(e){let t=`[${Jo}/${e}]`,r=(a,s,...c)=>a?!0:(i(s,...c),!1),n=yc?(a,...s)=>{console.debug(`${t} ${a}`,...s,ti())}:()=>{},i=(a,...s)=>{let c=`${t} ${a}`;Lr.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:i,warn:(a,...s)=>{let c=`${t} ${a}`;Lr.forEach(([,l])=>l(c,...s))}}}function Tc(e,t){let r=[e,t];return Lr.add(r),()=>{Lr.delete(r)}}Tc((e,...t)=>{console.error(e,...t,ti())},(e,...t)=>{console.warn(e,...t,ti())});var Lc="no promo",na="promo-tag",_c="yellow",wc="neutral",Cc=(e,t,r)=>{let n=o=>o||Lc,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Pc="cancel-context",$t=(e,t)=>{let r=e===Pc,n=!r&&e?.length>0,i=(n||r)&&(t&&t!=e||!t&&!r),o=i&&n||!i&&!!t,a=o?e||t:void 0;return{effectivePromoCode:a,overridenPromoCode:e,className:o?na:`${na} no-promo`,text:Cc(a,t,i),variant:o?_c:wc,isOverriden:i}};var ri="ABM",ni="PUF",ii="M2M",oi="PERPETUAL",ai="P3Y",Ic="TAX_INCLUSIVE_DETAILS",kc="TAX_EXCLUSIVE",ia={ABM:ri,PUF:ni,M2M:ii,PERPETUAL:oi,P3Y:ai},pm={[ri]:{commitment:U.YEAR,term:N.MONTHLY},[ni]:{commitment:U.YEAR,term:N.ANNUAL},[ii]:{commitment:U.MONTH,term:N.MONTHLY},[oi]:{commitment:U.PERPETUAL,term:void 0},[ai]:{commitment:U.THREE_MONTHS,term:N.P3Y}},oa="Value is not an offer",_r=e=>{if(typeof e!="object")return oa;let{commitment:t,term:r}=e,n=Nc(t,r);return{...e,planType:n}};var Nc=(e,t)=>{switch(e){case void 0:return oa;case"":return"";case U.YEAR:return t===N.MONTHLY?ri:t===N.ANNUAL?ni:"";case U.MONTH:return t===N.MONTHLY?ii:"";case U.PERPETUAL:return oi;case U.TERM_LICENSE:return t===N.P3Y?ai:"";default:return""}};function si(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:o,taxDisplay:a}=t;if(a!==Ic)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:o??n,taxDisplay:kc}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var ci=function(e,t){return ci=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},ci(e,t)};function Ut(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");ci(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var A=function(){return A=Object.assign||function(t){for(var r,n=1,i=arguments.length;n0}),r=[],n=0,i=t;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Vc,function(c,l,h,d,u,m){if(l)t.minimumIntegerDigits=h.length;else{if(d&&u)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fa.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ha.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ha,function(c,l,h,d,u,m){return h==="*"?t.minimumFractionDigits=l.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:u&&m?(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=A(A({},t),da(o)));continue}if(pa.test(i.stem)){t=A(A({},t),da(i.stem));continue}var a=ga(i.stem);a&&(t=A(A({},t),a));var s=Mc(i.stem);s&&(t=A(A({},t),s))}return t}var Bt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function ba(e,t){for(var r="",n=0;n>1),c="a",l=Hc(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=c;for(;a-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function Hc(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Bt[n||""]||Bt[r||""]||Bt["".concat(r,"-001")]||Bt["001"];return i[0]}var di,$c=new RegExp("^".concat(hi.source,"*")),Uc=new RegExp("".concat(hi.source,"*$"));function E(e,t){return{start:e,end:t}}var Dc=!!String.prototype.startsWith,Bc=!!String.fromCodePoint,Gc=!!Object.fromEntries,zc=!!String.prototype.codePointAt,Fc=!!String.prototype.trimStart,Kc=!!String.prototype.trimEnd,jc=!!Number.isSafeInteger,Yc=jc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},mi=!0;try{va=ya("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),mi=((di=va.exec("a"))===null||di===void 0?void 0:di[0])==="a"}catch{mi=!1}var va,Aa=Dc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},pi=Bc?String.fromCodePoint:function(){for(var t=[],r=0;ro;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Ea=Gc?Object.fromEntries:function(t){for(var r={},n=0,i=t;n=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Xc=Fc?function(t){return t.trimStart()}:function(t){return t.replace($c,"")},Wc=Kc?function(t){return t.trimEnd()}:function(t){return t.replace(Uc,"")};function ya(e,t){return new RegExp(e,t)}var fi;mi?(ui=ya("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),fi=function(t,r){var n;ui.lastIndex=r;var i=ui.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):fi=function(t,r){for(var n=[];;){var i=Sa(t,r);if(i===void 0||La(i)||Jc(i))break;n.push(i),r+=i>=65536?2:1}return pi.apply(void 0,n)};var ui,Ta=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:C.pound,location:E(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(v.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&gi(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:C.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:C.tag,value:i,children:a,location:E(n,this.clonePosition())},err:null}:this.error(v.INVALID_TAG,E(s,this.clonePosition())))}else return this.error(v.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(v.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Zc(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var c=E(n,this.clonePosition());return{val:{type:C.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!qc(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return pi.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),pi(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(v.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:C.argument,value:i,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=fi(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=E(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(v.EXPECT_ARGUMENT_TYPE,E(a,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var u=Wc(d.val);if(u.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var m=E(h,this.clonePosition());l={style:u,styleLocation:m}}var f=this.tryParseArgumentClose(i);if(f.err)return f;var g=E(i,this.clonePosition());if(l&&Aa(l?.style,"::",0)){var T=Xc(l.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(T,l.styleLocation);return d.err?d:{val:{type:C.number,value:n,location:g,style:d.val},err:null}}else{if(T.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,g);var _=T;this.locale&&(_=ba(T,this.locale));var u={type:De.dateTime,pattern:_,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ca(_):{}},b=s==="date"?C.date:C.time;return{val:{type:b,value:n,location:g,style:u},err:null}}}return{val:{type:s==="number"?C.number:s==="date"?C.date:C.time,value:n,location:g,style:(o=l?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS,E(S,A({},S)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),R=0;if(s!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),k=this.parseIdentifierIfPossible(),R=d.val}var V=this.tryParsePluralOrSelectOptions(t,s,r,k);if(V.err)return V;var f=this.tryParseArgumentClose(i);if(f.err)return f;var $=E(i,this.clonePosition());return s==="select"?{val:{type:C.select,value:n,options:Ea(V.val),location:$},err:null}:{val:{type:C.plural,value:n,options:Ea(V.val),offset:R,pluralType:s==="plural"?"cardinal":"ordinal",location:$},err:null}}default:return this.error(v.INVALID_ARGUMENT_TYPE,E(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=ma(t)}catch{return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:De.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?xa(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],c=new Set,l=i.value,h=i.location;;){if(l.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var u=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=E(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}else break}if(c.has(l))return this.error(r==="select"?v.DUPLICATE_SELECT_ARGUMENT_SELECTOR:v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(t+1,r,n);if(f.err)return f;var g=this.tryParseArgumentClose(m);if(g.err)return g;s.push([l,{value:f.val,location:E(m,this.clonePosition())}]),c.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return s.length===0?this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR:v.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(v.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var c=E(i,this.clonePosition());return o?(a*=n,Yc(a)?{val:a,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Sa(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Aa(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.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 r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&La(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function gi(e){return e>=97&&e<=122||e>=65&&e<=90}function qc(e){return gi(e)||e===47}function Zc(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function La(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Jc(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function xi(e){e.forEach(function(t){if(delete t.location,kr(t)||Nr(t))for(var r in t.options)delete t.options[r].location,xi(t.options[r].value);else Cr(t)&&Rr(t.style)||(Pr(t)||Ir(t))&&Dt(t.style)?delete t.style.location:Or(t)&&xi(t.children)})}function _a(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ta(e,t).parse();if(r.err){var n=SyntaxError(v[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||xi(r.val),r.val}function Gt(e,t){var r=t&&t.cache?t.cache:il,n=t&&t.serializer?t.serializer:nl,i=t&&t.strategy?t.strategy:el;return i(e,{cache:r,serializer:n})}function Qc(e){return e==null||typeof e=="number"||typeof e=="boolean"}function wa(e,t,r,n){var i=Qc(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function Ca(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,n),t.set(i,o)),o}function bi(e,t,r,n,i){return r.bind(t,e,n,i)}function el(e,t){var r=e.length===1?wa:Ca;return bi(e,this,r,t.cache.create(),t.serializer)}function tl(e,t){return bi(e,this,Ca,t.cache.create(),t.serializer)}function rl(e,t){return bi(e,this,wa,t.cache.create(),t.serializer)}var nl=function(){return JSON.stringify(arguments)};function vi(){this.cache=Object.create(null)}vi.prototype.get=function(e){return this.cache[e]};vi.prototype.set=function(e,t){this.cache[e]=t};var il={create:function(){return new vi}},Vr={variadic:tl,monadic:rl};var Be;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Be||(Be={}));var zt=function(e){Ut(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var Ai=function(e){Ut(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Be.INVALID_VALUE,o)||this}return t}(zt);var Pa=function(e){Ut(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Be.INVALID_VALUE,i)||this}return t}(zt);var Ia=function(e){Ut(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Be.MISSING_VALUE,n)||this}return t}(zt);var z;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(z||(z={}));function ol(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==z.literal||r.type!==z.literal?t.push(r):n.value+=r.value,t},[])}function al(e){return typeof e=="function"}function Ft(e,t,r,n,i,o,a){if(e.length===1&&li(e[0]))return[{type:z.literal,value:e[0].value}];for(var s=[],c=0,l=e;c=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},ea=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],a;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(s){a={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(a)throw a.error}}return o};function dt(e,t,r){var n,i;try{for(var o=Qo(Object.entries(e)),a=o.next();!a.done;a=o.next()){var s=ea(a.value,2),c=s[0],l=s[1],h=Xn(c);l!=null&&r.has(h)&&t.set(h,l)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Tr(e){switch(e){case Ut.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Lr(e,t){var r,n;for(var i in e){var o=e[i];try{for(var a=(r=void 0,Qo(Object.entries(o))),s=a.next();!s.done;s=a.next()){var c=ea(s.value,2),l=c[0],h=c[1];if(h!=null){var d=Xn(l);t.set("items["+i+"]["+d+"]",h)}}}catch(u){r={error:u}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}var fc=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function ta(e){vc(e);var t=e.env,r=e.items,n=e.workflowStep,i=fc(e,["env","items","workflowStep"]),o=new URL(Tr(t));return o.pathname=n+"/",Lr(r,o.searchParams),dt(i,o.searchParams,xc),o.toString()}var xc=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),bc=["env","workflowStep","clientId","country","items"];function vc(e){var t,r;try{for(var n=gc(bc),i=n.next();!i.done;i=n.next()){var o=i.value;if(!e[o])throw new Error('Argument "checkoutData" is not valid, missing: '+o)}}catch(a){t={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!0}var Ac=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Sc="p_draft_landscape",yc="/store/";function qn(e){Lc(e);var t=e.env,r=e.items,n=e.workflowStep,i=e.ms,o=e.marketSegment,a=e.ot,s=e.offerType,c=e.pa,l=e.productArrangementCode,h=e.landscape,d=Ac(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),u={marketSegment:o??i,offerType:s??a,productArrangementCode:l??c},m=new URL(Tr(t));return m.pathname=""+yc+n,n!==Q.SEGMENTATION&&n!==Q.CHANGE_PLAN_TEAM_PLANS&&Lr(r,m.searchParams),n===Q.SEGMENTATION&&dt(u,m.searchParams,Wn),dt(d,m.searchParams,Wn),h===Dt.DRAFT&&dt({af:Sc},m.searchParams,Wn),m.toString()}var Wn=new Set(["af","ai","apc","appctxid","cli","co","csm","ctx","ctxRtUrl","DCWATC","dp","fr","gsp","ijt","lang","lo","mal","ms","mv","mv2","nglwfdata","ot","otac","pa","pcid","promoid","q","rf","sc","scl","sdid","sid","spint","svar","th","thm","trackingid","usid","workflowid","context.guid","so.ca","so.su","so.tr","so.va"]),Tc=["env","workflowStep","clientId","country"];function Lc(e){var t,r;try{for(var n=Ec(Tc),i=n.next();!i.done;i=n.next()){var o=i.value;if(!e[o])throw new Error('Argument "checkoutData" is not valid, missing: '+o)}}catch(a){t={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}if(e.workflowStep!==Q.SEGMENTATION&&e.workflowStep!==Q.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function Zn(e,t){switch(e){case He.V2:return ta(t);case He.V3:return qn(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),qn(t)}}var Jn;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(Jn||(Jn={}));var $;(function(e){e.MONTH="MONTH",e.YEAR="YEAR",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.PERPETUAL="PERPETUAL",e.TERM_LICENSE="TERM_LICENSE",e.ACCESS_PASS="ACCESS_PASS",e.THREE_MONTHS="THREE_MONTHS",e.SIX_MONTHS="SIX_MONTHS"})($||($={}));var N;(function(e){e.ANNUAL="ANNUAL",e.MONTHLY="MONTHLY",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.P1D="P1D",e.P1Y="P1Y",e.P3Y="P3Y",e.P10Y="P10Y",e.P15Y="P15Y",e.P3D="P3D",e.P7D="P7D",e.P30D="P30D",e.HALF_YEARLY="HALF_YEARLY",e.QUARTERLY="QUARTERLY"})(N||(N={}));var Qn;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(Qn||(Qn={}));var ei;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(ei||(ei={}));var ti;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(ti||(ti={}));var ri;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(ri||(ri={}));var ra="tacocat.js";var wr=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),na=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function O(e,t={},{metadata:r=!0,search:n=!0,storage:i=!0}={}){let o;if(n&&o==null){let a=new URLSearchParams(window.location.search),s=ut(n)?n:e;o=a.get(s)}if(i&&o==null){let a=ut(i)?i:e;o=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&o==null){let a=wc(ut(r)?r:e);o=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return o??t[e]}var mt=()=>{};var ia=e=>typeof e=="boolean",Bt=e=>typeof e=="function",_r=e=>typeof e=="number",oa=e=>e!=null&&typeof e=="object";var ut=e=>typeof e=="string",ni=e=>ut(e)&&e,pt=e=>_r(e)&&Number.isFinite(e)&&e>0;function ft(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function y(e,t){if(ia(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function Se(e,t,r){let n=Object.values(t);return n.find(i=>wr(i,e))??r??n[0]}function wc(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function gt(e,t=1){return _r(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var _c=Date.now(),ii=()=>`(+${Date.now()-_c}ms)`,Pr=new Set,Pc=y(O("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function aa(e){let t=`[${ra}/${e}]`,r=(a,s,...c)=>a?!0:(i(s,...c),!1),n=Pc?(a,...s)=>{console.debug(`${t} ${a}`,...s,ii())}:()=>{},i=(a,...s)=>{let c=`${t} ${a}`;Pr.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:i,warn:(a,...s)=>{let c=`${t} ${a}`;Pr.forEach(([,l])=>l(c,...s))}}}function Cc(e,t){let r=[e,t];return Pr.add(r),()=>{Pr.delete(r)}}Cc((e,...t)=>{console.error(e,...t,ii())},(e,...t)=>{console.warn(e,...t,ii())});var Ic="no promo",sa="promo-tag",kc="yellow",Nc="neutral",Oc=(e,t,r)=>{let n=o=>o||Ic,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Rc="cancel-context",Gt=(e,t)=>{let r=e===Rc,n=!r&&e?.length>0,i=(n||r)&&(t&&t!=e||!t&&!r),o=i&&n||!i&&!!t,a=o?e||t:void 0;return{effectivePromoCode:a,overridenPromoCode:e,className:o?sa:`${sa} no-promo`,text:Oc(a,t,i),variant:o?kc:Nc,isOverriden:i}};var oi="ABM",ai="PUF",si="M2M",ci="PERPETUAL",li="P3Y",Vc="TAX_INCLUSIVE_DETAILS",Mc="TAX_EXCLUSIVE",ca={ABM:oi,PUF:ai,M2M:si,PERPETUAL:ci,P3Y:li},vm={[oi]:{commitment:$.YEAR,term:N.MONTHLY},[ai]:{commitment:$.YEAR,term:N.ANNUAL},[si]:{commitment:$.MONTH,term:N.MONTHLY},[ci]:{commitment:$.PERPETUAL,term:void 0},[li]:{commitment:$.THREE_MONTHS,term:N.P3Y}},la="Value is not an offer",Cr=e=>{if(typeof e!="object")return la;let{commitment:t,term:r}=e,n=Hc(t,r);return{...e,planType:n}};var Hc=(e,t)=>{switch(e){case void 0:return la;case"":return"";case $.YEAR:return t===N.MONTHLY?oi:t===N.ANNUAL?ai:"";case $.MONTH:return t===N.MONTHLY?si:"";case $.PERPETUAL:return ci;case $.TERM_LICENSE:return t===N.P3Y?li:"";default:return""}};function hi(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:o,taxDisplay:a}=t;if(a!==Vc)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:o??n,taxDisplay:Mc}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var di=function(e,t){return di=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},di(e,t)};function zt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");di(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var A=function(){return A=Object.assign||function(t){for(var r,n=1,i=arguments.length;n0}),r=[],n=0,i=t;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Dc,function(c,l,h,d,u,m){if(l)t.minimumIntegerDigits=h.length;else{if(d&&u)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(va.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(pa.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(pa,function(c,l,h,d,u,m){return h==="*"?t.minimumFractionDigits=l.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:u&&m?(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=A(A({},t),fa(o)));continue}if(ba.test(i.stem)){t=A(A({},t),fa(i.stem));continue}var a=Aa(i.stem);a&&(t=A(A({},t),a));var s=Bc(i.stem);s&&(t=A(A({},t),s))}return t}var Kt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","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"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Sa(e,t){for(var r="",n=0;n>1),c="a",l=Gc(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=c;for(;a-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function Gc(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Kt[n||""]||Kt[r||""]||Kt["".concat(r,"-001")]||Kt["001"];return i[0]}var pi,zc=new RegExp("^".concat(mi.source,"*")),Fc=new RegExp("".concat(mi.source,"*$"));function E(e,t){return{start:e,end:t}}var Kc=!!String.prototype.startsWith,jc=!!String.fromCodePoint,Yc=!!Object.fromEntries,Xc=!!String.prototype.codePointAt,Wc=!!String.prototype.trimStart,qc=!!String.prototype.trimEnd,Zc=!!Number.isSafeInteger,Jc=Zc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},gi=!0;try{ya=_a("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),gi=((pi=ya.exec("a"))===null||pi===void 0?void 0:pi[0])==="a"}catch{gi=!1}var ya,Ta=Kc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},xi=jc?String.fromCodePoint:function(){for(var t=[],r=0;ro;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},La=Yc?Object.fromEntries:function(t){for(var r={},n=0,i=t;n=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},Qc=Wc?function(t){return t.trimStart()}:function(t){return t.replace(zc,"")},el=qc?function(t){return t.trimEnd()}:function(t){return t.replace(Fc,"")};function _a(e,t){return new RegExp(e,t)}var bi;gi?(fi=_a("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),bi=function(t,r){var n;fi.lastIndex=r;var i=fi.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):bi=function(t,r){for(var n=[];;){var i=wa(t,r);if(i===void 0||Ca(i)||nl(i))break;n.push(i),r+=i>=65536?2:1}return xi.apply(void 0,n)};var fi,Pa=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:P.pound,location:E(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(v.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&vi(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:P.literal,value:"<".concat(i,"/>"),location:E(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:P.tag,value:i,children:a,location:E(n,this.clonePosition())},err:null}:this.error(v.INVALID_TAG,E(s,this.clonePosition())))}else return this.error(v.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(v.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&rl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var c=E(n,this.clonePosition());return{val:{type:P.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!tl(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return xi.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),xi(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(v.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:P.argument,value:i,location:E(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(v.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=bi(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=E(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(v.EXPECT_ARGUMENT_TYPE,E(a,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var u=el(d.val);if(u.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var m=E(h,this.clonePosition());l={style:u,styleLocation:m}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var f=E(i,this.clonePosition());if(l&&Ta(l?.style,"::",0)){var T=Qc(l.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(T,l.styleLocation);return d.err?d:{val:{type:P.number,value:n,location:f,style:d.val},err:null}}else{if(T.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,f);var w=T;this.locale&&(w=Sa(T,this.locale));var u={type:$e.dateTime,pattern:w,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?ua(w):{}},b=s==="date"?P.date:P.time;return{val:{type:b,value:n,location:f,style:u},err:null}}}return{val:{type:s==="number"?P.number:s==="date"?P.date:P.time,value:n,location:f,style:(o=l?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var S=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS,E(S,A({},S)));this.bumpSpace();var k=this.parseIdentifierIfPossible(),R=0;if(s!=="select"&&k.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),k=this.parseIdentifierIfPossible(),R=d.val}var U=this.tryParsePluralOrSelectOptions(t,s,r,k);if(U.err)return U;var g=this.tryParseArgumentClose(i);if(g.err)return g;var H=E(i,this.clonePosition());return s==="select"?{val:{type:P.select,value:n,options:La(U.val),location:H},err:null}:{val:{type:P.plural,value:n,options:La(U.val),offset:R,pluralType:s==="plural"?"cardinal":"ordinal",location:H},err:null}}default:return this.error(v.INVALID_ARGUMENT_TYPE,E(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,E(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,E(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=xa(t)}catch{return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:$e.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ea(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],c=new Set,l=i.value,h=i.location;;){if(l.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var u=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=E(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}else break}if(c.has(l))return this.error(r==="select"?v.DUPLICATE_SELECT_ARGUMENT_SELECTOR:v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,E(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var f=this.tryParseArgumentClose(m);if(f.err)return f;s.push([l,{value:g.val,location:E(m,this.clonePosition())}]),c.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return s.length===0?this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR:v.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(v.MISSING_OTHER_CLAUSE,E(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var c=E(i,this.clonePosition());return o?(a*=n,Jc(a)?{val:a,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=wa(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ta(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.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 r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ca(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function vi(e){return e>=97&&e<=122||e>=65&&e<=90}function tl(e){return vi(e)||e===47}function rl(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function Ca(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function nl(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Ai(e){e.forEach(function(t){if(delete t.location,Rr(t)||Vr(t))for(var r in t.options)delete t.options[r].location,Ai(t.options[r].value);else kr(t)&&Hr(t.style)||(Nr(t)||Or(t))&&Ft(t.style)?delete t.style.location:Mr(t)&&Ai(t.children)})}function Ia(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Pa(e,t).parse();if(r.err){var n=SyntaxError(v[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Ai(r.val),r.val}function jt(e,t){var r=t&&t.cache?t.cache:ll,n=t&&t.serializer?t.serializer:cl,i=t&&t.strategy?t.strategy:ol;return i(e,{cache:r,serializer:n})}function il(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ka(e,t,r,n){var i=il(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function Na(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,n),t.set(i,o)),o}function Ei(e,t,r,n,i){return r.bind(t,e,n,i)}function ol(e,t){var r=e.length===1?ka:Na;return Ei(e,this,r,t.cache.create(),t.serializer)}function al(e,t){return Ei(e,this,Na,t.cache.create(),t.serializer)}function sl(e,t){return Ei(e,this,ka,t.cache.create(),t.serializer)}var cl=function(){return JSON.stringify(arguments)};function Si(){this.cache=Object.create(null)}Si.prototype.get=function(e){return this.cache[e]};Si.prototype.set=function(e,t){this.cache[e]=t};var ll={create:function(){return new Si}},$r={variadic:al,monadic:sl};var Ue;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ue||(Ue={}));var Yt=function(e){zt(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var yi=function(e){zt(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ue.INVALID_VALUE,o)||this}return t}(Yt);var Oa=function(e){zt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Ue.INVALID_VALUE,i)||this}return t}(Yt);var Ra=function(e){zt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Ue.MISSING_VALUE,n)||this}return t}(Yt);var z;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(z||(z={}));function hl(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==z.literal||r.type!==z.literal?t.push(r):n.value+=r.value,t},[])}function dl(e){return typeof e=="function"}function Xt(e,t,r,n,i,o,a){if(e.length===1&&ui(e[0]))return[{type:z.literal,value:e[0].value}];for(var s=[],c=0,l=e;c0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=_a,e.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"}}},e}();var Na=ka;var hl=/[0-9\-+#]/,dl=/[^\d\-+#]/g;function Oa(e){return e.search(hl)}function ul(e="#.##"){let t={},r=e.length,n=Oa(e);t.prefix=n>0?e.substring(0,n):"";let i=Oa(e.split("").reverse().join("")),o=r-i,a=e.substring(o,o+1),s=o+(a==="."||a===","?1:0);t.suffix=i>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let c=t.mask.match(dl);return t.decimal=c&&c[c.length-1]||".",t.separator=c&&c[1]&&c[0]||",",c=t.mask.split(t.decimal),t.integer=c[0],t.fraction=c[1],t}function ml(e,t,r){let n=!1,i={value:e};e<0&&(n=!0,i.value=-i.value),i.sign=n?"-":"",i.value=Number(i.value).toFixed(t.fraction&&t.fraction.length),i.value=Number(i.value).toString();let o=t.fraction&&t.fraction.lastIndexOf("0"),[a="0",s=""]=i.value.split(".");return(!s||s&&s.length<=o)&&(s=o<0?"":(+("0."+s)).toFixed(o+1).replace("0.","")),i.integer=a,i.fraction=s,pl(i,t),(i.result==="0"||i.result==="")&&(n=!1,i.sign=""),!n&&t.maskHasPositiveSign?i.sign="+":n&&t.maskHasPositiveSign?i.sign="-":n&&(i.sign=r&&r.enforceMaskSign&&!t.maskHasNegativeSign?"":"-"),i}function pl(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),i=n&&n.indexOf("0");if(i>-1)for(;e.integer.length({accept:e,round:t}),bl=[Si(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Si(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),Si(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],yi={[U.YEAR]:{[N.MONTHLY]:Kt.MONTH,[N.ANNUAL]:Kt.YEAR},[U.MONTH]:{[N.MONTHLY]:Kt.MONTH}},vl=(e,t)=>e.indexOf(`'${t}'`)===0,Al=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Da(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Sl(e)),r},El=e=>{let t=yl(e),r=vl(e,t),n=e.replace(/'.*?'/,""),i=Ha.test(n)||$a.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},Ua=e=>e.replace(Ha,Ma).replace($a,Ma),Sl=e=>e.match(/#(.?)#/)?.[1]===Va?gl:Va,yl=e=>e.match(/'(.*?)'/)?.[1]??"",Da=e=>e.match(/0(.?)0/)?.[1]??"";function Mr({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,o=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=El(e),l=r?Da(e):"",h=Al(e,r),d=r?2:0,u=o(t,{currencySymbol:a}),m=n?u.toLocaleString("hi-IN",{minimumFractionDigits:d,maximumFractionDigits:d}):Ra(h,u),f=r?m.lastIndexOf(l):m.length,g=m.substring(0,f),T=m.substring(f+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,a),currencySymbol:a,decimals:T,decimalsDelimiter:l,hasCurrencySpace:c,integer:g,isCurrencyFirst:s,recurrenceTerm:i}}var Ba=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=xl[r]??1;return Mr(e,i>1?Kt.MONTH:yi[t]?.[r],o=>{let a={divisor:i,price:o,usePrecision:n},{round:s}=bl.find(({accept:c})=>c(a));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(a)}`);return s(a)})},Ga=({commitment:e,term:t,...r})=>Mr(r,yi[e]?.[t]),za=e=>{let{commitment:t,term:r}=e;return t===U.YEAR&&r===N.MONTHLY?Mr(e,Kt.YEAR,n=>n*12):Mr(e,yi[t]?.[r])};var Tl={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},Ll=ra("ConsonantTemplates/price"),_l=/<\/?[^>]+(>|$)/g,G={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},Ge={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},wl="TAX_EXCLUSIVE",Cl=e=>ta(e)?Object.entries(e).filter(([,t])=>pt(t)||Tr(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Qo(n)+'"'}`,""):"",K=(e,t,r,n=!1)=>`${n?Ua(t):t??""}`;function Pl(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:o,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},d={}){let u=K(G.currencySymbol,r),m=K(G.currencySpace,o?" ":""),f="";return s&&(f+=u+m),f+=K(G.integer,a),f+=K(G.decimalsDelimiter,i),f+=K(G.decimals,n),s||(f+=m+u),f+=K(G.recurrence,c,null,!0),f+=K(G.unitType,l,null,!0),f+=K(G.taxInclusivity,h,!0),K(e,f,{...d,"aria-label":t})}var W=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1}={})=>({country:n,displayFormatted:i=!0,displayRecurrence:o=!0,displayPerUnit:a=!1,displayTax:s=!1,language:c,literals:l={}}={},{commitment:h,offerSelectorIds:d,formatString:u,price:m,priceWithoutDiscount:f,taxDisplay:g,taxTerm:T,term:_,usePrecision:b}={},S={})=>{Object.entries({country:n,formatString:u,language:c,price:m}).forEach(([ce,Yr])=>{if(Yr==null)throw new Error(`Argument "${ce}" is missing for osi ${d?.toString()}, country ${n}, language ${c}`)});let k={...Tl,...l},R=`${c.toLowerCase()}-${n.toUpperCase()}`;function V(ce,Yr){let Xr=k[ce];if(Xr==null)return"";try{return new Na(Xr.replace(_l,""),R).format(Yr)}catch{return Ll.error("Failed to format literal:",Xr),""}}let $=t&&f?f:m,ae=e?Ba:Ga;r&&(ae=za);let{accessiblePrice:Xe,recurrenceTerm:Le,...We}=ae({commitment:h,formatString:u,term:_,price:e?m:$,usePrecision:b,isIndianPrice:n==="IN"}),J=Xe,fe="";if(y(o)&&Le){let ce=V(Ge.recurrenceAriaLabel,{recurrenceTerm:Le});ce&&(J+=" "+ce),fe=V(Ge.recurrenceLabel,{recurrenceTerm:Le})}let se="";if(y(a)){se=V(Ge.perUnitLabel,{perUnit:"LICENSE"});let ce=V(Ge.perUnitAriaLabel,{perUnit:"LICENSE"});ce&&(J+=" "+ce)}let Q="";y(s)&&T&&(Q=V(g===wl?Ge.taxExclusiveLabel:Ge.taxInclusiveLabel,{taxTerm:T}),Q&&(J+=" "+Q)),t&&(J=V(Ge.strikethroughAriaLabel,{strikethroughPrice:J}));let _e=G.container;if(e&&(_e+=" "+G.containerOptical),t&&(_e+=" "+G.containerStrikethrough),r&&(_e+=" "+G.containerAnnual),y(i))return Pl(_e,{...We,accessibleLabel:J,recurrenceLabel:fe,perUnitLabel:se,taxInclusivityLabel:Q},S);let{currencySymbol:Yi,decimals:As,decimalsDelimiter:Es,hasCurrencySpace:Xi,integer:Ss,isCurrencyFirst:ys}=We,qe=[Ss,Es,As];ys?(qe.unshift(Xi?"\xA0":""),qe.unshift(Yi)):(qe.push(Xi?"\xA0":""),qe.push(Yi)),qe.push(fe,se,Q);let Ts=qe.join("");return K(_e,Ts,S)},Fa=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||y(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${W()(e,t,r)}${i?" "+W({displayStrikethrough:!0})(e,t,r):""}`},Ka=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||y(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?W({displayStrikethrough:!0})(n,t,r)+" ":""}${W()(e,t,r)}${K(G.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${K(G.containerAnnualSuffix,")")}`},ja=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${W()(e,t,r)}${K(G.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${K(G.containerAnnualSuffix,")")}`};var Ti=W(),Li=Fa(),_i=W({displayOptical:!0}),wi=W({displayStrikethrough:!0}),Ci=W({displayAnnual:!0}),Pi=ja(),Ii=Ka();var Il=(e,t)=>{if(!(!gt(e)||!gt(t)))return Math.floor((t-e)/t*100)},Ya=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Il(r,n);return i===void 0?'':`${i}%`};var ki=Ya();var{freeze:jt}=Object,re=jt({...Ue}),ne=jt({...Z}),ze={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},Ni=jt({...U}),Oi=jt({...ia}),Ri=jt({...N});var Xa="mas-commerce-service";function Wa(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(Xa);i!==r&&(r=i,i&&e(i))}return document.addEventListener(it,n,{once:t}),Fe(n),()=>document.removeEventListener(it,n)}function Yt(e,{country:t,forceTaxExclusive:r,perpetual:n}){let i;if(e.length<2)i=e;else{let o=t==="GB"||n?"EN":"MULT",[a,s]=e;i=[a.language===o?a:s]}return r&&(i=i.map(si)),i}var Fe=e=>window.setTimeout(e);function vt(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(bt).filter(gt);return r.length||(r=[t]),r}function Hr(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(ei)}function q(){return document.getElementsByTagName(Xa)?.[0]}var Ke={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},qa=1e3,Za=new Set;function kl(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function Ja(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:i,status:o}=e;return[n,o,i].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!Ke.serializableTypes.includes(r))return r}return e}function Nl(e,t){if(!Ke.ignoredProperties.includes(e))return Ja(t)}var Vi={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],o=t;r.forEach(l=>{l!=null&&(kl(l)?n:i).push(l)}),n.length&&(o+=" "+n.map(Ja).join(" "));let{pathname:a,search:s}=window.location,c=`${Ke.delimiter}page=${a}${s}`;c.length>qa&&(c=`${c.slice(0,qa)}`),o+=c,i.length&&(o+=`${Ke.delimiter}facts=`,o+=JSON.stringify(i,Nl)),Za.has(o)||(Za.add(o),window.lana?.log(o,Ke))}};function At(e){Object.assign(Ke,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in Ke&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var L=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:re.V3,checkoutWorkflowStep:ne.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:ze.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsBufferDelay:1,wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:He.PUBLISHED,wcsBufferLimit:1});var Mi=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function Ol({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||L.language),t??(t=e?.split("_")?.[1]||L.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function Hi(e={}){let{commerce:t={}}=e,r=ze.PRODUCTION,n=Dn,i=O("checkoutClientId",t)??L.checkoutClientId,o=Se(O("checkoutWorkflow",t),re,L.checkoutWorkflow),a=ne.CHECKOUT;o===re.V3&&(a=Se(O("checkoutWorkflowStep",t),ne,L.checkoutWorkflowStep));let s=y(O("displayOldPrice",t),L.displayOldPrice),c=y(O("displayPerUnit",t),L.displayPerUnit),l=y(O("displayRecurrence",t),L.displayRecurrence),h=y(O("displayTax",t),L.displayTax),d=y(O("entitlement",t),L.entitlement),u=y(O("modal",t),L.modal),m=y(O("forceTaxExclusive",t),L.forceTaxExclusive),f=O("promotionCode",t)??L.promotionCode,g=vt(O("quantity",t)),T=O("wcsApiKey",t)??L.wcsApiKey,_=t?.env==="stage",b=He.PUBLISHED;["true",""].includes(t.allowOverride)&&(_=(O($n,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",b=Se(O(Un,t),He,b)),_&&(r=ze.STAGE,n=Bn);let k=bt(O("wcsBufferDelay",t),L.wcsBufferDelay),R=bt(O("wcsBufferLimit",t),L.wcsBufferLimit);return{...Ol(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:o,checkoutWorkflowStep:a,displayPerUnit:c,displayRecurrence:l,displayTax:h,entitlement:d,extraOptions:L.extraOptions,modal:u,env:r,forceTaxExclusive:m,promotionCode:f,quantity:g,wcsApiKey:T,wcsBufferDelay:k,wcsBufferLimit:R,wcsURL:n,landscape:b}}var $i={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Rl=Date.now(),Ui=new Set,Di=new Set,Qa=new Map,es={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},ts={filter:({level:e})=>e!==$i.DEBUG},Vl={filter:()=>!1};function Ml(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Ht(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-Rl}}function Hl(e){[...Di].every(t=>t(e))&&Ui.forEach(t=>t(e))}function rs(e){let t=(Qa.get(e)??0)+1;Qa.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>rs(`${n.namespace}/${i}`),updateConfig:At};return Object.values($i).forEach(i=>{n[i]=(o,...a)=>Hl(Ml(i,o,e,a,r))}),Object.seal(n)}function $r(...e){e.forEach(t=>{let{append:r,filter:n}=t;Ht(n)&&Di.add(n),Ht(r)&&Ui.add(r)})}function $l(e={}){let{name:t}=e,r=y(O("commerce.debug",{search:!0,storage:!0}),t===Mi.LOCAL);return $r(r?es:ts),t===Mi.PROD&&$r(Vi),Y}function Ul(){Ui.clear(),Di.clear()}var Y={...rs(Hn),Level:$i,Plugins:{consoleAppender:es,debugFilter:ts,quietFilter:Vl,lanaAppender:Vi},init:$l,reset:Ul,use:$r};var Dl={[he]:kn,[Ee]:Nn,[de]:On},Bl={[he]:Vn,[de]:Mn},Et=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",ft);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",Ee);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t}update(){[he,Ee,de].forEach(t=>{this.wrapperElement.classList.toggle(Dl[t],t===this.state)})}notify(){(this.state===de||this.state===he)&&(this.state===de?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===he&&this.promises.forEach(({reject:t})=>t(this.error)),this.promises=[]),this.wrapperElement.dispatchEvent(new CustomEvent(Bl[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=Wa(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=ft}onceSettled(){let{error:t,promises:r,state:n}=this;return de===n?Promise.resolve(this.wrapperElement):he===n?Promise.reject(t):new Promise((i,o)=>{r.push({resolve:i,reject:o})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=de,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),Fe(()=>this.notify()),!0)}toggleFailed(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.error=r,this.state=he,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),Fe(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=Ee,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!q()||this.timer)return;let r=Y.module("mas-element"),{error:n,options:i,state:o,value:a,version:s}=this;this.state=Ee,this.timer=Fe(async()=>{this.timer=null;let c=null;if(this.changes.size&&(c=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:c}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:c})),c||t)try{await this.wrapperElement.render?.()===!1&&this.state===Ee&&this.version===s&&(this.state=o,this.error=n,this.value=a,this.update(),this.notify())}catch(l){r.error("Failed to render mas-element: ",l),this.toggleFailed(this.version,l,i)}})}};function ns(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function Ur(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,ns(t)),i}function Dr(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,ns(t)),e):null}var Gl="download",zl="upgrade";function Br(e,t={},r=""){let n=q();if(!n)return null;let{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:d,quantity:u,wcsOsi:m,extraOptions:f}=n.collectCheckoutOptions(t),g=Ur(e,{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:d,quantity:u,wcsOsi:m,extraOptions:f});return r&&(g.innerHTML=`${r}`),g}function Gr(e){return class extends e{constructor(){super(...arguments);p(this,"checkoutActionHandler");p(this,"masElement",new Et(this))}attributeChangedCallback(n,i,o){this.masElement.attributeChangedCallback(n,i,o)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){if(!this.isConnected)return!1;let i=q();if(!i)return!1;this.dataset.imsCountry||i.imsCountryPromise.then(d=>{d&&(this.dataset.imsCountry=d)},ft),n.imsCountry=null;let o=i.collectCheckoutOptions(n,this);if(!o.wcsOsi.length)return!1;let a;try{a=JSON.parse(o.extraOptions??"{}")}catch(d){this.masElement.log?.error("cannot parse exta checkout options",d)}let s=this.masElement.togglePending(o);this.setCheckoutUrl("");let c=i.resolveOfferSelectors(o),l=await Promise.all(c);l=l.map(d=>Yt(d,o)),o.country=this.dataset.imsCountry||o.country;let h=await i.buildCheckoutAction?.(l.flat(),{...a,...o},this);return this.renderOffers(l.flat(),o,{},h,s)}renderOffers(n,i,o={},a=void 0,s=void 0){if(!this.isConnected)return!1;let c=q();if(!c)return!1;if(i={...JSON.parse(this.dataset.extraOptions??"null"),...i,...o},s??(s=this.masElement.togglePending(i)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0),a){this.classList.remove(Gl,zl),this.masElement.toggleResolved(s,n,i);let{url:h,text:d,className:u,handler:m}=a;return h&&this.setCheckoutUrl(h),d&&(this.firstElementChild.innerHTML=d),u&&this.classList.add(...u.split(" ")),m&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=m.bind(this)),!0}else if(n.length){if(this.masElement.toggleResolved(s,n,i)){let h=c.buildCheckoutURL(n,i);return this.setCheckoutUrl(h),!0}}else{let h=new Error(`Not provided: ${i?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,h,i))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let i=q();if(!i)return!1;let{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:d,promotionCode:u,quantity:m,wcsOsi:f}=i.collectCheckoutOptions(n);return Dr(this,{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:d,promotionCode:u,quantity:m,wcsOsi:f}),!0}}}var Xt=class Xt extends Gr(HTMLButtonElement){static createCheckoutButton(t={},r=""){return Br(Xt,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};p(Xt,"is","checkout-button"),p(Xt,"tag","button");var je=Xt;window.customElements.get(je.is)||window.customElements.define(je.is,je,{extends:je.tag});var Fl="#000000",Kl="#F8D904",jl=/(accent|primary|secondary)(-(outline|link))?/,Yl="mas:product_code/",Xl="daa-ll",zr="daa-lh",Wl=["XL","L","M","S"];function ql(e,t,r){e.mnemonicIcon?.map((i,o)=>({icon:i,alt:e.mnemonicAlt[o]??"",link:e.mnemonicLink[o]??""}))?.forEach(({icon:i,alt:o,link:a})=>{if(a&&!/^https?:/.test(a))try{a=new URL(`https://${a}`).href.toString()}catch{a="#"}let s={slot:"icons",src:i,size:r?.size??"l"};o&&(s.alt=o),a&&(s.href=a);let c=te("merch-icon",s);t.append(c)})}function Zl(e,t){e.badge&&(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||Fl),t.setAttribute("badge-background-color",e.badgeBackgroundColor||Kl))}function Jl(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function Ql(e,t,r){e.cardTitle&&r&&t.append(te(r.tag,{slot:r.slot},e.cardTitle))}function eh(e,t,r){e.subtitle&&r&&t.append(te(r.tag,{slot:r.slot},e.subtitle))}function th(e,t,r){if(r?.tag&&e.backgroundImage){let n={loading:"lazy",src:e.backgroundImage};e.backgroundImageAltText?n.alt=e.backgroundImageAltText:n.role="none",t.append(te(r.tag,{slot:r.slot},te("img",n)))}r?.attribute&&t.setAttribute(r.attribute,e.backgroundImage)}function rh(e,t,r){if(e.prices&&r){let n=te(r.tag,{slot:r.slot},e.prices);t.append(n)}}function nh(e,t,r){if(e.description&&r){let n=te(r.tag,{slot:r.slot},e.description);t.append(n)}}function ih(e,t,r,n){let o=customElements.get("checkout-button").createCheckoutButton({},e.innerHTML);o.setAttribute("tabindex",0);for(let h of e.attributes)["class","is"].includes(h.name)||o.setAttribute(h.name,h.value);o.firstElementChild?.classList.add("spectrum-Button-label");let a=t.ctas.size??"M",s=`spectrum-Button--${n}`,c=Wl.includes(a)?`spectrum-Button--size${a}`:"spectrum-Button--sizeM",l=["spectrum-Button",s,c];return r&&l.push("spectrum-Button--outline"),o.classList.add(...l),o}function oh(e,t,r,n){let i="fill";r&&(i="outline");let o=te("sp-button",{treatment:i,variant:n,tabIndex:0,size:t.ctas.size??"m"},e);return o.addEventListener("click",a=>{a.target!==e&&(a.stopPropagation(),e.click())}),o}function ah(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function sh(e,t,r,n){if(e.ctas){let{slot:i}=r.ctas,o=te("div",{slot:i},e.ctas),a=[...o.querySelectorAll("a")].map(s=>{let c=s.parentElement.tagName==="STRONG";if(t.consonant)return ah(s,c);let l=jl.exec(s.className)?.[0]??"accent",h=l.includes("accent"),d=l.includes("primary"),u=l.includes("secondary"),m=l.includes("-outline");if(l.includes("-link"))return s;let g;return h||c?g="accent":d?g="primary":u&&(g="secondary"),t.spectrum==="swc"?oh(s,r,m,g):ih(s,r,m,g)});o.innerHTML="",o.append(...a),t.append(o)}}function ch(e,t){let{tags:r}=e,n=r?.find(i=>i.startsWith(Yl))?.split("/").pop();n&&(t.setAttribute(zr,n),t.querySelectorAll("a[data-analytics-id],button[data-analytics-id]").forEach((i,o)=>{i.setAttribute(Xl,`${i.dataset.analyticsId}-${o+1}`)}))}function lh(e){e.spectrum==="css"&&[["primary-link","primary"],["secondary-link","secondary"]].forEach(([t,r])=>{e.querySelectorAll(`a.${t}`).forEach(n=>{n.classList.remove(t),n.classList.add("spectrum-Link",`spectrum-Link--${r}`)})})}async function is(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;t.id=e.id,t.querySelectorAll("[slot]").forEach(o=>{o.remove()}),t.removeAttribute("background-image"),t.removeAttribute("badge-background-color"),t.removeAttribute("badge-color"),t.removeAttribute("badge-text"),t.removeAttribute("size"),t.classList.remove("wide-strip"),t.classList.remove("thin-strip"),t.removeAttribute(zr),t.variant=n,await t.updateComplete;let{aemFragmentMapping:i}=t.variantLayout;i&&(ql(r,t,i.mnemonics),Zl(r,t),Jl(r,t,i.allowedSizes),Ql(r,t,i.title),eh(r,t,i.subtitle),rh(r,t,i.prices),th(r,t,i.backgroundImage,n),nh(r,t,i.description),sh(r,t,i,n),ch(r,t),lh(t))}var hh="merch-card",dh=":start",uh=":ready",mh=1e4,os="merch-card:",qt,Bi,Wt=class extends ee{constructor(){super();F(this,qt);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}firstUpdated(){this.variantLayout=zn(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=zn(this),this.variantLayout.connectedCallbackHook())}updated(r){(r.has("badgeBackgroundColor")||r.has("borderColor"))&&this.style.setProperty("--consonant-merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(r)}get theme(){return this.closest("sp-theme")}get dir(){return this.closest("[dir]")?.getAttribute("dir")??"ltr"}get prices(){return Array.from(this.querySelectorAll('span[is="inline-price"][data-wcs-osi]'))}render(){if(!(!this.isConnected||!this.variantLayout||this.style.display==="none"))return this.variantLayout.renderLayout()}get computedBorderStyle(){return["twp","ccd-slice","ccd-suggested"].includes(this.variant)?"":`1px solid ${this.borderColor?this.borderColor:this.badgeBackgroundColor}`}get badgeElement(){return this.shadowRoot.getElementById("badge")}get headingmMSlot(){return this.shadowRoot.querySelector('slot[name="heading-m"]').assignedElements()[0]}get footerSlot(){return this.shadowRoot.querySelector('slot[name="footer"]')?.assignedElements()[0]}get price(){return this.headingmMSlot?.querySelector('span[is="inline-price"]')}get checkoutLinks(){return[...this.footerSlot?.querySelectorAll('a[is="checkout-link"]')??[]]}async toggleStockOffer({target:r}){if(!this.stockOfferOsis)return;let n=this.checkoutLinks;if(n.length!==0)for(let i of n){await i.onceSettled();let o=i.value?.[0]?.planType;if(!o)return;let a=this.stockOfferOsis[o];if(!a)return;let s=i.dataset.wcsOsi.split(",").filter(c=>c!==a);r.checked&&s.push(a),i.dataset.wcsOsi=s.join(",")}}handleQuantitySelection(r){let n=this.checkoutLinks;for(let i of n)i.dataset.quantity=r.detail.option}get titleElement(){return this.querySelector(this.variantLayout?.headingSelector||".card-heading")}get title(){return this.titleElement?.textContent?.trim()}get description(){return this.querySelector('[slot="body-xs"]')?.textContent?.trim()}updateFilters(r){let n={...this.filters};Object.keys(n).forEach(i=>{if(r){n[i].order=Math.min(n[i].order||2,2);return}let o=n[i].order;o===1||isNaN(o)||(n[i].order=Number(o)+1)}),this.filters=n}includes(r){return this.textContent.match(new RegExp(r,"i"))!==null}connectedCallback(){super.connectedCallback();let r=this.querySelector("aem-fragment")?.getAttribute("fragment");performance.mark(`${os}${r}${dh}`),this.addEventListener(xr,this.handleQuantitySelection),this.addEventListener(_n,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(Me,this.handleAemFragmentEvents),this.addEventListener(Ve,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(xr,this.handleQuantitySelection),this.storageOptions?.removeEventListener(gr,this.handleStorageChange),this.removeEventListener(Me,this.handleAemFragmentEvents),this.removeEventListener(Ve,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===Me&&ge(this,qt,Bi).call(this,"AEM fragment cannot be loaded"),r.type===Ve&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await is(n,this),this.checkReady()}}async checkReady(){let r=Promise.all([...this.querySelectorAll('span[is="inline-price"][data-wcs-osi],a[is="checkout-link"][data-wcs-osi]')].map(o=>o.onceSettled().catch(()=>o))).then(o=>o.every(a=>a.classList.contains("placeholder-resolved"))),n=new Promise(o=>setTimeout(()=>o(!1),mh));if(await Promise.race([r,n])===!0){performance.mark(`${os}${this.id}${uh}`),this.dispatchEvent(new CustomEvent(Pn,{bubbles:!0,composed:!0}));return}ge(this,qt,Bi).call(this,"Contains unresolved offers")}get aemFragment(){return this.querySelector("aem-fragment")}get storageOptions(){return this.querySelector("sp-radio-group#storage")}get storageSpecificOfferSelect(){let r=this.storageOptions?.selected;if(r){let n=this.querySelector(`merch-offer-select[storage="${r}"]`);if(n)return n}return this.querySelector("merch-offer-select")}get offerSelect(){return this.storageOptions?this.storageSpecificOfferSelect:this.querySelector("merch-offer-select")}get quantitySelect(){return this.querySelector("merch-quantity-select")}displayFooterElementsInColumn(){if(!this.classList.contains("product"))return;let r=this.shadowRoot.querySelector(".secure-transaction-label");(this.footerSlot?.querySelectorAll('a[is="checkout-link"].con-button')).length===2&&r&&r.parentElement.classList.add("footer-column")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||(this.dispatchEvent(new CustomEvent(wn,{bubbles:!0})),this.displayFooterElementsInColumn())}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(gr,{detail:{offerSelect:r},bubbles:!0}))}get dynamicPrice(){return this.querySelector('[slot="price"]')}selectMerchOffer(r){if(r===this.merchOffer)return;this.merchOffer=r;let n=this.dynamicPrice;if(r.price&&n){let i=r.price.cloneNode(!0);n.onceSettled?n.onceSettled().then(()=>{n.replaceWith(i)}):n.replaceWith(i)}}};qt=new WeakSet,Bi=function(r){this.dispatchEvent(new CustomEvent(In,{detail:r,bubbles:!0,composed:!0}))},p(Wt,"properties",{name:{type:String,attribute:"name",reflect:!0},variant:{type:String,reflect:!0},size:{type:String,attribute:"size",reflect:!0},badgeColor:{type:String,attribute:"badge-color",reflect:!0},borderColor:{type:String,attribute:"border-color",reflect:!0},badgeBackgroundColor:{type:String,attribute:"badge-background-color",reflect:!0},backgroundImage:{type:String,attribute:"background-image",reflect:!0},badgeText:{type:String,attribute:"badge-text"},actionMenu:{type:Boolean,attribute:"action-menu"},customHr:{type:Boolean,attribute:"custom-hr"},consonant:{type:Boolean,attribute:"consonant"},spectrum:{type:String,attribute:"spectrum"},detailBg:{type:String,attribute:"detail-bg"},secureLabel:{type:String,attribute:"secure-label"},checkboxLabel:{type:String,attribute:"checkbox-label"},selected:{type:Boolean,attribute:"aria-selected",reflect:!0},storageOption:{type:String,attribute:"storage",reflect:!0},stockOfferOsis:{type:Object,attribute:"stock-offer-osis",converter:{fromAttribute:r=>{let[n,i,o]=r.split(",");return{PUF:n,ABM:i,M2M:o}}}},filters:{type:String,reflect:!0,converter:{fromAttribute:r=>Object.fromEntries(r.split(",").map(n=>{let[i,o,a]=n.split(":"),s=Number(o);return[i,{order:isNaN(s)?void 0:s,size:a}]})),toAttribute:r=>Object.entries(r).map(([n,{order:i,size:o}])=>[n,i,o].filter(a=>a!=null).join(":")).join(",")}},types:{type:String,attribute:"types",reflect:!0},merchOffer:{type:Object},analyticsId:{type:String,attribute:zr,reflect:!0}}),p(Wt,"styles",[Oo,Yo(),...Ro()]);customElements.define(hh,Wt);var St=class extends ee{constructor(){super(),this.size="m",this.alt=""}render(){let{href:t}=this;return t?x` +`,Ue.MISSING_INTL_API,a);var k=r.getPluralRules(t,{type:h.pluralType}).select(u-(h.offset||0));S=h.options[k]||h.options.other}if(!S)throw new yi(h.value,u,Object.keys(h.options),a);s.push.apply(s,Xt(S.value,t,r,n,i,u-(h.offset||0)));continue}}return hl(s)}function ul(e,t){return t?A(A(A({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=A(A({},e[n]),t[n]||{}),r},{})):e}function ml(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=ul(e[n],t[n]),r},A({},e)):e}function Ti(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function pl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:jt(function(){for(var t,r=[],n=0;n0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=Ia,e.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"}}},e}();var Ma=Va;var fl=/[0-9\-+#]/,gl=/[^\d\-+#]/g;function Ha(e){return e.search(fl)}function xl(e="#.##"){let t={},r=e.length,n=Ha(e);t.prefix=n>0?e.substring(0,n):"";let i=Ha(e.split("").reverse().join("")),o=r-i,a=e.substring(o,o+1),s=o+(a==="."||a===","?1:0);t.suffix=i>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let c=t.mask.match(gl);return t.decimal=c&&c[c.length-1]||".",t.separator=c&&c[1]&&c[0]||",",c=t.mask.split(t.decimal),t.integer=c[0],t.fraction=c[1],t}function bl(e,t,r){let n=!1,i={value:e};e<0&&(n=!0,i.value=-i.value),i.sign=n?"-":"",i.value=Number(i.value).toFixed(t.fraction&&t.fraction.length),i.value=Number(i.value).toString();let o=t.fraction&&t.fraction.lastIndexOf("0"),[a="0",s=""]=i.value.split(".");return(!s||s&&s.length<=o)&&(s=o<0?"":(+("0."+s)).toFixed(o+1).replace("0.","")),i.integer=a,i.fraction=s,vl(i,t),(i.result==="0"||i.result==="")&&(n=!1,i.sign=""),!n&&t.maskHasPositiveSign?i.sign="+":n&&t.maskHasPositiveSign?i.sign="-":n&&(i.sign=r&&r.enforceMaskSign&&!t.maskHasNegativeSign?"":"-"),i}function vl(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),i=n&&n.indexOf("0");if(i>-1)for(;e.integer.lengthe*12,za=(e,t)=>{let{start:r,end:n,displaySummary:{amount:i,duration:o,minProductQuantity:a,outcomeType:s}={}}=e;if(!(i&&o&&s&&a))return!1;let c=t?new Date(t):new Date;if(!r||!n)return!1;let l=new Date(r),h=new Date(n);return c>=l&&c<=h},De={MONTH:"MONTH",YEAR:"YEAR"},Sl={[N.ANNUAL]:12,[N.MONTHLY]:1,[N.THREE_YEARS]:36,[N.TWO_YEARS]:24},wi=(e,t)=>({accept:e,round:t}),yl=[wi(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),wi(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),wi(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],_i={[$.YEAR]:{[N.MONTHLY]:De.MONTH,[N.ANNUAL]:De.YEAR},[$.MONTH]:{[N.MONTHLY]:De.MONTH}},Tl=(e,t)=>e.indexOf(`'${t}'`)===0,Ll=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Ka(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+_l(e)),r},wl=e=>{let t=Pl(e),r=Tl(e,t),n=e.replace(/'.*?'/,""),i=Ba.test(n)||Ga.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},Fa=e=>e.replace(Ba,Da).replace(Ga,Da),_l=e=>e.match(/#(.?)#/)?.[1]===Ua?El:Ua,Pl=e=>e.match(/'(.*?)'/)?.[1]??"",Ka=e=>e.match(/0(.?)0/)?.[1]??"";function xt({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,o=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=wl(e),l=r?Ka(e):"",h=Ll(e,r),d=r?2:0,u=o(t,{currencySymbol:a}),m=n?u.toLocaleString("hi-IN",{minimumFractionDigits:d,maximumFractionDigits:d}):$a(h,u),g=r?m.lastIndexOf(l):m.length,f=m.substring(0,g),T=m.substring(g+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,a),currencySymbol:a,decimals:T,decimalsDelimiter:l,hasCurrencySpace:c,integer:f,isCurrencyFirst:s,recurrenceTerm:i}}var ja=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=Sl[r]??1;return xt(e,i>1?De.MONTH:_i[t]?.[r],o=>{let a={divisor:i,price:o,usePrecision:n},{round:s}=yl.find(({accept:c})=>c(a));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(a)}`);return s(a)})},Ya=({commitment:e,term:t,...r})=>xt(r,_i[e]?.[t]),Xa=e=>{let{commitment:t,instant:r,price:n,originalPrice:i,priceWithoutDiscount:o,promotion:a,quantity:s=1,term:c}=e;if(t===$.YEAR&&c===N.MONTHLY){if(!a)return xt(e,De.YEAR,Li);let{displaySummary:{outcomeType:l,duration:h,minProductQuantity:d=1}={}}=a;switch(l){case"PERCENTAGE_DISCOUNT":if(s>=d&&za(a,r)){let u=parseInt(h.replace("P","").replace("M",""));if(isNaN(u))return Li(n);let m=s*i*u,g=s*o*(12-u),f=Math.floor((m+g)*100)/100;return xt({...e,price:f},De.YEAR)}default:return xt(e,De.YEAR,()=>Li(o??n))}}return xt(e,_i[t]?.[c])};var Cl={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},Il=aa("ConsonantTemplates/price"),kl=/<\/?[^>]+(>|$)/g,G={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},Be={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Nl="TAX_EXCLUSIVE",Ol=e=>oa(e)?Object.entries(e).filter(([,t])=>ut(t)||_r(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+na(n)+'"'}`,""):"",K=(e,t,r,n=!1)=>`${n?Fa(t):t??""}`;function Rl(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:o,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},d={}){let u=K(G.currencySymbol,r),m=K(G.currencySpace,o?" ":""),g="";return s&&(g+=u+m),g+=K(G.integer,a),g+=K(G.decimalsDelimiter,i),g+=K(G.decimals,n),s||(g+=m+u),g+=K(G.recurrence,c,null,!0),g+=K(G.unitType,l,null,!0),g+=K(G.taxInclusivity,h,!0),K(e,g,{...d,"aria-label":t})}var W=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1,instant:n=void 0}={})=>({country:i,displayFormatted:o=!0,displayRecurrence:a=!0,displayPerUnit:s=!1,displayTax:c=!1,language:l,literals:h={},quantity:d=1}={},{commitment:u,offerSelectorIds:m,formatString:g,price:f,priceWithoutDiscount:T,taxDisplay:w,taxTerm:b,term:S,usePrecision:k,promotion:R}={},U={})=>{Object.entries({country:i,formatString:g,language:l,price:f}).forEach(([ae,qr])=>{if(qr==null)throw new Error(`Argument "${ae}" is missing for osi ${m?.toString()}, country ${i}, language ${l}`)});let H={...Cl,...h},me=`${l.toLowerCase()}-${i.toUpperCase()}`;function Z(ae,qr){let Zr=H[ae];if(Zr==null)return"";try{return new Ma(Zr.replace(kl,""),me).format(qr)}catch{return Il.error("Failed to format literal:",Zr),""}}let yt=t&&T?T:f,Ye=e?ja:Ya;r&&(Ye=Xa);let{accessiblePrice:Tt,recurrenceTerm:pe,...fe}=Ye({commitment:u,formatString:g,instant:n,isIndianPrice:i==="IN",originalPrice:f,priceWithoutDiscount:T,price:e?f:yt,promotion:R,quantity:d,term:S,usePrecision:k}),J=Tt,Lt="";if(y(a)&&pe){let ae=Z(Be.recurrenceAriaLabel,{recurrenceTerm:pe});ae&&(J+=" "+ae),Lt=Z(Be.recurrenceLabel,{recurrenceTerm:pe})}let Wr="";if(y(s)){Wr=Z(Be.perUnitLabel,{perUnit:"LICENSE"});let ae=Z(Be.perUnitAriaLabel,{perUnit:"LICENSE"});ae&&(J+=" "+ae)}let wt="";y(c)&&b&&(wt=Z(w===Nl?Be.taxExclusiveLabel:Be.taxInclusiveLabel,{taxTerm:b}),wt&&(J+=" "+wt)),t&&(J=Z(Be.strikethroughAriaLabel,{strikethroughPrice:J}));let _t=G.container;if(e&&(_t+=" "+G.containerOptical),t&&(_t+=" "+G.containerStrikethrough),r&&(_t+=" "+G.containerAnnual),y(o))return Rl(_t,{...fe,accessibleLabel:J,recurrenceLabel:Lt,perUnitLabel:Wr,taxInclusivityLabel:wt},U);let{currencySymbol:Zi,decimals:Ls,decimalsDelimiter:ws,hasCurrencySpace:Ji,integer:_s,isCurrencyFirst:Ps}=fe,Xe=[_s,ws,Ls];Ps?(Xe.unshift(Ji?"\xA0":""),Xe.unshift(Zi)):(Xe.push(Ji?"\xA0":""),Xe.push(Zi)),Xe.push(Lt,Wr,wt);let Cs=Xe.join("");return K(_t,Cs,U)},Wa=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||y(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${W()(e,t,r)}${i?" "+W({displayStrikethrough:!0})(e,t,r):""}`},qa=()=>(e,t,r)=>{let{instant:n}=e;try{n||(n=new URLSearchParams(document.location.search).get("instant")),n&&(n=new Date(n))}catch{n=void 0}let i={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||y(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?W({displayStrikethrough:!0})(i,t,r)+" ":""}${W()(e,t,r)}${K(G.containerAnnualPrefix," (")}${W({displayAnnual:!0,instant:n})(i,t,r)}${K(G.containerAnnualSuffix,")")}`},Za=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${W()(e,t,r)}${K(G.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${K(G.containerAnnualSuffix,")")}`};var Pi=W(),Ci=Wa(),Ii=W({displayOptical:!0}),ki=W({displayStrikethrough:!0}),Ni=W({displayAnnual:!0}),Oi=Za(),Ri=qa();var Vl=(e,t)=>{if(!(!pt(e)||!pt(t)))return Math.floor((t-e)/t*100)},Ja=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Vl(r,n);return i===void 0?'':`${i}%`};var Vi=Ja();var{freeze:Wt}=Object,re=Wt({...He}),ne=Wt({...Q}),Ge={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},Mi=Wt({...$}),Hi=Wt({...ca}),$i=Wt({...N});var Qa="mas-commerce-service";function es(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(Qa);i!==r&&(r=i,i&&e(i))}return document.addEventListener(rt,n,{once:t}),ze(n),()=>document.removeEventListener(rt,n)}function qt(e,{country:t,forceTaxExclusive:r,perpetual:n}){let i;if(e.length<2)i=e;else{let o=t==="GB"||n?"EN":"MULT",[a,s]=e;i=[a.language===o?a:s]}return r&&(i=i.map(hi)),i}var ze=e=>window.setTimeout(e);function bt(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(gt).filter(pt);return r.length||(r=[t]),r}function Ur(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(ni)}function q(){return document.getElementsByTagName(Qa)?.[0]}var Fe={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},ts=1e3,rs=new Set;function Ml(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function ns(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:i,status:o}=e;return[n,o,i].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!Fe.serializableTypes.includes(r))return r}return e}function Hl(e,t){if(!Fe.ignoredProperties.includes(e))return ns(t)}var Ui={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],o=t;r.forEach(l=>{l!=null&&(Ml(l)?n:i).push(l)}),n.length&&(o+=" "+n.map(ns).join(" "));let{pathname:a,search:s}=window.location,c=`${Fe.delimiter}page=${a}${s}`;c.length>ts&&(c=`${c.slice(0,ts)}`),o+=c,i.length&&(o+=`${Fe.delimiter}facts=`,o+=JSON.stringify(i,Hl)),rs.has(o)||(rs.add(o),window.lana?.log(o,Fe))}};function vt(e){Object.assign(Fe,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in Fe&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var L=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:re.V3,checkoutWorkflowStep:ne.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:Ge.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsBufferDelay:1,wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:Ve.PUBLISHED,wcsBufferLimit:1});var Di=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function $l({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||L.language),t??(t=e?.split("_")?.[1]||L.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function Bi(e={}){let{commerce:t={}}=e,r=Ge.PRODUCTION,n=zn,i=O("checkoutClientId",t)??L.checkoutClientId,o=Se(O("checkoutWorkflow",t),re,L.checkoutWorkflow),a=ne.CHECKOUT;o===re.V3&&(a=Se(O("checkoutWorkflowStep",t),ne,L.checkoutWorkflowStep));let s=y(O("displayOldPrice",t),L.displayOldPrice),c=y(O("displayPerUnit",t),L.displayPerUnit),l=y(O("displayRecurrence",t),L.displayRecurrence),h=y(O("displayTax",t),L.displayTax),d=y(O("entitlement",t),L.entitlement),u=y(O("modal",t),L.modal),m=y(O("forceTaxExclusive",t),L.forceTaxExclusive),g=O("promotionCode",t)??L.promotionCode,f=bt(O("quantity",t)),T=O("wcsApiKey",t)??L.wcsApiKey,w=t?.env==="stage",b=Ve.PUBLISHED;["true",""].includes(t.allowOverride)&&(w=(O(Bn,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",b=Se(O(Gn,t),Ve,b)),w&&(r=Ge.STAGE,n=Fn);let k=gt(O("wcsBufferDelay",t),L.wcsBufferDelay),R=gt(O("wcsBufferLimit",t),L.wcsBufferLimit);return{...$l(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:o,checkoutWorkflowStep:a,displayPerUnit:c,displayRecurrence:l,displayTax:h,entitlement:d,extraOptions:L.extraOptions,modal:u,env:r,forceTaxExclusive:m,promotionCode:g,quantity:f,wcsApiKey:T,wcsBufferDelay:k,wcsBufferLimit:R,wcsURL:n,landscape:b}}var Gi={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Ul=Date.now(),zi=new Set,Fi=new Set,is=new Map,os={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},as={filter:({level:e})=>e!==Gi.DEBUG},Dl={filter:()=>!1};function Bl(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Bt(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-Ul}}function Gl(e){[...Fi].every(t=>t(e))&&zi.forEach(t=>t(e))}function ss(e){let t=(is.get(e)??0)+1;is.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>ss(`${n.namespace}/${i}`),updateConfig:vt};return Object.values(Gi).forEach(i=>{n[i]=(o,...a)=>Gl(Bl(i,o,e,a,r))}),Object.seal(n)}function Dr(...e){e.forEach(t=>{let{append:r,filter:n}=t;Bt(n)&&Fi.add(n),Bt(r)&&zi.add(r)})}function zl(e={}){let{name:t}=e,r=y(O("commerce.debug",{search:!0,storage:!0}),t===Di.LOCAL);return Dr(r?os:as),t===Di.PROD&&Dr(Ui),Y}function Fl(){zi.clear(),Fi.clear()}var Y={...ss(Dn),Level:Gi,Plugins:{consoleAppender:os,debugFilter:as,quietFilter:Dl,lanaAppender:Ui},init:zl,reset:Fl,use:Dr};var Kl={[ce]:Rn,[Ee]:Vn,[le]:Mn},jl={[ce]:$n,[le]:Un},At=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",mt);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",Ee);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t}update(){[ce,Ee,le].forEach(t=>{this.wrapperElement.classList.toggle(Kl[t],t===this.state)})}notify(){(this.state===le||this.state===ce)&&(this.state===le?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===ce&&this.promises.forEach(({reject:t})=>t(this.error)),this.promises=[]),this.wrapperElement.dispatchEvent(new CustomEvent(jl[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=es(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=mt}onceSettled(){let{error:t,promises:r,state:n}=this;return le===n?Promise.resolve(this.wrapperElement):ce===n?Promise.reject(t):new Promise((i,o)=>{r.push({resolve:i,reject:o})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=le,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),ze(()=>this.notify()),!0)}toggleFailed(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.error=r,this.state=ce,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),ze(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=Ee,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!q()||this.timer)return;let r=Y.module("mas-element"),{error:n,options:i,state:o,value:a,version:s}=this;this.state=Ee,this.timer=ze(async()=>{this.timer=null;let c=null;if(this.changes.size&&(c=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:c}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:c})),c||t)try{await this.wrapperElement.render?.()===!1&&this.state===Ee&&this.version===s&&(this.state=o,this.error=n,this.value=a,this.update(),this.notify())}catch(l){r.error("Failed to render mas-element: ",l),this.toggleFailed(this.version,l,i)}})}};function cs(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function Br(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,cs(t)),i}function Gr(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,cs(t)),e):null}var Yl="download",Xl="upgrade";function zr(e,t={},r=""){let n=q();if(!n)return null;let{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:d,quantity:u,wcsOsi:m,extraOptions:g}=n.collectCheckoutOptions(t),f=Br(e,{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:d,quantity:u,wcsOsi:m,extraOptions:g});return r&&(f.innerHTML=`${r}`),f}function Fr(e){return class extends e{constructor(){super(...arguments);p(this,"checkoutActionHandler");p(this,"masElement",new At(this))}attributeChangedCallback(n,i,o){this.masElement.attributeChangedCallback(n,i,o)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){if(!this.isConnected)return!1;let i=q();if(!i)return!1;this.dataset.imsCountry||i.imsCountryPromise.then(d=>{d&&(this.dataset.imsCountry=d)},mt),n.imsCountry=null;let o=i.collectCheckoutOptions(n,this);if(!o.wcsOsi.length)return!1;let a;try{a=JSON.parse(o.extraOptions??"{}")}catch(d){this.masElement.log?.error("cannot parse exta checkout options",d)}let s=this.masElement.togglePending(o);this.setCheckoutUrl("");let c=i.resolveOfferSelectors(o),l=await Promise.all(c);l=l.map(d=>qt(d,o)),o.country=this.dataset.imsCountry||o.country;let h=await i.buildCheckoutAction?.(l.flat(),{...a,...o},this);return this.renderOffers(l.flat(),o,{},h,s)}renderOffers(n,i,o={},a=void 0,s=void 0){if(!this.isConnected)return!1;let c=q();if(!c)return!1;if(i={...JSON.parse(this.dataset.extraOptions??"null"),...i,...o},s??(s=this.masElement.togglePending(i)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0),a){this.classList.remove(Yl,Xl),this.masElement.toggleResolved(s,n,i);let{url:h,text:d,className:u,handler:m}=a;return h&&this.setCheckoutUrl(h),d&&(this.firstElementChild.innerHTML=d),u&&this.classList.add(...u.split(" ")),m&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=m.bind(this)),!0}else if(n.length){if(this.masElement.toggleResolved(s,n,i)){let h=c.buildCheckoutURL(n,i);return this.setCheckoutUrl(h),!0}}else{let h=new Error(`Not provided: ${i?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,h,i))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let i=q();if(!i)return!1;let{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:d,promotionCode:u,quantity:m,wcsOsi:g}=i.collectCheckoutOptions(n);return Gr(this,{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:d,promotionCode:u,quantity:m,wcsOsi:g}),!0}}}var Zt=class Zt extends Fr(HTMLButtonElement){static createCheckoutButton(t={},r=""){return zr(Zt,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};p(Zt,"is","checkout-button"),p(Zt,"tag","button");var Ke=Zt;window.customElements.get(Ke.is)||window.customElements.define(Ke.is,Ke,{extends:Ke.tag});var Wl="#000000",ql="#F8D904",Zl=/(accent|primary|secondary)(-(outline|link))?/,Jl="mas:product_code/",Ql="daa-ll",Kr="daa-lh",eh=["XL","L","M","S"];function th(e,t,r){e.mnemonicIcon?.map((i,o)=>({icon:i,alt:e.mnemonicAlt[o]??"",link:e.mnemonicLink[o]??""}))?.forEach(({icon:i,alt:o,link:a})=>{if(a&&!/^https?:/.test(a))try{a=new URL(`https://${a}`).href.toString()}catch{a="#"}let s={slot:"icons",src:i,size:r?.size??"l"};o&&(s.alt=o),a&&(s.href=a);let c=te("merch-icon",s);t.append(c)})}function rh(e,t){e.badge&&(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||Wl),t.setAttribute("badge-background-color",e.badgeBackgroundColor||ql))}function nh(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function ih(e,t,r){e.cardTitle&&r&&t.append(te(r.tag,{slot:r.slot},e.cardTitle))}function oh(e,t,r){e.subtitle&&r&&t.append(te(r.tag,{slot:r.slot},e.subtitle))}function ah(e,t,r){if(r?.tag&&e.backgroundImage){let n={loading:"lazy",src:e.backgroundImage};e.backgroundImageAltText?n.alt=e.backgroundImageAltText:n.role="none",t.append(te(r.tag,{slot:r.slot},te("img",n)))}r?.attribute&&t.setAttribute(r.attribute,e.backgroundImage)}function sh(e,t,r){if(e.prices&&r){let n=te(r.tag,{slot:r.slot},e.prices);t.append(n)}}function ch(e,t,r){if(e.description&&r){let n=te(r.tag,{slot:r.slot},e.description);t.append(n)}}function lh(e,t,r,n){let o=customElements.get("checkout-button").createCheckoutButton({},e.innerHTML);o.setAttribute("tabindex",0);for(let h of e.attributes)["class","is"].includes(h.name)||o.setAttribute(h.name,h.value);o.firstElementChild?.classList.add("spectrum-Button-label");let a=t.ctas.size??"M",s=`spectrum-Button--${n}`,c=eh.includes(a)?`spectrum-Button--size${a}`:"spectrum-Button--sizeM",l=["spectrum-Button",s,c];return r&&l.push("spectrum-Button--outline"),o.classList.add(...l),o}function hh(e,t,r,n){let i="fill";r&&(i="outline");let o=te("sp-button",{treatment:i,variant:n,tabIndex:0,size:t.ctas.size??"m"},e);return o.addEventListener("click",a=>{a.target!==e&&(a.stopPropagation(),e.click())}),o}function dh(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function uh(e,t,r,n){if(e.ctas){let{slot:i}=r.ctas,o=te("div",{slot:i},e.ctas),a=[...o.querySelectorAll("a")].map(s=>{let c=s.parentElement.tagName==="STRONG";if(t.consonant)return dh(s,c);let l=Zl.exec(s.className)?.[0]??"accent",h=l.includes("accent"),d=l.includes("primary"),u=l.includes("secondary"),m=l.includes("-outline");if(l.includes("-link"))return s;let f;return h||c?f="accent":d?f="primary":u&&(f="secondary"),t.spectrum==="swc"?hh(s,r,m,f):lh(s,r,m,f)});o.innerHTML="",o.append(...a),t.append(o)}}function mh(e,t){let{tags:r}=e,n=r?.find(i=>i.startsWith(Jl))?.split("/").pop();n&&(t.setAttribute(Kr,n),t.querySelectorAll("a[data-analytics-id],button[data-analytics-id]").forEach((i,o)=>{i.setAttribute(Ql,`${i.dataset.analyticsId}-${o+1}`)}))}function ph(e){e.spectrum==="css"&&[["primary-link","primary"],["secondary-link","secondary"]].forEach(([t,r])=>{e.querySelectorAll(`a.${t}`).forEach(n=>{n.classList.remove(t),n.classList.add("spectrum-Link",`spectrum-Link--${r}`)})})}async function ls(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;t.id=e.id,t.querySelectorAll("[slot]").forEach(o=>{o.remove()}),t.removeAttribute("background-image"),t.removeAttribute("badge-background-color"),t.removeAttribute("badge-color"),t.removeAttribute("badge-text"),t.removeAttribute("size"),t.classList.remove("wide-strip"),t.classList.remove("thin-strip"),t.removeAttribute(Kr),t.variant=n,await t.updateComplete;let{aemFragmentMapping:i}=t.variantLayout;i&&(th(r,t,i.mnemonics),rh(r,t),nh(r,t,i.allowedSizes),ih(r,t,i.title),oh(r,t,i.subtitle),sh(r,t,i.prices),ah(r,t,i.backgroundImage,n),ch(r,t,i.description),uh(r,t,i,n),mh(r,t),ph(t))}var fh="merch-card",gh=":start",xh=":ready",bh=1e4,hs="merch-card:",Qt,Ki,Jt=class extends ee{constructor(){super();F(this,Qt);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}firstUpdated(){this.variantLayout=jn(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=jn(this),this.variantLayout.connectedCallbackHook())}updated(r){(r.has("badgeBackgroundColor")||r.has("borderColor"))&&this.style.setProperty("--consonant-merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(r)}get theme(){return this.closest("sp-theme")}get dir(){return this.closest("[dir]")?.getAttribute("dir")??"ltr"}get prices(){return Array.from(this.querySelectorAll('span[is="inline-price"][data-wcs-osi]'))}render(){if(!(!this.isConnected||!this.variantLayout||this.style.display==="none"))return this.variantLayout.renderLayout()}get computedBorderStyle(){return["twp","ccd-slice","ccd-suggested"].includes(this.variant)?"":`1px solid ${this.borderColor?this.borderColor:this.badgeBackgroundColor}`}get badgeElement(){return this.shadowRoot.getElementById("badge")}get headingmMSlot(){return this.shadowRoot.querySelector('slot[name="heading-m"]').assignedElements()[0]}get footerSlot(){return this.shadowRoot.querySelector('slot[name="footer"]')?.assignedElements()[0]}get price(){return this.headingmMSlot?.querySelector('span[is="inline-price"]')}get checkoutLinks(){return[...this.footerSlot?.querySelectorAll('a[is="checkout-link"]')??[]]}async toggleStockOffer({target:r}){if(!this.stockOfferOsis)return;let n=this.checkoutLinks;if(n.length!==0)for(let i of n){await i.onceSettled();let o=i.value?.[0]?.planType;if(!o)return;let a=this.stockOfferOsis[o];if(!a)return;let s=i.dataset.wcsOsi.split(",").filter(c=>c!==a);r.checked&&s.push(a),i.dataset.wcsOsi=s.join(",")}}handleQuantitySelection(r){let n=this.checkoutLinks;for(let i of n)i.dataset.quantity=r.detail.option}get titleElement(){return this.querySelector(this.variantLayout?.headingSelector||".card-heading")}get title(){return this.titleElement?.textContent?.trim()}get description(){return this.querySelector('[slot="body-xs"]')?.textContent?.trim()}updateFilters(r){let n={...this.filters};Object.keys(n).forEach(i=>{if(r){n[i].order=Math.min(n[i].order||2,2);return}let o=n[i].order;o===1||isNaN(o)||(n[i].order=Number(o)+1)}),this.filters=n}includes(r){return this.textContent.match(new RegExp(r,"i"))!==null}connectedCallback(){super.connectedCallback();let r=this.querySelector("aem-fragment")?.getAttribute("fragment");performance.mark(`${hs}${r}${gh}`),this.addEventListener(Ar,this.handleQuantitySelection),this.addEventListener(Cn,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(Re,this.handleAemFragmentEvents),this.addEventListener(Oe,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(Ar,this.handleQuantitySelection),this.storageOptions?.removeEventListener(vr,this.handleStorageChange),this.removeEventListener(Re,this.handleAemFragmentEvents),this.removeEventListener(Oe,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===Re&&ge(this,Qt,Ki).call(this,"AEM fragment cannot be loaded"),r.type===Oe&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await ls(n,this),this.checkReady()}}async checkReady(){let r=Promise.all([...this.querySelectorAll('span[is="inline-price"][data-wcs-osi],a[is="checkout-link"][data-wcs-osi]')].map(o=>o.onceSettled().catch(()=>o))).then(o=>o.every(a=>a.classList.contains("placeholder-resolved"))),n=new Promise(o=>setTimeout(()=>o(!1),bh));if(await Promise.race([r,n])===!0){performance.mark(`${hs}${this.id}${xh}`),this.dispatchEvent(new CustomEvent(Nn,{bubbles:!0,composed:!0}));return}ge(this,Qt,Ki).call(this,"Contains unresolved offers")}get aemFragment(){return this.querySelector("aem-fragment")}get storageOptions(){return this.querySelector("sp-radio-group#storage")}get storageSpecificOfferSelect(){let r=this.storageOptions?.selected;if(r){let n=this.querySelector(`merch-offer-select[storage="${r}"]`);if(n)return n}return this.querySelector("merch-offer-select")}get offerSelect(){return this.storageOptions?this.storageSpecificOfferSelect:this.querySelector("merch-offer-select")}get quantitySelect(){return this.querySelector("merch-quantity-select")}displayFooterElementsInColumn(){if(!this.classList.contains("product"))return;let r=this.shadowRoot.querySelector(".secure-transaction-label");(this.footerSlot?.querySelectorAll('a[is="checkout-link"].con-button')).length===2&&r&&r.parentElement.classList.add("footer-column")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||(this.dispatchEvent(new CustomEvent(In,{bubbles:!0})),this.displayFooterElementsInColumn())}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(vr,{detail:{offerSelect:r},bubbles:!0}))}get dynamicPrice(){return this.querySelector('[slot="price"]')}selectMerchOffer(r){if(r===this.merchOffer)return;this.merchOffer=r;let n=this.dynamicPrice;if(r.price&&n){let i=r.price.cloneNode(!0);n.onceSettled?n.onceSettled().then(()=>{n.replaceWith(i)}):n.replaceWith(i)}}};Qt=new WeakSet,Ki=function(r){this.dispatchEvent(new CustomEvent(On,{detail:r,bubbles:!0,composed:!0}))},p(Jt,"properties",{name:{type:String,attribute:"name",reflect:!0},variant:{type:String,reflect:!0},size:{type:String,attribute:"size",reflect:!0},badgeColor:{type:String,attribute:"badge-color",reflect:!0},borderColor:{type:String,attribute:"border-color",reflect:!0},badgeBackgroundColor:{type:String,attribute:"badge-background-color",reflect:!0},backgroundImage:{type:String,attribute:"background-image",reflect:!0},badgeText:{type:String,attribute:"badge-text"},actionMenu:{type:Boolean,attribute:"action-menu"},customHr:{type:Boolean,attribute:"custom-hr"},consonant:{type:Boolean,attribute:"consonant"},spectrum:{type:String,attribute:"spectrum"},detailBg:{type:String,attribute:"detail-bg"},secureLabel:{type:String,attribute:"secure-label"},checkboxLabel:{type:String,attribute:"checkbox-label"},selected:{type:Boolean,attribute:"aria-selected",reflect:!0},storageOption:{type:String,attribute:"storage",reflect:!0},stockOfferOsis:{type:Object,attribute:"stock-offer-osis",converter:{fromAttribute:r=>{let[n,i,o]=r.split(",");return{PUF:n,ABM:i,M2M:o}}}},filters:{type:String,reflect:!0,converter:{fromAttribute:r=>Object.fromEntries(r.split(",").map(n=>{let[i,o,a]=n.split(":"),s=Number(o);return[i,{order:isNaN(s)?void 0:s,size:a}]})),toAttribute:r=>Object.entries(r).map(([n,{order:i,size:o}])=>[n,i,o].filter(a=>a!=null).join(":")).join(",")}},types:{type:String,attribute:"types",reflect:!0},merchOffer:{type:Object},analyticsId:{type:String,attribute:Kr,reflect:!0}}),p(Jt,"styles",[Ho,Zo(),...$o()]);customElements.define(fh,Jt);var Et=class extends ee{constructor(){super(),this.size="m",this.alt=""}render(){let{href:t}=this;return t?x` ${this.alt} - `:x` ${this.alt}`}};p(St,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}}),p(St,"styles",P` + `:x` ${this.alt}`}};p(Et,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}}),p(Et,"styles",C` :host { --img-width: 32px; --img-height: 32px; @@ -2126,7 +2126,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules" width: var(--mod-img-width, var(--img-width)); height: var(--mod-img-height, var(--img-height)); } - `);customElements.define("merch-icon",St);var ls=new CSSStyleSheet;ls.replaceSync(":host { display: contents; }");var ph=document.querySelector('meta[name="aem-base-url"]')?.content??"https://odin.adobe.com",as="fragment",ss="author",fh="ims",cs=e=>{throw new Error(`Failed to get fragment: ${e}`)};async function gh(e,t,r,n){let i=r?`${e}/adobe/sites/cf/fragments/${t}`:`${e}/adobe/sites/fragments/${t}`,o=await fetch(i,{cache:"default",credentials:"omit",headers:n}).catch(a=>cs(a.message));return o?.ok||cs(`${o.status} ${o.statusText}`),o.json()}var Gi,ye,zi=class{constructor(){F(this,ye,new Map)}clear(){w(this,ye).clear()}add(...t){t.forEach(r=>{let{id:n}=r;n&&w(this,ye).set(n,r)})}has(t){return w(this,ye).has(t)}get(t){return w(this,ye).get(t)}remove(t){w(this,ye).delete(t)}};ye=new WeakMap;var Fr=new zi,Ye,ue,Te,Zt,me,yt,pe,Ki,hs,ds,Fi=class extends HTMLElement{constructor(){super();F(this,pe);p(this,"cache",Fr);F(this,Ye);F(this,ue);F(this,Te);F(this,Zt,!1);F(this,me);F(this,yt,!1);this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[ls];let r=this.getAttribute(fh);["",!0,"true"].includes(r)&&(j(this,Zt,!0),Gi||(Gi={Authorization:`Bearer ${window.adobeid?.authorize?.()}`}))}static get observedAttributes(){return[as,ss]}attributeChangedCallback(r,n,i){r===as&&(j(this,Te,i),this.refresh(!1)),r===ss&&j(this,yt,["","true"].includes(i))}connectedCallback(){if(!w(this,Te)){ge(this,pe,Ki).call(this,"Missing fragment id");return}}async refresh(r=!0){w(this,me)&&!await Promise.race([w(this,me),Promise.resolve(!1)])||(r&&Fr.remove(w(this,Te)),j(this,me,this.fetchData().then(()=>(this.dispatchEvent(new CustomEvent(Ve,{detail:this.data,bubbles:!0,composed:!0})),!0)).catch(n=>(ge(this,pe,Ki).call(this,"Network error: failed to load fragment"),j(this,me,null),!1))),w(this,me))}async fetchData(){j(this,Ye,null),j(this,ue,null);let r=Fr.get(w(this,Te));r||(r=await gh(ph,w(this,Te),w(this,yt),w(this,Zt)?Gi:void 0),Fr.add(r)),j(this,Ye,r)}get updateComplete(){return w(this,me)??Promise.reject(new Error("AEM fragment cannot be loaded"))}get data(){return w(this,ue)?w(this,ue):(w(this,yt)?ge(this,pe,hs).call(this):ge(this,pe,ds).call(this),w(this,ue))}};Ye=new WeakMap,ue=new WeakMap,Te=new WeakMap,Zt=new WeakMap,me=new WeakMap,yt=new WeakMap,pe=new WeakSet,Ki=function(r){this.classList.add("error"),this.dispatchEvent(new CustomEvent(Me,{detail:r,bubbles:!0,composed:!0}))},hs=function(){let{fields:r,id:n,tags:i}=w(this,Ye);j(this,ue,r.reduce((o,{name:a,multiple:s,values:c})=>(o.fields[a]=s?c:c[0],o),{fields:{},id:n,tags:i}))},ds=function(){let{fields:r,id:n,tags:i}=w(this,Ye);j(this,ue,Object.entries(r).reduce((o,[a,s])=>(o.fields[a]=s?.mimeType?s.value:s??"",o),{fields:{},id:n,tags:i}))};customElements.define("aem-fragment",Fi);var Jt=class Jt extends Gr(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return Br(Jt,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};p(Jt,"is","checkout-link"),p(Jt,"tag","a");var ie=Jt;window.customElements.get(ie.is)||window.customElements.define(ie.is,ie,{extends:ie.tag});function us({providers:e,settings:t}){function r(o,a){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:l,country:h,language:d,promotionCode:u,quantity:m}=t,{checkoutMarketSegment:f,checkoutWorkflow:g=c,checkoutWorkflowStep:T=l,imsCountry:_,country:b=_??h,language:S=d,quantity:k=m,entitlement:R,upgrade:V,modal:$,perpetual:ae,promotionCode:Xe=u,wcsOsi:Le,extraOptions:We,...J}=Object.assign({},a?.dataset??{},o??{}),fe=Se(g,re,L.checkoutWorkflow),se=ne.CHECKOUT;fe===re.V3&&(se=Se(T,ne,L.checkoutWorkflowStep));let Q=xt({...J,extraOptions:We,checkoutClientId:s,checkoutMarketSegment:f,country:b,quantity:vt(k,L.quantity),checkoutWorkflow:fe,checkoutWorkflowStep:se,language:S,entitlement:y(R),upgrade:y(V),modal:y($),perpetual:y(ae),promotionCode:$t(Xe).effectivePromoCode,wcsOsi:Hr(Le)});if(a)for(let _e of e.checkout)_e(a,Q);return Q}function n(o,a){if(!Array.isArray(o)||!o.length||!a)return"";let{env:s,landscape:c}=t,{checkoutClientId:l,checkoutMarketSegment:h,checkoutWorkflow:d,checkoutWorkflowStep:u,country:m,promotionCode:f,quantity:g,...T}=r(a),_=window.frameElement?"if":"fp",b={checkoutPromoCode:f,clientId:l,context:_,country:m,env:s,items:[],marketSegment:h,workflowStep:u,landscape:c,...T};if(o.length===1){let[{offerId:S,offerType:k,productArrangementCode:R}]=o,{marketSegments:[V]}=o[0];Object.assign(b,{marketSegment:V,offerType:k,productArrangementCode:R}),b.items.push(g[0]===1?{id:S}:{id:S,quantity:g[0]})}else b.items.push(...o.map(({offerId:S},k)=>({id:S,quantity:g[k]??L.quantity})));return Xn(d,b)}let{createCheckoutLink:i}=ie;return{CheckoutLink:ie,CheckoutWorkflow:re,CheckoutWorkflowStep:ne,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function xh({interval:e=200,maxAttempts:t=25}={}){let r=Y.module("ims");return new Promise(n=>{r.debug("Waing for IMS to be ready");let i=0;function o(){window.adobeIMS?.initialized?n():++i>t?(r.debug("Timeout"),n()):setTimeout(o,e)}o()})}function bh(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function vh(e){let t=Y.module("ims");return e.then(r=>r?window.adobeIMS.getProfile().then(({countryCode:n})=>(t.debug("Got user country:",n),n),n=>{t.error("Unable to get user country:",n)}):null)}function ms({}){let e=xh(),t=bh(e),r=vh(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function fs(e,t){let{data:r}=t||await Promise.resolve().then(()=>Rs(ps(),1));if(Array.isArray(r)){let n=o=>r.find(a=>yr(a.lang,o)),i=n(e.language)??n(L.language);if(i)return Object.freeze(i)}return{}}var gs=["GB_en","AU_en","FR_fr","AT_de","BE_en","BE_fr","BE_nl","BG_bg","CH_de","CH_fr","CH_it","CZ_cs","DE_de","DK_da","EE_et","EG_ar","EG_en","ES_es","FI_fi","FR_fr","GR_el","GR_en","HU_hu","IE_en","IT_it","LU_de","LU_en","LU_fr","NL_nl","NO_nb","PL_pl","PT_pt","RO_ro","SE_sv","SI_sl","SK_sk","TR_tr","UA_uk","ID_en","ID_in","IN_en","IN_hi","JP_ja","MY_en","MY_ms","NZ_en","TH_en","TH_th"],Eh={INDIVIDUAL_COM:["ZA_en","LT_lt","LV_lv","NG_en","SA_ar","SA_en","ZA_en","SG_en","KR_ko"],TEAM_COM:["ZA_en","LT_lt","LV_lv","NG_en","ZA_en","CO_es","KR_ko"],INDIVIDUAL_EDU:["LT_lt","LV_lv","SA_en","SG_en"],TEAM_EDU:["SG_en","KR_ko"]},Qt=class Qt extends HTMLSpanElement{constructor(){super();p(this,"masElement",new Et(this));this.handleClick=this.handleClick.bind(this)}static get observedAttributes(){return["data-display-old-price","data-display-per-unit","data-display-recurrence","data-display-tax","data-perpetual","data-promotion-code","data-tax-exclusive","data-template","data-wcs-osi"]}static createInlinePrice(r){let n=q();if(!n)return null;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Ur(Qt,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m})}get isInlinePrice(){return!0}attributeChangedCallback(r,n,i){this.masElement.attributeChangedCallback(r,n,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.handleClick)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.handleClick)}handleClick(r){r.target!==this&&(r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})))}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(r=!1){return this.masElement.requestUpdate(r)}resolveDisplayTaxForGeoAndSegment(r,n,i,o){let a=`${r}_${n}`;if(gs.includes(r)||gs.includes(a))return!0;let s=Eh[`${i}_${o}`];return s?!!(s.includes(r)||s.includes(a)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),o=Yt(await i,n);if(o?.length){let{country:a,language:s}=n,c=o[0],[l=""]=c.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(a,s,c.customerSegment,l)}}async render(r={}){if(!this.isConnected)return!1;let n=q();if(!n)return!1;let i=n.collectPriceOptions(r,this);if(!i.wcsOsi.length)return!1;let o=this.masElement.togglePending(i);this.innerHTML="";let[a]=n.resolveOfferSelectors(i);return this.renderOffers(Yt(await a,i),i,o)}renderOffers(r,n={},i=void 0){if(!this.isConnected)return;let o=q();if(!o)return!1;let a=o.collectPriceOptions({...this.dataset,...n},this);if(i??(i=this.masElement.togglePending(a)),r.length){if(this.masElement.toggleResolved(i,r,a))return this.innerHTML=o.buildPriceHTML(r,a),!0}else{let s=new Error(`Not provided: ${a?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(i,s,a))return this.innerHTML="",!0}return!1}updateOptions(r){let n=q();if(!n)return!1;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Dr(this,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}),!0}};p(Qt,"is","inline-price"),p(Qt,"tag","span");var oe=Qt;window.customElements.get(oe.is)||window.customElements.define(oe.is,oe,{extends:oe.tag});function xs({literals:e,providers:t,settings:r}){function n(a,s){let{country:c,displayOldPrice:l,displayPerUnit:h,displayRecurrence:d,displayTax:u,forceTaxExclusive:m,language:f,promotionCode:g,quantity:T}=r,{displayOldPrice:_=l,displayPerUnit:b=h,displayRecurrence:S=d,displayTax:k=u,forceTaxExclusive:R=m,country:V=c,language:$=f,perpetual:ae,promotionCode:Xe=g,quantity:Le=T,template:We,wcsOsi:J,...fe}=Object.assign({},s?.dataset??{},a??{}),se=xt({...fe,country:V,displayOldPrice:y(_),displayPerUnit:y(b),displayRecurrence:y(S),displayTax:y(k),forceTaxExclusive:y(R),language:$,perpetual:y(ae),promotionCode:$t(Xe).effectivePromoCode,quantity:vt(Le,L.quantity),template:We,wcsOsi:Hr(J)});if(s)for(let Q of t.price)Q(s,se);return se}function i(a,s){if(!Array.isArray(a)||!a.length||!s)return"";let{template:c}=s,l;switch(c){case"discount":l=ki;break;case"strikethrough":l=wi;break;case"optical":l=_i;break;case"annual":l=Ci;break;default:s.country==="AU"&&a[0].planType==="ABM"?l=s.promotionCode?Ii:Pi:l=s.promotionCode?Li:Ti}let h=n(s);h.literals=Object.assign({},e.price,xt(s.literals??{}));let[d]=a;return d={...d,...d.priceDetails},l(h,d)}let o=oe.createInlinePrice;return{InlinePrice:oe,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:o}}function bs({settings:e}){let t=Y.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,o=new Map,a;async function s(d,u,m=!0){let f=Rn;t.debug("Fetching:",d);let g="",T,_=(b,S,k)=>`${b}: ${S?.status}, url: ${k.toString()}`;try{if(d.offerSelectorIds=d.offerSelectorIds.sort(),g=new URL(e.wcsURL),g.searchParams.set("offer_selector_ids",d.offerSelectorIds.join(",")),g.searchParams.set("country",d.country),g.searchParams.set("locale",d.locale),g.searchParams.set("landscape",r===ze.STAGE?"ALL":e.landscape),g.searchParams.set("api_key",n),d.language&&g.searchParams.set("language",d.language),d.promotionCode&&g.searchParams.set("promotion_code",d.promotionCode),d.currency&&g.searchParams.set("currency",d.currency),T=await fetch(g.toString(),{credentials:"omit"}),T.ok){let b=await T.json();t.debug("Fetched:",d,b);let S=b.resolvedOffers??[];S=S.map(_r),u.forEach(({resolve:k},R)=>{let V=S.filter(({offerSelectorIds:$})=>$.includes(R)).flat();V.length&&(u.delete(R),k(V))})}else T.status===404&&d.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(d.offerSelectorIds.map(b=>s({...d,offerSelectorIds:[b]},u,!1)))):f=br}catch(b){f=br,t.error(f,d,b)}m&&u.size&&(t.debug("Missing:",{offerSelectorIds:[...u.keys()]}),u.forEach(b=>{b.reject(new Error(_(f,T,g)))}))}function c(){clearTimeout(a);let d=[...o.values()];o.clear(),d.forEach(({options:u,promises:m})=>s(u,m))}function l(){let d=i.size;i.clear(),t.debug(`Flushed ${d} cache entries`)}function h({country:d,language:u,perpetual:m=!1,promotionCode:f="",wcsOsi:g=[]}){let T=`${u}_${d}`;d!=="GB"&&(u=m?"EN":"MULT");let _=[d,u,f].filter(b=>b).join("-").toLowerCase();return g.map(b=>{let S=`${b}-${_}`;if(!i.has(S)){let k=new Promise((R,V)=>{let $=o.get(_);if(!$){let ae={country:d,locale:T,offerSelectorIds:[]};d!=="GB"&&(ae.language=u),$={options:ae,promises:new Map},o.set(_,$)}f&&($.options.promotionCode=f),$.options.offerSelectorIds.push(b),$.promises.set(b,{resolve:R,reject:V}),$.options.offerSelectorIds.length>=e.wcsBufferLimit?c():(t.debug("Queued:",$.options),a||(a=setTimeout(c,e.wcsBufferDelay)))});i.set(S,k)}return i.get(S)})}return{WcsCommitment:Ni,WcsPlanType:Oi,WcsTerm:Ri,resolveOfferSelectors:h,flushWcsCache:l}}var ji="mas-commerce-service",Sh="mas:start",yh="mas:ready",jr,vs,Kr=class extends HTMLElement{constructor(){super(...arguments);F(this,jr);p(this,"promise",null)}async registerCheckoutAction(r){typeof r=="function"&&(this.buildCheckoutAction=async(n,i,o)=>{let a=await r?.(n,i,this.imsSignedInPromise,o);return a||null})}async activate(){let r=w(this,jr,vs),n=Object.freeze(Hi(r));At(r.lana);let i=Y.init(r.hostEnv).module("service");i.debug("Activating:",r);let o={price:{}};try{o.price=await fs(n,r.commerce.priceLiterals)}catch{}let a={checkout:new Set,price:new Set},s={literals:o,providers:a,settings:n};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...us(s),...ms(s),...xs(s),...bs(s),...Gn,Log:Y,get defaults(){return L},get log(){return Y},get providers(){return{checkout(c){return a.checkout.add(c),()=>a.checkout.delete(c)},price(c){return a.price.add(c),()=>a.price.delete(c)}}},get settings(){return n}})),i.debug("Activated:",{literals:o,settings:n}),Fe(()=>{let c=new CustomEvent(it,{bubbles:!0,cancelable:!1,detail:this});performance.mark(yh),this.dispatchEvent(c)})}connectedCallback(){this.readyPromise||(performance.mark(Sh),this.readyPromise=this.activate())}disconnectedCallback(){this.readyPromise=null}flushWcsCache(){this.flushWcsCache(),this.log.debug("Flushed WCS cache")}refreshOffers(){this.flushWcsCache(),document.querySelectorAll('span[is="inline-price"],a[is="checkout-link"]').forEach(r=>r.requestUpdate(!0)),this.log.debug("Refreshed WCS offers")}refreshFragments(){this.flushWcsCache(),document.querySelectorAll("aem-fragment").forEach(r=>r.refresh()),this.log.debug("Refreshed AEM fragments")}};jr=new WeakSet,vs=function(){let r={hostEnv:{name:this.getAttribute("host-env")??"prod"},commerce:{env:this.getAttribute("env")},lana:{tags:this.getAttribute("lana-tags"),sampleRate:parseInt(this.getAttribute("lana-sample-rate"),10),isProdDomain:this.getAttribute("host-env")==="prod"}};return["locale","country","language"].forEach(n=>{let i=this.getAttribute(n);i&&(r[n]=i)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(n=>{let i=this.getAttribute(n);if(i!=null){let o=n.replace(/-([a-z])/g,a=>a[1].toUpperCase());r.commerce[o]=i}}),r},p(Kr,"instance");window.customElements.get(ji)||window.customElements.define(ji,Kr);At({sampleRate:1});export{je as CheckoutButton,ie as CheckoutLink,re as CheckoutWorkflow,ne as CheckoutWorkflowStep,L as Defaults,oe as InlinePrice,He as Landscape,Y as Log,ji as TAG_NAME_SERVICE,Ni as WcsCommitment,Oi as WcsPlanType,Ri as WcsTerm,_r as applyPlanType,Hi as getSettings}; + `);customElements.define("merch-icon",Et);var ps=new CSSStyleSheet;ps.replaceSync(":host { display: contents; }");var vh=document.querySelector('meta[name="aem-base-url"]')?.content??"https://odin.adobe.com",ds="fragment",us="author",Ah="ims",ms=e=>{throw new Error(`Failed to get fragment: ${e}`)};async function Eh(e,t,r,n){let i=r?`${e}/adobe/sites/cf/fragments/${t}`:`${e}/adobe/sites/fragments/${t}`,o=await fetch(i,{cache:"default",credentials:"omit",headers:n}).catch(a=>ms(a.message));return o?.ok||ms(`${o.status} ${o.statusText}`),o.json()}var ji,ye,Yi=class{constructor(){F(this,ye,new Map)}clear(){_(this,ye).clear()}add(...t){t.forEach(r=>{let{id:n}=r;n&&_(this,ye).set(n,r)})}has(t){return _(this,ye).has(t)}get(t){return _(this,ye).get(t)}remove(t){_(this,ye).delete(t)}};ye=new WeakMap;var jr=new Yi,je,he,Te,er,de,St,ue,Wi,fs,gs,Xi=class extends HTMLElement{constructor(){super();F(this,ue);p(this,"cache",jr);F(this,je);F(this,he);F(this,Te);F(this,er,!1);F(this,de);F(this,St,!1);this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[ps];let r=this.getAttribute(Ah);["",!0,"true"].includes(r)&&(j(this,er,!0),ji||(ji={Authorization:`Bearer ${window.adobeid?.authorize?.()}`}))}static get observedAttributes(){return[ds,us]}attributeChangedCallback(r,n,i){r===ds&&(j(this,Te,i),this.refresh(!1)),r===us&&j(this,St,["","true"].includes(i))}connectedCallback(){if(!_(this,Te)){ge(this,ue,Wi).call(this,"Missing fragment id");return}}async refresh(r=!0){_(this,de)&&!await Promise.race([_(this,de),Promise.resolve(!1)])||(r&&jr.remove(_(this,Te)),j(this,de,this.fetchData().then(()=>(this.dispatchEvent(new CustomEvent(Oe,{detail:this.data,bubbles:!0,composed:!0})),!0)).catch(n=>(ge(this,ue,Wi).call(this,"Network error: failed to load fragment"),j(this,de,null),!1))),_(this,de))}async fetchData(){j(this,je,null),j(this,he,null);let r=jr.get(_(this,Te));r||(r=await Eh(vh,_(this,Te),_(this,St),_(this,er)?ji:void 0),jr.add(r)),j(this,je,r)}get updateComplete(){return _(this,de)??Promise.reject(new Error("AEM fragment cannot be loaded"))}get data(){return _(this,he)?_(this,he):(_(this,St)?ge(this,ue,fs).call(this):ge(this,ue,gs).call(this),_(this,he))}};je=new WeakMap,he=new WeakMap,Te=new WeakMap,er=new WeakMap,de=new WeakMap,St=new WeakMap,ue=new WeakSet,Wi=function(r){this.classList.add("error"),this.dispatchEvent(new CustomEvent(Re,{detail:r,bubbles:!0,composed:!0}))},fs=function(){let{fields:r,id:n,tags:i}=_(this,je);j(this,he,r.reduce((o,{name:a,multiple:s,values:c})=>(o.fields[a]=s?c:c[0],o),{fields:{},id:n,tags:i}))},gs=function(){let{fields:r,id:n,tags:i}=_(this,je);j(this,he,Object.entries(r).reduce((o,[a,s])=>(o.fields[a]=s?.mimeType?s.value:s??"",o),{fields:{},id:n,tags:i}))};customElements.define("aem-fragment",Xi);var tr=class tr extends Fr(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return zr(tr,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};p(tr,"is","checkout-link"),p(tr,"tag","a");var ie=tr;window.customElements.get(ie.is)||window.customElements.define(ie.is,ie,{extends:ie.tag});function xs({providers:e,settings:t}){function r(o,a){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:l,country:h,language:d,promotionCode:u,quantity:m}=t,{checkoutMarketSegment:g,checkoutWorkflow:f=c,checkoutWorkflowStep:T=l,imsCountry:w,country:b=w??h,language:S=d,quantity:k=m,entitlement:R,upgrade:U,modal:H,perpetual:me,promotionCode:Z=u,wcsOsi:yt,extraOptions:Ye,...Tt}=Object.assign({},a?.dataset??{},o??{}),pe=Se(f,re,L.checkoutWorkflow),fe=ne.CHECKOUT;pe===re.V3&&(fe=Se(T,ne,L.checkoutWorkflowStep));let J=ft({...Tt,extraOptions:Ye,checkoutClientId:s,checkoutMarketSegment:g,country:b,quantity:bt(k,L.quantity),checkoutWorkflow:pe,checkoutWorkflowStep:fe,language:S,entitlement:y(R),upgrade:y(U),modal:y(H),perpetual:y(me),promotionCode:Gt(Z).effectivePromoCode,wcsOsi:Ur(yt)});if(a)for(let Lt of e.checkout)Lt(a,J);return J}function n(o,a){if(!Array.isArray(o)||!o.length||!a)return"";let{env:s,landscape:c}=t,{checkoutClientId:l,checkoutMarketSegment:h,checkoutWorkflow:d,checkoutWorkflowStep:u,country:m,promotionCode:g,quantity:f,...T}=r(a),w=window.frameElement?"if":"fp",b={checkoutPromoCode:g,clientId:l,context:w,country:m,env:s,items:[],marketSegment:h,workflowStep:u,landscape:c,...T};if(o.length===1){let[{offerId:S,offerType:k,productArrangementCode:R}]=o,{marketSegments:[U]}=o[0];Object.assign(b,{marketSegment:U,offerType:k,productArrangementCode:R}),b.items.push(f[0]===1?{id:S}:{id:S,quantity:f[0]})}else b.items.push(...o.map(({offerId:S},k)=>({id:S,quantity:f[k]??L.quantity})));return Zn(d,b)}let{createCheckoutLink:i}=ie;return{CheckoutLink:ie,CheckoutWorkflow:re,CheckoutWorkflowStep:ne,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function Sh({interval:e=200,maxAttempts:t=25}={}){let r=Y.module("ims");return new Promise(n=>{r.debug("Waing for IMS to be ready");let i=0;function o(){window.adobeIMS?.initialized?n():++i>t?(r.debug("Timeout"),n()):setTimeout(o,e)}o()})}function yh(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function Th(e){let t=Y.module("ims");return e.then(r=>r?window.adobeIMS.getProfile().then(({countryCode:n})=>(t.debug("Got user country:",n),n),n=>{t.error("Unable to get user country:",n)}):null)}function bs({}){let e=Sh(),t=yh(e),r=Th(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function As(e,t){let{data:r}=t||await Promise.resolve().then(()=>Us(vs(),1));if(Array.isArray(r)){let n=o=>r.find(a=>wr(a.lang,o)),i=n(e.language)??n(L.language);if(i)return Object.freeze(i)}return{}}var Es=["GB_en","AU_en","FR_fr","AT_de","BE_en","BE_fr","BE_nl","BG_bg","CH_de","CH_fr","CH_it","CZ_cs","DE_de","DK_da","EE_et","EG_ar","EG_en","ES_es","FI_fi","FR_fr","GR_el","GR_en","HU_hu","IE_en","IT_it","LU_de","LU_en","LU_fr","NL_nl","NO_nb","PL_pl","PT_pt","RO_ro","SE_sv","SI_sl","SK_sk","TR_tr","UA_uk","ID_en","ID_in","IN_en","IN_hi","JP_ja","MY_en","MY_ms","NZ_en","TH_en","TH_th"],wh={INDIVIDUAL_COM:["ZA_en","LT_lt","LV_lv","NG_en","SA_ar","SA_en","ZA_en","SG_en","KR_ko"],TEAM_COM:["ZA_en","LT_lt","LV_lv","NG_en","ZA_en","CO_es","KR_ko"],INDIVIDUAL_EDU:["LT_lt","LV_lv","SA_en","SG_en"],TEAM_EDU:["SG_en","KR_ko"]},rr=class rr extends HTMLSpanElement{constructor(){super();p(this,"masElement",new At(this));this.handleClick=this.handleClick.bind(this)}static get observedAttributes(){return["data-display-old-price","data-display-per-unit","data-display-recurrence","data-display-tax","data-perpetual","data-promotion-code","data-tax-exclusive","data-template","data-wcs-osi"]}static createInlinePrice(r){let n=q();if(!n)return null;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Br(rr,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m})}get isInlinePrice(){return!0}attributeChangedCallback(r,n,i){this.masElement.attributeChangedCallback(r,n,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.handleClick)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.handleClick)}handleClick(r){r.target!==this&&(r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})))}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(r=!1){return this.masElement.requestUpdate(r)}resolveDisplayTaxForGeoAndSegment(r,n,i,o){let a=`${r}_${n}`;if(Es.includes(r)||Es.includes(a))return!0;let s=wh[`${i}_${o}`];return s?!!(s.includes(r)||s.includes(a)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),o=qt(await i,n);if(o?.length){let{country:a,language:s}=n,c=o[0],[l=""]=c.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(a,s,c.customerSegment,l)}}async render(r={}){if(!this.isConnected)return!1;let n=q();if(!n)return!1;let i=n.collectPriceOptions(r,this);if(!i.wcsOsi.length)return!1;let o=this.masElement.togglePending(i);this.innerHTML="";let[a]=n.resolveOfferSelectors(i);return this.renderOffers(qt(await a,i),i,o)}renderOffers(r,n={},i=void 0){if(!this.isConnected)return;let o=q();if(!o)return!1;let a=o.collectPriceOptions({...this.dataset,...n},this);if(i??(i=this.masElement.togglePending(a)),r.length){if(this.masElement.toggleResolved(i,r,a))return this.innerHTML=o.buildPriceHTML(r,a),!0}else{let s=new Error(`Not provided: ${a?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(i,s,a))return this.innerHTML="",!0}return!1}updateOptions(r){let n=q();if(!n)return!1;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Gr(this,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}),!0}};p(rr,"is","inline-price"),p(rr,"tag","span");var oe=rr;window.customElements.get(oe.is)||window.customElements.define(oe.is,oe,{extends:oe.tag});function Ss({literals:e,providers:t,settings:r}){function n(a,s){let{country:c,displayOldPrice:l,displayPerUnit:h,displayRecurrence:d,displayTax:u,forceTaxExclusive:m,language:g,promotionCode:f,quantity:T}=r,{displayOldPrice:w=l,displayPerUnit:b=h,displayRecurrence:S=d,displayTax:k=u,forceTaxExclusive:R=m,country:U=c,language:H=g,perpetual:me,promotionCode:Z=f,quantity:yt=T,template:Ye,wcsOsi:Tt,...pe}=Object.assign({},s?.dataset??{},a??{}),fe=ft({...pe,country:U,displayOldPrice:y(w),displayPerUnit:y(b),displayRecurrence:y(S),displayTax:y(k),forceTaxExclusive:y(R),language:H,perpetual:y(me),promotionCode:Gt(Z).effectivePromoCode,quantity:bt(yt,L.quantity),template:Ye,wcsOsi:Ur(Tt)});if(s)for(let J of t.price)J(s,fe);return fe}function i(a,s){if(!Array.isArray(a)||!a.length||!s)return"";let{template:c}=s,l;switch(c){case"discount":l=Vi;break;case"strikethrough":l=ki;break;case"optical":l=Ii;break;case"annual":l=Ni;break;default:s.country==="AU"&&a[0].planType==="ABM"?l=s.promotionCode?Ri:Oi:l=s.promotionCode?Ci:Pi}let h=n(s);h.literals=Object.assign({},e.price,ft(s.literals??{}));let[d]=a;return d={...d,...d.priceDetails},l(h,d)}let o=oe.createInlinePrice;return{InlinePrice:oe,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:o}}function ys({settings:e}){let t=Y.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,o=new Map,a;async function s(d,u,m=!0){let g=Hn;t.debug("Fetching:",d);let f="",T,w=(b,S,k)=>`${b}: ${S?.status}, url: ${k.toString()}`;try{if(d.offerSelectorIds=d.offerSelectorIds.sort(),f=new URL(e.wcsURL),f.searchParams.set("offer_selector_ids",d.offerSelectorIds.join(",")),f.searchParams.set("country",d.country),f.searchParams.set("locale",d.locale),f.searchParams.set("landscape",r===Ge.STAGE?"ALL":e.landscape),f.searchParams.set("api_key",n),d.language&&f.searchParams.set("language",d.language),d.promotionCode&&f.searchParams.set("promotion_code",d.promotionCode),d.currency&&f.searchParams.set("currency",d.currency),T=await fetch(f.toString(),{credentials:"omit"}),T.ok){let b=await T.json();t.debug("Fetched:",d,b);let S=b.resolvedOffers??[];S=S.map(Cr),u.forEach(({resolve:k},R)=>{let U=S.filter(({offerSelectorIds:H})=>H.includes(R)).flat();U.length&&(u.delete(R),k(U))})}else T.status===404&&d.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(d.offerSelectorIds.map(b=>s({...d,offerSelectorIds:[b]},u,!1)))):g=Er}catch(b){g=Er,t.error(g,d,b)}m&&u.size&&(t.debug("Missing:",{offerSelectorIds:[...u.keys()]}),u.forEach(b=>{b.reject(new Error(w(g,T,f)))}))}function c(){clearTimeout(a);let d=[...o.values()];o.clear(),d.forEach(({options:u,promises:m})=>s(u,m))}function l(){let d=i.size;i.clear(),t.debug(`Flushed ${d} cache entries`)}function h({country:d,language:u,perpetual:m=!1,promotionCode:g="",wcsOsi:f=[]}){let T=`${u}_${d}`;d!=="GB"&&(u=m?"EN":"MULT");let w=[d,u,g].filter(b=>b).join("-").toLowerCase();return f.map(b=>{let S=`${b}-${w}`;if(!i.has(S)){let k=new Promise((R,U)=>{let H=o.get(w);if(!H){let me={country:d,locale:T,offerSelectorIds:[]};d!=="GB"&&(me.language=u),H={options:me,promises:new Map},o.set(w,H)}g&&(H.options.promotionCode=g),H.options.offerSelectorIds.push(b),H.promises.set(b,{resolve:R,reject:U}),H.options.offerSelectorIds.length>=e.wcsBufferLimit?c():(t.debug("Queued:",H.options),a||(a=setTimeout(c,e.wcsBufferDelay)))});i.set(S,k)}return i.get(S)})}return{WcsCommitment:Mi,WcsPlanType:Hi,WcsTerm:$i,resolveOfferSelectors:h,flushWcsCache:l}}var qi="mas-commerce-service",_h="mas:start",Ph="mas:ready",Xr,Ts,Yr=class extends HTMLElement{constructor(){super(...arguments);F(this,Xr);p(this,"promise",null)}async registerCheckoutAction(r){typeof r=="function"&&(this.buildCheckoutAction=async(n,i,o)=>{let a=await r?.(n,i,this.imsSignedInPromise,o);return a||null})}async activate(){let r=_(this,Xr,Ts),n=Object.freeze(Bi(r));vt(r.lana);let i=Y.init(r.hostEnv).module("service");i.debug("Activating:",r);let o={price:{}};try{o.price=await As(n,r.commerce.priceLiterals)}catch{}let a={checkout:new Set,price:new Set},s={literals:o,providers:a,settings:n};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...xs(s),...bs(s),...Ss(s),...ys(s),...Kn,Log:Y,get defaults(){return L},get log(){return Y},get providers(){return{checkout(c){return a.checkout.add(c),()=>a.checkout.delete(c)},price(c){return a.price.add(c),()=>a.price.delete(c)}}},get settings(){return n}})),i.debug("Activated:",{literals:o,settings:n}),ze(()=>{let c=new CustomEvent(rt,{bubbles:!0,cancelable:!1,detail:this});performance.mark(Ph),this.dispatchEvent(c)})}connectedCallback(){this.readyPromise||(performance.mark(_h),this.readyPromise=this.activate())}disconnectedCallback(){this.readyPromise=null}flushWcsCache(){this.flushWcsCache(),this.log.debug("Flushed WCS cache")}refreshOffers(){this.flushWcsCache(),document.querySelectorAll('span[is="inline-price"],a[is="checkout-link"]').forEach(r=>r.requestUpdate(!0)),this.log.debug("Refreshed WCS offers")}refreshFragments(){this.flushWcsCache(),document.querySelectorAll("aem-fragment").forEach(r=>r.refresh()),this.log.debug("Refreshed AEM fragments")}};Xr=new WeakSet,Ts=function(){let r={hostEnv:{name:this.getAttribute("host-env")??"prod"},commerce:{env:this.getAttribute("env")},lana:{tags:this.getAttribute("lana-tags"),sampleRate:parseInt(this.getAttribute("lana-sample-rate"),10),isProdDomain:this.getAttribute("host-env")==="prod"}};return["locale","country","language"].forEach(n=>{let i=this.getAttribute(n);i&&(r[n]=i)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(n=>{let i=this.getAttribute(n);if(i!=null){let o=n.replace(/-([a-z])/g,a=>a[1].toUpperCase());r.commerce[o]=i}}),r},p(Yr,"instance");window.customElements.get(qi)||window.customElements.define(qi,Yr);vt({sampleRate:1});export{Ke as CheckoutButton,ie as CheckoutLink,re as CheckoutWorkflow,ne as CheckoutWorkflowStep,L as Defaults,oe as InlinePrice,Ve as Landscape,Y as Log,qi as TAG_NAME_SERVICE,Mi as WcsCommitment,Hi as WcsPlanType,$i as WcsTerm,Cr as applyPlanType,Bi as getSettings}; /*! Bundled license information: @lit/reactive-element/css-tag.js: diff --git a/libs/features/mas/src/price/index.js b/libs/features/mas/src/price/index.js index 87a0303f41..f686dc43f8 100644 --- a/libs/features/mas/src/price/index.js +++ b/libs/features/mas/src/price/index.js @@ -5,6 +5,8 @@ import { createPromoPriceWithAnnualTemplate, } from './template.js'; +import { isPromotionActive } from './utilities.js'; + const price = createPriceTemplate(); const pricePromo = createPromoPriceTemplate(); const priceOptical = createPriceTemplate({ @@ -27,4 +29,5 @@ export { priceAnnual, priceWithAnnual, pricePromoWithAnnual, + isPromotionActive, }; diff --git a/libs/features/mas/src/price/template.js b/libs/features/mas/src/price/template.js index 1dcd85c7f1..10007facdf 100644 --- a/libs/features/mas/src/price/template.js +++ b/libs/features/mas/src/price/template.js @@ -12,7 +12,7 @@ import { formatRegularPrice, formatAnnualPrice, makeSpacesAroundNonBreaking, -} from './utilities'; +} from './utilities.js'; // JSON imports require new syntax to run in Milo/wtr tests, // but the new syntax is not yet supported by ESLint: @@ -153,6 +153,7 @@ const createPriceTemplate = displayOptical = false, displayStrikethrough = false, displayAnnual = false, + instant = undefined, } = {}) => ( { @@ -163,6 +164,7 @@ const createPriceTemplate = displayTax = false, language, literals: priceLiterals = {}, + quantity = 1, } = {}, { commitment, @@ -174,6 +176,7 @@ const createPriceTemplate = taxTerm, term, usePrecision, + promotion, } = {}, attributes = {}, ) => { @@ -184,8 +187,10 @@ const createPriceTemplate = price, }).forEach(([key, value]) => { if (value == null) { - /* c8 ignore next 2 */ - throw new Error(`Argument "${key}" is missing for osi ${offerSelectorIds?.toString()}, country ${country}, language ${language}`); + /* c8 ignore next 2 */ + throw new Error( + `Argument "${key}" is missing for osi ${offerSelectorIds?.toString()}, country ${country}, language ${language}`, + ); } }); @@ -208,7 +213,7 @@ const createPriceTemplate = locale, ).format(parameters); } catch { - /* c8 ignore next 2 */ + /* c8 ignore next 2 */ log.error('Failed to format literal:', literal); return ''; } @@ -226,10 +231,15 @@ const createPriceTemplate = const { accessiblePrice, recurrenceTerm, ...formattedPrice } = method({ commitment, formatString, - term, + instant, + isIndianPrice: country === 'IN', + originalPrice: price, + priceWithoutDiscount, price: displayOptical ? price : displayPrice, + promotion, + quantity, + term, usePrecision, - isIndianPrice: country === 'IN', }); let accessibleLabel = accessiblePrice; @@ -365,6 +375,20 @@ const createPromoPriceTemplate = () => (context, value, attributes) => { const createPromoPriceWithAnnualTemplate = () => (context, value, attributes) => { + let { instant } = context; + try { + if (!instant) { + instant = new URLSearchParams(document.location.search).get( + 'instant', + ); + } + if (instant) { + instant = new Date(instant); + } + } catch (e) { + instant = undefined; + /* ignore the error */ + } const ctxStAnnual = { ...context, displayTax: false, @@ -386,6 +410,7 @@ const createPromoPriceWithAnnualTemplate = }${createPriceTemplate()(context, value, attributes)}${renderSpan(cssClassNames.containerAnnualPrefix, ' (')}${createPriceTemplate( { displayAnnual: true, + instant, }, )( ctxStAnnual, diff --git a/libs/features/mas/src/price/utilities.js b/libs/features/mas/src/price/utilities.js index c74fd8492a..949e4ba94a 100644 --- a/libs/features/mas/src/price/utilities.js +++ b/libs/features/mas/src/price/utilities.js @@ -12,6 +12,47 @@ const SPACE_START_PATTERN = /^\s+/; const SPACE_END_PATTERN = /\s+$/; const NBSP = ' '; +const getAnnualPrice = (price) => price * 12; + +/** + * Checks if a promotion is currently active. + * + * @param {Object} promotion - The promotion object. + * @param {string} promotion.start - The start date of the promotion in ISO format. + * @param {string} promotion.end - The end date of the promotion in ISO format. + * @param {Object} promotion.displaySummary - The display summary of the promotion. + * @param {number} promotion.displaySummary.amount - The amount of the promotion, (e.g: in percentage). + * @param {number} promotion.displaySummary.duration - The duration of the promotion. + * @param {number} promotion.displaySummary.minProductQuantity - The minimum product quantity for the promotion. + * @param {string} promotion.displaySummary.outcomeType - The outcome type of the promotion. + * @param {string} [instant] - An optional date string to use as the current date. If not provided, the current date is used. + * @returns {boolean} - Returns true if the promotion is active, false otherwise. + */ +const isPromotionActive = (promotion, instant) => { + const { + start, + end, + displaySummary: { + amount, + duration, + minProductQuantity, + outcomeType, + } = {}, + } = promotion; + if (!(amount && duration && outcomeType && minProductQuantity)) { + return false; + } + const now = instant ? new Date(instant) : new Date(); + if (!start || !end) { + return false; + } + + const startDate = new Date(start); + const endDate = new Date(end); + + return now >= startDate && now <= endDate; +}; + // TODO: @pandora/react-price does not have "module" field in package.json and is bundled entirely by Webpack const RecurrenceTerm = { MONTH: 'MONTH', @@ -46,18 +87,18 @@ const opticalPriceRoundingRules = [ opticalPriceRoundingRule( // optical price for the term is a multiple of the initial price ({ divisor, price }) => price % divisor == 0, - ({ divisor, price }) => price / divisor + ({ divisor, price }) => price / divisor, ), opticalPriceRoundingRule( // round optical price up to 2 decimals ({ usePrecision }) => usePrecision, - ({ divisor, price }) => Math.round((price / divisor) * 100.0) / 100.0 + ({ divisor, price }) => Math.round((price / divisor) * 100.0) / 100.0, ), opticalPriceRoundingRule( // round optical price up to integer () => true, ({ divisor, price }) => - Math.ceil(Math.floor((price * 100) / divisor) / 100) + Math.ceil(Math.floor((price * 100) / divisor) / 100), ), ]; @@ -95,7 +136,7 @@ const extractNumberMask = (formatString, usePrecision = true) => { // As the formatString could be container non-symbol like `A #,##0.00 B` so using regex here. numberMask = numberMask.replace( /\s?(#.*0)(?!\s)?/, - '$&' + getPossibleDecimalsDelimiter(formatString) + '$&' + getPossibleDecimalsDelimiter(formatString), ); } else if (!usePrecision) { // Trim the 0s after the decimalsDelimiter. `#,##0.00` will become `#,##0.` @@ -169,15 +210,31 @@ const findDecimalsDelimiter = (formatString) => // Utilities, specific to tacocat needs. /** - * @param { import('./types').PriceData } data - * @param { RecurrenceTerm } recurrenceTerm - * @param { (price: number, format: { currencySymbol: string }) => number } transformPrice + * Formats a price according to the specified format string and currency rules. + * + * @param {object} options - The formatting options + * @param {string} options.formatString - The currency format string (e.g., "'US$ '#,##0.00") + * @param {number} options.price - The price value to format + * @param {boolean} options.usePrecision - Whether to include decimal precision in the formatted price + * @param {boolean} [options.isIndianPrice=false] - Whether to use Indian locale-specific formatting + * @param {string} recurrenceTerm - The recurrence term (MONTH or YEAR) for the price + * @param {function} [transformPrice=(price) => price] - Optional function to transform the price before formatting + * @returns {{ + * accessiblePrice: string, + * currencySymbol: string, + * decimals: string, + * decimalsDelimiter: string, + * hasCurrencySpace: boolean, + * integer: string, + * isCurrencyFirst: boolean, + * recurrenceTerm: string + * }} Formatted price object containing the accessible price string and formatting details + * */ -// TODO: Move this function to pandora library function formatPrice( { formatString, price, usePrecision, isIndianPrice = false }, recurrenceTerm, - transformPrice = (formattedPrice) => formattedPrice + transformPrice = (formattedPrice) => formattedPrice, ) { const { currencySymbol, isCurrencyFirst, hasCurrencySpace } = getCurrencySymbolDetails(formatString); @@ -233,14 +290,14 @@ const formatOpticalPrice = (data) => { usePrecision, }; const { round } = opticalPriceRoundingRules.find(({ accept }) => - accept(priceData) + accept(priceData), ); if (!round) throw new Error( - `Missing rounding rule for: ${JSON.stringify(priceData)}` + `Missing rounding rule for: ${JSON.stringify(priceData)}`, ); return round(priceData); - } + }, ); }; @@ -252,15 +309,67 @@ const formatRegularPrice = ({ commitment, term, ...data }) => formatPrice(data, recurrenceTerms[commitment]?.[term]); /** - * Formats annual price. - * @param { import('./types').PriceData } data + * Creates a function that calculates the annual price with promotion applied. + * + * @param {object} data - The data object containing price and priceWithoutDiscount + * @returns {function(number): number} A function that takes a monthly price and returns the calculated annual price with promotion + * */ const formatAnnualPrice = (data) => { - const { commitment, term } = data; + const { + commitment, + instant, + price, + originalPrice, + priceWithoutDiscount, + promotion, + quantity = 1, + term, + } = data; if (commitment === Commitment.YEAR && term === Term.MONTHLY) { - return formatPrice(data, RecurrenceTerm.YEAR, (price) => price * 12); + if (!promotion) { + return formatPrice(data, RecurrenceTerm.YEAR, getAnnualPrice); + } + const { + displaySummary: { outcomeType, duration, minProductQuantity = 1 } = {}, + } = promotion; + switch (outcomeType) { + case 'PERCENTAGE_DISCOUNT': { + if ( + quantity >= minProductQuantity && + isPromotionActive(promotion, instant) + ) { + const durationInMonths = parseInt( + duration.replace('P', '').replace('M', ''), + ); + if (isNaN(durationInMonths)) return getAnnualPrice(price); + const discountPrice = + quantity * originalPrice * durationInMonths; + const regularPrice = + quantity * + priceWithoutDiscount * + (12 - durationInMonths); + const totalPrice = + Math.floor((discountPrice + regularPrice) * 100) / 100; + return formatPrice( + { ...data, price: totalPrice }, + RecurrenceTerm.YEAR, + ); + } + } + default: + return formatPrice(data, RecurrenceTerm.YEAR, () => + getAnnualPrice(priceWithoutDiscount ?? price), + ); + } } return formatPrice(data, recurrenceTerms[commitment]?.[term]); }; -export { formatOpticalPrice, formatRegularPrice, formatAnnualPrice, makeSpacesAroundNonBreaking }; +export { + formatOpticalPrice, + formatRegularPrice, + formatAnnualPrice, + makeSpacesAroundNonBreaking, + isPromotionActive, +}; diff --git a/libs/features/mas/test/mocks/snapshots.js b/libs/features/mas/test/mocks/snapshots.js deleted file mode 100644 index 21102aabef..0000000000 --- a/libs/features/mas/test/mocks/snapshots.js +++ /dev/null @@ -1,169 +0,0 @@ -// HTML snapshots to compare with `innerHTML` of rendered web components - -const price = ` - - US$ - - 599 - . - 88 - /yr - - - -`; - -const strikethrough = ` - - US$ - - 599 - . - 88 - /yr - - - -`; - -const optical = ` - - US$ - - 49 - . - 99 - /mo - per license - excl. tax - -`; - -const annual = ` - - US$ - - 659 - . - 88 - /yr - - - -`; - -const promo = ` - - US$ - - 43 - . - 99 - /mo - - - -`; - -const promoStikethrough = ` - - US$ - - 43 - . - 99 - /mo - - - -  - - US$ - - 54 - . - 99 - /mo - - - -`; - -const customLiterals = ` - - US$ - - 54 - . - 99 - every month - - - -`; - -const taxExclusive = ` - - 41 - , - 65 -   - - /mo - - - -  - - 52 - , - 06 -   - - /mo - - - -`; - -const discount = `20%`; -const noDiscount = ``; - -const auAbmAnnual = ` - - A$ - - 32 - . - 98 - - - - - ( - - A$ - - 32 - . - 98 - - - - -) -`; - -export default { - customLiterals, - optical, - annual, - price, - promo, - promoStikethrough, - strikethrough, - taxExclusive, - discount, - noDiscount, - auAbmAnnual, -}; diff --git a/libs/features/mas/test/price.test.js b/libs/features/mas/test/price.test.js index 58fe212f87..4e61a6f4fb 100644 --- a/libs/features/mas/test/price.test.js +++ b/libs/features/mas/test/price.test.js @@ -7,7 +7,7 @@ import { getSettings } from '../src/settings.js'; import { mockFetch } from './mocks/fetch.js'; import { mockLana, unmockLana } from './mocks/lana.js'; -import snapshots from './mocks/snapshots.js'; +import * as snapshots from './price/__snapshots__/template.snapshots.js'; import { withWcs } from './mocks/wcs.js'; import { initMasCommerceService, @@ -690,28 +690,12 @@ describe('commerce service', () => { } ]; describe('function "buildPriceHTML"', () => { - it('returns empty string if no orders provided', async () => { + it('returns empty string if no offers provided', async () => { const { buildPriceHTML } = await initMasCommerceService(); expect(buildPriceHTML([])).to.be.empty; }); - - it('returns empty string if no orders provided - AU with promo', async () => { - const { buildPriceHTML } = await initMasCommerceService(); - const options = { - country: 'AU', - promotionCode: 'promo' - }; - expect(buildPriceHTML(offers, options)).to.be.html(snapshots.auAbmAnnual); - }); - - it('returns empty string if no orders provided - AU no promo', async () => { - const { buildPriceHTML } = await initMasCommerceService(); - const options = { - country: 'AU' - }; - expect(buildPriceHTML(offers, options)).to.be.html(snapshots.auAbmAnnual); - }); }); + describe('function "direct price calls"', () => { it('works as expected', async () => { const service = await initMasCommerceService(); diff --git a/libs/features/mas/test/price/__snapshots__/index.snapshot.js b/libs/features/mas/test/price/__snapshots__/index.snapshot.js new file mode 100644 index 0000000000..2baf07a752 --- /dev/null +++ b/libs/features/mas/test/price/__snapshots__/index.snapshot.js @@ -0,0 +1,3419 @@ +export const pricedisplayPerUnittrueABM1 = ` +1.23 US$/moper license +`; + +export const pricedisplayPerUnittrueM2M1 = ` +US$ 12/moper license +`; + +export const pricedisplayPerUnittruePERPETUAL1 = ` +US$123.46per license +`; + +export const pricedisplayPerUnittruePUF1 = ` +1,235US$/yrper license +`; + +export const pricedisplayPerUnittruePUFCHF1YEAR1 = ` +CHF 1,234.57/yrper license +`; + +export const pricedisplayPerUnittruePUFCHF2YEARS1 = ` +CHF 2,345.68per license +`; + +export const pricedisplayRecurrencefalseABM1 = ` +1.23 US$ +`; + +export const pricedisplayRecurrencefalseM2M1 = ` +US$ 12 +`; + +export const pricedisplayRecurrencefalsePERPETUAL1 = ` +US$123.46 +`; + +export const pricedisplayRecurrencefalsePUF1 = ` +1,235US$ +`; + +export const pricedisplayRecurrencefalsePUFCHF1YEAR1 = ` +CHF 1,234.57 +`; + +export const pricedisplayRecurrencefalsePUFCHF2YEARS1 = ` +CHF 2,345.68 +`; + +export const pricedisplayTaxtrueABM1 = ` +1.23 US$/moexcl. tax +`; + +export const pricedisplayTaxtrueM2M1 = ` +US$ 12/moexcl. tax +`; + +export const pricedisplayTaxtruePERPETUAL1 = ` +US$123.46incl. tax +`; + +export const pricedisplayTaxtruePUF1 = ` +1,235US$/yrincl. tax +`; + +export const pricedisplayTaxtruePUFCHF1YEAR1 = ` +CHF 1,234.57/yrincl. tax +`; + +export const pricedisplayTaxtruePUFCHF2YEARS1 = ` +CHF 2,345.68incl. tax +`; + +export const priceforceTaxExclusivefalseABM1 = ` +1.23 US$/mo +`; + +export const priceforceTaxExclusivefalseM2M1 = ` +US$ 12/mo +`; + +export const priceforceTaxExclusivefalsePERPETUAL1 = ` +US$123.46 +`; + +export const priceforceTaxExclusivefalsePUF1 = ` +1,235US$/yr +`; + +export const priceforceTaxExclusivefalsePUFCHF1YEAR1 = ` +CHF 1,234.57/yr +`; + +export const priceforceTaxExclusivefalsePUFCHF2YEARS1 = ` +CHF 2,345.68 +`; + +export const priceforceTaxExclusivetrueABM1 = ` +1.23 US$/mo +`; + +export const priceforceTaxExclusivetrueM2M1 = ` +US$ 12/mo +`; + +export const priceforceTaxExclusivetruePERPETUAL1 = ` +US$123.46 +`; + +export const priceforceTaxExclusivetruePUF1 = ` +1,235US$/yr +`; + +export const priceforceTaxExclusivetruePUFCHF1YEAR1 = ` +CHF 1,234.57/yr +`; + +export const priceforceTaxExclusivetruePUFCHF2YEARS1 = ` +CHF 2,345.68 +`; + +export const priceOpticaldisplayPerUnittrueABM1 = ` +1.23 US$/moper license +`; + +export const priceOpticaldisplayPerUnittrueM2M1 = ` +US$ 13/moper license +`; + +export const priceOpticaldisplayPerUnittruePERPETUAL1 = ` +US$123.46per license +`; + +export const priceOpticaldisplayPerUnittruePUF1 = ` +103US$/moper license +`; + +export const priceOpticaldisplayPerUnittruePUFCHF1YEAR1 = ` +CHF 102.88/moper license +`; + +export const priceOpticaldisplayPerUnittruePUFCHF2YEARS1 = ` +CHF 97.74/moper license +`; + +export const priceOpticaldisplayRecurrencefalseABM1 = ` +1.23 US$ +`; + +export const priceOpticaldisplayRecurrencefalseM2M1 = ` +US$ 13 +`; + +export const priceOpticaldisplayRecurrencefalsePERPETUAL1 = ` +US$123.46 +`; + +export const priceOpticaldisplayRecurrencefalsePUF1 = ` +103US$ +`; + +export const priceOpticaldisplayRecurrencefalsePUFCHF1YEAR1 = ` +CHF 102.88 +`; + +export const priceOpticaldisplayRecurrencefalsePUFCHF2YEARS1 = ` +CHF 97.74 +`; + +export const priceOpticaldisplayTaxtrueABM1 = ` +1.23 US$/moexcl. tax +`; + +export const priceOpticaldisplayTaxtrueM2M1 = ` +US$ 13/moexcl. tax +`; + +export const priceOpticaldisplayTaxtruePERPETUAL1 = ` +US$123.46incl. tax +`; + +export const priceOpticaldisplayTaxtruePUF1 = ` +103US$/moincl. tax +`; + +export const priceOpticaldisplayTaxtruePUFCHF1YEAR1 = ` +CHF 102.88/moincl. tax +`; + +export const priceOpticaldisplayTaxtruePUFCHF2YEARS1 = ` +CHF 97.74/moincl. tax +`; + +export const priceOpticalforceTaxExclusivefalseABM1 = ` +1.23 US$/mo +`; + +export const priceOpticalforceTaxExclusivefalseM2M1 = ` +US$ 13/mo +`; + +export const priceOpticalforceTaxExclusivefalsePERPETUAL1 = ` +US$123.46 +`; + +export const priceOpticalforceTaxExclusivefalsePUF1 = ` +103US$/mo +`; + +export const priceOpticalforceTaxExclusivefalsePUFCHF1YEAR1 = ` +CHF 102.88/mo +`; + +export const priceOpticalforceTaxExclusivefalsePUFCHF2YEARS1 = ` +CHF 97.74/mo +`; + +export const priceOpticalforceTaxExclusivetrueABM1 = ` +1.23 US$/mo +`; + +export const priceOpticalforceTaxExclusivetrueM2M1 = ` +US$ 13/mo +`; + +export const priceOpticalforceTaxExclusivetruePERPETUAL1 = ` +US$123.46 +`; + +export const priceOpticalforceTaxExclusivetruePUF1 = ` +103US$/mo +`; + +export const priceOpticalforceTaxExclusivetruePUFCHF1YEAR1 = ` +CHF 102.88/mo +`; + +export const priceOpticalforceTaxExclusivetruePUFCHF2YEARS1 = ` +CHF 97.74/mo +`; + +export const priceStrikethroughdisplayPerUnittrueABM1 = ` +1.23 US$/moper license +`; + +export const priceStrikethroughdisplayPerUnittrueM2M1 = ` +US$ 12/moper license +`; + +export const priceStrikethroughdisplayPerUnittruePERPETUAL1 = ` +US$123.46per license +`; + +export const priceStrikethroughdisplayPerUnittruePUF1 = ` +1,235US$/yrper license +`; + +export const priceStrikethroughdisplayPerUnittruePUFCHF1YEAR1 = ` +CHF 1,234.57/yrper license +`; + +export const priceStrikethroughdisplayPerUnittruePUFCHF2YEARS1 = ` +CHF 2,345.68per license +`; + +export const priceStrikethroughdisplayRecurrencefalseABM1 = ` +1.23 US$ +`; + +export const priceStrikethroughdisplayRecurrencefalseM2M1 = ` +US$ 12 +`; + +export const priceStrikethroughdisplayRecurrencefalsePERPETUAL1 = ` +US$123.46 +`; + +export const priceStrikethroughdisplayRecurrencefalsePUF1 = ` +1,235US$ +`; + +export const priceStrikethroughdisplayRecurrencefalsePUFCHF1YEAR1 = ` +CHF 1,234.57 +`; + +export const priceStrikethroughdisplayRecurrencefalsePUFCHF2YEARS1 = ` +CHF 2,345.68 +`; + +export const priceStrikethroughdisplayTaxtrueABM1 = ` +1.23 US$/moexcl. tax +`; + +export const priceStrikethroughdisplayTaxtrueM2M1 = ` +US$ 12/moexcl. tax +`; + +export const priceStrikethroughdisplayTaxtruePERPETUAL1 = ` +US$123.46incl. tax +`; + +export const priceStrikethroughdisplayTaxtruePUF1 = ` +1,235US$/yrincl. tax +`; + +export const priceStrikethroughdisplayTaxtruePUFCHF1YEAR1 = ` +CHF 1,234.57/yrincl. tax +`; + +export const priceStrikethroughdisplayTaxtruePUFCHF2YEARS1 = ` +CHF 2,345.68incl. tax +`; + +export const priceStrikethroughforceTaxExclusivefalseABM1 = ` +1.23 US$/mo +`; + +export const priceStrikethroughforceTaxExclusivefalseM2M1 = ` +US$ 12/mo +`; + +export const priceStrikethroughforceTaxExclusivefalsePERPETUAL1 = ` +US$123.46 +`; + +export const priceStrikethroughforceTaxExclusivefalsePUF1 = ` +1,235US$/yr +`; + +export const priceStrikethroughforceTaxExclusivefalsePUFCHF1YEAR1 = ` +CHF 1,234.57/yr +`; + +export const priceStrikethroughforceTaxExclusivefalsePUFCHF2YEARS1 = ` +CHF 2,345.68 +`; + +export const priceStrikethroughforceTaxExclusivetrueABM1 = ` +1.23 US$/mo +`; + +export const priceStrikethroughforceTaxExclusivetrueM2M1 = ` +US$ 12/mo +`; + +export const priceStrikethroughforceTaxExclusivetruePERPETUAL1 = ` +US$123.46 +`; + +export const priceStrikethroughforceTaxExclusivetruePUF1 = ` +1,235US$/yr +`; + +export const priceStrikethroughforceTaxExclusivetruePUFCHF1YEAR1 = ` +CHF 1,234.57/yr +`; + +export const priceStrikethroughforceTaxExclusivetruePUFCHF2YEARS1 = ` +CHF 2,345.68 +`; + +export const priceAnnualdisplayPerUnittrueABM1 = ` +14.81 US$/yrper license +`; + +export const priceAnnualdisplayPerUnittrueM2M1 = ` +US$ 148/yrper license +`; + +export const priceAnnualdisplayPerUnittruePERPETUAL1 = ` +US$1,481.48/yrper license +`; + +export const priceAnnualdisplayPerUnittruePUF1 = ` +14,815US$/yrper license +`; + +export const priceAnnualdisplayPerUnittruePUFCHF1YEAR1 = ` +CHF 14,814.81/yrper license +`; + +export const priceAnnualdisplayPerUnittruePUFCHF2YEARS1 = ` +CHF 28,148.15/yrper license +`; + +export const priceAnnualdisplayRecurrencefalseABM1 = ` +14.81 US$ +`; + +export const priceAnnualdisplayRecurrencefalseM2M1 = ` +US$ 148 +`; + +export const priceAnnualdisplayRecurrencefalsePERPETUAL1 = ` +US$1,481.48 +`; + +export const priceAnnualdisplayRecurrencefalsePUF1 = ` +14,815US$ +`; + +export const priceAnnualdisplayRecurrencefalsePUFCHF1YEAR1 = ` +CHF 14,814.81 +`; + +export const priceAnnualdisplayRecurrencefalsePUFCHF2YEARS1 = ` +CHF 28,148.15 +`; + +export const priceAnnualdisplayTaxtrueABM1 = ` +14.81 US$/yrexcl. tax +`; + +export const priceAnnualdisplayTaxtrueM2M1 = ` +US$ 148/yrexcl. tax +`; + +export const priceAnnualdisplayTaxtruePERPETUAL1 = ` +US$1,481.48/yrincl. tax +`; + +export const priceAnnualdisplayTaxtruePUF1 = ` +14,815US$/yrincl. tax +`; + +export const priceAnnualdisplayTaxtruePUFCHF1YEAR1 = ` +CHF 14,814.81/yrincl. tax +`; + +export const priceAnnualdisplayTaxtruePUFCHF2YEARS1 = ` +CHF 28,148.15/yrincl. tax +`; + +export const priceAnnualforceTaxExclusivefalseABM1 = ` +14.81 US$/yr +`; + +export const priceAnnualforceTaxExclusivefalseM2M1 = ` +US$ 148/yr +`; + +export const priceAnnualforceTaxExclusivefalsePERPETUAL1 = ` +US$1,481.48/yr +`; + +export const priceAnnualforceTaxExclusivefalsePUF1 = ` +14,815US$/yr +`; + +export const priceAnnualforceTaxExclusivefalsePUFCHF1YEAR1 = ` +CHF 14,814.81/yr +`; + +export const priceAnnualforceTaxExclusivefalsePUFCHF2YEARS1 = ` +CHF 28,148.15/yr +`; + +export const priceAnnualforceTaxExclusivetrueABM1 = ` +14.81 US$/yr +`; + +export const priceAnnualforceTaxExclusivetrueM2M1 = ` +US$ 148/yr +`; + +export const priceAnnualforceTaxExclusivetruePERPETUAL1 = ` +US$1,481.48/yr +`; + +export const priceAnnualforceTaxExclusivetruePUF1 = ` +14,815US$/yr +`; + +export const priceAnnualforceTaxExclusivetruePUFCHF1YEAR1 = ` +CHF 14,814.81/yr +`; + +export const priceAnnualforceTaxExclusivetruePUFCHF2YEARS1 = ` +CHF 28,148.15/yr +`; + +export const priceWithAnnualdisplayPerUnittrueABM1 = ` +1.23 US$/moper license (14.81 US$/yr) +`; + +export const priceWithAnnualdisplayPerUnittrueM2M1 = ` +US$ 12/moper license (US$ 148/yr) +`; + +export const priceWithAnnualdisplayPerUnittruePERPETUAL1 = ` +US$123.46per license (US$1,481.48/yr) +`; + +export const priceWithAnnualdisplayPerUnittruePUF1 = ` +1,235US$/yrper license (14,815US$/yr) +`; + +export const priceWithAnnualdisplayPerUnittruePUFCHF1YEAR1 = ` +CHF 1,234.57/yrper license (CHF 14,814.81/yr) +`; + +export const priceWithAnnualdisplayPerUnittruePUFCHF2YEARS1 = ` +CHF 2,345.68per license (CHF 28,148.15/yr) +`; + +export const priceWithAnnualdisplayRecurrencefalseABM1 = ` +1.23 US$ (14.81 US$) +`; + +export const priceWithAnnualdisplayRecurrencefalseM2M1 = ` +US$ 12 (US$ 148) +`; + +export const priceWithAnnualdisplayRecurrencefalsePERPETUAL1 = ` +US$123.46 (US$1,481.48) +`; + +export const priceWithAnnualdisplayRecurrencefalsePUF1 = ` +1,235US$ (14,815US$) +`; + +export const priceWithAnnualdisplayRecurrencefalsePUFCHF1YEAR1 = ` +CHF 1,234.57 (CHF 14,814.81) +`; + +export const priceWithAnnualdisplayRecurrencefalsePUFCHF2YEARS1 = ` +CHF 2,345.68 (CHF 28,148.15) +`; + +export const priceWithAnnualdisplayTaxtrueABM1 = ` +1.23 US$/moexcl. tax (14.81 US$/yr) +`; + +export const priceWithAnnualdisplayTaxtrueM2M1 = ` +US$ 12/moexcl. tax (US$ 148/yr) +`; + +export const priceWithAnnualdisplayTaxtruePERPETUAL1 = ` +US$123.46incl. tax (US$1,481.48/yr) +`; + +export const priceWithAnnualdisplayTaxtruePUF1 = ` +1,235US$/yrincl. tax (14,815US$/yr) +`; + +export const priceWithAnnualdisplayTaxtruePUFCHF1YEAR1 = ` +CHF 1,234.57/yrincl. tax (CHF 14,814.81/yr) +`; + +export const priceWithAnnualdisplayTaxtruePUFCHF2YEARS1 = ` +CHF 2,345.68incl. tax (CHF 28,148.15/yr) +`; + +export const priceWithAnnualforceTaxExclusivefalseABM1 = ` +1.23 US$/mo (14.81 US$/yr) +`; + +export const priceWithAnnualforceTaxExclusivefalseM2M1 = ` +US$ 12/mo (US$ 148/yr) +`; + +export const priceWithAnnualforceTaxExclusivefalsePERPETUAL1 = ` +US$123.46 (US$1,481.48/yr) +`; + +export const priceWithAnnualforceTaxExclusivefalsePUF1 = ` +1,235US$/yr (14,815US$/yr) +`; + +export const priceWithAnnualforceTaxExclusivefalsePUFCHF1YEAR1 = ` +CHF 1,234.57/yr (CHF 14,814.81/yr) +`; + +export const priceWithAnnualforceTaxExclusivefalsePUFCHF2YEARS1 = ` +CHF 2,345.68 (CHF 28,148.15/yr) +`; + +export const priceWithAnnualforceTaxExclusivetrueABM1 = ` +1.23 US$/mo (14.81 US$/yr) +`; + +export const priceWithAnnualforceTaxExclusivetrueM2M1 = ` +US$ 12/mo (US$ 148/yr) +`; + +export const priceWithAnnualforceTaxExclusivetruePERPETUAL1 = ` +US$123.46 (US$1,481.48/yr) +`; + +export const priceWithAnnualforceTaxExclusivetruePUF1 = ` +1,235US$/yr (14,815US$/yr) +`; + +export const priceWithAnnualforceTaxExclusivetruePUFCHF1YEAR1 = ` +CHF 1,234.57/yr (CHF 14,814.81/yr) +`; + +export const priceWithAnnualforceTaxExclusivetruePUFCHF2YEARS1 = ` +CHF 2,345.68 (CHF 28,148.15/yr) +`; + +export const pricePromoWithAnnualdisplayPerUnittrueABM1 = ` +1.23 US$/moper license (14.81 US$/yr) +`; + +export const pricePromoWithAnnualdisplayPerUnittrueM2M1 = ` +US$ 12/moper license (US$ 148/yr) +`; + +export const pricePromoWithAnnualdisplayPerUnittruePERPETUAL1 = ` +US$123.46per license (US$1,481.48/yr) +`; + +export const pricePromoWithAnnualdisplayPerUnittruePUF1 = ` +1,235US$/yrper license (14,815US$/yr) +`; + +export const pricePromoWithAnnualdisplayPerUnittruePUFCHF1YEAR1 = ` +CHF 1,234.57/yrper license (CHF 14,814.81/yr) +`; + +export const pricePromoWithAnnualdisplayPerUnittruePUFCHF2YEARS1 = ` +CHF 2,345.68per license (CHF 28,148.15/yr) +`; + +export const pricePromoWithAnnualdisplayRecurrencefalseABM1 = ` +1.23 US$ (14.81 US$) +`; + +export const pricePromoWithAnnualdisplayRecurrencefalseM2M1 = ` +US$ 12 (US$ 148) +`; + +export const pricePromoWithAnnualdisplayRecurrencefalsePERPETUAL1 = ` +US$123.46 (US$1,481.48) +`; + +export const pricePromoWithAnnualdisplayRecurrencefalsePUF1 = ` +1,235US$ (14,815US$) +`; + +export const pricePromoWithAnnualdisplayRecurrencefalsePUFCHF1YEAR1 = ` +CHF 1,234.57 (CHF 14,814.81) +`; + +export const pricePromoWithAnnualdisplayRecurrencefalsePUFCHF2YEARS1 = ` +CHF 2,345.68 (CHF 28,148.15) +`; + +export const pricePromoWithAnnualdisplayTaxtrueABM1 = ` +1.23 US$/moexcl. tax (14.81 US$/yr) +`; + +export const pricePromoWithAnnualdisplayTaxtrueM2M1 = ` +US$ 12/moexcl. tax (US$ 148/yr) +`; + +export const pricePromoWithAnnualdisplayTaxtruePERPETUAL1 = ` +US$123.46incl. tax (US$1,481.48/yr) +`; + +export const pricePromoWithAnnualdisplayTaxtruePUF1 = ` +1,235US$/yrincl. tax (14,815US$/yr) +`; + +export const pricePromoWithAnnualdisplayTaxtruePUFCHF1YEAR1 = ` +CHF 1,234.57/yrincl. tax (CHF 14,814.81/yr) +`; + +export const pricePromoWithAnnualdisplayTaxtruePUFCHF2YEARS1 = ` +CHF 2,345.68incl. tax (CHF 28,148.15/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivefalseABM1 = ` +1.23 US$/mo (14.81 US$/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivefalseM2M1 = ` +US$ 12/mo (US$ 148/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivefalsePERPETUAL1 = ` +US$123.46 (US$1,481.48/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivefalsePUF1 = ` +1,235US$/yr (14,815US$/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivefalsePUFCHF1YEAR1 = ` +CHF 1,234.57/yr (CHF 14,814.81/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivefalsePUFCHF2YEARS1 = ` +CHF 2,345.68 (CHF 28,148.15/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivetrueABM1 = ` +1.23 US$/mo (14.81 US$/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivetrueM2M1 = ` +US$ 12/mo (US$ 148/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivetruePERPETUAL1 = ` +US$123.46 (US$1,481.48/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivetruePUF1 = ` +1,235US$/yr (14,815US$/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivetruePUFCHF1YEAR1 = ` +CHF 1,234.57/yr (CHF 14,814.81/yr) +`; + +export const pricePromoWithAnnualforceTaxExclusivetruePUFCHF2YEARS1 = ` +CHF 2,345.68 (CHF 28,148.15/yr) +`; diff --git a/libs/features/mas/test/price/__snapshots__/index.test.js.snap b/libs/features/mas/test/price/__snapshots__/index.test.js.snap deleted file mode 100644 index 8f4355458f..0000000000 --- a/libs/features/mas/test/price/__snapshots__/index.test.js.snap +++ /dev/null @@ -1 +0,0 @@ -

template "price" context "{"displayPerUnit":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/moper license
1.23 US$/moper license

template "price" context "{"displayPerUnit":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/moper license
US$ 12/moper license

template "price" context "{"displayPerUnit":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46per license
US$123.46per license

template "price" context "{"displayPerUnit":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yrper license
1,235US$/yrper license

template "price" context "{"displayPerUnit":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yrper license
CHF 1,234.57/yrper license

template "price" context "{"displayPerUnit":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68per license
CHF 2,345.68per license

template "price" context "{"displayRecurrence":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$
1.23 US$

template "price" context "{"displayRecurrence":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12
US$ 12

template "price" context "{"displayRecurrence":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "price" context "{"displayRecurrence":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$
1,235US$

template "price" context "{"displayRecurrence":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57
CHF 1,234.57

template "price" context "{"displayRecurrence":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68
CHF 2,345.68

template "price" context "{"displayTax":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/moexcl. tax
1.23 US$/moexcl. tax

template "price" context "{"displayTax":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/moexcl. tax
US$ 12/moexcl. tax

template "price" context "{"displayTax":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46incl. tax
US$123.46incl. tax

template "price" context "{"displayTax":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yrincl. tax
1,235US$/yrincl. tax

template "price" context "{"displayTax":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yrincl. tax
CHF 1,234.57/yrincl. tax

template "price" context "{"displayTax":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68incl. tax
CHF 2,345.68incl. tax

template "price" context "{"forceTaxExclusive":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/mo
1.23 US$/mo

template "price" context "{"forceTaxExclusive":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/mo
US$ 12/mo

template "price" context "{"forceTaxExclusive":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "price" context "{"forceTaxExclusive":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yr
1,235US$/yr

template "price" context "{"forceTaxExclusive":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yr
CHF 1,234.57/yr

template "price" context "{"forceTaxExclusive":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68
CHF 2,345.68

template "price" context "{"forceTaxExclusive":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/mo
1.23 US$/mo

template "price" context "{"forceTaxExclusive":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/mo
US$ 12/mo

template "price" context "{"forceTaxExclusive":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "price" context "{"forceTaxExclusive":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yr
1,235US$/yr

template "price" context "{"forceTaxExclusive":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yr
CHF 1,234.57/yr

template "price" context "{"forceTaxExclusive":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68
CHF 2,345.68

template "priceOptical" context "{"displayPerUnit":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/moper license
1.23 US$/moper license

template "priceOptical" context "{"displayPerUnit":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 13/moper license
US$ 13/moper license

template "priceOptical" context "{"displayPerUnit":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46per license
US$123.46per license

template "priceOptical" context "{"displayPerUnit":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

103US$/moper license
103US$/moper license

template "priceOptical" context "{"displayPerUnit":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 102.88/moper license
CHF 102.88/moper license

template "priceOptical" context "{"displayPerUnit":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 97.74/moper license
CHF 97.74/moper license

template "priceOptical" context "{"displayRecurrence":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$
1.23 US$

template "priceOptical" context "{"displayRecurrence":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 13
US$ 13

template "priceOptical" context "{"displayRecurrence":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "priceOptical" context "{"displayRecurrence":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

103US$
103US$

template "priceOptical" context "{"displayRecurrence":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 102.88
CHF 102.88

template "priceOptical" context "{"displayRecurrence":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 97.74
CHF 97.74

template "priceOptical" context "{"displayTax":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/moexcl. tax
1.23 US$/moexcl. tax

template "priceOptical" context "{"displayTax":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 13/moexcl. tax
US$ 13/moexcl. tax

template "priceOptical" context "{"displayTax":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46incl. tax
US$123.46incl. tax

template "priceOptical" context "{"displayTax":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

103US$/moincl. tax
103US$/moincl. tax

template "priceOptical" context "{"displayTax":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 102.88/moincl. tax
CHF 102.88/moincl. tax

template "priceOptical" context "{"displayTax":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 97.74/moincl. tax
CHF 97.74/moincl. tax

template "priceOptical" context "{"forceTaxExclusive":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/mo
1.23 US$/mo

template "priceOptical" context "{"forceTaxExclusive":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 13/mo
US$ 13/mo

template "priceOptical" context "{"forceTaxExclusive":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "priceOptical" context "{"forceTaxExclusive":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

103US$/mo
103US$/mo

template "priceOptical" context "{"forceTaxExclusive":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 102.88/mo
CHF 102.88/mo

template "priceOptical" context "{"forceTaxExclusive":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 97.74/mo
CHF 97.74/mo

template "priceOptical" context "{"forceTaxExclusive":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/mo
1.23 US$/mo

template "priceOptical" context "{"forceTaxExclusive":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 13/mo
US$ 13/mo

template "priceOptical" context "{"forceTaxExclusive":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "priceOptical" context "{"forceTaxExclusive":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

103US$/mo
103US$/mo

template "priceOptical" context "{"forceTaxExclusive":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 102.88/mo
CHF 102.88/mo

template "priceOptical" context "{"forceTaxExclusive":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 97.74/mo
CHF 97.74/mo

template "priceStrikethrough" context "{"displayPerUnit":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/moper license
1.23 US$/moper license

template "priceStrikethrough" context "{"displayPerUnit":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/moper license
US$ 12/moper license

template "priceStrikethrough" context "{"displayPerUnit":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46per license
US$123.46per license

template "priceStrikethrough" context "{"displayPerUnit":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yrper license
1,235US$/yrper license

template "priceStrikethrough" context "{"displayPerUnit":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yrper license
CHF 1,234.57/yrper license

template "priceStrikethrough" context "{"displayPerUnit":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68per license
CHF 2,345.68per license

template "priceStrikethrough" context "{"displayRecurrence":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$
1.23 US$

template "priceStrikethrough" context "{"displayRecurrence":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12
US$ 12

template "priceStrikethrough" context "{"displayRecurrence":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "priceStrikethrough" context "{"displayRecurrence":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$
1,235US$

template "priceStrikethrough" context "{"displayRecurrence":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57
CHF 1,234.57

template "priceStrikethrough" context "{"displayRecurrence":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68
CHF 2,345.68

template "priceStrikethrough" context "{"displayTax":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/moexcl. tax
1.23 US$/moexcl. tax

template "priceStrikethrough" context "{"displayTax":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/moexcl. tax
US$ 12/moexcl. tax

template "priceStrikethrough" context "{"displayTax":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46incl. tax
US$123.46incl. tax

template "priceStrikethrough" context "{"displayTax":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yrincl. tax
1,235US$/yrincl. tax

template "priceStrikethrough" context "{"displayTax":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yrincl. tax
CHF 1,234.57/yrincl. tax

template "priceStrikethrough" context "{"displayTax":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68incl. tax
CHF 2,345.68incl. tax

template "priceStrikethrough" context "{"forceTaxExclusive":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/mo
1.23 US$/mo

template "priceStrikethrough" context "{"forceTaxExclusive":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/mo
US$ 12/mo

template "priceStrikethrough" context "{"forceTaxExclusive":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "priceStrikethrough" context "{"forceTaxExclusive":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yr
1,235US$/yr

template "priceStrikethrough" context "{"forceTaxExclusive":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yr
CHF 1,234.57/yr

template "priceStrikethrough" context "{"forceTaxExclusive":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68
CHF 2,345.68

template "priceStrikethrough" context "{"forceTaxExclusive":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/mo
1.23 US$/mo

template "priceStrikethrough" context "{"forceTaxExclusive":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/mo
US$ 12/mo

template "priceStrikethrough" context "{"forceTaxExclusive":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "priceStrikethrough" context "{"forceTaxExclusive":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yr
1,235US$/yr

template "priceStrikethrough" context "{"forceTaxExclusive":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yr
CHF 1,234.57/yr

template "priceStrikethrough" context "{"forceTaxExclusive":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68
CHF 2,345.68

template "priceAnnual" context "{"displayPerUnit":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

14.81 US$/yrper license
14.81 US$/yrper license

template "priceAnnual" context "{"displayPerUnit":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/moper license
US$ 12/moper license

template "priceAnnual" context "{"displayPerUnit":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46per license
US$123.46per license

template "priceAnnual" context "{"displayPerUnit":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yrper license
1,235US$/yrper license

template "priceAnnual" context "{"displayPerUnit":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yrper license
CHF 1,234.57/yrper license

template "priceAnnual" context "{"displayPerUnit":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68per license
CHF 2,345.68per license

template "priceAnnual" context "{"displayRecurrence":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

14.81 US$
14.81 US$

template "priceAnnual" context "{"displayRecurrence":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12
US$ 12

template "priceAnnual" context "{"displayRecurrence":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "priceAnnual" context "{"displayRecurrence":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$
1,235US$

template "priceAnnual" context "{"displayRecurrence":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57
CHF 1,234.57

template "priceAnnual" context "{"displayRecurrence":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68
CHF 2,345.68

template "priceAnnual" context "{"displayTax":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

14.81 US$/yrexcl. tax
14.81 US$/yrexcl. tax

template "priceAnnual" context "{"displayTax":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/moexcl. tax
US$ 12/moexcl. tax

template "priceAnnual" context "{"displayTax":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46incl. tax
US$123.46incl. tax

template "priceAnnual" context "{"displayTax":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yrincl. tax
1,235US$/yrincl. tax

template "priceAnnual" context "{"displayTax":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yrincl. tax
CHF 1,234.57/yrincl. tax

template "priceAnnual" context "{"displayTax":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68incl. tax
CHF 2,345.68incl. tax

template "priceAnnual" context "{"forceTaxExclusive":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

14.81 US$/yr
14.81 US$/yr

template "priceAnnual" context "{"forceTaxExclusive":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/mo
US$ 12/mo

template "priceAnnual" context "{"forceTaxExclusive":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "priceAnnual" context "{"forceTaxExclusive":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yr
1,235US$/yr

template "priceAnnual" context "{"forceTaxExclusive":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yr
CHF 1,234.57/yr

template "priceAnnual" context "{"forceTaxExclusive":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68
CHF 2,345.68

template "priceAnnual" context "{"forceTaxExclusive":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

14.81 US$/yr
14.81 US$/yr

template "priceAnnual" context "{"forceTaxExclusive":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/mo
US$ 12/mo

template "priceAnnual" context "{"forceTaxExclusive":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46
US$123.46

template "priceAnnual" context "{"forceTaxExclusive":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yr
1,235US$/yr

template "priceAnnual" context "{"forceTaxExclusive":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yr
CHF 1,234.57/yr

template "priceAnnual" context "{"forceTaxExclusive":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68
CHF 2,345.68

template "priceWithAnnual" context "{"displayPerUnit":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/moper license (14.81 US$/yr)
1.23 US$/moper license (14.81 US$/yr)

template "priceWithAnnual" context "{"displayPerUnit":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/moper license (US$ 12/mo)
US$ 12/moper license (US$ 12/mo)

template "priceWithAnnual" context "{"displayPerUnit":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46per license (US$123.46)
US$123.46per license (US$123.46)

template "priceWithAnnual" context "{"displayPerUnit":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yrper license (1,235US$/yr)
1,235US$/yrper license (1,235US$/yr)

template "priceWithAnnual" context "{"displayPerUnit":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yrper license (CHF 1,234.57/yr)
CHF 1,234.57/yrper license (CHF 1,234.57/yr)

template "priceWithAnnual" context "{"displayPerUnit":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68per license (CHF 2,345.68)
CHF 2,345.68per license (CHF 2,345.68)

template "priceWithAnnual" context "{"displayRecurrence":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$ (14.81 US$)
1.23 US$ (14.81 US$)

template "priceWithAnnual" context "{"displayRecurrence":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12 (US$ 12)
US$ 12 (US$ 12)

template "priceWithAnnual" context "{"displayRecurrence":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46 (US$123.46)
US$123.46 (US$123.46)

template "priceWithAnnual" context "{"displayRecurrence":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$ (1,235US$)
1,235US$ (1,235US$)

template "priceWithAnnual" context "{"displayRecurrence":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57 (CHF 1,234.57)
CHF 1,234.57 (CHF 1,234.57)

template "priceWithAnnual" context "{"displayRecurrence":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68 (CHF 2,345.68)
CHF 2,345.68 (CHF 2,345.68)

template "priceWithAnnual" context "{"displayTax":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/moexcl. tax (14.81 US$/yr)
1.23 US$/moexcl. tax (14.81 US$/yr)

template "priceWithAnnual" context "{"displayTax":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/moexcl. tax (US$ 12/mo)
US$ 12/moexcl. tax (US$ 12/mo)

template "priceWithAnnual" context "{"displayTax":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46incl. tax (US$123.46)
US$123.46incl. tax (US$123.46)

template "priceWithAnnual" context "{"displayTax":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yrincl. tax (1,235US$/yr)
1,235US$/yrincl. tax (1,235US$/yr)

template "priceWithAnnual" context "{"displayTax":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yrincl. tax (CHF 1,234.57/yr)
CHF 1,234.57/yrincl. tax (CHF 1,234.57/yr)

template "priceWithAnnual" context "{"displayTax":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68incl. tax (CHF 2,345.68)
CHF 2,345.68incl. tax (CHF 2,345.68)

template "priceWithAnnual" context "{"forceTaxExclusive":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/mo (14.81 US$/yr)
1.23 US$/mo (14.81 US$/yr)

template "priceWithAnnual" context "{"forceTaxExclusive":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/mo (US$ 12/mo)
US$ 12/mo (US$ 12/mo)

template "priceWithAnnual" context "{"forceTaxExclusive":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46 (US$123.46)
US$123.46 (US$123.46)

template "priceWithAnnual" context "{"forceTaxExclusive":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yr (1,235US$/yr)
1,235US$/yr (1,235US$/yr)

template "priceWithAnnual" context "{"forceTaxExclusive":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yr (CHF 1,234.57/yr)
CHF 1,234.57/yr (CHF 1,234.57/yr)

template "priceWithAnnual" context "{"forceTaxExclusive":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68 (CHF 2,345.68)
CHF 2,345.68 (CHF 2,345.68)

template "priceWithAnnual" context "{"forceTaxExclusive":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/mo (14.81 US$/yr)
1.23 US$/mo (14.81 US$/yr)

template "priceWithAnnual" context "{"forceTaxExclusive":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/mo (US$ 12/mo)
US$ 12/mo (US$ 12/mo)

template "priceWithAnnual" context "{"forceTaxExclusive":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46 (US$123.46)
US$123.46 (US$123.46)

template "priceWithAnnual" context "{"forceTaxExclusive":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yr (1,235US$/yr)
1,235US$/yr (1,235US$/yr)

template "priceWithAnnual" context "{"forceTaxExclusive":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yr (CHF 1,234.57/yr)
CHF 1,234.57/yr (CHF 1,234.57/yr)

template "priceWithAnnual" context "{"forceTaxExclusive":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68 (CHF 2,345.68)
CHF 2,345.68 (CHF 2,345.68)

template "pricePromoWithAnnual" context "{"displayPerUnit":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/moper license (14.81 US$/yr)
1.23 US$/moper license (14.81 US$/yr)

template "pricePromoWithAnnual" context "{"displayPerUnit":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/moper license (US$ 12/mo)
US$ 12/moper license (US$ 12/mo)

template "pricePromoWithAnnual" context "{"displayPerUnit":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46per license (US$123.46)
US$123.46per license (US$123.46)

template "pricePromoWithAnnual" context "{"displayPerUnit":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yrper license (1,235US$/yr)
1,235US$/yrper license (1,235US$/yr)

template "pricePromoWithAnnual" context "{"displayPerUnit":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yrper license (CHF 1,234.57/yr)
CHF 1,234.57/yrper license (CHF 1,234.57/yr)

template "pricePromoWithAnnual" context "{"displayPerUnit":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68per license (CHF 2,345.68)
CHF 2,345.68per license (CHF 2,345.68)

template "pricePromoWithAnnual" context "{"displayRecurrence":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$ (14.81 US$)
1.23 US$ (14.81 US$)

template "pricePromoWithAnnual" context "{"displayRecurrence":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12 (US$ 12)
US$ 12 (US$ 12)

template "pricePromoWithAnnual" context "{"displayRecurrence":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46 (US$123.46)
US$123.46 (US$123.46)

template "pricePromoWithAnnual" context "{"displayRecurrence":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$ (1,235US$)
1,235US$ (1,235US$)

template "pricePromoWithAnnual" context "{"displayRecurrence":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57 (CHF 1,234.57)
CHF 1,234.57 (CHF 1,234.57)

template "pricePromoWithAnnual" context "{"displayRecurrence":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68 (CHF 2,345.68)
CHF 2,345.68 (CHF 2,345.68)

template "pricePromoWithAnnual" context "{"displayTax":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/moexcl. tax (14.81 US$/yr)
1.23 US$/moexcl. tax (14.81 US$/yr)

template "pricePromoWithAnnual" context "{"displayTax":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/moexcl. tax (US$ 12/mo)
US$ 12/moexcl. tax (US$ 12/mo)

template "pricePromoWithAnnual" context "{"displayTax":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46incl. tax (US$123.46)
US$123.46incl. tax (US$123.46)

template "pricePromoWithAnnual" context "{"displayTax":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yrincl. tax (1,235US$/yr)
1,235US$/yrincl. tax (1,235US$/yr)

template "pricePromoWithAnnual" context "{"displayTax":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yrincl. tax (CHF 1,234.57/yr)
CHF 1,234.57/yrincl. tax (CHF 1,234.57/yr)

template "pricePromoWithAnnual" context "{"displayTax":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68incl. tax (CHF 2,345.68)
CHF 2,345.68incl. tax (CHF 2,345.68)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":false}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/mo (14.81 US$/yr)
1.23 US$/mo (14.81 US$/yr)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":false}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/mo (US$ 12/mo)
US$ 12/mo (US$ 12/mo)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":false}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46 (US$123.46)
US$123.46 (US$123.46)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":false}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yr (1,235US$/yr)
1,235US$/yr (1,235US$/yr)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":false}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yr (CHF 1,234.57/yr)
CHF 1,234.57/yr (CHF 1,234.57/yr)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":false}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68 (CHF 2,345.68)
CHF 2,345.68 (CHF 2,345.68)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":true}" renders "ABM: currency last, currency space, precision, tax exclusive": language = en

1.23 US$/mo (14.81 US$/yr)
1.23 US$/mo (14.81 US$/yr)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":true}" renders "M2M: currency first, currency space, no precision, tax exclusive": language = en

US$ 12/mo (US$ 12/mo)
US$ 12/mo (US$ 12/mo)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":true}" renders "PERPETUAL: currency first, no currency space, precision, tax inclusive": language = en

US$123.46 (US$123.46)
US$123.46 (US$123.46)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":true}" renders "PUF: currency last, no currency space, no precision, tax inclusive": language = en

1,235US$/yr (1,235US$/yr)
1,235US$/yr (1,235US$/yr)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":true}" renders "PUF-CHF-1YEAR: currency first, currency space, precision, tax inclusive": language = en

CHF 1,234.57/yr (CHF 1,234.57/yr)
CHF 1,234.57/yr (CHF 1,234.57/yr)

template "pricePromoWithAnnual" context "{"forceTaxExclusive":true}" renders "PUF-CHF-2YEARS: currency first, currency space, precision, tax inclusive": language = en

CHF 2,345.68 (CHF 2,345.68)
CHF 2,345.68 (CHF 2,345.68)
diff --git a/libs/features/mas/test/price/__snapshots__/template.snapshots.js b/libs/features/mas/test/price/__snapshots__/template.snapshots.js new file mode 100644 index 0000000000..1f924aaeb5 --- /dev/null +++ b/libs/features/mas/test/price/__snapshots__/template.snapshots.js @@ -0,0 +1,385 @@ +export const price = ` + + US$ + + 599 + . + 88 + /yr + + + +`; + +export const strikethrough = ` + + US$ + + 599 + . + 88 + /yr + + + +`; + +export const optical = ` + + US$ + + 49 + . + 99 + /mo + per license + excl. tax + +`; + +export const annual = ` + + US$ + + 659 + . + 88 + /yr + + + +`; + +export const promo = ` + + US$ + + 43 + . + 99 + /mo + + + +`; + +export const promoStikethrough = ` + + US$ + + 43 + . + 99 + /mo + + + +  + + US$ + + 54 + . + 99 + /mo + + + +`; + +export const customLiterals = ` + + US$ + + 54 + . + 99 + every month + + + +`; + +export const taxExclusive = ` + + 41 + , + 65 +   + + /mo + + + +  + + 52 + , + 06 +   + + /mo + + + +`; + +export const discount = `20%`; +export const noDiscount = ``; + +export const auAbmAnnual = ` + + A$ + + 32 + . + 98 + + + + + ( + + A$ + + 32 + . + 98 + + + + +) +`; + +export const createPriceTemplate1 = ` + 100 + `; + +export const createPromoPriceTemplate1 = ` + 80 100 + `; + +export const createPromoPriceTemplate2 = ` + 100 + `; + +export const createPriceWithAnnualTemplate1 = ` + 100/mo (1200/yr) + `; + +export const createPromoPriceWithAnnualTemplate1 = ` + 100/mo 80/mo (960/yr) + `; + +export const annualTemplatePromo = ` + A$30.99/mo A$23.23/mo (A$325.32/mo) + `; + + +export const annualTemplatePromoNotStarted = ` + A$30.99/mo A$23.23/mo (A$371.88/yr) + `; + +export const annualTemplatePromoExpired = ` + A$30.99/mo A$23.23/mo (A$371.88/yr) + `; diff --git a/libs/features/mas/test/price/__snapshots__/template.test.js.snap b/libs/features/mas/test/price/__snapshots__/template.test.js.snap deleted file mode 100644 index 06588e9023..0000000000 --- a/libs/features/mas/test/price/__snapshots__/template.test.js.snap +++ /dev/null @@ -1 +0,0 @@ -
100
80 100
100
100/mo (1200/yr)
100/mo 80/mo (960/yr)
diff --git a/libs/features/mas/test/price/index.test.js b/libs/features/mas/test/price/index.test.js index 6db502768e..0dc8219756 100644 --- a/libs/features/mas/test/price/index.test.js +++ b/libs/features/mas/test/price/index.test.js @@ -1,4 +1,5 @@ -import { expect } from '@esm-bundle/chai'; +import * as snapshots from './__snapshots__/index.snapshot.js'; +import { expect } from '../utilities.js'; import { price, @@ -27,15 +28,6 @@ const literals = { '{recurrenceTerm, select, MONTH {

/mo

} YEAR {

/yr

} other {}}', }; -/* To update index.test.js.snap, inspect body > div, and run copy($0.outherHTML) in the js console, and paste it */ -const snapshots = await fetch('test/price/__snapshots__/index.test.js.snap') - .then((response) => response.text()) - .then( - (text) => - new DOMParser().parseFromString(text, 'text/html').body - .firstElementChild, - ); - const root = document.createElement('div'); document.body.append(root); @@ -50,8 +42,7 @@ const renderAndComparePrice = (id, html) => { el.setAttribute('id', id); el.innerHTML = html; root.append(el); - const snapshotEl = snapshots.querySelector(`#${id}`); - expect(el.innerHTML).to.equal(snapshotEl.innerHTML); + expect(el.innerHTML).to.be.html(snapshots[id]); }; Object.entries({ @@ -73,28 +64,17 @@ Object.entries({ describe(`context "${JSON.stringify(context)}"`, () => { Object.entries(data).forEach(([name, offer]) => { it(`renders "${name}"`, function () { - const idPrefix = `${templateName}${Object.keys(context)[0]}${name.split(':')[0]}`; + const idPrefix = + `${templateName}${Object.entries(context)[0].join('')}${name.split(':')[0]}`.replace( + /-/g, + '', + ); renderText( `${this.test.parent.parent.title} ${this.test.parent.title} ${this.test.title}: language = en`, ); renderAndComparePrice( `${idPrefix}1`, - template({ ...context, ...globals }, offer, { - 'data-analytics-productinfo': - '[{"test":"value"}]', - }), - ); - renderAndComparePrice( - `${idPrefix}2`, - template( - { - ...context, - ...globals, - literals, - language: 'en', - }, - offer, - ), + template({ ...context, ...globals }, offer, {}), ); }); }); diff --git a/libs/features/mas/test/price/template.test.js b/libs/features/mas/test/price/template.test.js index 161408151b..b0383181eb 100644 --- a/libs/features/mas/test/price/template.test.js +++ b/libs/features/mas/test/price/template.test.js @@ -1,4 +1,5 @@ -import { expect } from '@esm-bundle/chai'; +import { expect } from '../utilities.js'; +import * as snapshots from './__snapshots__/template.snapshots.js'; import { createPriceTemplate, createPromoPriceTemplate, @@ -45,22 +46,12 @@ const valueNotApplicableDiscount = { const root = document.createElement('div'); document.body.append(root); -/* To update index.test.js.snap, inspect body > div, and run copy($0.outherHTML) in the js console, and paste it */ -const snapshots = await fetch('test/price/__snapshots__/template.test.js.snap') - .then((response) => response.text()) - .then( - (text) => - new DOMParser().parseFromString(text, 'text/html').body - .firstElementChild, - ); - function renderAndComparePrice(id, html) { const el = document.createElement('div', { id }); el.setAttribute('id', id); el.innerHTML = html; root.append(el); - const snapshotEl = snapshots.querySelector(`#${id}`); - expect(el.innerHTML).to.equal(snapshotEl?.innerHTML); + expect(el.innerHTML).to.be.html(snapshots[id]); } describe('function "createPriceTemplate"', () => { @@ -146,3 +137,61 @@ describe('function "createPromoPriceWithAnnualTemplate"', function () { ); }); }); + +describe('Promotion price display with annual template', () => { + const basePromoContext = { + country: 'AU', + language: 'en', + }; + + const promoValue = { + formatString: "'A$'#,##0.00", + price: 23.23, + priceWithoutDiscount: 30.99, + commitment: 'YEAR', + term: 'MONTHLY', + promotion: { + start: '2024-11-15T04:02:37.000Z', + end: '2030-03-01T07:59:00.000Z', + outcomeType: 'PERCENTAGE_DISCOUNT', + duration: 'P6M', + amount: 25, + minProductQuantity: 1, + }, + }; + + const template = createPromoPriceWithAnnualTemplate(); + + it('displays annual price with promotion applied when promotion is active', () => { + const promoContext = { + ...basePromoContext, + instant: '2024-12-01T00:00:00.000Z', + }; + renderAndComparePrice( + 'annualTemplatePromo', + template(promoContext, promoValue, {}), + ); + }); + + it('displays annual price based on regular price when promotion has not started yet', () => { + const promoContext = { + ...basePromoContext, + instant: '2024-11-15T03:02:37.000Z', + }; + renderAndComparePrice( + 'annualTemplatePromoNotStarted', + template(promoContext, promoValue, {}), + ); + }); + + it('displays annual price based on regular price when promotion has expired', () => { + const promoContext = { + ...basePromoContext, + instant: '2030-03-01T08:59:00.000Z', + }; + renderAndComparePrice( + 'annualTemplatePromoExpired', + template(promoContext, promoValue, {}), + ); + }); +}); diff --git a/libs/features/mas/test/price/utilities.test.js b/libs/features/mas/test/price/utilities.test.js index 2ff40ffb25..3eeb67cf39 100644 --- a/libs/features/mas/test/price/utilities.test.js +++ b/libs/features/mas/test/price/utilities.test.js @@ -4,6 +4,7 @@ import { Term, Commitment } from '@pandora/data-models-odm'; import { formatAnnualPrice, formatOpticalPrice, + isPromotionActive, } from '../../src/price/utilities.js'; const OPTICAL_TEST_CASES = [ @@ -248,3 +249,127 @@ describe('function "formatAnnualPrice"', () => { }); }); }); + +describe('isPromotionActive', () => { + const validPromotion = { + start: '2024-01-01T00:00:00.000Z', + end: '2024-12-31T23:59:59.999Z', + displaySummary: { + outcomeType: 'PERCENTAGE_DISCOUNT', + duration: 'P6M', + amount: 25, + minProductQuantity: 1, + }, + }; + it('promotion is active when date is within promotion period', () => { + expect( + isPromotionActive(validPromotion, '2024-06-15T12:00:00.000Z'), + ).to.equal(true); + }); + + it('promotion is active when date matches start date exactly', () => { + expect( + isPromotionActive(validPromotion, '2024-01-01T00:00:00.000Z'), + ).to.equal(true); + }); + + it('promotion is active when date matches end date exactly', () => { + expect( + isPromotionActive(validPromotion, '2024-12-31T23:59:59.999Z'), + ).to.equal(true); + }); + + it('promotion is not active when date is before promotion period', () => { + expect( + isPromotionActive(validPromotion, '2023-12-31T23:59:59.999Z'), + ).to.equal(false); + }); + + it('promotion is not active when date is after promotion period', () => { + expect( + isPromotionActive(validPromotion, '2025-01-01T00:00:00.000Z'), + ).to.equal(false); + }); + + it('promotion is not active when promotion dates are missing', () => { + const invalidPromotion = { start: null, end: null }; + expect(isPromotionActive(invalidPromotion)).to.equal(false); + }); + + it('promotion is not active when promotion is missing start date', () => { + const invalidPromotion = { + start: null, + end: '2024-12-31T23:59:59.999Z', + }; + expect(isPromotionActive(invalidPromotion)).to.equal(false); + }); + + it('promotion is not active when promotion is missing end date', () => { + const invalidPromotion = { + start: '2024-01-01T00:00:00.000Z', + end: null, + }; + expect(isPromotionActive(invalidPromotion)).to.equal(false); + }); +}); + +describe('formatAnnualPrice', () => { + const promotion = { + start: '2024-11-15T04:02:37.000Z', + end: '2030-03-01T07:59:00.000Z', + displaySummary: { + outcomeType: 'PERCENTAGE_DISCOUNT', + duration: 'P6M', + amount: 25, + minProductQuantity: 1, + }, + }; + + it('should format annual price when promotion details are provided', () => { + expect( + formatAnnualPrice({ + formatString: "'A$'#,##0.00", + price: 23.23, + originalPrice: 23.23, + priceWithoutDiscount: 30.99, + commitment: Commitment.YEAR, + term: Term.MONTHLY, + instant: '2024-12-01T00:00:00.000Z', + promotion, + }).accessiblePrice, + ).to.equal('A$325.32'); + }); + + it('should format annual price with regular price when min quantity is not met', () => { + expect( + formatAnnualPrice({ + formatString: "'A$'#,##0.00", + price: 23.23, + originalPrice: 23.23, + priceWithoutDiscount: 30.99, + commitment: Commitment.YEAR, + term: Term.MONTHLY, + promotion: { + ...promotion, + displaySummary: { + ...promotion.displaySummary, + minProductQuantity: 2, + }, + }, + }).accessiblePrice, + ).to.equal('A$371.88'); + }); + + it('should format annual price with discount when promotion details are not provided', () => { + expect( + formatAnnualPrice({ + formatString: "'A$'#,##0.00", + price: 23.23, + originalPrice: 23.23, + priceWithoutDiscount: 30.99, + commitment: Commitment.YEAR, + term: Term.MONTHLY, + }).accessiblePrice, + ).to.equal('A$278.76'); + }); +}); diff --git a/libs/features/mas/test/utilities.js b/libs/features/mas/test/utilities.js index 081f5c0fa9..01a80e370e 100644 --- a/libs/features/mas/test/utilities.js +++ b/libs/features/mas/test/utilities.js @@ -9,8 +9,11 @@ import { TAG_NAME_SERVICE } from '../src/mas-commerce-service.js'; use(chaiAsPromised); use((chai) => { + const parser = new DOMParser(); + const root = document.createElement('div'); function normalise(val) { - return String(val) + root.innerHTML = parser.parseFromString(val, 'text/html'); + return root.innerHTML .trim() .replace(/>\s*<') .replace(/>\s*/g, '>') @@ -34,22 +37,22 @@ use((chai) => { }); const initMasCommerceService = async (attributes, checkoutAction) => { - const el = document.createElement(TAG_NAME_SERVICE); - if (attributes) { - Object.keys(attributes).forEach((key) => { - el.setAttribute(key, attributes[key]); - }) - } - if (checkoutAction) { - el.registerCheckoutAction(checkoutAction); - } - document.head.appendChild(el); - await el.readyPromise; - return el; -} + const el = document.createElement(TAG_NAME_SERVICE); + if (attributes) { + Object.keys(attributes).forEach((key) => { + el.setAttribute(key, attributes[key]); + }); + } + if (checkoutAction) { + el.registerCheckoutAction(checkoutAction); + } + document.head.appendChild(el); + await el.readyPromise; + return el; +}; const disableMasCommerceService = () => { - document.querySelector(TAG_NAME_SERVICE)?.remove(); -} + document.querySelector(TAG_NAME_SERVICE)?.remove(); +}; export { expect, sinon, initMasCommerceService, disableMasCommerceService };