diff --git a/libs/blocks/merch/merch.js b/libs/blocks/merch/merch.js index 744e1825a9..0ae22f4597 100644 --- a/libs/blocks/merch/merch.js +++ b/libs/blocks/merch/merch.js @@ -478,9 +478,7 @@ async function openExternalModal(url, getModal, extraOptions) { const isInternalModal = (url) => /\/fragments\//.test(url); -export async function openModal(e, url, offerType, hash, extraOptions) { - e.preventDefault(); - e.stopImmediatePropagation(); +export async function openModal(url, offerType, hash, extraOptions) { const { getModal } = await import('../modal/modal.js'); await import('../modal/modal.merch.js'); const offerTypeClass = offerType === OFFER_TYPE_TRIAL ? 'twp' : 'crm'; @@ -539,7 +537,7 @@ export async function getModalAction(offers, options, el) { if (!url) return undefined; url = isInternalModal(url) || isProdModal(url) ? localizeLink(checkoutLinkConfig[columnName]) : checkoutLinkConfig[columnName]; - return { url, handler: (e) => openModal(e, url, offerType, hash, options.extraOptions) }; + return { url, handler: () => openModal(url, offerType, hash, options.extraOptions) }; } export async function getCheckoutAction(offers, options, imsSignedInPromise, el) { diff --git a/libs/deps/mas/commerce.js b/libs/deps/mas/commerce.js index f3e6dd472a..e548b4b1cc 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 Zn=Object.getOwnPropertyDescriptor;var Jn=Object.getOwnPropertyNames;var Qn=Object.getPrototypeOf,ei=Object.prototype.hasOwnProperty;var ti=(e,t,r)=>t in e?Ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ri=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ni=(e,t)=>{for(var r in t)Ge(e,r,{get:t[r],enumerable:!0})},ii=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Jn(t))!ei.call(e,i)&&i!==r&&Ge(e,i,{get:()=>t[i],enumerable:!(n=Zn(t,i))||n.enumerable});return e};var ai=(e,t,r)=>(r=e!=null?qn(Qn(e)):{},ii(t||!e||!e.__esModule?Ge(r,"default",{value:e,enumerable:!0}):r,e));var P=(e,t,r)=>(ti(e,typeof t!="symbol"?t+"":t,r),r),Ir=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var ve=(e,t,r)=>(Ir(e,t,"read from private field"),r?r.call(e):t.get(e)),He=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},mt=(e,t,r,n)=>(Ir(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Gn=ri((Rl,po)=>{po.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 ye;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(ye||(ye={}));var ht;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(ht||(ht={}));var Pe;(function(e){e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED"})(Pe||(Pe={}));var ie;(function(e){e.V2="UCv2",e.V3="UCv3"})(ie||(ie={}));var H;(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"})(H||(H={}));var Tt=function(e){var t;return(t=oi.get(e))!==null&&t!==void 0?t:e},oi=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 _r=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.")},Nr=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=_r(Object.entries(e)),o=a.next();!o.done;o=a.next()){var s=Nr(o.value,2),l=s[0],c=s[1],u=Tt(l);c!=null&&r.has(u)&&t.set(u,c)}}catch(f){n={error:f}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}function Fe(e){switch(e){case ye.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Ye(e,t){var r,n;for(var i in e){var a=e[i];try{for(var o=(r=void 0,_r(Object.entries(a))),s=o.next();!s.done;s=o.next()){var l=Nr(s.value,2),c=l[0],u=l[1];if(u!=null){var f=Tt(c);t.set("items["+i+"]["+f+"]",u)}}}catch(p){r={error:p}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}var si=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 Vr(e){fi(e);var t=e.env,r=e.items,n=e.workflowStep,i=si(e,["env","items","workflowStep"]),a=new URL(Fe(t));return a.pathname=n+"/",Ye(r,a.searchParams),Te(i,a.searchParams,ci),a.toString()}var ci=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),ui=["env","workflowStep","clientId","country","items"];function fi(e){var t,r;try{for(var n=li(ui),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 pi=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.")},hi="p_draft_landscape",Ti="/store/";function Et(e){Ei(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,f=pi(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),p={marketSegment:a??i,offerType:s??o,productArrangementCode:c??l},m=new URL(Fe(t));return m.pathname=""+Ti+n,n!==H.SEGMENTATION&&n!==H.CHANGE_PLAN_TEAM_PLANS&&Ye(r,m.searchParams),n===H.SEGMENTATION&&Te(p,m.searchParams,At),Te(f,m.searchParams,At),u===Pe.DRAFT&&Te({af:hi},m.searchParams,At),m.toString()}var At=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"]),Ai=["env","workflowStep","clientId","country"];function Ei(e){var t,r;try{for(var n=mi(Ai),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!==H.SEGMENTATION&&e.workflowStep!==H.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function dt(e,t){switch(e){case ie.V2:return Vr(t);case ie.V3:return Et(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),Et(t)}}var St;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(St||(St={}));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 I;(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"})(I||(I={}));var xt;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(xt||(xt={}));var bt;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(bt||(bt={}));var gt;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(gt||(gt={}));var Lt;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(Lt||(Lt={}));var Cr="tacocat.js";var Ke=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),Or=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function _(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=di(Ae(r)?r:e);a=document.documentElement.querySelector(`meta[name="${o}"]`)?.content}return a??t[e]}var Ee=()=>{};var wr=e=>typeof e=="boolean",Ie=e=>typeof e=="function",Xe=e=>typeof e=="number",Rr=e=>e!=null&&typeof e=="object";var Ae=e=>typeof e=="string",vt=e=>Ae(e)&&e,de=e=>Xe(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(wr(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function ee(e,t,r){let n=Object.values(t);return n.find(i=>Ke(i,e))??r??n[0]}function di(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function xe(e,t=1){return Xe(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var Si=Date.now(),yt=()=>`(+${Date.now()-Si}ms)`,je=new Set,xi=x(_("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function kr(e){let t=`[${Cr}/${e}]`,r=(o,s,...l)=>o?!0:(i(s,...l),!1),n=xi?(o,...s)=>{console.debug(`${t} ${o}`,...s,yt())}:()=>{},i=(o,...s)=>{let l=`${t} ${o}`;je.forEach(([c])=>c(l,...s))};return{assert:r,debug:n,error:i,warn:(o,...s)=>{let l=`${t} ${o}`;je.forEach(([,c])=>c(l,...s))}}}function bi(e,t){let r=[e,t];return je.add(r),()=>{je.delete(r)}}bi((e,...t)=>{console.error(e,...t,yt())},(e,...t)=>{console.warn(e,...t,yt())});var gi="no promo",Dr="promo-tag",Li="yellow",vi="neutral",yi=(e,t,r)=>{let n=a=>a||gi,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Pi="cancel-context",_e=(e,t)=>{let r=e===Pi,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?Dr:`${Dr} no-promo`,text:yi(o,t,i),variant:a?Li:vi,isOverriden:i}};var Pt="ABM",It="PUF",_t="M2M",Nt="PERPETUAL",Vt="P3Y",Ii="TAX_INCLUSIVE_DETAILS",_i="TAX_EXCLUSIVE",Ur={ABM:Pt,PUF:It,M2M:_t,PERPETUAL:Nt,P3Y:Vt},Xo={[Pt]:{commitment:O.YEAR,term:I.MONTHLY},[It]:{commitment:O.YEAR,term:I.ANNUAL},[_t]:{commitment:O.MONTH,term:I.MONTHLY},[Nt]:{commitment:O.PERPETUAL,term:void 0},[Vt]:{commitment:O.THREE_MONTHS,term:I.P3Y}},Mr="Value is not an offer",We=e=>{if(typeof e!="object")return Mr;let{commitment:t,term:r}=e,n=Ni(t,r);return{...e,planType:n}};var Ni=(e,t)=>{switch(e){case void 0:return Mr;case"":return"";case O.YEAR:return t===I.MONTHLY?Pt:t===I.ANNUAL?It:"";case O.MONTH:return t===I.MONTHLY?_t:"";case O.PERPETUAL:return Nt;case O.TERM_LICENSE:return t===I.P3Y?Vt:"";default:return""}};function Ct(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:a,taxDisplay:o}=t;if(o!==Ii)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:a??n,taxDisplay:_i}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var Ot=function(e,t){return Ot=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])},Ot(e,t)};function Ne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ot(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,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(Oi,function(s,l,c,u,f,p){if(l)t.minimumIntegerDigits=c.length;else{if(u&&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($r.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Kr.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Kr,function(s,l,c,u,f,p){return c==="*"?t.minimumFractionDigits=l.length:u&&u[0]==="#"?t.maximumFractionDigits=u.length:f&&p?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+p.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""}),i.options.length&&(t=b(b({},t),Xr(i.options[0])));continue}if(zr.test(i.stem)){t=b(b({},t),Xr(i.stem));continue}var a=Br(i.stem);a&&(t=b(b({},t),a));var o=wi(i.stem);o&&(t=b(b({},t),o))}return t}var kt,Ri=new RegExp("^"+Rt.source+"*"),ki=new RegExp(Rt.source+"*$");function S(e,t){return{start:e,end:t}}var Di=!!String.prototype.startsWith,Ui=!!String.fromCodePoint,Mi=!!Object.fromEntries,Gi=!!String.prototype.codePointAt,Hi=!!String.prototype.trimStart,Fi=!!String.prototype.trimEnd,Yi=!!Number.isSafeInteger,Ki=Yi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ut=!0;try{Zr=tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ut=((kt=Zr.exec("a"))===null||kt===void 0?void 0:kt[0])==="a"}catch{Ut=!1}var Zr,Jr=Di?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Mt=Ui?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},Qr=Mi?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}},Xi=Hi?function(t){return t.trimStart()}:function(t){return t.replace(Ri,"")},ji=Fi?function(t){return t.trimEnd()}:function(t){return t.replace(ki,"")};function tn(e,t){return new RegExp(e,t)}var Gt;Ut?(Dt=tn("([^\\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=en(t,r);if(i===void 0||nn(i)||$i(i))break;n.push(i),r+=i>=65536?2:1}return Mt.apply(void 0,n)};var Dt,rn=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.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:v.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&&Ht(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:v.literal,value:"<"+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:v.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()&&zi(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:v.literal,value:i,location:l},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Wi(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:v.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(),f=this.parseSimpleArgStyleIfPossible();if(f.err)return f;var p=ji(f.val);if(p.length===0)return this.error(E.EXPECT_ARGUMENT_STYLE,S(this.clonePosition(),this.clonePosition()));var m=S(u,this.clonePosition());c={style:p,styleLocation:m}}var h=this.tryParseArgumentClose(i);if(h.err)return h;var T=S(i,this.clonePosition());if(c&&Jr(c?.style,"::",0)){var g=Xi(c.style.slice(2));if(s==="number"){var f=this.parseNumberSkeletonFromString(g,c.styleLocation);return f.err?f:{val:{type:v.number,value:n,location:T,style:f.val},err:null}}else{if(g.length===0)return this.error(E.EXPECT_DATE_TIME_SKELETON,T);var p={type:ae.dateTime,pattern:g,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Fr(g):{}},V=s==="date"?v.date:v.time;return{val:{type:V,value:n,location:T,style:p},err:null}}}return{val:{type:s==="number"?v.number:s==="date"?v.date:v.time,value:n,location:T,style:(a=c?.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var A=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS,S(A,b({},A)));this.bumpSpace();var d=this.parseIdentifierIfPossible(),N=0;if(s!=="select"&&d.value==="offset"){if(!this.bumpIf(":"))return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S(this.clonePosition(),this.clonePosition()));this.bumpSpace();var f=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(f.err)return f;this.bumpSpace(),d=this.parseIdentifierIfPossible(),N=f.val}var y=this.tryParsePluralOrSelectOptions(t,s,r,d);if(y.err)return y;var h=this.tryParseArgumentClose(i);if(h.err)return h;var C=S(i,this.clonePosition());return s==="select"?{val:{type:v.select,value:n,options:Qr(y.val),location:C},err:null}:{val:{type:v.plural,value:n,options:Qr(y.val),offset:N,pluralType:s==="plural"?"cardinal":"ordinal",location:C},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=Wr(t)}catch{return this.error(E.INVALID_NUMBER_SKELETON,r)}return{val:{type:ae.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?qr(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 f=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var p=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR,E.INVALID_PLURAL_ARGUMENT_SELECTOR);if(p.err)return p;u=S(f,this.clonePosition()),c=this.message.slice(f.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 m=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 h=this.parseMessage(t+1,r,n);if(h.err)return h;var T=this.tryParseArgumentClose(m);if(T.err)return T;s.push([c,{value:h.val,location:S(m,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,Ki(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=en(this.message,t);if(r===void 0)throw Error("Offset "+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(Jr(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 "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&nn(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 Ht(e){return e>=97&&e<=122||e>=65&&e<=90}function Wi(e){return Ht(e)||e===47}function zi(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 nn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function $i(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 $e(t)&&et(t.style)||(Be(t)||qe(t))&&Ve(t.style)?delete t.style.location:Qe(t)&&Ft(t.children)})}function an(e,t){t===void 0&&(t={}),t=b({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new rn(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 Ce(e,t){var r=t&&t.cache?t.cache:ea,n=t&&t.serializer?t.serializer:Qi,i=t&&t.strategy?t.strategy:qi;return i(e,{cache:r,serializer:n})}function Bi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function on(e,t,r,n){var i=Bi(n)?n:r(n),a=t.get(i);return typeof a>"u"&&(a=e.call(this,n),t.set(i,a)),a}function sn(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 Yt(e,t,r,n,i){return r.bind(t,e,n,i)}function qi(e,t){var r=e.length===1?on:sn;return Yt(e,this,r,t.cache.create(),t.serializer)}function Zi(e,t){return Yt(e,this,sn,t.cache.create(),t.serializer)}function Ji(e,t){return Yt(e,this,on,t.cache.create(),t.serializer)}var Qi=function(){return JSON.stringify(arguments)};function Kt(){this.cache=Object.create(null)}Kt.prototype.get=function(e){return this.cache[e]};Kt.prototype.set=function(e,t){this.cache[e]=t};var ea={create:function(){return new Kt}},tt={variadic:Zi,monadic:Ji};var oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(oe||(oe={}));var Oe=function(e){Ne(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: "+this.code+"] "+this.message},t}(Error);var Xt=function(e){Ne(t,e);function t(r,n,i,a){return e.call(this,'Invalid values for "'+r+'": "'+n+'". Options are "'+Object.keys(i).join('", "')+'"',oe.INVALID_VALUE,a)||this}return t}(Oe);var ln=function(e){Ne(t,e);function t(r,n,i){return e.call(this,'Value for "'+r+'" must be of type '+n,oe.INVALID_VALUE,i)||this}return t}(Oe);var cn=function(e){Ne(t,e);function t(r,n){return e.call(this,'The intl string context variable "'+r+'" was not provided to the string "'+n+'"',oe.MISSING_VALUE,n)||this}return t}(Oe);var k;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(k||(k={}));function ta(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 ra(e){return typeof e=="function"}function we(e,t,r,n,i,a,o){if(e.length===1&&wt(e[0]))return[{type:k.literal,value:e[0].value}];for(var s=[],l=0,c=e;l{throw TypeError(e)};var li=(e,t,r)=>t in e?Fe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ci=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ui=(e,t)=>{for(var r in t)Fe(e,r,{get:t[r],enumerable:!0})},hi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ai(t))!si.call(e,i)&&i!==r&&Fe(e,i,{get:()=>t[i],enumerable:!(n=ii(t,i))||n.enumerable});return e};var fi=(e,t,r)=>(r=e!=null?ni(oi(e)):{},hi(t||!e||!e.__esModule?Fe(r,"default",{value:e,enumerable:!0}):r,e));var L=(e,t,r)=>li(e,typeof t!="symbol"?t+"":t,r),Or=(e,t,r)=>t.has(e)||Vr("Cannot "+r);var Ae=(e,t,r)=>(Or(e,t,"read from private field"),r?r.call(e):t.get(e)),Ke=(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),wr=(e,t,r,n)=>(Or(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Wn=ci((ec,xo)=>{xo.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 Pe;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(Pe||(Pe={}));var dt;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(dt||(dt={}));var Ie;(function(e){e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED"})(Ie||(Ie={}));var ie;(function(e){e.V2="UCv2",e.V3="UCv3"})(ie||(ie={}));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 St=function(e){var t;return(t=pi.get(e))!==null&&t!==void 0?t:e},pi=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 Ee(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 Pe.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 mi=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){di(e);var t=e.env,r=e.items,n=e.workflowStep,i=mi(e,["env","items","workflowStep"]),a=new URL(Ye(t));return a.pathname=n+"/",Xe(r,a.searchParams),Ee(i,a.searchParams,Ai),a.toString()}var Ai=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),Ei=["env","workflowStep","clientId","country","items"];function di(e){var t,r;try{for(var n=Ti(Ei),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 Si=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.")},xi="p_draft_landscape",gi="/store/";function xt(e){vi(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=Si(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=""+gi+n,n!==G.SEGMENTATION&&n!==G.CHANGE_PLAN_TEAM_PLANS&&Xe(r,p.searchParams),n===G.SEGMENTATION&&Ee(f,p.searchParams,bt),Ee(h,p.searchParams,bt),u===Ie.DRAFT&&Ee({af:xi},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"]),Li=["env","workflowStep","clientId","country"];function vi(e){var t,r;try{for(var n=bi(Li),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 gt(e,t){switch(e){case ie.V2:return Hr(t);case ie.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 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 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=de(n)?n:e;a=o.get(s)}if(i&&a==null){let o=de(i)?i:e;a=window.sessionStorage.getItem(o)??window.localStorage.getItem(o)}if(r&&a==null){let o=yi(de(r)?r:e);a=document.documentElement.querySelector(`meta[name="${o}"]`)?.content}return a??t[e]}var Se=()=>{};var Mr=e=>typeof e=="boolean",_e=e=>typeof e=="function",je=e=>typeof e=="number",Gr=e=>e!=null&&typeof e=="object";var de=e=>typeof e=="string",_t=e=>de(e)&&e,be=e=>je(e)&&Number.isFinite(e)&&e>0;function xe(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 ee(e,t,r){let n=Object.values(t);return n.find(i=>We(i,e))??r??n[0]}function yi(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function ge(e,t=1){return je(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var Pi=Date.now(),Nt=()=>`(+${Date.now()-Pi}ms)`,ze=new Set,Ii=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=Ii?(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 _i(e,t){let r=[e,t];return ze.add(r),()=>{ze.delete(r)}}_i((e,...t)=>{console.error(e,...t,Nt())},(e,...t)=>{console.warn(e,...t,Nt())});var Ni="no promo",Fr="promo-tag",Ci="yellow",Vi="neutral",Oi=(e,t,r)=>{let n=a=>a||Ni,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},wi="cancel-context",Ne=(e,t)=>{let r=e===wi,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:Oi(o,t,i),variant:a?Ci:Vi,isOverriden:i}};var Ct="ABM",Vt="PUF",Ot="M2M",wt="PERPETUAL",Rt="P3Y",Ri="TAX_INCLUSIVE_DETAILS",ki="TAX_EXCLUSIVE",Kr={ABM:Ct,PUF:Vt,M2M:Ot,PERPETUAL:wt,P3Y:Rt},Jo={[Ct]:{commitment:w.YEAR,term:_.MONTHLY},[Vt]:{commitment:w.YEAR,term:_.ANNUAL},[Ot]:{commitment:w.MONTH,term:_.MONTHLY},[wt]:{commitment:w.PERPETUAL,term:void 0},[Rt]:{commitment:w.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=Hi(t,r);return{...e,planType:n}};var Hi=(e,t)=>{switch(e){case void 0:return Yr;case"":return"";case w.YEAR:return t===_.MONTHLY?Ct:t===_.ANNUAL?Vt:"";case w.MONTH:return t===_.MONTHLY?Ot:"";case w.PERPETUAL:return wt;case w.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!==Ri)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:a??n,taxDisplay:ki}};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 Ce(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(Mi,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=Gi(i.stem);s&&(t=d(d({},t),s))}return t}var Oe={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=Bi(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 Bi(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=Oe[n||""]||Oe[r||""]||Oe["".concat(r,"-001")]||Oe["001"];return i[0]}var Mt,Fi=new RegExp("^".concat(Ut.source,"*")),Ki=new RegExp("".concat(Ut.source,"*$"));function S(e,t){return{start:e,end:t}}var Yi=!!String.prototype.startsWith,Xi=!!String.fromCodePoint,Wi=!!Object.fromEntries,ji=!!String.prototype.codePointAt,zi=!!String.prototype.trimStart,$i=!!String.prototype.trimEnd,qi=!!Number.isSafeInteger,Zi=qi?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=Yi?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ft=Xi?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=Wi?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}},Ji=zi?function(t){return t.trimStart()}:function(t){return t.replace(Fi,"")},Qi=$i?function(t){return t.trimEnd()}:function(t){return t.replace(Ki,"")};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)||ra(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()&&ta(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||!ea(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=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&&on(c?.style,"::",0)){var v=Ji(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=nn(v,this.locale));var f={type:ae.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 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:sn(V.val),location:O},err:null}:{val:{type:y.plural,value:n,options:sn(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=Jr(t)}catch{return this.error(E.INVALID_NUMBER_SKELETON,r)}return{val:{type:ae.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,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=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 ea(e){return Yt(e)||e===47}function ta(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 ra(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))&&Ve(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 we(e,t){var r=t&&t.cache?t.cache:la,n=t&&t.serializer?t.serializer:sa,i=t&&t.strategy?t.strategy:ia;return i(e,{cache:r,serializer:n})}function na(e){return e==null||typeof e=="number"||typeof e=="boolean"}function pn(e,t,r,n){var i=na(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 ia(e,t){var r=e.length===1?pn:mn;return Wt(e,this,r,t.cache.create(),t.serializer)}function aa(e,t){return Wt(e,this,mn,t.cache.create(),t.serializer)}function oa(e,t){return Wt(e,this,pn,t.cache.create(),t.serializer)}var sa=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 la={create:function(){return new jt}},it={variadic:aa,monadic:oa};var oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(oe||(oe={}));var Re=function(e){Ce(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){Ce(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('", "'),'"'),oe.INVALID_VALUE,a)||this}return t}(Re);var Tn=function(e){Ce(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),oe.INVALID_VALUE,i)||this}return t}(Re);var An=function(e){Ce(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,'"'),oe.MISSING_VALUE,n)||this}return t}(Re);var k;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(k||(k={}));function ca(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 ua(e){return typeof e=="function"}function ke(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?e.substring(0,n):"";let i=pn(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(sa);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 ca(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,ua(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 ua(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.lengthMath.round(e*20)/20},Wt=(e,t)=>({accept:e,round:t}),Ta=[Wt(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Wt(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.ceil(Math.floor(t*1e4/e)/100)/100),Wt(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],zt={[O.YEAR]:{[I.MONTHLY]:Re.MONTH,[I.ANNUAL]:Re.YEAR},[O.MONTH]:{[I.MONTHLY]:Re.MONTH}},Aa=(e,t)=>e.indexOf(`'${t}'`)===0,Ea=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Sn(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Sa(e)),r},da=e=>{let t=xa(e),r=Aa(e,t),n=e.replace(/'.*?'/,""),i=An.test(n)||En.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},dn=e=>e.replace(An,Tn).replace(En,Tn),Sa=e=>e.match(/#(.?)#/)?.[1]===hn?pa:hn,xa=e=>e.match(/'(.*?)'/)?.[1]??"",Sn=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}=da(e),c=r?Sn(e):"",u=Ea(e,r),f=r?2:0,p=a(t,{currencySymbol:o}),m=n?p.toLocaleString("hi-IN",{minimumFractionDigits:f,maximumFractionDigits:f}):mn(u,p),h=r?m.lastIndexOf(c):m.length,T=m.substring(0,h),g=m.substring(h+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,o),currencySymbol:o,decimals:g,decimalsDelimiter:c,hasCurrencySpace:l,integer:T,isCurrencyFirst:s,recurrenceTerm:i}}var xn=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=ma[r]??1;return rt(e,i>1?Re.MONTH:zt[t]?.[r],(a,{currencySymbol:o})=>{let s={divisor:i,price:a,usePrecision:n},{round:l}=Ta.find(({accept:u})=>u(s));if(!l)throw new Error(`Missing rounding rule for: ${JSON.stringify(s)}`);return(ha[o]??(u=>u))(l(s))})},bn=({commitment:e,term:t,...r})=>rt(r,zt[e]?.[t]),gn=e=>{let{commitment:t,term:r}=e;return t===O.YEAR&&r===I.MONTHLY?rt(e,Re.YEAR,n=>n*12):rt(e,zt[t]?.[r])};var ba={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}"},ga=kr("ConsonantTemplates/price"),La=/<\/?[^>]+(>|$)/g,w={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"},se={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},va="TAX_EXCLUSIVE",ya=e=>Rr(e)?Object.entries(e).filter(([,t])=>Ae(t)||Xe(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Or(n)+'"'}`,""):"",D=(e,t,r,n=!1)=>`${n?dn(t):t??""}`;function Pa(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:a,integer:o,isCurrencyFirst:s,recurrenceLabel:l,perUnitLabel:c,taxInclusivityLabel:u},f={}){let p=D(w.currencySymbol,r),m=D(w.currencySpace,a?" ":""),h="";return s&&(h+=p+m),h+=D(w.integer,o),h+=D(w.decimalsDelimiter,i),h+=D(w.decimals,n),s||(h+=m+p),h+=D(w.recurrence,l,null,!0),h+=D(w.unitType,c,null,!0),h+=D(w.taxInclusivity,u,!0),D(e,h,{...f,"aria-label":t})}var M=({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:f,formatString:p,price:m,priceWithoutDiscount:h,taxDisplay:T,taxTerm:g,term:V,usePrecision:A}={},d={})=>{Object.entries({country:n,formatString:p,language:l,price:m}).forEach(([B,ft])=>{if(ft==null)throw new Error(`Argument "${B}" is missing for osi ${f?.toString()}, country ${n}, language ${l}`)});let N={...ba,...c},y=`${l.toLowerCase()}-${n.toUpperCase()}`;function C(B,ft){let pt=N[B];if(pt==null)return"";try{return new fn(pt.replace(La,""),y).format(ft)}catch{return ga.error("Failed to format literal:",pt),""}}let R=t&&h?h:m,z=e?xn:bn;r&&(z=gn);let{accessiblePrice:pe,recurrenceTerm:re,...me}=z({commitment:u,formatString:p,term:V,price:e?m:R,usePrecision:A,isIndianPrice:n==="IN"}),F=pe,Q="";if(x(a)&&re){let B=C(se.recurrenceAriaLabel,{recurrenceTerm:re});B&&(F+=" "+B),Q=C(se.recurrenceLabel,{recurrenceTerm:re})}let $="";if(x(o)){$=C(se.perUnitLabel,{perUnit:"LICENSE"});let B=C(se.perUnitAriaLabel,{perUnit:"LICENSE"});B&&(F+=" "+B)}let Y="";x(s)&&g&&(Y=C(T===va?se.taxExclusiveLabel:se.taxInclusiveLabel,{taxTerm:g}),Y&&(F+=" "+Y)),t&&(F=C(se.strikethroughAriaLabel,{strikethroughPrice:F}));let ne=w.container;if(e&&(ne+=" "+w.containerOptical),t&&(ne+=" "+w.containerStrikethrough),r&&(ne+=" "+w.containerAnnual),x(i))return Pa(ne,{...me,accessibleLabel:F,recurrenceLabel:Q,perUnitLabel:$,taxInclusivityLabel:Y},d);let{currencySymbol:yr,decimals:jn,decimalsDelimiter:Wn,hasCurrencySpace:Pr,integer:zn,isCurrencyFirst:$n}=me,he=[zn,Wn,jn];$n?(he.unshift(Pr?"\xA0":""),he.unshift(yr)):(he.push(Pr?"\xA0":""),he.push(yr)),he.push(Q,$,Y);let Bn=he.join("");return D(ne,Bn,d)},Ln=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||x(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${M()(e,t,r)}${i?" "+M({displayStrikethrough:!0})(e,t,r):""}`},vn=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||x(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?M({displayStrikethrough:!0})(n,t,r)+" ":""}${M()(e,t,r)}${D(w.containerAnnualPrefix," (")}${M({displayAnnual:!0})(n,t,r)}${D(w.containerAnnualSuffix,")")}`},yn=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${M()(e,t,r)}${D(w.containerAnnualPrefix," (")}${M({displayAnnual:!0})(n,t,r)}${D(w.containerAnnualSuffix,")")}`};var $t=M(),Bt=Ln(),qt=M({displayOptical:!0}),Zt=M({displayStrikethrough:!0}),Jt=M({displayAnnual:!0}),Qt=yn(),er=vn();var Ia=(e,t)=>{if(!(!de(e)||!de(t)))return Math.floor((t-e)/t*100)},Pn=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Ia(r,n);return i===void 0?'':`${i}%`};var tr=Pn();var{freeze:ke}=Object,K=ke({...ie}),X=ke({...H}),le={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},rr=ke({...O}),nr=ke({...Ur}),ir=ke({...I});var Er={};ni(Er,{CLASS_NAME_FAILED:()=>ar,CLASS_NAME_HIDDEN:()=>Na,CLASS_NAME_PENDING:()=>or,CLASS_NAME_RESOLVED:()=>sr,ERROR_MESSAGE_BAD_REQUEST:()=>nt,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>za,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>lr,EVENT_AEM_ERROR:()=>Xa,EVENT_AEM_LOAD:()=>Ka,EVENT_MAS_ERROR:()=>Wa,EVENT_MAS_READY:()=>ja,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Ra,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>Fa,EVENT_MERCH_CARD_COLLECTION_SORT:()=>Ha,EVENT_MERCH_CARD_READY:()=>wa,EVENT_MERCH_OFFER_READY:()=>Ca,EVENT_MERCH_OFFER_SELECT_READY:()=>Oa,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>Ma,EVENT_MERCH_SEARCH_CHANGE:()=>Ga,EVENT_MERCH_SIDENAV_SELECT:()=>Ya,EVENT_MERCH_STOCK_CHANGE:()=>Da,EVENT_MERCH_STORAGE_CHANGE:()=>Ua,EVENT_OFFER_SELECTED:()=>ka,EVENT_TYPE_FAILED:()=>cr,EVENT_TYPE_PENDING:()=>ur,EVENT_TYPE_READY:()=>be,EVENT_TYPE_RESOLVED:()=>fr,LOG_NAMESPACE:()=>pr,Landscape:()=>ce,NAMESPACE:()=>_a,PARAM_AOS_API_KEY:()=>$a,PARAM_ENV:()=>mr,PARAM_LANDSCAPE:()=>hr,PARAM_WCS_API_KEY:()=>Ba,STATE_FAILED:()=>q,STATE_PENDING:()=>Z,STATE_RESOLVED:()=>J,TAG_NAME_SERVICE:()=>Va,WCS_PROD_URL:()=>Tr,WCS_STAGE_URL:()=>Ar});var _a="merch",Na="hidden",be="wcms:commerce:ready",Va="mas-commerce-service",Ca="merch-offer:ready",Oa="merch-offer-select:ready",wa="merch-card:ready",Ra="merch-card:action-menu-toggle",ka="merch-offer:selected",Da="merch-stock:change",Ua="merch-storage:change",Ma="merch-quantity-selector:change",Ga="merch-search:change",Ha="merch-card-collection:sort",Fa="merch-card-collection:showmore",Ya="merch-sidenav:select",Ka="aem:load",Xa="aem:error",ja="mas:ready",Wa="mas:error",ar="placeholder-failed",or="placeholder-pending",sr="placeholder-resolved",nt="Bad WCS request",lr="Commerce offer not found",za="Literals URL not provided",cr="mas:failed",ur="mas:pending",fr="mas:resolved",pr="mas/commerce",mr="commerce.env",hr="commerce.landscape",$a="commerce.aosKey",Ba="commerce.wcsKey",Tr="https://www.adobe.com/web_commerce_artifact",Ar="https://www.stage.adobe.com/web_commerce_artifact_stage",q="failed",Z="pending",J="resolved",ce={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var In="mas-commerce-service";function _n(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(In);i!==r&&(r=i,i&&e(i))}return document.addEventListener(be,n,{once:t}),te(n),()=>document.removeEventListener(be,n)}function De(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(Ct)),i}var te=e=>window.setTimeout(e);function ge(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(xe).filter(de);return r.length||(r=[t]),r}function it(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(vt)}function G(){return document.getElementsByTagName(In)?.[0]}var ue={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},Nn=1e3,Vn=new Set;function qa(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function Cn(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 Za(e,t){if(!ue.ignoredProperties.includes(e))return Cn(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&&(qa(c)?n:i).push(c)}),n.length&&(a+=" "+n.map(Cn).join(" "));let{pathname:o,search:s}=window.location,l=`${ue.delimiter}page=${o}${s}`;l.length>Nn&&(l=`${l.slice(0,Nn)}`),a+=l,i.length&&(a+=`${ue.delimiter}facts=`,a+=JSON.stringify(i,Za)),Vn.has(a)||(Vn.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 L=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:K.V3,checkoutWorkflowStep:X.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:le.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:ce.PUBLISHED,wcsBufferLimit:1});var Sr=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function Ja({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 xr(e={}){let{commerce:t={}}=e,r=le.PRODUCTION,n=Tr,i=_("checkoutClientId",t)??L.checkoutClientId,a=ee(_("checkoutWorkflow",t),K,L.checkoutWorkflow),o=X.CHECKOUT;a===K.V3&&(o=ee(_("checkoutWorkflowStep",t),X,L.checkoutWorkflowStep));let s=x(_("displayOldPrice",t),L.displayOldPrice),l=x(_("displayPerUnit",t),L.displayPerUnit),c=x(_("displayRecurrence",t),L.displayRecurrence),u=x(_("displayTax",t),L.displayTax),f=x(_("entitlement",t),L.entitlement),p=x(_("modal",t),L.modal),m=x(_("forceTaxExclusive",t),L.forceTaxExclusive),h=_("promotionCode",t)??L.promotionCode,T=ge(_("quantity",t)),g=_("wcsApiKey",t)??L.wcsApiKey,V=t?.env==="stage",A=ce.PUBLISHED;["true",""].includes(t.allowOverride)&&(V=(_(mr,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",A=ee(_(hr,t),ce,A)),V&&(r=le.STAGE,n=Ar);let N=xe(_("wcsBufferDelay",t),L.wcsBufferDelay),y=xe(_("wcsBufferLimit",t),L.wcsBufferLimit);return{...Ja(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:a,checkoutWorkflowStep:o,displayPerUnit:l,displayRecurrence:c,displayTax:u,entitlement:f,extraOptions:L.extraOptions,modal:p,env:r,forceTaxExclusive:m,promotionCode:h,quantity:T,wcsApiKey:g,wcsBufferDelay:N,wcsBufferLimit:y,wcsURL:n,landscape:A}}var br={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Qa=Date.now(),gr=new Set,Lr=new Set,On=new Map,wn={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},Rn={filter:({level:e})=>e!==br.DEBUG},eo={filter:()=>!1};function to(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Ie(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-Qa}}function ro(e){[...Lr].every(t=>t(e))&&gr.forEach(t=>t(e))}function kn(e){let t=(On.get(e)??0)+1;On.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>kn(`${n.namespace}/${i}`),updateConfig:at};return Object.values(br).forEach(i=>{n[i]=(a,...o)=>ro(to(i,a,e,o,r))}),Object.seal(n)}function ot(...e){e.forEach(t=>{let{append:r,filter:n}=t;Ie(n)&&Lr.add(n),Ie(r)&&gr.add(r)})}function no(e={}){let{name:t}=e,r=x(_("commerce.debug",{search:!0,storage:!0}),t===Sr.LOCAL);return ot(r?wn:Rn),t===Sr.PROD&&ot(dr),U}function io(){gr.clear(),Lr.clear()}var U={...kn(pr),Level:br,Plugins:{consoleAppender:wn,debugFilter:Rn,quietFilter:eo,lanaAppender:dr},init:no,reset:io,use:ot};var ao={[q]:ar,[Z]:or,[J]:sr},oo={[q]:cr,[Z]:ur,[J]:fr},Le=class{constructor(t){P(this,"changes",new Map);P(this,"connected",!1);P(this,"dispose",Ee);P(this,"error");P(this,"log");P(this,"options");P(this,"promises",[]);P(this,"state",Z);P(this,"timer",null);P(this,"value");P(this,"version",0);P(this,"wrapperElement");this.wrapperElement=t}update(){[q,Z,J].forEach(t=>{this.wrapperElement.classList.toggle(ao[t],t===this.state)})}notify(){(this.state===J||this.state===q)&&(this.state===J?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(oo[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=_n(()=>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 J===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=J,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),te(()=>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}),te(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=Z,this.update(),te(()=>this.notify()),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!G()||this.timer)return;let r=U.module("mas-element"),{error:n,options:i,state:a,value:o,version:s}=this;this.state=Z,this.timer=te(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===Z&&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 Dn(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,Dn(t)),i}function lt(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,Dn(t)),e):null}var so="download",lo="upgrade",fe,Ue=class Ue extends HTMLAnchorElement{constructor(){super();He(this,fe,void 0);P(this,"masElement",new Le(this));this.handleClick=this.handleClick.bind(this)}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)}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)}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"]}static createCheckoutLink(r={},n=""){let i=G();if(!i)return null;let{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:u,perpetual:f,promotionCode:p,quantity:m,wcsOsi:h,extraOptions:T}=i.collectCheckoutOptions(r),g=st(Ue,{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:u,perpetual:f,promotionCode:p,quantity:m,wcsOsi:h,extraOptions:T});return n&&(g.innerHTML=`${n}`),g}get isCheckoutLink(){return!0}handleClick(r){var n;if(r.target!==this){r.preventDefault(),r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}));return}(n=ve(this,fe))==null||n.call(this,r)}async render(r={}){if(!this.isConnected)return!1;let n=G();if(!n)return!1;this.dataset.imsCountry||n.imsCountryPromise.then(u=>{u&&(this.dataset.imsCountry=u)},Ee),r.imsCountry=null;let i=n.collectCheckoutOptions(r,this);if(!i.wcsOsi.length)return!1;let a;try{a=JSON.parse(i.extraOptions??"{}")}catch(u){this.masElement.log?.error("cannot parse exta checkout options",u)}let o=this.masElement.togglePending(i);this.href="";let s=n.resolveOfferSelectors(i),l=await Promise.all(s);l=l.map(u=>De(u,i)),i.country=this.dataset.imsCountry||i.country;let c=await n.buildCheckoutAction?.(l.flat(),{...a,...i},this);return this.renderOffers(l.flat(),i,{},c,o)}renderOffers(r,n,i={},a=void 0,o=void 0){if(!this.isConnected)return!1;let s=G();if(!s)return!1;if(n={...JSON.parse(this.dataset.extraOptions??"null"),...n,...i},o??(o=this.masElement.togglePending(n)),ve(this,fe)&&mt(this,fe,void 0),a){this.classList.remove(so,lo),this.masElement.toggleResolved(o,r,n);let{url:c,text:u,className:f,handler:p}=a;return c&&(this.href=c),u&&(this.firstElementChild.innerHTML=u),f&&this.classList.add(...f.split(" ")),p&&(this.setAttribute("href","#"),mt(this,fe,p.bind(this))),!0}else if(r.length){if(this.masElement.toggleResolved(o,r,n)){let c=s.buildCheckoutURL(r,n);return this.setAttribute("href",c),!0}}else{let c=new Error(`Not provided: ${n?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(o,c,n))return this.setAttribute("href","#"),!0}}updateOptions(r={}){let n=G();if(!n)return!1;let{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:l,modal:c,perpetual:u,promotionCode:f,quantity:p,wcsOsi:m}=n.collectCheckoutOptions(r);return lt(this,{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:l,modal:c,perpetual:u,promotionCode:f,quantity:p,wcsOsi:m}),!0}};fe=new WeakMap,P(Ue,"is","checkout-link"),P(Ue,"tag","a");var j=Ue;window.customElements.get(j.is)||window.customElements.define(j.is,j,{extends:j.tag});function Un({providers:e,settings:t}){function r(a,o){let{checkoutClientId:s,checkoutWorkflow:l,checkoutWorkflowStep:c,country:u,language:f,promotionCode:p,quantity:m}=t,{checkoutMarketSegment:h,checkoutWorkflow:T=l,checkoutWorkflowStep:g=c,imsCountry:V,country:A=V??u,language:d=f,quantity:N=m,entitlement:y,upgrade:C,modal:R,perpetual:z,promotionCode:pe=p,wcsOsi:re,extraOptions:me,...F}=Object.assign({},o?.dataset??{},a??{}),Q=ee(T,K,L.checkoutWorkflow),$=X.CHECKOUT;Q===K.V3&&($=ee(g,X,L.checkoutWorkflowStep));let Y=Se({...F,extraOptions:me,checkoutClientId:s,checkoutMarketSegment:h,country:A,quantity:ge(N,L.quantity),checkoutWorkflow:Q,checkoutWorkflowStep:$,language:d,entitlement:x(y),upgrade:x(C),modal:x(R),perpetual:x(z),promotionCode:_e(pe).effectivePromoCode,wcsOsi:it(re)});if(o)for(let ne of e.checkout)ne(o,Y);return Y}function n(a,o){if(!Array.isArray(a)||!a.length||!o)return"";let{env:s,landscape:l}=t,{checkoutClientId:c,checkoutMarketSegment:u,checkoutWorkflow:f,checkoutWorkflowStep:p,country:m,promotionCode:h,quantity:T,...g}=r(o),V=window.frameElement?"if":"fp",A={checkoutPromoCode:h,clientId:c,context:V,country:m,env:s,items:[],marketSegment:u,workflowStep:p,landscape:l,...g};if(a.length===1){let[{offerId:d,offerType:N,productArrangementCode:y}]=a,{marketSegments:[C]}=a[0];Object.assign(A,{marketSegment:C,offerType:N,productArrangementCode:y}),A.items.push(T[0]===1?{id:d}:{id:d,quantity:T[0]})}else A.items.push(...a.map(({offerId:d},N)=>({id:d,quantity:T[N]??L.quantity})));return dt(f,A)}let{createCheckoutLink:i}=j;return{CheckoutLink:j,CheckoutWorkflow:K,CheckoutWorkflowStep:X,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function co({interval:e=200,maxAttempts:t=25}={}){let r=U.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 uo(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function fo(e){let t=U.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 Mn({}){let e=co(),t=uo(e),r=fo(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function Hn(e,t){let{data:r}=t||await Promise.resolve().then(()=>ai(Gn(),1));if(Array.isArray(r)){let n=a=>r.find(o=>Ke(o.lang,a)),i=n(e.language)??n(L.language);if(i)return Object.freeze(i)}return{}}var Fn=["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"],mo={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();P(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=G();if(!n)return null;let{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:f,template:p,wcsOsi:m}=n.collectPriceOptions(r);return st(Me,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:f,template:p,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,a){let o=`${r}_${n}`;if(Fn.includes(r)||Fn.includes(o))return!0;let s=mo[`${i}_${a}`];return s?!!(s.includes(r)||s.includes(o)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),a=De(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=G();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(De(await o,i),i,a)}renderOffers(r,n={},i=void 0){if(!this.isConnected)return;let a=G();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=G();if(!n)return!1;let{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:f,template:p,wcsOsi:m}=n.collectPriceOptions(r);return lt(this,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:f,template:p,wcsOsi:m}),!0}};P(Me,"is","inline-price"),P(Me,"tag","span");var W=Me;window.customElements.get(W.is)||window.customElements.define(W.is,W,{extends:W.tag});function Yn({literals:e,providers:t,settings:r}){function n(o,s){let{country:l,displayOldPrice:c,displayPerUnit:u,displayRecurrence:f,displayTax:p,forceTaxExclusive:m,language:h,promotionCode:T,quantity:g}=r,{displayOldPrice:V=c,displayPerUnit:A=u,displayRecurrence:d=f,displayTax:N=p,forceTaxExclusive:y=m,country:C=l,language:R=h,perpetual:z,promotionCode:pe=T,quantity:re=g,template:me,wcsOsi:F,...Q}=Object.assign({},s?.dataset??{},o??{}),$=Se({...Q,country:C,displayOldPrice:x(V),displayPerUnit:x(A),displayRecurrence:x(d),displayTax:x(N),forceTaxExclusive:x(y),language:R,perpetual:x(z),promotionCode:_e(pe).effectivePromoCode,quantity:ge(re,L.quantity),template:me,wcsOsi:it(F)});if(s)for(let Y of t.price)Y(s,$);return $}function i(o,s){if(!Array.isArray(o)||!o.length||!s)return"";let{template:l}=s,c;switch(l){case"discount":c=tr;break;case"strikethrough":c=Zt;break;case"optical":c=qt;break;case"annual":c=Jt;break;default:s.country==="AU"&&o[0].planType==="ABM"?c=s.promotionCode?er:Qt:c=s.promotionCode?Bt:$t}let u=n(s);u.literals=Object.assign({},e.price,Se(s.literals??{}));let[f]=o;return f={...f,...f.priceDetails},c(u,f)}let a=W.createInlinePrice;return{InlinePrice:W,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:a}}function Kn({settings:e}){let t=U.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,a=new Map,o;async function s(f,p,m=!0){let h=lr;t.debug("Fetching:",f);let T="",g,V=(A,d,N)=>`${A}: ${d?.status}, url: ${N.toString()}`;try{if(f.offerSelectorIds=f.offerSelectorIds.sort(),T=new URL(e.wcsURL),T.searchParams.set("offer_selector_ids",f.offerSelectorIds.join(",")),T.searchParams.set("country",f.country),T.searchParams.set("locale",f.locale),T.searchParams.set("landscape",r===le.STAGE?"ALL":e.landscape),T.searchParams.set("api_key",n),f.language&&T.searchParams.set("language",f.language),f.promotionCode&&T.searchParams.set("promotion_code",f.promotionCode),f.currency&&T.searchParams.set("currency",f.currency),g=await fetch(T.toString(),{credentials:"omit"}),g.ok){let A=await g.json();t.debug("Fetched:",f,A);let d=A.resolvedOffers??[];d=d.map(We),p.forEach(({resolve:N},y)=>{let C=d.filter(({offerSelectorIds:R})=>R.includes(y)).flat();C.length&&(p.delete(y),N(C))})}else g.status===404&&f.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(f.offerSelectorIds.map(A=>s({...f,offerSelectorIds:[A]},p,!1)))):h=nt}catch(A){h=nt,t.error(h,f,A)}m&&p.size&&(t.debug("Missing:",{offerSelectorIds:[...p.keys()]}),p.forEach(A=>{A.reject(new Error(V(h,g,T)))}))}function l(){clearTimeout(o);let f=[...a.values()];a.clear(),f.forEach(({options:p,promises:m})=>s(p,m))}function c(){let f=i.size;i.clear(),t.debug(`Flushed ${f} cache entries`)}function u({country:f,language:p,perpetual:m=!1,promotionCode:h="",wcsOsi:T=[]}){let g=`${p}_${f}`;f!=="GB"&&(p=m?"EN":"MULT");let V=[f,p,h].filter(A=>A).join("-").toLowerCase();return T.map(A=>{let d=`${A}-${V}`;if(!i.has(d)){let N=new Promise((y,C)=>{let R=a.get(V);if(!R){let z={country:f,locale:g,offerSelectorIds:[]};f!=="GB"&&(z.language=p),R={options:z,promises:new Map},a.set(V,R)}h&&(R.options.promotionCode=h),R.options.offerSelectorIds.push(A),R.promises.set(A,{resolve:y,reject:C}),R.options.offerSelectorIds.length>=e.wcsBufferLimit?l():(t.debug("Queued:",R.options),o||(o=setTimeout(l,e.wcsBufferDelay)))});i.set(d,N)}return i.get(d)})}return{WcsCommitment:rr,WcsPlanType:nr,WcsTerm:ir,resolveOfferSelectors:u,flushWcsCache:c}}var vr="mas-commerce-service",ut,Xn,ct=class extends HTMLElement{constructor(){super(...arguments);He(this,ut);P(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=ve(this,ut,Xn),n=Object.freeze(xr(r));at(r.lana);let i=U.init(r.hostEnv).module("service");i.debug("Activating:",r);let a={price:{}};try{a.price=await Hn(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({...Un(s),...Mn(s),...Yn(s),...Kn(s),...Er,Log:U,get defaults(){return L},get log(){return U},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}),te(()=>{let l=new CustomEvent(be,{bubbles:!0,cancelable:!1,detail:this});this.dispatchEvent(l)})}connectedCallback(){this.readyPromise||(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")}};ut=new WeakSet,Xn=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},P(ct,"instance");window.customElements.get(vr)||window.customElements.define(vr,ct);export{j as CheckoutLink,K as CheckoutWorkflow,X as CheckoutWorkflowStep,L as Defaults,W as InlinePrice,ce as Landscape,U as Log,vr as TAG_NAME_SERVICE,rr as WcsCommitment,nr as WcsPlanType,ir as WcsTerm,We as applyPlanType,xr as getSettings}; +`,oe.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,ke(b.value,t,r,n,i,f-(u.offset||0)));continue}}return ca(s)}function ha(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 fa(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=ha(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 pa(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:we(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 ma=/[0-9\-+#]/,Ta=/[^\d\-+#]/g;function Sn(e){return e.search(ma)}function Aa(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(Ta);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 Ea(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,da(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 da(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.lengthMath.round(e*20)/20},qt=(e,t)=>({accept:e,round:t}),La=[qt(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),qt(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.ceil(Math.floor(t*1e4/e)/100)/100),qt(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Zt={[w.YEAR]:{[_.MONTHLY]:He.MONTH,[_.ANNUAL]:He.YEAR},[w.MONTH]:{[_.MONTHLY]:He.MONTH}},va=(e,t)=>e.indexOf(`'${t}'`)===0,ya=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Pn(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Ia(e)),r},Pa=e=>{let t=_a(e),r=va(e,t),n=e.replace(/'.*?'/,""),i=Ln.test(n)||vn.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},yn=e=>e.replace(Ln,gn).replace(vn,gn),Ia=e=>e.match(/#(.?)#/)?.[1]===xn?ba:xn,_a=e=>e.match(/'(.*?)'/)?.[1]??"",Pn=e=>e.match(/0(.?)0/)?.[1]??"";function at({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,a=o=>o){let{currencySymbol:o,isCurrencyFirst:s,hasCurrencySpace:l}=Pa(e),c=r?Pn(e):"",u=ya(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),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 In=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=xa[r]??1;return at(e,i>1?He.MONTH:Zt[t]?.[r],(a,{currencySymbol:o})=>{let s={divisor:i,price:a,usePrecision:n},{round:l}=La.find(({accept:u})=>u(s));if(!l)throw new Error(`Missing rounding rule for: ${JSON.stringify(s)}`);return(ga[o]??(u=>u))(l(s))})},_n=({commitment:e,term:t,...r})=>at(r,Zt[e]?.[t]),Nn=e=>{let{commitment:t,term:r}=e;return t===w.YEAR&&r===_.MONTHLY?at(e,He.YEAR,n=>n*12):at(e,Zt[t]?.[r])};var Na={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}"},Ca=Br("ConsonantTemplates/price"),Va=/<\/?[^>]+(>|$)/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"},se={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Oa="TAX_EXCLUSIVE",wa=e=>Gr(e)?Object.entries(e).filter(([,t])=>de(t)||je(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Ur(n)+'"'}`,""):"",H=(e,t,r,n=!1)=>`${n?yn(t):t??""}`;function Ra(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(([$,At])=>{if(At==null)throw new Error(`Argument "${$}" is missing for osi ${h?.toString()}, country ${n}, language ${l}`)});let I={...Na,...c},C=`${l.toLowerCase()}-${n.toUpperCase()}`;function V($,At){let Et=I[$];if(Et==null)return"";try{return new dn(Et.replace(Va,""),C).format(At)}catch{return Ca.error("Failed to format literal:",Et),""}}let O=t&&m?m:p,j=e?In:_n;r&&(j=Nn);let{accessiblePrice:pe,recurrenceTerm:re,...me}=j({commitment:u,formatString:f,term:P,price:e?p:O,usePrecision:A,isIndianPrice:n==="IN"}),B=pe,Q="";if(x(a)&&re){let $=V(se.recurrenceAriaLabel,{recurrenceTerm:re});$&&(B+=" "+$),Q=V(se.recurrenceLabel,{recurrenceTerm:re})}let z="";if(x(o)){z=V(se.perUnitLabel,{perUnit:"LICENSE"});let $=V(se.perUnitAriaLabel,{perUnit:"LICENSE"});$&&(B+=" "+$)}let F="";x(s)&&v&&(F=V(T===Oa?se.taxExclusiveLabel:se.taxInclusiveLabel,{taxTerm:v}),F&&(B+=" "+F)),t&&(B=V(se.strikethroughAriaLabel,{strikethroughPrice:B}));let ne=R.container;if(e&&(ne+=" "+R.containerOptical),t&&(ne+=" "+R.containerStrikethrough),r&&(ne+=" "+R.containerAnnual),x(i))return Ra(ne,{...me,accessibleLabel:B,recurrenceLabel:Q,perUnitLabel:z,taxInclusivityLabel:F},b);let{currencySymbol:Nr,decimals:Jn,decimalsDelimiter:Qn,hasCurrencySpace:Cr,integer:ei,isCurrencyFirst:ti}=me,Te=[ei,Qn,Jn];ti?(Te.unshift(Cr?"\xA0":""),Te.unshift(Nr)):(Te.push(Cr?"\xA0":""),Te.push(Nr)),Te.push(Q,z,F);let ri=Te.join("");return H(ne,ri,b)},Cn=()=>(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):""}`},Vn=()=>(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,")")}`},On=()=>(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 Jt=U(),Qt=Cn(),er=U({displayOptical:!0}),tr=U({displayStrikethrough:!0}),rr=U({displayAnnual:!0}),nr=On(),ir=Vn();var ka=(e,t)=>{if(!(!be(e)||!be(t)))return Math.floor((t-e)/t*100)},wn=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=ka(r,n);return i===void 0?'':`${i}%`};var ar=wn();var{freeze:De}=Object,K=De({...ie}),Y=De({...G}),le={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},or=De({...w}),sr=De({...Kr}),lr=De({..._});var xr={};ui(xr,{CLASS_NAME_FAILED:()=>cr,CLASS_NAME_HIDDEN:()=>Da,CLASS_NAME_PENDING:()=>ur,CLASS_NAME_RESOLVED:()=>hr,ERROR_MESSAGE_BAD_REQUEST:()=>ot,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>to,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>fr,EVENT_AEM_ERROR:()=>Ja,EVENT_AEM_LOAD:()=>Za,EVENT_MAS_ERROR:()=>eo,EVENT_MAS_READY:()=>Qa,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Fa,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>$a,EVENT_MERCH_CARD_COLLECTION_SORT:()=>za,EVENT_MERCH_CARD_READY:()=>Ba,EVENT_MERCH_OFFER_READY:()=>Ma,EVENT_MERCH_OFFER_SELECT_READY:()=>Ga,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>Wa,EVENT_MERCH_SEARCH_CHANGE:()=>ja,EVENT_MERCH_SIDENAV_SELECT:()=>qa,EVENT_MERCH_STOCK_CHANGE:()=>Ya,EVENT_MERCH_STORAGE_CHANGE:()=>Xa,EVENT_OFFER_SELECTED:()=>Ka,EVENT_TYPE_FAILED:()=>pr,EVENT_TYPE_PENDING:()=>mr,EVENT_TYPE_READY:()=>Le,EVENT_TYPE_RESOLVED:()=>Tr,LOG_NAMESPACE:()=>Ar,Landscape:()=>ce,NAMESPACE:()=>Ha,PARAM_AOS_API_KEY:()=>ro,PARAM_ENV:()=>Er,PARAM_LANDSCAPE:()=>dr,PARAM_WCS_API_KEY:()=>no,STATE_FAILED:()=>q,STATE_PENDING:()=>Z,STATE_RESOLVED:()=>J,TAG_NAME_SERVICE:()=>Ua,WCS_PROD_URL:()=>Sr,WCS_STAGE_URL:()=>br});var Ha="merch",Da="hidden",Le="wcms:commerce:ready",Ua="mas-commerce-service",Ma="merch-offer:ready",Ga="merch-offer-select:ready",Ba="merch-card:ready",Fa="merch-card:action-menu-toggle",Ka="merch-offer:selected",Ya="merch-stock:change",Xa="merch-storage:change",Wa="merch-quantity-selector:change",ja="merch-search:change",za="merch-card-collection:sort",$a="merch-card-collection:showmore",qa="merch-sidenav:select",Za="aem:load",Ja="aem:error",Qa="mas:ready",eo="mas:error",cr="placeholder-failed",ur="placeholder-pending",hr="placeholder-resolved",ot="Bad WCS request",fr="Commerce offer not found",to="Literals URL not provided",pr="mas:failed",mr="mas:pending",Tr="mas:resolved",Ar="mas/commerce",Er="commerce.env",dr="commerce.landscape",ro="commerce.aosKey",no="commerce.wcsKey",Sr="https://www.adobe.com/web_commerce_artifact",br="https://www.stage.adobe.com/web_commerce_artifact_stage",q="failed",Z="pending",J="resolved",ce={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Rn="mas-commerce-service";function kn(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(Rn);i!==r&&(r=i,i&&e(i))}return document.addEventListener(Le,n,{once:t}),te(n),()=>document.removeEventListener(Le,n)}function Ue(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 te=e=>window.setTimeout(e);function ve(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(ge).filter(be);return r.length||(r=[t]),r}function st(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(_t)}function M(){return document.getElementsByTagName(Rn)?.[0]}var ue={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},Hn=1e3,Dn=new Set;function io(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function Un(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 ao(e,t){if(!ue.ignoredProperties.includes(e))return Un(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&&(io(c)?n:i).push(c)}),n.length&&(a+=" "+n.map(Un).join(" "));let{pathname:o,search:s}=window.location,l=`${ue.delimiter}page=${o}${s}`;l.length>Hn&&(l=`${l.slice(0,Hn)}`),a+=l,i.length&&(a+=`${ue.delimiter}facts=`,a+=JSON.stringify(i,ao)),Dn.has(a)||(Dn.add(a),window.lana?.log(a,ue))}};function lt(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:le.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:ce.PUBLISHED,wcsBufferLimit:1});var Lr=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function oo({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=le.PRODUCTION,n=Sr,i=N("checkoutClientId",t)??g.checkoutClientId,a=ee(N("checkoutWorkflow",t),K,g.checkoutWorkflow),o=Y.CHECKOUT;a===K.V3&&(o=ee(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=ve(N("quantity",t)),v=N("wcsApiKey",t)??g.wcsApiKey,P=t?.env==="stage",A=ce.PUBLISHED;["true",""].includes(t.allowOverride)&&(P=(N(Er,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",A=ee(N(dr,t),ce,A)),P&&(r=le.STAGE,n=br);let I=ge(N("wcsBufferDelay",t),g.wcsBufferDelay),C=ge(N("wcsBufferLimit",t),g.wcsBufferLimit);return{...oo(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 yr={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},so=Date.now(),Pr=new Set,Ir=new Set,Mn=new Map,Gn={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},Bn={filter:({level:e})=>e!==yr.DEBUG},lo={filter:()=>!1};function co(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&_e(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-so}}function uo(e){[...Ir].every(t=>t(e))&&Pr.forEach(t=>t(e))}function Fn(e){let t=(Mn.get(e)??0)+1;Mn.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>Fn(`${n.namespace}/${i}`),updateConfig:lt};return Object.values(yr).forEach(i=>{n[i]=(a,...o)=>uo(co(i,a,e,o,r))}),Object.seal(n)}function ct(...e){e.forEach(t=>{let{append:r,filter:n}=t;_e(n)&&Ir.add(n),_e(r)&&Pr.add(r)})}function ho(e={}){let{name:t}=e,r=x(N("commerce.debug",{search:!0,storage:!0}),t===Lr.LOCAL);return ct(r?Gn:Bn),t===Lr.PROD&&ct(gr),D}function fo(){Pr.clear(),Ir.clear()}var D={...Fn(Ar),Level:yr,Plugins:{consoleAppender:Gn,debugFilter:Bn,quietFilter:lo,lanaAppender:gr},init:ho,reset:fo,use:ct};var po={[q]:cr,[Z]:ur,[J]:hr},mo={[q]:pr,[Z]:mr,[J]:Tr},ye=class{constructor(t){L(this,"changes",new Map);L(this,"connected",!1);L(this,"dispose",Se);L(this,"error");L(this,"log");L(this,"options");L(this,"promises",[]);L(this,"state",Z);L(this,"timer",null);L(this,"value");L(this,"version",0);L(this,"wrapperElement");this.wrapperElement=t}update(){[q,Z,J].forEach(t=>{this.wrapperElement.classList.toggle(po[t],t===this.state)})}notify(){(this.state===J||this.state===q)&&(this.state===J?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(mo[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=kn(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=Se}onceSettled(){let{error:t,promises:r,state:n}=this;return J===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=J,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),te(()=>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}),te(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=Z,this.update(),te(()=>this.notify()),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=Z,this.timer=te(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===Z&&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 Kn(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function ut(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,Kn(t)),i}function ht(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,Kn(t)),e):null}var To="download",Ao="upgrade";function ft(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=ut(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 pt(e){return class extends e{constructor(){super(...arguments);L(this,"checkoutActionHandler");L(this,"masElement",new ye(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)},Se),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=>Ue(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(To,Ao),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 ht(this,{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:u,perpetual:h,promotionCode:f,quantity:p,wcsOsi:m}),!0}}}var Me=class Me extends pt(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return ft(Me,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};L(Me,"is","checkout-link"),L(Me,"tag","a");var X=Me;window.customElements.get(X.is)||window.customElements.define(X.is,X,{extends:X.tag});var fe,Ge=class Ge extends pt(HTMLButtonElement){constructor(){super(...arguments);Ke(this,fe)}static createCheckoutButton(r={},n=""){return ft(Ge,r,n)}setCheckoutUrl(r){wr(this,fe,r)}get href(){return Ae(this,fe)}get isCheckoutButton(){return!0}clickHandler(r){if(this.checkoutActionHandler){this.checkoutActionHandler?.(r);return}Ae(this,fe)&&(window.location.href=Ae(this,fe))}};fe=new WeakMap,L(Ge,"is","checkout-button"),L(Ge,"tag","button");var he=Ge;window.customElements.get(he.is)||window.customElements.define(he.is,he,{extends:he.tag});function Yn({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:pe=f,wcsOsi:re,extraOptions:me,...B}=Object.assign({},o?.dataset??{},a??{}),Q=ee(T,K,g.checkoutWorkflow),z=Y.CHECKOUT;Q===K.V3&&(z=ee(v,Y,g.checkoutWorkflowStep));let F=xe({...B,extraOptions:me,checkoutClientId:s,checkoutMarketSegment:m,country:A,quantity:ve(I,g.quantity),checkoutWorkflow:Q,checkoutWorkflowStep:z,language:b,entitlement:x(C),upgrade:x(V),modal:x(O),perpetual:x(j),promotionCode:Ne(pe).effectivePromoCode,wcsOsi:st(re)});if(o)for(let ne of e.checkout)ne(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 gt(h,A)}let{createCheckoutLink:i}=X;return{CheckoutLink:X,CheckoutWorkflow:K,CheckoutWorkflowStep:Y,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function Eo({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 So(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function bo(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 Xn({}){let e=Eo(),t=So(e),r=bo(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function jn(e,t){let{data:r}=t||await Promise.resolve().then(()=>fi(Wn(),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 zn=["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"],go={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"]},Be=class Be extends HTMLSpanElement{constructor(){super();L(this,"masElement",new ye(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 ut(Be,{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(zn.includes(r)||zn.includes(o))return!0;let s=go[`${i}_${a}`];return s?!!(s.includes(r)||s.includes(o)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),a=Ue(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(Ue(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 ht(this,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p}),!0}};L(Be,"is","inline-price"),L(Be,"tag","span");var W=Be;window.customElements.get(W.is)||window.customElements.define(W.is,W,{extends:W.tag});function $n({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:pe=T,quantity:re=v,template:me,wcsOsi:B,...Q}=Object.assign({},s?.dataset??{},o??{}),z=xe({...Q,country:V,displayOldPrice:x(P),displayPerUnit:x(A),displayRecurrence:x(b),displayTax:x(I),forceTaxExclusive:x(C),language:O,perpetual:x(j),promotionCode:Ne(pe).effectivePromoCode,quantity:ve(re,g.quantity),template:me,wcsOsi:st(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=ar;break;case"strikethrough":c=tr;break;case"optical":c=er;break;case"annual":c=rr;break;default:s.country==="AU"&&o[0].planType==="ABM"?c=s.promotionCode?ir:nr:c=s.promotionCode?Qt:Jt}let u=n(s);u.literals=Object.assign({},e.price,xe(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 qn({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=fr;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===le.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($e),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=ot}catch(A){m=ot,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:or,WcsPlanType:sr,WcsTerm:lr,resolveOfferSelectors:u,flushWcsCache:c}}var _r="mas-commerce-service",Tt,Zn,mt=class extends HTMLElement{constructor(){super(...arguments);Ke(this,Tt);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=Ae(this,Tt,Zn),n=Object.freeze(vr(r));lt(r.lana);let i=D.init(r.hostEnv).module("service");i.debug("Activating:",r);let a={price:{}};try{a.price=await jn(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({...Yn(s),...Xn(s),...$n(s),...qn(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}),te(()=>{let l=new CustomEvent(Le,{bubbles:!0,cancelable:!1,detail:this});this.dispatchEvent(l)})}connectedCallback(){this.readyPromise||(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")}};Tt=new WeakSet,Zn=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(mt,"instance");window.customElements.get(_r)||window.customElements.define(_r,mt);export{he as CheckoutButton,X as CheckoutLink,K as CheckoutWorkflow,Y as CheckoutWorkflowStep,g as Defaults,W as InlinePrice,ce as Landscape,D as Log,_r as TAG_NAME_SERVICE,or as WcsCommitment,sr as WcsPlanType,lr as WcsTerm,$e as applyPlanType,vr as getSettings}; diff --git a/libs/deps/mas/mas.js b/libs/deps/mas/mas.js index b35a3485ef..9cefd393ba 100644 --- a/libs/deps/mas/mas.js +++ b/libs/deps/mas/mas.js @@ -1,22 +1,24 @@ -var Ss=Object.create;var Jt=Object.defineProperty;var ys=Object.getOwnPropertyDescriptor;var Ts=Object.getOwnPropertyNames;var Ls=Object.getPrototypeOf,_s=Object.prototype.hasOwnProperty;var ws=(e,t,r)=>t in e?Jt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ps=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Cs=(e,t)=>{for(var r in t)Jt(e,r,{get:t[r],enumerable:!0})},Is=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ts(t))!_s.call(e,i)&&i!==r&&Jt(e,i,{get:()=>t[i],enumerable:!(n=ys(t,i))||n.enumerable});return e};var Ns=(e,t,r)=>(r=e!=null?Ss(Ls(e)):{},Is(t||!e||!e.__esModule?Jt(r,"default",{value:e,enumerable:!0}):r,e));var p=(e,t,r)=>(ws(e,typeof t!="symbol"?t+"":t,r),r),Yr=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var L=(e,t,r)=>(Yr(e,t,"read from private field"),r?r.call(e):t.get(e)),M=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},j=(e,t,r,n)=>(Yr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var ge=(e,t,r)=>(Yr(e,t,"access private method"),r);var ds=Ps((mf,uh)=>{uh.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:l}=window.location;return l.substring(l.length-10)===".adobe.com"&&l.substring(l.length-15)!==".corp.adobe.com"&&l.substring(l.length-16)!==".stage.adobe.com"}function o(l,d){l||(l={}),d||(d={});function u(m){return l[m]!==void 0?l[m]:d[m]!==void 0?d[m]:r[m]}return Object.keys(r).reduce((m,f)=>(m[f]=u(f),m),{})}function a(l,d){l=l&&l.stack?l.stack:l||"",l.length>2e3&&(l=`${l.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,S=!g||!u.useProd?u.endpointStage:u.endpoint,w=[`m=${encodeURIComponent(l)}`,`c=${encodeURI(u.clientId)}`,`s=${f}`,`t=${encodeURI(u.errorType)}`];if(u.tags&&w.push(`tags=${encodeURI(u.tags)}`),(!g||n.lana.debug||n.lana.localhost)&&console.log("LANA Msg: ",l,` -Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lana.debug&&(w.push("d"),v.addEventListener("load",()=>{console.log("LANA response:",v.responseText)})),v.open("GET",`${S}?${w.join("&")}`),v.send(),v}}function s(l){a(l.reason||l.error||l.message,{errorType:"i"})}function c(){return n.location.search.toLowerCase().indexOf("lanadebug")!==-1}function h(){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),h()&&(n.lana.localhost=!0),n.addEventListener("error",s),n.addEventListener("unhandledrejection",s)})();var Qt=window,tr=Qt.ShadowRoot&&(Qt.ShadyCSS===void 0||Qt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,qi=Symbol(),Wi=new WeakMap,er=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==qi)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(tr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Wi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Wi.set(r,t))}return t}toString(){return this.cssText}},Zi=e=>new er(typeof e=="string"?e:e+"",void 0,qi);var Xr=(e,t)=>{tr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=Qt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},rr=tr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Zi(r)})(e):e;var Wr,nr=window,Ji=nr.trustedTypes,ks=Ji?Ji.emptyScript:"",Qi=nr.reactiveElementPolyfillSupport,Zr={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}},eo=(e,t)=>t!==e&&(t==t||e==e),qr={attribute:!0,type:String,converter:Zr,reflect:!1,hasChanged:eo},Jr="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=qr){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)||qr}static finalize(){if(this.hasOwnProperty(Jr))return!1;this[Jr]=!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(rr(i))}else t!==void 0&&r.push(rr(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 Xr(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=qr){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:Zr).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:Zr;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||eo)(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[Jr]=!0,we.elementProperties=new Map,we.elementStyles=[],we.shadowRootOptions={mode:"open"},Qi?.({ReactiveElement:we}),((Wr=nr.reactiveElementVersions)!==null&&Wr!==void 0?Wr:nr.reactiveElementVersions=[]).push("1.6.3");var Qr,ir=window,qe=ir.trustedTypes,to=qe?qe.createPolicy("lit-html",{createHTML:e=>e}):void 0,tn="$lit$",xe=`lit$${(Math.random()+"").slice(9)}$`,co="?"+xe,Os=`<${co}>`,Ie=document,or=()=>Ie.createComment(""),Tt=e=>e===null||typeof e!="object"&&typeof e!="function",lo=Array.isArray,Rs=e=>lo(e)||typeof e?.[Symbol.iterator]=="function",en=`[ -\f\r]`,yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ro=/-->/g,no=/>/g,Pe=RegExp(`>|${en}(?:([^\\s"'>=/]+)(${en}*=${en}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),io=/'/g,oo=/"/g,ho=/^(?:script|style|textarea|title)$/i,uo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Ah=uo(1),Eh=uo(2),Lt=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),ao=new WeakMap,Ce=Ie.createTreeWalker(Ie,129,null,!1);function mo(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return to!==void 0?to.createHTML(t):t}var Vs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=yt;for(let s=0;s"?(a=i??yt,d=-1):l[1]===void 0?d=-2:(d=a.lastIndex-l[2].length,h=l[1],a=l[3]===void 0?Pe:l[3]==='"'?oo:io):a===oo||a===io?a=Pe:a===ro||a===no?a=yt:(a=Pe,i=void 0);let m=a===Pe&&e[s+1].startsWith("/>")?" ":"";o+=a===yt?c+Os:d>=0?(n.push(h),c.slice(0,d)+tn+c.slice(d)+xe+m):c+xe+(d===-2?(n.push(void 0),s):m)}return[mo(e,o+(e[r]||"")+(t===2?"":"")),n]},_t=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[h,l]=Vs(t,r);if(this.el=e.createElement(h,n),Ce.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=Ce.nextNode())!==null&&c.length0){i.textContent=qe?qe.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}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=Ze(this,t,r,0),a=!Tt(t)||t!==this._$AH&&t!==Lt,a&&(this._$AH=t);else{let s=t,c,h;for(t=o[0],c=0;cnew wt(typeof e=="string"?e:e+"",void 0,cn),I=(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 wt(r,e,cn)},ln=(e,t)=>{cr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=sr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},lr=cr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return ve(r)})(e):e;var hn,hr=window,fo=hr.trustedTypes,Ms=fo?fo.emptyScript:"",go=hr.reactiveElementPolyfillSupport,un={toAttribute(e,t){switch(t){case Boolean:e=e?Ms: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}},xo=(e,t)=>t!==e&&(t==t||e==e),dn={attribute:!0,type:String,converter:un,reflect:!1,hasChanged:xo},mn="finalized",ce=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=dn){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)||dn}static finalize(){if(this.hasOwnProperty(mn))return!1;this[mn]=!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(lr(i))}else t!==void 0&&r.push(lr(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 ln(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=dn){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:un).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:un;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||xo)(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){}};ce[mn]=!0,ce.elementProperties=new Map,ce.elementStyles=[],ce.shadowRootOptions={mode:"open"},go?.({ReactiveElement:ce}),((hn=hr.reactiveElementVersions)!==null&&hn!==void 0?hn:hr.reactiveElementVersions=[]).push("1.6.3");var pn,dr=window,Qe=dr.trustedTypes,vo=Qe?Qe.createPolicy("lit-html",{createHTML:e=>e}):void 0,gn="$lit$",be=`lit$${(Math.random()+"").slice(9)}$`,Lo="?"+be,Us=`<${Lo}>`,Oe=document,Ct=()=>Oe.createComment(""),It=e=>e===null||typeof e!="object"&&typeof e!="function",_o=Array.isArray,Ds=e=>_o(e)||typeof e?.[Symbol.iterator]=="function",fn=`[ -\f\r]`,Pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bo=/-->/g,Ao=/>/g,Ne=RegExp(`>|${fn}(?:([^\\s"'>=/]+)(${fn}*=${fn}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),Eo=/'/g,So=/"/g,wo=/^(?:script|style|textarea|title)$/i,Po=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),x=Po(1),wh=Po(2),Re=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),yo=new WeakMap,ke=Oe.createTreeWalker(Oe,129,null,!1);function Co(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return vo!==void 0?vo.createHTML(t):t}var Gs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Pt;for(let s=0;s"?(a=i??Pt,d=-1):l[1]===void 0?d=-2:(d=a.lastIndex-l[2].length,h=l[1],a=l[3]===void 0?Ne:l[3]==='"'?So:Eo):a===So||a===Eo?a=Ne:a===bo||a===Ao?a=Pt:(a=Ne,i=void 0);let m=a===Ne&&e[s+1].startsWith("/>")?" ":"";o+=a===Pt?c+Us:d>=0?(n.push(h),c.slice(0,d)+gn+c.slice(d)+be+m):c+be+(d===-2?(n.push(void 0),s):m)}return[Co(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,[h,l]=Gs(t,r);if(this.el=e.createElement(h,n),ke.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=ke.nextNode())!==null&&c.length0){i.textContent=Qe?Qe.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}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=et(this,t,r,0),a=!It(t)||t!==this._$AH&&t!==Re,a&&(this._$AH=t);else{let s=t,c,h;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 kt(t.insertBefore(Ct(),s),s,void 0,r??{})}return a._$AI(e),a};var Sn,yn;var ee=class extends ce{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=Io(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,(Sn=globalThis.litElementHydrateSupport)===null||Sn===void 0||Sn.call(globalThis,{LitElement:ee});var No=globalThis.litElementPolyfillSupport;No?.({LitElement:ee});((yn=globalThis.litElementVersions)!==null&&yn!==void 0?yn:globalThis.litElementVersions=[]).push("3.3.3");var Ae="(max-width: 767px)",ur="(max-width: 1199px)",U="(min-width: 768px)",V="(min-width: 1200px)",K="(min-width: 1600px)";var ko=I` +var Ns=Object.create;var tr=Object.defineProperty;var ks=Object.getOwnPropertyDescriptor;var Os=Object.getOwnPropertyNames;var Rs=Object.getPrototypeOf,Ms=Object.prototype.hasOwnProperty;var to=e=>{throw TypeError(e)};var Vs=(e,t,r)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Hs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$s=(e,t)=>{for(var r in t)tr(e,r,{get:t[r],enumerable:!0})},Us=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Os(t))!Ms.call(e,i)&&i!==r&&tr(e,i,{get:()=>t[i],enumerable:!(n=ks(t,i))||n.enumerable});return e};var Ds=(e,t,r)=>(r=e!=null?Ns(Rs(e)):{},Us(t||!e||!e.__esModule?tr(r,"default",{value:e,enumerable:!0}):r,e));var p=(e,t,r)=>Vs(e,typeof t!="symbol"?t+"":t,r),qr=(e,t,r)=>t.has(e)||to("Cannot "+r);var y=(e,t,r)=>(qr(e,t,"read from private field"),r?r.call(e):t.get(e)),G=(e,t,r)=>t.has(e)?to("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),j=(e,t,r,n)=>(qr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),xe=(e,t,r)=>(qr(e,t,"access private method"),r);var As=Hs((Vf,Eh)=>{Eh.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,u){h||(h={}),u||(u={});function d(m){return h[m]!==void 0?h[m]:u[m]!==void 0?u[m]:r[m]}return Object.keys(r).reduce((m,f)=>(m[f]=d(f),m),{})}function a(h,u){h=h&&h.stack?h.stack:h||"",h.length>2e3&&(h=`${h.slice(0,2e3)}`);let d=o(u,n.lana.options);if(!d.clientId){console.warn("LANA ClientID is not set in options.");return}let f=parseInt(new URL(window.location).searchParams.get("lana-sample"),10)||(d.errorType==="i"?d.implicitSampleRate:d.sampleRate);if(!n.lana.debug&&!n.lana.localhost&&f<=Math.random()*100)return;let g=i()||d.isProdDomain,L=!g||!d.useProd?d.endpointStage:d.endpoint,w=[`m=${encodeURIComponent(h)}`,`c=${encodeURI(d.clientId)}`,`s=${f}`,`t=${encodeURI(d.errorType)}`];if(d.tags&&w.push(`tags=${encodeURI(d.tags)}`),(!g||n.lana.debug||n.lana.localhost)&&console.log("LANA Msg: ",h,` +Opts:`,d),!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",`${L}?${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 rr=window,ir=rr.ShadowRoot&&(rr.ShadyCSS===void 0||rr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,no=Symbol(),ro=new WeakMap,nr=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==no)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(ir&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=ro.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&ro.set(r,t))}return t}toString(){return this.cssText}},io=e=>new nr(typeof e=="string"?e:e+"",void 0,no);var Zr=(e,t)=>{ir?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=rr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},or=ir?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return io(r)})(e):e;var Jr,ar=window,oo=ar.trustedTypes,Bs=oo?oo.emptyScript:"",ao=ar.reactiveElementPolyfillSupport,en={toAttribute(e,t){switch(t){case Boolean:e=e?Bs: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),Qr={attribute:!0,type:String,converter:en,reflect:!1,hasChanged:so},tn="finalized",Ce=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=Qr){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)||Qr}static finalize(){if(this.hasOwnProperty(tn))return!1;this[tn]=!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(or(i))}else t!==void 0&&r.push(or(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 Zr(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=Qr){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:en).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:en;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){}};Ce[tn]=!0,Ce.elementProperties=new Map,Ce.elementStyles=[],Ce.shadowRootOptions={mode:"open"},ao?.({ReactiveElement:Ce}),((Jr=ar.reactiveElementVersions)!==null&&Jr!==void 0?Jr:ar.reactiveElementVersions=[]).push("1.6.3");var rn,sr=window,Je=sr.trustedTypes,co=Je?Je.createPolicy("lit-html",{createHTML:e=>e}):void 0,on="$lit$",be=`lit$${(Math.random()+"").slice(9)}$`,go="?"+be,Gs=`<${go}>`,Ne=document,cr=()=>Ne.createComment(""),_t=e=>e===null||typeof e!="object"&&typeof e!="function",xo=Array.isArray,zs=e=>xo(e)||typeof e?.[Symbol.iterator]=="function",nn=`[ +\f\r]`,Lt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lo=/-->/g,ho=/>/g,Pe=RegExp(`>|${nn}(?:([^\\s"'>=/]+)(${nn}*=${nn}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),uo=/'/g,mo=/"/g,bo=/^(?:script|style|textarea|title)$/i,vo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Ph=vo(1),Ih=vo(2),wt=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),po=new WeakMap,Ie=Ne.createTreeWalker(Ne,129,null,!1);function Ao(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return co!==void 0?co.createHTML(t):t}var Fs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Lt;for(let s=0;s"?(a=i??Lt,u=-1):h[1]===void 0?u=-2:(u=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?Pe:h[3]==='"'?mo:uo):a===mo||a===uo?a=Pe:a===lo||a===ho?a=Lt:(a=Pe,i=void 0);let m=a===Pe&&e[s+1].startsWith("/>")?" ":"";o+=a===Lt?c+Gs:u>=0?(n.push(l),c.slice(0,u)+on+c.slice(u)+be+m):c+be+(u===-2?(n.push(void 0),s):m)}return[Ao(e,o+(e[r]||"")+(t===2?"":"")),n]},Ct=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]=Fs(t,r);if(this.el=e.createElement(l,n),Ie.currentNode=this.el.content,r===2){let u=this.el.content,d=u.firstChild;d.remove(),u.append(...d.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=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=!_t(t)||t!==this._$AH&&t!==wt,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;cnew Pt(typeof e=="string"?e:e+"",void 0,un),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 Pt(r,e,un)},dn=(e,t)=>{ur?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=hr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},dr=ur?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return ve(r)})(e):e;var mn,mr=window,So=mr.trustedTypes,js=So?So.emptyScript:"",To=mr.reactiveElementPolyfillSupport,fn={toAttribute(e,t){switch(t){case Boolean:e=e?js: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}},yo=(e,t)=>t!==e&&(t==t||e==e),pn={attribute:!0,type:String,converter:fn,reflect:!1,hasChanged:yo},gn="finalized",ce=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=pn){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)||pn}static finalize(){if(this.hasOwnProperty(gn))return!1;this[gn]=!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=pn){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:fn).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:fn;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||yo)(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){}};ce[gn]=!0,ce.elementProperties=new Map,ce.elementStyles=[],ce.shadowRootOptions={mode:"open"},To?.({ReactiveElement:ce}),((mn=mr.reactiveElementVersions)!==null&&mn!==void 0?mn:mr.reactiveElementVersions=[]).push("1.6.3");var xn,pr=window,tt=pr.trustedTypes,Lo=tt?tt.createPolicy("lit-html",{createHTML:e=>e}):void 0,vn="$lit$",Ae=`lit$${(Math.random()+"").slice(9)}$`,ko="?"+Ae,Ys=`<${ko}>`,Re=document,Nt=()=>Re.createComment(""),kt=e=>e===null||typeof e!="object"&&typeof e!="function",Oo=Array.isArray,Xs=e=>Oo(e)||typeof e?.[Symbol.iterator]=="function",bn=`[ +\f\r]`,It=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_o=/-->/g,wo=/>/g,ke=RegExp(`>|${bn}(?:([^\\s"'>=/]+)(${bn}*=${bn}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),Co=/'/g,Po=/"/g,Ro=/^(?:script|style|textarea|title)$/i,Mo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),x=Mo(1),Vh=Mo(2),Me=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Io=new WeakMap,Oe=Re.createTreeWalker(Re,129,null,!1);function Vo(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Lo!==void 0?Lo.createHTML(t):t}var Ws=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=It;for(let s=0;s"?(a=i??It,u=-1):h[1]===void 0?u=-2:(u=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?ke:h[3]==='"'?Po:Co):a===Po||a===Co?a=ke:a===_o||a===wo?a=It:(a=ke,i=void 0);let m=a===ke&&e[s+1].startsWith("/>")?" ":"";o+=a===It?c+Ys:u>=0?(n.push(l),c.slice(0,u)+vn+c.slice(u)+Ae+m):c+Ae+(u===-2?(n.push(void 0),s):m)}return[Vo(e,o+(e[r]||"")+(t===2?"":"")),n]},Ot=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]=Ws(t,r);if(this.el=e.createElement(l,n),Oe.currentNode=this.el.content,r===2){let u=this.el.content,d=u.firstChild;d.remove(),u.append(...d.childNodes)}for(;(i=Oe.nextNode())!==null&&c.length0){i.textContent=tt?tt.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=rt(this,t,r,0),a=!kt(t)||t!==this._$AH&&t!==Me,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 Rt(t.insertBefore(Nt(),s),s,void 0,r??{})}return a._$AI(e),a};var Ln,_n;var ee=class extends ce{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=Ho(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 Me}};ee.finalized=!0,ee._$litElement$=!0,(Ln=globalThis.litElementHydrateSupport)===null||Ln===void 0||Ln.call(globalThis,{LitElement:ee});var $o=globalThis.litElementPolyfillSupport;$o?.({LitElement:ee});((_n=globalThis.litElementVersions)!==null&&_n!==void 0?_n:globalThis.litElementVersions=[]).push("3.3.3");var Ee="(max-width: 767px)",fr="(max-width: 1199px)",H="(min-width: 768px)",V="(min-width: 1200px)",F="(min-width: 1600px)";var Uo=P` :host { - --merch-card-border: 1px solid var(--spectrum-gray-200, var(--consonant-merch-card-border-color)); - position: relative; + --consonant-merch-card-background-color: #fff; + --consonant-merch-card-border: 1px solid var(--consonant-merch-card-border-color); + + -webkit-font-smoothing: antialiased; + background-color: var(--consonant-merch-card-background-color); + border-radius: var(--consonant-merch-spacing-xs); + border: var(--consonant-merch-card-border); + box-sizing: border-box; display: flex; flex-direction: column; - text-align: start; - background-color: var(--merch-card-background-color); - grid-template-columns: repeat(auto-fit, minmax(300px, max-content)); - background-color: var(--merch-card-background-color); font-family: var(--merch-body-font-family, 'Adobe Clean'); - border-radius: var(--consonant-merch-spacing-xs); - border: var(--merch-card-border); - box-sizing: border-box; + grid-template-columns: repeat(auto-fit, minmax(300px, max-content)); + position: relative; + text-align: start; } :host(.placeholder) { @@ -25,7 +27,6 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lan :host([aria-selected]) { outline: none; - box-sizing: border-box; box-shadow: inset 0 0 0 2px var(--color-accent); } @@ -220,9 +221,13 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lan display: flex; gap: 8px; } -`,Oo=()=>[I` + + ::slotted([slot='price']) { + color: var(--consonant-merch-card-price-color); + } +`,Do=()=>[P` /* Tablet */ - @media screen and ${ve(U)} { + @media screen and ${ve(H)} { :host([size='wide']), :host([size='super-wide']) { width: 100%; @@ -235,7 +240,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lan :host([size='wide']) { grid-column: span 2; } - `];var rt,Ot=class Ot{constructor(t){p(this,"card");M(this,rt,void 0);this.card=t,this.insertVariantStyle()}getContainer(){return j(this,rt,L(this,rt)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),L(this,rt)}insertVariantStyle(){if(!Ot.styleMap[this.card.variant]){Ot.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 it,Mt=class Mt{constructor(t){p(this,"card");G(this,it);this.card=t,this.insertVariantStyle()}getContainer(){return j(this,it,y(this,it)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),y(this,it)}insertVariantStyle(){if(!Mt.styleMap[this.card.variant]){Mt.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`
${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 stripStyle(){if(this.card.backgroundImage){let t=new Image;return 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")},` - background: url("${this.card.backgroundImage}"); - background-size: auto 100%; - background-repeat: no-repeat; - background-position: ${this.card.dir==="ltr"?"left":"right"}; - `}return""}get secureLabelFooter(){let t=this.card.secureLabel?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(){}};rt=new WeakMap,p(Ot,"styleMap",{});var N=Ot;function le(e,t={},r=""){let n=document.createElement(e);r instanceof HTMLElement?n.appendChild(r):n.innerHTML=r;for(let[i,o]of Object.entries(t))n.setAttribute(i,o);return n}function mr(){return window.matchMedia("(max-width: 767px)").matches}function Ro(){return window.matchMedia("(max-width: 1024px)").matches}var Hn={};Cs(Hn,{CLASS_NAME_FAILED:()=>Cn,CLASS_NAME_HIDDEN:()=>Fs,CLASS_NAME_PENDING:()=>In,CLASS_NAME_RESOLVED:()=>Nn,ERROR_MESSAGE_BAD_REQUEST:()=>gr,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>Js,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>kn,EVENT_AEM_ERROR:()=>$e,EVENT_AEM_LOAD:()=>Ve,EVENT_MAS_ERROR:()=>Pn,EVENT_MAS_READY:()=>wn,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>_n,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>qs,EVENT_MERCH_CARD_COLLECTION_SORT:()=>Ws,EVENT_MERCH_CARD_READY:()=>Ln,EVENT_MERCH_OFFER_READY:()=>Ks,EVENT_MERCH_OFFER_SELECT_READY:()=>Tn,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>fr,EVENT_MERCH_SEARCH_CHANGE:()=>Xs,EVENT_MERCH_SIDENAV_SELECT:()=>Zs,EVENT_MERCH_STOCK_CHANGE:()=>Ys,EVENT_MERCH_STORAGE_CHANGE:()=>pr,EVENT_OFFER_SELECTED:()=>Bs,EVENT_TYPE_FAILED:()=>On,EVENT_TYPE_PENDING:()=>Rn,EVENT_TYPE_READY:()=>nt,EVENT_TYPE_RESOLVED:()=>Vn,LOG_NAMESPACE:()=>$n,Landscape:()=>Me,NAMESPACE:()=>zs,PARAM_AOS_API_KEY:()=>Qs,PARAM_ENV:()=>Mn,PARAM_LANDSCAPE:()=>Un,PARAM_WCS_API_KEY:()=>ec,STATE_FAILED:()=>he,STATE_PENDING:()=>de,STATE_RESOLVED:()=>ue,TAG_NAME_SERVICE:()=>js,WCS_PROD_URL:()=>Dn,WCS_STAGE_URL:()=>Gn});var zs="merch",Fs="hidden",nt="wcms:commerce:ready",js="mas-commerce-service",Ks="merch-offer:ready",Tn="merch-offer-select:ready",Ln="merch-card:ready",_n="merch-card:action-menu-toggle",Bs="merch-offer:selected",Ys="merch-stock:change",pr="merch-storage:change",fr="merch-quantity-selector:change",Xs="merch-search:change",Ws="merch-card-collection:sort",qs="merch-card-collection:showmore",Zs="merch-sidenav:select",Ve="aem:load",$e="aem:error",wn="mas:ready",Pn="mas:error",Cn="placeholder-failed",In="placeholder-pending",Nn="placeholder-resolved",gr="Bad WCS request",kn="Commerce offer not found",Js="Literals URL not provided",On="mas:failed",Rn="mas:pending",Vn="mas:resolved",$n="mas/commerce",Mn="commerce.env",Un="commerce.landscape",Qs="commerce.aosKey",ec="commerce.wcsKey",Dn="https://www.adobe.com/web_commerce_artifact",Gn="https://www.stage.adobe.com/web_commerce_artifact_stage",he="failed",de="pending",ue="resolved",Me={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Vo=` + >`:"";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(){}};it=new WeakMap,p(Mt,"styleMap",{});var I=Mt;function le(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 gr(){return window.matchMedia("(max-width: 767px)").matches}function Bo(){return window.matchMedia("(max-width: 1024px)").matches}var Fn={};$s(Fn,{CLASS_NAME_FAILED:()=>kn,CLASS_NAME_HIDDEN:()=>Js,CLASS_NAME_PENDING:()=>On,CLASS_NAME_RESOLVED:()=>Rn,ERROR_MESSAGE_BAD_REQUEST:()=>vr,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>sc,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>Mn,EVENT_AEM_ERROR:()=>He,EVENT_AEM_LOAD:()=>Ve,EVENT_MAS_ERROR:()=>Nn,EVENT_MAS_READY:()=>In,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Pn,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>oc,EVENT_MERCH_CARD_COLLECTION_SORT:()=>ic,EVENT_MERCH_CARD_READY:()=>Cn,EVENT_MERCH_OFFER_READY:()=>ec,EVENT_MERCH_OFFER_SELECT_READY:()=>wn,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>br,EVENT_MERCH_SEARCH_CHANGE:()=>nc,EVENT_MERCH_SIDENAV_SELECT:()=>ac,EVENT_MERCH_STOCK_CHANGE:()=>rc,EVENT_MERCH_STORAGE_CHANGE:()=>xr,EVENT_OFFER_SELECTED:()=>tc,EVENT_TYPE_FAILED:()=>Vn,EVENT_TYPE_PENDING:()=>Hn,EVENT_TYPE_READY:()=>ot,EVENT_TYPE_RESOLVED:()=>$n,LOG_NAMESPACE:()=>Un,Landscape:()=>$e,NAMESPACE:()=>Zs,PARAM_AOS_API_KEY:()=>cc,PARAM_ENV:()=>Dn,PARAM_LANDSCAPE:()=>Bn,PARAM_WCS_API_KEY:()=>lc,STATE_FAILED:()=>he,STATE_PENDING:()=>ue,STATE_RESOLVED:()=>de,TAG_NAME_SERVICE:()=>Qs,WCS_PROD_URL:()=>Gn,WCS_STAGE_URL:()=>zn});var Zs="merch",Js="hidden",ot="wcms:commerce:ready",Qs="mas-commerce-service",ec="merch-offer:ready",wn="merch-offer-select:ready",Cn="merch-card:ready",Pn="merch-card:action-menu-toggle",tc="merch-offer:selected",rc="merch-stock:change",xr="merch-storage:change",br="merch-quantity-selector:change",nc="merch-search:change",ic="merch-card-collection:sort",oc="merch-card-collection:showmore",ac="merch-sidenav:select",Ve="aem:load",He="aem:error",In="mas:ready",Nn="mas:error",kn="placeholder-failed",On="placeholder-pending",Rn="placeholder-resolved",vr="Bad WCS request",Mn="Commerce offer not found",sc="Literals URL not provided",Vn="mas:failed",Hn="mas:pending",$n="mas:resolved",Un="mas/commerce",Dn="commerce.env",Bn="commerce.landscape",cc="commerce.aosKey",lc="commerce.wcsKey",Gn="https://www.adobe.com/web_commerce_artifact",zn="https://www.stage.adobe.com/web_commerce_artifact_stage",he="failed",ue="pending",de="resolved",$e={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Go=` :root { --consonant-merch-card-catalog-width: 276px; --consonant-merch-card-catalog-icon-size: 40px; @@ -267,7 +267,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lan grid-template-columns: var(--consonant-merch-card-catalog-width); } -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-catalog-width: 302px; } @@ -290,7 +290,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lan } } -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.catalog { grid-template-columns: repeat(4, var(--consonant-merch-card-catalog-width)); } @@ -332,7 +332,7 @@ merch-card[variant="catalog"] [slot="action-menu-content"] p { } merch-card[variant="catalog"] [slot="action-menu-content"] a { - color: var(--merch-card-background-color); + color: var(--consonant-merch-card-background-color); text-decoration: underline; } @@ -341,12 +341,12 @@ merch-card[variant="catalog"] .payment-details { font-style: italic; font-weight: 400; line-height: var(--consonant-merch-card-body-line-height); -}`;var tc={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"]},it=class extends N{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(_n,{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 tc}renderLayout(){return x`
+}`;var Kn={size:["wide","super-wide"],title:{tag:"h3",slot:"heading-xs"},badge:!0,prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"m"},allowedSizes:["wide","super-wide"]},at=class extends I{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(Pn,{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 Kn}renderLayout(){return x`
${this.badge}
`:""}
${this.secureLabelFooter} - `}getGlobalCSS(){return Vo}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(it,"variantStyle",I` + `}getGlobalCSS(){return Go}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(at,"variantStyle",P` :host([variant='catalog']) { min-height: 330px; width: var(--consonant-merch-card-catalog-width); @@ -389,7 +389,7 @@ merch-card[variant="catalog"] .payment-details { margin-left: var(--consonant-merch-spacing-xxs); box-sizing: border-box; } - `);var $o=` + `);var zo=` :root { --consonant-merch-card-image-width: 300px; } @@ -401,7 +401,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${U} { +@media screen and ${H} { .two-merch-cards.image, .three-merch-cards.image, .four-merch-cards.image { @@ -420,12 +420,12 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.image { grid-template-columns: repeat(4, var(--consonant-merch-card-image-width)); } } -`;var xr=class extends N{constructor(t){super(t)}getGlobalCSS(){return $o}renderLayout(){return x`${this.cardImage} +`;var Ar=class extends I{constructor(t){super(t)}getGlobalCSS(){return zo}renderLayout(){return x`${this.cardImage}
@@ -442,7 +442,7 @@ merch-card[variant="catalog"] .payment-details { `:x`
${this.secureLabelFooter} - `}`}};var Mo=` + `}`}};var Fo=` :root { --consonant-merch-card-inline-heading-width: 300px; } @@ -454,7 +454,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-inline-heading-width); } -@media screen and ${U} { +@media screen and ${H} { .two-merch-cards.inline-heading, .three-merch-cards.inline-heading, .four-merch-cards.inline-heading { @@ -473,12 +473,12 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.inline-heading { grid-template-columns: repeat(4, var(--consonant-merch-card-inline-heading-width)); } } -`;var vr=class extends N{constructor(t){super(t)}getGlobalCSS(){return Mo}renderLayout(){return x` ${this.badge} +`;var Er=class extends I{constructor(t){super(t)}getGlobalCSS(){return Fo}renderLayout(){return x` ${this.badge}
@@ -486,7 +486,7 @@ merch-card[variant="catalog"] .payment-details {
- ${this.card.customHr?"":x`
`} ${this.secureLabelFooter}`}};var Uo=` + ${this.card.customHr?"":x`
`} ${this.secureLabelFooter}`}};var Ko=` :root { --consonant-merch-card-mini-compare-chart-icon-size: 32px; --consonant-merch-card-mini-compare-mobile-cta-font-size: 15px; @@ -593,7 +593,7 @@ merch-card[variant="catalog"] .payment-details { } /* mini compare mobile */ -@media screen and ${Ae} { +@media screen and ${Ee} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -631,7 +631,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${ur} { +@media screen and ${fr} { .three-merch-cards.mini-compare-chart merch-card [slot="footer"] a, .four-merch-cards.mini-compare-chart merch-card [slot="footer"] a { flex: 1; @@ -662,7 +662,7 @@ merch-card[variant="catalog"] .payment-details { line-height: var(--consonant-merch-card-body-xs-line-height); } } -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -701,7 +701,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.mini-compare-chart { grid-template-columns: repeat(4, var(--consonant-merch-card-mini-compare-chart-width)); } @@ -738,11 +738,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 rc=32,ot=class extends N{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,st=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"),["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"].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"]')?.children].forEach((n,i)=>{let o=Math.max(rc,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 Ko}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section"),["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"].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"]')?.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}
@@ -754,7 +754,7 @@ merch-card .footer-row-cell:nth-child(8) { ${this.getMiniCompareFooter()} - `}async postCardUpdateHook(){mr()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(ot,"variantStyle",I` + `}async postCardUpdateHook(){gr()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(st,"variantStyle",P` :host([variant='mini-compare-chart']) > slot:not([name='icons']) { display: block; } @@ -770,7 +770,7 @@ merch-card .footer-row-cell:nth-child(8) { height: var(--consonant-merch-card-mini-compare-chart-top-section-height); } - @media screen and ${ve(ur)} { + @media screen and ${ve(fr)} { [class*'-merch-cards'] :host([variant='mini-compare-chart']) footer { flex-direction: column; align-items: stretch; @@ -826,7 +826,7 @@ merch-card .footer-row-cell:nth-child(8) { --consonant-merch-card-mini-compare-chart-callout-content-height ); } - `);var Do=` + `);var jo=` :root { --consonant-merch-card-plans-width: 300px; --consonant-merch-card-plans-icon-size: 40px; @@ -852,7 +852,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-plans-width: 302px; } @@ -875,12 +875,12 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Large desktop */ - @media screen and ${K} { + @media screen and ${F} { .four-merch-cards.plans { grid-template-columns: repeat(4, var(--consonant-merch-card-plans-width)); } } -`;var at=class extends N{constructor(t){super(t)}getGlobalCSS(){return Do}postCardUpdateHook(){this.adjustTitleWidth()}get stockCheckbox(){return this.card.checkboxLabel?x`
- ${this.secureLabelFooter}`}};p(at,"variantStyle",I` + ${this.secureLabelFooter}`}};p(ct,"variantStyle",P` :host([variant='plans']) { min-height: 348px; } @@ -904,7 +904,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 Go=` + `);var Yo=` :root { --consonant-merch-card-product-width: 300px; } @@ -918,7 +918,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${U} { +@media screen and ${H} { .two-merch-cards.product, .three-merch-cards.product, .four-merch-cards.product { @@ -939,12 +939,12 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Large desktop */ -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.product { grid-template-columns: repeat(4, var(--consonant-merch-card-product-width)); } } -`;var Ue=class extends N{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Go}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 Ue=class extends I{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Yo}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}
@@ -955,7 +955,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&&(mr()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p(Ue,"variantStyle",I` + ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(gr()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p(Ue,"variantStyle",P` :host([variant='product']) > slot:not([name='icons']) { display: block; } @@ -983,7 +983,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 Ho=` + `);var Xo=` :root { --consonant-merch-card-segment-width: 378px; } @@ -997,13 +997,13 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Mobile */ -@media screen and ${Ae} { +@media screen and ${Ee} { :root { --consonant-merch-card-segment-width: 276px; } } -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-segment-width: 276px; } @@ -1029,7 +1029,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, minmax(276px, var(--consonant-merch-card-segment-width))); } } -`;var st=class extends N{constructor(t){super(t)}getGlobalCSS(){return Ho}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return x` ${this.badge} +`;var lt=class extends I{constructor(t){super(t)}getGlobalCSS(){return Xo}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return x` ${this.badge}
@@ -1038,14 +1038,14 @@ merch-card[variant="plans"] [slot="quantity-select"] { ${this.promoBottom?x``:""}

- ${this.secureLabelFooter}`}};p(st,"variantStyle",I` + ${this.secureLabelFooter}`}};p(lt,"variantStyle",P` :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 Wo=` :root { --consonant-merch-card-special-offers-width: 378px; } @@ -1062,13 +1062,13 @@ 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 ${Ae} { +@media screen and ${Ee} { :root { --consonant-merch-card-special-offers-width: 302px; } } -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-special-offers-width: 302px; } @@ -1088,12 +1088,12 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri } } -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.special-offers { grid-template-columns: repeat(4, minmax(300px, var(--consonant-merch-card-special-offers-width))); } } -`;var nc={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"}},ct=class extends N{constructor(t){super(t)}getGlobalCSS(){return zo}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return nc}renderLayout(){return x`${this.cardImage} +`;var jn={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"}},ht=class extends I{constructor(t){super(t)}getGlobalCSS(){return Wo}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return jn}renderLayout(){return x`${this.cardImage}
@@ -1110,7 +1110,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri
${this.secureLabelFooter} `} - `}};p(ct,"variantStyle",I` + `}};p(ht,"variantStyle",P` :host([variant='special-offers']) { min-height: 439px; } @@ -1122,7 +1122,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri :host([variant='special-offers'].center) { text-align: center; } - `);var Fo=` + `);var qo=` :root { --consonant-merch-card-twp-width: 268px; --consonant-merch-card-twp-mobile-width: 300px; @@ -1177,7 +1177,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${Ae} { +@media screen and ${Ee} { :root { --consonant-merch-card-twp-width: 300px; } @@ -1188,7 +1188,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-twp-width: 268px; } @@ -1214,7 +1214,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${K} { +@media screen and ${F} { .one-merch-card.twp .two-merch-cards.twp { grid-template-columns: repeat(2, var(--consonant-merch-card-twp-width)); @@ -1223,7 +1223,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: repeat(3, var(--consonant-merch-card-twp-width)); } } -`;var lt=class extends N{constructor(t){super(t)}getGlobalCSS(){return Fo}renderLayout(){return x`${this.badge} +`;var ut=class extends I{constructor(t){super(t)}getGlobalCSS(){return qo}renderLayout(){return x`${this.badge}
@@ -1232,7 +1232,7 @@ merch-card[variant='twp'] merch-offer-select {
-
`}};p(lt,"variantStyle",I` +
`}};p(ut,"variantStyle",P` :host([variant='twp']) { padding: 4px 10px 5px 10px; } @@ -1271,255 +1271,230 @@ merch-card[variant='twp'] merch-offer-select { flex-direction: column; align-self: flex-start; } - `);var jo=` -:root { - --merch-card-ccd-suggested-width: 305px; - --merch-card-ccd-suggested-height: 205px; - --merch-card-ccd-suggested-background-img-size: 119px; -} - -sp-theme[color='light'] merch-card[variant="ccd-suggested"] { - background-color: var(--ccd-gray-100-light, #F8F8F8); - color: var(--ccd-gray-700-dark, #464646); - border: 1px solid var(--ccd-gray-200-light, #E6E6E6); -} + `);var Zo=` -sp-theme[color='light'] merch-card[variant="ccd-suggested"] [slot="body-xs"] { - color: var(--ccd-gray-700-dark, #464646); -} + merch-card[variant="ccd-suggested"] [slot="heading-xs"] { + font-size: var(--consonant-merch-card-heading-xxs-font-size); + line-height: var(--consonant-merch-card-heading-xxs-line-height); + } + + merch-card[variant="ccd-suggested"] [slot="body-xs"] a { + font-size: var(--consonant-merch-card-body-xxs-font-size); + line-height: var(--consonant-merch-card-body-xxs-line-height); + } -sp-theme[color='dark'] merch-card[variant="ccd-suggested"] [slot="body-xs"] { - color: var(--ccd-gray-100-light, #F8F8F8); +.spectrum--darkest merch-card[variant="ccd-suggested"] { + --consonant-merch-card-background-color:rgb(30, 30, 30); + --consonant-merch-card-heading-xs-color:rgb(239, 239, 239); + --consonant-merch-card-body-xs-color:rgb(200, 200, 200); + --consonant-merch-card-border-color:rgb(57, 57, 57); + --consonant-merch-card-detail-s-color:rgb(162, 162, 162); + --consonant-merch-card-price-color:rgb(248, 248, 248); + --merch-color-inline-price-strikethrough:rgb(176, 176, 176); } -sp-theme[color='dark'] merch-card[variant="ccd-suggested"] { - background-color: var(--ccd-gray-800-dark, #222); - color: var(--ccd-gray-100-light, #F8F8F8); - border: 1px solid var(--ccd-gray-700-dark, #464646); +.spectrum--darkest merch-card[variant="ccd-suggested"]:hover { + --consonant-merch-card-border-color:rgb(73, 73, 73); } +`;var Yn={size:[],mnemonics:{size:"l"},badge:!0,subtitle:{tag:"h4",slot:"detail-s"},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 Zo}get aemFragmentMapping(){return Yn}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 x`
+
+
+ + ${this.badge} +
+
+ + +
+
+ + +
+ `}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` + :host([variant='ccd-suggested']) { + --consonant-merch-card-background-color: rgb(245, 245, 245); + --consonant-merch-card-body-xs-color: rgb(75, 75, 75); + --consonant-merch-card-border-color: rgb(225, 225, 225); + --consonant-merch-card-detail-s-color: rgb(110, 110, 110); + --consonant-merch-card-heading-xs-color: rgb(44, 44, 44); + --merch-color-inline-price-strikethrough: var(--spectrum-gray-600); + --mod-img-height: 38px; -merch-card[variant="ccd-suggested"] [slot="detail-s"] { - color: var(--merch-color-grey-60); -} + box-sizing: border-box; + width: 100%; + max-width: 305px; + min-width: 270px; + min-height: 205px; + border-radius: 4px; + display: flex; + flex-flow: wrap; + overflow: hidden; + } -merch-card[variant="ccd-suggested"] [slot="heading-xs"] { - color: var(--spectrum-gray-800, #F8F8F8); - font-size: var(--merch-card-heading-xxs-font-size); - line-height: var(--merch-card-heading-xxs-line-height); -} + :host([variant='ccd-slice']) * { + overflow: hidden; + } -merch-card[variant="ccd-suggested"] [slot="body-xs"] a { - font-size: var(--consonant-merch-card-body-xxs-font-size); - line-height: var(--consonant-merch-card-body-xxs-line-height); - text-decoration: underline; - color: var(--spectrum-blue-800, var(--color-accent)); -} + :host([variant='ccd-suggested']:hover) { + --consonant-merch-card-border-color: #cacaca; + } -merch-card[variant="ccd-suggested"] [slot="price"] span.placeholder-resolved[data-template="priceStrikethrough"], -merch-card[variant="ccd-suggested"] [slot="price"] span.placeholder-resolved[data-template="strikethrough"] { - text-decoration: line-through; - color: var(--ccd-gray-600-light, var(--merch-color-grey-60)); -} + :host([variant='ccd-suggested']) .body { + height: auto; + padding: 20px; + gap: 0; + } -merch-card[variant="ccd-suggested"] [slot="cta"] a { - font-size: var(--consonant-merch-card-body-xs-font-size); - line-height: normal; - text-decoration: none; - color: var(--spectrum-gray-800, var(--merch-color-grey-80)); - font-weight: 700; -} + :host([variant='ccd-suggested'].thin-strip) .body { + padding: 20px 20px 20px 28px; + } -sp-theme[color='dark'] merch-card[variant="ccd-suggested"] [slot="cta"] sp-button[treatment="outline"] { - color: var(--ccd-gray-200-light, #E6E6E6); - border: 2px solid var(--ccd-gray-200-light, #E6E6E6); -} -`;var ic={mnemonics:{size:"l"},subtitle:{tag:"h4",slot:"detail-s"},title:{tag:"h3",slot:"heading-xs"},prices:{tag:"p",slot:"price"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"cta",size:"m"}},ht=class extends N{getGlobalCSS(){return jo}get aemFragmentMapping(){return ic}renderLayout(){return x` -
-
-
- - ${this.badge} -
-
- - -
-
- - -
- `}};p(ht,"variantStyle",I` - :host([variant='ccd-suggested']) { - width: var(--merch-card-ccd-suggested-width); - min-width: var(--merch-card-ccd-suggested-width); - min-height: var(--merch-card-ccd-suggested-height); - border-radius: 4px; - display: flex; - flex-flow: wrap; - overflow: hidden; - } + :host([variant='ccd-suggested']) .header { + display: flex; + flex-flow: wrap; + place-self: flex-start; + flex-wrap: nowrap; + } - :host([variant='ccd-suggested']) .body { - height: auto; - padding: 20px; - gap: 0; - } + :host([variant='ccd-suggested']) .headings { + padding-inline-start: var(--consonant-merch-spacing-xxs); + display: flex; + flex-direction: column; + justify-content: space-between; + } - :host([variant='ccd-suggested'].thin-strip) .body { - padding: 20px 20px 20px 28px; - } + :host([variant='ccd-suggested']) ::slotted([slot='icons']) { + place-self: center; + } - :host([variant='ccd-suggested']) .header { - display: flex; - flex-flow: wrap; - place-self: flex-start; - flex-wrap: nowrap; - } + :host([variant='ccd-suggested']) ::slotted([slot='heading-xs']) { + font-size: var(--consonant-merch-card-heading-xxs-font-size); + line-height: var(--consonant-merch-card-heading-xxs-line-height); + } - :host([variant='ccd-suggested']) .headings { - padding-inline-start: var(--consonant-merch-spacing-xxs); - display: flex; - flex-direction: column; - gap: 2px; - } + :host([variant='ccd-suggested']) ::slotted([slot='detail-m']) { + line-height: var(--consonant-merch-card-detail-m-line-height); + } - :host([variant='ccd-suggested']) ::slotted([slot='icons']) { - place-self: center; - } + :host([variant='ccd-suggested']) ::slotted([slot='body-xs']) { + color: var(--ccd-gray-700-dark); + padding-top: 8px; + flex-grow: 1; + } - :host([variant='ccd-suggested']) ::slotted([slot='heading-xs']) { - font-size: var(--merch-card-heading-xxs-font-size); - line-height: var(--merch-card-heading-xxs-line-height); - } - - :host([variant='ccd-suggested']) ::slotted([slot='detail-m']) { - line-height: var(--consonant-merch-card-detail-m-line-height); - } + :host([variant='ccd-suggested'].wide-strip) + ::slotted([slot='body-xs']) { + padding-inline-start: 48px; + } - :host([variant='ccd-suggested']) ::slotted([slot='body-xs']) { - color: var(--ccd-gray-700-dark, #464646); - padding-top: 6px; - } - - :host([variant='ccd-suggested'].wide-strip) ::slotted([slot='body-xs']) { - padding-inline-start: 48px; - } + :host([variant='ccd-suggested'].wide-strip) ::slotted([slot='price']) { + padding-inline-start: 48px; + } - :host([variant='ccd-suggested'].wide-strip) ::slotted([slot='price']) { - padding-inline-start: 48px; - } + :host([variant='ccd-suggested']) ::slotted([slot='price']) { + font-size: var(--consonant-merch-card-body-xs-font-size); + line-height: var(--consonant-merch-card-body-xs-line-height); + min-width: fit-content; + } - :host([variant='ccd-suggested']) ::slotted([slot='price']) { - display: flex; - align-items: center; - color: var(--spectrum-gray-800, #F8F8F8); - font-size: var(--consonant-merch-card-body-xs-font-size); - line-height: var(--consonant-merch-card-body-xs-line-height); - min-width: fit-content; - } - - :host([variant='ccd-suggested']) ::slotted([slot='price']) span.placeholder-resolved[data-template="priceStrikethrough"] { - text-decoration: line-through; - } + :host([variant='ccd-suggested']) ::slotted([slot='cta']) { + display: flex; + align-items: center; + min-width: fit-content; + } - :host([variant='ccd-suggested']) ::slotted([slot='cta']) { - display: flex; - align-items: center; - min-width: fit-content; - } + :host([variant='ccd-suggested']) .footer { + display: flex; + justify-content: space-between; + flex-grow: 0; + margin-top: 6px; + align-items: center; + } - :host([variant='ccd-suggested']) .footer { - display: flex; - justify-content: space-between; - flex-grow: 0; - margin-top: auto; - align-items: center; - } + :host([variant='ccd-suggested']) div[class$='-badge'] { + position: static; + border-radius: 4px; + } - :host([variant='ccd-suggested']) div[class$='-badge'] { - position: static; - border-radius: 4px; - } + :host([variant='ccd-suggested']) .top-section { + align-items: center; + } + `);var Jo=` - :host([variant='ccd-suggested']) .top-section { - align-items: center; - } - `);var Ko=` -:root { - --consonant-merch-card-ccd-slice-single-width: 322px; - --consonant-merch-card-ccd-slice-icon-size: 30px; - --consonant-merch-card-ccd-slice-wide-width: 600px; - --consonant-merch-card-ccd-slice-single-height: 154px; - --consonant-merch-card-ccd-slice-background-img-size: 119px; -} -sp-theme[color='light'] merch-card[variant="ccd-slice"] { - background-color: var(--ccd-gray-100-light, #F8F8F8); - color: var(--ccd-gray-800-dark, #222); - border: 1px solid var(--ccd-gray-200-light, #E6E6E6) -} - -sp-theme[color='dark'] merch-card[variant="ccd-slice"] { - background-color: var(--ccd-gray-800-dark, #222); - color: var(--ccd-gray-100-light, #F8F8F8); - border: 1px solid var(--ccd-gray-700-dark, #464646); +merch-card[variant="ccd-slice"] [slot='image'] img { + overflow: hidden; + border-radius: 50%; } -merch-card[variant="ccd-slice"] [slot='body-s'] a:not(.con-button) { +merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { font-size: var(--consonant-merch-card-body-xxs-font-size); font-style: normal; font-weight: 400; line-height: var(--consonant-merch-card-body-xxs-line-height); - text-decoration-line: underline; - color: var(--spectrum-gray-800, var(--merch-color-grey-80)); } -merch-card[variant="ccd-slice"] [slot="body-s"] span.placeholder-resolved[data-template="priceStrikethrough"], -merch-card[variant="ccd-slice"] [slot="body-s"] span.placeholder-resolved[data-template="strikethrough"] { - text-decoration: line-through; - color: var(--ccd-gray-600-light, var(--merch-color-grey-60)); -} - -merch-card[variant="ccd-slice"] [slot='image'] img { - overflow: hidden; - border-radius: 50%; +.spectrum--darkest merch-card[variant="ccd-slice"] { + --consonant-merch-card-background-color:rgb(29, 29, 29); + --consonant-merch-card-body-s-color:rgb(235, 235, 235); + --consonant-merch-card-border-color:rgb(48, 48, 48); + --consonant-merch-card-detail-s-color:rgb(235, 235, 235); } -`;var oc={mnemonics:{size:"m"},backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"s"},allowedSizes:["wide"]},dt=class extends N{getGlobalCSS(){return Ko}get aemFragmentMapping(){return oc}renderLayout(){return x`
+`;var Xn={size:["wide"],mnemonics:{size:"m"},badge:!0,backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"S"},allowedSizes:["wide"]},mt=class extends I{getGlobalCSS(){return Jo}get aemFragmentMapping(){return Xn}renderLayout(){return x`
- - ${this.badge} -
+ + ${this.badge} +
- `}};p(dt,"variantStyle",I` + `}};p(mt,"variantStyle",P` :host([variant='ccd-slice']) { + --consonant-merch-card-background-color: rgb(248, 248, 248); + --consonant-merch-card-border-color: rgb(230, 230, 230); + --consonant-merch-card-body-s-color: rgb(34, 34, 34); + --merch-color-inline-price-strikethrough: var(--spectrum-gray-600); + --mod-img-height: 29px; + + box-sizing: border-box; min-width: 290px; - max-width: var(--consonant-merch-card-ccd-slice-single-width); - max-height: var(--consonant-merch-card-ccd-slice-single-height); - height: var(--consonant-merch-card-ccd-slice-single-height); - border: 1px solid var(--spectrum-gray-700); + max-width: 322px; + width: 100%; + max-height: 154px; + height: 154px; border-radius: 4px; display: flex; flex-flow: wrap; } + :host([variant='ccd-slice']) * { + overflow: hidden; + } + :host([variant='ccd-slice']) ::slotted([slot='body-s']) { font-size: var(--consonant-merch-card-body-xs-font-size); line-height: var(--consonant-merch-card-body-xxs-line-height); - max-width: 154px; + min-width: 154px; + max-width: 171px; + max-height: 55px; + overflow: hidden; } :host([variant='ccd-slice'][size='wide']) ::slotted([slot='body-s']) { - max-width: 425px; + max-width: 425px; } :host([variant='ccd-slice'][size='wide']) { - width: var(--consonant-merch-card-ccd-slice-wide-width); - max-width: var(--consonant-merch-card-ccd-slice-wide-width); + width: 600px; + max-width: 600px; } :host([variant='ccd-slice']) .content { @@ -1528,6 +1503,7 @@ merch-card[variant="ccd-slice"] [slot='image'] img { padding: 15px; padding-inline-end: 0; width: 154px; + min-height: 123px; flex-direction: column; justify-content: space-between; align-items: flex-start; @@ -1549,8 +1525,8 @@ merch-card[variant="ccd-slice"] [slot='image'] img { display: flex; justify-content: center; flex-shrink: 0; - width: var(--consonant-merch-card-ccd-slice-background-img-size); - height: var(--consonant-merch-card-ccd-slice-background-img-size); + width: 134px; + height: 149px; overflow: hidden; border-radius: 50%; padding: 15px; @@ -1579,7 +1555,7 @@ merch-card[variant="ccd-slice"] [slot='image'] img { align-items: center; gap: 8px; } - `);var zn=(e,t=!1)=>{switch(e.variant){case"catalog":return new it(e);case"image":return new xr(e);case"inline-heading":return new vr(e);case"mini-compare-chart":return new ot(e);case"plans":return new at(e);case"product":return new Ue(e);case"segment":return new st(e);case"special-offers":return new ct(e);case"twp":return new lt(e);case"ccd-suggested":return new ht(e);case"ccd-slice":return new dt(e);default:return t?void 0:new Ue(e)}},Bo=()=>{let e=[];return e.push(it.variantStyle),e.push(ot.variantStyle),e.push(Ue.variantStyle),e.push(at.variantStyle),e.push(st.variantStyle),e.push(ct.variantStyle),e.push(lt.variantStyle),e.push(ht.variantStyle),e.push(dt.variantStyle),e};var Yo=document.createElement("style");Yo.innerHTML=` + `);var Wn=(e,t=!1)=>{switch(e.variant){case"catalog":return new at(e);case"image":return new Ar(e);case"inline-heading":return new Er(e);case"mini-compare-chart":return new st(e);case"plans":return new ct(e);case"product":return new Ue(e);case"segment":return new lt(e);case"special-offers":return new ht(e);case"twp":return new ut(e);case"ccd-suggested":return new dt(e);case"ccd-slice":return new mt(e);default:return t?void 0:new Ue(e)}},Qo={catalog:Kn,image:null,"inline-heading":null,"mini-compare-chart":null,plans:null,product:null,segment:null,"special-offers":jn,twp:null,"ccd-suggested":Yn,"ccd-slice":Xn},ea=()=>{let e=[];return e.push(at.variantStyle),e.push(st.variantStyle),e.push(Ue.variantStyle),e.push(ct.variantStyle),e.push(lt.variantStyle),e.push(ht.variantStyle),e.push(ut.variantStyle),e.push(dt.variantStyle),e.push(mt.variantStyle),e};var ta=document.createElement("style");ta.innerHTML=` :root { --consonant-merch-card-detail-font-size: 12px; --consonant-merch-card-detail-font-weight: 500; @@ -1606,8 +1582,8 @@ merch-card[variant="ccd-slice"] [slot='image'] img { --consonant-merch-card-cta-font-size: 15px; /* headings */ - --merch-card-heading-xxs-font-size: 16px; - --merch-card-heading-xxs-line-height: 20px; + --consonant-merch-card-heading-xxs-font-size: 16px; + --consonant-merch-card-heading-xxs-line-height: 20px; --consonant-merch-card-heading-xs-font-size: 18px; --consonant-merch-card-heading-xs-line-height: 22.5px; --consonant-merch-card-heading-s-font-size: 20px; @@ -1620,8 +1596,8 @@ merch-card[variant="ccd-slice"] [slot='image'] img { --consonant-merch-card-heading-xl-line-height: 45px; /* detail */ - --merch-card-detail-s-font-size: 11px; - --merch-card-detail-s-line-height: 14px; + --consonant-merch-card-detail-s-font-size: 11px; + --consonant-merch-card-detail-s-line-height: 14px; --consonant-merch-card-detail-m-font-size: 12px; --consonant-merch-card-detail-m-line-height: 15px; --consonant-merch-card-detail-m-font-weight: 700; @@ -1646,28 +1622,31 @@ merch-card[variant="ccd-slice"] [slot='image'] img { --consonant-merch-card-heading-padding: 0; /* colors */ - --merch-card-background-color: var(--spectrum-gray-background-color-default, #fff); + --consonant-merch-card-background-color: inherit; --consonant-merch-card-border-color: #eaeaea; --color-accent: rgb(59, 99, 251); --merch-color-focus-ring: #1473E6; --merch-color-grey-10: #f6f6f6; - --merch-color-grey-60: #6D6D6D; + --merch-color-grey-60: var(--specturm-gray-600); --merch-color-grey-80: #2c2c2c; --merch-color-grey-200: #E8E8E8; --merch-color-grey-600: #686868; --merch-color-green-promo: #2D9D78; + --consonant-merch-card-body-xs-color: var(--spectrum-gray-100, var(--merch-color-grey-80)); + --merch-color-inline-price-strikethrough: initial; + --consonant-merch-card-detail-s-color: var(--spectrum-gray-600, var(--merch-color-grey-600)); + --consonant-merch-card-heading-color: var(--spectrum-gray-800, var(--merch-color-grey-80)); + --consonant-merch-card-heading-xs-color: var(--consonant-merch-card-heading-color); + --consonant-merch-card-price-color: #222222; /* ccd colors */ - --ccd-gray-100-light: #F8F8F8; --ccd-gray-200-light: #E6E6E6; --ccd-gray-800-dark: #222; --ccd-gray-700-dark: #464646; --ccd-gray-600-light: #6D6D6D; - --ccd-gray-200-dark: #3F3F3F; - - - + + /* merch card generic */ --consonant-merch-card-max-width: 300px; --transition: cmax-height 0.3s linear, opacity 0.3s linear; @@ -1721,6 +1700,11 @@ merch-card-collection > div[slot] p { padding: var(--spacing-m); } +merch-card[variant="ccd-suggested"] *, +merch-card[variant="ccd-slice"] * { + box-sizing: border-box; +} + merch-card.background-opacity-70 { background-color: rgba(255 255 255 / 70%); } @@ -1739,18 +1723,15 @@ merch-card span[is='inline-price'] { display: inline-block; } -merch-card sp-button a[is='checkout-link'] { - pointer-events: auto; -} - merch-card [slot^='heading-'] { - color: var(--spectrum-gray-800, var(--merch-color-grey-80)); + color: var(--consonant-merch-card-heading-color); font-weight: 700; } merch-card [slot='heading-xs'] { font-size: var(--consonant-merch-card-heading-xs-font-size); line-height: var(--consonant-merch-card-heading-xs-line-height); + color: var(--consonant-merch-card-heading-xs-color); margin: 0; } @@ -1847,12 +1828,12 @@ merch-card [slot='callout-content'] img { } merch-card [slot='detail-s'] { - font-size: var(--merch-card-detail-s-font-size); - line-height: var(--merch-card-detail-s-line-height); + font-size: var(--consonant-merch-card-detail-s-font-size); + line-height: var(--consonant-merch-card-detail-s-line-height); letter-spacing: 0.66px; font-weight: 700; text-transform: uppercase; - color: var(--spectrum-gray-600, var(--merch-color-grey-600)); + color: var(--consonant-merch-card-detail-s-color); } merch-card [slot='detail-m'] { @@ -1873,10 +1854,31 @@ merch-card [slot="body-xxs"] { color: var(--merch-color-grey-80); } +merch-card [slot="body-s"] { + color: var(--consonant-merch-card-body-s-color); +} + +merch-card button.spectrum-Button > a { + color: inherit; + text-decoration: none; +} + +merch-card button.spectrum-Button > a:hover { + color: inherit; +} + +merch-card button.spectrum-Button > a:active { + color: inherit; +} + +merch-card button.spectrum-Button > a:focus { + color: inherit; +} + merch-card [slot="body-xs"] { font-size: var(--consonant-merch-card-body-xs-font-size); line-height: var(--consonant-merch-card-body-xs-line-height); - color: var(--merch-color-grey-80); + color: var(--consonant-merch-card-body-xs-color); } merch-card [slot="body-m"] { @@ -1897,10 +1899,6 @@ merch-card [slot="body-xl"] { color: var(--merch-color-grey-80); } -merch-card a.primary-link { - color: var(--spectrum-global-color-blue-700); -} - merch-card [slot="cci-footer"] p, merch-card [slot="cct-footer"] p, merch-card [slot="cce-footer"] p { @@ -1941,31 +1939,18 @@ merch-card div[slot='bg-image'] img { border-top-right-radius: 16px; } -merch-card span[is="inline-price"][data-template='strikethrough'] { - text-decoration: line-through; -} - .price-unit-type:not(.disabled)::before, .price-tax-inclusivity:not(.disabled)::before { content: "\\00a0"; } -merch-card sp-button a, -merch-card sp-button a:hover { - text-decoration: none; - color: var( - --highcontrast-button-content-color-default, - var( - --mod-button-content-color-default, - var(--spectrum-button-content-color-default) - ) - ); -} - +merch-card span.placeholder-resolved[data-template='priceStrikethrough'], merch-card span.placeholder-resolved[data-template='strikethrough'], merch-card span.price.price-strikethrough { font-size: var(--consonant-merch-card-body-xs-font-size); font-weight: normal; + text-decoration: line-through; + color: var(--merch-color-inline-price-strikethrough); } /* merch-offer-select */ @@ -1983,15 +1968,18 @@ body.merch-modal { scrollbar-gutter: stable; height: 100vh; } -`;document.head.appendChild(Yo);var ac="#000000",sc="#F8D904",cc=/(accent|primary|secondary)(-(outline|link))?/,lc="mas:product_code/",hc="daa-ll",br="daa-lh";function dc(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=le("merch-icon",s);t.append(c)})}function uc(e,t){e.badge&&(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||ac),t.setAttribute("badge-background-color",e.badgeBackgroundColor||sc))}function mc(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function pc(e,t,r){e.cardTitle&&r&&t.append(le(r.tag,{slot:r.slot},e.cardTitle))}function fc(e,t,r){e.subtitle&&r&&t.append(le(r.tag,{slot:r.slot},e.subtitle))}function gc(e,t,r,n){if(e.backgroundImage)switch(n){case"ccd-slice":r&&t.append(le(r.tag,{slot:r.slot},``));break;case"ccd-suggested":t.setAttribute("background-image",e.backgroundImage);break}}function xc(e,t,r){if(e.prices&&r){let n=le(r.tag,{slot:r.slot},e.prices);t.append(n)}}function vc(e,t,r){if(e.description&&r){let n=le(r.tag,{slot:r.slot},e.description);t.append(n)}}function bc(e,t,r,n){n==="ccd-suggested"&&!e.className&&(e.className="primary-link");let i=cc.exec(e.className)?.[0]??"accent",o=i.includes("accent"),a=i.includes("primary"),s=i.includes("secondary"),c=i.includes("-outline");if(i.includes("-link"))return e;let l="fill",d;o||t?d="accent":a?d="primary":s&&(d="secondary"),c&&(l="outline"),e.tabIndex=-1;let u=le("sp-button",{treatment:l,variant:d,tabIndex:0,size:r.ctas.size??"m"},e);return u.addEventListener("click",m=>{m.target!==e&&(m.stopPropagation(),e.click())}),u}function Ac(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function Ec(e,t,r,n){if(e.ctas){let{slot:i}=r.ctas,o=le("div",{slot:i},e.ctas),a=[...o.querySelectorAll("a")].map(s=>{let c=s.parentElement.tagName==="STRONG";return t.consonant?Ac(s,c):bc(s,c,r,n)});o.innerHTML="",o.append(...a),t.append(o)}}function Sc(e,t){let{tags:r}=e,n=r?.find(i=>i.startsWith(lc))?.split("/").pop();n&&(t.setAttribute(br,n),t.querySelectorAll("a[data-analytics-id]").forEach((i,o)=>{i.setAttribute(hc,`${i.dataset.analyticsId}-${o+1}`)}))}async function Xo(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;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.removeAttribute(br),t.variant=n,await t.updateComplete;let{aemFragmentMapping:i}=t.variantLayout;i&&(gc(r,t,i.backgroundImage,n),uc(r,t),Ec(r,t,i,n),vc(r,t,i.description),dc(r,t,i.mnemonics),xc(r,t,i.prices),mc(r,t,i.allowedSizes),fc(r,t,i.subtitle),pc(r,t,i.title),Sc(r,t))}var yc="merch-card",Tc=1e4,jn,Vt,Fn,Rt=class extends ee{constructor(){super();M(this,Vt);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");M(this,jn,!1);this.filters={},this.types="",this.selected=!1,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("--merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(this)}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(),this.addEventListener(fr,this.handleQuantitySelection),this.addEventListener(Tn,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener($e,this.handleAemFragmentEvents),this.addEventListener(Ve,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout.disconnectedCallbackHook(),this.removeEventListener(fr,this.handleQuantitySelection),this.storageOptions?.removeEventListener(pr,this.handleStorageChange),this.removeEventListener($e,this.handleAemFragmentEvents),this.removeEventListener(Ve,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===$e&&ge(this,Vt,Fn).call(this,"AEM fragment cannot be loaded"),r.type===Ve&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await Xo(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),Tc));if(await Promise.race([r,n])===!0){this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0}));return}ge(this,Vt,Fn).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")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||this.dispatchEvent(new CustomEvent(Ln,{bubbles:!0}))}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(pr,{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)}}};jn=new WeakMap,Vt=new WeakSet,Fn=function(r){this.dispatchEvent(new CustomEvent(Pn,{detail:r,bubbles:!0,composed:!0}))},p(Rt,"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"},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:br,reflect:!0}}),p(Rt,"styles",[ko,Bo(),...Oo()]);customElements.define(yc,Rt);var ut=class extends ee{constructor(){super(),this.size="m",this.alt=""}render(){let{href:t}=this;return t?x` - ${this.alt} - `:x` ${this.alt}`}};p(ut,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}}),p(ut,"styles",I` + +`;document.head.appendChild(ta);var Vt;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(Vt||(Vt={}));var qn;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(qn||(qn={}));var Ht;(function(e){e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED"})(Ht||(Ht={}));var De;(function(e){e.V2="UCv2",e.V3="UCv3"})(De||(De={}));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 Zn=function(e){var t;return(t=uc.get(e))!==null&&t!==void 0?t:e},uc=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 ra=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.")},na=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 pt(e,t,r){var n,i;try{for(var o=ra(Object.entries(e)),a=o.next();!a.done;a=o.next()){var s=na(a.value,2),c=s[0],l=s[1],h=Zn(c);l!=null&&r.has(h)&&t.set(h,l)}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Sr(e){switch(e){case Vt.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Tr(e,t){var r,n;for(var i in e){var o=e[i];try{for(var a=(r=void 0,ra(Object.entries(o))),s=a.next();!s.done;s=a.next()){var c=na(s.value,2),l=c[0],h=c[1];if(h!=null){var u=Zn(l);t.set("items["+i+"]["+u+"]",h)}}}catch(d){r={error:d}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}var dc=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 ia(e){gc(e);var t=e.env,r=e.items,n=e.workflowStep,i=dc(e,["env","items","workflowStep"]),o=new URL(Sr(t));return o.pathname=n+"/",Tr(r,o.searchParams),pt(i,o.searchParams,pc),o.toString()}var pc=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),fc=["env","workflowStep","clientId","country","items"];function gc(e){var t,r;try{for(var n=mc(fc),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 xc=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.")},vc="p_draft_landscape",Ac="/store/";function Qn(e){Sc(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,u=xc(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),d={marketSegment:o??i,offerType:s??a,productArrangementCode:l??c},m=new URL(Sr(t));return m.pathname=""+Ac+n,n!==Z.SEGMENTATION&&n!==Z.CHANGE_PLAN_TEAM_PLANS&&Tr(r,m.searchParams),n===Z.SEGMENTATION&&pt(d,m.searchParams,Jn),pt(u,m.searchParams,Jn),h===Ht.DRAFT&&pt({af:vc},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"]),Ec=["env","workflowStep","clientId","country"];function Sc(e){var t,r;try{for(var n=bc(Ec),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 ei(e,t){switch(e){case De.V2:return ia(t);case De.V3:return Qn(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),Qn(t)}}var ti;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(ti||(ti={}));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 k;(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"})(k||(k={}));var ri;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(ri||(ri={}));var ni;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(ni||(ni={}));var ii;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(ii||(ii={}));var oi;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(oi||(oi={}));var oa="tacocat.js";var yr=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),aa=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=ft(n)?n:e;o=a.get(s)}if(i&&o==null){let a=ft(i)?i:e;o=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&o==null){let a=Tc(ft(r)?r:e);o=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return o??t[e]}var gt=()=>{};var sa=e=>typeof e=="boolean",$t=e=>typeof e=="function",Lr=e=>typeof e=="number",ca=e=>e!=null&&typeof e=="object";var ft=e=>typeof e=="string",ai=e=>ft(e)&&e,xt=e=>Lr(e)&&Number.isFinite(e)&&e>0;function bt(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function T(e,t){if(sa(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 Tc(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function vt(e,t=1){return Lr(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var yc=Date.now(),si=()=>`(+${Date.now()-yc}ms)`,_r=new Set,Lc=T(O("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function la(e){let t=`[${oa}/${e}]`,r=(a,s,...c)=>a?!0:(i(s,...c),!1),n=Lc?(a,...s)=>{console.debug(`${t} ${a}`,...s,si())}:()=>{},i=(a,...s)=>{let c=`${t} ${a}`;_r.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:i,warn:(a,...s)=>{let c=`${t} ${a}`;_r.forEach(([,l])=>l(c,...s))}}}function _c(e,t){let r=[e,t];return _r.add(r),()=>{_r.delete(r)}}_c((e,...t)=>{console.error(e,...t,si())},(e,...t)=>{console.warn(e,...t,si())});var wc="no promo",ha="promo-tag",Cc="yellow",Pc="neutral",Ic=(e,t,r)=>{let n=o=>o||wc,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Nc="cancel-context",Ut=(e,t)=>{let r=e===Nc,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?ha:`${ha} no-promo`,text:Ic(a,t,i),variant:o?Cc:Pc,isOverriden:i}};var ci="ABM",li="PUF",hi="M2M",ui="PERPETUAL",di="P3Y",kc="TAX_INCLUSIVE_DETAILS",Oc="TAX_EXCLUSIVE",ua={ABM:ci,PUF:li,M2M:hi,PERPETUAL:ui,P3Y:di},mm={[ci]:{commitment:U.YEAR,term:k.MONTHLY},[li]:{commitment:U.YEAR,term:k.ANNUAL},[hi]:{commitment:U.MONTH,term:k.MONTHLY},[ui]:{commitment:U.PERPETUAL,term:void 0},[di]:{commitment:U.THREE_MONTHS,term:k.P3Y}},da="Value is not an offer",wr=e=>{if(typeof e!="object")return da;let{commitment:t,term:r}=e,n=Rc(t,r);return{...e,planType:n}};var Rc=(e,t)=>{switch(e){case void 0:return da;case"":return"";case U.YEAR:return t===k.MONTHLY?ci:t===k.ANNUAL?li:"";case U.MONTH:return t===k.MONTHLY?hi:"";case U.PERPETUAL:return ui;case U.TERM_LICENSE:return t===k.P3Y?di:"";default:return""}};function mi(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:o,taxDisplay:a}=t;if(a!==kc)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:o??n,taxDisplay:Oc}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var pi=function(e,t){return pi=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])},pi(e,t)};function Dt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");pi(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(Hc,function(c,l,h,u,d,m){if(l)t.minimumIntegerDigits=h.length;else{if(u&&d)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(Sa.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(xa.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(xa,function(c,l,h,u,d,m){return h==="*"?t.minimumFractionDigits=l.length:u&&u[0]==="#"?t.maximumFractionDigits=u.length:d&&m?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.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),ba(o)));continue}if(Ea.test(i.stem)){t=A(A({},t),ba(i.stem));continue}var a=Ta(i.stem);a&&(t=A(A({},t),a));var s=$c(i.stem);s&&(t=A(A({},t),s))}return t}var Gt={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 La(e,t){for(var r="",n=0;n>1),c="a",l=Uc(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 Uc(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=Gt[n||""]||Gt[r||""]||Gt["".concat(r,"-001")]||Gt["001"];return i[0]}var xi,Dc=new RegExp("^".concat(gi.source,"*")),Bc=new RegExp("".concat(gi.source,"*$"));function E(e,t){return{start:e,end:t}}var Gc=!!String.prototype.startsWith,zc=!!String.fromCodePoint,Fc=!!Object.fromEntries,Kc=!!String.prototype.codePointAt,jc=!!String.prototype.trimStart,Yc=!!String.prototype.trimEnd,Xc=!!Number.isSafeInteger,Wc=Xc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},vi=!0;try{_a=Ia("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),vi=((xi=_a.exec("a"))===null||xi===void 0?void 0:xi[0])==="a"}catch{vi=!1}var _a,wa=Gc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ai=zc?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},Ca=Fc?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=jc?function(t){return t.trimStart()}:function(t){return t.replace(Dc,"")},Zc=Yc?function(t){return t.trimEnd()}:function(t){return t.replace(Bc,"")};function Ia(e,t){return new RegExp(e,t)}var Ei;vi?(bi=Ia("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ei=function(t,r){var n;bi.lastIndex=r;var i=bi.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):Ei=function(t,r){for(var n=[];;){var i=Pa(t,r);if(i===void 0||ka(i)||el(i))break;n.push(i),r+=i>=65536?2:1}return Ai.apply(void 0,n)};var bi,Na=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&&Si(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()&&Qc(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||!Jc(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 Ai.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(),Ai(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=Ei(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(),u=this.parseSimpleArgStyleIfPossible();if(u.err)return u;var d=Zc(u.val);if(d.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var m=E(h,this.clonePosition());l={style:d,styleLocation:m}}var f=this.tryParseArgumentClose(i);if(f.err)return f;var g=E(i,this.clonePosition());if(l&&wa(l?.style,"::",0)){var L=qc(l.style.slice(2));if(s==="number"){var u=this.parseNumberSkeletonFromString(L,l.styleLocation);return u.err?u:{val:{type:C.number,value:n,location:g,style:u.val},err:null}}else{if(L.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,g);var w=L;this.locale&&(w=La(L,this.locale));var d={type:Be.dateTime,pattern:w,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?fa(w):{}},b=s==="date"?C.date:C.time;return{val:{type:b,value:n,location:g,style:d},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 N=this.parseIdentifierIfPossible(),R=0;if(s!=="select"&&N.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var u=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(u.err)return u;this.bumpSpace(),N=this.parseIdentifierIfPossible(),R=u.val}var M=this.tryParsePluralOrSelectOptions(t,s,r,N);if(M.err)return M;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:Ca(M.val),location:$},err:null}:{val:{type:C.plural,value:n,options:Ca(M.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=Aa(t)}catch{return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:Be.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ya(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 u=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;h=E(u,this.clonePosition()),l=this.message.slice(u.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,Wc(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=Pa(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(wa(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()&&ka(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 Si(e){return e>=97&&e<=122||e>=65&&e<=90}function Jc(e){return Si(e)||e===47}function Qc(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 ka(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function el(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 Ti(e){e.forEach(function(t){if(delete t.location,kr(t)||Or(t))for(var r in t.options)delete t.options[r].location,Ti(t.options[r].value);else Pr(t)&&Mr(t.style)||(Ir(t)||Nr(t))&&Bt(t.style)?delete t.style.location:Rr(t)&&Ti(t.children)})}function Oa(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Na(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||Ti(r.val),r.val}function zt(e,t){var r=t&&t.cache?t.cache:al,n=t&&t.serializer?t.serializer:ol,i=t&&t.strategy?t.strategy:rl;return i(e,{cache:r,serializer:n})}function tl(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ra(e,t,r,n){var i=tl(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function Ma(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 yi(e,t,r,n,i){return r.bind(t,e,n,i)}function rl(e,t){var r=e.length===1?Ra:Ma;return yi(e,this,r,t.cache.create(),t.serializer)}function nl(e,t){return yi(e,this,Ma,t.cache.create(),t.serializer)}function il(e,t){return yi(e,this,Ra,t.cache.create(),t.serializer)}var ol=function(){return JSON.stringify(arguments)};function Li(){this.cache=Object.create(null)}Li.prototype.get=function(e){return this.cache[e]};Li.prototype.set=function(e,t){this.cache[e]=t};var al={create:function(){return new Li}},Vr={variadic:nl,monadic:il};var Ge;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ge||(Ge={}));var Ft=function(e){Dt(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 _i=function(e){Dt(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('", "'),'"'),Ge.INVALID_VALUE,o)||this}return t}(Ft);var Va=function(e){Dt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Ge.INVALID_VALUE,i)||this}return t}(Ft);var Ha=function(e){Dt(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,'"'),Ge.MISSING_VALUE,n)||this}return t}(Ft);var K;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(K||(K={}));function sl(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 cl(e){return typeof e=="function"}function Kt(e,t,r,n,i,o,a){if(e.length===1&&fi(e[0]))return[{type:K.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=Oa,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 Ua=$a;var dl=/[0-9\-+#]/,ml=/[^\d\-+#]/g;function Da(e){return e.search(dl)}function pl(e="#.##"){let t={},r=e.length,n=Da(e);t.prefix=n>0?e.substring(0,n):"";let i=Da(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(ml);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 fl(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,gl(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 gl(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.lengthMath.round(e*20)/20},Ci=(e,t)=>({accept:e,round:t}),El=[Ci(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Ci(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.ceil(Math.floor(t*1e4/e)/100)/100),Ci(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Pi={[U.YEAR]:{[k.MONTHLY]:jt.MONTH,[k.ANNUAL]:jt.YEAR},[U.MONTH]:{[k.MONTHLY]:jt.MONTH}},Sl=(e,t)=>e.indexOf(`'${t}'`)===0,Tl=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Ya(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Ll(e)),r},yl=e=>{let t=_l(e),r=Sl(e,t),n=e.replace(/'.*?'/,""),i=Fa.test(n)||Ka.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},ja=e=>e.replace(Fa,za).replace(Ka,za),Ll=e=>e.match(/#(.?)#/)?.[1]===Ga?bl:Ga,_l=e=>e.match(/'(.*?)'/)?.[1]??"",Ya=e=>e.match(/0(.?)0/)?.[1]??"";function Hr({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,o=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=yl(e),l=r?Ya(e):"",h=Tl(e,r),u=r?2:0,d=o(t,{currencySymbol:a}),m=n?d.toLocaleString("hi-IN",{minimumFractionDigits:u,maximumFractionDigits:u}):Ba(h,d),f=r?m.lastIndexOf(l):m.length,g=m.substring(0,f),L=m.substring(f+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,a),currencySymbol:a,decimals:L,decimalsDelimiter:l,hasCurrencySpace:c,integer:g,isCurrencyFirst:s,recurrenceTerm:i}}var Xa=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=vl[r]??1;return Hr(e,i>1?jt.MONTH:Pi[t]?.[r],(o,{currencySymbol:a})=>{let s={divisor:i,price:o,usePrecision:n},{round:c}=El.find(({accept:h})=>h(s));if(!c)throw new Error(`Missing rounding rule for: ${JSON.stringify(s)}`);return(Al[a]??(h=>h))(c(s))})},Wa=({commitment:e,term:t,...r})=>Hr(r,Pi[e]?.[t]),qa=e=>{let{commitment:t,term:r}=e;return t===U.YEAR&&r===k.MONTHLY?Hr(e,jt.YEAR,n=>n*12):Hr(e,Pi[t]?.[r])};var wl={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}"},Cl=la("ConsonantTemplates/price"),Pl=/<\/?[^>]+(>|$)/g,z={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"},ze={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Il="TAX_EXCLUSIVE",Nl=e=>ca(e)?Object.entries(e).filter(([,t])=>ft(t)||Lr(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+aa(n)+'"'}`,""):"",Y=(e,t,r,n=!1)=>`${n?ja(t):t??""}`;function kl(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:o,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},u={}){let d=Y(z.currencySymbol,r),m=Y(z.currencySpace,o?" ":""),f="";return s&&(f+=d+m),f+=Y(z.integer,a),f+=Y(z.decimalsDelimiter,i),f+=Y(z.decimals,n),s||(f+=m+d),f+=Y(z.recurrence,c,null,!0),f+=Y(z.unitType,l,null,!0),f+=Y(z.taxInclusivity,h,!0),Y(e,f,{...u,"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:u,formatString:d,price:m,priceWithoutDiscount:f,taxDisplay:g,taxTerm:L,term:w,usePrecision:b}={},S={})=>{Object.entries({country:n,formatString:d,language:c,price:m}).forEach(([se,Xr])=>{if(Xr==null)throw new Error(`Argument "${se}" is missing for osi ${u?.toString()}, country ${n}, language ${c}`)});let N={...wl,...l},R=`${c.toLowerCase()}-${n.toUpperCase()}`;function M(se,Xr){let Wr=N[se];if(Wr==null)return"";try{return new Ua(Wr.replace(Pl,""),R).format(Xr)}catch{return Cl.error("Failed to format literal:",Wr),""}}let $=t&&f?f:m,oe=e?Xa:Wa;r&&(oe=qa);let{accessiblePrice:We,recurrenceTerm:_e,...qe}=oe({commitment:h,formatString:d,term:w,price:e?m:$,usePrecision:b,isIndianPrice:n==="IN"}),J=We,ge="";if(T(o)&&_e){let se=M(ze.recurrenceAriaLabel,{recurrenceTerm:_e});se&&(J+=" "+se),ge=M(ze.recurrenceLabel,{recurrenceTerm:_e})}let ae="";if(T(a)){ae=M(ze.perUnitLabel,{perUnit:"LICENSE"});let se=M(ze.perUnitAriaLabel,{perUnit:"LICENSE"});se&&(J+=" "+se)}let Q="";T(s)&&L&&(Q=M(g===Il?ze.taxExclusiveLabel:ze.taxInclusiveLabel,{taxTerm:L}),Q&&(J+=" "+Q)),t&&(J=M(ze.strikethroughAriaLabel,{strikethroughPrice:J}));let we=z.container;if(e&&(we+=" "+z.containerOptical),t&&(we+=" "+z.containerStrikethrough),r&&(we+=" "+z.containerAnnual),T(i))return kl(we,{...qe,accessibleLabel:J,recurrenceLabel:ge,perUnitLabel:ae,taxInclusivityLabel:Q},S);let{currencySymbol:Qi,decimals:_s,decimalsDelimiter:ws,hasCurrencySpace:eo,integer:Cs,isCurrencyFirst:Ps}=qe,Ze=[Cs,ws,_s];Ps?(Ze.unshift(eo?"\xA0":""),Ze.unshift(Qi)):(Ze.push(eo?"\xA0":""),Ze.push(Qi)),Ze.push(ge,ae,Q);let Is=Ze.join("");return Y(we,Is,S)},Za=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||T(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${W()(e,t,r)}${i?" "+W({displayStrikethrough:!0})(e,t,r):""}`},Ja=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||T(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?W({displayStrikethrough:!0})(n,t,r)+" ":""}${W()(e,t,r)}${Y(z.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${Y(z.containerAnnualSuffix,")")}`},Qa=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${W()(e,t,r)}${Y(z.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${Y(z.containerAnnualSuffix,")")}`};var Ii=W(),Ni=Za(),ki=W({displayOptical:!0}),Oi=W({displayStrikethrough:!0}),Ri=W({displayAnnual:!0}),Mi=Qa(),Vi=Ja();var Ol=(e,t)=>{if(!(!xt(e)||!xt(t)))return Math.floor((t-e)/t*100)},es=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Ol(r,n);return i===void 0?'':`${i}%`};var Hi=es();var{freeze:Yt}=Object,te=Yt({...De}),re=Yt({...Z}),Fe={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},$i=Yt({...U}),Ui=Yt({...ua}),Di=Yt({...k});var ts="mas-commerce-service";function rs(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(ts);i!==r&&(r=i,i&&e(i))}return document.addEventListener(ot,n,{once:t}),Te(n),()=>document.removeEventListener(ot,n)}function Xt(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(mi)),i}var Te=e=>window.setTimeout(e);function At(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(vt).filter(xt);return r.length||(r=[t]),r}function $r(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(ai)}function q(){return document.getElementsByTagName(ts)?.[0]}var Ke={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},ns=1e3,is=new Set;function Rl(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function os(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 Ml(e,t){if(!Ke.ignoredProperties.includes(e))return os(t)}var Bi={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],o=t;r.forEach(l=>{l!=null&&(Rl(l)?n:i).push(l)}),n.length&&(o+=" "+n.map(os).join(" "));let{pathname:a,search:s}=window.location,c=`${Ke.delimiter}page=${a}${s}`;c.length>ns&&(c=`${c.slice(0,ns)}`),o+=c,i.length&&(o+=`${Ke.delimiter}facts=`,o+=JSON.stringify(i,Ml)),is.has(o)||(is.add(o),window.lana?.log(o,Ke))}};function Et(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 _=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:te.V3,checkoutWorkflowStep:re.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:Fe.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:$e.PUBLISHED,wcsBufferLimit:1});var Gi=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function Vl({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||_.language),t??(t=e?.split("_")?.[1]||_.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function zi(e={}){let{commerce:t={}}=e,r=Fe.PRODUCTION,n=Gn,i=O("checkoutClientId",t)??_.checkoutClientId,o=Se(O("checkoutWorkflow",t),te,_.checkoutWorkflow),a=re.CHECKOUT;o===te.V3&&(a=Se(O("checkoutWorkflowStep",t),re,_.checkoutWorkflowStep));let s=T(O("displayOldPrice",t),_.displayOldPrice),c=T(O("displayPerUnit",t),_.displayPerUnit),l=T(O("displayRecurrence",t),_.displayRecurrence),h=T(O("displayTax",t),_.displayTax),u=T(O("entitlement",t),_.entitlement),d=T(O("modal",t),_.modal),m=T(O("forceTaxExclusive",t),_.forceTaxExclusive),f=O("promotionCode",t)??_.promotionCode,g=At(O("quantity",t)),L=O("wcsApiKey",t)??_.wcsApiKey,w=t?.env==="stage",b=$e.PUBLISHED;["true",""].includes(t.allowOverride)&&(w=(O(Dn,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",b=Se(O(Bn,t),$e,b)),w&&(r=Fe.STAGE,n=zn);let N=vt(O("wcsBufferDelay",t),_.wcsBufferDelay),R=vt(O("wcsBufferLimit",t),_.wcsBufferLimit);return{...Vl(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:o,checkoutWorkflowStep:a,displayPerUnit:c,displayRecurrence:l,displayTax:h,entitlement:u,extraOptions:_.extraOptions,modal:d,env:r,forceTaxExclusive:m,promotionCode:f,quantity:g,wcsApiKey:L,wcsBufferDelay:N,wcsBufferLimit:R,wcsURL:n,landscape:b}}var Fi={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Hl=Date.now(),Ki=new Set,ji=new Set,as=new Map,ss={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},cs={filter:({level:e})=>e!==Fi.DEBUG},$l={filter:()=>!1};function Ul(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&$t(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-Hl}}function Dl(e){[...ji].every(t=>t(e))&&Ki.forEach(t=>t(e))}function ls(e){let t=(as.get(e)??0)+1;as.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>ls(`${n.namespace}/${i}`),updateConfig:Et};return Object.values(Fi).forEach(i=>{n[i]=(o,...a)=>Dl(Ul(i,o,e,a,r))}),Object.seal(n)}function Ur(...e){e.forEach(t=>{let{append:r,filter:n}=t;$t(n)&&ji.add(n),$t(r)&&Ki.add(r)})}function Bl(e={}){let{name:t}=e,r=T(O("commerce.debug",{search:!0,storage:!0}),t===Gi.LOCAL);return Ur(r?ss:cs),t===Gi.PROD&&Ur(Bi),X}function Gl(){Ki.clear(),ji.clear()}var X={...ls(Un),Level:Fi,Plugins:{consoleAppender:ss,debugFilter:cs,quietFilter:$l,lanaAppender:Bi},init:Bl,reset:Gl,use:Ur};var zl={[he]:kn,[ue]:On,[de]:Rn},Fl={[he]:Vn,[ue]:Hn,[de]:$n},St=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",gt);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",ue);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t}update(){[he,ue,de].forEach(t=>{this.wrapperElement.classList.toggle(zl[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(Fl[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=rs(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=gt}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}),Te(()=>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}),Te(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=ue,this.update(),Te(()=>this.notify()),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!q()||this.timer)return;let r=X.module("mas-element"),{error:n,options:i,state:o,value:a,version:s}=this;this.state=ue,this.timer=Te(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===ue&&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 hs(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function Dr(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,hs(t)),i}function Br(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,hs(t)),e):null}var Kl="download",jl="upgrade";function Gr(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:u,quantity:d,wcsOsi:m,extraOptions:f}=n.collectCheckoutOptions(t),g=Dr(e,{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:u,quantity:d,wcsOsi:m,extraOptions:f});return r&&(g.innerHTML=`${r}`),g}function zr(e){return class extends e{constructor(){super(...arguments);p(this,"checkoutActionHandler");p(this,"masElement",new St(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(u=>{u&&(this.dataset.imsCountry=u)},gt),n.imsCountry=null;let o=i.collectCheckoutOptions(n,this);if(!o.wcsOsi.length)return!1;let a;try{a=JSON.parse(o.extraOptions??"{}")}catch(u){this.masElement.log?.error("cannot parse exta checkout options",u)}let s=this.masElement.togglePending(o);this.setCheckoutUrl("");let c=i.resolveOfferSelectors(o),l=await Promise.all(c);l=l.map(u=>Xt(u,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(Kl,jl),this.masElement.toggleResolved(s,n,i);let{url:h,text:u,className:d,handler:m}=a;return h&&this.setCheckoutUrl(h),u&&(this.firstElementChild.innerHTML=u),d&&this.classList.add(...d.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:u,promotionCode:d,quantity:m,wcsOsi:f}=i.collectCheckoutOptions(n);return Br(this,{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:u,promotionCode:d,quantity:m,wcsOsi:f}),!0}}}var Ye,Wt=class Wt extends zr(HTMLButtonElement){constructor(){super(...arguments);G(this,Ye)}static createCheckoutButton(r={},n=""){return Gr(Wt,r,n)}setCheckoutUrl(r){j(this,Ye,r)}get href(){return y(this,Ye)}get isCheckoutButton(){return!0}clickHandler(r){if(this.checkoutActionHandler){this.checkoutActionHandler?.(r);return}y(this,Ye)&&(window.location.href=y(this,Ye))}};Ye=new WeakMap,p(Wt,"is","checkout-button"),p(Wt,"tag","button");var je=Wt;window.customElements.get(je.is)||window.customElements.define(je.is,je,{extends:je.tag});var Yl="#000000",Xl="#F8D904",Wl=/(accent|primary|secondary)(-(outline|link))?/,ql="mas:product_code/",Zl="daa-ll",Fr="daa-lh",Jl=["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,loading:t.loading,size:r?.size??"l"};o&&(s.alt=o),a&&(s.href=a);let c=le("merch-icon",s);t.append(c)})}function eh(e,t){e.badge&&(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||Yl),t.setAttribute("badge-background-color",e.badgeBackgroundColor||Xl))}function th(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function rh(e,t,r){e.cardTitle&&r&&t.append(le(r.tag,{slot:r.slot},e.cardTitle))}function nh(e,t,r){e.subtitle&&r&&t.append(le(r.tag,{slot:r.slot},e.subtitle))}function ih(e,t,r,n){if(e.backgroundImage)switch(n){case"ccd-slice":r&&t.append(le(r.tag,{slot:r.slot},``));break;case"ccd-suggested":t.setAttribute("background-image",e.backgroundImage);break}}function oh(e,t,r){if(e.prices&&r){let n=le(r.tag,{slot:r.slot},e.prices);t.append(n)}}function ah(e,t,r){if(e.description&&r){let n=le(r.tag,{slot:r.slot},e.description);t.append(n)}}function sh(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=Jl.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 ch(e,t,r,n){let i="fill";r&&(i="outline");let o=le("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 lh(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function hh(e,t,r,n){if(e.ctas){let{slot:i}=r.ctas,o=le("div",{slot:i},e.ctas),a=[...o.querySelectorAll("a")].map(s=>{let c=s.parentElement.tagName==="STRONG";if(t.consonant)return lh(s,c);let l=Wl.exec(s.className)?.[0]??"accent",h=l.includes("accent"),u=l.includes("primary"),d=l.includes("secondary"),m=l.includes("-outline");if(l.includes("-link"))return s;let g;return h||c?g="accent":u?g="primary":d&&(g="secondary"),t.spectrum==="swc"?ch(s,r,m,g):sh(s,r,m,g)});o.innerHTML="",o.append(...a),t.append(o)}}function uh(e,t){let{tags:r}=e,n=r?.find(i=>i.startsWith(ql))?.split("/").pop();n&&(t.setAttribute(Fr,n),t.querySelectorAll("a[data-analytics-id],button[data-analytics-id]").forEach((i,o)=>{i.setAttribute(Zl,`${i.dataset.analyticsId}-${o+1}`)}))}function dh(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 us(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;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(Fr),t.variant=n,await t.updateComplete;let{aemFragmentMapping:i}=t.variantLayout;i&&(Ql(r,t,i.mnemonics),eh(r,t),th(r,t,i.allowedSizes),rh(r,t,i.title),nh(r,t,i.subtitle),oh(r,t,i.prices),ih(r,t,i.backgroundImage,n),ah(r,t,i.description),hh(r,t,i,n),uh(r,t),dh(t))}var mh="merch-card",ph=1e4,Zt,Yi,qt=class extends ee{constructor(){super();G(this,Zt);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.loading="lazy",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}static getFragmentMapping(r){return Qo[r]}firstUpdated(){this.variantLayout=Wn(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=Wn(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(),this.addEventListener(br,this.handleQuantitySelection),this.addEventListener(wn,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(He,this.handleAemFragmentEvents),this.addEventListener(Ve,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(br,this.handleQuantitySelection),this.storageOptions?.removeEventListener(xr,this.handleStorageChange),this.removeEventListener(He,this.handleAemFragmentEvents),this.removeEventListener(Ve,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===He&&xe(this,Zt,Yi).call(this,"AEM fragment cannot be loaded"),r.type===Ve&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await us(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),ph));if(await Promise.race([r,n])===!0){this.dispatchEvent(new CustomEvent(In,{bubbles:!0,composed:!0}));return}xe(this,Zt,Yi).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")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||this.dispatchEvent(new CustomEvent(Cn,{bubbles:!0}))}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(xr,{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)}}};Zt=new WeakSet,Yi=function(r){this.dispatchEvent(new CustomEvent(Nn,{detail:r,bubbles:!0,composed:!0}))},p(qt,"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:Fr,reflect:!0},loading:{type:String}}),p(qt,"styles",[Uo,ea(),...Do()]);customElements.define(mh,qt);var Tt=class extends ee{constructor(){super(),this.size="m",this.alt="",this.loading="lazy"}render(){let{href:t}=this;return t?x` + ${this.alt} + `:x` ${this.alt}`}};p(Tt,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0},loading:{type:String,attribute:!0}}),p(Tt,"styles",P` :host { --img-width: 32px; --img-height: 32px; display: block; - width: var(--img-width); - height: var(--img-height); + width: var(--mod-img-width, var(--img-width)); + height: var(--mod-img-height, var(--img-height)); } :host([size='s']) { @@ -2010,12 +1998,10 @@ body.merch-modal { } img { - width: var(--img-width); - height: var(--img-height); + width: var(--mod-img-width, var(--img-width)); + height: var(--mod-img-height, var(--img-height)); } - `);customElements.define("merch-icon",ut);var Jo=new CSSStyleSheet;Jo.replaceSync(":host { display: contents; }");var Lc=document.querySelector('meta[name="aem-base-url"]')?.content??"https://odin.adobe.com",Wo="fragment",qo="author",_c="ims",Zo=e=>{throw new Error(`Failed to get fragment: ${e}`)};async function wc(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=>Zo(a.message));return o?.ok||Zo(`${o.status} ${o.statusText}`),o.json()}var Kn,Ee,Bn=class{constructor(){M(this,Ee,new Map)}clear(){L(this,Ee).clear()}add(...t){t.forEach(r=>{let{id:n}=r;n&&L(this,Ee).set(n,r)})}has(t){return L(this,Ee).has(t)}get(t){return L(this,Ee).get(t)}remove(t){L(this,Ee).delete(t)}};Ee=new WeakMap;var Ar=new Bn,De,me,Se,$t,pe,mt,Mt,Xn,Er,Qo,Sr,ea,Yn=class extends HTMLElement{constructor(){super();M(this,Mt);M(this,Er);M(this,Sr);p(this,"cache",Ar);M(this,De,void 0);M(this,me,void 0);M(this,Se,void 0);M(this,$t,!1);M(this,pe,void 0);M(this,mt,!1);this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[Jo];let r=this.getAttribute(_c);["",!0,"true"].includes(r)&&(j(this,$t,!0),Kn||(Kn={Authorization:`Bearer ${window.adobeid?.authorize?.()}`}))}static get observedAttributes(){return[Wo,qo]}attributeChangedCallback(r,n,i){r===Wo&&(j(this,Se,i),this.refresh(!1)),r===qo&&j(this,mt,["","true"].includes(i))}connectedCallback(){if(!L(this,Se)){ge(this,Mt,Xn).call(this,"Missing fragment id");return}}async refresh(r=!0){L(this,pe)&&!await Promise.race([L(this,pe),Promise.resolve(!1)])||(r&&Ar.remove(L(this,Se)),j(this,pe,this.fetchData().then(()=>(this.dispatchEvent(new CustomEvent(Ve,{detail:this.data,bubbles:!0,composed:!0})),!0)).catch(n=>(ge(this,Mt,Xn).call(this,"Network error: failed to load fragment"),j(this,pe,null),!1))),L(this,pe))}async fetchData(){j(this,De,null),j(this,me,null);let r=Ar.get(L(this,Se));r||(r=await wc(Lc,L(this,Se),L(this,mt),L(this,$t)?Kn:void 0),Ar.add(r)),j(this,De,r)}get updateComplete(){return L(this,pe)??Promise.reject(new Error("AEM fragment cannot be loaded"))}get data(){return L(this,me)?L(this,me):(L(this,mt)?ge(this,Er,Qo).call(this):ge(this,Sr,ea).call(this),L(this,me))}};De=new WeakMap,me=new WeakMap,Se=new WeakMap,$t=new WeakMap,pe=new WeakMap,mt=new WeakMap,Mt=new WeakSet,Xn=function(r){this.classList.add("error"),this.dispatchEvent(new CustomEvent($e,{detail:r,bubbles:!0,composed:!0}))},Er=new WeakSet,Qo=function(){let{id:r,tags:n,fields:i}=L(this,De);j(this,me,i.reduce((o,{name:a,multiple:s,values:c})=>(o.fields[a]=s?c:c[0],o),{id:r,tags:n,fields:{}}))},Sr=new WeakSet,ea=function(){let{id:r,tags:n,fields:i}=L(this,De);j(this,me,Object.entries(i).reduce((o,[a,s])=>(o.fields[a]=s?.mimeType?s.value:s??"",o),{id:r,tags:n,fields:{}}))};customElements.define("aem-fragment",Yn);var Ge={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},ta=1e3,ra=new Set;function Pc(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function na(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(!Ge.serializableTypes.includes(r))return r}return e}function Cc(e,t){if(!Ge.ignoredProperties.includes(e))return na(t)}var Wn={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],o=t;r.forEach(h=>{h!=null&&(Pc(h)?n:i).push(h)}),n.length&&(o+=" "+n.map(na).join(" "));let{pathname:a,search:s}=window.location,c=`${Ge.delimiter}page=${a}${s}`;c.length>ta&&(c=`${c.slice(0,ta)}`),o+=c,i.length&&(o+=`${Ge.delimiter}facts=`,o+=JSON.stringify(i,Cc)),ra.has(o)||(ra.add(o),window.lana?.log(o,Ge))}};function pt(e){Object.assign(Ge,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in Ge&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var Ut;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(Ut||(Ut={}));var qn;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(qn||(qn={}));var Dt;(function(e){e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED"})(Dt||(Dt={}));var He;(function(e){e.V2="UCv2",e.V3="UCv3"})(He||(He={}));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 Zn=function(e){var t;return(t=Ic.get(e))!==null&&t!==void 0?t:e},Ic=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 ia=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.")},oa=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 ft(e,t,r){var n,i;try{for(var o=ia(Object.entries(e)),a=o.next();!a.done;a=o.next()){var s=oa(a.value,2),c=s[0],h=s[1],l=Zn(c);h!=null&&r.has(l)&&t.set(l,h)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function yr(e){switch(e){case Ut.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Tr(e,t){var r,n;for(var i in e){var o=e[i];try{for(var a=(r=void 0,ia(Object.entries(o))),s=a.next();!s.done;s=a.next()){var c=oa(s.value,2),h=c[0],l=c[1];if(l!=null){var d=Zn(h);t.set("items["+i+"]["+d+"]",l)}}}catch(u){r={error:u}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}var Nc=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 aa(e){Vc(e);var t=e.env,r=e.items,n=e.workflowStep,i=Nc(e,["env","items","workflowStep"]),o=new URL(yr(t));return o.pathname=n+"/",Tr(r,o.searchParams),ft(i,o.searchParams,Oc),o.toString()}var Oc=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),Rc=["env","workflowStep","clientId","country","items"];function Vc(e){var t,r;try{for(var n=kc(Rc),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 $c=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.")},Uc="p_draft_landscape",Dc="/store/";function Qn(e){Hc(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,h=e.productArrangementCode,l=e.landscape,d=$c(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),u={marketSegment:o??i,offerType:s??a,productArrangementCode:h??c},m=new URL(yr(t));return m.pathname=""+Dc+n,n!==Z.SEGMENTATION&&n!==Z.CHANGE_PLAN_TEAM_PLANS&&Tr(r,m.searchParams),n===Z.SEGMENTATION&&ft(u,m.searchParams,Jn),ft(d,m.searchParams,Jn),l===Dt.DRAFT&&ft({af:Uc},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"]),Gc=["env","workflowStep","clientId","country"];function Hc(e){var t,r;try{for(var n=Mc(Gc),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 ei(e,t){switch(e){case He.V2:return aa(t);case He.V3:return Qn(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),Qn(t)}}var ti;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(ti||(ti={}));var D;(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"})(D||(D={}));var k;(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"})(k||(k={}));var ri;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(ri||(ri={}));var ni;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(ni||(ni={}));var ii;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(ii||(ii={}));var oi;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(oi||(oi={}));var sa="tacocat.js";var Lr=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),ca=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=gt(n)?n:e;o=a.get(s)}if(i&&o==null){let a=gt(i)?i:e;o=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&o==null){let a=zc(gt(r)?r:e);o=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return o??t[e]}var xt=()=>{};var la=e=>typeof e=="boolean",Gt=e=>typeof e=="function",_r=e=>typeof e=="number",ha=e=>e!=null&&typeof e=="object";var gt=e=>typeof e=="string",ai=e=>gt(e)&&e,vt=e=>_r(e)&&Number.isFinite(e)&&e>0;function bt(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(la(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function ye(e,t,r){let n=Object.values(t);return n.find(i=>Lr(i,e))??r??n[0]}function zc(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function At(e,t=1){return _r(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var Fc=Date.now(),si=()=>`(+${Date.now()-Fc}ms)`,wr=new Set,jc=y(O("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function da(e){let t=`[${sa}/${e}]`,r=(a,s,...c)=>a?!0:(i(s,...c),!1),n=jc?(a,...s)=>{console.debug(`${t} ${a}`,...s,si())}:()=>{},i=(a,...s)=>{let c=`${t} ${a}`;wr.forEach(([h])=>h(c,...s))};return{assert:r,debug:n,error:i,warn:(a,...s)=>{let c=`${t} ${a}`;wr.forEach(([,h])=>h(c,...s))}}}function Kc(e,t){let r=[e,t];return wr.add(r),()=>{wr.delete(r)}}Kc((e,...t)=>{console.error(e,...t,si())},(e,...t)=>{console.warn(e,...t,si())});var Bc="no promo",ua="promo-tag",Yc="yellow",Xc="neutral",Wc=(e,t,r)=>{let n=o=>o||Bc,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},qc="cancel-context",Ht=(e,t)=>{let r=e===qc,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?ua:`${ua} no-promo`,text:Wc(a,t,i),variant:o?Yc:Xc,isOverriden:i}};var ci="ABM",li="PUF",hi="M2M",di="PERPETUAL",ui="P3Y",Zc="TAX_INCLUSIVE_DETAILS",Jc="TAX_EXCLUSIVE",ma={ABM:ci,PUF:li,M2M:hi,PERPETUAL:di,P3Y:ui},ym={[ci]:{commitment:D.YEAR,term:k.MONTHLY},[li]:{commitment:D.YEAR,term:k.ANNUAL},[hi]:{commitment:D.MONTH,term:k.MONTHLY},[di]:{commitment:D.PERPETUAL,term:void 0},[ui]:{commitment:D.THREE_MONTHS,term:k.P3Y}},pa="Value is not an offer",Pr=e=>{if(typeof e!="object")return pa;let{commitment:t,term:r}=e,n=Qc(t,r);return{...e,planType:n}};var Qc=(e,t)=>{switch(e){case void 0:return pa;case"":return"";case D.YEAR:return t===k.MONTHLY?ci:t===k.ANNUAL?li:"";case D.MONTH:return t===k.MONTHLY?hi:"";case D.PERPETUAL:return di;case D.TERM_LICENSE:return t===k.P3Y?ui:"";default:return""}};function mi(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:o,taxDisplay:a}=t;if(a!==Zc)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:o??n,taxDisplay:Jc}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var pi=function(e,t){return pi=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])},pi(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");pi(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var T=function(){return T=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(rl,function(s,c,h,l,d,u){if(c)t.minimumIntegerDigits=h.length;else{if(l&&d)throw new Error("We currently do not support maximum integer digits");if(u)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ta.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ba.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ba,function(s,c,h,l,d,u){return h==="*"?t.minimumFractionDigits=c.length:l&&l[0]==="#"?t.maximumFractionDigits=l.length:d&&u?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+u.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""}),i.options.length&&(t=T(T({},t),Aa(i.options[0])));continue}if(ya.test(i.stem)){t=T(T({},t),Aa(i.stem));continue}var o=La(i.stem);o&&(t=T(T({},t),o));var a=nl(i.stem);a&&(t=T(T({},t),a))}return t}var xi,il=new RegExp("^"+gi.source+"*"),ol=new RegExp(gi.source+"*$");function E(e,t){return{start:e,end:t}}var al=!!String.prototype.startsWith,sl=!!String.fromCodePoint,cl=!!Object.fromEntries,ll=!!String.prototype.codePointAt,hl=!!String.prototype.trimStart,dl=!!String.prototype.trimEnd,ul=!!Number.isSafeInteger,ml=ul?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},bi=!0;try{wa=Na("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),bi=((xi=wa.exec("a"))===null||xi===void 0?void 0:xi[0])==="a"}catch{bi=!1}var wa,Pa=al?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ai=sl?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},Ca=cl?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}},pl=hl?function(t){return t.trimStart()}:function(t){return t.replace(il,"")},fl=dl?function(t){return t.trimEnd()}:function(t){return t.replace(ol,"")};function Na(e,t){return new RegExp(e,t)}var Ei;bi?(vi=Na("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ei=function(t,r){var n;vi.lastIndex=r;var i=vi.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):Ei=function(t,r){for(var n=[];;){var i=Ia(t,r);if(i===void 0||Oa(i)||vl(i))break;n.push(i),r+=i>=65536?2:1}return Ai.apply(void 0,n)};var vi,ka=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.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(b.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Si(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:"<"+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(b.INVALID_TAG,E(s,this.clonePosition())))}else return this.error(b.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(b.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&xl(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||!gl(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 Ai.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(),Ai(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(b.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(b.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(b.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(b.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(b.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Ei(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(b.EXPECT_ARGUMENT_TYPE,E(a,c));case"number":case"date":case"time":{this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var u=fl(d.val);if(u.length===0)return this.error(b.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var m=E(l,this.clonePosition());h={style:u,styleLocation:m}}var f=this.tryParseArgumentClose(i);if(f.err)return f;var g=E(i,this.clonePosition());if(h&&Pa(h?.style,"::",0)){var S=pl(h.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(S,h.styleLocation);return d.err?d:{val:{type:P.number,value:n,location:g,style:d.val},err:null}}else{if(S.length===0)return this.error(b.EXPECT_DATE_TIME_SKELETON,g);var u={type:ze.dateTime,pattern:S,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?xa(S):{}},w=s==="date"?P.date:P.time;return{val:{type:w,value:n,location:g,style:u},err:null}}}return{val:{type:s==="number"?P.number:s==="date"?P.date:P.time,value:n,location:g,style:(o=h?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,E(v,T({},v)));this.bumpSpace();var A=this.parseIdentifierIfPossible(),R=0;if(s!=="select"&&A.value==="offset"){if(!this.bumpIf(":"))return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),A=this.parseIdentifierIfPossible(),R=d.val}var C=this.tryParsePluralOrSelectOptions(t,s,r,A);if(C.err)return C;var f=this.tryParseArgumentClose(i);if(f.err)return f;var $=E(i,this.clonePosition());return s==="select"?{val:{type:P.select,value:n,options:Ca(C.val),location:$},err:null}:{val:{type:P.plural,value:n,options:Ca(C.val),offset:R,pluralType:s==="plural"?"cardinal":"ordinal",location:$},err:null}}default:return this.error(b.INVALID_ARGUMENT_TYPE,E(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(b.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(b.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=Sa(t)}catch{return this.error(b.INVALID_NUMBER_SKELETON,r)}return{val:{type:ze.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?_a(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],c=new Set,h=i.value,l=i.location;;){if(h.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var u=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR,b.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=E(d,this.clonePosition()),h=this.message.slice(d.offset,this.offset())}else break}if(c.has(h))return this.error(r==="select"?b.DUPLICATE_SELECT_ARGUMENT_SELECTOR:b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);h==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:b.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([h,{value:f.val,location:E(m,this.clonePosition())}]),c.add(h),this.bumpSpace(),o=this.parseIdentifierIfPossible(),h=o.value,l=o.location}return s.length===0?this.error(r==="select"?b.EXPECT_SELECT_ARGUMENT_SELECTOR:b.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(b.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,ml(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=Ia(this.message,t);if(r===void 0)throw Error("Offset "+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(Pa(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 "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Oa(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 Si(e){return e>=97&&e<=122||e>=65&&e<=90}function gl(e){return Si(e)||e===47}function xl(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 Oa(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function vl(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 yi(e){e.forEach(function(t){if(delete t.location,Or(t)||Rr(t))for(var r in t.options)delete t.options[r].location,yi(t.options[r].value);else Ir(t)&&$r(t.style)||(Nr(t)||kr(t))&&Ft(t.style)?delete t.style.location:Vr(t)&&yi(t.children)})}function Ra(e,t){t===void 0&&(t={}),t=T({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ka(e,t).parse();if(r.err){var n=SyntaxError(b[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||yi(r.val),r.val}function jt(e,t){var r=t&&t.cache?t.cache:Tl,n=t&&t.serializer?t.serializer:yl,i=t&&t.strategy?t.strategy:Al;return i(e,{cache:r,serializer:n})}function bl(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Va(e,t,r,n){var i=bl(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function $a(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 Ti(e,t,r,n,i){return r.bind(t,e,n,i)}function Al(e,t){var r=e.length===1?Va:$a;return Ti(e,this,r,t.cache.create(),t.serializer)}function El(e,t){return Ti(e,this,$a,t.cache.create(),t.serializer)}function Sl(e,t){return Ti(e,this,Va,t.cache.create(),t.serializer)}var yl=function(){return JSON.stringify(arguments)};function Li(){this.cache=Object.create(null)}Li.prototype.get=function(e){return this.cache[e]};Li.prototype.set=function(e,t){this.cache[e]=t};var Tl={create:function(){return new Li}},Mr={variadic:El,monadic:Sl};var Fe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Fe||(Fe={}));var Kt=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: "+this.code+"] "+this.message},t}(Error);var _i=function(e){zt(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'+r+'": "'+n+'". Options are "'+Object.keys(i).join('", "')+'"',Fe.INVALID_VALUE,o)||this}return t}(Kt);var Ma=function(e){zt(t,e);function t(r,n,i){return e.call(this,'Value for "'+r+'" must be of type '+n,Fe.INVALID_VALUE,i)||this}return t}(Kt);var Ua=function(e){zt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'+r+'" was not provided to the string "'+n+'"',Fe.MISSING_VALUE,n)||this}return t}(Kt);var B;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(B||(B={}));function Ll(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==B.literal||r.type!==B.literal?t.push(r):n.value+=r.value,t},[])}function _l(e){return typeof e=="function"}function Bt(e,t,r,n,i,o,a){if(e.length===1&&fi(e[0]))return[{type:B.literal,value:e[0].value}];for(var s=[],c=0,h=e;c0?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(Nl);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 Ol(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,Rl(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 Rl(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.lengthMath.round(e*20)/20},Pi=(e,t)=>({accept:e,round:t}),Dl=[Pi(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Pi(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.ceil(Math.floor(t*1e4/e)/100)/100),Pi(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Ci={[D.YEAR]:{[k.MONTHLY]:Yt.MONTH,[k.ANNUAL]:Yt.YEAR},[D.MONTH]:{[k.MONTHLY]:Yt.MONTH}},Gl=(e,t)=>e.indexOf(`'${t}'`)===0,Hl=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Xa(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Fl(e)),r},zl=e=>{let t=jl(e),r=Gl(e,t),n=e.replace(/'.*?'/,""),i=Ka.test(n)||Ba.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},Ya=e=>e.replace(Ka,ja).replace(Ba,ja),Fl=e=>e.match(/#(.?)#/)?.[1]===Fa?$l:Fa,jl=e=>e.match(/'(.*?)'/)?.[1]??"",Xa=e=>e.match(/0(.?)0/)?.[1]??"";function Ur({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,o=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=zl(e),h=r?Xa(e):"",l=Hl(e,r),d=r?2:0,u=o(t,{currencySymbol:a}),m=n?u.toLocaleString("hi-IN",{minimumFractionDigits:d,maximumFractionDigits:d}):za(l,u),f=r?m.lastIndexOf(h):m.length,g=m.substring(0,f),S=m.substring(f+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,a),currencySymbol:a,decimals:S,decimalsDelimiter:h,hasCurrencySpace:c,integer:g,isCurrencyFirst:s,recurrenceTerm:i}}var Wa=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=Ml[r]??1;return Ur(e,i>1?Yt.MONTH:Ci[t]?.[r],(o,{currencySymbol:a})=>{let s={divisor:i,price:o,usePrecision:n},{round:c}=Dl.find(({accept:l})=>l(s));if(!c)throw new Error(`Missing rounding rule for: ${JSON.stringify(s)}`);return(Ul[a]??(l=>l))(c(s))})},qa=({commitment:e,term:t,...r})=>Ur(r,Ci[e]?.[t]),Za=e=>{let{commitment:t,term:r}=e;return t===D.YEAR&&r===k.MONTHLY?Ur(e,Yt.YEAR,n=>n*12):Ur(e,Ci[t]?.[r])};var Kl={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}"},Bl=da("ConsonantTemplates/price"),Yl=/<\/?[^>]+(>|$)/g,z={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"},je={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Xl="TAX_EXCLUSIVE",Wl=e=>ha(e)?Object.entries(e).filter(([,t])=>gt(t)||_r(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+ca(n)+'"'}`,""):"",Y=(e,t,r,n=!1)=>`${n?Ya(t):t??""}`;function ql(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:o,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:h,taxInclusivityLabel:l},d={}){let u=Y(z.currencySymbol,r),m=Y(z.currencySpace,o?" ":""),f="";return s&&(f+=u+m),f+=Y(z.integer,a),f+=Y(z.decimalsDelimiter,i),f+=Y(z.decimals,n),s||(f+=m+u),f+=Y(z.recurrence,c,null,!0),f+=Y(z.unitType,h,null,!0),f+=Y(z.taxInclusivity,l,!0),Y(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:h={}}={},{commitment:l,offerSelectorIds:d,formatString:u,price:m,priceWithoutDiscount:f,taxDisplay:g,taxTerm:S,term:w,usePrecision:v}={},A={})=>{Object.entries({country:n,formatString:u,language:c,price:m}).forEach(([se,Kr])=>{if(Kr==null)throw new Error(`Argument "${se}" is missing for osi ${d?.toString()}, country ${n}, language ${c}`)});let R={...Kl,...h},C=`${c.toLowerCase()}-${n.toUpperCase()}`;function $(se,Kr){let Br=R[se];if(Br==null)return"";try{return new Ga(Br.replace(Yl,""),C).format(Kr)}catch{return Bl.error("Failed to format literal:",Br),""}}let F=t&&f?f:m,oe=e?Wa:qa;r&&(oe=Za);let{accessiblePrice:Ye,recurrenceTerm:Le,...Xe}=oe({commitment:l,formatString:u,term:w,price:e?m:F,usePrecision:v,isIndianPrice:n==="IN"}),J=Ye,fe="";if(y(o)&&Le){let se=$(je.recurrenceAriaLabel,{recurrenceTerm:Le});se&&(J+=" "+se),fe=$(je.recurrenceLabel,{recurrenceTerm:Le})}let ae="";if(y(a)){ae=$(je.perUnitLabel,{perUnit:"LICENSE"});let se=$(je.perUnitAriaLabel,{perUnit:"LICENSE"});se&&(J+=" "+se)}let Q="";y(s)&&S&&(Q=$(g===Xl?je.taxExclusiveLabel:je.taxInclusiveLabel,{taxTerm:S}),Q&&(J+=" "+Q)),t&&(J=$(je.strikethroughAriaLabel,{strikethroughPrice:J}));let _e=z.container;if(e&&(_e+=" "+z.containerOptical),t&&(_e+=" "+z.containerStrikethrough),r&&(_e+=" "+z.containerAnnual),y(i))return ql(_e,{...Xe,accessibleLabel:J,recurrenceLabel:fe,perUnitLabel:ae,taxInclusivityLabel:Q},A);let{currencySymbol:Yi,decimals:xs,decimalsDelimiter:vs,hasCurrencySpace:Xi,integer:bs,isCurrencyFirst:As}=Xe,We=[bs,vs,xs];As?(We.unshift(Xi?"\xA0":""),We.unshift(Yi)):(We.push(Xi?"\xA0":""),We.push(Yi)),We.push(fe,ae,Q);let Es=We.join("");return Y(_e,Es,A)},Ja=()=>(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 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)}${Y(z.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${Y(z.containerAnnualSuffix,")")}`},es=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${W()(e,t,r)}${Y(z.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${Y(z.containerAnnualSuffix,")")}`};var Ii=W(),Ni=Ja(),ki=W({displayOptical:!0}),Oi=W({displayStrikethrough:!0}),Ri=W({displayAnnual:!0}),Vi=es(),$i=Qa();var Zl=(e,t)=>{if(!(!vt(e)||!vt(t)))return Math.floor((t-e)/t*100)},ts=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Zl(r,n);return i===void 0?'':`${i}%`};var Mi=ts();var{freeze:Xt}=Object,te=Xt({...He}),re=Xt({...Z}),Ke={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},Ui=Xt({...D}),Di=Xt({...ma}),Gi=Xt({...k});var rs="mas-commerce-service";function ns(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(rs);i!==r&&(r=i,i&&e(i))}return document.addEventListener(nt,n,{once:t}),Te(n),()=>document.removeEventListener(nt,n)}function Wt(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(mi)),i}var Te=e=>window.setTimeout(e);function Et(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(At).filter(vt);return r.length||(r=[t]),r}function Dr(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(ai)}function q(){return document.getElementsByTagName(rs)?.[0]}var _=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:te.V3,checkoutWorkflowStep:re.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:Ke.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:Me.PUBLISHED,wcsBufferLimit:1});var Hi=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function Jl({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||_.language),t??(t=e?.split("_")?.[1]||_.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function zi(e={}){let{commerce:t={}}=e,r=Ke.PRODUCTION,n=Dn,i=O("checkoutClientId",t)??_.checkoutClientId,o=ye(O("checkoutWorkflow",t),te,_.checkoutWorkflow),a=re.CHECKOUT;o===te.V3&&(a=ye(O("checkoutWorkflowStep",t),re,_.checkoutWorkflowStep));let s=y(O("displayOldPrice",t),_.displayOldPrice),c=y(O("displayPerUnit",t),_.displayPerUnit),h=y(O("displayRecurrence",t),_.displayRecurrence),l=y(O("displayTax",t),_.displayTax),d=y(O("entitlement",t),_.entitlement),u=y(O("modal",t),_.modal),m=y(O("forceTaxExclusive",t),_.forceTaxExclusive),f=O("promotionCode",t)??_.promotionCode,g=Et(O("quantity",t)),S=O("wcsApiKey",t)??_.wcsApiKey,w=t?.env==="stage",v=Me.PUBLISHED;["true",""].includes(t.allowOverride)&&(w=(O(Mn,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",v=ye(O(Un,t),Me,v)),w&&(r=Ke.STAGE,n=Gn);let R=At(O("wcsBufferDelay",t),_.wcsBufferDelay),C=At(O("wcsBufferLimit",t),_.wcsBufferLimit);return{...Jl(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:o,checkoutWorkflowStep:a,displayPerUnit:c,displayRecurrence:h,displayTax:l,entitlement:d,extraOptions:_.extraOptions,modal:u,env:r,forceTaxExclusive:m,promotionCode:f,quantity:g,wcsApiKey:S,wcsBufferDelay:R,wcsBufferLimit:C,wcsURL:n,landscape:v}}var Fi={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Ql=Date.now(),ji=new Set,Ki=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!==Fi.DEBUG},eh={filter:()=>!1};function th(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Gt(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-Ql}}function rh(e){[...Ki].every(t=>t(e))&&ji.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:pt};return Object.values(Fi).forEach(i=>{n[i]=(o,...a)=>rh(th(i,o,e,a,r))}),Object.seal(n)}function Gr(...e){e.forEach(t=>{let{append:r,filter:n}=t;Gt(n)&&Ki.add(n),Gt(r)&&ji.add(r)})}function nh(e={}){let{name:t}=e,r=y(O("commerce.debug",{search:!0,storage:!0}),t===Hi.LOCAL);return Gr(r?os:as),t===Hi.PROD&&Gr(Wn),X}function ih(){ji.clear(),Ki.clear()}var X={...ss($n),Level:Fi,Plugins:{consoleAppender:os,debugFilter:as,quietFilter:eh,lanaAppender:Wn},init:nh,reset:ih,use:Gr};var oh={[he]:Cn,[de]:In,[ue]:Nn},ah={[he]:On,[de]:Rn,[ue]:Vn},St=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",xt);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",de);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t}update(){[he,de,ue].forEach(t=>{this.wrapperElement.classList.toggle(oh[t],t===this.state)})}notify(){(this.state===ue||this.state===he)&&(this.state===ue?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(ah[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=ns(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=xt}onceSettled(){let{error:t,promises:r,state:n}=this;return ue===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=ue,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),Te(()=>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}),Te(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=de,this.update(),Te(()=>this.notify()),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!q()||this.timer)return;let r=X.module("mas-element"),{error:n,options:i,state:o,value:a,version:s}=this;this.state=de,this.timer=Te(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===de&&this.version===s&&(this.state=o,this.error=n,this.value=a,this.update(),this.notify())}catch(h){r.error("Failed to render mas-element: ",h),this.toggleFailed(this.version,h,i)}})}};function cs(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function Hr(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 zr(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,cs(t)),e):null}var sh="download",ch="upgrade",Be,qt=class qt extends HTMLAnchorElement{constructor(){super();M(this,Be,void 0);p(this,"masElement",new St(this));this.handleClick=this.handleClick.bind(this)}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)}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)}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"]}static createCheckoutLink(r={},n=""){let i=q();if(!i)return null;let{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:h,modal:l,perpetual:d,promotionCode:u,quantity:m,wcsOsi:f,extraOptions:g}=i.collectCheckoutOptions(r),S=Hr(qt,{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:h,modal:l,perpetual:d,promotionCode:u,quantity:m,wcsOsi:f,extraOptions:g});return n&&(S.innerHTML=`${n}`),S}get isCheckoutLink(){return!0}handleClick(r){var n;if(r.target!==this){r.preventDefault(),r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}));return}(n=L(this,Be))==null||n.call(this,r)}async render(r={}){if(!this.isConnected)return!1;let n=q();if(!n)return!1;this.dataset.imsCountry||n.imsCountryPromise.then(l=>{l&&(this.dataset.imsCountry=l)},xt),r.imsCountry=null;let i=n.collectCheckoutOptions(r,this);if(!i.wcsOsi.length)return!1;let o;try{o=JSON.parse(i.extraOptions??"{}")}catch(l){this.masElement.log?.error("cannot parse exta checkout options",l)}let a=this.masElement.togglePending(i);this.href="";let s=n.resolveOfferSelectors(i),c=await Promise.all(s);c=c.map(l=>Wt(l,i)),i.country=this.dataset.imsCountry||i.country;let h=await n.buildCheckoutAction?.(c.flat(),{...o,...i},this);return this.renderOffers(c.flat(),i,{},h,a)}renderOffers(r,n,i={},o=void 0,a=void 0){if(!this.isConnected)return!1;let s=q();if(!s)return!1;if(n={...JSON.parse(this.dataset.extraOptions??"null"),...n,...i},a??(a=this.masElement.togglePending(n)),L(this,Be)&&j(this,Be,void 0),o){this.classList.remove(sh,ch),this.masElement.toggleResolved(a,r,n);let{url:h,text:l,className:d,handler:u}=o;return h&&(this.href=h),l&&(this.firstElementChild.innerHTML=l),d&&this.classList.add(...d.split(" ")),u&&(this.setAttribute("href","#"),j(this,Be,u.bind(this))),!0}else if(r.length){if(this.masElement.toggleResolved(a,r,n)){let h=s.buildCheckoutURL(r,n);return this.setAttribute("href",h),!0}}else{let h=new Error(`Not provided: ${n?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(a,h,n))return this.setAttribute("href","#"),!0}}updateOptions(r={}){let n=q();if(!n)return!1;let{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:h,perpetual:l,promotionCode:d,quantity:u,wcsOsi:m}=n.collectCheckoutOptions(r);return zr(this,{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:h,perpetual:l,promotionCode:d,quantity:u,wcsOsi:m}),!0}};Be=new WeakMap,p(qt,"is","checkout-link"),p(qt,"tag","a");var ne=qt;window.customElements.get(ne.is)||window.customElements.define(ne.is,ne,{extends:ne.tag});function ls({providers:e,settings:t}){function r(o,a){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:h,country:l,language:d,promotionCode:u,quantity:m}=t,{checkoutMarketSegment:f,checkoutWorkflow:g=c,checkoutWorkflowStep:S=h,imsCountry:w,country:v=w??l,language:A=d,quantity:R=m,entitlement:C,upgrade:$,modal:F,perpetual:oe,promotionCode:Ye=u,wcsOsi:Le,extraOptions:Xe,...J}=Object.assign({},a?.dataset??{},o??{}),fe=ye(g,te,_.checkoutWorkflow),ae=re.CHECKOUT;fe===te.V3&&(ae=ye(S,re,_.checkoutWorkflowStep));let Q=bt({...J,extraOptions:Xe,checkoutClientId:s,checkoutMarketSegment:f,country:v,quantity:Et(R,_.quantity),checkoutWorkflow:fe,checkoutWorkflowStep:ae,language:A,entitlement:y(C),upgrade:y($),modal:y(F),perpetual:y(oe),promotionCode:Ht(Ye).effectivePromoCode,wcsOsi:Dr(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:h,checkoutMarketSegment:l,checkoutWorkflow:d,checkoutWorkflowStep:u,country:m,promotionCode:f,quantity:g,...S}=r(a),w=window.frameElement?"if":"fp",v={checkoutPromoCode:f,clientId:h,context:w,country:m,env:s,items:[],marketSegment:l,workflowStep:u,landscape:c,...S};if(o.length===1){let[{offerId:A,offerType:R,productArrangementCode:C}]=o,{marketSegments:[$]}=o[0];Object.assign(v,{marketSegment:$,offerType:R,productArrangementCode:C}),v.items.push(g[0]===1?{id:A}:{id:A,quantity:g[0]})}else v.items.push(...o.map(({offerId:A},R)=>({id:A,quantity:g[R]??_.quantity})));return ei(d,v)}let{createCheckoutLink:i}=ne;return{CheckoutLink:ne,CheckoutWorkflow:te,CheckoutWorkflowStep:re,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function lh({interval:e=200,maxAttempts:t=25}={}){let r=X.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 hh(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function dh(e){let t=X.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 hs({}){let e=lh(),t=hh(e),r=dh(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function us(e,t){let{data:r}=t||await Promise.resolve().then(()=>Ns(ds(),1));if(Array.isArray(r)){let n=o=>r.find(a=>Lr(a.lang,o)),i=n(e.language)??n(_.language);if(i)return Object.freeze(i)}return{}}var ms=["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"],mh={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"]},Zt=class Zt extends HTMLSpanElement{constructor(){super();p(this,"masElement",new St(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:h,promotionCode:l,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Hr(Zt,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:h,promotionCode:l,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(ms.includes(r)||ms.includes(a))return!0;let s=mh[`${i}_${o}`];return s?!!(s.includes(r)||s.includes(a)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),o=Wt(await i,n);if(o?.length){let{country:a,language:s}=n,c=o[0],[h=""]=c.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(a,s,c.customerSegment,h)}}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(Wt(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:h,promotionCode:l,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return zr(this,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:h,promotionCode:l,quantity:d,template:u,wcsOsi:m}),!0}};p(Zt,"is","inline-price"),p(Zt,"tag","span");var ie=Zt;window.customElements.get(ie.is)||window.customElements.define(ie.is,ie,{extends:ie.tag});function ps({literals:e,providers:t,settings:r}){function n(a,s){let{country:c,displayOldPrice:h,displayPerUnit:l,displayRecurrence:d,displayTax:u,forceTaxExclusive:m,language:f,promotionCode:g,quantity:S}=r,{displayOldPrice:w=h,displayPerUnit:v=l,displayRecurrence:A=d,displayTax:R=u,forceTaxExclusive:C=m,country:$=c,language:F=f,perpetual:oe,promotionCode:Ye=g,quantity:Le=S,template:Xe,wcsOsi:J,...fe}=Object.assign({},s?.dataset??{},a??{}),ae=bt({...fe,country:$,displayOldPrice:y(w),displayPerUnit:y(v),displayRecurrence:y(A),displayTax:y(R),forceTaxExclusive:y(C),language:F,perpetual:y(oe),promotionCode:Ht(Ye).effectivePromoCode,quantity:Et(Le,_.quantity),template:Xe,wcsOsi:Dr(J)});if(s)for(let Q of t.price)Q(s,ae);return ae}function i(a,s){if(!Array.isArray(a)||!a.length||!s)return"";let{template:c}=s,h;switch(c){case"discount":h=Mi;break;case"strikethrough":h=Oi;break;case"optical":h=ki;break;case"annual":h=Ri;break;default:s.country==="AU"&&a[0].planType==="ABM"?h=s.promotionCode?$i:Vi:h=s.promotionCode?Ni:Ii}let l=n(s);l.literals=Object.assign({},e.price,bt(s.literals??{}));let[d]=a;return d={...d,...d.priceDetails},h(l,d)}let o=ie.createInlinePrice;return{InlinePrice:ie,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:o}}function fs({settings:e}){let t=X.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,o=new Map,a;async function s(d,u,m=!0){let f=kn;t.debug("Fetching:",d);let g="",S,w=(v,A,R)=>`${v}: ${A?.status}, url: ${R.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===Ke.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),S=await fetch(g.toString(),{credentials:"omit"}),S.ok){let v=await S.json();t.debug("Fetched:",d,v);let A=v.resolvedOffers??[];A=A.map(Pr),u.forEach(({resolve:R},C)=>{let $=A.filter(({offerSelectorIds:F})=>F.includes(C)).flat();$.length&&(u.delete(C),R($))})}else S.status===404&&d.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(d.offerSelectorIds.map(v=>s({...d,offerSelectorIds:[v]},u,!1)))):f=gr}catch(v){f=gr,t.error(f,d,v)}m&&u.size&&(t.debug("Missing:",{offerSelectorIds:[...u.keys()]}),u.forEach(v=>{v.reject(new Error(w(f,S,g)))}))}function c(){clearTimeout(a);let d=[...o.values()];o.clear(),d.forEach(({options:u,promises:m})=>s(u,m))}function h(){let d=i.size;i.clear(),t.debug(`Flushed ${d} cache entries`)}function l({country:d,language:u,perpetual:m=!1,promotionCode:f="",wcsOsi:g=[]}){let S=`${u}_${d}`;d!=="GB"&&(u=m?"EN":"MULT");let w=[d,u,f].filter(v=>v).join("-").toLowerCase();return g.map(v=>{let A=`${v}-${w}`;if(!i.has(A)){let R=new Promise((C,$)=>{let F=o.get(w);if(!F){let oe={country:d,locale:S,offerSelectorIds:[]};d!=="GB"&&(oe.language=u),F={options:oe,promises:new Map},o.set(w,F)}f&&(F.options.promotionCode=f),F.options.offerSelectorIds.push(v),F.promises.set(v,{resolve:C,reject:$}),F.options.offerSelectorIds.length>=e.wcsBufferLimit?c():(t.debug("Queued:",F.options),a||(a=setTimeout(c,e.wcsBufferDelay)))});i.set(A,R)}return i.get(A)})}return{WcsCommitment:Ui,WcsPlanType:Di,WcsTerm:Gi,resolveOfferSelectors:l,flushWcsCache:h}}var Bi="mas-commerce-service",jr,gs,Fr=class extends HTMLElement{constructor(){super(...arguments);M(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=L(this,jr,gs),n=Object.freeze(zi(r));pt(r.lana);let i=X.init(r.hostEnv).module("service");i.debug("Activating:",r);let o={price:{}};try{o.price=await us(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({...ls(s),...hs(s),...ps(s),...fs(s),...Hn,Log:X,get defaults(){return _},get log(){return X},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}),Te(()=>{let c=new CustomEvent(nt,{bubbles:!0,cancelable:!1,detail:this});this.dispatchEvent(c)})}connectedCallback(){this.readyPromise||(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,gs=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(Fr,"instance");window.customElements.get(Bi)||window.customElements.define(Bi,Fr);pt({sampleRate:1});export{ne as CheckoutLink,te as CheckoutWorkflow,re as CheckoutWorkflowStep,_ as Defaults,ie as InlinePrice,Me as Landscape,X as Log,Bi as TAG_NAME_SERVICE,Ui as WcsCommitment,Di as WcsPlanType,Gi as WcsTerm,Pr as applyPlanType,zi as getSettings}; + `);customElements.define("merch-icon",Tt);var fs=new CSSStyleSheet;fs.replaceSync(":host { display: contents; }");var fh=document.querySelector('meta[name="aem-base-url"]')?.content??"https://odin.adobe.com",ds="fragment",ms="author",gh="ims",ps=e=>{throw new Error(`Failed to get fragment: ${e}`)};async function xh(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=>ps(a.message));return o?.ok||ps(`${o.status} ${o.statusText}`),o.json()}var Xi,ye,Wi=class{constructor(){G(this,ye,new Map)}clear(){y(this,ye).clear()}add(...t){t.forEach(r=>{let{id:n}=r;n&&y(this,ye).set(n,r)})}has(t){return y(this,ye).has(t)}get(t){return y(this,ye).get(t)}remove(t){y(this,ye).delete(t)}};ye=new WeakMap;var Kr=new Wi,Xe,me,Le,Jt,pe,yt,fe,Zi,gs,xs,qi=class extends HTMLElement{constructor(){super();G(this,fe);p(this,"cache",Kr);G(this,Xe);G(this,me);G(this,Le);G(this,Jt,!1);G(this,pe);G(this,yt,!1);this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[fs];let r=this.getAttribute(gh);["",!0,"true"].includes(r)&&(j(this,Jt,!0),Xi||(Xi={Authorization:`Bearer ${window.adobeid?.authorize?.()}`}))}static get observedAttributes(){return[ds,ms]}attributeChangedCallback(r,n,i){r===ds&&(j(this,Le,i),this.refresh(!1)),r===ms&&j(this,yt,["","true"].includes(i))}connectedCallback(){if(!y(this,Le)){xe(this,fe,Zi).call(this,"Missing fragment id");return}}async refresh(r=!0){y(this,pe)&&!await Promise.race([y(this,pe),Promise.resolve(!1)])||(r&&Kr.remove(y(this,Le)),j(this,pe,this.fetchData().then(()=>(this.dispatchEvent(new CustomEvent(Ve,{detail:this.data,bubbles:!0,composed:!0})),!0)).catch(n=>(xe(this,fe,Zi).call(this,"Network error: failed to load fragment"),j(this,pe,null),!1))),y(this,pe))}async fetchData(){j(this,Xe,null),j(this,me,null);let r=Kr.get(y(this,Le));r||(r=await xh(fh,y(this,Le),y(this,yt),y(this,Jt)?Xi:void 0),Kr.add(r)),j(this,Xe,r)}get updateComplete(){return y(this,pe)??Promise.reject(new Error("AEM fragment cannot be loaded"))}get data(){return y(this,me)?y(this,me):(y(this,yt)?xe(this,fe,gs).call(this):xe(this,fe,xs).call(this),y(this,me))}};Xe=new WeakMap,me=new WeakMap,Le=new WeakMap,Jt=new WeakMap,pe=new WeakMap,yt=new WeakMap,fe=new WeakSet,Zi=function(r){this.classList.add("error"),this.dispatchEvent(new CustomEvent(He,{detail:r,bubbles:!0,composed:!0}))},gs=function(){let{id:r,tags:n,fields:i}=y(this,Xe);j(this,me,i.reduce((o,{name:a,multiple:s,values:c})=>(o.fields[a]=s?c:c[0],o),{id:r,tags:n,fields:{}}))},xs=function(){let{id:r,tags:n,fields:i}=y(this,Xe);j(this,me,Object.entries(i).reduce((o,[a,s])=>(o.fields[a]=s?.mimeType?s.value:s??"",o),{id:r,tags:n,fields:{}}))};customElements.define("aem-fragment",qi);var Qt=class Qt extends zr(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return Gr(Qt,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};p(Qt,"is","checkout-link"),p(Qt,"tag","a");var ne=Qt;window.customElements.get(ne.is)||window.customElements.define(ne.is,ne,{extends:ne.tag});function bs({providers:e,settings:t}){function r(o,a){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:l,country:h,language:u,promotionCode:d,quantity:m}=t,{checkoutMarketSegment:f,checkoutWorkflow:g=c,checkoutWorkflowStep:L=l,imsCountry:w,country:b=w??h,language:S=u,quantity:N=m,entitlement:R,upgrade:M,modal:$,perpetual:oe,promotionCode:We=d,wcsOsi:_e,extraOptions:qe,...J}=Object.assign({},a?.dataset??{},o??{}),ge=Se(g,te,_.checkoutWorkflow),ae=re.CHECKOUT;ge===te.V3&&(ae=Se(L,re,_.checkoutWorkflowStep));let Q=bt({...J,extraOptions:qe,checkoutClientId:s,checkoutMarketSegment:f,country:b,quantity:At(N,_.quantity),checkoutWorkflow:ge,checkoutWorkflowStep:ae,language:S,entitlement:T(R),upgrade:T(M),modal:T($),perpetual:T(oe),promotionCode:Ut(We).effectivePromoCode,wcsOsi:$r(_e)});if(a)for(let we of e.checkout)we(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:u,checkoutWorkflowStep:d,country:m,promotionCode:f,quantity:g,...L}=r(a),w=window.frameElement?"if":"fp",b={checkoutPromoCode:f,clientId:l,context:w,country:m,env:s,items:[],marketSegment:h,workflowStep:d,landscape:c,...L};if(o.length===1){let[{offerId:S,offerType:N,productArrangementCode:R}]=o,{marketSegments:[M]}=o[0];Object.assign(b,{marketSegment:M,offerType:N,productArrangementCode:R}),b.items.push(g[0]===1?{id:S}:{id:S,quantity:g[0]})}else b.items.push(...o.map(({offerId:S},N)=>({id:S,quantity:g[N]??_.quantity})));return ei(u,b)}let{createCheckoutLink:i}=ne;return{CheckoutLink:ne,CheckoutWorkflow:te,CheckoutWorkflowStep:re,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function bh({interval:e=200,maxAttempts:t=25}={}){let r=X.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 vh(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function Ah(e){let t=X.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 vs({}){let e=bh(),t=vh(e),r=Ah(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function Es(e,t){let{data:r}=t||await Promise.resolve().then(()=>Ds(As(),1));if(Array.isArray(r)){let n=o=>r.find(a=>yr(a.lang,o)),i=n(e.language)??n(_.language);if(i)return Object.freeze(i)}return{}}var Ss=["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"],Sh={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"]},er=class er extends HTMLSpanElement{constructor(){super();p(this,"masElement",new St(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:u,template:d,wcsOsi:m}=n.collectPriceOptions(r);return Dr(er,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:d,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(Ss.includes(r)||Ss.includes(a))return!0;let s=Sh[`${i}_${o}`];return s?!!(s.includes(r)||s.includes(a)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),o=Xt(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(Xt(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:u,template:d,wcsOsi:m}=n.collectPriceOptions(r);return Br(this,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:d,wcsOsi:m}),!0}};p(er,"is","inline-price"),p(er,"tag","span");var ie=er;window.customElements.get(ie.is)||window.customElements.define(ie.is,ie,{extends:ie.tag});function Ts({literals:e,providers:t,settings:r}){function n(a,s){let{country:c,displayOldPrice:l,displayPerUnit:h,displayRecurrence:u,displayTax:d,forceTaxExclusive:m,language:f,promotionCode:g,quantity:L}=r,{displayOldPrice:w=l,displayPerUnit:b=h,displayRecurrence:S=u,displayTax:N=d,forceTaxExclusive:R=m,country:M=c,language:$=f,perpetual:oe,promotionCode:We=g,quantity:_e=L,template:qe,wcsOsi:J,...ge}=Object.assign({},s?.dataset??{},a??{}),ae=bt({...ge,country:M,displayOldPrice:T(w),displayPerUnit:T(b),displayRecurrence:T(S),displayTax:T(N),forceTaxExclusive:T(R),language:$,perpetual:T(oe),promotionCode:Ut(We).effectivePromoCode,quantity:At(_e,_.quantity),template:qe,wcsOsi:$r(J)});if(s)for(let Q of t.price)Q(s,ae);return ae}function i(a,s){if(!Array.isArray(a)||!a.length||!s)return"";let{template:c}=s,l;switch(c){case"discount":l=Hi;break;case"strikethrough":l=Oi;break;case"optical":l=ki;break;case"annual":l=Ri;break;default:s.country==="AU"&&a[0].planType==="ABM"?l=s.promotionCode?Vi:Mi:l=s.promotionCode?Ni:Ii}let h=n(s);h.literals=Object.assign({},e.price,bt(s.literals??{}));let[u]=a;return u={...u,...u.priceDetails},l(h,u)}let o=ie.createInlinePrice;return{InlinePrice:ie,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:o}}function ys({settings:e}){let t=X.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,o=new Map,a;async function s(u,d,m=!0){let f=Mn;t.debug("Fetching:",u);let g="",L,w=(b,S,N)=>`${b}: ${S?.status}, url: ${N.toString()}`;try{if(u.offerSelectorIds=u.offerSelectorIds.sort(),g=new URL(e.wcsURL),g.searchParams.set("offer_selector_ids",u.offerSelectorIds.join(",")),g.searchParams.set("country",u.country),g.searchParams.set("locale",u.locale),g.searchParams.set("landscape",r===Fe.STAGE?"ALL":e.landscape),g.searchParams.set("api_key",n),u.language&&g.searchParams.set("language",u.language),u.promotionCode&&g.searchParams.set("promotion_code",u.promotionCode),u.currency&&g.searchParams.set("currency",u.currency),L=await fetch(g.toString(),{credentials:"omit"}),L.ok){let b=await L.json();t.debug("Fetched:",u,b);let S=b.resolvedOffers??[];S=S.map(wr),d.forEach(({resolve:N},R)=>{let M=S.filter(({offerSelectorIds:$})=>$.includes(R)).flat();M.length&&(d.delete(R),N(M))})}else L.status===404&&u.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(u.offerSelectorIds.map(b=>s({...u,offerSelectorIds:[b]},d,!1)))):f=vr}catch(b){f=vr,t.error(f,u,b)}m&&d.size&&(t.debug("Missing:",{offerSelectorIds:[...d.keys()]}),d.forEach(b=>{b.reject(new Error(w(f,L,g)))}))}function c(){clearTimeout(a);let u=[...o.values()];o.clear(),u.forEach(({options:d,promises:m})=>s(d,m))}function l(){let u=i.size;i.clear(),t.debug(`Flushed ${u} cache entries`)}function h({country:u,language:d,perpetual:m=!1,promotionCode:f="",wcsOsi:g=[]}){let L=`${d}_${u}`;u!=="GB"&&(d=m?"EN":"MULT");let w=[u,d,f].filter(b=>b).join("-").toLowerCase();return g.map(b=>{let S=`${b}-${w}`;if(!i.has(S)){let N=new Promise((R,M)=>{let $=o.get(w);if(!$){let oe={country:u,locale:L,offerSelectorIds:[]};u!=="GB"&&(oe.language=d),$={options:oe,promises:new Map},o.set(w,$)}f&&($.options.promotionCode=f),$.options.offerSelectorIds.push(b),$.promises.set(b,{resolve:R,reject:M}),$.options.offerSelectorIds.length>=e.wcsBufferLimit?c():(t.debug("Queued:",$.options),a||(a=setTimeout(c,e.wcsBufferDelay)))});i.set(S,N)}return i.get(S)})}return{WcsCommitment:$i,WcsPlanType:Ui,WcsTerm:Di,resolveOfferSelectors:h,flushWcsCache:l}}var Ji="mas-commerce-service",Yr,Ls,jr=class extends HTMLElement{constructor(){super(...arguments);G(this,Yr);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=y(this,Yr,Ls),n=Object.freeze(zi(r));Et(r.lana);let i=X.init(r.hostEnv).module("service");i.debug("Activating:",r);let o={price:{}};try{o.price=await Es(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({...bs(s),...vs(s),...Ts(s),...ys(s),...Fn,Log:X,get defaults(){return _},get log(){return X},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}),Te(()=>{let c=new CustomEvent(ot,{bubbles:!0,cancelable:!1,detail:this});this.dispatchEvent(c)})}connectedCallback(){this.readyPromise||(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")}};Yr=new WeakSet,Ls=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(jr,"instance");window.customElements.get(Ji)||window.customElements.define(Ji,jr);Et({sampleRate:1});export{je as CheckoutButton,ne as CheckoutLink,te as CheckoutWorkflow,re as CheckoutWorkflowStep,_ as Defaults,ie as InlinePrice,$e as Landscape,X as Log,Ji as TAG_NAME_SERVICE,$i as WcsCommitment,Ui as WcsPlanType,Di as WcsTerm,wr as applyPlanType,zi as getSettings}; /*! Bundled license information: @lit/reactive-element/css-tag.js: diff --git a/libs/deps/mas/merch-card-collection.js b/libs/deps/mas/merch-card-collection.js index 06166f3e7c..f2286383d7 100644 --- a/libs/deps/mas/merch-card-collection.js +++ b/libs/deps/mas/merch-card-collection.js @@ -1,4 +1,4 @@ -var N=Object.defineProperty;var y=(s,e,t)=>e in s?N(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var E=(s,e,t)=>(y(s,typeof e!="symbol"?e+"":e,t),t);import{html as l,LitElement as O}from"../lit-all.min.js";var f=class{constructor(e,t){this.key=Symbol("match-media-key"),this.matches=!1,this.host=e,this.host.addController(this),this.media=window.matchMedia(t),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),e.addController(this)}hostConnected(){var e;(e=this.media)==null||e.addEventListener("change",this.onChange)}hostDisconnected(){var e;(e=this.media)==null||e.removeEventListener("change",this.onChange)}onChange(e){this.matches!==e.matches&&(this.matches=e.matches,this.host.requestUpdate(this.key,!this.matches))}};var x="hashchange";function L(s=window.location.hash){let e=[],t=s.replace(/^#/,"").split("&");for(let o of t){let[n,i=""]=o.split("=");n&&e.push([n,decodeURIComponent(i.replace(/\+/g," "))])}return Object.fromEntries(e)}function d(s){let e=new URLSearchParams(window.location.hash.slice(1));Object.entries(s).forEach(([n,i])=>{i?e.set(n,i):e.delete(n)}),e.sort();let t=e.toString();if(t===window.location.hash)return;let o=window.scrollY||document.documentElement.scrollTop;window.location.hash=t,window.scrollTo(0,o)}function T(s){let e=()=>{if(window.location.hash&&!window.location.hash.includes("="))return;let t=L(window.location.hash);s(t)};return e(),window.addEventListener(x,e),()=>{window.removeEventListener(x,e)}}var g="merch-card-collection:sort",S="merch-card-collection:showmore";var A="(max-width: 1199px)",R="(min-width: 768px)",C="(min-width: 1200px)";import{css as M,unsafeCSS as w}from"../lit-all.min.js";var b=M` +var N=Object.defineProperty;var y=(s,e,t)=>e in s?N(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var E=(s,e,t)=>y(s,typeof e!="symbol"?e+"":e,t);import{html as l,LitElement as O}from"../lit-all.min.js";var f=class{constructor(e,t){this.key=Symbol("match-media-key"),this.matches=!1,this.host=e,this.host.addController(this),this.media=window.matchMedia(t),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),e.addController(this)}hostConnected(){var e;(e=this.media)==null||e.addEventListener("change",this.onChange)}hostDisconnected(){var e;(e=this.media)==null||e.removeEventListener("change",this.onChange)}onChange(e){this.matches!==e.matches&&(this.matches=e.matches,this.host.requestUpdate(this.key,!this.matches))}};var x="hashchange";function L(s=window.location.hash){let e=[],t=s.replace(/^#/,"").split("&");for(let o of t){let[n,i=""]=o.split("=");n&&e.push([n,decodeURIComponent(i.replace(/\+/g," "))])}return Object.fromEntries(e)}function d(s){let e=new URLSearchParams(window.location.hash.slice(1));Object.entries(s).forEach(([n,i])=>{i?e.set(n,i):e.delete(n)}),e.sort();let t=e.toString();if(t===window.location.hash)return;let o=window.scrollY||document.documentElement.scrollTop;window.location.hash=t,window.scrollTo(0,o)}function T(s){let e=()=>{if(window.location.hash&&!window.location.hash.includes("="))return;let t=L(window.location.hash);s(t)};return e(),window.addEventListener(x,e),()=>{window.removeEventListener(x,e)}}var g="merch-card-collection:sort",S="merch-card-collection:showmore";var A="(max-width: 1199px)",R="(min-width: 768px)",C="(min-width: 1200px)";import{css as M,unsafeCSS as w}from"../lit-all.min.js";var b=M` #header, #resultText, #footer { diff --git a/libs/deps/mas/merch-card.js b/libs/deps/mas/merch-card.js index 9ce4e7467b..b312be854e 100644 --- a/libs/deps/mas/merch-card.js +++ b/libs/deps/mas/merch-card.js @@ -1,12 +1,12 @@ -var Ne=Object.defineProperty;var Pe=(r,t,e)=>t in r?Ne(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var c=(r,t,e)=>(Pe(r,typeof t!="symbol"?t+"":t,e),e),q=(r,t,e)=>{if(!t.has(r))throw TypeError("Cannot "+e)};var j=(r,t,e)=>(q(r,t,"read from private field"),e?e.call(r):t.get(r)),T=(r,t,e)=>{if(t.has(r))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(r):t.set(r,e)},ce=(r,t,e,o)=>(q(r,t,"write to private field"),o?o.call(r,e):t.set(r,e),e);var K=(r,t,e)=>(q(r,t,"access private method"),e);import{LitElement as bt}from"../lit-all.min.js";import{LitElement as De,html as ie,css as Fe}from"../lit-all.min.js";var i=class extends De{constructor(){super(),this.size="m",this.alt=""}render(){let{href:t}=this;return t?ie` - ${this.alt} - `:ie` ${this.alt}`}};c(i,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}}),c(i,"styles",Fe` +var vo=Object.defineProperty;var ur=e=>{throw TypeError(e)};var Eo=(e,t,r)=>t in e?vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var f=(e,t,r)=>Eo(e,typeof t!="symbol"?t+"":t,r),pt=(e,t,r)=>t.has(e)||ur("Cannot "+r);var X=(e,t,r)=>(pt(e,t,"read from private field"),r?r.call(e):t.get(e)),ie=(e,t,r)=>t.has(e)?ur("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Ue=(e,t,r,n)=>(pt(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ft=(e,t,r)=>(pt(e,t,"access private method"),r);import{LitElement as Na}from"../lit-all.min.js";import{LitElement as yo,html as pr,css as So}from"../lit-all.min.js";var d=class extends yo{constructor(){super(),this.size="m",this.alt="",this.loading="lazy"}render(){let{href:t}=this;return t?pr` + ${this.alt} + `:pr` ${this.alt}`}};f(d,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0},loading:{type:String,attribute:!0}}),f(d,"styles",So` :host { --img-width: 32px; --img-height: 32px; display: block; - width: var(--img-width); - height: var(--img-height); + width: var(--mod-img-width, var(--img-width)); + height: var(--mod-img-height, var(--img-height)); } :host([size='s']) { @@ -25,23 +25,25 @@ var Ne=Object.defineProperty;var Pe=(r,t,e)=>t in r?Ne(r,t,{enumerable:!0,config } img { - width: var(--img-width); - height: var(--img-height); + width: var(--mod-img-width, var(--img-width)); + height: var(--mod-img-height, var(--img-height)); } - `);customElements.define("merch-icon",i);import{css as de,unsafeCSS as se}from"../lit-all.min.js";var b="(max-width: 767px)",N="(max-width: 1199px)",g="(min-width: 768px)",p="(min-width: 1200px)",u="(min-width: 1600px)";var he=de` + `);customElements.define("merch-icon",d);import{css as gr,unsafeCSS as fr}from"../lit-all.min.js";var V="(max-width: 767px)",Ge="(max-width: 1199px)",L="(min-width: 768px)",_="(min-width: 1200px)",N="(min-width: 1600px)";var xr=gr` :host { - --merch-card-border: 1px solid var(--spectrum-gray-200, var(--consonant-merch-card-border-color)); - position: relative; + --consonant-merch-card-background-color: #fff; + --consonant-merch-card-border: 1px solid var(--consonant-merch-card-border-color); + + -webkit-font-smoothing: antialiased; + background-color: var(--consonant-merch-card-background-color); + border-radius: var(--consonant-merch-spacing-xs); + border: var(--consonant-merch-card-border); + box-sizing: border-box; display: flex; flex-direction: column; - text-align: start; - background-color: var(--merch-card-background-color); - grid-template-columns: repeat(auto-fit, minmax(300px, max-content)); - background-color: var(--merch-card-background-color); font-family: var(--merch-body-font-family, 'Adobe Clean'); - border-radius: var(--consonant-merch-spacing-xs); - border: var(--merch-card-border); - box-sizing: border-box; + grid-template-columns: repeat(auto-fit, minmax(300px, max-content)); + position: relative; + text-align: start; } :host(.placeholder) { @@ -50,7 +52,6 @@ var Ne=Object.defineProperty;var Pe=(r,t,e)=>t in r?Ne(r,t,{enumerable:!0,config :host([aria-selected]) { outline: none; - box-sizing: border-box; box-shadow: inset 0 0 0 2px var(--color-accent); } @@ -245,9 +246,13 @@ var Ne=Object.defineProperty;var Pe=(r,t,e)=>t in r?Ne(r,t,{enumerable:!0,config display: flex; gap: 8px; } -`,le=()=>[de` + + ::slotted([slot='price']) { + color: var(--consonant-merch-card-price-color); + } +`,br=()=>[gr` /* Tablet */ - @media screen and ${se(g)} { + @media screen and ${fr(L)} { :host([size='wide']), :host([size='super-wide']) { width: 100%; @@ -256,11 +261,11 @@ var Ne=Object.defineProperty;var Pe=(r,t,e)=>t in r?Ne(r,t,{enumerable:!0,config } /* Laptop */ - @media screen and ${se(p)} { + @media screen and ${fr(_)} { :host([size='wide']) { grid-column: span 2; } - `];import{html as P}from"../lit-all.min.js";var w,R=class R{constructor(t){c(this,"card");T(this,w,void 0);this.card=t,this.insertVariantStyle()}getContainer(){return ce(this,w,j(this,w)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),j(this,w)}insertVariantStyle(){if(!R.styleMap[this.card.variant]){R.styleMap[this.card.variant]=!0;let t=document.createElement("style");t.innerHTML=this.getGlobalCSS(),document.head.appendChild(t)}}updateCardElementMinHeight(t,e){if(!t)return;let o=`--consonant-merch-card-${this.card.variant}-${e}-height`,a=Math.max(0,parseInt(window.getComputedStyle(t).height)||0),n=parseInt(this.getContainer().style.getPropertyValue(o))||0;a>n&&this.getContainer().style.setProperty(o,`${a}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;`),P` + `];import{html as ze}from"../lit-all.min.js";var ae,ye=class ye{constructor(t){f(this,"card");ie(this,ae);this.card=t,this.insertVariantStyle()}getContainer(){return Ue(this,ae,X(this,ae)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),X(this,ae)}insertVariantStyle(){if(!ye.styleMap[this.card.variant]){ye.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;`),ze`
t in r?Ne(r,t,{enumerable:!0,config > ${this.card.badgeText}
- `}get cardImage(){return P`
+ `}get cardImage(){return ze`
${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 stripStyle(){if(this.card.backgroundImage){let t=new Image;return 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")},` - background: url("${this.card.backgroundImage}"); - background-size: auto 100%; - background-repeat: no-repeat; - background-position: ${this.card.dir==="ltr"?"left":"right"}; - `}return""}get secureLabelFooter(){let t=this.card.secureLabel?P``}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?ze`${this.card.secureLabel}`:"";return P`
${t}
`}async adjustTitleWidth(){let t=this.card.getBoundingClientRect().width,e=this.card.badgeElement?.getBoundingClientRect().width||0;t===0||e===0||this.card.style.setProperty("--consonant-merch-card-heading-xs-max-width",`${Math.round(t-e-16)}px`)}postCardUpdateHook(){}connectedCallbackHook(){}disconnectedCallbackHook(){}renderLayout(){}get aemFragmentMapping(){}};w=new WeakMap,c(R,"styleMap",{});var m=R;import{html as Q,css as He}from"../lit-all.min.js";function f(r,t={},e=""){let o=document.createElement(r);e instanceof HTMLElement?o.appendChild(e):o.innerHTML=e;for(let[a,n]of Object.entries(t))o.setAttribute(a,n);return o}function D(){return window.matchMedia("(max-width: 767px)").matches}function me(){return window.matchMedia("(max-width: 1024px)").matches}var pe="merch-offer-select:ready",ge="merch-card:ready",ue="merch-card:action-menu-toggle";var Y="merch-storage:change",W="merch-quantity-selector:change";var F="aem:load",H="aem:error",xe="mas:ready",fe="mas:error";var ve=` + >`:"";return ze`
${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(){}};ae=new WeakMap,f(ye,"styleMap",{});var A=ye;import{html as Et,css as wo}from"../lit-all.min.js";function z(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 Fe(){return window.matchMedia("(max-width: 767px)").matches}function vr(){return window.matchMedia("(max-width: 1024px)").matches}var gt="wcms:commerce:ready";var Er="merch-offer-select:ready",yr="merch-card:ready",Sr="merch-card:action-menu-toggle";var xt="merch-storage:change",bt="merch-quantity-selector:change";var $e="aem:load",Ve="aem:error",wr="mas:ready",Ar="mas:error",Tr="placeholder-failed",_r="placeholder-pending",Lr="placeholder-resolved";var Cr="mas:failed",Pr="mas:pending",Nr="mas:resolved",Rr="mas/commerce";var j="failed",Y="pending",W="resolved",vt={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Or=` :root { --consonant-merch-card-catalog-width: 276px; --consonant-merch-card-catalog-icon-size: 40px; @@ -292,7 +292,7 @@ var Ne=Object.defineProperty;var Pe=(r,t,e)=>t in r?Ne(r,t,{enumerable:!0,config grid-template-columns: var(--consonant-merch-card-catalog-width); } -@media screen and ${g} { +@media screen and ${L} { :root { --consonant-merch-card-catalog-width: 302px; } @@ -304,7 +304,7 @@ var Ne=Object.defineProperty;var Pe=(r,t,e)=>t in r?Ne(r,t,{enumerable:!0,config } } -@media screen and ${p} { +@media screen and ${_} { :root { --consonant-merch-card-catalog-width: 276px; } @@ -315,7 +315,7 @@ var Ne=Object.defineProperty;var Pe=(r,t,e)=>t in r?Ne(r,t,{enumerable:!0,config } } -@media screen and ${u} { +@media screen and ${N} { .four-merch-cards.catalog { grid-template-columns: repeat(4, var(--consonant-merch-card-catalog-width)); } @@ -357,7 +357,7 @@ merch-card[variant="catalog"] [slot="action-menu-content"] p { } merch-card[variant="catalog"] [slot="action-menu-content"] a { - color: var(--merch-card-background-color); + color: var(--consonant-merch-card-background-color); text-decoration: underline; } @@ -366,12 +366,12 @@ merch-card[variant="catalog"] .payment-details { font-style: italic; font-weight: 400; line-height: var(--consonant-merch-card-body-line-height); -}`;var Be={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"]},E=class extends m{constructor(e){super(e);c(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(ue,{bubbles:!0,composed:!0,detail:{card:this.card.name,type:"action-menu"}}))});c(this,"toggleActionMenu",e=>{let o=this.card.shadowRoot.querySelector('slot[name="action-menu-content"]');!o||!e||e.type!=="click"&&e.code!=="Space"&&e.code!=="Enter"||(e.preventDefault(),o.classList.toggle("hidden"),o.classList.contains("hidden")||this.dispatchActionMenuToggle())});c(this,"toggleActionMenuFromCard",e=>{let o=e?.type==="mouseleave"?!0:void 0,a=this.card.shadowRoot,n=a.querySelector(".action-menu");this.card.blur(),n?.classList.remove("always-visible");let l=a.querySelector('slot[name="action-menu-content"]');l&&(o||this.dispatchActionMenuToggle(),l.classList.toggle("hidden",o))});c(this,"hideActionMenu",e=>{this.card.shadowRoot.querySelector('slot[name="action-menu-content"]')?.classList.add("hidden")});c(this,"focusEventHandler",e=>{let o=this.card.shadowRoot.querySelector(".action-menu");o&&(o.classList.add("always-visible"),(e.relatedTarget?.nodeName==="MERCH-CARD-COLLECTION"||e.relatedTarget?.nodeName==="MERCH-CARD"&&e.target.nodeName!=="MERCH-ICON")&&o.classList.remove("always-visible"))})}get aemFragmentMapping(){return Be}renderLayout(){return Q`
+}`;var yt={size:["wide","super-wide"],title:{tag:"h3",slot:"heading-xs"},badge:!0,prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"m"},allowedSizes:["wide","super-wide"]},se=class extends A{constructor(r){super(r);f(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(Sr,{bubbles:!0,composed:!0,detail:{card:this.card.name,type:"action-menu"}}))});f(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())});f(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))});f(this,"hideActionMenu",r=>{this.card.shadowRoot.querySelector('slot[name="action-menu-content"]')?.classList.add("hidden")});f(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 yt}renderLayout(){return Et`
${this.badge}
- ${this.promoBottom?"":Q``} - ${this.promoBottom?Q``:""}
${this.secureLabelFooter} - `}getGlobalCSS(){return ve}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)}};c(E,"variantStyle",He` + `}getGlobalCSS(){return Or}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)}};f(se,"variantStyle",wo` :host([variant='catalog']) { min-height: 330px; width: var(--consonant-merch-card-catalog-width); @@ -414,7 +414,7 @@ merch-card[variant="catalog"] .payment-details { margin-left: var(--consonant-merch-spacing-xxs); box-sizing: border-box; } - `);import{html as M}from"../lit-all.min.js";var be=` + `);import{html as Se}from"../lit-all.min.js";var Hr=` :root { --consonant-merch-card-image-width: 300px; } @@ -426,7 +426,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${g} { +@media screen and ${L} { .two-merch-cards.image, .three-merch-cards.image, .four-merch-cards.image { @@ -434,7 +434,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${p} { +@media screen and ${_} { :root { --consonant-merch-card-image-width: 378px; } @@ -445,29 +445,29 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${u} { +@media screen and ${N} { .four-merch-cards.image { grid-template-columns: repeat(4, var(--consonant-merch-card-image-width)); } } -`;var B=class extends m{constructor(t){super(t)}getGlobalCSS(){return be}renderLayout(){return M`${this.cardImage} +`;var je=class extends A{constructor(t){super(t)}getGlobalCSS(){return Hr}renderLayout(){return Se`${this.cardImage}
- ${this.promoBottom?M``:M``} + ${this.promoBottom?Se``:Se``}
- ${this.evergreen?M` + ${this.evergreen?Se`
- `:M` + `:Se`
${this.secureLabelFooter} - `}`}};import{html as we}from"../lit-all.min.js";var ye=` + `}`}};import{html as Ir}from"../lit-all.min.js";var Mr=` :root { --consonant-merch-card-inline-heading-width: 300px; } @@ -479,7 +479,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-inline-heading-width); } -@media screen and ${g} { +@media screen and ${L} { .two-merch-cards.inline-heading, .three-merch-cards.inline-heading, .four-merch-cards.inline-heading { @@ -487,7 +487,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${p} { +@media screen and ${_} { :root { --consonant-merch-card-inline-heading-width: 378px; } @@ -498,12 +498,12 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${u} { +@media screen and ${N} { .four-merch-cards.inline-heading { grid-template-columns: repeat(4, var(--consonant-merch-card-inline-heading-width)); } } -`;var I=class extends m{constructor(t){super(t)}getGlobalCSS(){return ye}renderLayout(){return we` ${this.badge} +`;var Ye=class extends A{constructor(t){super(t)}getGlobalCSS(){return Mr}renderLayout(){return Ir` ${this.badge}
@@ -511,7 +511,7 @@ merch-card[variant="catalog"] .payment-details {
- ${this.card.customHr?"":we`
`} ${this.secureLabelFooter}`}};import{html as G,css as Ie,unsafeCSS as Se}from"../lit-all.min.js";var Ee=` + ${this.card.customHr?"":Ir`
`} ${this.secureLabelFooter}`}};import{html as We,css as Ao,unsafeCSS as kr}from"../lit-all.min.js";var Br=` :root { --consonant-merch-card-mini-compare-chart-icon-size: 32px; --consonant-merch-card-mini-compare-mobile-cta-font-size: 15px; @@ -618,7 +618,7 @@ merch-card[variant="catalog"] .payment-details { } /* mini compare mobile */ -@media screen and ${b} { +@media screen and ${V} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -656,7 +656,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${N} { +@media screen and ${Ge} { .three-merch-cards.mini-compare-chart merch-card [slot="footer"] a, .four-merch-cards.mini-compare-chart merch-card [slot="footer"] a { flex: 1; @@ -687,7 +687,7 @@ merch-card[variant="catalog"] .payment-details { line-height: var(--consonant-merch-card-body-xs-line-height); } } -@media screen and ${g} { +@media screen and ${L} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -705,7 +705,7 @@ merch-card[variant="catalog"] .payment-details { } /* desktop */ -@media screen and ${p} { +@media screen and ${_} { :root { --consonant-merch-card-mini-compare-chart-width: 378px; --consonant-merch-card-mini-compare-chart-wide-width: 484px; @@ -726,7 +726,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${u} { +@media screen and ${N} { .four-merch-cards.mini-compare-chart { grid-template-columns: repeat(4, var(--consonant-merch-card-mini-compare-chart-width)); } @@ -763,11 +763,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 Ge=32,S=class extends m{constructor(e){super(e);c(this,"getRowMinHeightPropertyName",e=>`--consonant-merch-card-footer-row-${e}-min-height`);c(this,"getMiniCompareFooter",()=>{let e=this.card.secureLabel?G` +`;var To=32,ce=class extends A{constructor(r){super(r);f(this,"getRowMinHeightPropertyName",r=>`--consonant-merch-card-footer-row-${r}-min-height`);f(this,"getMiniCompareFooter",()=>{let r=this.card.secureLabel?We` ${this.card.secureLabel}`:G``;return G`
${e}
`})}getGlobalCSS(){return Ee}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section"),["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"].forEach(a=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${a}"]`),a)),this.updateCardElementMinHeight(this.card.shadowRoot.querySelector("footer"),"footer");let o=this.card.shadowRoot.querySelector(".mini-compare-chart-badge");o&&o.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"]')?.children].forEach((o,a)=>{let n=Math.max(Ge,parseFloat(window.getComputedStyle(o).height)||0),l=parseFloat(this.getContainer().style.getPropertyValue(this.getRowMinHeightPropertyName(a+1)))||0;n>l&&this.getContainer().style.setProperty(this.getRowMinHeightPropertyName(a+1),`${n}px`)})}removeEmptyRows(){this.card.querySelectorAll(".footer-row-cell").forEach(o=>{let a=o.querySelector(".footer-row-cell-description");a&&!a.textContent.trim()&&o.remove()})}renderLayout(){return G`
+ >`:We``;return We`
${r}
`})}getGlobalCSS(){return Br}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section"),["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"].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"]')?.children].forEach((n,o)=>{let i=Math.max(To,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 We`
${this.badge}
@@ -779,7 +779,7 @@ merch-card .footer-row-cell:nth-child(8) { ${this.getMiniCompareFooter()} - `}async postCardUpdateHook(){D()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(e=>e.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};c(S,"variantStyle",Ie` + `}async postCardUpdateHook(){Fe()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};f(ce,"variantStyle",Ao` :host([variant='mini-compare-chart']) > slot:not([name='icons']) { display: block; } @@ -795,7 +795,7 @@ merch-card .footer-row-cell:nth-child(8) { height: var(--consonant-merch-card-mini-compare-chart-top-section-height); } - @media screen and ${Se(N)} { + @media screen and ${kr(Ge)} { [class*'-merch-cards'] :host([variant='mini-compare-chart']) footer { flex-direction: column; align-items: stretch; @@ -803,7 +803,7 @@ merch-card .footer-row-cell:nth-child(8) { } } - @media screen and ${Se(p)} { + @media screen and ${kr(_)} { :host([variant='mini-compare-chart']) footer { padding: var(--consonant-merch-spacing-xs) var(--consonant-merch-spacing-s) @@ -851,7 +851,7 @@ merch-card .footer-row-cell:nth-child(8) { --consonant-merch-card-mini-compare-chart-callout-content-height ); } - `);import{html as U,css as Ue}from"../lit-all.min.js";var ke=` + `);import{html as qe,css as _o}from"../lit-all.min.js";var Dr=` :root { --consonant-merch-card-plans-width: 300px; --consonant-merch-card-plans-icon-size: 40px; @@ -877,7 +877,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${g} { +@media screen and ${L} { :root { --consonant-merch-card-plans-width: 302px; } @@ -889,7 +889,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${p} { +@media screen and ${_} { :root { --consonant-merch-card-plans-width: 276px; } @@ -900,28 +900,28 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Large desktop */ - @media screen and ${u} { + @media screen and ${N} { .four-merch-cards.plans { grid-template-columns: repeat(4, var(--consonant-merch-card-plans-width)); } } -`;var k=class extends m{constructor(t){super(t)}getGlobalCSS(){return ke}postCardUpdateHook(){this.adjustTitleWidth()}get stockCheckbox(){return this.card.checkboxLabel?U``:""}renderLayout(){return qe` ${this.badge}
- ${this.promoBottom?"":U` `} + ${this.promoBottom?"":qe` `} - ${this.promoBottom?U` `:""} + ${this.promoBottom?qe` `:""} ${this.stockCheckbox}
- ${this.secureLabelFooter}`}};c(k,"variantStyle",Ue` + ${this.secureLabelFooter}`}};f(le,"variantStyle",_o` :host([variant='plans']) { min-height: 348px; } @@ -929,7 +929,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 Z,css as Ve}from"../lit-all.min.js";var Ae=` + `);import{html as St,css as Lo}from"../lit-all.min.js";var Ur=` :root { --consonant-merch-card-product-width: 300px; } @@ -943,7 +943,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${g} { +@media screen and ${L} { .two-merch-cards.product, .three-merch-cards.product, .four-merch-cards.product { @@ -952,7 +952,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${p} { +@media screen and ${_} { :root { --consonant-merch-card-product-width: 378px; } @@ -964,23 +964,23 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Large desktop */ -@media screen and ${u} { +@media screen and ${N} { .four-merch-cards.product { grid-template-columns: repeat(4, var(--consonant-merch-card-product-width)); } } -`;var y=class extends m{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Ae}adjustProductBodySlots(){if(this.card.getBoundingClientRect().width===0)return;["heading-xs","body-xxs","body-xs","promo-text","callout-content","body-lower"].forEach(e=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${e}"]`),e))}renderLayout(){return Z` ${this.badge} +`;var K=class extends A{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Ur}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 St` ${this.badge}
- ${this.promoBottom?"":Z``} + ${this.promoBottom?"":St``} - ${this.promoBottom?Z``:""} + ${this.promoBottom?St``:""}
- ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(D()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};c(y,"variantStyle",Ve` + ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(Fe()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};f(K,"variantStyle",Lo` :host([variant='product']) > slot:not([name='icons']) { display: block; } @@ -1008,7 +1008,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 J,css as qe}from"../lit-all.min.js";var Ce=` + `);import{html as wt,css as Co}from"../lit-all.min.js";var Gr=` :root { --consonant-merch-card-segment-width: 378px; } @@ -1022,13 +1022,13 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Mobile */ -@media screen and ${b} { +@media screen and ${V} { :root { --consonant-merch-card-segment-width: 276px; } } -@media screen and ${g} { +@media screen and ${L} { :root { --consonant-merch-card-segment-width: 276px; } @@ -1041,7 +1041,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${p} { +@media screen and ${_} { :root { --consonant-merch-card-segment-width: 302px; } @@ -1054,23 +1054,23 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, minmax(276px, var(--consonant-merch-card-segment-width))); } } -`;var A=class extends m{constructor(t){super(t)}getGlobalCSS(){return Ce}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return J` ${this.badge} +`;var he=class extends A{constructor(t){super(t)}getGlobalCSS(){return Gr}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return wt` ${this.badge}
- ${this.promoBottom?"":J``} + ${this.promoBottom?"":wt``} - ${this.promoBottom?J``:""} + ${this.promoBottom?wt``:""}

- ${this.secureLabelFooter}`}};c(A,"variantStyle",qe` + ${this.secureLabelFooter}`}};f(he,"variantStyle",Co` :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 X,css as je}from"../lit-all.min.js";var _e=` + `);import{html as At,css as Po}from"../lit-all.min.js";var zr=` :root { --consonant-merch-card-special-offers-width: 378px; } @@ -1087,13 +1087,13 @@ 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 ${b} { +@media screen and ${V} { :root { --consonant-merch-card-special-offers-width: 302px; } } -@media screen and ${g} { +@media screen and ${L} { :root { --consonant-merch-card-special-offers-width: 302px; } @@ -1106,36 +1106,36 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri } /* desktop */ -@media screen and ${p} { +@media screen and ${_} { .three-merch-cards.special-offers, .four-merch-cards.special-offers { grid-template-columns: repeat(3, minmax(300px, var(--consonant-merch-card-special-offers-width))); } } -@media screen and ${u} { +@media screen and ${N} { .four-merch-cards.special-offers { grid-template-columns: repeat(4, minmax(300px, var(--consonant-merch-card-special-offers-width))); } } -`;var Ke={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"}},C=class extends m{constructor(t){super(t)}getGlobalCSS(){return _e}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return Ke}renderLayout(){return X`${this.cardImage} +`;var Tt={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"}},de=class extends A{constructor(t){super(t)}getGlobalCSS(){return zr}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return Tt}renderLayout(){return At`${this.cardImage}
- ${this.evergreen?X` + ${this.evergreen?At`
- `:X` + `:At`
${this.secureLabelFooter} `} - `}};c(C,"variantStyle",je` + `}};f(de,"variantStyle",Po` :host([variant='special-offers']) { min-height: 439px; } @@ -1147,7 +1147,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri :host([variant='special-offers'].center) { text-align: center; } - `);import{html as Ye,css as We}from"../lit-all.min.js";var Le=` + `);import{html as No,css as Ro}from"../lit-all.min.js";var Fr=` :root { --consonant-merch-card-twp-width: 268px; --consonant-merch-card-twp-mobile-width: 300px; @@ -1202,7 +1202,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${b} { +@media screen and ${V} { :root { --consonant-merch-card-twp-width: 300px; } @@ -1213,7 +1213,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${g} { +@media screen and ${L} { :root { --consonant-merch-card-twp-width: 268px; } @@ -1226,7 +1226,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${p} { +@media screen and ${_} { :root { --consonant-merch-card-twp-width: 268px; } @@ -1239,7 +1239,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${u} { +@media screen and ${N} { .one-merch-card.twp .two-merch-cards.twp { grid-template-columns: repeat(2, var(--consonant-merch-card-twp-width)); @@ -1248,7 +1248,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: repeat(3, var(--consonant-merch-card-twp-width)); } } -`;var _=class extends m{constructor(t){super(t)}getGlobalCSS(){return Le}renderLayout(){return Ye`${this.badge} +`;var me=class extends A{constructor(t){super(t)}getGlobalCSS(){return Fr}renderLayout(){return No`${this.badge}
@@ -1257,7 +1257,7 @@ merch-card[variant='twp'] merch-offer-select {
-
`}};c(_,"variantStyle",We` +
`}};f(me,"variantStyle",Ro` :host([variant='twp']) { padding: 4px 10px 5px 10px; } @@ -1296,255 +1296,230 @@ merch-card[variant='twp'] merch-offer-select { flex-direction: column; align-self: flex-start; } - `);import{html as Qe,css as Ze}from"../lit-all.min.js";var ze=` -:root { - --merch-card-ccd-suggested-width: 305px; - --merch-card-ccd-suggested-height: 205px; - --merch-card-ccd-suggested-background-img-size: 119px; -} - -sp-theme[color='light'] merch-card[variant="ccd-suggested"] { - background-color: var(--ccd-gray-100-light, #F8F8F8); - color: var(--ccd-gray-700-dark, #464646); - border: 1px solid var(--ccd-gray-200-light, #E6E6E6); -} + `);import{html as Oo,css as Ho}from"../lit-all.min.js";var $r=` -sp-theme[color='light'] merch-card[variant="ccd-suggested"] [slot="body-xs"] { - color: var(--ccd-gray-700-dark, #464646); -} + merch-card[variant="ccd-suggested"] [slot="heading-xs"] { + font-size: var(--consonant-merch-card-heading-xxs-font-size); + line-height: var(--consonant-merch-card-heading-xxs-line-height); + } + + merch-card[variant="ccd-suggested"] [slot="body-xs"] a { + font-size: var(--consonant-merch-card-body-xxs-font-size); + line-height: var(--consonant-merch-card-body-xxs-line-height); + } -sp-theme[color='dark'] merch-card[variant="ccd-suggested"] [slot="body-xs"] { - color: var(--ccd-gray-100-light, #F8F8F8); +.spectrum--darkest merch-card[variant="ccd-suggested"] { + --consonant-merch-card-background-color:rgb(30, 30, 30); + --consonant-merch-card-heading-xs-color:rgb(239, 239, 239); + --consonant-merch-card-body-xs-color:rgb(200, 200, 200); + --consonant-merch-card-border-color:rgb(57, 57, 57); + --consonant-merch-card-detail-s-color:rgb(162, 162, 162); + --consonant-merch-card-price-color:rgb(248, 248, 248); + --merch-color-inline-price-strikethrough:rgb(176, 176, 176); } -sp-theme[color='dark'] merch-card[variant="ccd-suggested"] { - background-color: var(--ccd-gray-800-dark, #222); - color: var(--ccd-gray-100-light, #F8F8F8); - border: 1px solid var(--ccd-gray-700-dark, #464646); +.spectrum--darkest merch-card[variant="ccd-suggested"]:hover { + --consonant-merch-card-border-color:rgb(73, 73, 73); } +`;var _t={size:[],mnemonics:{size:"l"},badge:!0,subtitle:{tag:"h4",slot:"detail-s"},title:{tag:"h3",slot:"heading-xs"},prices:{tag:"p",slot:"price"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"cta",size:"M"}},ue=class extends A{getGlobalCSS(){return $r}get aemFragmentMapping(){return _t}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 Oo`
+
+
+ + ${this.badge} +
+
+ + +
+
+ + +
+ `}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")}}};f(ue,"variantStyle",Ho` + :host([variant='ccd-suggested']) { + --consonant-merch-card-background-color: rgb(245, 245, 245); + --consonant-merch-card-body-xs-color: rgb(75, 75, 75); + --consonant-merch-card-border-color: rgb(225, 225, 225); + --consonant-merch-card-detail-s-color: rgb(110, 110, 110); + --consonant-merch-card-heading-xs-color: rgb(44, 44, 44); + --merch-color-inline-price-strikethrough: var(--spectrum-gray-600); + --mod-img-height: 38px; -merch-card[variant="ccd-suggested"] [slot="detail-s"] { - color: var(--merch-color-grey-60); -} + box-sizing: border-box; + width: 100%; + max-width: 305px; + min-width: 270px; + min-height: 205px; + border-radius: 4px; + display: flex; + flex-flow: wrap; + overflow: hidden; + } -merch-card[variant="ccd-suggested"] [slot="heading-xs"] { - color: var(--spectrum-gray-800, #F8F8F8); - font-size: var(--merch-card-heading-xxs-font-size); - line-height: var(--merch-card-heading-xxs-line-height); -} + :host([variant='ccd-slice']) * { + overflow: hidden; + } -merch-card[variant="ccd-suggested"] [slot="body-xs"] a { - font-size: var(--consonant-merch-card-body-xxs-font-size); - line-height: var(--consonant-merch-card-body-xxs-line-height); - text-decoration: underline; - color: var(--spectrum-blue-800, var(--color-accent)); -} + :host([variant='ccd-suggested']:hover) { + --consonant-merch-card-border-color: #cacaca; + } -merch-card[variant="ccd-suggested"] [slot="price"] span.placeholder-resolved[data-template="priceStrikethrough"], -merch-card[variant="ccd-suggested"] [slot="price"] span.placeholder-resolved[data-template="strikethrough"] { - text-decoration: line-through; - color: var(--ccd-gray-600-light, var(--merch-color-grey-60)); -} + :host([variant='ccd-suggested']) .body { + height: auto; + padding: 20px; + gap: 0; + } -merch-card[variant="ccd-suggested"] [slot="cta"] a { - font-size: var(--consonant-merch-card-body-xs-font-size); - line-height: normal; - text-decoration: none; - color: var(--spectrum-gray-800, var(--merch-color-grey-80)); - font-weight: 700; -} + :host([variant='ccd-suggested'].thin-strip) .body { + padding: 20px 20px 20px 28px; + } -sp-theme[color='dark'] merch-card[variant="ccd-suggested"] [slot="cta"] sp-button[treatment="outline"] { - color: var(--ccd-gray-200-light, #E6E6E6); - border: 2px solid var(--ccd-gray-200-light, #E6E6E6); -} -`;var Je={mnemonics:{size:"l"},subtitle:{tag:"h4",slot:"detail-s"},title:{tag:"h3",slot:"heading-xs"},prices:{tag:"p",slot:"price"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"cta",size:"m"}},L=class extends m{getGlobalCSS(){return ze}get aemFragmentMapping(){return Je}renderLayout(){return Qe` -
-
-
- - ${this.badge} -
-
- - -
-
- - -
- `}};c(L,"variantStyle",Ze` - :host([variant='ccd-suggested']) { - width: var(--merch-card-ccd-suggested-width); - min-width: var(--merch-card-ccd-suggested-width); - min-height: var(--merch-card-ccd-suggested-height); - border-radius: 4px; - display: flex; - flex-flow: wrap; - overflow: hidden; - } + :host([variant='ccd-suggested']) .header { + display: flex; + flex-flow: wrap; + place-self: flex-start; + flex-wrap: nowrap; + } - :host([variant='ccd-suggested']) .body { - height: auto; - padding: 20px; - gap: 0; - } + :host([variant='ccd-suggested']) .headings { + padding-inline-start: var(--consonant-merch-spacing-xxs); + display: flex; + flex-direction: column; + justify-content: space-between; + } - :host([variant='ccd-suggested'].thin-strip) .body { - padding: 20px 20px 20px 28px; - } + :host([variant='ccd-suggested']) ::slotted([slot='icons']) { + place-self: center; + } - :host([variant='ccd-suggested']) .header { - display: flex; - flex-flow: wrap; - place-self: flex-start; - flex-wrap: nowrap; - } + :host([variant='ccd-suggested']) ::slotted([slot='heading-xs']) { + font-size: var(--consonant-merch-card-heading-xxs-font-size); + line-height: var(--consonant-merch-card-heading-xxs-line-height); + } - :host([variant='ccd-suggested']) .headings { - padding-inline-start: var(--consonant-merch-spacing-xxs); - display: flex; - flex-direction: column; - gap: 2px; - } + :host([variant='ccd-suggested']) ::slotted([slot='detail-m']) { + line-height: var(--consonant-merch-card-detail-m-line-height); + } - :host([variant='ccd-suggested']) ::slotted([slot='icons']) { - place-self: center; - } + :host([variant='ccd-suggested']) ::slotted([slot='body-xs']) { + color: var(--ccd-gray-700-dark); + padding-top: 8px; + flex-grow: 1; + } - :host([variant='ccd-suggested']) ::slotted([slot='heading-xs']) { - font-size: var(--merch-card-heading-xxs-font-size); - line-height: var(--merch-card-heading-xxs-line-height); - } - - :host([variant='ccd-suggested']) ::slotted([slot='detail-m']) { - line-height: var(--consonant-merch-card-detail-m-line-height); - } + :host([variant='ccd-suggested'].wide-strip) + ::slotted([slot='body-xs']) { + padding-inline-start: 48px; + } - :host([variant='ccd-suggested']) ::slotted([slot='body-xs']) { - color: var(--ccd-gray-700-dark, #464646); - padding-top: 6px; - } - - :host([variant='ccd-suggested'].wide-strip) ::slotted([slot='body-xs']) { - padding-inline-start: 48px; - } + :host([variant='ccd-suggested'].wide-strip) ::slotted([slot='price']) { + padding-inline-start: 48px; + } - :host([variant='ccd-suggested'].wide-strip) ::slotted([slot='price']) { - padding-inline-start: 48px; - } + :host([variant='ccd-suggested']) ::slotted([slot='price']) { + font-size: var(--consonant-merch-card-body-xs-font-size); + line-height: var(--consonant-merch-card-body-xs-line-height); + min-width: fit-content; + } - :host([variant='ccd-suggested']) ::slotted([slot='price']) { - display: flex; - align-items: center; - color: var(--spectrum-gray-800, #F8F8F8); - font-size: var(--consonant-merch-card-body-xs-font-size); - line-height: var(--consonant-merch-card-body-xs-line-height); - min-width: fit-content; - } - - :host([variant='ccd-suggested']) ::slotted([slot='price']) span.placeholder-resolved[data-template="priceStrikethrough"] { - text-decoration: line-through; - } + :host([variant='ccd-suggested']) ::slotted([slot='cta']) { + display: flex; + align-items: center; + min-width: fit-content; + } - :host([variant='ccd-suggested']) ::slotted([slot='cta']) { - display: flex; - align-items: center; - min-width: fit-content; - } + :host([variant='ccd-suggested']) .footer { + display: flex; + justify-content: space-between; + flex-grow: 0; + margin-top: 6px; + align-items: center; + } - :host([variant='ccd-suggested']) .footer { - display: flex; - justify-content: space-between; - flex-grow: 0; - margin-top: auto; - align-items: center; - } + :host([variant='ccd-suggested']) div[class$='-badge'] { + position: static; + border-radius: 4px; + } - :host([variant='ccd-suggested']) div[class$='-badge'] { - position: static; - border-radius: 4px; - } + :host([variant='ccd-suggested']) .top-section { + align-items: center; + } + `);import{html as Mo,css as Io}from"../lit-all.min.js";var Vr=` - :host([variant='ccd-suggested']) .top-section { - align-items: center; - } - `);import{html as Xe,css as et}from"../lit-all.min.js";var Te=` -:root { - --consonant-merch-card-ccd-slice-single-width: 322px; - --consonant-merch-card-ccd-slice-icon-size: 30px; - --consonant-merch-card-ccd-slice-wide-width: 600px; - --consonant-merch-card-ccd-slice-single-height: 154px; - --consonant-merch-card-ccd-slice-background-img-size: 119px; -} -sp-theme[color='light'] merch-card[variant="ccd-slice"] { - background-color: var(--ccd-gray-100-light, #F8F8F8); - color: var(--ccd-gray-800-dark, #222); - border: 1px solid var(--ccd-gray-200-light, #E6E6E6) -} - -sp-theme[color='dark'] merch-card[variant="ccd-slice"] { - background-color: var(--ccd-gray-800-dark, #222); - color: var(--ccd-gray-100-light, #F8F8F8); - border: 1px solid var(--ccd-gray-700-dark, #464646); +merch-card[variant="ccd-slice"] [slot='image'] img { + overflow: hidden; + border-radius: 50%; } -merch-card[variant="ccd-slice"] [slot='body-s'] a:not(.con-button) { +merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { font-size: var(--consonant-merch-card-body-xxs-font-size); font-style: normal; font-weight: 400; line-height: var(--consonant-merch-card-body-xxs-line-height); - text-decoration-line: underline; - color: var(--spectrum-gray-800, var(--merch-color-grey-80)); -} - -merch-card[variant="ccd-slice"] [slot="body-s"] span.placeholder-resolved[data-template="priceStrikethrough"], -merch-card[variant="ccd-slice"] [slot="body-s"] span.placeholder-resolved[data-template="strikethrough"] { - text-decoration: line-through; - color: var(--ccd-gray-600-light, var(--merch-color-grey-60)); } -merch-card[variant="ccd-slice"] [slot='image'] img { - overflow: hidden; - border-radius: 50%; +.spectrum--darkest merch-card[variant="ccd-slice"] { + --consonant-merch-card-background-color:rgb(29, 29, 29); + --consonant-merch-card-body-s-color:rgb(235, 235, 235); + --consonant-merch-card-border-color:rgb(48, 48, 48); + --consonant-merch-card-detail-s-color:rgb(235, 235, 235); } -`;var tt={mnemonics:{size:"m"},backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"s"},allowedSizes:["wide"]},z=class extends m{getGlobalCSS(){return Te}get aemFragmentMapping(){return tt}renderLayout(){return Xe`
+`;var Lt={size:["wide"],mnemonics:{size:"m"},badge:!0,backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"S"},allowedSizes:["wide"]},pe=class extends A{getGlobalCSS(){return Vr}get aemFragmentMapping(){return Lt}renderLayout(){return Mo`
- - ${this.badge} -
+ + ${this.badge} +
- `}};c(z,"variantStyle",et` + `}};f(pe,"variantStyle",Io` :host([variant='ccd-slice']) { + --consonant-merch-card-background-color: rgb(248, 248, 248); + --consonant-merch-card-border-color: rgb(230, 230, 230); + --consonant-merch-card-body-s-color: rgb(34, 34, 34); + --merch-color-inline-price-strikethrough: var(--spectrum-gray-600); + --mod-img-height: 29px; + + box-sizing: border-box; min-width: 290px; - max-width: var(--consonant-merch-card-ccd-slice-single-width); - max-height: var(--consonant-merch-card-ccd-slice-single-height); - height: var(--consonant-merch-card-ccd-slice-single-height); - border: 1px solid var(--spectrum-gray-700); + max-width: 322px; + width: 100%; + max-height: 154px; + height: 154px; border-radius: 4px; display: flex; flex-flow: wrap; } + :host([variant='ccd-slice']) * { + overflow: hidden; + } + :host([variant='ccd-slice']) ::slotted([slot='body-s']) { font-size: var(--consonant-merch-card-body-xs-font-size); line-height: var(--consonant-merch-card-body-xxs-line-height); - max-width: 154px; + min-width: 154px; + max-width: 171px; + max-height: 55px; + overflow: hidden; } :host([variant='ccd-slice'][size='wide']) ::slotted([slot='body-s']) { - max-width: 425px; + max-width: 425px; } :host([variant='ccd-slice'][size='wide']) { - width: var(--consonant-merch-card-ccd-slice-wide-width); - max-width: var(--consonant-merch-card-ccd-slice-wide-width); + width: 600px; + max-width: 600px; } :host([variant='ccd-slice']) .content { @@ -1553,6 +1528,7 @@ merch-card[variant="ccd-slice"] [slot='image'] img { padding: 15px; padding-inline-end: 0; width: 154px; + min-height: 123px; flex-direction: column; justify-content: space-between; align-items: flex-start; @@ -1574,8 +1550,8 @@ merch-card[variant="ccd-slice"] [slot='image'] img { display: flex; justify-content: center; flex-shrink: 0; - width: var(--consonant-merch-card-ccd-slice-background-img-size); - height: var(--consonant-merch-card-ccd-slice-background-img-size); + width: 134px; + height: 149px; overflow: hidden; border-radius: 50%; padding: 15px; @@ -1604,7 +1580,7 @@ merch-card[variant="ccd-slice"] [slot='image'] img { align-items: center; gap: 8px; } - `);var ee=(r,t=!1)=>{switch(r.variant){case"catalog":return new E(r);case"image":return new B(r);case"inline-heading":return new I(r);case"mini-compare-chart":return new S(r);case"plans":return new k(r);case"product":return new y(r);case"segment":return new A(r);case"special-offers":return new C(r);case"twp":return new _(r);case"ccd-suggested":return new L(r);case"ccd-slice":return new z(r);default:return t?void 0:new y(r)}},Re=()=>{let r=[];return r.push(E.variantStyle),r.push(S.variantStyle),r.push(y.variantStyle),r.push(k.variantStyle),r.push(A.variantStyle),r.push(C.variantStyle),r.push(_.variantStyle),r.push(L.variantStyle),r.push(z.variantStyle),r};var Me=document.createElement("style");Me.innerHTML=` + `);var Ct=(e,t=!1)=>{switch(e.variant){case"catalog":return new se(e);case"image":return new je(e);case"inline-heading":return new Ye(e);case"mini-compare-chart":return new ce(e);case"plans":return new le(e);case"product":return new K(e);case"segment":return new he(e);case"special-offers":return new de(e);case"twp":return new me(e);case"ccd-suggested":return new ue(e);case"ccd-slice":return new pe(e);default:return t?void 0:new K(e)}},jr={catalog:yt,image:null,"inline-heading":null,"mini-compare-chart":null,plans:null,product:null,segment:null,"special-offers":Tt,twp:null,"ccd-suggested":_t,"ccd-slice":Lt},Yr=()=>{let e=[];return e.push(se.variantStyle),e.push(ce.variantStyle),e.push(K.variantStyle),e.push(le.variantStyle),e.push(he.variantStyle),e.push(de.variantStyle),e.push(me.variantStyle),e.push(ue.variantStyle),e.push(pe.variantStyle),e};var Wr=document.createElement("style");Wr.innerHTML=` :root { --consonant-merch-card-detail-font-size: 12px; --consonant-merch-card-detail-font-weight: 500; @@ -1631,8 +1607,8 @@ merch-card[variant="ccd-slice"] [slot='image'] img { --consonant-merch-card-cta-font-size: 15px; /* headings */ - --merch-card-heading-xxs-font-size: 16px; - --merch-card-heading-xxs-line-height: 20px; + --consonant-merch-card-heading-xxs-font-size: 16px; + --consonant-merch-card-heading-xxs-line-height: 20px; --consonant-merch-card-heading-xs-font-size: 18px; --consonant-merch-card-heading-xs-line-height: 22.5px; --consonant-merch-card-heading-s-font-size: 20px; @@ -1645,8 +1621,8 @@ merch-card[variant="ccd-slice"] [slot='image'] img { --consonant-merch-card-heading-xl-line-height: 45px; /* detail */ - --merch-card-detail-s-font-size: 11px; - --merch-card-detail-s-line-height: 14px; + --consonant-merch-card-detail-s-font-size: 11px; + --consonant-merch-card-detail-s-line-height: 14px; --consonant-merch-card-detail-m-font-size: 12px; --consonant-merch-card-detail-m-line-height: 15px; --consonant-merch-card-detail-m-font-weight: 700; @@ -1671,28 +1647,31 @@ merch-card[variant="ccd-slice"] [slot='image'] img { --consonant-merch-card-heading-padding: 0; /* colors */ - --merch-card-background-color: var(--spectrum-gray-background-color-default, #fff); + --consonant-merch-card-background-color: inherit; --consonant-merch-card-border-color: #eaeaea; --color-accent: rgb(59, 99, 251); --merch-color-focus-ring: #1473E6; --merch-color-grey-10: #f6f6f6; - --merch-color-grey-60: #6D6D6D; + --merch-color-grey-60: var(--specturm-gray-600); --merch-color-grey-80: #2c2c2c; --merch-color-grey-200: #E8E8E8; --merch-color-grey-600: #686868; --merch-color-green-promo: #2D9D78; + --consonant-merch-card-body-xs-color: var(--spectrum-gray-100, var(--merch-color-grey-80)); + --merch-color-inline-price-strikethrough: initial; + --consonant-merch-card-detail-s-color: var(--spectrum-gray-600, var(--merch-color-grey-600)); + --consonant-merch-card-heading-color: var(--spectrum-gray-800, var(--merch-color-grey-80)); + --consonant-merch-card-heading-xs-color: var(--consonant-merch-card-heading-color); + --consonant-merch-card-price-color: #222222; /* ccd colors */ - --ccd-gray-100-light: #F8F8F8; --ccd-gray-200-light: #E6E6E6; --ccd-gray-800-dark: #222; --ccd-gray-700-dark: #464646; --ccd-gray-600-light: #6D6D6D; - --ccd-gray-200-dark: #3F3F3F; - - - + + /* merch card generic */ --consonant-merch-card-max-width: 300px; --transition: cmax-height 0.3s linear, opacity 0.3s linear; @@ -1746,6 +1725,11 @@ merch-card-collection > div[slot] p { padding: var(--spacing-m); } +merch-card[variant="ccd-suggested"] *, +merch-card[variant="ccd-slice"] * { + box-sizing: border-box; +} + merch-card.background-opacity-70 { background-color: rgba(255 255 255 / 70%); } @@ -1764,18 +1748,15 @@ merch-card span[is='inline-price'] { display: inline-block; } -merch-card sp-button a[is='checkout-link'] { - pointer-events: auto; -} - merch-card [slot^='heading-'] { - color: var(--spectrum-gray-800, var(--merch-color-grey-80)); + color: var(--consonant-merch-card-heading-color); font-weight: 700; } merch-card [slot='heading-xs'] { font-size: var(--consonant-merch-card-heading-xs-font-size); line-height: var(--consonant-merch-card-heading-xs-line-height); + color: var(--consonant-merch-card-heading-xs-color); margin: 0; } @@ -1872,12 +1853,12 @@ merch-card [slot='callout-content'] img { } merch-card [slot='detail-s'] { - font-size: var(--merch-card-detail-s-font-size); - line-height: var(--merch-card-detail-s-line-height); + font-size: var(--consonant-merch-card-detail-s-font-size); + line-height: var(--consonant-merch-card-detail-s-line-height); letter-spacing: 0.66px; font-weight: 700; text-transform: uppercase; - color: var(--spectrum-gray-600, var(--merch-color-grey-600)); + color: var(--consonant-merch-card-detail-s-color); } merch-card [slot='detail-m'] { @@ -1898,10 +1879,31 @@ merch-card [slot="body-xxs"] { color: var(--merch-color-grey-80); } +merch-card [slot="body-s"] { + color: var(--consonant-merch-card-body-s-color); +} + +merch-card button.spectrum-Button > a { + color: inherit; + text-decoration: none; +} + +merch-card button.spectrum-Button > a:hover { + color: inherit; +} + +merch-card button.spectrum-Button > a:active { + color: inherit; +} + +merch-card button.spectrum-Button > a:focus { + color: inherit; +} + merch-card [slot="body-xs"] { font-size: var(--consonant-merch-card-body-xs-font-size); line-height: var(--consonant-merch-card-body-xs-line-height); - color: var(--merch-color-grey-80); + color: var(--consonant-merch-card-body-xs-color); } merch-card [slot="body-m"] { @@ -1922,10 +1924,6 @@ merch-card [slot="body-xl"] { color: var(--merch-color-grey-80); } -merch-card a.primary-link { - color: var(--spectrum-global-color-blue-700); -} - merch-card [slot="cci-footer"] p, merch-card [slot="cct-footer"] p, merch-card [slot="cce-footer"] p { @@ -1966,31 +1964,18 @@ merch-card div[slot='bg-image'] img { border-top-right-radius: 16px; } -merch-card span[is="inline-price"][data-template='strikethrough'] { - text-decoration: line-through; -} - .price-unit-type:not(.disabled)::before, .price-tax-inclusivity:not(.disabled)::before { content: "\\00a0"; } -merch-card sp-button a, -merch-card sp-button a:hover { - text-decoration: none; - color: var( - --highcontrast-button-content-color-default, - var( - --mod-button-content-color-default, - var(--spectrum-button-content-color-default) - ) - ); -} - +merch-card span.placeholder-resolved[data-template='priceStrikethrough'], merch-card span.placeholder-resolved[data-template='strikethrough'], merch-card span.price.price-strikethrough { font-size: var(--consonant-merch-card-body-xs-font-size); font-weight: normal; + text-decoration: line-through; + color: var(--merch-color-inline-price-strikethrough); } /* merch-offer-select */ @@ -2008,4 +1993,7 @@ body.merch-modal { scrollbar-gutter: stable; height: 100vh; } -`;document.head.appendChild(Me);var rt="#000000",ot="#F8D904",at=/(accent|primary|secondary)(-(outline|link))?/,nt="mas:product_code/",ct="daa-ll",V="daa-lh";function it(r,t,e){r.mnemonicIcon?.map((a,n)=>({icon:a,alt:r.mnemonicAlt[n]??"",link:r.mnemonicLink[n]??""}))?.forEach(({icon:a,alt:n,link:l})=>{if(l&&!/^https?:/.test(l))try{l=new URL(`https://${l}`).href.toString()}catch{l="#"}let x={slot:"icons",src:a,size:e?.size??"l"};n&&(x.alt=n),l&&(x.href=l);let v=f("merch-icon",x);t.append(v)})}function st(r,t){r.badge&&(t.setAttribute("badge-text",r.badge),t.setAttribute("badge-color",r.badgeColor||rt),t.setAttribute("badge-background-color",r.badgeBackgroundColor||ot))}function dt(r,t,e){e?.includes(r.size)&&t.setAttribute("size",r.size)}function ht(r,t,e){r.cardTitle&&e&&t.append(f(e.tag,{slot:e.slot},r.cardTitle))}function lt(r,t,e){r.subtitle&&e&&t.append(f(e.tag,{slot:e.slot},r.subtitle))}function mt(r,t,e,o){if(r.backgroundImage)switch(o){case"ccd-slice":e&&t.append(f(e.tag,{slot:e.slot},``));break;case"ccd-suggested":t.setAttribute("background-image",r.backgroundImage);break}}function pt(r,t,e){if(r.prices&&e){let o=f(e.tag,{slot:e.slot},r.prices);t.append(o)}}function gt(r,t,e){if(r.description&&e){let o=f(e.tag,{slot:e.slot},r.description);t.append(o)}}function ut(r,t,e,o){o==="ccd-suggested"&&!r.className&&(r.className="primary-link");let a=at.exec(r.className)?.[0]??"accent",n=a.includes("accent"),l=a.includes("primary"),x=a.includes("secondary"),v=a.includes("-outline");if(a.includes("-link"))return r;let oe="fill",$;n||t?$="accent":l?$="primary":x&&($="secondary"),v&&(oe="outline"),r.tabIndex=-1;let ae=f("sp-button",{treatment:oe,variant:$,tabIndex:0,size:e.ctas.size??"m"},r);return ae.addEventListener("click",ne=>{ne.target!==r&&(ne.stopPropagation(),r.click())}),ae}function xt(r,t){return r.classList.add("con-button"),t&&r.classList.add("blue"),r}function ft(r,t,e,o){if(r.ctas){let{slot:a}=e.ctas,n=f("div",{slot:a},r.ctas),l=[...n.querySelectorAll("a")].map(x=>{let v=x.parentElement.tagName==="STRONG";return t.consonant?xt(x,v):ut(x,v,e,o)});n.innerHTML="",n.append(...l),t.append(n)}}function vt(r,t){let{tags:e}=r,o=e?.find(a=>a.startsWith(nt))?.split("/").pop();o&&(t.setAttribute(V,o),t.querySelectorAll("a[data-analytics-id]").forEach((a,n)=>{a.setAttribute(ct,`${a.dataset.analyticsId}-${n+1}`)}))}async function Oe(r,t){let{fields:e}=r,{variant:o}=e;if(!o)return;t.querySelectorAll("[slot]").forEach(n=>{n.remove()}),t.removeAttribute("background-image"),t.removeAttribute("badge-background-color"),t.removeAttribute("badge-color"),t.removeAttribute("badge-text"),t.removeAttribute("size"),t.removeAttribute(V),t.variant=o,await t.updateComplete;let{aemFragmentMapping:a}=t.variantLayout;a&&(mt(e,t,a.backgroundImage,o),st(e,t),ft(e,t,a,o),gt(e,t,a.description),it(e,t,a.mnemonics),pt(e,t,a.prices),dt(e,t,a.allowedSizes),lt(e,t,a.subtitle),ht(e,t,a.title),vt(e,t))}var d="merch-card",yt=1e4,re,O,te,s=class extends bt{constructor(){super();T(this,O);c(this,"customerSegment");c(this,"marketSegment");c(this,"variantLayout");T(this,re,!1);this.filters={},this.types="",this.selected=!1,this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}firstUpdated(){this.variantLayout=ee(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(e){(e.has("variant")||!this.variantLayout)&&(this.variantLayout=ee(this),this.variantLayout.connectedCallbackHook())}updated(e){(e.has("badgeBackgroundColor")||e.has("borderColor"))&&this.style.setProperty("--merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(this)}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:e}){if(!this.stockOfferOsis)return;let o=this.checkoutLinks;if(o.length!==0)for(let a of o){await a.onceSettled();let n=a.value?.[0]?.planType;if(!n)return;let l=this.stockOfferOsis[n];if(!l)return;let x=a.dataset.wcsOsi.split(",").filter(v=>v!==l);e.checked&&x.push(l),a.dataset.wcsOsi=x.join(",")}}handleQuantitySelection(e){let o=this.checkoutLinks;for(let a of o)a.dataset.quantity=e.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(e){let o={...this.filters};Object.keys(o).forEach(a=>{if(e){o[a].order=Math.min(o[a].order||2,2);return}let n=o[a].order;n===1||isNaN(n)||(o[a].order=Number(n)+1)}),this.filters=o}includes(e){return this.textContent.match(new RegExp(e,"i"))!==null}connectedCallback(){super.connectedCallback(),this.addEventListener(W,this.handleQuantitySelection),this.addEventListener(pe,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(H,this.handleAemFragmentEvents),this.addEventListener(F,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout.disconnectedCallbackHook(),this.removeEventListener(W,this.handleQuantitySelection),this.storageOptions?.removeEventListener(Y,this.handleStorageChange),this.removeEventListener(H,this.handleAemFragmentEvents),this.removeEventListener(F,this.handleAemFragmentEvents)}async handleAemFragmentEvents(e){if(e.type===H&&K(this,O,te).call(this,"AEM fragment cannot be loaded"),e.type===F&&e.target.nodeName==="AEM-FRAGMENT"){let o=e.detail;await Oe(o,this),this.checkReady()}}async checkReady(){let e=Promise.all([...this.querySelectorAll('span[is="inline-price"][data-wcs-osi],a[is="checkout-link"][data-wcs-osi]')].map(n=>n.onceSettled().catch(()=>n))).then(n=>n.every(l=>l.classList.contains("placeholder-resolved"))),o=new Promise(n=>setTimeout(()=>n(!1),yt));if(await Promise.race([e,o])===!0){this.dispatchEvent(new CustomEvent(xe,{bubbles:!0,composed:!0}));return}K(this,O,te).call(this,"Contains unresolved offers")}get aemFragment(){return this.querySelector("aem-fragment")}get storageOptions(){return this.querySelector("sp-radio-group#storage")}get storageSpecificOfferSelect(){let e=this.storageOptions?.selected;if(e){let o=this.querySelector(`merch-offer-select[storage="${e}"]`);if(o)return o}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")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||this.dispatchEvent(new CustomEvent(ge,{bubbles:!0}))}handleStorageChange(){let e=this.closest("merch-card")?.offerSelect.cloneNode(!0);e&&this.dispatchEvent(new CustomEvent(Y,{detail:{offerSelect:e},bubbles:!0}))}get dynamicPrice(){return this.querySelector('[slot="price"]')}selectMerchOffer(e){if(e===this.merchOffer)return;this.merchOffer=e;let o=this.dynamicPrice;if(e.price&&o){let a=e.price.cloneNode(!0);o.onceSettled?o.onceSettled().then(()=>{o.replaceWith(a)}):o.replaceWith(a)}}};re=new WeakMap,O=new WeakSet,te=function(e){this.dispatchEvent(new CustomEvent(fe,{detail:e,bubbles:!0,composed:!0}))},c(s,"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"},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:e=>{let[o,a,n]=e.split(",");return{PUF:o,ABM:a,M2M:n}}}},filters:{type:String,reflect:!0,converter:{fromAttribute:e=>Object.fromEntries(e.split(",").map(o=>{let[a,n,l]=o.split(":"),x=Number(n);return[a,{order:isNaN(x)?void 0:x,size:l}]})),toAttribute:e=>Object.entries(e).map(([o,{order:a,size:n}])=>[o,a,n].filter(l=>l!=null).join(":")).join(",")}},types:{type:String,attribute:"types",reflect:!0},merchOffer:{type:Object},analyticsId:{type:String,attribute:V,reflect:!0}}),c(s,"styles",[he,Re(),...le()]);customElements.define(d,s); + +`;document.head.appendChild(Wr);var we;(function(e){e.V2="UCv2",e.V3="UCv3"})(we||(we={}));var Ae;(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"})(Ae||(Ae={}));var Pt;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(Pt||(Pt={}));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 C;(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"})(C||(C={}));var Nt;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(Nt||(Nt={}));var Rt;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(Rt||(Rt={}));var Ot;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(Ot||(Ot={}));var Ht;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(Ht||(Ht={}));var qr="tacocat.js";var Xr=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function fe(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=Te(n)?n:e;i=a.get(s)}if(o&&i==null){let a=Te(o)?o:e;i=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&i==null){let a=Bo(Te(r)?r:e);i=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return i??t[e]}var ge=()=>{};var Kr=e=>typeof e=="boolean",_e=e=>typeof e=="function",Mt=e=>typeof e=="number",Zr=e=>e!=null&&typeof e=="object";var Te=e=>typeof e=="string";var Le=e=>Mt(e)&&Number.isFinite(e)&&e>0;function I(e,t){if(Kr(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 ko=Date.now(),It=()=>`(+${Date.now()-ko}ms)`,Xe=new Set,Do=I(fe("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function Qr(e){let t=`[${qr}/${e}]`,r=(a,s,...c)=>a?!0:(o(s,...c),!1),n=Do?(a,...s)=>{console.debug(`${t} ${a}`,...s,It())}:()=>{},o=(a,...s)=>{let c=`${t} ${a}`;Xe.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:o,warn:(a,...s)=>{let c=`${t} ${a}`;Xe.forEach(([,l])=>l(c,...s))}}}function Uo(e,t){let r=[e,t];return Xe.add(r),()=>{Xe.delete(r)}}Uo((e,...t)=>{console.error(e,...t,It())},(e,...t)=>{console.warn(e,...t,It())});var Jr="ABM",en="PUF",tn="M2M",rn="PERPETUAL",nn="P3Y",Go="TAX_INCLUSIVE_DETAILS",zo="TAX_EXCLUSIVE",on={ABM:Jr,PUF:en,M2M:tn,PERPETUAL:rn,P3Y:nn},nh={[Jr]:{commitment:O.YEAR,term:C.MONTHLY},[en]:{commitment:O.YEAR,term:C.ANNUAL},[tn]:{commitment:O.MONTH,term:C.MONTHLY},[rn]:{commitment:O.PERPETUAL,term:void 0},[nn]:{commitment:O.THREE_MONTHS,term:C.P3Y}};function Bt(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:o,priceWithoutDiscountAndTax:i,taxDisplay:a}=t;if(a!==Go)return e;let s={...e,priceDetails:{...t,price:o??r,priceWithoutDiscount:i??n,taxDisplay:zo}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var kt=function(e,t){return kt=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])},kt(e,t)};function Ce(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");kt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var E=function(){return E=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(Vo,function(c,l,h,x,g,b){if(l)t.minimumIntegerDigits=h.length;else{if(x&&g)throw new Error("We currently do not support maximum integer digits");if(b)throw new Error("We currently do not support exact integer digits")}return""});continue}if(fn.test(o.stem)){t.minimumIntegerDigits=o.stem.length;continue}if(hn.test(o.stem)){if(o.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");o.stem.replace(hn,function(c,l,h,x,g,b){return h==="*"?t.minimumFractionDigits=l.length:x&&x[0]==="#"?t.maximumFractionDigits=x.length:g&&b?(t.minimumFractionDigits=g.length,t.maximumFractionDigits=g.length+b.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var i=o.options[0];i==="w"?t=E(E({},t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=E(E({},t),dn(i)));continue}if(pn.test(o.stem)){t=E(E({},t),dn(o.stem));continue}var a=gn(o.stem);a&&(t=E(E({},t),a));var s=jo(o.stem);s&&(t=E(E({},t),s))}return t}var Ne={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 bn(e,t){for(var r="",n=0;n>1),c="a",l=Yo(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 Yo(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=Ne[n||""]||Ne[r||""]||Ne["".concat(r,"-001")]||Ne["001"];return o[0]}var Gt,Wo=new RegExp("^".concat(Ut.source,"*")),qo=new RegExp("".concat(Ut.source,"*$"));function y(e,t){return{start:e,end:t}}var Xo=!!String.prototype.startsWith,Ko=!!String.fromCodePoint,Zo=!!Object.fromEntries,Qo=!!String.prototype.codePointAt,Jo=!!String.prototype.trimStart,ei=!!String.prototype.trimEnd,ti=!!Number.isSafeInteger,ri=ti?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ft=!0;try{vn=wn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ft=((Gt=vn.exec("a"))===null||Gt===void 0?void 0:Gt[0])==="a"}catch{Ft=!1}var vn,En=Xo?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},$t=Ko?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},yn=Zo?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}},ni=Jo?function(t){return t.trimStart()}:function(t){return t.replace(Wo,"")},oi=ei?function(t){return t.trimEnd()}:function(t){return t.replace(qo,"")};function wn(e,t){return new RegExp(e,t)}var Vt;Ft?(zt=wn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Vt=function(t,r){var n;zt.lastIndex=r;var o=zt.exec(t);return(n=o[1])!==null&&n!==void 0?n:""}):Vt=function(t,r){for(var n=[];;){var o=Sn(t,r);if(o===void 0||Tn(o)||si(o))break;n.push(o),r+=o>=65536?2:1}return $t.apply(void 0,n)};var zt,An=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(v.UNMATCHED_CLOSING_TAG,y(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&jt(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(v.INVALID_TAG,y(s,this.clonePosition())))}else return this.error(v.UNCLOSED_TAG,y(n,this.clonePosition()))}else return this.error(v.INVALID_TAG,y(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&ai(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||!ii(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 $t.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(),$t(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,y(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(v.EMPTY_ARGUMENT,y(n,this.clonePosition()));var o=this.parseIdentifierIfPossible().value;if(!o)return this.error(v.MALFORMED_ARGUMENT,y(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(v.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(v.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition())):this.parseArgumentOptions(t,r,o,n);default:return this.error(v.MALFORMED_ARGUMENT,y(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Vt(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(v.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(),x=this.parseSimpleArgStyleIfPossible();if(x.err)return x;var g=oi(x.val);if(g.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,y(this.clonePosition(),this.clonePosition()));var b=y(h,this.clonePosition());l={style:g,styleLocation:b}}var S=this.tryParseArgumentClose(o);if(S.err)return S;var T=y(o,this.clonePosition());if(l&&En(l?.style,"::",0)){var B=ni(l.style.slice(2));if(s==="number"){var x=this.parseNumberSkeletonFromString(B,l.styleLocation);return x.err?x:{val:{type:w.number,value:n,location:T,style:x.val},err:null}}else{if(B.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,T);var F=B;this.locale&&(F=bn(B,this.locale));var g={type:Z.dateTime,pattern:F,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?cn(F):{}},$=s==="date"?w.date:w.time;return{val:{type:$,value:n,location:T,style:g},err:null}}}return{val:{type:s==="number"?w.number:s==="date"?w.date:w.time,value:n,location:T,style:(i=l?.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var M=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS,y(M,E({},M)));this.bumpSpace();var q=this.parseIdentifierIfPossible(),U=0;if(s!=="select"&&q.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y(this.clonePosition(),this.clonePosition()));this.bumpSpace();var x=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(x.err)return x;this.bumpSpace(),q=this.parseIdentifierIfPossible(),U=x.val}var D=this.tryParsePluralOrSelectOptions(t,s,r,q);if(D.err)return D;var S=this.tryParseArgumentClose(o);if(S.err)return S;var De=y(o,this.clonePosition());return s==="select"?{val:{type:w.select,value:n,options:yn(D.val),location:De},err:null}:{val:{type:w.plural,value:n,options:yn(D.val),offset:U,pluralType:s==="plural"?"cardinal":"ordinal",location:De},err:null}}default:return this.error(v.INVALID_ARGUMENT_TYPE,y(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(v.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(v.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=un(t)}catch{return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:Z.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?xn(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 x=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var g=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(g.err)return g;h=y(x,this.clonePosition()),l=this.message.slice(x.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 b=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,y(this.clonePosition(),this.clonePosition()));var S=this.parseMessage(t+1,r,n);if(S.err)return S;var T=this.tryParseArgumentClose(b);if(T.err)return T;s.push([l,{value:S.val,location:y(b,this.clonePosition())}]),c.add(l),this.bumpSpace(),i=this.parseIdentifierIfPossible(),l=i.value,h=i.location}return s.length===0?this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR:v.EXPECT_PLURAL_ARGUMENT_SELECTOR,y(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(v.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,ri(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=Sn(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(En(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()&&Tn(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 jt(e){return e>=97&&e<=122||e>=65&&e<=90}function ii(e){return jt(e)||e===47}function ai(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 Tn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function si(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 Yt(e){e.forEach(function(t){if(delete t.location,et(t)||tt(t))for(var r in t.options)delete t.options[r].location,Yt(t.options[r].value);else Ze(t)&&nt(t.style)||(Qe(t)||Je(t))&&Pe(t.style)?delete t.style.location:rt(t)&&Yt(t.children)})}function _n(e,t){t===void 0&&(t={}),t=E({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new An(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||Yt(r.val),r.val}function Re(e,t){var r=t&&t.cache?t.cache:ui,n=t&&t.serializer?t.serializer:mi,o=t&&t.strategy?t.strategy:li;return o(e,{cache:r,serializer:n})}function ci(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ln(e,t,r,n){var o=ci(n)?n:r(n),i=t.get(o);return typeof i>"u"&&(i=e.call(this,n),t.set(o,i)),i}function Cn(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 Wt(e,t,r,n,o){return r.bind(t,e,n,o)}function li(e,t){var r=e.length===1?Ln:Cn;return Wt(e,this,r,t.cache.create(),t.serializer)}function hi(e,t){return Wt(e,this,Cn,t.cache.create(),t.serializer)}function di(e,t){return Wt(e,this,Ln,t.cache.create(),t.serializer)}var mi=function(){return JSON.stringify(arguments)};function qt(){this.cache=Object.create(null)}qt.prototype.get=function(e){return this.cache[e]};qt.prototype.set=function(e,t){this.cache[e]=t};var ui={create:function(){return new qt}},ot={variadic:hi,monadic:di};var Q;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Q||(Q={}));var Oe=function(e){Ce(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 Xt=function(e){Ce(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('", "'),'"'),Q.INVALID_VALUE,i)||this}return t}(Oe);var Pn=function(e){Ce(t,e);function t(r,n,o){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Q.INVALID_VALUE,o)||this}return t}(Oe);var Nn=function(e){Ce(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,'"'),Q.MISSING_VALUE,n)||this}return t}(Oe);var R;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(R||(R={}));function pi(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==R.literal||r.type!==R.literal?t.push(r):n.value+=r.value,t},[])}function fi(e){return typeof e=="function"}function He(e,t,r,n,o,i,a){if(e.length===1&&Dt(e[0]))return[{type:R.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=_n,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 On=Rn;var vi=/[0-9\-+#]/,Ei=/[^\d\-+#]/g;function Hn(e){return e.search(vi)}function yi(e="#.##"){let t={},r=e.length,n=Hn(e);t.prefix=n>0?e.substring(0,n):"";let o=Hn(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,wi(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 wi(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.lengthMath.round(e*20)/20},Zt=(e,t)=>({accept:e,round:t}),Ci=[Zt(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Zt(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.ceil(Math.floor(t*1e4/e)/100)/100),Zt(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Qt={[O.YEAR]:{[C.MONTHLY]:Me.MONTH,[C.ANNUAL]:Me.YEAR},[O.MONTH]:{[C.MONTHLY]:Me.MONTH}},Pi=(e,t)=>e.indexOf(`'${t}'`)===0,Ni=(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)?/,"$&"+Oi(e)),r},Ri=e=>{let t=Hi(e),r=Pi(e,t),n=e.replace(/'.*?'/,""),o=kn.test(n)||Dn.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:o}},Un=e=>e.replace(kn,Bn).replace(Dn,Bn),Oi=e=>e.match(/#(.?)#/)?.[1]===In?Ti:In,Hi=e=>e.match(/'(.*?)'/)?.[1]??"",Gn=e=>e.match(/0(.?)0/)?.[1]??"";function it({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},o,i=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=Ri(e),l=r?Gn(e):"",h=Ni(e,r),x=r?2:0,g=i(t,{currencySymbol:a}),b=n?g.toLocaleString("hi-IN",{minimumFractionDigits:x,maximumFractionDigits:x}):Mn(h,g),S=r?b.lastIndexOf(l):b.length,T=b.substring(0,S),B=b.substring(S+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,b).replace(/SYMBOL/,a),currencySymbol:a,decimals:B,decimalsDelimiter:l,hasCurrencySpace:c,integer:T,isCurrencyFirst:s,recurrenceTerm:o}}var zn=e=>{let{commitment:t,term:r,usePrecision:n}=e,o=_i[r]??1;return it(e,o>1?Me.MONTH:Qt[t]?.[r],(i,{currencySymbol:a})=>{let s={divisor:o,price:i,usePrecision:n},{round:c}=Ci.find(({accept:h})=>h(s));if(!c)throw new Error(`Missing rounding rule for: ${JSON.stringify(s)}`);return(Li[a]??(h=>h))(c(s))})},Fn=({commitment:e,term:t,...r})=>it(r,Qt[e]?.[t]),$n=e=>{let{commitment:t,term:r}=e;return t===O.YEAR&&r===C.MONTHLY?it(e,Me.YEAR,n=>n*12):it(e,Qt[t]?.[r])};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=Qr("ConsonantTemplates/price"),Bi=/<\/?[^>]+(>|$)/g,P={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"},J={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},ki="TAX_EXCLUSIVE",Di=e=>Zr(e)?Object.entries(e).filter(([,t])=>Te(t)||Mt(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Xr(n)+'"'}`,""):"",H=(e,t,r,n=!1)=>`${n?Un(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},x={}){let g=H(P.currencySymbol,r),b=H(P.currencySpace,i?" ":""),S="";return s&&(S+=g+b),S+=H(P.integer,a),S+=H(P.decimalsDelimiter,o),S+=H(P.decimals,n),s||(S+=b+g),S+=H(P.recurrence,c,null,!0),S+=H(P.unitType,l,null,!0),S+=H(P.taxInclusivity,h,!0),H(e,S,{...x,"aria-label":t})}var k=({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:x,formatString:g,price:b,priceWithoutDiscount:S,taxDisplay:T,taxTerm:B,term:F,usePrecision:$}={},M={})=>{Object.entries({country:n,formatString:g,language:c,price:b}).forEach(([G,mt])=>{if(mt==null)throw new Error(`Argument "${G}" is missing for osi ${x?.toString()}, country ${n}, language ${c}`)});let q={...Mi,...l},U=`${c.toLowerCase()}-${n.toUpperCase()}`;function D(G,mt){let ut=q[G];if(ut==null)return"";try{return new On(ut.replace(Bi,""),U).format(mt)}catch{return Ii.error("Failed to format literal:",ut),""}}let De=t&&S?S:b,lr=e?zn:Fn;r&&(lr=$n);let{accessiblePrice:uo,recurrenceTerm:lt,...hr}=lr({commitment:h,formatString:g,term:F,price:e?b:De,usePrecision:$,isIndianPrice:n==="IN"}),ne=uo,ht="";if(I(i)&<){let G=D(J.recurrenceAriaLabel,{recurrenceTerm:lt});G&&(ne+=" "+G),ht=D(J.recurrenceLabel,{recurrenceTerm:lt})}let dt="";if(I(a)){dt=D(J.perUnitLabel,{perUnit:"LICENSE"});let G=D(J.perUnitAriaLabel,{perUnit:"LICENSE"});G&&(ne+=" "+G)}let ve="";I(s)&&B&&(ve=D(T===ki?J.taxExclusiveLabel:J.taxInclusiveLabel,{taxTerm:B}),ve&&(ne+=" "+ve)),t&&(ne=D(J.strikethroughAriaLabel,{strikethroughPrice:ne}));let Ee=P.container;if(e&&(Ee+=" "+P.containerOptical),t&&(Ee+=" "+P.containerStrikethrough),r&&(Ee+=" "+P.containerAnnual),I(o))return Ui(Ee,{...hr,accessibleLabel:ne,recurrenceLabel:ht,perUnitLabel:dt,taxInclusivityLabel:ve},M);let{currencySymbol:dr,decimals:po,decimalsDelimiter:fo,hasCurrencySpace:mr,integer:go,isCurrencyFirst:xo}=hr,oe=[go,fo,po];xo?(oe.unshift(mr?"\xA0":""),oe.unshift(dr)):(oe.push(mr?"\xA0":""),oe.push(dr)),oe.push(ht,dt,ve);let bo=oe.join("");return H(Ee,bo,M)},Vn=()=>(e,t,r)=>{let o=(e.displayOldPrice===void 0||I(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${k()(e,t,r)}${o?" "+k({displayStrikethrough:!0})(e,t,r):""}`},jn=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||I(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?k({displayStrikethrough:!0})(n,t,r)+" ":""}${k()(e,t,r)}${H(P.containerAnnualPrefix," (")}${k({displayAnnual:!0})(n,t,r)}${H(P.containerAnnualSuffix,")")}`},Yn=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${k()(e,t,r)}${H(P.containerAnnualPrefix," (")}${k({displayAnnual:!0})(n,t,r)}${H(P.containerAnnualSuffix,")")}`};var Gi=k(),zi=Vn(),Fi=k({displayOptical:!0}),$i=k({displayStrikethrough:!0}),Vi=k({displayAnnual:!0}),ji=Yn(),Yi=jn();var Wi=(e,t)=>{if(!(!Le(e)||!Le(t)))return Math.floor((t-e)/t*100)},Wn=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,o=Wi(r,n);return o===void 0?'':`${o}%`};var qi=Wn();var{freeze:Ie}=Object,Jt=Ie({...we}),er=Ie({...Ae}),tr={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},pm=Ie({...O}),fm=Ie({...on}),gm=Ie({...C});var Xn="mas-commerce-service";function Kn(e,{once:t=!1}={}){let r=null;function n(){let o=document.querySelector(Xn);o!==r&&(r=o,o&&e(o))}return document.addEventListener(gt,n,{once:t}),xe(n),()=>document.removeEventListener(gt,n)}function Zn(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(Bt)),o}var xe=e=>window.setTimeout(e);function ee(){return document.getElementsByTagName(Xn)?.[0]}var te={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},Qn=1e3,Jn=new Set;function Zi(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function eo(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(!te.serializableTypes.includes(r))return r}return e}function Qi(e,t){if(!te.ignoredProperties.includes(e))return eo(t)}var rr={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(eo).join(" "));let{pathname:a,search:s}=window.location,c=`${te.delimiter}page=${a}${s}`;c.length>Qn&&(c=`${c.slice(0,Qn)}`),i+=c,o.length&&(i+=`${te.delimiter}facts=`,i+=JSON.stringify(o,Qi)),Jn.has(i)||(Jn.add(i),window.lana?.log(i,te))}};function to(e){Object.assign(te,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in te&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var Ji=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:Jt.V3,checkoutWorkflowStep:er.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:tr.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:vt.PUBLISHED,wcsBufferLimit:1});var nr=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});var or={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},ea=Date.now(),ir=new Set,ar=new Set,ro=new Map,no={append({level:e,message:t,params:r,timestamp:n,source:o}){console[e](`${n}ms [${o}] %c${t}`,"font-weight: bold;",...r)}},oo={filter:({level:e})=>e!==or.DEBUG},ta={filter:()=>!1};function ra(e,t,r,n,o){return{level:e,message:t,namespace:r,get params(){return n.length===1&&_e(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:o,timestamp:Date.now()-ea}}function na(e){[...ar].every(t=>t(e))&&ir.forEach(t=>t(e))}function io(e){let t=(ro.get(e)??0)+1;ro.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:o=>io(`${n.namespace}/${o}`),updateConfig:to};return Object.values(or).forEach(o=>{n[o]=(i,...a)=>na(ra(o,i,e,a,r))}),Object.seal(n)}function at(...e){e.forEach(t=>{let{append:r,filter:n}=t;_e(n)&&ar.add(n),_e(r)&&ir.add(r)})}function oa(e={}){let{name:t}=e,r=I(fe("commerce.debug",{search:!0,storage:!0}),t===nr.LOCAL);return at(r?no:oo),t===nr.PROD&&at(rr),sr}function ia(){ir.clear(),ar.clear()}var sr={...io(Rr),Level:or,Plugins:{consoleAppender:no,debugFilter:oo,quietFilter:ta,lanaAppender:rr},init:oa,reset:ia,use:at};var aa={[j]:Tr,[Y]:_r,[W]:Lr},sa={[j]:Cr,[Y]:Pr,[W]:Nr},st=class{constructor(t){f(this,"changes",new Map);f(this,"connected",!1);f(this,"dispose",ge);f(this,"error");f(this,"log");f(this,"options");f(this,"promises",[]);f(this,"state",Y);f(this,"timer",null);f(this,"value");f(this,"version",0);f(this,"wrapperElement");this.wrapperElement=t}update(){[j,Y,W].forEach(t=>{this.wrapperElement.classList.toggle(aa[t],t===this.state)})}notify(){(this.state===W||this.state===j)&&(this.state===W?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===j&&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=Kn(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=ge}onceSettled(){let{error:t,promises:r,state:n}=this;return W===n?Promise.resolve(this.wrapperElement):j===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=W,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),xe(()=>this.notify()),!0)}toggleFailed(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.error=r,this.state=j,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),xe(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=Y,this.update(),xe(()=>this.notify()),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!ee()||this.timer)return;let r=sr.module("mas-element"),{error:n,options:o,state:i,value:a,version:s}=this;this.state=Y,this.timer=xe(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 ao(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function so(e,t={}){let{tag:r,is:n}=e,o=document.createElement(r,{is:n});return o.setAttribute("is",n),Object.assign(o.dataset,ao(t)),o}function co(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,ao(t)),e):null}var ca="download",la="upgrade";function lo(e,t={},r=""){let n=ee();if(!n)return null;let{checkoutMarketSegment:o,checkoutWorkflow:i,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:x,quantity:g,wcsOsi:b,extraOptions:S}=n.collectCheckoutOptions(t),T=so(e,{checkoutMarketSegment:o,checkoutWorkflow:i,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:x,quantity:g,wcsOsi:b,extraOptions:S});return r&&(T.innerHTML=`${r}`),T}function ho(e){return class extends e{constructor(){super(...arguments);f(this,"checkoutActionHandler");f(this,"masElement",new st(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=ee();if(!o)return!1;this.dataset.imsCountry||o.imsCountryPromise.then(x=>{x&&(this.dataset.imsCountry=x)},ge),n.imsCountry=null;let i=o.collectCheckoutOptions(n,this);if(!i.wcsOsi.length)return!1;let a;try{a=JSON.parse(i.extraOptions??"{}")}catch(x){this.masElement.log?.error("cannot parse exta checkout options",x)}let s=this.masElement.togglePending(i);this.setCheckoutUrl("");let c=o.resolveOfferSelectors(i),l=await Promise.all(c);l=l.map(x=>Zn(x,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=ee();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:x,className:g,handler:b}=a;return h&&this.setCheckoutUrl(h),x&&(this.firstElementChild.innerHTML=x),g&&this.classList.add(...g.split(" ")),b&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=b.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=ee();if(!o)return!1;let{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:x,promotionCode:g,quantity:b,wcsOsi:S}=o.collectCheckoutOptions(n);return co(this,{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:x,promotionCode:g,quantity:b,wcsOsi:S}),!0}}}var re,Be=class Be extends ho(HTMLButtonElement){constructor(){super(...arguments);ie(this,re)}static createCheckoutButton(r={},n=""){return lo(Be,r,n)}setCheckoutUrl(r){Ue(this,re,r)}get href(){return X(this,re)}get isCheckoutButton(){return!0}clickHandler(r){if(this.checkoutActionHandler){this.checkoutActionHandler?.(r);return}X(this,re)&&(window.location.href=X(this,re))}};re=new WeakMap,f(Be,"is","checkout-button"),f(Be,"tag","button");var be=Be;window.customElements.get(be.is)||window.customElements.define(be.is,be,{extends:be.tag});var ha="#000000",da="#F8D904",ma=/(accent|primary|secondary)(-(outline|link))?/,ua="mas:product_code/",pa="daa-ll",ct="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,loading:t.loading,size:r?.size??"l"};i&&(s.alt=i),a&&(s.href=a);let c=z("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||da))}function ba(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function va(e,t,r){e.cardTitle&&r&&t.append(z(r.tag,{slot:r.slot},e.cardTitle))}function Ea(e,t,r){e.subtitle&&r&&t.append(z(r.tag,{slot:r.slot},e.subtitle))}function ya(e,t,r,n){if(e.backgroundImage)switch(n){case"ccd-slice":r&&t.append(z(r.tag,{slot:r.slot},``));break;case"ccd-suggested":t.setAttribute("background-image",e.backgroundImage);break}}function Sa(e,t,r){if(e.prices&&r){let n=z(r.tag,{slot:r.slot},e.prices);t.append(n)}}function wa(e,t,r){if(e.description&&r){let n=z(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=z("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=z("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=ma.exec(s.className)?.[0]??"accent",h=l.includes("accent"),x=l.includes("primary"),g=l.includes("secondary"),b=l.includes("-outline");if(l.includes("-link"))return s;let T;return h||c?T="accent":x?T="primary":g&&(T="secondary"),t.spectrum==="swc"?Ta(s,r,b,T):Aa(s,r,b,T)});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(ct,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 mo(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;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(ct),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),Ea(r,t,o.subtitle),Sa(r,t,o.prices),ya(r,t,o.backgroundImage,n),wa(r,t,o.description),La(r,t,o,n),Ca(r,t),Pa(t))}var u="merch-card",Ra=1e4,ke,cr,m=class extends Na{constructor(){super();ie(this,ke);f(this,"customerSegment");f(this,"marketSegment");f(this,"variantLayout");this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.loading="lazy",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}static getFragmentMapping(r){return jr[r]}firstUpdated(){this.variantLayout=Ct(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=Ct(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(),this.addEventListener(bt,this.handleQuantitySelection),this.addEventListener(Er,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(Ve,this.handleAemFragmentEvents),this.addEventListener($e,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(bt,this.handleQuantitySelection),this.storageOptions?.removeEventListener(xt,this.handleStorageChange),this.removeEventListener(Ve,this.handleAemFragmentEvents),this.removeEventListener($e,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===Ve&&ft(this,ke,cr).call(this,"AEM fragment cannot be loaded"),r.type===$e&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await mo(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),Ra));if(await Promise.race([r,n])===!0){this.dispatchEvent(new CustomEvent(wr,{bubbles:!0,composed:!0}));return}ft(this,ke,cr).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")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||this.dispatchEvent(new CustomEvent(yr,{bubbles:!0}))}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(xt,{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)}}};ke=new WeakSet,cr=function(r){this.dispatchEvent(new CustomEvent(Ar,{detail:r,bubbles:!0,composed:!0}))},f(m,"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:ct,reflect:!0},loading:{type:String}}),f(m,"styles",[xr,Yr(),...br()]);customElements.define(u,m); diff --git a/libs/deps/mas/merch-icon.js b/libs/deps/mas/merch-icon.js index a6183f082b..fd4604334c 100644 --- a/libs/deps/mas/merch-icon.js +++ b/libs/deps/mas/merch-icon.js @@ -1,12 +1,12 @@ -var g=Object.defineProperty;var a=(i,t,s)=>t in i?g(i,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):i[t]=s;var h=(i,t,s)=>(a(i,typeof t!="symbol"?t+"":t,s),s);import{LitElement as m,html as r,css as l}from"../lit-all.min.js";var e=class extends m{constructor(){super(),this.size="m",this.alt=""}render(){let{href:t}=this;return t?r` - ${this.alt} - `:r` ${this.alt}`}};h(e,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}}),h(e,"styles",l` +var g=Object.defineProperty;var a=(i,t,h)=>t in i?g(i,t,{enumerable:!0,configurable:!0,writable:!0,value:h}):i[t]=h;var r=(i,t,h)=>a(i,typeof t!="symbol"?t+"":t,h);import{LitElement as m,html as s,css as d}from"../lit-all.min.js";var e=class extends m{constructor(){super(),this.size="m",this.alt="",this.loading="lazy"}render(){let{href:t}=this;return t?s` + ${this.alt} + `:s` ${this.alt}`}};r(e,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0},loading:{type:String,attribute:!0}}),r(e,"styles",d` :host { --img-width: 32px; --img-height: 32px; display: block; - width: var(--img-width); - height: var(--img-height); + width: var(--mod-img-width, var(--img-width)); + height: var(--mod-img-height, var(--img-height)); } :host([size='s']) { @@ -25,7 +25,7 @@ var g=Object.defineProperty;var a=(i,t,s)=>t in i?g(i,t,{enumerable:!0,configura } img { - width: var(--img-width); - height: var(--img-height); + width: var(--mod-img-width, var(--img-width)); + height: var(--mod-img-height, var(--img-height)); } `);customElements.define("merch-icon",e);export{e as default}; diff --git a/libs/deps/mas/merch-mnemonic-list.js b/libs/deps/mas/merch-mnemonic-list.js index ffcf7c1a0b..93654bd885 100644 --- a/libs/deps/mas/merch-mnemonic-list.js +++ b/libs/deps/mas/merch-mnemonic-list.js @@ -1,7 +1,7 @@ -var o=Object.defineProperty;var r=(e,t,i)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;var n=(e,t,i)=>(r(e,typeof t!="symbol"?t+"":t,i),i);import{html as l,css as p,LitElement as a}from"../lit-all.min.js";var s=class extends a{constructor(){super()}render(){return l` +var o=Object.defineProperty;var r=(e,t,s)=>t in e?o(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var n=(e,t,s)=>r(e,typeof t!="symbol"?t+"":t,s);import{html as l,css as p,LitElement as a}from"../lit-all.min.js";var i=class extends a{constructor(){super()}render(){return l` ${this.description} - `}};n(s,"styles",p` + `}};n(i,"styles",p` :host { display: flex; flex-direction: row; @@ -27,4 +27,4 @@ var o=Object.defineProperty;var r=(e,t,i)=>t in e?o(e,t,{enumerable:!0,configura :host .hidden { display: none; } - `),n(s,"properties",{description:{type:String,attribute:!0}});customElements.define("merch-mnemonic-list",s);export{s as MerchMnemonicList}; + `),n(i,"properties",{description:{type:String,attribute:!0}});customElements.define("merch-mnemonic-list",i);export{i as MerchMnemonicList}; diff --git a/libs/deps/mas/merch-offer-select.js b/libs/deps/mas/merch-offer-select.js index 4030b90d66..7733abc3f1 100644 --- a/libs/deps/mas/merch-offer-select.js +++ b/libs/deps/mas/merch-offer-select.js @@ -1,4 +1,4 @@ -var y=Object.defineProperty;var R=(r,t,e)=>t in r?y(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var n=(r,t,e)=>(R(r,typeof t!="symbol"?t+"":t,e),e),u=(r,t,e)=>{if(!t.has(r))throw TypeError("Cannot "+e)};var h=(r,t,e)=>(u(r,t,"read from private field"),e?e.call(r):t.get(r)),m=(r,t,e)=>{if(t.has(r))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(r):t.set(r,e)},E=(r,t,e,o)=>(u(r,t,"write to private field"),o?o.call(r,e):t.set(r,e),e);import{html as _,LitElement as O}from"../lit-all.min.js";import{css as S,html as A,LitElement as T}from"../lit-all.min.js";var c="merch-offer:ready",b="merch-offer-select:ready";var x="merch-offer:selected";var f="merch-quantity-selector:change";var a,l=class extends T{constructor(){super();m(this,a,void 0);this.defaults={},this.variant="plans"}saveContainerDefaultValues(){let e=this.closest(this.getAttribute("container")),o=e?.querySelector('[slot="description"]:not(merch-offer > *)')?.cloneNode(!0),i=e?.badgeText;return{description:o,badgeText:i}}getSlottedElement(e,o){return(o||this.closest(this.getAttribute("container"))).querySelector(`[slot="${e}"]:not(merch-offer > *)`)}updateSlot(e,o){let i=this.getSlottedElement(e,o);if(!i)return;let s=this.selectedOffer.getOptionValue(e)?this.selectedOffer.getOptionValue(e):this.defaults[e];s&&i.replaceWith(s.cloneNode(!0))}handleOfferSelection(e){let o=e.detail;this.selectOffer(o)}handleOfferSelectionByQuantity(e){let o=e.detail.option,i=Number.parseInt(o),s=this.findAppropriateOffer(i);this.selectOffer(s),this.getSlottedElement("cta").setAttribute("data-quantity",i)}selectOffer(e){if(!e)return;let o=this.selectedOffer;o&&(o.selected=!1),e.selected=!0,this.selectedOffer=e,this.planType=e.planType,this.updateContainer(),this.updateComplete.then(()=>{this.dispatchEvent(new CustomEvent(x,{detail:this,bubbles:!0}))})}findAppropriateOffer(e){let o=null;return this.offers.find(s=>{let d=Number.parseInt(s.getAttribute("value"));if(d===e)return!0;if(d>e)return!1;o=s})||o}updateBadgeText(e){this.selectedOffer.badgeText===""?e.badgeText=null:this.selectedOffer.badgeText?e.badgeText=this.selectedOffer.badgeText:e.badgeText=this.defaults.badgeText}updateContainer(){let e=this.closest(this.getAttribute("container"));!e||!this.selectedOffer||(this.updateSlot("cta",e),this.updateSlot("secondary-cta",e),this.updateSlot("price",e),!this.manageableMode&&(this.updateSlot("description",e),this.updateBadgeText(e)))}render(){return A`
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focusin",this.handleFocusin),this.addEventListener("click",this.handleFocusin),this.addEventListener(c,this.handleOfferSelectReady);let e=this.closest("merch-quantity-select");this.manageableMode=e,this.offers=[...this.querySelectorAll("merch-offer")],E(this,a,this.handleOfferSelectionByQuantity.bind(this)),this.manageableMode?e.addEventListener(f,h(this,a)):this.defaults=this.saveContainerDefaultValues(),this.selectedOffer=this.offers[0],this.planType&&this.updateContainer()}get miniCompareMobileCard(){return this.merchCard?.variant==="mini-compare-chart"&&this.isMobile}get merchCard(){return this.closest("merch-card")}get isMobile(){return window.matchMedia("(max-width: 767px)").matches}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(f,h(this,a)),this.removeEventListener(c,this.handleOfferSelectReady),this.removeEventListener("focusin",this.handleFocusin),this.removeEventListener("click",this.handleFocusin)}get price(){return this.querySelector('merch-offer[aria-selected] [is="inline-price"]')}get customerSegment(){return this.selectedOffer?.customerSegment}get marketSegment(){return this.selectedOffer?.marketSegment}handleFocusin(e){e.target?.nodeName==="MERCH-OFFER"&&(e.preventDefault(),e.stopImmediatePropagation(),this.selectOffer(e.target))}async handleOfferSelectReady(){this.planType||this.querySelector("merch-offer:not([plan-type])")||(this.planType=this.selectedOffer.planType,await this.updateComplete,this.selectOffer(this.selectedOffer??this.querySelector("merch-offer[aria-selected]")??this.querySelector("merch-offer")),this.dispatchEvent(new CustomEvent(b,{bubbles:!0})))}};a=new WeakMap,n(l,"styles",S` +var R=Object.defineProperty;var u=t=>{throw TypeError(t)};var S=(t,o,e)=>o in t?R(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e;var n=(t,o,e)=>S(t,typeof o!="symbol"?o+"":o,e),m=(t,o,e)=>o.has(t)||u("Cannot "+e);var h=(t,o,e)=>(m(t,o,"read from private field"),e?e.call(t):o.get(t)),E=(t,o,e)=>o.has(t)?u("Cannot add the same private member more than once"):o instanceof WeakSet?o.add(t):o.set(t,e),b=(t,o,e,r)=>(m(t,o,"write to private field"),r?r.call(t,e):o.set(t,e),e);import{html as y,LitElement as v}from"../lit-all.min.js";import{css as A,html as T,LitElement as C}from"../lit-all.min.js";var c="merch-offer:ready",x="merch-offer-select:ready";var g="merch-offer:selected";var f="merch-quantity-selector:change";var a,l=class extends C{constructor(){super();E(this,a);this.defaults={},this.variant="plans"}saveContainerDefaultValues(){let e=this.closest(this.getAttribute("container")),r=e?.querySelector('[slot="description"]:not(merch-offer > *)')?.cloneNode(!0),i=e?.badgeText;return{description:r,badgeText:i}}getSlottedElement(e,r){return(r||this.closest(this.getAttribute("container"))).querySelector(`[slot="${e}"]:not(merch-offer > *)`)}updateSlot(e,r){let i=this.getSlottedElement(e,r);if(!i)return;let s=this.selectedOffer.getOptionValue(e)?this.selectedOffer.getOptionValue(e):this.defaults[e];s&&i.replaceWith(s.cloneNode(!0))}handleOfferSelection(e){let r=e.detail;this.selectOffer(r)}handleOfferSelectionByQuantity(e){let r=e.detail.option,i=Number.parseInt(r),s=this.findAppropriateOffer(i);this.selectOffer(s),this.getSlottedElement("cta").setAttribute("data-quantity",i)}selectOffer(e){if(!e)return;let r=this.selectedOffer;r&&(r.selected=!1),e.selected=!0,this.selectedOffer=e,this.planType=e.planType,this.updateContainer(),this.updateComplete.then(()=>{this.dispatchEvent(new CustomEvent(g,{detail:this,bubbles:!0}))})}findAppropriateOffer(e){let r=null;return this.offers.find(s=>{let d=Number.parseInt(s.getAttribute("value"));if(d===e)return!0;if(d>e)return!1;r=s})||r}updateBadgeText(e){this.selectedOffer.badgeText===""?e.badgeText=null:this.selectedOffer.badgeText?e.badgeText=this.selectedOffer.badgeText:e.badgeText=this.defaults.badgeText}updateContainer(){let e=this.closest(this.getAttribute("container"));!e||!this.selectedOffer||(this.updateSlot("cta",e),this.updateSlot("secondary-cta",e),this.updateSlot("price",e),!this.manageableMode&&(this.updateSlot("description",e),this.updateBadgeText(e)))}render(){return T`
`}connectedCallback(){super.connectedCallback(),this.addEventListener("focusin",this.handleFocusin),this.addEventListener("click",this.handleFocusin),this.addEventListener(c,this.handleOfferSelectReady);let e=this.closest("merch-quantity-select");this.manageableMode=e,this.offers=[...this.querySelectorAll("merch-offer")],b(this,a,this.handleOfferSelectionByQuantity.bind(this)),this.manageableMode?e.addEventListener(f,h(this,a)):this.defaults=this.saveContainerDefaultValues(),this.selectedOffer=this.offers[0],this.planType&&this.updateContainer()}get miniCompareMobileCard(){return this.merchCard?.variant==="mini-compare-chart"&&this.isMobile}get merchCard(){return this.closest("merch-card")}get isMobile(){return window.matchMedia("(max-width: 767px)").matches}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(f,h(this,a)),this.removeEventListener(c,this.handleOfferSelectReady),this.removeEventListener("focusin",this.handleFocusin),this.removeEventListener("click",this.handleFocusin)}get price(){return this.querySelector('merch-offer[aria-selected] [is="inline-price"]')}get customerSegment(){return this.selectedOffer?.customerSegment}get marketSegment(){return this.selectedOffer?.marketSegment}handleFocusin(e){e.target?.nodeName==="MERCH-OFFER"&&(e.preventDefault(),e.stopImmediatePropagation(),this.selectOffer(e.target))}async handleOfferSelectReady(){this.planType||this.querySelector("merch-offer:not([plan-type])")||(this.planType=this.selectedOffer.planType,await this.updateComplete,this.selectOffer(this.selectedOffer??this.querySelector("merch-offer[aria-selected]")??this.querySelector("merch-offer")),this.dispatchEvent(new CustomEvent(x,{bubbles:!0})))}};a=new WeakMap,n(l,"styles",A` :host { display: inline-block; } @@ -17,7 +17,7 @@ var y=Object.defineProperty;var R=(r,t,e)=>t in r?y(r,t,{enumerable:!0,configura flex-direction: column; gap: var(--consonant-merch-spacing-xs); } - `),n(l,"properties",{offers:{type:Array},selectedOffer:{type:Object},defaults:{type:Object},variant:{type:String,attribute:"variant",reflect:!0},planType:{type:String,attribute:"plan-type",reflect:!0},stock:{type:Boolean,reflect:!0}});customElements.define("merch-offer-select",l);import{css as C}from"../lit-all.min.js";var g=C` + `),n(l,"properties",{offers:{type:Array},selectedOffer:{type:Object},defaults:{type:Object},variant:{type:String,attribute:"variant",reflect:!0},planType:{type:String,attribute:"plan-type",reflect:!0},stock:{type:Boolean,reflect:!0}});customElements.define("merch-offer-select",l);import{css as O}from"../lit-all.min.js";var _=O` :host { --merch-radio: rgba(82, 88, 228); --merch-radio-hover: rgba(64, 70, 202); @@ -228,11 +228,11 @@ var y=Object.defineProperty;var R=(r,t,e)=>t in r?y(r,t,{enumerable:!0,configura position: relative; height: 40px; } -`;var v="merch-offer",p=class extends O{constructor(){super();n(this,"tr");this.type="radio",this.selected=!1}getOptionValue(e){return this.querySelector(`[slot="${e}"]`)}connectedCallback(){super.connectedCallback(),this.initOffer(),this.configuration=this.closest("quantity-selector"),!this.hasAttribute("tabindex")&&!this.configuration&&(this.tabIndex=0),!this.hasAttribute("role")&&!this.configuration&&(this.role="radio")}get asRadioOption(){return _`
+`;var N="merch-offer",p=class extends v{constructor(){super();n(this,"tr");this.type="radio",this.selected=!1}getOptionValue(e){return this.querySelector(`[slot="${e}"]`)}connectedCallback(){super.connectedCallback(),this.initOffer(),this.configuration=this.closest("quantity-selector"),!this.hasAttribute("tabindex")&&!this.configuration&&(this.tabIndex=0),!this.hasAttribute("role")&&!this.configuration&&(this.role="radio")}get asRadioOption(){return y`
${this.text} -
`}get asSubscriptionOption(){return _` +
`}get asSubscriptionOption(){return y`
@@ -245,4 +245,4 @@ var y=Object.defineProperty;var R=(r,t,e)=>t in r?y(r,t,{enumerable:!0,configura > -
`}render(){return this.configuration||!this.price?"":this.type==="subscription-option"?this.asSubscriptionOption:this.asRadioOption}get price(){return this.querySelector('span[is="inline-price"]:not([data-template="strikethrough"])')}get cta(){return this.querySelector('a[is="checkout-link"]')}get prices(){return this.querySelectorAll('span[is="inline-price"]')}get customerSegment(){return this.price?.value?.[0].customerSegment}get marketSegment(){return this.price?.value?.[0].marketSegments[0]}async initOffer(){if(!this.price)return;this.prices.forEach(o=>o.setAttribute("slot","price")),await this.updateComplete,await Promise.all([...this.prices].map(o=>o.onceSettled()));let{value:[e]}=this.price;this.planType=e.planType,await this.updateComplete,this.dispatchEvent(new CustomEvent(c,{bubbles:!0}))}};n(p,"properties",{text:{type:String},selected:{type:Boolean,attribute:"aria-selected",reflect:!0},badgeText:{type:String,attribute:"badge-text"},type:{type:String,attribute:"type",reflect:!0},planType:{type:String,attribute:"plan-type",reflect:!0}}),n(p,"styles",[g]);customElements.define(v,p); +
`}render(){return this.configuration||!this.price?"":this.type==="subscription-option"?this.asSubscriptionOption:this.asRadioOption}get price(){return this.querySelector('span[is="inline-price"]:not([data-template="strikethrough"])')}get cta(){return this.querySelector('a[is="checkout-link"]')}get prices(){return this.querySelectorAll('span[is="inline-price"]')}get customerSegment(){return this.price?.value?.[0].customerSegment}get marketSegment(){return this.price?.value?.[0].marketSegments[0]}async initOffer(){if(!this.price)return;this.prices.forEach(r=>r.setAttribute("slot","price")),await this.updateComplete,await Promise.all([...this.prices].map(r=>r.onceSettled()));let{value:[e]}=this.price;this.planType=e.planType,await this.updateComplete,this.dispatchEvent(new CustomEvent(c,{bubbles:!0}))}};n(p,"properties",{text:{type:String},selected:{type:Boolean,attribute:"aria-selected",reflect:!0},badgeText:{type:String,attribute:"badge-text"},type:{type:String,attribute:"type",reflect:!0},planType:{type:String,attribute:"plan-type",reflect:!0}}),n(p,"styles",[_]);customElements.define(N,p); diff --git a/libs/deps/mas/merch-secure-transaction.js b/libs/deps/mas/merch-secure-transaction.js index 51ee1461e5..3166638fd5 100644 --- a/libs/deps/mas/merch-secure-transaction.js +++ b/libs/deps/mas/merch-secure-transaction.js @@ -1,4 +1,4 @@ -var a=Object.defineProperty;var c=(o,t,e)=>t in o?a(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var n=(o,t,e)=>(c(o,typeof t!="symbol"?t+"":t,e),e);import{LitElement as m,html as p}from"../lit-all.min.js";import{css as x}from"../lit-all.min.js";var l=x` +var a=Object.defineProperty;var c=(e,t,o)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o;var n=(e,t,o)=>c(e,typeof t!="symbol"?t+"":t,o);import{LitElement as m,html as p}from"../lit-all.min.js";import{css as x}from"../lit-all.min.js";var l=x` #label { align-items: center; cursor: pointer; @@ -18,8 +18,8 @@ var a=Object.defineProperty;var c=(o,t,e)=>t in o?a(o,t,{enumerable:!0,configura height: 1em; width: 1em; } -`;var d="merch-secure-transaction",i=class extends m{constructor(){super(),this.labelText="",this.showIcon=!0,this.tooltipText=""}render(){let{labelText:t,showIcon:e,tooltipText:s}=this,r=p` -
+`;var d="merch-secure-transaction",i=class extends m{constructor(){super(),this.labelText="",this.showIcon=!0,this.tooltipText=""}render(){let{labelText:t,showIcon:o,tooltipText:s}=this,r=p` +
${t}
`;return s?p` diff --git a/libs/deps/mas/merch-sidenav.js b/libs/deps/mas/merch-sidenav.js index 0c4c866ac7..d9833f7a40 100644 --- a/libs/deps/mas/merch-sidenav.js +++ b/libs/deps/mas/merch-sidenav.js @@ -1,4 +1,4 @@ -var M=Object.defineProperty;var V=(o,e,t)=>e in o?M(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var i=(o,e,t)=>(V(o,typeof e!="symbol"?e+"":e,t),t),g=(o,e,t)=>{if(!e.has(o))throw TypeError("Cannot "+t)};var v=(o,e,t)=>(g(o,e,"read from private field"),t?t.call(o):e.get(o)),S=(o,e,t)=>{if(e.has(o))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(o):e.set(o,t)},b=(o,e,t,s)=>(g(o,e,"write to private field"),s?s.call(o,t):e.set(o,t),t);import{html as O,css as Y,LitElement as K}from"/libs/deps/lit-all.min.js";var c=class{constructor(e,t){this.key=Symbol("match-media-key"),this.matches=!1,this.host=e,this.host.addController(this),this.media=window.matchMedia(t),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),e.addController(this)}hostConnected(){var e;(e=this.media)==null||e.addEventListener("change",this.onChange)}hostDisconnected(){var e;(e=this.media)==null||e.removeEventListener("change",this.onChange)}onChange(e){this.matches!==e.matches&&(this.matches=e.matches,this.host.requestUpdate(this.key,!this.matches))}};import{css as I}from"/libs/deps/lit-all.min.js";var u=I` +var M=Object.defineProperty;var v=o=>{throw TypeError(o)};var V=(o,e,t)=>e in o?M(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var i=(o,e,t)=>V(o,typeof e!="symbol"?e+"":e,t),g=(o,e,t)=>e.has(o)||v("Cannot "+t);var S=(o,e,t)=>(g(o,e,"read from private field"),t?t.call(o):e.get(o)),b=(o,e,t)=>e.has(o)?v("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,t),C=(o,e,t,s)=>(g(o,e,"write to private field"),s?s.call(o,t):e.set(o,t),t);import{html as I,css as K,LitElement as W}from"/libs/deps/lit-all.min.js";var c=class{constructor(e,t){this.key=Symbol("match-media-key"),this.matches=!1,this.host=e,this.host.addController(this),this.media=window.matchMedia(t),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),e.addController(this)}hostConnected(){var e;(e=this.media)==null||e.addEventListener("change",this.onChange)}hostDisconnected(){var e;(e=this.media)==null||e.removeEventListener("change",this.onChange)}onChange(e){this.matches!==e.matches&&(this.matches=e.matches,this.host.requestUpdate(this.key,!this.matches))}};import{css as P}from"/libs/deps/lit-all.min.js";var u=P` h2 { font-size: 11px; font-style: normal; @@ -9,13 +9,13 @@ var M=Object.defineProperty;var V=(o,e,t)=>e in o?M(o,e,{enumerable:!0,configura line-height: 32px; color: #747474; } -`;import{html as H,LitElement as F}from"/libs/deps/lit-all.min.js";function E(o,e){let t;return function(){let s=this,n=arguments;clearTimeout(t),t=setTimeout(()=>o.apply(s,n),e)}}var C="merch-search:change";var T="merch-sidenav:select";var A="hashchange";function r(o=window.location.hash){let e=[],t=o.replace(/^#/,"").split("&");for(let s of t){let[n,m=""]=s.split("=");n&&e.push([n,decodeURIComponent(m.replace(/\+/g," "))])}return Object.fromEntries(e)}function a(o,e){if(o.deeplink){let t={};t[o.deeplink]=e,P(t)}}function P(o){let e=new URLSearchParams(window.location.hash.slice(1));Object.entries(o).forEach(([n,m])=>{m?e.set(n,m):e.delete(n)}),e.sort();let t=e.toString();if(t===window.location.hash)return;let s=window.scrollY||document.documentElement.scrollTop;window.location.hash=t,window.scrollTo(0,s)}function y(o){let e=()=>{if(window.location.hash&&!window.location.hash.includes("="))return;let t=r(window.location.hash);o(t)};return e(),window.addEventListener(A,e),()=>{window.removeEventListener(A,e)}}var f=class extends F{get search(){return this.querySelector("sp-search")}constructor(){super(),this.handleInput=()=>{a(this,this.search.value),this.search.value&&this.dispatchEvent(new CustomEvent(C,{bubbles:!0,composed:!0,detail:{type:"search",value:this.search.value}}))},this.handleInputDebounced=E(this.handleInput.bind(this))}connectedCallback(){super.connectedCallback(),this.search&&(this.search.addEventListener("input",this.handleInputDebounced),this.search.addEventListener("submit",this.handleInputSubmit),this.updateComplete.then(()=>{this.setStateFromURL()}),this.startDeeplink())}disconnectedCallback(){super.disconnectedCallback(),this.search.removeEventListener("input",this.handleInputDebounced),this.search.removeEventListener("submit",this.handleInputSubmit),this.stopDeeplink?.()}setStateFromURL(){let t=r()[this.deeplink];t&&(this.search.value=t)}startDeeplink(){this.stopDeeplink=y(({search:e})=>{this.search.value=e??""})}handleInputSubmit(e){e.preventDefault()}render(){return H``}};i(f,"properties",{deeplink:{type:String}});customElements.define("merch-search",f);import{html as w,LitElement as U,css as B}from"/libs/deps/lit-all.min.js";var l=class extends U{constructor(){super(),this.handleClickDebounced=E(this.handleClick.bind(this))}selectElement(e,t=!0){e.parentNode.tagName==="SP-SIDENAV-ITEM"&&this.selectElement(e.parentNode,!1),t&&(this.selectedElement=e,this.selectedText=e.label,this.selectedValue=e.value,setTimeout(()=>{e.selected=!0},1),this.dispatchEvent(new CustomEvent(T,{bubbles:!0,composed:!0,detail:{type:"sidenav",value:this.selectedValue,elt:this.selectedElement}})))}setStateFromURL(){let t=r()[this.deeplink]??"all";if(t){let s=this.querySelector(`sp-sidenav-item[value="${t}"]`);if(!s)return;this.updateComplete.then(()=>{let n="SP-SIDENAV-ITEM";s.firstElementChild?.tagName===n&&(s.expanded=!0),this.selectElement(s)})}}handleClick({target:e}){let{value:t,parentNode:s}=e;this.selectElement(e),s&&s.tagName==="SP-SIDENAV"&&(a(this,t),e.selected=!0,s.querySelectorAll("sp-sidenav-item[expanded],sp-sidenav-item[selected]").forEach(n=>{n.value!==t&&(n.expanded=!1,n.selected=!1)}))}selectionChanged({target:{value:e,parentNode:t}}){this.selectElement(this.querySelector(`sp-sidenav-item[value="${e}"]`)),a(this,e)}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleClickDebounced),this.updateComplete.then(()=>{this.setStateFromURL()})}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleClickDebounced)}render(){return w`
o.apply(s,n),e)}}var T="merch-search:change";var A="merch-sidenav:select";var y="hashchange";function r(o=window.location.hash){let e=[],t=o.replace(/^#/,"").split("&");for(let s of t){let[n,m=""]=s.split("=");n&&e.push([n,decodeURIComponent(m.replace(/\+/g," "))])}return Object.fromEntries(e)}function a(o,e){if(o.deeplink){let t={};t[o.deeplink]=e,H(t)}}function H(o){let e=new URLSearchParams(window.location.hash.slice(1));Object.entries(o).forEach(([n,m])=>{m?e.set(n,m):e.delete(n)}),e.sort();let t=e.toString();if(t===window.location.hash)return;let s=window.scrollY||document.documentElement.scrollTop;window.location.hash=t,window.scrollTo(0,s)}function w(o){let e=()=>{if(window.location.hash&&!window.location.hash.includes("="))return;let t=r(window.location.hash);o(t)};return e(),window.addEventListener(y,e),()=>{window.removeEventListener(y,e)}}var f=class extends U{get search(){return this.querySelector("sp-search")}constructor(){super(),this.handleInput=()=>{a(this,this.search.value),this.search.value&&this.dispatchEvent(new CustomEvent(T,{bubbles:!0,composed:!0,detail:{type:"search",value:this.search.value}}))},this.handleInputDebounced=E(this.handleInput.bind(this))}connectedCallback(){super.connectedCallback(),this.search&&(this.search.addEventListener("input",this.handleInputDebounced),this.search.addEventListener("submit",this.handleInputSubmit),this.updateComplete.then(()=>{this.setStateFromURL()}),this.startDeeplink())}disconnectedCallback(){super.disconnectedCallback(),this.search.removeEventListener("input",this.handleInputDebounced),this.search.removeEventListener("submit",this.handleInputSubmit),this.stopDeeplink?.()}setStateFromURL(){let t=r()[this.deeplink];t&&(this.search.value=t)}startDeeplink(){this.stopDeeplink=w(({search:e})=>{this.search.value=e??""})}handleInputSubmit(e){e.preventDefault()}render(){return F``}};i(f,"properties",{deeplink:{type:String}});customElements.define("merch-search",f);import{html as R,LitElement as B,css as G}from"/libs/deps/lit-all.min.js";var l=class extends B{constructor(){super(),this.handleClickDebounced=E(this.handleClick.bind(this))}selectElement(e,t=!0){e.parentNode.tagName==="SP-SIDENAV-ITEM"&&this.selectElement(e.parentNode,!1),t&&(this.selectedElement=e,this.selectedText=e.label,this.selectedValue=e.value,setTimeout(()=>{e.selected=!0},1),this.dispatchEvent(new CustomEvent(A,{bubbles:!0,composed:!0,detail:{type:"sidenav",value:this.selectedValue,elt:this.selectedElement}})))}setStateFromURL(){let t=r()[this.deeplink]??"all";if(t){let s=this.querySelector(`sp-sidenav-item[value="${t}"]`);if(!s)return;this.updateComplete.then(()=>{s.firstElementChild?.tagName==="SP-SIDENAV-ITEM"&&(s.expanded=!0),this.selectElement(s)})}}handleClick({target:e}){let{value:t,parentNode:s}=e;this.selectElement(e),s&&s.tagName==="SP-SIDENAV"&&(a(this,t),e.selected=!0,s.querySelectorAll("sp-sidenav-item[expanded],sp-sidenav-item[selected]").forEach(n=>{n.value!==t&&(n.expanded=!1,n.selected=!1)}))}selectionChanged({target:{value:e,parentNode:t}}){this.selectElement(this.querySelector(`sp-sidenav-item[value="${e}"]`)),a(this,e)}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleClickDebounced),this.updateComplete.then(()=>{this.setStateFromURL()})}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleClickDebounced)}render(){return R`
- ${this.sidenavListTitle?w`

${this.sidenavListTitle}

`:""} + ${this.sidenavListTitle?R`

${this.sidenavListTitle}

`:""} -
`}};i(l,"properties",{sidenavListTitle:{type:String},label:{type:String},deeplink:{type:String,attribute:"deeplink"},selectedText:{type:String,reflect:!0,attribute:"selected-text"},selectedValue:{type:String,reflect:!0,attribute:"selected-value"}}),i(l,"styles",[B` +
`}};i(l,"properties",{sidenavListTitle:{type:String},label:{type:String},deeplink:{type:String,attribute:"deeplink"},selectedText:{type:String,reflect:!0,attribute:"selected-text"},selectedValue:{type:String,reflect:!0,attribute:"selected-value"}}),i(l,"styles",[G` :host { display: block; contain: content; @@ -36,7 +36,7 @@ var M=Object.defineProperty;var V=(o,e,t)=>e in o?M(o,e,{enumerable:!0,configura ) ); } - `,u]);customElements.define("merch-sidenav-list",l);import{html as G,LitElement as $,css as q}from"/libs/deps/lit-all.min.js";var d=class extends ${setStateFromURL(){this.selectedValues=[];let{types:e}=r();e&&(this.selectedValues=e.split(","),this.selectedValues.forEach(t=>{let s=this.querySelector(`sp-checkbox[name=${t}]`);s&&(s.checked=!0)}))}selectionChanged(e){let{target:t}=e,s=t.getAttribute("name");if(s){let n=this.selectedValues.indexOf(s);t.checked&&n===-1?this.selectedValues.push(s):!t.checked&&n>=0&&this.selectedValues.splice(n,1)}a(this,this.selectedValues.join(","))}connectedCallback(){super.connectedCallback(),this.updateComplete.then(async()=>{this.setStateFromURL()})}render(){return G`
+ `,u]);customElements.define("merch-sidenav-list",l);import{html as $,LitElement as q,css as Y}from"/libs/deps/lit-all.min.js";var d=class extends q{setStateFromURL(){this.selectedValues=[];let{types:e}=r();e&&(this.selectedValues=e.split(","),this.selectedValues.forEach(t=>{let s=this.querySelector(`sp-checkbox[name=${t}]`);s&&(s.checked=!0)}))}selectionChanged(e){let{target:t}=e,s=t.getAttribute("name");if(s){let n=this.selectedValues.indexOf(s);t.checked&&n===-1?this.selectedValues.push(s):!t.checked&&n>=0&&this.selectedValues.splice(n,1)}a(this,this.selectedValues.join(","))}connectedCallback(){super.connectedCallback(),this.updateComplete.then(async()=>{this.setStateFromURL()})}render(){return $`

${this.sidenavCheckboxTitle}

e in o?M(o,e,{enumerable:!0,configura >
-
`}};i(d,"properties",{sidenavCheckboxTitle:{type:String},label:{type:String},deeplink:{type:String},selectedValues:{type:Array,reflect:!0},value:{type:String}}),i(d,"styles",q` +
`}};i(d,"properties",{sidenavCheckboxTitle:{type:String},label:{type:String},deeplink:{type:String},selectedValues:{type:Array,reflect:!0},value:{type:String}}),i(d,"styles",Y` :host { display: block; contain: content; @@ -66,7 +66,7 @@ var M=Object.defineProperty;var V=(o,e,t)=>e in o?M(o,e,{enumerable:!0,configura display: flex; flex-direction: column; } - `);customElements.define("merch-sidenav-checkbox-group",d);var R="(max-width: 700px)";var L="(max-width: 1199px)";var N=/iP(ad|hone|od)/.test(window?.navigator?.platform)||window?.navigator?.platform==="MacIntel"&&window.navigator.maxTouchPoints>1,_=!1,x,D=o=>{o&&(N?(document.body.style.position="fixed",o.ontouchmove=e=>{e.targetTouches.length===1&&e.stopPropagation()},_||(document.addEventListener("touchmove",e=>e.preventDefault()),_=!0)):(x=document.body.style.overflow,document.body.style.overflow="hidden"))},k=o=>{o&&(N?(o.ontouchstart=null,o.ontouchmove=null,document.body.style.position="",document.removeEventListener("touchmove",e=>e.preventDefault()),_=!1):x!==void 0&&(document.body.style.overflow=x,x=void 0))};var p,h=class extends K{constructor(){super();S(this,p,void 0);i(this,"mobileDevice",new c(this,R));i(this,"mobileAndTablet",new c(this,L));this.modal=!1}get filters(){return this.querySelector("merch-sidenav-list")}get search(){return this.querySelector("merch-search")}render(){return this.mobileAndTablet.matches?this.asDialog:this.asAside}get asDialog(){if(this.modal)return O` + `);customElements.define("merch-sidenav-checkbox-group",d);var L="(max-width: 700px)";var N="(max-width: 1199px)";var D=/iP(ad|hone|od)/.test(window?.navigator?.platform)||window?.navigator?.platform==="MacIntel"&&window.navigator.maxTouchPoints>1,_=!1,x,k=o=>{o&&(D?(document.body.style.position="fixed",o.ontouchmove=e=>{e.targetTouches.length===1&&e.stopPropagation()},_||(document.addEventListener("touchmove",e=>e.preventDefault()),_=!0)):(x=document.body.style.overflow,document.body.style.overflow="hidden"))},O=o=>{o&&(D?(o.ontouchstart=null,o.ontouchmove=null,document.body.style.position="",document.removeEventListener("touchmove",e=>e.preventDefault()),_=!1):x!==void 0&&(document.body.style.overflow=x,x=void 0))};var p,h=class extends W{constructor(){super();b(this,p);i(this,"mobileDevice",new c(this,L));i(this,"mobileAndTablet",new c(this,N));this.modal=!1}get filters(){return this.querySelector("merch-sidenav-list")}get search(){return this.querySelector("merch-search")}render(){return this.mobileAndTablet.matches?this.asDialog:this.asAside}get asDialog(){if(this.modal)return I` e in o?M(o,e,{enumerable:!0,configura
- `}get asAside(){return O`

${this.sidenavTitle}

`}get dialog(){return this.shadowRoot.querySelector("sp-dialog-base")}closeModal(t){t.preventDefault(),this.dialog?.close(),document.body.classList.remove("merch-modal")}openModal(){this.updateComplete.then(async()=>{D(this.dialog),document.body.classList.add("merch-modal");let t={trigger:v(this,p),notImmediatelyClosable:!0,type:"auto"},s=await window.__merch__spectrum_Overlay.open(this.dialog,t);s.addEventListener("close",()=>{this.modal=!1,document.body.classList.remove("merch-modal"),k(this.dialog)}),this.shadowRoot.querySelector("sp-theme").append(s)})}updated(){this.modal&&this.openModal()}showModal({target:t}){b(this,p,t),this.modal=!0}};p=new WeakMap,i(h,"properties",{sidenavTitle:{type:String},closeText:{type:String,attribute:"close-text"},modal:{type:Boolean,attribute:"modal",reflect:!0}}),i(h,"styles",[Y` + >`}get dialog(){return this.shadowRoot.querySelector("sp-dialog-base")}closeModal(t){t.preventDefault(),this.dialog?.close(),document.body.classList.remove("merch-modal")}openModal(){this.updateComplete.then(async()=>{k(this.dialog),document.body.classList.add("merch-modal");let t={trigger:S(this,p),notImmediatelyClosable:!0,type:"auto"},s=await window.__merch__spectrum_Overlay.open(this.dialog,t);s.addEventListener("close",()=>{this.modal=!1,document.body.classList.remove("merch-modal"),O(this.dialog)}),this.shadowRoot.querySelector("sp-theme").append(s)})}updated(){this.modal&&this.openModal()}showModal({target:t}){C(this,p,t),this.modal=!0}};p=new WeakMap,i(h,"properties",{sidenavTitle:{type:String},closeText:{type:String,attribute:"close-text"},modal:{type:Boolean,attribute:"modal",reflect:!0}}),i(h,"styles",[K` :host { display: block; z-index: 2; diff --git a/libs/deps/mas/merch-stock.js b/libs/deps/mas/merch-stock.js index 494e5898e0..a9b82d62f7 100644 --- a/libs/deps/mas/merch-stock.js +++ b/libs/deps/mas/merch-stock.js @@ -1,4 +1,4 @@ -var i=Object.defineProperty;var _=(o,e,t)=>e in o?i(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var n=(o,e,t)=>(_(o,typeof e!="symbol"?e+"":e,t),t),d=(o,e,t)=>{if(!e.has(o))throw TypeError("Cannot "+t)};var E=(o,e,t)=>(d(o,e,"read from private field"),t?t.call(o):e.get(o)),a=(o,e,t)=>{if(e.has(o))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(o):e.set(o,t)};import{LitElement as m,css as l,html as A}from"../lit-all.min.js";var p="merch-stock:change";var c=class{constructor(e,t){this.key=Symbol("match-media-key"),this.matches=!1,this.host=e,this.host.addController(this),this.media=window.matchMedia(t),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),e.addController(this)}hostConnected(){var e;(e=this.media)==null||e.addEventListener("change",this.onChange)}hostDisconnected(){var e;(e=this.media)==null||e.removeEventListener("change",this.onChange)}onChange(e){this.matches!==e.matches&&(this.matches=e.matches,this.host.requestUpdate(this.key,!this.matches))}};var h="(max-width: 767px)";var r,s=class extends m{constructor(){super();a(this,r,new c(this,h));this.checked=!1}handleChange(t){this.checked=t.target.checked,this.dispatchEvent(new CustomEvent(p,{detail:{checked:t.target.checked,planType:this.planType},bubbles:!0}))}connectedCallback(){this.style.setProperty("--mod-checkbox-font-size","12px"),super.connectedCallback(),this.updateComplete.then(()=>{this.querySelectorAll('[is="inline-price"]').forEach(async t=>{await t.onceSettled(),t.parentElement.setAttribute("data-plan-type",t.value[0].planType)})})}render(){if(this.planType&&!E(this,r).matches)return A` +var _=Object.defineProperty;var E=o=>{throw TypeError(o)};var d=(o,e,t)=>e in o?_(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var n=(o,e,t)=>d(o,typeof e!="symbol"?e+"":e,t),m=(o,e,t)=>e.has(o)||E("Cannot "+t);var a=(o,e,t)=>(m(o,e,"read from private field"),t?t.call(o):e.get(o)),p=(o,e,t)=>e.has(o)?E("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,t);import{LitElement as l,css as A,html as x}from"../lit-all.min.js";var h="merch-stock:change";var c=class{constructor(e,t){this.key=Symbol("match-media-key"),this.matches=!1,this.host=e,this.host.addController(this),this.media=window.matchMedia(t),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),e.addController(this)}hostConnected(){var e;(e=this.media)==null||e.addEventListener("change",this.onChange)}hostDisconnected(){var e;(e=this.media)==null||e.removeEventListener("change",this.onChange)}onChange(e){this.matches!==e.matches&&(this.matches=e.matches,this.host.requestUpdate(this.key,!this.matches))}};var i="(max-width: 767px)";var r,s=class extends l{constructor(){super();p(this,r,new c(this,i));this.checked=!1}handleChange(t){this.checked=t.target.checked,this.dispatchEvent(new CustomEvent(h,{detail:{checked:t.target.checked,planType:this.planType},bubbles:!0}))}connectedCallback(){this.style.setProperty("--mod-checkbox-font-size","12px"),super.connectedCallback(),this.updateComplete.then(()=>{this.querySelectorAll('[is="inline-price"]').forEach(async t=>{await t.onceSettled(),t.parentElement.setAttribute("data-plan-type",t.value[0].planType)})})}render(){if(this.planType&&!a(this,r).matches)return x` e in o?i(o,e,{enumerable:!0,configura > - `}get osi(){if(this.checked)return this.querySelector(`div[data-plan-type="${this.planType}"] [is="inline-price"]`)?.value?.[0].offerSelectorIds[0]}};r=new WeakMap,n(s,"styles",[l` + `}get osi(){if(this.checked)return this.querySelector(`div[data-plan-type="${this.planType}"] [is="inline-price"]`)?.value?.[0].offerSelectorIds[0]}};r=new WeakMap,n(s,"styles",[A` ::slotted(div) { display: none; } diff --git a/libs/deps/mas/merch-subscription-panel.js b/libs/deps/mas/merch-subscription-panel.js index a784cce9a5..af89d0dfd9 100644 --- a/libs/deps/mas/merch-subscription-panel.js +++ b/libs/deps/mas/merch-subscription-panel.js @@ -1,4 +1,4 @@ -var A=Object.defineProperty;var y=(o,e,t)=>e in o?A(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var h=(o,e,t)=>(y(o,typeof e!="symbol"?e+"":e,t),t),T=(o,e,t)=>{if(!e.has(o))throw TypeError("Cannot "+t)};var u=(o,e,t)=>(T(o,e,"read from private field"),t?t.call(o):e.get(o)),_=(o,e,t)=>{if(e.has(o))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(o):e.set(o,t)};import{html as n,LitElement as R}from"../lit-all.min.js";var i=class{constructor(e,t){this.key=Symbol("match-media-key"),this.matches=!1,this.host=e,this.host.addController(this),this.media=window.matchMedia(t),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),e.addController(this)}hostConnected(){var e;(e=this.media)==null||e.addEventListener("change",this.onChange)}hostDisconnected(){var e;(e=this.media)==null||e.removeEventListener("change",this.onChange)}onChange(e){this.matches!==e.matches&&(this.matches=e.matches,this.host.requestUpdate(this.key,!this.matches))}};import{css as C}from"../lit-all.min.js";var S=C` +var y=Object.defineProperty;var u=o=>{throw TypeError(o)};var T=(o,e,t)=>e in o?y(o,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):o[e]=t;var h=(o,e,t)=>T(o,typeof e!="symbol"?e+"":e,t),C=(o,e,t)=>e.has(o)||u("Cannot "+t);var _=(o,e,t)=>(C(o,e,"read from private field"),t?t.call(o):e.get(o)),S=(o,e,t)=>e.has(o)?u("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(o):e.set(o,t);import{html as n,LitElement as g}from"../lit-all.min.js";var i=class{constructor(e,t){this.key=Symbol("match-media-key"),this.matches=!1,this.host=e,this.host.addController(this),this.media=window.matchMedia(t),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),e.addController(this)}hostConnected(){var e;(e=this.media)==null||e.addEventListener("change",this.onChange)}hostDisconnected(){var e;(e=this.media)==null||e.removeEventListener("change",this.onChange)}onChange(e){this.matches!==e.matches&&(this.matches=e.matches,this.host.requestUpdate(this.key,!this.matches))}};import{css as R}from"../lit-all.min.js";var x=R` :host { --merch-focused-outline: var(--merch-color-focus-ring) auto 1px; background-color: #f5f5f5; @@ -112,7 +112,7 @@ var A=Object.defineProperty;var y=(o,e,t)=>e in o?A(o,e,{enumerable:!0,configura a[is='checkout-link'] { display: none; } -`;var l="merch-offer-select:ready";var d="merch-offer:selected",E="merch-stock:change";var p="merch-quantity-selector:change";var x="(max-width: 1199px)";var c,r=class extends R{constructor(){super();_(this,c,new i(this,x));this.ready=!1,this.continueText="Continue"}get listLayout(){return n` +`;var l="merch-offer-select:ready";var d="merch-offer:selected",E="merch-stock:change";var p="merch-quantity-selector:change";var A="(max-width: 1199px)";var c,r=class extends g{constructor(){super();S(this,c,new i(this,A));this.ready=!1,this.continueText="Continue"}get listLayout(){return n` - `}render(){return this.offerSelect?this.listLayout:this.waitLayout}connectedCallback(){super.connectedCallback(),u(this,c).matches?this.setAttribute("layout","mobile"):this.setAttribute("layout","desktop"),this.addEventListener(l,this.handleOfferSelectReady),this.checkOfferSelectReady(),this.addEventListener(d,this.handleOfferSelect),this.addEventListener(E,this.handleStockChange),this.addEventListener(p,this.handleQuantitySelectChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(l,this.handleOfferSelectReady),this.removeEventListener(d,this.handleOfferSelect),this.removeEventListener(E,this.handleStockChange),this.removeEventListener(p,this.handleQuantitySelectChange)}handleSlotChange(){this.initOfferSelect(),this.initQuantitySelect(),this.initStock(),this.secureTransaction?.setAttribute("slot","footer")}async checkOfferSelectReady(){this.offerSelect&&(await this.offerSelect.updateComplete,this.offerSelect.planType&&this.handleOfferSelectReady())}handleOfferSelectReady(){this.ready=!0,this.initStock(),this.requestUpdate()}handleOfferSelect(t){this.offerSelect?.stock&&(this.stock.planType=t.detail.planType),this.requestUpdate()}handleQuantitySelectChange(t){this.quantity=t.detail.option}handleStockChange(){this.requestUpdate()}handleContinue(){this.shadowRoot.getElementById("checkoutLink").click()}async initOfferSelect(){this.offerSelect&&(this.offerSelect.querySelectorAll("merch-offer").forEach(t=>t.type="subscription-option"),this.ready=!!this.offerSelect.planType,this.offerSelect.setAttribute("slot","offers"),await this.offerSelect.selectOffer(this.offerSelect.querySelector("merch-offer[aria-selected]")),await this.offerSelect.selectedOffer.price.onceSettled(),this.requestUpdate())}initStock(){this.stock&&(this.stock.setAttribute("slot","footer"),this.offerSelect?.stock?this.stock.planType=this.offerSelect.planType:this.stock.planType=null)}initQuantitySelect(){this.quantitySelect&&this.quantitySelect.setAttribute("slot","footer")}get offerSelect(){return this.querySelector("merch-offer-select")}get quantitySelect(){return this.querySelector("merch-quantity-select")}get stock(){return this.querySelector("merch-stock")}get secureTransaction(){return this.querySelector("merch-secure-transaction")}get checkoutLink(){if(!this.offerSelect?.selectedOffer?.price?.value)return;let[{offerSelectorIds:[t]}]=this.offerSelect.selectedOffer.price?.value;if(!t)return;let f=[t];if(this.stock){let s=this.stock.osi;s&&f.push(s)}let m=f.join(","),a=this.offerSelect.selectedOffer.cta;if(a&&a.value){let s=a?.cloneNode(!0);return s.setAttribute("id","checkoutLink"),s.setAttribute("data-wcs-osi",m),s.setAttribute("data-quantity",this.quantity),s.removeAttribute("target"),n`${s}`}return n`t.type="subscription-option"),this.ready=!!this.offerSelect.planType,this.offerSelect.setAttribute("slot","offers"),await this.offerSelect.selectOffer(this.offerSelect.querySelector("merch-offer[aria-selected]")),await this.offerSelect.selectedOffer.price.onceSettled(),this.requestUpdate())}initStock(){this.stock&&(this.stock.setAttribute("slot","footer"),this.offerSelect?.stock?this.stock.planType=this.offerSelect.planType:this.stock.planType=null)}initQuantitySelect(){this.quantitySelect&&this.quantitySelect.setAttribute("slot","footer")}get offerSelect(){return this.querySelector("merch-offer-select")}get quantitySelect(){return this.querySelector("merch-quantity-select")}get stock(){return this.querySelector("merch-stock")}get secureTransaction(){return this.querySelector("merch-secure-transaction")}get checkoutLink(){if(!this.offerSelect?.selectedOffer?.price?.value)return;let[{offerSelectorIds:[t]}]=this.offerSelect.selectedOffer.price?.value;if(!t)return;let f=[t];if(this.stock){let s=this.stock.osi;s&&f.push(s)}let m=f.join(","),a=this.offerSelect.selectedOffer.cta;if(a&&a.value){let s=a?.cloneNode(!0);return s.setAttribute("id","checkoutLink"),s.setAttribute("data-wcs-osi",m),s.setAttribute("data-quantity",this.quantity),s.removeAttribute("target"),n`${s}`}return n``}};c=new WeakMap,h(r,"styles",[S]),h(r,"properties",{continueText:{type:String,attribute:"continue-text"},quantity:{type:Number},ready:{type:Boolean,attribute:"ready",reflect:!0}});window.customElements.define("merch-subscription-panel",r); + >`}};c=new WeakMap,h(r,"styles",[x]),h(r,"properties",{continueText:{type:String,attribute:"continue-text"},quantity:{type:Number},ready:{type:Boolean,attribute:"ready",reflect:!0}});window.customElements.define("merch-subscription-panel",r); diff --git a/libs/deps/mas/merch-twp-d2p.js b/libs/deps/mas/merch-twp-d2p.js index 9a7afe88ac..81bcadce8e 100644 --- a/libs/deps/mas/merch-twp-d2p.js +++ b/libs/deps/mas/merch-twp-d2p.js @@ -1,4 +1,4 @@ -var N=Object.defineProperty;var k=(o,t,e)=>t in o?N(o,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):o[t]=e;var a=(o,t,e)=>(k(o,typeof t!="symbol"?t+"":t,e),e),A=(o,t,e)=>{if(!t.has(o))throw TypeError("Cannot "+e)};var l=(o,t,e)=>(A(o,t,"read from private field"),e?e.call(o):t.get(o)),p=(o,t,e)=>{if(t.has(o))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(o):t.set(o,e)},b=(o,t,e,s)=>(A(o,t,"write to private field"),s?s.call(o,e):t.set(o,e),e);import{LitElement as O,html as i}from"../lit-all.min.js";var f=class{constructor(t,e){this.key=Symbol("match-media-key"),this.matches=!1,this.host=t,this.host.addController(this),this.media=window.matchMedia(e),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),t.addController(this)}hostConnected(){var t;(t=this.media)==null||t.addEventListener("change",this.onChange)}hostDisconnected(){var t;(t=this.media)==null||t.removeEventListener("change",this.onChange)}onChange(t){this.matches!==t.matches&&(this.matches=t.matches,this.host.requestUpdate(this.key,!this.matches))}};import{css as I}from"../lit-all.min.js";var w=I` +var k=Object.defineProperty;var A=i=>{throw TypeError(i)};var I=(i,t,e)=>t in i?k(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e;var a=(i,t,e)=>I(i,typeof t!="symbol"?t+"":t,e),w=(i,t,e)=>t.has(i)||A("Cannot "+e);var l=(i,t,e)=>(w(i,t,"read from private field"),e?e.call(i):t.get(i)),p=(i,t,e)=>t.has(i)?A("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(i):t.set(i,e),b=(i,t,e,s)=>(w(i,t,"write to private field"),s?s.call(i,e):t.set(i,e),e);import{LitElement as P,html as o}from"../lit-all.min.js";var f=class{constructor(t,e){this.key=Symbol("match-media-key"),this.matches=!1,this.host=t,this.host.addController(this),this.media=window.matchMedia(e),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),t.addController(this)}hostConnected(){var t;(t=this.media)==null||t.addEventListener("change",this.onChange)}hostDisconnected(){var t;(t=this.media)==null||t.removeEventListener("change",this.onChange)}onChange(t){this.matches!==t.matches&&(this.matches=t.matches,this.host.requestUpdate(this.key,!this.matches))}};import{css as O}from"../lit-all.min.js";var v=O` :host { display: flex; box-sizing: border-box; @@ -218,7 +218,7 @@ var N=Object.defineProperty;var k=(o,t,e)=>t in o?N(o,t,{enumerable:!0,configura left: 30px; bottom: 30px; } -`;var v="(max-width: 1199px)";var S="merch-card:ready";var T="merch-offer:selected";var _="merch-storage:change",R="merch-quantity-selector:change";function y(o=window.location.hash){let t=[],e=o.replace(/^#/,"").split("&");for(let s of e){let[r,n=""]=s.split("=");r&&t.push([r,decodeURIComponent(n.replace(/\+/g," "))])}return Object.fromEntries(t)}var P="merch-twp-d2p",u="individuals",g="business",C="education",c,E,d,x,m=class extends O{constructor(){super();a(this,"selectedTab",this.preselectedTab());p(this,c,void 0);p(this,E,void 0);p(this,d,void 0);p(this,x,new f(this,v));a(this,"individualsText","Individuals");a(this,"businessText","Business");a(this,"educationText","Students and teachers");a(this,"continueText","Continue");a(this,"ready",!1);this.step=1,b(this,d,this.handleOfferSelected.bind(this)),this.handleWhatsIncludedClick=this.handleWhatsIncludedClick.bind(this)}get log(){return l(this,c)||b(this,c,document.head.querySelector("wcms-commerce")?.Log.module("twp")),l(this,c)}get individualsTab(){return this.cciCards.length===0?i``:i` +`;var R="(max-width: 1199px)";var S="merch-card:ready";var T="merch-offer:selected";var _="merch-storage:change",y="merch-quantity-selector:change";function L(i=window.location.hash){let t=[],e=i.replace(/^#/,"").split("&");for(let s of e){let[r,n=""]=s.split("=");r&&t.push([r,decodeURIComponent(n.replace(/\+/g," "))])}return Object.fromEntries(t)}var D="merch-twp-d2p",u="individuals",g="business",C="education",c,E,d,x,m=class extends P{constructor(){super();a(this,"selectedTab",this.preselectedTab());p(this,c);p(this,E);p(this,d);p(this,x,new f(this,R));a(this,"individualsText","Individuals");a(this,"businessText","Business");a(this,"educationText","Students and teachers");a(this,"continueText","Continue");a(this,"ready",!1);this.step=1,b(this,d,this.handleOfferSelected.bind(this)),this.handleWhatsIncludedClick=this.handleWhatsIncludedClick.bind(this)}get log(){return l(this,c)||b(this,c,document.head.querySelector("wcms-commerce")?.Log.module("twp")),l(this,c)}get individualsTab(){return this.cciCards.length===0?o``:o` @@ -228,7 +228,7 @@ var N=Object.defineProperty;var k=(o,t,e)=>t in o?N(o,t,{enumerable:!0,configura
- `}get businessTab(){return this.cctCards.length===0?i``:i` + `}get businessTab(){return this.cctCards.length===0?o``:o` @@ -238,7 +238,7 @@ var N=Object.defineProperty;var k=(o,t,e)=>t in o?N(o,t,{enumerable:!0,configura
- `}get educationTab(){return this.cceCards.length===0?i``:i` + `}get educationTab(){return this.cceCards.length===0?o``:o` @@ -247,7 +247,7 @@ var N=Object.defineProperty;var k=(o,t,e)=>t in o?N(o,t,{enumerable:!0,configura - `}preselectedTab(){let s=new URLSearchParams(window.location.search).get("plan");return s===u||s===g||s===C?s:u}get selectedTabPanel(){return this.shadowRoot.querySelector("sp-tab-panel[selected]")}get firstCardInSelectedTab(){return this.selectedTabPanel?.querySelector("slot").assignedElements()[0]}get tabs(){return this.cards.length===1?i``:this.singleCard&&this.step===1?i``:i` + `}preselectedTab(){let s=new URLSearchParams(window.location.search).get("plan");return s===u||s===g||s===C?s:u}get selectedTabPanel(){return this.shadowRoot.querySelector("sp-tab-panel[selected]")}get firstCardInSelectedTab(){return this.selectedTabPanel?.querySelector("slot").assignedElements()[0]}get tabs(){return this.cards.length===1?o``:this.singleCard&&this.step===1?o``:o` t in o?N(o,t,{enumerable:!0,configura > ${this.individualsTab} ${this.businessTab} ${this.educationTab} - `}async tabChanged(e){this.selectedTab=e.target.selected,await e.target.updateComplete,this.selectCard(this.firstCardInSelectedTab)}get singleCardFooter(){if(this.step===1)return i` + `}async tabChanged(e){this.selectedTab=e.target.selected,await e.target.updateComplete,this.selectCard(this.firstCardInSelectedTab)}get singleCardFooter(){if(this.step===1)return o` - `}get desktopLayout(){return this.singleCard?i`
+ `}get desktopLayout(){return this.singleCard?o`
${this.tabs} @@ -269,19 +269,19 @@ var N=Object.defineProperty;var k=(o,t,e)=>t in o?N(o,t,{enumerable:!0,configura -
`:i` +
`:o`
${this.tabs}
- ${this.cciCards.length<3?i`
- `}get showSubscriptionPanelInStep1(){return l(this,x).matches?!1:this.cciCards.length<3}get continueButton(){return this.showSubscriptionPanelInStep1?i``:i` + `}get showSubscriptionPanelInStep1(){return l(this,x).matches?!1:this.cciCards.length<3}get continueButton(){return this.showSubscriptionPanelInStep1?o``:o`
t in o?N(o,t,{enumerable:!0,configura ${this.continueText}
- `}selectSingleCard(e){e.setAttribute("data-slot",e.getAttribute("slot")),e.setAttribute("slot","single-card"),this.singleCard=e}unSelectSingleCard(){this.singleCard&&(this.singleCard.setAttribute("slot",this.singleCard.getAttribute("data-slot")),this.singleCard.removeAttribute("data-slot"),this.step=1,this.singleCard=void 0)}handleContinue(){this.step=2,this.selectSingleCard(this.cardToSelect),b(this,E,[...this.singleCard.querySelectorAll("merch-icon")].map(e=>e.cloneNode(!0)))}handleBack(){this.unSelectSingleCard()}get cardToSelect(){return this.selectedTabPanel?.card??this.querySelector("merch-card[aria-selected]")}get selectedCard(){return this.singleCard??this.selectedTabPanel.card}get mobileStepTwo(){return this.singleCard?i` + `}selectSingleCard(e){e.setAttribute("data-slot",e.getAttribute("slot")),e.setAttribute("slot","single-card"),this.singleCard=e}unSelectSingleCard(){this.singleCard&&(this.singleCard.setAttribute("slot",this.singleCard.getAttribute("data-slot")),this.singleCard.removeAttribute("data-slot"),this.step=1,this.singleCard=void 0)}handleContinue(){this.step=2,this.selectSingleCard(this.cardToSelect),b(this,E,[...this.singleCard.querySelectorAll("merch-icon")].map(e=>e.cloneNode(!0)))}handleBack(){this.unSelectSingleCard()}get cardToSelect(){return this.selectedTabPanel?.card??this.querySelector("merch-card[aria-selected]")}get selectedCard(){return this.singleCard??this.selectedTabPanel.card}get mobileStepTwo(){return this.singleCard?o` ${this.backButton} ${this.stepTwoCardIconsAndTitle} - `:i``}get stepTwoCardIconsAndTitle(){if(this.selectedCard)return i`
+ `:o``}get stepTwoCardIconsAndTitle(){if(this.selectedCard)return o`
${l(this,E)}

${this.selectedCard.title}

-
`}get backButton(){return this.step!==2?i``:i``}get backButton(){return this.step!==2?o``:o`t in o?N(o,t,{enumerable:!0,configura Back`}get mobileLayout(){return this.step===1?i` + > Back`}get mobileLayout(){return this.step===1?o`
${this.tabs} ${this.continueButton}
- `:i` + `:o`
${this.tabs}${this.mobileStepTwo}
- `}render(){return this.ready?i` + `}render(){return this.ready?o` ${l(this,x).matches?this.mobileLayout:this.desktopLayout}
- `:i``}connectedCallback(){super.connectedCallback(),this.style.setProperty("--mod-tabs-font-weight",700),this.addEventListener(S,this.merchTwpReady),this.subscriptionPanel.addEventListener(T,l(this,d)),this.addEventListener(R,this.handleQuantityChange),this.whatsIncludedLink?.addEventListener("click",this.handleWhatsIncludedClick),this.addEventListener(_,this.handleStorageChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(S,this.merchTwpReady),this.subscriptionPanel.removeEventListener(T,l(this,d)),this.whatsIncludedLink?.removeEventListener("click",this.handleWhatsIncludedClick),this.removeEventListener(_,this.handleStorageChange)}handleOfferSelected(e){this.log.debug("Selecting plan type",e.target.planType),this.selectedCard.selectMerchOffer(e.target.selectedOffer)}handleQuantityChange(e){this.selectedTabPanel&&(this.selectedCard.quantitySelect.defaultValue=e.detail.option,this.requestUpdate())}get whatsIncludedLink(){return this.querySelector("merch-card .merch-whats-included")}get whatsIncluded(){return this.querySelector('[slot="merch-whats-included"]')}setOfferSelectOnPanel(e){e.setAttribute("variant","subscription-options"),this.subscriptionPanel.offerSelect?.remove(),this.subscriptionPanel.appendChild(e)}handleStorageChange(e){let s=e.detail.offerSelect;s&&this.setOfferSelectOnPanel(s)}get preselectedCardId(){let e=y()["select-cards"]?.split(",").reduce((s,r)=>{let n=decodeURIComponent(r.trim().toLowerCase());return n&&s.push(n),s},[])||[];if(e.length&&this.selectedTab===u)return e[0];if(e.length>1&&this.selectedTab===g)return e[1];if(e.length>2&&this.selectedTab===C)return e[2]}get cardToBePreselected(){return this.selectedTabPanel?.querySelector("slot").assignedElements().find(e=>{let s=e.querySelector(".heading-xs")?.textContent.trim().toLowerCase()||"";return this.preselectedCardId&&s.includes(this.preselectedCardId)})}selectCard(e,s=!1){let r=this.selectedTabPanel,n=r?.card;(s||!n)&&(n&&(n.selected=void 0),n=this.cardToBePreselected||e,n.selected=!0,r?r.card=n:this.selectSingleCard(n)),n.focus(),this.subscriptionPanel.quantitySelect?.remove();let h=n.quantitySelect?.cloneNode(!0);h&&this.subscriptionPanel.appendChild(h);let L=n.offerSelect.cloneNode(!0);this.setOfferSelectOnPanel(L)}handleWhatsIncludedClick(e){e.preventDefault(),this.whatsIncluded?.classList.toggle("hidden")}async processCards(){let e=[...this.querySelectorAll("merch-card")];e.forEach((s,r)=>{let{customerSegment:n,marketSegment:h}=s.offerSelect;n==="INDIVIDUAL"?h==="COM"?s.setAttribute("slot","individuals"):h==="EDU"&&s.setAttribute("slot","education"):n==="TEAM"&&s.setAttribute("slot","business"),s.addEventListener("click",()=>this.selectCard(s,!0))}),this.ready=!0,this.requestUpdate(),await this.updateComplete,await this.tabElement?.updateComplete,this.selectCard(e.length===1?e[0]:this.firstCardInSelectedTab,!0)}merchTwpReady(){this.querySelector("merch-card merch-offer-select:not([plan-type])")||this.processCards()}get cards(){return this.querySelectorAll("merch-card[slot]")}get cciCards(){return this.querySelectorAll('merch-card[slot="individuals"]')}get cctCards(){return this.querySelectorAll('merch-card[slot="business"]')}get cceCards(){return this.querySelectorAll('merch-card[slot="education"]')}get subscriptionPanel(){return this.querySelector("merch-subscription-panel")}get tabElement(){return this.shadowRoot.querySelector("sp-tabs")}};c=new WeakMap,E=new WeakMap,d=new WeakMap,x=new WeakMap,a(m,"styles",[w]),a(m,"properties",{individualsText:{type:String,attribute:"individuals-text"},businessText:{type:String,attribute:"business-text"},educationText:{type:String,attribute:"education-text"},continueText:{type:String,attribute:"continue-text"},ready:{type:Boolean},step:{type:Number},singleCard:{state:!0},selectedTab:{type:String,attribute:"selected-tab",reflect:!0}});window.customElements.define(P,m);export{m as MerchTwpD2P}; + `:o``}connectedCallback(){super.connectedCallback(),this.style.setProperty("--mod-tabs-font-weight",700),this.addEventListener(S,this.merchTwpReady),this.subscriptionPanel.addEventListener(T,l(this,d)),this.addEventListener(y,this.handleQuantityChange),this.whatsIncludedLink?.addEventListener("click",this.handleWhatsIncludedClick),this.addEventListener(_,this.handleStorageChange)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(S,this.merchTwpReady),this.subscriptionPanel.removeEventListener(T,l(this,d)),this.whatsIncludedLink?.removeEventListener("click",this.handleWhatsIncludedClick),this.removeEventListener(_,this.handleStorageChange)}handleOfferSelected(e){this.log.debug("Selecting plan type",e.target.planType),this.selectedCard.selectMerchOffer(e.target.selectedOffer)}handleQuantityChange(e){this.selectedTabPanel&&(this.selectedCard.quantitySelect.defaultValue=e.detail.option,this.requestUpdate())}get whatsIncludedLink(){return this.querySelector("merch-card .merch-whats-included")}get whatsIncluded(){return this.querySelector('[slot="merch-whats-included"]')}setOfferSelectOnPanel(e){e.setAttribute("variant","subscription-options"),this.subscriptionPanel.offerSelect?.remove(),this.subscriptionPanel.appendChild(e)}handleStorageChange(e){let s=e.detail.offerSelect;s&&this.setOfferSelectOnPanel(s)}get preselectedCardId(){let e=L()["select-cards"]?.split(",").reduce((s,r)=>{let n=decodeURIComponent(r.trim().toLowerCase());return n&&s.push(n),s},[])||[];if(e.length&&this.selectedTab===u)return e[0];if(e.length>1&&this.selectedTab===g)return e[1];if(e.length>2&&this.selectedTab===C)return e[2]}get cardToBePreselected(){return this.selectedTabPanel?.querySelector("slot").assignedElements().find(e=>{let s=e.querySelector(".heading-xs")?.textContent.trim().toLowerCase()||"";return this.preselectedCardId&&s.includes(this.preselectedCardId)})}selectCard(e,s=!1){let r=this.selectedTabPanel,n=r?.card;(s||!n)&&(n&&(n.selected=void 0),n=this.cardToBePreselected||e,n.selected=!0,r?r.card=n:this.selectSingleCard(n)),n.focus(),this.subscriptionPanel.quantitySelect?.remove();let h=n.quantitySelect?.cloneNode(!0);h&&this.subscriptionPanel.appendChild(h);let N=n.offerSelect.cloneNode(!0);this.setOfferSelectOnPanel(N)}handleWhatsIncludedClick(e){e.preventDefault(),this.whatsIncluded?.classList.toggle("hidden")}async processCards(){let e=[...this.querySelectorAll("merch-card")];e.forEach((s,r)=>{let{customerSegment:n,marketSegment:h}=s.offerSelect;n==="INDIVIDUAL"?h==="COM"?s.setAttribute("slot","individuals"):h==="EDU"&&s.setAttribute("slot","education"):n==="TEAM"&&s.setAttribute("slot","business"),s.addEventListener("click",()=>this.selectCard(s,!0))}),this.ready=!0,this.requestUpdate(),await this.updateComplete,await this.tabElement?.updateComplete,this.selectCard(e.length===1?e[0]:this.firstCardInSelectedTab,!0)}merchTwpReady(){this.querySelector("merch-card merch-offer-select:not([plan-type])")||this.processCards()}get cards(){return this.querySelectorAll("merch-card[slot]")}get cciCards(){return this.querySelectorAll('merch-card[slot="individuals"]')}get cctCards(){return this.querySelectorAll('merch-card[slot="business"]')}get cceCards(){return this.querySelectorAll('merch-card[slot="education"]')}get subscriptionPanel(){return this.querySelector("merch-subscription-panel")}get tabElement(){return this.shadowRoot.querySelector("sp-tabs")}};c=new WeakMap,E=new WeakMap,d=new WeakMap,x=new WeakMap,a(m,"styles",[v]),a(m,"properties",{individualsText:{type:String,attribute:"individuals-text"},businessText:{type:String,attribute:"business-text"},educationText:{type:String,attribute:"education-text"},continueText:{type:String,attribute:"continue-text"},ready:{type:Boolean},step:{type:Number},singleCard:{state:!0},selectedTab:{type:String,attribute:"selected-tab",reflect:!0}});window.customElements.define(D,m);export{m as MerchTwpD2P}; diff --git a/libs/deps/mas/merch-whats-included.js b/libs/deps/mas/merch-whats-included.js index 087d57e449..9febeeca5c 100644 --- a/libs/deps/mas/merch-whats-included.js +++ b/libs/deps/mas/merch-whats-included.js @@ -1,4 +1,4 @@ -var r=Object.defineProperty;var n=(s,e,t)=>e in s?r(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var o=(s,e,t)=>(n(s,typeof e!="symbol"?e+"":e,t),t);import{html as l,css as a,LitElement as h}from"../lit-all.min.js";var i=class extends h{updated(){this.hideSeeMoreEls()}hideSeeMoreEls(){this.isMobile&&this.rows.forEach((e,t)=>{t>=5&&(e.style.display=this.showAll?"flex":"none")})}constructor(){super(),this.showAll=!1,this.mobileRows=this.mobileRows===void 0?5:this.mobileRows}toggle(){this.showAll=!this.showAll,this.dispatchEvent(new CustomEvent("hide-see-more-elements",{bubbles:!0,composed:!0})),this.requestUpdate()}render(){return l` +var r=Object.defineProperty;var n=(t,e,s)=>e in t?r(t,e,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[e]=s;var o=(t,e,s)=>n(t,typeof e!="symbol"?e+"":e,s);import{html as l,css as a,LitElement as h}from"../lit-all.min.js";var i=class extends h{updated(){this.hideSeeMoreEls()}hideSeeMoreEls(){this.isMobile&&this.rows.forEach((e,s)=>{s>=5&&(e.style.display=this.showAll?"flex":"none")})}constructor(){super(),this.showAll=!1,this.mobileRows=this.mobileRows===void 0?5:this.mobileRows}toggle(){this.showAll=!this.showAll,this.dispatchEvent(new CustomEvent("hide-see-more-elements",{bubbles:!0,composed:!0})),this.requestUpdate()}render(){return l` ${this.isMobile&&this.rows.length>this.mobileRows?l`
${this.showAll?"- See less":"+ See more"} diff --git a/libs/features/mas/dist/mas.js b/libs/features/mas/dist/mas.js index b35a3485ef..9cefd393ba 100644 --- a/libs/features/mas/dist/mas.js +++ b/libs/features/mas/dist/mas.js @@ -1,22 +1,24 @@ -var Ss=Object.create;var Jt=Object.defineProperty;var ys=Object.getOwnPropertyDescriptor;var Ts=Object.getOwnPropertyNames;var Ls=Object.getPrototypeOf,_s=Object.prototype.hasOwnProperty;var ws=(e,t,r)=>t in e?Jt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Ps=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Cs=(e,t)=>{for(var r in t)Jt(e,r,{get:t[r],enumerable:!0})},Is=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ts(t))!_s.call(e,i)&&i!==r&&Jt(e,i,{get:()=>t[i],enumerable:!(n=ys(t,i))||n.enumerable});return e};var Ns=(e,t,r)=>(r=e!=null?Ss(Ls(e)):{},Is(t||!e||!e.__esModule?Jt(r,"default",{value:e,enumerable:!0}):r,e));var p=(e,t,r)=>(ws(e,typeof t!="symbol"?t+"":t,r),r),Yr=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var L=(e,t,r)=>(Yr(e,t,"read from private field"),r?r.call(e):t.get(e)),M=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},j=(e,t,r,n)=>(Yr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var ge=(e,t,r)=>(Yr(e,t,"access private method"),r);var ds=Ps((mf,uh)=>{uh.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:l}=window.location;return l.substring(l.length-10)===".adobe.com"&&l.substring(l.length-15)!==".corp.adobe.com"&&l.substring(l.length-16)!==".stage.adobe.com"}function o(l,d){l||(l={}),d||(d={});function u(m){return l[m]!==void 0?l[m]:d[m]!==void 0?d[m]:r[m]}return Object.keys(r).reduce((m,f)=>(m[f]=u(f),m),{})}function a(l,d){l=l&&l.stack?l.stack:l||"",l.length>2e3&&(l=`${l.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,S=!g||!u.useProd?u.endpointStage:u.endpoint,w=[`m=${encodeURIComponent(l)}`,`c=${encodeURI(u.clientId)}`,`s=${f}`,`t=${encodeURI(u.errorType)}`];if(u.tags&&w.push(`tags=${encodeURI(u.tags)}`),(!g||n.lana.debug||n.lana.localhost)&&console.log("LANA Msg: ",l,` -Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lana.debug&&(w.push("d"),v.addEventListener("load",()=>{console.log("LANA response:",v.responseText)})),v.open("GET",`${S}?${w.join("&")}`),v.send(),v}}function s(l){a(l.reason||l.error||l.message,{errorType:"i"})}function c(){return n.location.search.toLowerCase().indexOf("lanadebug")!==-1}function h(){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),h()&&(n.lana.localhost=!0),n.addEventListener("error",s),n.addEventListener("unhandledrejection",s)})();var Qt=window,tr=Qt.ShadowRoot&&(Qt.ShadyCSS===void 0||Qt.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,qi=Symbol(),Wi=new WeakMap,er=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==qi)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(tr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=Wi.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&Wi.set(r,t))}return t}toString(){return this.cssText}},Zi=e=>new er(typeof e=="string"?e:e+"",void 0,qi);var Xr=(e,t)=>{tr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=Qt.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},rr=tr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Zi(r)})(e):e;var Wr,nr=window,Ji=nr.trustedTypes,ks=Ji?Ji.emptyScript:"",Qi=nr.reactiveElementPolyfillSupport,Zr={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}},eo=(e,t)=>t!==e&&(t==t||e==e),qr={attribute:!0,type:String,converter:Zr,reflect:!1,hasChanged:eo},Jr="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=qr){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)||qr}static finalize(){if(this.hasOwnProperty(Jr))return!1;this[Jr]=!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(rr(i))}else t!==void 0&&r.push(rr(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 Xr(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=qr){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:Zr).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:Zr;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||eo)(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[Jr]=!0,we.elementProperties=new Map,we.elementStyles=[],we.shadowRootOptions={mode:"open"},Qi?.({ReactiveElement:we}),((Wr=nr.reactiveElementVersions)!==null&&Wr!==void 0?Wr:nr.reactiveElementVersions=[]).push("1.6.3");var Qr,ir=window,qe=ir.trustedTypes,to=qe?qe.createPolicy("lit-html",{createHTML:e=>e}):void 0,tn="$lit$",xe=`lit$${(Math.random()+"").slice(9)}$`,co="?"+xe,Os=`<${co}>`,Ie=document,or=()=>Ie.createComment(""),Tt=e=>e===null||typeof e!="object"&&typeof e!="function",lo=Array.isArray,Rs=e=>lo(e)||typeof e?.[Symbol.iterator]=="function",en=`[ -\f\r]`,yt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ro=/-->/g,no=/>/g,Pe=RegExp(`>|${en}(?:([^\\s"'>=/]+)(${en}*=${en}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),io=/'/g,oo=/"/g,ho=/^(?:script|style|textarea|title)$/i,uo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Ah=uo(1),Eh=uo(2),Lt=Symbol.for("lit-noChange"),G=Symbol.for("lit-nothing"),ao=new WeakMap,Ce=Ie.createTreeWalker(Ie,129,null,!1);function mo(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return to!==void 0?to.createHTML(t):t}var Vs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=yt;for(let s=0;s"?(a=i??yt,d=-1):l[1]===void 0?d=-2:(d=a.lastIndex-l[2].length,h=l[1],a=l[3]===void 0?Pe:l[3]==='"'?oo:io):a===oo||a===io?a=Pe:a===ro||a===no?a=yt:(a=Pe,i=void 0);let m=a===Pe&&e[s+1].startsWith("/>")?" ":"";o+=a===yt?c+Os:d>=0?(n.push(h),c.slice(0,d)+tn+c.slice(d)+xe+m):c+xe+(d===-2?(n.push(void 0),s):m)}return[mo(e,o+(e[r]||"")+(t===2?"":"")),n]},_t=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[h,l]=Vs(t,r);if(this.el=e.createElement(h,n),Ce.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=Ce.nextNode())!==null&&c.length0){i.textContent=qe?qe.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=G}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=Ze(this,t,r,0),a=!Tt(t)||t!==this._$AH&&t!==Lt,a&&(this._$AH=t);else{let s=t,c,h;for(t=o[0],c=0;cnew wt(typeof e=="string"?e:e+"",void 0,cn),I=(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 wt(r,e,cn)},ln=(e,t)=>{cr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=sr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},lr=cr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return ve(r)})(e):e;var hn,hr=window,fo=hr.trustedTypes,Ms=fo?fo.emptyScript:"",go=hr.reactiveElementPolyfillSupport,un={toAttribute(e,t){switch(t){case Boolean:e=e?Ms: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}},xo=(e,t)=>t!==e&&(t==t||e==e),dn={attribute:!0,type:String,converter:un,reflect:!1,hasChanged:xo},mn="finalized",ce=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=dn){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)||dn}static finalize(){if(this.hasOwnProperty(mn))return!1;this[mn]=!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(lr(i))}else t!==void 0&&r.push(lr(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 ln(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=dn){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:un).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:un;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||xo)(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){}};ce[mn]=!0,ce.elementProperties=new Map,ce.elementStyles=[],ce.shadowRootOptions={mode:"open"},go?.({ReactiveElement:ce}),((hn=hr.reactiveElementVersions)!==null&&hn!==void 0?hn:hr.reactiveElementVersions=[]).push("1.6.3");var pn,dr=window,Qe=dr.trustedTypes,vo=Qe?Qe.createPolicy("lit-html",{createHTML:e=>e}):void 0,gn="$lit$",be=`lit$${(Math.random()+"").slice(9)}$`,Lo="?"+be,Us=`<${Lo}>`,Oe=document,Ct=()=>Oe.createComment(""),It=e=>e===null||typeof e!="object"&&typeof e!="function",_o=Array.isArray,Ds=e=>_o(e)||typeof e?.[Symbol.iterator]=="function",fn=`[ -\f\r]`,Pt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,bo=/-->/g,Ao=/>/g,Ne=RegExp(`>|${fn}(?:([^\\s"'>=/]+)(${fn}*=${fn}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),Eo=/'/g,So=/"/g,wo=/^(?:script|style|textarea|title)$/i,Po=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),x=Po(1),wh=Po(2),Re=Symbol.for("lit-noChange"),H=Symbol.for("lit-nothing"),yo=new WeakMap,ke=Oe.createTreeWalker(Oe,129,null,!1);function Co(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return vo!==void 0?vo.createHTML(t):t}var Gs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Pt;for(let s=0;s"?(a=i??Pt,d=-1):l[1]===void 0?d=-2:(d=a.lastIndex-l[2].length,h=l[1],a=l[3]===void 0?Ne:l[3]==='"'?So:Eo):a===So||a===Eo?a=Ne:a===bo||a===Ao?a=Pt:(a=Ne,i=void 0);let m=a===Ne&&e[s+1].startsWith("/>")?" ":"";o+=a===Pt?c+Us:d>=0?(n.push(h),c.slice(0,d)+gn+c.slice(d)+be+m):c+be+(d===-2?(n.push(void 0),s):m)}return[Co(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,[h,l]=Gs(t,r);if(this.el=e.createElement(h,n),ke.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=ke.nextNode())!==null&&c.length0){i.textContent=Qe?Qe.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=H}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=et(this,t,r,0),a=!It(t)||t!==this._$AH&&t!==Re,a&&(this._$AH=t);else{let s=t,c,h;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 kt(t.insertBefore(Ct(),s),s,void 0,r??{})}return a._$AI(e),a};var Sn,yn;var ee=class extends ce{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=Io(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,(Sn=globalThis.litElementHydrateSupport)===null||Sn===void 0||Sn.call(globalThis,{LitElement:ee});var No=globalThis.litElementPolyfillSupport;No?.({LitElement:ee});((yn=globalThis.litElementVersions)!==null&&yn!==void 0?yn:globalThis.litElementVersions=[]).push("3.3.3");var Ae="(max-width: 767px)",ur="(max-width: 1199px)",U="(min-width: 768px)",V="(min-width: 1200px)",K="(min-width: 1600px)";var ko=I` +var Ns=Object.create;var tr=Object.defineProperty;var ks=Object.getOwnPropertyDescriptor;var Os=Object.getOwnPropertyNames;var Rs=Object.getPrototypeOf,Ms=Object.prototype.hasOwnProperty;var to=e=>{throw TypeError(e)};var Vs=(e,t,r)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Hs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),$s=(e,t)=>{for(var r in t)tr(e,r,{get:t[r],enumerable:!0})},Us=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Os(t))!Ms.call(e,i)&&i!==r&&tr(e,i,{get:()=>t[i],enumerable:!(n=ks(t,i))||n.enumerable});return e};var Ds=(e,t,r)=>(r=e!=null?Ns(Rs(e)):{},Us(t||!e||!e.__esModule?tr(r,"default",{value:e,enumerable:!0}):r,e));var p=(e,t,r)=>Vs(e,typeof t!="symbol"?t+"":t,r),qr=(e,t,r)=>t.has(e)||to("Cannot "+r);var y=(e,t,r)=>(qr(e,t,"read from private field"),r?r.call(e):t.get(e)),G=(e,t,r)=>t.has(e)?to("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),j=(e,t,r,n)=>(qr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),xe=(e,t,r)=>(qr(e,t,"access private method"),r);var As=Hs((Vf,Eh)=>{Eh.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,u){h||(h={}),u||(u={});function d(m){return h[m]!==void 0?h[m]:u[m]!==void 0?u[m]:r[m]}return Object.keys(r).reduce((m,f)=>(m[f]=d(f),m),{})}function a(h,u){h=h&&h.stack?h.stack:h||"",h.length>2e3&&(h=`${h.slice(0,2e3)}`);let d=o(u,n.lana.options);if(!d.clientId){console.warn("LANA ClientID is not set in options.");return}let f=parseInt(new URL(window.location).searchParams.get("lana-sample"),10)||(d.errorType==="i"?d.implicitSampleRate:d.sampleRate);if(!n.lana.debug&&!n.lana.localhost&&f<=Math.random()*100)return;let g=i()||d.isProdDomain,L=!g||!d.useProd?d.endpointStage:d.endpoint,w=[`m=${encodeURIComponent(h)}`,`c=${encodeURI(d.clientId)}`,`s=${f}`,`t=${encodeURI(d.errorType)}`];if(d.tags&&w.push(`tags=${encodeURI(d.tags)}`),(!g||n.lana.debug||n.lana.localhost)&&console.log("LANA Msg: ",h,` +Opts:`,d),!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",`${L}?${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 rr=window,ir=rr.ShadowRoot&&(rr.ShadyCSS===void 0||rr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,no=Symbol(),ro=new WeakMap,nr=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==no)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(ir&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=ro.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&ro.set(r,t))}return t}toString(){return this.cssText}},io=e=>new nr(typeof e=="string"?e:e+"",void 0,no);var Zr=(e,t)=>{ir?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=rr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},or=ir?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return io(r)})(e):e;var Jr,ar=window,oo=ar.trustedTypes,Bs=oo?oo.emptyScript:"",ao=ar.reactiveElementPolyfillSupport,en={toAttribute(e,t){switch(t){case Boolean:e=e?Bs: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),Qr={attribute:!0,type:String,converter:en,reflect:!1,hasChanged:so},tn="finalized",Ce=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=Qr){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)||Qr}static finalize(){if(this.hasOwnProperty(tn))return!1;this[tn]=!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(or(i))}else t!==void 0&&r.push(or(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 Zr(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=Qr){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:en).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:en;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){}};Ce[tn]=!0,Ce.elementProperties=new Map,Ce.elementStyles=[],Ce.shadowRootOptions={mode:"open"},ao?.({ReactiveElement:Ce}),((Jr=ar.reactiveElementVersions)!==null&&Jr!==void 0?Jr:ar.reactiveElementVersions=[]).push("1.6.3");var rn,sr=window,Je=sr.trustedTypes,co=Je?Je.createPolicy("lit-html",{createHTML:e=>e}):void 0,on="$lit$",be=`lit$${(Math.random()+"").slice(9)}$`,go="?"+be,Gs=`<${go}>`,Ne=document,cr=()=>Ne.createComment(""),_t=e=>e===null||typeof e!="object"&&typeof e!="function",xo=Array.isArray,zs=e=>xo(e)||typeof e?.[Symbol.iterator]=="function",nn=`[ +\f\r]`,Lt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,lo=/-->/g,ho=/>/g,Pe=RegExp(`>|${nn}(?:([^\\s"'>=/]+)(${nn}*=${nn}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),uo=/'/g,mo=/"/g,bo=/^(?:script|style|textarea|title)$/i,vo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Ph=vo(1),Ih=vo(2),wt=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),po=new WeakMap,Ie=Ne.createTreeWalker(Ne,129,null,!1);function Ao(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return co!==void 0?co.createHTML(t):t}var Fs=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Lt;for(let s=0;s"?(a=i??Lt,u=-1):h[1]===void 0?u=-2:(u=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?Pe:h[3]==='"'?mo:uo):a===mo||a===uo?a=Pe:a===lo||a===ho?a=Lt:(a=Pe,i=void 0);let m=a===Pe&&e[s+1].startsWith("/>")?" ":"";o+=a===Lt?c+Gs:u>=0?(n.push(l),c.slice(0,u)+on+c.slice(u)+be+m):c+be+(u===-2?(n.push(void 0),s):m)}return[Ao(e,o+(e[r]||"")+(t===2?"":"")),n]},Ct=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]=Fs(t,r);if(this.el=e.createElement(l,n),Ie.currentNode=this.el.content,r===2){let u=this.el.content,d=u.firstChild;d.remove(),u.append(...d.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=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=!_t(t)||t!==this._$AH&&t!==wt,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;cnew Pt(typeof e=="string"?e:e+"",void 0,un),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 Pt(r,e,un)},dn=(e,t)=>{ur?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=hr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},dr=ur?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return ve(r)})(e):e;var mn,mr=window,So=mr.trustedTypes,js=So?So.emptyScript:"",To=mr.reactiveElementPolyfillSupport,fn={toAttribute(e,t){switch(t){case Boolean:e=e?js: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}},yo=(e,t)=>t!==e&&(t==t||e==e),pn={attribute:!0,type:String,converter:fn,reflect:!1,hasChanged:yo},gn="finalized",ce=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=pn){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)||pn}static finalize(){if(this.hasOwnProperty(gn))return!1;this[gn]=!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=pn){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:fn).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:fn;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||yo)(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){}};ce[gn]=!0,ce.elementProperties=new Map,ce.elementStyles=[],ce.shadowRootOptions={mode:"open"},To?.({ReactiveElement:ce}),((mn=mr.reactiveElementVersions)!==null&&mn!==void 0?mn:mr.reactiveElementVersions=[]).push("1.6.3");var xn,pr=window,tt=pr.trustedTypes,Lo=tt?tt.createPolicy("lit-html",{createHTML:e=>e}):void 0,vn="$lit$",Ae=`lit$${(Math.random()+"").slice(9)}$`,ko="?"+Ae,Ys=`<${ko}>`,Re=document,Nt=()=>Re.createComment(""),kt=e=>e===null||typeof e!="object"&&typeof e!="function",Oo=Array.isArray,Xs=e=>Oo(e)||typeof e?.[Symbol.iterator]=="function",bn=`[ +\f\r]`,It=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,_o=/-->/g,wo=/>/g,ke=RegExp(`>|${bn}(?:([^\\s"'>=/]+)(${bn}*=${bn}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),Co=/'/g,Po=/"/g,Ro=/^(?:script|style|textarea|title)$/i,Mo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),x=Mo(1),Vh=Mo(2),Me=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Io=new WeakMap,Oe=Re.createTreeWalker(Re,129,null,!1);function Vo(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Lo!==void 0?Lo.createHTML(t):t}var Ws=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=It;for(let s=0;s"?(a=i??It,u=-1):h[1]===void 0?u=-2:(u=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?ke:h[3]==='"'?Po:Co):a===Po||a===Co?a=ke:a===_o||a===wo?a=It:(a=ke,i=void 0);let m=a===ke&&e[s+1].startsWith("/>")?" ":"";o+=a===It?c+Ys:u>=0?(n.push(l),c.slice(0,u)+vn+c.slice(u)+Ae+m):c+Ae+(u===-2?(n.push(void 0),s):m)}return[Vo(e,o+(e[r]||"")+(t===2?"":"")),n]},Ot=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]=Ws(t,r);if(this.el=e.createElement(l,n),Oe.currentNode=this.el.content,r===2){let u=this.el.content,d=u.firstChild;d.remove(),u.append(...d.childNodes)}for(;(i=Oe.nextNode())!==null&&c.length0){i.textContent=tt?tt.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=rt(this,t,r,0),a=!kt(t)||t!==this._$AH&&t!==Me,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 Rt(t.insertBefore(Nt(),s),s,void 0,r??{})}return a._$AI(e),a};var Ln,_n;var ee=class extends ce{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=Ho(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 Me}};ee.finalized=!0,ee._$litElement$=!0,(Ln=globalThis.litElementHydrateSupport)===null||Ln===void 0||Ln.call(globalThis,{LitElement:ee});var $o=globalThis.litElementPolyfillSupport;$o?.({LitElement:ee});((_n=globalThis.litElementVersions)!==null&&_n!==void 0?_n:globalThis.litElementVersions=[]).push("3.3.3");var Ee="(max-width: 767px)",fr="(max-width: 1199px)",H="(min-width: 768px)",V="(min-width: 1200px)",F="(min-width: 1600px)";var Uo=P` :host { - --merch-card-border: 1px solid var(--spectrum-gray-200, var(--consonant-merch-card-border-color)); - position: relative; + --consonant-merch-card-background-color: #fff; + --consonant-merch-card-border: 1px solid var(--consonant-merch-card-border-color); + + -webkit-font-smoothing: antialiased; + background-color: var(--consonant-merch-card-background-color); + border-radius: var(--consonant-merch-spacing-xs); + border: var(--consonant-merch-card-border); + box-sizing: border-box; display: flex; flex-direction: column; - text-align: start; - background-color: var(--merch-card-background-color); - grid-template-columns: repeat(auto-fit, minmax(300px, max-content)); - background-color: var(--merch-card-background-color); font-family: var(--merch-body-font-family, 'Adobe Clean'); - border-radius: var(--consonant-merch-spacing-xs); - border: var(--merch-card-border); - box-sizing: border-box; + grid-template-columns: repeat(auto-fit, minmax(300px, max-content)); + position: relative; + text-align: start; } :host(.placeholder) { @@ -25,7 +27,6 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lan :host([aria-selected]) { outline: none; - box-sizing: border-box; box-shadow: inset 0 0 0 2px var(--color-accent); } @@ -220,9 +221,13 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lan display: flex; gap: 8px; } -`,Oo=()=>[I` + + ::slotted([slot='price']) { + color: var(--consonant-merch-card-price-color); + } +`,Do=()=>[P` /* Tablet */ - @media screen and ${ve(U)} { + @media screen and ${ve(H)} { :host([size='wide']), :host([size='super-wide']) { width: 100%; @@ -235,7 +240,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lan :host([size='wide']) { grid-column: span 2; } - `];var rt,Ot=class Ot{constructor(t){p(this,"card");M(this,rt,void 0);this.card=t,this.insertVariantStyle()}getContainer(){return j(this,rt,L(this,rt)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),L(this,rt)}insertVariantStyle(){if(!Ot.styleMap[this.card.variant]){Ot.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 it,Mt=class Mt{constructor(t){p(this,"card");G(this,it);this.card=t,this.insertVariantStyle()}getContainer(){return j(this,it,y(this,it)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),y(this,it)}insertVariantStyle(){if(!Mt.styleMap[this.card.variant]){Mt.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`
${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 stripStyle(){if(this.card.backgroundImage){let t=new Image;return 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")},` - background: url("${this.card.backgroundImage}"); - background-size: auto 100%; - background-repeat: no-repeat; - background-position: ${this.card.dir==="ltr"?"left":"right"}; - `}return""}get secureLabelFooter(){let t=this.card.secureLabel?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(){}};rt=new WeakMap,p(Ot,"styleMap",{});var N=Ot;function le(e,t={},r=""){let n=document.createElement(e);r instanceof HTMLElement?n.appendChild(r):n.innerHTML=r;for(let[i,o]of Object.entries(t))n.setAttribute(i,o);return n}function mr(){return window.matchMedia("(max-width: 767px)").matches}function Ro(){return window.matchMedia("(max-width: 1024px)").matches}var Hn={};Cs(Hn,{CLASS_NAME_FAILED:()=>Cn,CLASS_NAME_HIDDEN:()=>Fs,CLASS_NAME_PENDING:()=>In,CLASS_NAME_RESOLVED:()=>Nn,ERROR_MESSAGE_BAD_REQUEST:()=>gr,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>Js,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>kn,EVENT_AEM_ERROR:()=>$e,EVENT_AEM_LOAD:()=>Ve,EVENT_MAS_ERROR:()=>Pn,EVENT_MAS_READY:()=>wn,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>_n,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>qs,EVENT_MERCH_CARD_COLLECTION_SORT:()=>Ws,EVENT_MERCH_CARD_READY:()=>Ln,EVENT_MERCH_OFFER_READY:()=>Ks,EVENT_MERCH_OFFER_SELECT_READY:()=>Tn,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>fr,EVENT_MERCH_SEARCH_CHANGE:()=>Xs,EVENT_MERCH_SIDENAV_SELECT:()=>Zs,EVENT_MERCH_STOCK_CHANGE:()=>Ys,EVENT_MERCH_STORAGE_CHANGE:()=>pr,EVENT_OFFER_SELECTED:()=>Bs,EVENT_TYPE_FAILED:()=>On,EVENT_TYPE_PENDING:()=>Rn,EVENT_TYPE_READY:()=>nt,EVENT_TYPE_RESOLVED:()=>Vn,LOG_NAMESPACE:()=>$n,Landscape:()=>Me,NAMESPACE:()=>zs,PARAM_AOS_API_KEY:()=>Qs,PARAM_ENV:()=>Mn,PARAM_LANDSCAPE:()=>Un,PARAM_WCS_API_KEY:()=>ec,STATE_FAILED:()=>he,STATE_PENDING:()=>de,STATE_RESOLVED:()=>ue,TAG_NAME_SERVICE:()=>js,WCS_PROD_URL:()=>Dn,WCS_STAGE_URL:()=>Gn});var zs="merch",Fs="hidden",nt="wcms:commerce:ready",js="mas-commerce-service",Ks="merch-offer:ready",Tn="merch-offer-select:ready",Ln="merch-card:ready",_n="merch-card:action-menu-toggle",Bs="merch-offer:selected",Ys="merch-stock:change",pr="merch-storage:change",fr="merch-quantity-selector:change",Xs="merch-search:change",Ws="merch-card-collection:sort",qs="merch-card-collection:showmore",Zs="merch-sidenav:select",Ve="aem:load",$e="aem:error",wn="mas:ready",Pn="mas:error",Cn="placeholder-failed",In="placeholder-pending",Nn="placeholder-resolved",gr="Bad WCS request",kn="Commerce offer not found",Js="Literals URL not provided",On="mas:failed",Rn="mas:pending",Vn="mas:resolved",$n="mas/commerce",Mn="commerce.env",Un="commerce.landscape",Qs="commerce.aosKey",ec="commerce.wcsKey",Dn="https://www.adobe.com/web_commerce_artifact",Gn="https://www.stage.adobe.com/web_commerce_artifact_stage",he="failed",de="pending",ue="resolved",Me={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Vo=` + >`:"";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(){}};it=new WeakMap,p(Mt,"styleMap",{});var I=Mt;function le(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 gr(){return window.matchMedia("(max-width: 767px)").matches}function Bo(){return window.matchMedia("(max-width: 1024px)").matches}var Fn={};$s(Fn,{CLASS_NAME_FAILED:()=>kn,CLASS_NAME_HIDDEN:()=>Js,CLASS_NAME_PENDING:()=>On,CLASS_NAME_RESOLVED:()=>Rn,ERROR_MESSAGE_BAD_REQUEST:()=>vr,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>sc,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>Mn,EVENT_AEM_ERROR:()=>He,EVENT_AEM_LOAD:()=>Ve,EVENT_MAS_ERROR:()=>Nn,EVENT_MAS_READY:()=>In,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Pn,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>oc,EVENT_MERCH_CARD_COLLECTION_SORT:()=>ic,EVENT_MERCH_CARD_READY:()=>Cn,EVENT_MERCH_OFFER_READY:()=>ec,EVENT_MERCH_OFFER_SELECT_READY:()=>wn,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>br,EVENT_MERCH_SEARCH_CHANGE:()=>nc,EVENT_MERCH_SIDENAV_SELECT:()=>ac,EVENT_MERCH_STOCK_CHANGE:()=>rc,EVENT_MERCH_STORAGE_CHANGE:()=>xr,EVENT_OFFER_SELECTED:()=>tc,EVENT_TYPE_FAILED:()=>Vn,EVENT_TYPE_PENDING:()=>Hn,EVENT_TYPE_READY:()=>ot,EVENT_TYPE_RESOLVED:()=>$n,LOG_NAMESPACE:()=>Un,Landscape:()=>$e,NAMESPACE:()=>Zs,PARAM_AOS_API_KEY:()=>cc,PARAM_ENV:()=>Dn,PARAM_LANDSCAPE:()=>Bn,PARAM_WCS_API_KEY:()=>lc,STATE_FAILED:()=>he,STATE_PENDING:()=>ue,STATE_RESOLVED:()=>de,TAG_NAME_SERVICE:()=>Qs,WCS_PROD_URL:()=>Gn,WCS_STAGE_URL:()=>zn});var Zs="merch",Js="hidden",ot="wcms:commerce:ready",Qs="mas-commerce-service",ec="merch-offer:ready",wn="merch-offer-select:ready",Cn="merch-card:ready",Pn="merch-card:action-menu-toggle",tc="merch-offer:selected",rc="merch-stock:change",xr="merch-storage:change",br="merch-quantity-selector:change",nc="merch-search:change",ic="merch-card-collection:sort",oc="merch-card-collection:showmore",ac="merch-sidenav:select",Ve="aem:load",He="aem:error",In="mas:ready",Nn="mas:error",kn="placeholder-failed",On="placeholder-pending",Rn="placeholder-resolved",vr="Bad WCS request",Mn="Commerce offer not found",sc="Literals URL not provided",Vn="mas:failed",Hn="mas:pending",$n="mas:resolved",Un="mas/commerce",Dn="commerce.env",Bn="commerce.landscape",cc="commerce.aosKey",lc="commerce.wcsKey",Gn="https://www.adobe.com/web_commerce_artifact",zn="https://www.stage.adobe.com/web_commerce_artifact_stage",he="failed",ue="pending",de="resolved",$e={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Go=` :root { --consonant-merch-card-catalog-width: 276px; --consonant-merch-card-catalog-icon-size: 40px; @@ -267,7 +267,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lan grid-template-columns: var(--consonant-merch-card-catalog-width); } -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-catalog-width: 302px; } @@ -290,7 +290,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let v=new XMLHttpRequest;return n.lan } } -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.catalog { grid-template-columns: repeat(4, var(--consonant-merch-card-catalog-width)); } @@ -332,7 +332,7 @@ merch-card[variant="catalog"] [slot="action-menu-content"] p { } merch-card[variant="catalog"] [slot="action-menu-content"] a { - color: var(--merch-card-background-color); + color: var(--consonant-merch-card-background-color); text-decoration: underline; } @@ -341,12 +341,12 @@ merch-card[variant="catalog"] .payment-details { font-style: italic; font-weight: 400; line-height: var(--consonant-merch-card-body-line-height); -}`;var tc={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"]},it=class extends N{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(_n,{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 tc}renderLayout(){return x`
+}`;var Kn={size:["wide","super-wide"],title:{tag:"h3",slot:"heading-xs"},badge:!0,prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"m"},allowedSizes:["wide","super-wide"]},at=class extends I{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(Pn,{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 Kn}renderLayout(){return x`
${this.badge}
`:""}
${this.secureLabelFooter} - `}getGlobalCSS(){return Vo}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(it,"variantStyle",I` + `}getGlobalCSS(){return Go}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(at,"variantStyle",P` :host([variant='catalog']) { min-height: 330px; width: var(--consonant-merch-card-catalog-width); @@ -389,7 +389,7 @@ merch-card[variant="catalog"] .payment-details { margin-left: var(--consonant-merch-spacing-xxs); box-sizing: border-box; } - `);var $o=` + `);var zo=` :root { --consonant-merch-card-image-width: 300px; } @@ -401,7 +401,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${U} { +@media screen and ${H} { .two-merch-cards.image, .three-merch-cards.image, .four-merch-cards.image { @@ -420,12 +420,12 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.image { grid-template-columns: repeat(4, var(--consonant-merch-card-image-width)); } } -`;var xr=class extends N{constructor(t){super(t)}getGlobalCSS(){return $o}renderLayout(){return x`${this.cardImage} +`;var Ar=class extends I{constructor(t){super(t)}getGlobalCSS(){return zo}renderLayout(){return x`${this.cardImage}
@@ -442,7 +442,7 @@ merch-card[variant="catalog"] .payment-details { `:x`
${this.secureLabelFooter} - `}`}};var Mo=` + `}`}};var Fo=` :root { --consonant-merch-card-inline-heading-width: 300px; } @@ -454,7 +454,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-inline-heading-width); } -@media screen and ${U} { +@media screen and ${H} { .two-merch-cards.inline-heading, .three-merch-cards.inline-heading, .four-merch-cards.inline-heading { @@ -473,12 +473,12 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.inline-heading { grid-template-columns: repeat(4, var(--consonant-merch-card-inline-heading-width)); } } -`;var vr=class extends N{constructor(t){super(t)}getGlobalCSS(){return Mo}renderLayout(){return x` ${this.badge} +`;var Er=class extends I{constructor(t){super(t)}getGlobalCSS(){return Fo}renderLayout(){return x` ${this.badge}
@@ -486,7 +486,7 @@ merch-card[variant="catalog"] .payment-details {
- ${this.card.customHr?"":x`
`} ${this.secureLabelFooter}`}};var Uo=` + ${this.card.customHr?"":x`
`} ${this.secureLabelFooter}`}};var Ko=` :root { --consonant-merch-card-mini-compare-chart-icon-size: 32px; --consonant-merch-card-mini-compare-mobile-cta-font-size: 15px; @@ -593,7 +593,7 @@ merch-card[variant="catalog"] .payment-details { } /* mini compare mobile */ -@media screen and ${Ae} { +@media screen and ${Ee} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -631,7 +631,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${ur} { +@media screen and ${fr} { .three-merch-cards.mini-compare-chart merch-card [slot="footer"] a, .four-merch-cards.mini-compare-chart merch-card [slot="footer"] a { flex: 1; @@ -662,7 +662,7 @@ merch-card[variant="catalog"] .payment-details { line-height: var(--consonant-merch-card-body-xs-line-height); } } -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -701,7 +701,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.mini-compare-chart { grid-template-columns: repeat(4, var(--consonant-merch-card-mini-compare-chart-width)); } @@ -738,11 +738,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 rc=32,ot=class extends N{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,st=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"),["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"].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"]')?.children].forEach((n,i)=>{let o=Math.max(rc,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 Ko}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section"),["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"].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"]')?.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}
@@ -754,7 +754,7 @@ merch-card .footer-row-cell:nth-child(8) { ${this.getMiniCompareFooter()} - `}async postCardUpdateHook(){mr()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(ot,"variantStyle",I` + `}async postCardUpdateHook(){gr()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(st,"variantStyle",P` :host([variant='mini-compare-chart']) > slot:not([name='icons']) { display: block; } @@ -770,7 +770,7 @@ merch-card .footer-row-cell:nth-child(8) { height: var(--consonant-merch-card-mini-compare-chart-top-section-height); } - @media screen and ${ve(ur)} { + @media screen and ${ve(fr)} { [class*'-merch-cards'] :host([variant='mini-compare-chart']) footer { flex-direction: column; align-items: stretch; @@ -826,7 +826,7 @@ merch-card .footer-row-cell:nth-child(8) { --consonant-merch-card-mini-compare-chart-callout-content-height ); } - `);var Do=` + `);var jo=` :root { --consonant-merch-card-plans-width: 300px; --consonant-merch-card-plans-icon-size: 40px; @@ -852,7 +852,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-plans-width: 302px; } @@ -875,12 +875,12 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Large desktop */ - @media screen and ${K} { + @media screen and ${F} { .four-merch-cards.plans { grid-template-columns: repeat(4, var(--consonant-merch-card-plans-width)); } } -`;var at=class extends N{constructor(t){super(t)}getGlobalCSS(){return Do}postCardUpdateHook(){this.adjustTitleWidth()}get stockCheckbox(){return this.card.checkboxLabel?x`
- ${this.secureLabelFooter}`}};p(at,"variantStyle",I` + ${this.secureLabelFooter}`}};p(ct,"variantStyle",P` :host([variant='plans']) { min-height: 348px; } @@ -904,7 +904,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 Go=` + `);var Yo=` :root { --consonant-merch-card-product-width: 300px; } @@ -918,7 +918,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${U} { +@media screen and ${H} { .two-merch-cards.product, .three-merch-cards.product, .four-merch-cards.product { @@ -939,12 +939,12 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Large desktop */ -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.product { grid-template-columns: repeat(4, var(--consonant-merch-card-product-width)); } } -`;var Ue=class extends N{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Go}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 Ue=class extends I{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Yo}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}
@@ -955,7 +955,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&&(mr()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p(Ue,"variantStyle",I` + ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(gr()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p(Ue,"variantStyle",P` :host([variant='product']) > slot:not([name='icons']) { display: block; } @@ -983,7 +983,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 Ho=` + `);var Xo=` :root { --consonant-merch-card-segment-width: 378px; } @@ -997,13 +997,13 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Mobile */ -@media screen and ${Ae} { +@media screen and ${Ee} { :root { --consonant-merch-card-segment-width: 276px; } } -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-segment-width: 276px; } @@ -1029,7 +1029,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, minmax(276px, var(--consonant-merch-card-segment-width))); } } -`;var st=class extends N{constructor(t){super(t)}getGlobalCSS(){return Ho}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return x` ${this.badge} +`;var lt=class extends I{constructor(t){super(t)}getGlobalCSS(){return Xo}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return x` ${this.badge}
@@ -1038,14 +1038,14 @@ merch-card[variant="plans"] [slot="quantity-select"] { ${this.promoBottom?x``:""}

- ${this.secureLabelFooter}`}};p(st,"variantStyle",I` + ${this.secureLabelFooter}`}};p(lt,"variantStyle",P` :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 Wo=` :root { --consonant-merch-card-special-offers-width: 378px; } @@ -1062,13 +1062,13 @@ 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 ${Ae} { +@media screen and ${Ee} { :root { --consonant-merch-card-special-offers-width: 302px; } } -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-special-offers-width: 302px; } @@ -1088,12 +1088,12 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri } } -@media screen and ${K} { +@media screen and ${F} { .four-merch-cards.special-offers { grid-template-columns: repeat(4, minmax(300px, var(--consonant-merch-card-special-offers-width))); } } -`;var nc={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"}},ct=class extends N{constructor(t){super(t)}getGlobalCSS(){return zo}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return nc}renderLayout(){return x`${this.cardImage} +`;var jn={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"}},ht=class extends I{constructor(t){super(t)}getGlobalCSS(){return Wo}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return jn}renderLayout(){return x`${this.cardImage}
@@ -1110,7 +1110,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri
${this.secureLabelFooter} `} - `}};p(ct,"variantStyle",I` + `}};p(ht,"variantStyle",P` :host([variant='special-offers']) { min-height: 439px; } @@ -1122,7 +1122,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri :host([variant='special-offers'].center) { text-align: center; } - `);var Fo=` + `);var qo=` :root { --consonant-merch-card-twp-width: 268px; --consonant-merch-card-twp-mobile-width: 300px; @@ -1177,7 +1177,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${Ae} { +@media screen and ${Ee} { :root { --consonant-merch-card-twp-width: 300px; } @@ -1188,7 +1188,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${U} { +@media screen and ${H} { :root { --consonant-merch-card-twp-width: 268px; } @@ -1214,7 +1214,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${K} { +@media screen and ${F} { .one-merch-card.twp .two-merch-cards.twp { grid-template-columns: repeat(2, var(--consonant-merch-card-twp-width)); @@ -1223,7 +1223,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: repeat(3, var(--consonant-merch-card-twp-width)); } } -`;var lt=class extends N{constructor(t){super(t)}getGlobalCSS(){return Fo}renderLayout(){return x`${this.badge} +`;var ut=class extends I{constructor(t){super(t)}getGlobalCSS(){return qo}renderLayout(){return x`${this.badge}
@@ -1232,7 +1232,7 @@ merch-card[variant='twp'] merch-offer-select {
-
`}};p(lt,"variantStyle",I` +
`}};p(ut,"variantStyle",P` :host([variant='twp']) { padding: 4px 10px 5px 10px; } @@ -1271,255 +1271,230 @@ merch-card[variant='twp'] merch-offer-select { flex-direction: column; align-self: flex-start; } - `);var jo=` -:root { - --merch-card-ccd-suggested-width: 305px; - --merch-card-ccd-suggested-height: 205px; - --merch-card-ccd-suggested-background-img-size: 119px; -} - -sp-theme[color='light'] merch-card[variant="ccd-suggested"] { - background-color: var(--ccd-gray-100-light, #F8F8F8); - color: var(--ccd-gray-700-dark, #464646); - border: 1px solid var(--ccd-gray-200-light, #E6E6E6); -} + `);var Zo=` -sp-theme[color='light'] merch-card[variant="ccd-suggested"] [slot="body-xs"] { - color: var(--ccd-gray-700-dark, #464646); -} + merch-card[variant="ccd-suggested"] [slot="heading-xs"] { + font-size: var(--consonant-merch-card-heading-xxs-font-size); + line-height: var(--consonant-merch-card-heading-xxs-line-height); + } + + merch-card[variant="ccd-suggested"] [slot="body-xs"] a { + font-size: var(--consonant-merch-card-body-xxs-font-size); + line-height: var(--consonant-merch-card-body-xxs-line-height); + } -sp-theme[color='dark'] merch-card[variant="ccd-suggested"] [slot="body-xs"] { - color: var(--ccd-gray-100-light, #F8F8F8); +.spectrum--darkest merch-card[variant="ccd-suggested"] { + --consonant-merch-card-background-color:rgb(30, 30, 30); + --consonant-merch-card-heading-xs-color:rgb(239, 239, 239); + --consonant-merch-card-body-xs-color:rgb(200, 200, 200); + --consonant-merch-card-border-color:rgb(57, 57, 57); + --consonant-merch-card-detail-s-color:rgb(162, 162, 162); + --consonant-merch-card-price-color:rgb(248, 248, 248); + --merch-color-inline-price-strikethrough:rgb(176, 176, 176); } -sp-theme[color='dark'] merch-card[variant="ccd-suggested"] { - background-color: var(--ccd-gray-800-dark, #222); - color: var(--ccd-gray-100-light, #F8F8F8); - border: 1px solid var(--ccd-gray-700-dark, #464646); +.spectrum--darkest merch-card[variant="ccd-suggested"]:hover { + --consonant-merch-card-border-color:rgb(73, 73, 73); } +`;var Yn={size:[],mnemonics:{size:"l"},badge:!0,subtitle:{tag:"h4",slot:"detail-s"},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 Zo}get aemFragmentMapping(){return Yn}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 x`
+
+
+ + ${this.badge} +
+
+ + +
+
+ + +
+ `}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` + :host([variant='ccd-suggested']) { + --consonant-merch-card-background-color: rgb(245, 245, 245); + --consonant-merch-card-body-xs-color: rgb(75, 75, 75); + --consonant-merch-card-border-color: rgb(225, 225, 225); + --consonant-merch-card-detail-s-color: rgb(110, 110, 110); + --consonant-merch-card-heading-xs-color: rgb(44, 44, 44); + --merch-color-inline-price-strikethrough: var(--spectrum-gray-600); + --mod-img-height: 38px; -merch-card[variant="ccd-suggested"] [slot="detail-s"] { - color: var(--merch-color-grey-60); -} + box-sizing: border-box; + width: 100%; + max-width: 305px; + min-width: 270px; + min-height: 205px; + border-radius: 4px; + display: flex; + flex-flow: wrap; + overflow: hidden; + } -merch-card[variant="ccd-suggested"] [slot="heading-xs"] { - color: var(--spectrum-gray-800, #F8F8F8); - font-size: var(--merch-card-heading-xxs-font-size); - line-height: var(--merch-card-heading-xxs-line-height); -} + :host([variant='ccd-slice']) * { + overflow: hidden; + } -merch-card[variant="ccd-suggested"] [slot="body-xs"] a { - font-size: var(--consonant-merch-card-body-xxs-font-size); - line-height: var(--consonant-merch-card-body-xxs-line-height); - text-decoration: underline; - color: var(--spectrum-blue-800, var(--color-accent)); -} + :host([variant='ccd-suggested']:hover) { + --consonant-merch-card-border-color: #cacaca; + } -merch-card[variant="ccd-suggested"] [slot="price"] span.placeholder-resolved[data-template="priceStrikethrough"], -merch-card[variant="ccd-suggested"] [slot="price"] span.placeholder-resolved[data-template="strikethrough"] { - text-decoration: line-through; - color: var(--ccd-gray-600-light, var(--merch-color-grey-60)); -} + :host([variant='ccd-suggested']) .body { + height: auto; + padding: 20px; + gap: 0; + } -merch-card[variant="ccd-suggested"] [slot="cta"] a { - font-size: var(--consonant-merch-card-body-xs-font-size); - line-height: normal; - text-decoration: none; - color: var(--spectrum-gray-800, var(--merch-color-grey-80)); - font-weight: 700; -} + :host([variant='ccd-suggested'].thin-strip) .body { + padding: 20px 20px 20px 28px; + } -sp-theme[color='dark'] merch-card[variant="ccd-suggested"] [slot="cta"] sp-button[treatment="outline"] { - color: var(--ccd-gray-200-light, #E6E6E6); - border: 2px solid var(--ccd-gray-200-light, #E6E6E6); -} -`;var ic={mnemonics:{size:"l"},subtitle:{tag:"h4",slot:"detail-s"},title:{tag:"h3",slot:"heading-xs"},prices:{tag:"p",slot:"price"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"cta",size:"m"}},ht=class extends N{getGlobalCSS(){return jo}get aemFragmentMapping(){return ic}renderLayout(){return x` -
-
-
- - ${this.badge} -
-
- - -
-
- - -
- `}};p(ht,"variantStyle",I` - :host([variant='ccd-suggested']) { - width: var(--merch-card-ccd-suggested-width); - min-width: var(--merch-card-ccd-suggested-width); - min-height: var(--merch-card-ccd-suggested-height); - border-radius: 4px; - display: flex; - flex-flow: wrap; - overflow: hidden; - } + :host([variant='ccd-suggested']) .header { + display: flex; + flex-flow: wrap; + place-self: flex-start; + flex-wrap: nowrap; + } - :host([variant='ccd-suggested']) .body { - height: auto; - padding: 20px; - gap: 0; - } + :host([variant='ccd-suggested']) .headings { + padding-inline-start: var(--consonant-merch-spacing-xxs); + display: flex; + flex-direction: column; + justify-content: space-between; + } - :host([variant='ccd-suggested'].thin-strip) .body { - padding: 20px 20px 20px 28px; - } + :host([variant='ccd-suggested']) ::slotted([slot='icons']) { + place-self: center; + } - :host([variant='ccd-suggested']) .header { - display: flex; - flex-flow: wrap; - place-self: flex-start; - flex-wrap: nowrap; - } + :host([variant='ccd-suggested']) ::slotted([slot='heading-xs']) { + font-size: var(--consonant-merch-card-heading-xxs-font-size); + line-height: var(--consonant-merch-card-heading-xxs-line-height); + } - :host([variant='ccd-suggested']) .headings { - padding-inline-start: var(--consonant-merch-spacing-xxs); - display: flex; - flex-direction: column; - gap: 2px; - } + :host([variant='ccd-suggested']) ::slotted([slot='detail-m']) { + line-height: var(--consonant-merch-card-detail-m-line-height); + } - :host([variant='ccd-suggested']) ::slotted([slot='icons']) { - place-self: center; - } + :host([variant='ccd-suggested']) ::slotted([slot='body-xs']) { + color: var(--ccd-gray-700-dark); + padding-top: 8px; + flex-grow: 1; + } - :host([variant='ccd-suggested']) ::slotted([slot='heading-xs']) { - font-size: var(--merch-card-heading-xxs-font-size); - line-height: var(--merch-card-heading-xxs-line-height); - } - - :host([variant='ccd-suggested']) ::slotted([slot='detail-m']) { - line-height: var(--consonant-merch-card-detail-m-line-height); - } + :host([variant='ccd-suggested'].wide-strip) + ::slotted([slot='body-xs']) { + padding-inline-start: 48px; + } - :host([variant='ccd-suggested']) ::slotted([slot='body-xs']) { - color: var(--ccd-gray-700-dark, #464646); - padding-top: 6px; - } - - :host([variant='ccd-suggested'].wide-strip) ::slotted([slot='body-xs']) { - padding-inline-start: 48px; - } + :host([variant='ccd-suggested'].wide-strip) ::slotted([slot='price']) { + padding-inline-start: 48px; + } - :host([variant='ccd-suggested'].wide-strip) ::slotted([slot='price']) { - padding-inline-start: 48px; - } + :host([variant='ccd-suggested']) ::slotted([slot='price']) { + font-size: var(--consonant-merch-card-body-xs-font-size); + line-height: var(--consonant-merch-card-body-xs-line-height); + min-width: fit-content; + } - :host([variant='ccd-suggested']) ::slotted([slot='price']) { - display: flex; - align-items: center; - color: var(--spectrum-gray-800, #F8F8F8); - font-size: var(--consonant-merch-card-body-xs-font-size); - line-height: var(--consonant-merch-card-body-xs-line-height); - min-width: fit-content; - } - - :host([variant='ccd-suggested']) ::slotted([slot='price']) span.placeholder-resolved[data-template="priceStrikethrough"] { - text-decoration: line-through; - } + :host([variant='ccd-suggested']) ::slotted([slot='cta']) { + display: flex; + align-items: center; + min-width: fit-content; + } - :host([variant='ccd-suggested']) ::slotted([slot='cta']) { - display: flex; - align-items: center; - min-width: fit-content; - } + :host([variant='ccd-suggested']) .footer { + display: flex; + justify-content: space-between; + flex-grow: 0; + margin-top: 6px; + align-items: center; + } - :host([variant='ccd-suggested']) .footer { - display: flex; - justify-content: space-between; - flex-grow: 0; - margin-top: auto; - align-items: center; - } + :host([variant='ccd-suggested']) div[class$='-badge'] { + position: static; + border-radius: 4px; + } - :host([variant='ccd-suggested']) div[class$='-badge'] { - position: static; - border-radius: 4px; - } + :host([variant='ccd-suggested']) .top-section { + align-items: center; + } + `);var Jo=` - :host([variant='ccd-suggested']) .top-section { - align-items: center; - } - `);var Ko=` -:root { - --consonant-merch-card-ccd-slice-single-width: 322px; - --consonant-merch-card-ccd-slice-icon-size: 30px; - --consonant-merch-card-ccd-slice-wide-width: 600px; - --consonant-merch-card-ccd-slice-single-height: 154px; - --consonant-merch-card-ccd-slice-background-img-size: 119px; -} -sp-theme[color='light'] merch-card[variant="ccd-slice"] { - background-color: var(--ccd-gray-100-light, #F8F8F8); - color: var(--ccd-gray-800-dark, #222); - border: 1px solid var(--ccd-gray-200-light, #E6E6E6) -} - -sp-theme[color='dark'] merch-card[variant="ccd-slice"] { - background-color: var(--ccd-gray-800-dark, #222); - color: var(--ccd-gray-100-light, #F8F8F8); - border: 1px solid var(--ccd-gray-700-dark, #464646); +merch-card[variant="ccd-slice"] [slot='image'] img { + overflow: hidden; + border-radius: 50%; } -merch-card[variant="ccd-slice"] [slot='body-s'] a:not(.con-button) { +merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { font-size: var(--consonant-merch-card-body-xxs-font-size); font-style: normal; font-weight: 400; line-height: var(--consonant-merch-card-body-xxs-line-height); - text-decoration-line: underline; - color: var(--spectrum-gray-800, var(--merch-color-grey-80)); } -merch-card[variant="ccd-slice"] [slot="body-s"] span.placeholder-resolved[data-template="priceStrikethrough"], -merch-card[variant="ccd-slice"] [slot="body-s"] span.placeholder-resolved[data-template="strikethrough"] { - text-decoration: line-through; - color: var(--ccd-gray-600-light, var(--merch-color-grey-60)); -} - -merch-card[variant="ccd-slice"] [slot='image'] img { - overflow: hidden; - border-radius: 50%; +.spectrum--darkest merch-card[variant="ccd-slice"] { + --consonant-merch-card-background-color:rgb(29, 29, 29); + --consonant-merch-card-body-s-color:rgb(235, 235, 235); + --consonant-merch-card-border-color:rgb(48, 48, 48); + --consonant-merch-card-detail-s-color:rgb(235, 235, 235); } -`;var oc={mnemonics:{size:"m"},backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"s"},allowedSizes:["wide"]},dt=class extends N{getGlobalCSS(){return Ko}get aemFragmentMapping(){return oc}renderLayout(){return x`
+`;var Xn={size:["wide"],mnemonics:{size:"m"},badge:!0,backgroundImage:{tag:"div",slot:"image"},description:{tag:"div",slot:"body-s"},ctas:{slot:"footer",size:"S"},allowedSizes:["wide"]},mt=class extends I{getGlobalCSS(){return Jo}get aemFragmentMapping(){return Xn}renderLayout(){return x`
- - ${this.badge} -
+ + ${this.badge} +
- `}};p(dt,"variantStyle",I` + `}};p(mt,"variantStyle",P` :host([variant='ccd-slice']) { + --consonant-merch-card-background-color: rgb(248, 248, 248); + --consonant-merch-card-border-color: rgb(230, 230, 230); + --consonant-merch-card-body-s-color: rgb(34, 34, 34); + --merch-color-inline-price-strikethrough: var(--spectrum-gray-600); + --mod-img-height: 29px; + + box-sizing: border-box; min-width: 290px; - max-width: var(--consonant-merch-card-ccd-slice-single-width); - max-height: var(--consonant-merch-card-ccd-slice-single-height); - height: var(--consonant-merch-card-ccd-slice-single-height); - border: 1px solid var(--spectrum-gray-700); + max-width: 322px; + width: 100%; + max-height: 154px; + height: 154px; border-radius: 4px; display: flex; flex-flow: wrap; } + :host([variant='ccd-slice']) * { + overflow: hidden; + } + :host([variant='ccd-slice']) ::slotted([slot='body-s']) { font-size: var(--consonant-merch-card-body-xs-font-size); line-height: var(--consonant-merch-card-body-xxs-line-height); - max-width: 154px; + min-width: 154px; + max-width: 171px; + max-height: 55px; + overflow: hidden; } :host([variant='ccd-slice'][size='wide']) ::slotted([slot='body-s']) { - max-width: 425px; + max-width: 425px; } :host([variant='ccd-slice'][size='wide']) { - width: var(--consonant-merch-card-ccd-slice-wide-width); - max-width: var(--consonant-merch-card-ccd-slice-wide-width); + width: 600px; + max-width: 600px; } :host([variant='ccd-slice']) .content { @@ -1528,6 +1503,7 @@ merch-card[variant="ccd-slice"] [slot='image'] img { padding: 15px; padding-inline-end: 0; width: 154px; + min-height: 123px; flex-direction: column; justify-content: space-between; align-items: flex-start; @@ -1549,8 +1525,8 @@ merch-card[variant="ccd-slice"] [slot='image'] img { display: flex; justify-content: center; flex-shrink: 0; - width: var(--consonant-merch-card-ccd-slice-background-img-size); - height: var(--consonant-merch-card-ccd-slice-background-img-size); + width: 134px; + height: 149px; overflow: hidden; border-radius: 50%; padding: 15px; @@ -1579,7 +1555,7 @@ merch-card[variant="ccd-slice"] [slot='image'] img { align-items: center; gap: 8px; } - `);var zn=(e,t=!1)=>{switch(e.variant){case"catalog":return new it(e);case"image":return new xr(e);case"inline-heading":return new vr(e);case"mini-compare-chart":return new ot(e);case"plans":return new at(e);case"product":return new Ue(e);case"segment":return new st(e);case"special-offers":return new ct(e);case"twp":return new lt(e);case"ccd-suggested":return new ht(e);case"ccd-slice":return new dt(e);default:return t?void 0:new Ue(e)}},Bo=()=>{let e=[];return e.push(it.variantStyle),e.push(ot.variantStyle),e.push(Ue.variantStyle),e.push(at.variantStyle),e.push(st.variantStyle),e.push(ct.variantStyle),e.push(lt.variantStyle),e.push(ht.variantStyle),e.push(dt.variantStyle),e};var Yo=document.createElement("style");Yo.innerHTML=` + `);var Wn=(e,t=!1)=>{switch(e.variant){case"catalog":return new at(e);case"image":return new Ar(e);case"inline-heading":return new Er(e);case"mini-compare-chart":return new st(e);case"plans":return new ct(e);case"product":return new Ue(e);case"segment":return new lt(e);case"special-offers":return new ht(e);case"twp":return new ut(e);case"ccd-suggested":return new dt(e);case"ccd-slice":return new mt(e);default:return t?void 0:new Ue(e)}},Qo={catalog:Kn,image:null,"inline-heading":null,"mini-compare-chart":null,plans:null,product:null,segment:null,"special-offers":jn,twp:null,"ccd-suggested":Yn,"ccd-slice":Xn},ea=()=>{let e=[];return e.push(at.variantStyle),e.push(st.variantStyle),e.push(Ue.variantStyle),e.push(ct.variantStyle),e.push(lt.variantStyle),e.push(ht.variantStyle),e.push(ut.variantStyle),e.push(dt.variantStyle),e.push(mt.variantStyle),e};var ta=document.createElement("style");ta.innerHTML=` :root { --consonant-merch-card-detail-font-size: 12px; --consonant-merch-card-detail-font-weight: 500; @@ -1606,8 +1582,8 @@ merch-card[variant="ccd-slice"] [slot='image'] img { --consonant-merch-card-cta-font-size: 15px; /* headings */ - --merch-card-heading-xxs-font-size: 16px; - --merch-card-heading-xxs-line-height: 20px; + --consonant-merch-card-heading-xxs-font-size: 16px; + --consonant-merch-card-heading-xxs-line-height: 20px; --consonant-merch-card-heading-xs-font-size: 18px; --consonant-merch-card-heading-xs-line-height: 22.5px; --consonant-merch-card-heading-s-font-size: 20px; @@ -1620,8 +1596,8 @@ merch-card[variant="ccd-slice"] [slot='image'] img { --consonant-merch-card-heading-xl-line-height: 45px; /* detail */ - --merch-card-detail-s-font-size: 11px; - --merch-card-detail-s-line-height: 14px; + --consonant-merch-card-detail-s-font-size: 11px; + --consonant-merch-card-detail-s-line-height: 14px; --consonant-merch-card-detail-m-font-size: 12px; --consonant-merch-card-detail-m-line-height: 15px; --consonant-merch-card-detail-m-font-weight: 700; @@ -1646,28 +1622,31 @@ merch-card[variant="ccd-slice"] [slot='image'] img { --consonant-merch-card-heading-padding: 0; /* colors */ - --merch-card-background-color: var(--spectrum-gray-background-color-default, #fff); + --consonant-merch-card-background-color: inherit; --consonant-merch-card-border-color: #eaeaea; --color-accent: rgb(59, 99, 251); --merch-color-focus-ring: #1473E6; --merch-color-grey-10: #f6f6f6; - --merch-color-grey-60: #6D6D6D; + --merch-color-grey-60: var(--specturm-gray-600); --merch-color-grey-80: #2c2c2c; --merch-color-grey-200: #E8E8E8; --merch-color-grey-600: #686868; --merch-color-green-promo: #2D9D78; + --consonant-merch-card-body-xs-color: var(--spectrum-gray-100, var(--merch-color-grey-80)); + --merch-color-inline-price-strikethrough: initial; + --consonant-merch-card-detail-s-color: var(--spectrum-gray-600, var(--merch-color-grey-600)); + --consonant-merch-card-heading-color: var(--spectrum-gray-800, var(--merch-color-grey-80)); + --consonant-merch-card-heading-xs-color: var(--consonant-merch-card-heading-color); + --consonant-merch-card-price-color: #222222; /* ccd colors */ - --ccd-gray-100-light: #F8F8F8; --ccd-gray-200-light: #E6E6E6; --ccd-gray-800-dark: #222; --ccd-gray-700-dark: #464646; --ccd-gray-600-light: #6D6D6D; - --ccd-gray-200-dark: #3F3F3F; - - - + + /* merch card generic */ --consonant-merch-card-max-width: 300px; --transition: cmax-height 0.3s linear, opacity 0.3s linear; @@ -1721,6 +1700,11 @@ merch-card-collection > div[slot] p { padding: var(--spacing-m); } +merch-card[variant="ccd-suggested"] *, +merch-card[variant="ccd-slice"] * { + box-sizing: border-box; +} + merch-card.background-opacity-70 { background-color: rgba(255 255 255 / 70%); } @@ -1739,18 +1723,15 @@ merch-card span[is='inline-price'] { display: inline-block; } -merch-card sp-button a[is='checkout-link'] { - pointer-events: auto; -} - merch-card [slot^='heading-'] { - color: var(--spectrum-gray-800, var(--merch-color-grey-80)); + color: var(--consonant-merch-card-heading-color); font-weight: 700; } merch-card [slot='heading-xs'] { font-size: var(--consonant-merch-card-heading-xs-font-size); line-height: var(--consonant-merch-card-heading-xs-line-height); + color: var(--consonant-merch-card-heading-xs-color); margin: 0; } @@ -1847,12 +1828,12 @@ merch-card [slot='callout-content'] img { } merch-card [slot='detail-s'] { - font-size: var(--merch-card-detail-s-font-size); - line-height: var(--merch-card-detail-s-line-height); + font-size: var(--consonant-merch-card-detail-s-font-size); + line-height: var(--consonant-merch-card-detail-s-line-height); letter-spacing: 0.66px; font-weight: 700; text-transform: uppercase; - color: var(--spectrum-gray-600, var(--merch-color-grey-600)); + color: var(--consonant-merch-card-detail-s-color); } merch-card [slot='detail-m'] { @@ -1873,10 +1854,31 @@ merch-card [slot="body-xxs"] { color: var(--merch-color-grey-80); } +merch-card [slot="body-s"] { + color: var(--consonant-merch-card-body-s-color); +} + +merch-card button.spectrum-Button > a { + color: inherit; + text-decoration: none; +} + +merch-card button.spectrum-Button > a:hover { + color: inherit; +} + +merch-card button.spectrum-Button > a:active { + color: inherit; +} + +merch-card button.spectrum-Button > a:focus { + color: inherit; +} + merch-card [slot="body-xs"] { font-size: var(--consonant-merch-card-body-xs-font-size); line-height: var(--consonant-merch-card-body-xs-line-height); - color: var(--merch-color-grey-80); + color: var(--consonant-merch-card-body-xs-color); } merch-card [slot="body-m"] { @@ -1897,10 +1899,6 @@ merch-card [slot="body-xl"] { color: var(--merch-color-grey-80); } -merch-card a.primary-link { - color: var(--spectrum-global-color-blue-700); -} - merch-card [slot="cci-footer"] p, merch-card [slot="cct-footer"] p, merch-card [slot="cce-footer"] p { @@ -1941,31 +1939,18 @@ merch-card div[slot='bg-image'] img { border-top-right-radius: 16px; } -merch-card span[is="inline-price"][data-template='strikethrough'] { - text-decoration: line-through; -} - .price-unit-type:not(.disabled)::before, .price-tax-inclusivity:not(.disabled)::before { content: "\\00a0"; } -merch-card sp-button a, -merch-card sp-button a:hover { - text-decoration: none; - color: var( - --highcontrast-button-content-color-default, - var( - --mod-button-content-color-default, - var(--spectrum-button-content-color-default) - ) - ); -} - +merch-card span.placeholder-resolved[data-template='priceStrikethrough'], merch-card span.placeholder-resolved[data-template='strikethrough'], merch-card span.price.price-strikethrough { font-size: var(--consonant-merch-card-body-xs-font-size); font-weight: normal; + text-decoration: line-through; + color: var(--merch-color-inline-price-strikethrough); } /* merch-offer-select */ @@ -1983,15 +1968,18 @@ body.merch-modal { scrollbar-gutter: stable; height: 100vh; } -`;document.head.appendChild(Yo);var ac="#000000",sc="#F8D904",cc=/(accent|primary|secondary)(-(outline|link))?/,lc="mas:product_code/",hc="daa-ll",br="daa-lh";function dc(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=le("merch-icon",s);t.append(c)})}function uc(e,t){e.badge&&(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||ac),t.setAttribute("badge-background-color",e.badgeBackgroundColor||sc))}function mc(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function pc(e,t,r){e.cardTitle&&r&&t.append(le(r.tag,{slot:r.slot},e.cardTitle))}function fc(e,t,r){e.subtitle&&r&&t.append(le(r.tag,{slot:r.slot},e.subtitle))}function gc(e,t,r,n){if(e.backgroundImage)switch(n){case"ccd-slice":r&&t.append(le(r.tag,{slot:r.slot},``));break;case"ccd-suggested":t.setAttribute("background-image",e.backgroundImage);break}}function xc(e,t,r){if(e.prices&&r){let n=le(r.tag,{slot:r.slot},e.prices);t.append(n)}}function vc(e,t,r){if(e.description&&r){let n=le(r.tag,{slot:r.slot},e.description);t.append(n)}}function bc(e,t,r,n){n==="ccd-suggested"&&!e.className&&(e.className="primary-link");let i=cc.exec(e.className)?.[0]??"accent",o=i.includes("accent"),a=i.includes("primary"),s=i.includes("secondary"),c=i.includes("-outline");if(i.includes("-link"))return e;let l="fill",d;o||t?d="accent":a?d="primary":s&&(d="secondary"),c&&(l="outline"),e.tabIndex=-1;let u=le("sp-button",{treatment:l,variant:d,tabIndex:0,size:r.ctas.size??"m"},e);return u.addEventListener("click",m=>{m.target!==e&&(m.stopPropagation(),e.click())}),u}function Ac(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function Ec(e,t,r,n){if(e.ctas){let{slot:i}=r.ctas,o=le("div",{slot:i},e.ctas),a=[...o.querySelectorAll("a")].map(s=>{let c=s.parentElement.tagName==="STRONG";return t.consonant?Ac(s,c):bc(s,c,r,n)});o.innerHTML="",o.append(...a),t.append(o)}}function Sc(e,t){let{tags:r}=e,n=r?.find(i=>i.startsWith(lc))?.split("/").pop();n&&(t.setAttribute(br,n),t.querySelectorAll("a[data-analytics-id]").forEach((i,o)=>{i.setAttribute(hc,`${i.dataset.analyticsId}-${o+1}`)}))}async function Xo(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;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.removeAttribute(br),t.variant=n,await t.updateComplete;let{aemFragmentMapping:i}=t.variantLayout;i&&(gc(r,t,i.backgroundImage,n),uc(r,t),Ec(r,t,i,n),vc(r,t,i.description),dc(r,t,i.mnemonics),xc(r,t,i.prices),mc(r,t,i.allowedSizes),fc(r,t,i.subtitle),pc(r,t,i.title),Sc(r,t))}var yc="merch-card",Tc=1e4,jn,Vt,Fn,Rt=class extends ee{constructor(){super();M(this,Vt);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");M(this,jn,!1);this.filters={},this.types="",this.selected=!1,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("--merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(this)}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(),this.addEventListener(fr,this.handleQuantitySelection),this.addEventListener(Tn,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener($e,this.handleAemFragmentEvents),this.addEventListener(Ve,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout.disconnectedCallbackHook(),this.removeEventListener(fr,this.handleQuantitySelection),this.storageOptions?.removeEventListener(pr,this.handleStorageChange),this.removeEventListener($e,this.handleAemFragmentEvents),this.removeEventListener(Ve,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===$e&&ge(this,Vt,Fn).call(this,"AEM fragment cannot be loaded"),r.type===Ve&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await Xo(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),Tc));if(await Promise.race([r,n])===!0){this.dispatchEvent(new CustomEvent(wn,{bubbles:!0,composed:!0}));return}ge(this,Vt,Fn).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")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||this.dispatchEvent(new CustomEvent(Ln,{bubbles:!0}))}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(pr,{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)}}};jn=new WeakMap,Vt=new WeakSet,Fn=function(r){this.dispatchEvent(new CustomEvent(Pn,{detail:r,bubbles:!0,composed:!0}))},p(Rt,"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"},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:br,reflect:!0}}),p(Rt,"styles",[ko,Bo(),...Oo()]);customElements.define(yc,Rt);var ut=class extends ee{constructor(){super(),this.size="m",this.alt=""}render(){let{href:t}=this;return t?x` - ${this.alt} - `:x` ${this.alt}`}};p(ut,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0}}),p(ut,"styles",I` + +`;document.head.appendChild(ta);var Vt;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(Vt||(Vt={}));var qn;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(qn||(qn={}));var Ht;(function(e){e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED"})(Ht||(Ht={}));var De;(function(e){e.V2="UCv2",e.V3="UCv3"})(De||(De={}));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 Zn=function(e){var t;return(t=uc.get(e))!==null&&t!==void 0?t:e},uc=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 ra=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.")},na=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 pt(e,t,r){var n,i;try{for(var o=ra(Object.entries(e)),a=o.next();!a.done;a=o.next()){var s=na(a.value,2),c=s[0],l=s[1],h=Zn(c);l!=null&&r.has(h)&&t.set(h,l)}}catch(u){n={error:u}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function Sr(e){switch(e){case Vt.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Tr(e,t){var r,n;for(var i in e){var o=e[i];try{for(var a=(r=void 0,ra(Object.entries(o))),s=a.next();!s.done;s=a.next()){var c=na(s.value,2),l=c[0],h=c[1];if(h!=null){var u=Zn(l);t.set("items["+i+"]["+u+"]",h)}}}catch(d){r={error:d}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}var dc=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 ia(e){gc(e);var t=e.env,r=e.items,n=e.workflowStep,i=dc(e,["env","items","workflowStep"]),o=new URL(Sr(t));return o.pathname=n+"/",Tr(r,o.searchParams),pt(i,o.searchParams,pc),o.toString()}var pc=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),fc=["env","workflowStep","clientId","country","items"];function gc(e){var t,r;try{for(var n=mc(fc),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 xc=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.")},vc="p_draft_landscape",Ac="/store/";function Qn(e){Sc(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,u=xc(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),d={marketSegment:o??i,offerType:s??a,productArrangementCode:l??c},m=new URL(Sr(t));return m.pathname=""+Ac+n,n!==Z.SEGMENTATION&&n!==Z.CHANGE_PLAN_TEAM_PLANS&&Tr(r,m.searchParams),n===Z.SEGMENTATION&&pt(d,m.searchParams,Jn),pt(u,m.searchParams,Jn),h===Ht.DRAFT&&pt({af:vc},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"]),Ec=["env","workflowStep","clientId","country"];function Sc(e){var t,r;try{for(var n=bc(Ec),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 ei(e,t){switch(e){case De.V2:return ia(t);case De.V3:return Qn(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),Qn(t)}}var ti;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(ti||(ti={}));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 k;(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"})(k||(k={}));var ri;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(ri||(ri={}));var ni;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(ni||(ni={}));var ii;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(ii||(ii={}));var oi;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(oi||(oi={}));var oa="tacocat.js";var yr=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),aa=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=ft(n)?n:e;o=a.get(s)}if(i&&o==null){let a=ft(i)?i:e;o=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&o==null){let a=Tc(ft(r)?r:e);o=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return o??t[e]}var gt=()=>{};var sa=e=>typeof e=="boolean",$t=e=>typeof e=="function",Lr=e=>typeof e=="number",ca=e=>e!=null&&typeof e=="object";var ft=e=>typeof e=="string",ai=e=>ft(e)&&e,xt=e=>Lr(e)&&Number.isFinite(e)&&e>0;function bt(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function T(e,t){if(sa(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 Tc(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function vt(e,t=1){return Lr(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var yc=Date.now(),si=()=>`(+${Date.now()-yc}ms)`,_r=new Set,Lc=T(O("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function la(e){let t=`[${oa}/${e}]`,r=(a,s,...c)=>a?!0:(i(s,...c),!1),n=Lc?(a,...s)=>{console.debug(`${t} ${a}`,...s,si())}:()=>{},i=(a,...s)=>{let c=`${t} ${a}`;_r.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:i,warn:(a,...s)=>{let c=`${t} ${a}`;_r.forEach(([,l])=>l(c,...s))}}}function _c(e,t){let r=[e,t];return _r.add(r),()=>{_r.delete(r)}}_c((e,...t)=>{console.error(e,...t,si())},(e,...t)=>{console.warn(e,...t,si())});var wc="no promo",ha="promo-tag",Cc="yellow",Pc="neutral",Ic=(e,t,r)=>{let n=o=>o||wc,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Nc="cancel-context",Ut=(e,t)=>{let r=e===Nc,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?ha:`${ha} no-promo`,text:Ic(a,t,i),variant:o?Cc:Pc,isOverriden:i}};var ci="ABM",li="PUF",hi="M2M",ui="PERPETUAL",di="P3Y",kc="TAX_INCLUSIVE_DETAILS",Oc="TAX_EXCLUSIVE",ua={ABM:ci,PUF:li,M2M:hi,PERPETUAL:ui,P3Y:di},mm={[ci]:{commitment:U.YEAR,term:k.MONTHLY},[li]:{commitment:U.YEAR,term:k.ANNUAL},[hi]:{commitment:U.MONTH,term:k.MONTHLY},[ui]:{commitment:U.PERPETUAL,term:void 0},[di]:{commitment:U.THREE_MONTHS,term:k.P3Y}},da="Value is not an offer",wr=e=>{if(typeof e!="object")return da;let{commitment:t,term:r}=e,n=Rc(t,r);return{...e,planType:n}};var Rc=(e,t)=>{switch(e){case void 0:return da;case"":return"";case U.YEAR:return t===k.MONTHLY?ci:t===k.ANNUAL?li:"";case U.MONTH:return t===k.MONTHLY?hi:"";case U.PERPETUAL:return ui;case U.TERM_LICENSE:return t===k.P3Y?di:"";default:return""}};function mi(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:o,taxDisplay:a}=t;if(a!==kc)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:o??n,taxDisplay:Oc}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var pi=function(e,t){return pi=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])},pi(e,t)};function Dt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");pi(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(Hc,function(c,l,h,u,d,m){if(l)t.minimumIntegerDigits=h.length;else{if(u&&d)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(Sa.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(xa.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(xa,function(c,l,h,u,d,m){return h==="*"?t.minimumFractionDigits=l.length:u&&u[0]==="#"?t.maximumFractionDigits=u.length:d&&m?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.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),ba(o)));continue}if(Ea.test(i.stem)){t=A(A({},t),ba(i.stem));continue}var a=Ta(i.stem);a&&(t=A(A({},t),a));var s=$c(i.stem);s&&(t=A(A({},t),s))}return t}var Gt={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 La(e,t){for(var r="",n=0;n>1),c="a",l=Uc(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 Uc(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=Gt[n||""]||Gt[r||""]||Gt["".concat(r,"-001")]||Gt["001"];return i[0]}var xi,Dc=new RegExp("^".concat(gi.source,"*")),Bc=new RegExp("".concat(gi.source,"*$"));function E(e,t){return{start:e,end:t}}var Gc=!!String.prototype.startsWith,zc=!!String.fromCodePoint,Fc=!!Object.fromEntries,Kc=!!String.prototype.codePointAt,jc=!!String.prototype.trimStart,Yc=!!String.prototype.trimEnd,Xc=!!Number.isSafeInteger,Wc=Xc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},vi=!0;try{_a=Ia("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),vi=((xi=_a.exec("a"))===null||xi===void 0?void 0:xi[0])==="a"}catch{vi=!1}var _a,wa=Gc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ai=zc?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},Ca=Fc?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=jc?function(t){return t.trimStart()}:function(t){return t.replace(Dc,"")},Zc=Yc?function(t){return t.trimEnd()}:function(t){return t.replace(Bc,"")};function Ia(e,t){return new RegExp(e,t)}var Ei;vi?(bi=Ia("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ei=function(t,r){var n;bi.lastIndex=r;var i=bi.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):Ei=function(t,r){for(var n=[];;){var i=Pa(t,r);if(i===void 0||ka(i)||el(i))break;n.push(i),r+=i>=65536?2:1}return Ai.apply(void 0,n)};var bi,Na=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&&Si(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()&&Qc(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||!Jc(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 Ai.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(),Ai(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=Ei(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(),u=this.parseSimpleArgStyleIfPossible();if(u.err)return u;var d=Zc(u.val);if(d.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var m=E(h,this.clonePosition());l={style:d,styleLocation:m}}var f=this.tryParseArgumentClose(i);if(f.err)return f;var g=E(i,this.clonePosition());if(l&&wa(l?.style,"::",0)){var L=qc(l.style.slice(2));if(s==="number"){var u=this.parseNumberSkeletonFromString(L,l.styleLocation);return u.err?u:{val:{type:C.number,value:n,location:g,style:u.val},err:null}}else{if(L.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,g);var w=L;this.locale&&(w=La(L,this.locale));var d={type:Be.dateTime,pattern:w,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?fa(w):{}},b=s==="date"?C.date:C.time;return{val:{type:b,value:n,location:g,style:d},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 N=this.parseIdentifierIfPossible(),R=0;if(s!=="select"&&N.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var u=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(u.err)return u;this.bumpSpace(),N=this.parseIdentifierIfPossible(),R=u.val}var M=this.tryParsePluralOrSelectOptions(t,s,r,N);if(M.err)return M;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:Ca(M.val),location:$},err:null}:{val:{type:C.plural,value:n,options:Ca(M.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=Aa(t)}catch{return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:Be.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ya(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 u=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;h=E(u,this.clonePosition()),l=this.message.slice(u.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,Wc(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=Pa(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(wa(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()&&ka(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 Si(e){return e>=97&&e<=122||e>=65&&e<=90}function Jc(e){return Si(e)||e===47}function Qc(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 ka(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function el(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 Ti(e){e.forEach(function(t){if(delete t.location,kr(t)||Or(t))for(var r in t.options)delete t.options[r].location,Ti(t.options[r].value);else Pr(t)&&Mr(t.style)||(Ir(t)||Nr(t))&&Bt(t.style)?delete t.style.location:Rr(t)&&Ti(t.children)})}function Oa(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Na(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||Ti(r.val),r.val}function zt(e,t){var r=t&&t.cache?t.cache:al,n=t&&t.serializer?t.serializer:ol,i=t&&t.strategy?t.strategy:rl;return i(e,{cache:r,serializer:n})}function tl(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ra(e,t,r,n){var i=tl(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function Ma(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 yi(e,t,r,n,i){return r.bind(t,e,n,i)}function rl(e,t){var r=e.length===1?Ra:Ma;return yi(e,this,r,t.cache.create(),t.serializer)}function nl(e,t){return yi(e,this,Ma,t.cache.create(),t.serializer)}function il(e,t){return yi(e,this,Ra,t.cache.create(),t.serializer)}var ol=function(){return JSON.stringify(arguments)};function Li(){this.cache=Object.create(null)}Li.prototype.get=function(e){return this.cache[e]};Li.prototype.set=function(e,t){this.cache[e]=t};var al={create:function(){return new Li}},Vr={variadic:nl,monadic:il};var Ge;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ge||(Ge={}));var Ft=function(e){Dt(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 _i=function(e){Dt(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('", "'),'"'),Ge.INVALID_VALUE,o)||this}return t}(Ft);var Va=function(e){Dt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Ge.INVALID_VALUE,i)||this}return t}(Ft);var Ha=function(e){Dt(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,'"'),Ge.MISSING_VALUE,n)||this}return t}(Ft);var K;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(K||(K={}));function sl(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 cl(e){return typeof e=="function"}function Kt(e,t,r,n,i,o,a){if(e.length===1&&fi(e[0]))return[{type:K.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=Oa,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 Ua=$a;var dl=/[0-9\-+#]/,ml=/[^\d\-+#]/g;function Da(e){return e.search(dl)}function pl(e="#.##"){let t={},r=e.length,n=Da(e);t.prefix=n>0?e.substring(0,n):"";let i=Da(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(ml);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 fl(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,gl(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 gl(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.lengthMath.round(e*20)/20},Ci=(e,t)=>({accept:e,round:t}),El=[Ci(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Ci(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.ceil(Math.floor(t*1e4/e)/100)/100),Ci(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Pi={[U.YEAR]:{[k.MONTHLY]:jt.MONTH,[k.ANNUAL]:jt.YEAR},[U.MONTH]:{[k.MONTHLY]:jt.MONTH}},Sl=(e,t)=>e.indexOf(`'${t}'`)===0,Tl=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Ya(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Ll(e)),r},yl=e=>{let t=_l(e),r=Sl(e,t),n=e.replace(/'.*?'/,""),i=Fa.test(n)||Ka.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},ja=e=>e.replace(Fa,za).replace(Ka,za),Ll=e=>e.match(/#(.?)#/)?.[1]===Ga?bl:Ga,_l=e=>e.match(/'(.*?)'/)?.[1]??"",Ya=e=>e.match(/0(.?)0/)?.[1]??"";function Hr({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,o=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=yl(e),l=r?Ya(e):"",h=Tl(e,r),u=r?2:0,d=o(t,{currencySymbol:a}),m=n?d.toLocaleString("hi-IN",{minimumFractionDigits:u,maximumFractionDigits:u}):Ba(h,d),f=r?m.lastIndexOf(l):m.length,g=m.substring(0,f),L=m.substring(f+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,a),currencySymbol:a,decimals:L,decimalsDelimiter:l,hasCurrencySpace:c,integer:g,isCurrencyFirst:s,recurrenceTerm:i}}var Xa=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=vl[r]??1;return Hr(e,i>1?jt.MONTH:Pi[t]?.[r],(o,{currencySymbol:a})=>{let s={divisor:i,price:o,usePrecision:n},{round:c}=El.find(({accept:h})=>h(s));if(!c)throw new Error(`Missing rounding rule for: ${JSON.stringify(s)}`);return(Al[a]??(h=>h))(c(s))})},Wa=({commitment:e,term:t,...r})=>Hr(r,Pi[e]?.[t]),qa=e=>{let{commitment:t,term:r}=e;return t===U.YEAR&&r===k.MONTHLY?Hr(e,jt.YEAR,n=>n*12):Hr(e,Pi[t]?.[r])};var wl={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}"},Cl=la("ConsonantTemplates/price"),Pl=/<\/?[^>]+(>|$)/g,z={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"},ze={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Il="TAX_EXCLUSIVE",Nl=e=>ca(e)?Object.entries(e).filter(([,t])=>ft(t)||Lr(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+aa(n)+'"'}`,""):"",Y=(e,t,r,n=!1)=>`${n?ja(t):t??""}`;function kl(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:o,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},u={}){let d=Y(z.currencySymbol,r),m=Y(z.currencySpace,o?" ":""),f="";return s&&(f+=d+m),f+=Y(z.integer,a),f+=Y(z.decimalsDelimiter,i),f+=Y(z.decimals,n),s||(f+=m+d),f+=Y(z.recurrence,c,null,!0),f+=Y(z.unitType,l,null,!0),f+=Y(z.taxInclusivity,h,!0),Y(e,f,{...u,"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:u,formatString:d,price:m,priceWithoutDiscount:f,taxDisplay:g,taxTerm:L,term:w,usePrecision:b}={},S={})=>{Object.entries({country:n,formatString:d,language:c,price:m}).forEach(([se,Xr])=>{if(Xr==null)throw new Error(`Argument "${se}" is missing for osi ${u?.toString()}, country ${n}, language ${c}`)});let N={...wl,...l},R=`${c.toLowerCase()}-${n.toUpperCase()}`;function M(se,Xr){let Wr=N[se];if(Wr==null)return"";try{return new Ua(Wr.replace(Pl,""),R).format(Xr)}catch{return Cl.error("Failed to format literal:",Wr),""}}let $=t&&f?f:m,oe=e?Xa:Wa;r&&(oe=qa);let{accessiblePrice:We,recurrenceTerm:_e,...qe}=oe({commitment:h,formatString:d,term:w,price:e?m:$,usePrecision:b,isIndianPrice:n==="IN"}),J=We,ge="";if(T(o)&&_e){let se=M(ze.recurrenceAriaLabel,{recurrenceTerm:_e});se&&(J+=" "+se),ge=M(ze.recurrenceLabel,{recurrenceTerm:_e})}let ae="";if(T(a)){ae=M(ze.perUnitLabel,{perUnit:"LICENSE"});let se=M(ze.perUnitAriaLabel,{perUnit:"LICENSE"});se&&(J+=" "+se)}let Q="";T(s)&&L&&(Q=M(g===Il?ze.taxExclusiveLabel:ze.taxInclusiveLabel,{taxTerm:L}),Q&&(J+=" "+Q)),t&&(J=M(ze.strikethroughAriaLabel,{strikethroughPrice:J}));let we=z.container;if(e&&(we+=" "+z.containerOptical),t&&(we+=" "+z.containerStrikethrough),r&&(we+=" "+z.containerAnnual),T(i))return kl(we,{...qe,accessibleLabel:J,recurrenceLabel:ge,perUnitLabel:ae,taxInclusivityLabel:Q},S);let{currencySymbol:Qi,decimals:_s,decimalsDelimiter:ws,hasCurrencySpace:eo,integer:Cs,isCurrencyFirst:Ps}=qe,Ze=[Cs,ws,_s];Ps?(Ze.unshift(eo?"\xA0":""),Ze.unshift(Qi)):(Ze.push(eo?"\xA0":""),Ze.push(Qi)),Ze.push(ge,ae,Q);let Is=Ze.join("");return Y(we,Is,S)},Za=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||T(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${W()(e,t,r)}${i?" "+W({displayStrikethrough:!0})(e,t,r):""}`},Ja=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||T(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?W({displayStrikethrough:!0})(n,t,r)+" ":""}${W()(e,t,r)}${Y(z.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${Y(z.containerAnnualSuffix,")")}`},Qa=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${W()(e,t,r)}${Y(z.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${Y(z.containerAnnualSuffix,")")}`};var Ii=W(),Ni=Za(),ki=W({displayOptical:!0}),Oi=W({displayStrikethrough:!0}),Ri=W({displayAnnual:!0}),Mi=Qa(),Vi=Ja();var Ol=(e,t)=>{if(!(!xt(e)||!xt(t)))return Math.floor((t-e)/t*100)},es=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Ol(r,n);return i===void 0?'':`${i}%`};var Hi=es();var{freeze:Yt}=Object,te=Yt({...De}),re=Yt({...Z}),Fe={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},$i=Yt({...U}),Ui=Yt({...ua}),Di=Yt({...k});var ts="mas-commerce-service";function rs(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(ts);i!==r&&(r=i,i&&e(i))}return document.addEventListener(ot,n,{once:t}),Te(n),()=>document.removeEventListener(ot,n)}function Xt(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(mi)),i}var Te=e=>window.setTimeout(e);function At(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(vt).filter(xt);return r.length||(r=[t]),r}function $r(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(ai)}function q(){return document.getElementsByTagName(ts)?.[0]}var Ke={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},ns=1e3,is=new Set;function Rl(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function os(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 Ml(e,t){if(!Ke.ignoredProperties.includes(e))return os(t)}var Bi={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],o=t;r.forEach(l=>{l!=null&&(Rl(l)?n:i).push(l)}),n.length&&(o+=" "+n.map(os).join(" "));let{pathname:a,search:s}=window.location,c=`${Ke.delimiter}page=${a}${s}`;c.length>ns&&(c=`${c.slice(0,ns)}`),o+=c,i.length&&(o+=`${Ke.delimiter}facts=`,o+=JSON.stringify(i,Ml)),is.has(o)||(is.add(o),window.lana?.log(o,Ke))}};function Et(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 _=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:te.V3,checkoutWorkflowStep:re.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:Fe.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:$e.PUBLISHED,wcsBufferLimit:1});var Gi=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function Vl({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||_.language),t??(t=e?.split("_")?.[1]||_.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function zi(e={}){let{commerce:t={}}=e,r=Fe.PRODUCTION,n=Gn,i=O("checkoutClientId",t)??_.checkoutClientId,o=Se(O("checkoutWorkflow",t),te,_.checkoutWorkflow),a=re.CHECKOUT;o===te.V3&&(a=Se(O("checkoutWorkflowStep",t),re,_.checkoutWorkflowStep));let s=T(O("displayOldPrice",t),_.displayOldPrice),c=T(O("displayPerUnit",t),_.displayPerUnit),l=T(O("displayRecurrence",t),_.displayRecurrence),h=T(O("displayTax",t),_.displayTax),u=T(O("entitlement",t),_.entitlement),d=T(O("modal",t),_.modal),m=T(O("forceTaxExclusive",t),_.forceTaxExclusive),f=O("promotionCode",t)??_.promotionCode,g=At(O("quantity",t)),L=O("wcsApiKey",t)??_.wcsApiKey,w=t?.env==="stage",b=$e.PUBLISHED;["true",""].includes(t.allowOverride)&&(w=(O(Dn,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",b=Se(O(Bn,t),$e,b)),w&&(r=Fe.STAGE,n=zn);let N=vt(O("wcsBufferDelay",t),_.wcsBufferDelay),R=vt(O("wcsBufferLimit",t),_.wcsBufferLimit);return{...Vl(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:o,checkoutWorkflowStep:a,displayPerUnit:c,displayRecurrence:l,displayTax:h,entitlement:u,extraOptions:_.extraOptions,modal:d,env:r,forceTaxExclusive:m,promotionCode:f,quantity:g,wcsApiKey:L,wcsBufferDelay:N,wcsBufferLimit:R,wcsURL:n,landscape:b}}var Fi={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Hl=Date.now(),Ki=new Set,ji=new Set,as=new Map,ss={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},cs={filter:({level:e})=>e!==Fi.DEBUG},$l={filter:()=>!1};function Ul(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&$t(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-Hl}}function Dl(e){[...ji].every(t=>t(e))&&Ki.forEach(t=>t(e))}function ls(e){let t=(as.get(e)??0)+1;as.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>ls(`${n.namespace}/${i}`),updateConfig:Et};return Object.values(Fi).forEach(i=>{n[i]=(o,...a)=>Dl(Ul(i,o,e,a,r))}),Object.seal(n)}function Ur(...e){e.forEach(t=>{let{append:r,filter:n}=t;$t(n)&&ji.add(n),$t(r)&&Ki.add(r)})}function Bl(e={}){let{name:t}=e,r=T(O("commerce.debug",{search:!0,storage:!0}),t===Gi.LOCAL);return Ur(r?ss:cs),t===Gi.PROD&&Ur(Bi),X}function Gl(){Ki.clear(),ji.clear()}var X={...ls(Un),Level:Fi,Plugins:{consoleAppender:ss,debugFilter:cs,quietFilter:$l,lanaAppender:Bi},init:Bl,reset:Gl,use:Ur};var zl={[he]:kn,[ue]:On,[de]:Rn},Fl={[he]:Vn,[ue]:Hn,[de]:$n},St=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",gt);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",ue);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t}update(){[he,ue,de].forEach(t=>{this.wrapperElement.classList.toggle(zl[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(Fl[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=rs(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=gt}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}),Te(()=>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}),Te(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=ue,this.update(),Te(()=>this.notify()),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!q()||this.timer)return;let r=X.module("mas-element"),{error:n,options:i,state:o,value:a,version:s}=this;this.state=ue,this.timer=Te(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===ue&&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 hs(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function Dr(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,hs(t)),i}function Br(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,hs(t)),e):null}var Kl="download",jl="upgrade";function Gr(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:u,quantity:d,wcsOsi:m,extraOptions:f}=n.collectCheckoutOptions(t),g=Dr(e,{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:u,quantity:d,wcsOsi:m,extraOptions:f});return r&&(g.innerHTML=`${r}`),g}function zr(e){return class extends e{constructor(){super(...arguments);p(this,"checkoutActionHandler");p(this,"masElement",new St(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(u=>{u&&(this.dataset.imsCountry=u)},gt),n.imsCountry=null;let o=i.collectCheckoutOptions(n,this);if(!o.wcsOsi.length)return!1;let a;try{a=JSON.parse(o.extraOptions??"{}")}catch(u){this.masElement.log?.error("cannot parse exta checkout options",u)}let s=this.masElement.togglePending(o);this.setCheckoutUrl("");let c=i.resolveOfferSelectors(o),l=await Promise.all(c);l=l.map(u=>Xt(u,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(Kl,jl),this.masElement.toggleResolved(s,n,i);let{url:h,text:u,className:d,handler:m}=a;return h&&this.setCheckoutUrl(h),u&&(this.firstElementChild.innerHTML=u),d&&this.classList.add(...d.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:u,promotionCode:d,quantity:m,wcsOsi:f}=i.collectCheckoutOptions(n);return Br(this,{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:u,promotionCode:d,quantity:m,wcsOsi:f}),!0}}}var Ye,Wt=class Wt extends zr(HTMLButtonElement){constructor(){super(...arguments);G(this,Ye)}static createCheckoutButton(r={},n=""){return Gr(Wt,r,n)}setCheckoutUrl(r){j(this,Ye,r)}get href(){return y(this,Ye)}get isCheckoutButton(){return!0}clickHandler(r){if(this.checkoutActionHandler){this.checkoutActionHandler?.(r);return}y(this,Ye)&&(window.location.href=y(this,Ye))}};Ye=new WeakMap,p(Wt,"is","checkout-button"),p(Wt,"tag","button");var je=Wt;window.customElements.get(je.is)||window.customElements.define(je.is,je,{extends:je.tag});var Yl="#000000",Xl="#F8D904",Wl=/(accent|primary|secondary)(-(outline|link))?/,ql="mas:product_code/",Zl="daa-ll",Fr="daa-lh",Jl=["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,loading:t.loading,size:r?.size??"l"};o&&(s.alt=o),a&&(s.href=a);let c=le("merch-icon",s);t.append(c)})}function eh(e,t){e.badge&&(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||Yl),t.setAttribute("badge-background-color",e.badgeBackgroundColor||Xl))}function th(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function rh(e,t,r){e.cardTitle&&r&&t.append(le(r.tag,{slot:r.slot},e.cardTitle))}function nh(e,t,r){e.subtitle&&r&&t.append(le(r.tag,{slot:r.slot},e.subtitle))}function ih(e,t,r,n){if(e.backgroundImage)switch(n){case"ccd-slice":r&&t.append(le(r.tag,{slot:r.slot},``));break;case"ccd-suggested":t.setAttribute("background-image",e.backgroundImage);break}}function oh(e,t,r){if(e.prices&&r){let n=le(r.tag,{slot:r.slot},e.prices);t.append(n)}}function ah(e,t,r){if(e.description&&r){let n=le(r.tag,{slot:r.slot},e.description);t.append(n)}}function sh(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=Jl.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 ch(e,t,r,n){let i="fill";r&&(i="outline");let o=le("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 lh(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function hh(e,t,r,n){if(e.ctas){let{slot:i}=r.ctas,o=le("div",{slot:i},e.ctas),a=[...o.querySelectorAll("a")].map(s=>{let c=s.parentElement.tagName==="STRONG";if(t.consonant)return lh(s,c);let l=Wl.exec(s.className)?.[0]??"accent",h=l.includes("accent"),u=l.includes("primary"),d=l.includes("secondary"),m=l.includes("-outline");if(l.includes("-link"))return s;let g;return h||c?g="accent":u?g="primary":d&&(g="secondary"),t.spectrum==="swc"?ch(s,r,m,g):sh(s,r,m,g)});o.innerHTML="",o.append(...a),t.append(o)}}function uh(e,t){let{tags:r}=e,n=r?.find(i=>i.startsWith(ql))?.split("/").pop();n&&(t.setAttribute(Fr,n),t.querySelectorAll("a[data-analytics-id],button[data-analytics-id]").forEach((i,o)=>{i.setAttribute(Zl,`${i.dataset.analyticsId}-${o+1}`)}))}function dh(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 us(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;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(Fr),t.variant=n,await t.updateComplete;let{aemFragmentMapping:i}=t.variantLayout;i&&(Ql(r,t,i.mnemonics),eh(r,t),th(r,t,i.allowedSizes),rh(r,t,i.title),nh(r,t,i.subtitle),oh(r,t,i.prices),ih(r,t,i.backgroundImage,n),ah(r,t,i.description),hh(r,t,i,n),uh(r,t),dh(t))}var mh="merch-card",ph=1e4,Zt,Yi,qt=class extends ee{constructor(){super();G(this,Zt);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.loading="lazy",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}static getFragmentMapping(r){return Qo[r]}firstUpdated(){this.variantLayout=Wn(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=Wn(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(),this.addEventListener(br,this.handleQuantitySelection),this.addEventListener(wn,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(He,this.handleAemFragmentEvents),this.addEventListener(Ve,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(br,this.handleQuantitySelection),this.storageOptions?.removeEventListener(xr,this.handleStorageChange),this.removeEventListener(He,this.handleAemFragmentEvents),this.removeEventListener(Ve,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===He&&xe(this,Zt,Yi).call(this,"AEM fragment cannot be loaded"),r.type===Ve&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await us(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),ph));if(await Promise.race([r,n])===!0){this.dispatchEvent(new CustomEvent(In,{bubbles:!0,composed:!0}));return}xe(this,Zt,Yi).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")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||this.dispatchEvent(new CustomEvent(Cn,{bubbles:!0}))}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(xr,{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)}}};Zt=new WeakSet,Yi=function(r){this.dispatchEvent(new CustomEvent(Nn,{detail:r,bubbles:!0,composed:!0}))},p(qt,"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:Fr,reflect:!0},loading:{type:String}}),p(qt,"styles",[Uo,ea(),...Do()]);customElements.define(mh,qt);var Tt=class extends ee{constructor(){super(),this.size="m",this.alt="",this.loading="lazy"}render(){let{href:t}=this;return t?x` + ${this.alt} + `:x` ${this.alt}`}};p(Tt,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0},loading:{type:String,attribute:!0}}),p(Tt,"styles",P` :host { --img-width: 32px; --img-height: 32px; display: block; - width: var(--img-width); - height: var(--img-height); + width: var(--mod-img-width, var(--img-width)); + height: var(--mod-img-height, var(--img-height)); } :host([size='s']) { @@ -2010,12 +1998,10 @@ body.merch-modal { } img { - width: var(--img-width); - height: var(--img-height); + width: var(--mod-img-width, var(--img-width)); + height: var(--mod-img-height, var(--img-height)); } - `);customElements.define("merch-icon",ut);var Jo=new CSSStyleSheet;Jo.replaceSync(":host { display: contents; }");var Lc=document.querySelector('meta[name="aem-base-url"]')?.content??"https://odin.adobe.com",Wo="fragment",qo="author",_c="ims",Zo=e=>{throw new Error(`Failed to get fragment: ${e}`)};async function wc(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=>Zo(a.message));return o?.ok||Zo(`${o.status} ${o.statusText}`),o.json()}var Kn,Ee,Bn=class{constructor(){M(this,Ee,new Map)}clear(){L(this,Ee).clear()}add(...t){t.forEach(r=>{let{id:n}=r;n&&L(this,Ee).set(n,r)})}has(t){return L(this,Ee).has(t)}get(t){return L(this,Ee).get(t)}remove(t){L(this,Ee).delete(t)}};Ee=new WeakMap;var Ar=new Bn,De,me,Se,$t,pe,mt,Mt,Xn,Er,Qo,Sr,ea,Yn=class extends HTMLElement{constructor(){super();M(this,Mt);M(this,Er);M(this,Sr);p(this,"cache",Ar);M(this,De,void 0);M(this,me,void 0);M(this,Se,void 0);M(this,$t,!1);M(this,pe,void 0);M(this,mt,!1);this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[Jo];let r=this.getAttribute(_c);["",!0,"true"].includes(r)&&(j(this,$t,!0),Kn||(Kn={Authorization:`Bearer ${window.adobeid?.authorize?.()}`}))}static get observedAttributes(){return[Wo,qo]}attributeChangedCallback(r,n,i){r===Wo&&(j(this,Se,i),this.refresh(!1)),r===qo&&j(this,mt,["","true"].includes(i))}connectedCallback(){if(!L(this,Se)){ge(this,Mt,Xn).call(this,"Missing fragment id");return}}async refresh(r=!0){L(this,pe)&&!await Promise.race([L(this,pe),Promise.resolve(!1)])||(r&&Ar.remove(L(this,Se)),j(this,pe,this.fetchData().then(()=>(this.dispatchEvent(new CustomEvent(Ve,{detail:this.data,bubbles:!0,composed:!0})),!0)).catch(n=>(ge(this,Mt,Xn).call(this,"Network error: failed to load fragment"),j(this,pe,null),!1))),L(this,pe))}async fetchData(){j(this,De,null),j(this,me,null);let r=Ar.get(L(this,Se));r||(r=await wc(Lc,L(this,Se),L(this,mt),L(this,$t)?Kn:void 0),Ar.add(r)),j(this,De,r)}get updateComplete(){return L(this,pe)??Promise.reject(new Error("AEM fragment cannot be loaded"))}get data(){return L(this,me)?L(this,me):(L(this,mt)?ge(this,Er,Qo).call(this):ge(this,Sr,ea).call(this),L(this,me))}};De=new WeakMap,me=new WeakMap,Se=new WeakMap,$t=new WeakMap,pe=new WeakMap,mt=new WeakMap,Mt=new WeakSet,Xn=function(r){this.classList.add("error"),this.dispatchEvent(new CustomEvent($e,{detail:r,bubbles:!0,composed:!0}))},Er=new WeakSet,Qo=function(){let{id:r,tags:n,fields:i}=L(this,De);j(this,me,i.reduce((o,{name:a,multiple:s,values:c})=>(o.fields[a]=s?c:c[0],o),{id:r,tags:n,fields:{}}))},Sr=new WeakSet,ea=function(){let{id:r,tags:n,fields:i}=L(this,De);j(this,me,Object.entries(i).reduce((o,[a,s])=>(o.fields[a]=s?.mimeType?s.value:s??"",o),{id:r,tags:n,fields:{}}))};customElements.define("aem-fragment",Yn);var Ge={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},ta=1e3,ra=new Set;function Pc(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function na(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(!Ge.serializableTypes.includes(r))return r}return e}function Cc(e,t){if(!Ge.ignoredProperties.includes(e))return na(t)}var Wn={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],o=t;r.forEach(h=>{h!=null&&(Pc(h)?n:i).push(h)}),n.length&&(o+=" "+n.map(na).join(" "));let{pathname:a,search:s}=window.location,c=`${Ge.delimiter}page=${a}${s}`;c.length>ta&&(c=`${c.slice(0,ta)}`),o+=c,i.length&&(o+=`${Ge.delimiter}facts=`,o+=JSON.stringify(i,Cc)),ra.has(o)||(ra.add(o),window.lana?.log(o,Ge))}};function pt(e){Object.assign(Ge,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in Ge&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var Ut;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(Ut||(Ut={}));var qn;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(qn||(qn={}));var Dt;(function(e){e.DRAFT="DRAFT",e.PUBLISHED="PUBLISHED"})(Dt||(Dt={}));var He;(function(e){e.V2="UCv2",e.V3="UCv3"})(He||(He={}));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 Zn=function(e){var t;return(t=Ic.get(e))!==null&&t!==void 0?t:e},Ic=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 ia=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.")},oa=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 ft(e,t,r){var n,i;try{for(var o=ia(Object.entries(e)),a=o.next();!a.done;a=o.next()){var s=oa(a.value,2),c=s[0],h=s[1],l=Zn(c);h!=null&&r.has(l)&&t.set(l,h)}}catch(d){n={error:d}}finally{try{a&&!a.done&&(i=o.return)&&i.call(o)}finally{if(n)throw n.error}}}function yr(e){switch(e){case Ut.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Tr(e,t){var r,n;for(var i in e){var o=e[i];try{for(var a=(r=void 0,ia(Object.entries(o))),s=a.next();!s.done;s=a.next()){var c=oa(s.value,2),h=c[0],l=c[1];if(l!=null){var d=Zn(h);t.set("items["+i+"]["+d+"]",l)}}}catch(u){r={error:u}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}}}var Nc=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 aa(e){Vc(e);var t=e.env,r=e.items,n=e.workflowStep,i=Nc(e,["env","items","workflowStep"]),o=new URL(yr(t));return o.pathname=n+"/",Tr(r,o.searchParams),ft(i,o.searchParams,Oc),o.toString()}var Oc=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),Rc=["env","workflowStep","clientId","country","items"];function Vc(e){var t,r;try{for(var n=kc(Rc),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 $c=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.")},Uc="p_draft_landscape",Dc="/store/";function Qn(e){Hc(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,h=e.productArrangementCode,l=e.landscape,d=$c(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),u={marketSegment:o??i,offerType:s??a,productArrangementCode:h??c},m=new URL(yr(t));return m.pathname=""+Dc+n,n!==Z.SEGMENTATION&&n!==Z.CHANGE_PLAN_TEAM_PLANS&&Tr(r,m.searchParams),n===Z.SEGMENTATION&&ft(u,m.searchParams,Jn),ft(d,m.searchParams,Jn),l===Dt.DRAFT&&ft({af:Uc},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"]),Gc=["env","workflowStep","clientId","country"];function Hc(e){var t,r;try{for(var n=Mc(Gc),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 ei(e,t){switch(e){case He.V2:return aa(t);case He.V3:return Qn(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),Qn(t)}}var ti;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(ti||(ti={}));var D;(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"})(D||(D={}));var k;(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"})(k||(k={}));var ri;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(ri||(ri={}));var ni;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(ni||(ni={}));var ii;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(ii||(ii={}));var oi;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(oi||(oi={}));var sa="tacocat.js";var Lr=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),ca=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=gt(n)?n:e;o=a.get(s)}if(i&&o==null){let a=gt(i)?i:e;o=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&o==null){let a=zc(gt(r)?r:e);o=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return o??t[e]}var xt=()=>{};var la=e=>typeof e=="boolean",Gt=e=>typeof e=="function",_r=e=>typeof e=="number",ha=e=>e!=null&&typeof e=="object";var gt=e=>typeof e=="string",ai=e=>gt(e)&&e,vt=e=>_r(e)&&Number.isFinite(e)&&e>0;function bt(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(la(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function ye(e,t,r){let n=Object.values(t);return n.find(i=>Lr(i,e))??r??n[0]}function zc(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function At(e,t=1){return _r(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var Fc=Date.now(),si=()=>`(+${Date.now()-Fc}ms)`,wr=new Set,jc=y(O("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function da(e){let t=`[${sa}/${e}]`,r=(a,s,...c)=>a?!0:(i(s,...c),!1),n=jc?(a,...s)=>{console.debug(`${t} ${a}`,...s,si())}:()=>{},i=(a,...s)=>{let c=`${t} ${a}`;wr.forEach(([h])=>h(c,...s))};return{assert:r,debug:n,error:i,warn:(a,...s)=>{let c=`${t} ${a}`;wr.forEach(([,h])=>h(c,...s))}}}function Kc(e,t){let r=[e,t];return wr.add(r),()=>{wr.delete(r)}}Kc((e,...t)=>{console.error(e,...t,si())},(e,...t)=>{console.warn(e,...t,si())});var Bc="no promo",ua="promo-tag",Yc="yellow",Xc="neutral",Wc=(e,t,r)=>{let n=o=>o||Bc,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},qc="cancel-context",Ht=(e,t)=>{let r=e===qc,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?ua:`${ua} no-promo`,text:Wc(a,t,i),variant:o?Yc:Xc,isOverriden:i}};var ci="ABM",li="PUF",hi="M2M",di="PERPETUAL",ui="P3Y",Zc="TAX_INCLUSIVE_DETAILS",Jc="TAX_EXCLUSIVE",ma={ABM:ci,PUF:li,M2M:hi,PERPETUAL:di,P3Y:ui},ym={[ci]:{commitment:D.YEAR,term:k.MONTHLY},[li]:{commitment:D.YEAR,term:k.ANNUAL},[hi]:{commitment:D.MONTH,term:k.MONTHLY},[di]:{commitment:D.PERPETUAL,term:void 0},[ui]:{commitment:D.THREE_MONTHS,term:k.P3Y}},pa="Value is not an offer",Pr=e=>{if(typeof e!="object")return pa;let{commitment:t,term:r}=e,n=Qc(t,r);return{...e,planType:n}};var Qc=(e,t)=>{switch(e){case void 0:return pa;case"":return"";case D.YEAR:return t===k.MONTHLY?ci:t===k.ANNUAL?li:"";case D.MONTH:return t===k.MONTHLY?hi:"";case D.PERPETUAL:return di;case D.TERM_LICENSE:return t===k.P3Y?ui:"";default:return""}};function mi(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:o,taxDisplay:a}=t;if(a!==Zc)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:o??n,taxDisplay:Jc}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var pi=function(e,t){return pi=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])},pi(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");pi(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var T=function(){return T=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(rl,function(s,c,h,l,d,u){if(c)t.minimumIntegerDigits=h.length;else{if(l&&d)throw new Error("We currently do not support maximum integer digits");if(u)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ta.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(ba.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(ba,function(s,c,h,l,d,u){return h==="*"?t.minimumFractionDigits=c.length:l&&l[0]==="#"?t.maximumFractionDigits=l.length:d&&u?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+u.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""}),i.options.length&&(t=T(T({},t),Aa(i.options[0])));continue}if(ya.test(i.stem)){t=T(T({},t),Aa(i.stem));continue}var o=La(i.stem);o&&(t=T(T({},t),o));var a=nl(i.stem);a&&(t=T(T({},t),a))}return t}var xi,il=new RegExp("^"+gi.source+"*"),ol=new RegExp(gi.source+"*$");function E(e,t){return{start:e,end:t}}var al=!!String.prototype.startsWith,sl=!!String.fromCodePoint,cl=!!Object.fromEntries,ll=!!String.prototype.codePointAt,hl=!!String.prototype.trimStart,dl=!!String.prototype.trimEnd,ul=!!Number.isSafeInteger,ml=ul?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},bi=!0;try{wa=Na("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),bi=((xi=wa.exec("a"))===null||xi===void 0?void 0:xi[0])==="a"}catch{bi=!1}var wa,Pa=al?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ai=sl?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},Ca=cl?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}},pl=hl?function(t){return t.trimStart()}:function(t){return t.replace(il,"")},fl=dl?function(t){return t.trimEnd()}:function(t){return t.replace(ol,"")};function Na(e,t){return new RegExp(e,t)}var Ei;bi?(vi=Na("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ei=function(t,r){var n;vi.lastIndex=r;var i=vi.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):Ei=function(t,r){for(var n=[];;){var i=Ia(t,r);if(i===void 0||Oa(i)||vl(i))break;n.push(i),r+=i>=65536?2:1}return Ai.apply(void 0,n)};var vi,ka=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.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(b.UNMATCHED_CLOSING_TAG,E(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Si(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:"<"+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(b.INVALID_TAG,E(s,this.clonePosition())))}else return this.error(b.UNCLOSED_TAG,E(n,this.clonePosition()))}else return this.error(b.INVALID_TAG,E(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&xl(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||!gl(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 Ai.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(),Ai(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(b.EMPTY_ARGUMENT,E(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(b.MALFORMED_ARGUMENT,E(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(b.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(b.EXPECT_ARGUMENT_CLOSING_BRACE,E(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(b.MALFORMED_ARGUMENT,E(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Ei(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(b.EXPECT_ARGUMENT_TYPE,E(a,c));case"number":case"date":case"time":{this.bumpSpace();var h=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var u=fl(d.val);if(u.length===0)return this.error(b.EXPECT_ARGUMENT_STYLE,E(this.clonePosition(),this.clonePosition()));var m=E(l,this.clonePosition());h={style:u,styleLocation:m}}var f=this.tryParseArgumentClose(i);if(f.err)return f;var g=E(i,this.clonePosition());if(h&&Pa(h?.style,"::",0)){var S=pl(h.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(S,h.styleLocation);return d.err?d:{val:{type:P.number,value:n,location:g,style:d.val},err:null}}else{if(S.length===0)return this.error(b.EXPECT_DATE_TIME_SKELETON,g);var u={type:ze.dateTime,pattern:S,location:h.styleLocation,parsedOptions:this.shouldParseSkeletons?xa(S):{}},w=s==="date"?P.date:P.time;return{val:{type:w,value:n,location:g,style:u},err:null}}}return{val:{type:s==="number"?P.number:s==="date"?P.date:P.time,value:n,location:g,style:(o=h?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var v=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,E(v,T({},v)));this.bumpSpace();var A=this.parseIdentifierIfPossible(),R=0;if(s!=="select"&&A.value==="offset"){if(!this.bumpIf(":"))return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),A=this.parseIdentifierIfPossible(),R=d.val}var C=this.tryParsePluralOrSelectOptions(t,s,r,A);if(C.err)return C;var f=this.tryParseArgumentClose(i);if(f.err)return f;var $=E(i,this.clonePosition());return s==="select"?{val:{type:P.select,value:n,options:Ca(C.val),location:$},err:null}:{val:{type:P.plural,value:n,options:Ca(C.val),offset:R,pluralType:s==="plural"?"cardinal":"ordinal",location:$},err:null}}default:return this.error(b.INVALID_ARGUMENT_TYPE,E(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(b.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(b.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=Sa(t)}catch{return this.error(b.INVALID_NUMBER_SKELETON,r)}return{val:{type:ze.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?_a(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],c=new Set,h=i.value,l=i.location;;){if(h.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var u=this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR,b.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;l=E(d,this.clonePosition()),h=this.message.slice(d.offset,this.offset())}else break}if(c.has(h))return this.error(r==="select"?b.DUPLICATE_SELECT_ARGUMENT_SELECTOR:b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);h==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:b.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([h,{value:f.val,location:E(m,this.clonePosition())}]),c.add(h),this.bumpSpace(),o=this.parseIdentifierIfPossible(),h=o.value,l=o.location}return s.length===0?this.error(r==="select"?b.EXPECT_SELECT_ARGUMENT_SELECTOR:b.EXPECT_PLURAL_ARGUMENT_SELECTOR,E(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(b.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,ml(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=Ia(this.message,t);if(r===void 0)throw Error("Offset "+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(Pa(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 "+t+" must be greater than or equal to the current offset "+this.offset());for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset "+t+" is at invalid UTF-16 code unit boundary");if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Oa(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 Si(e){return e>=97&&e<=122||e>=65&&e<=90}function gl(e){return Si(e)||e===47}function xl(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 Oa(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function vl(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 yi(e){e.forEach(function(t){if(delete t.location,Or(t)||Rr(t))for(var r in t.options)delete t.options[r].location,yi(t.options[r].value);else Ir(t)&&$r(t.style)||(Nr(t)||kr(t))&&Ft(t.style)?delete t.style.location:Vr(t)&&yi(t.children)})}function Ra(e,t){t===void 0&&(t={}),t=T({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ka(e,t).parse();if(r.err){var n=SyntaxError(b[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||yi(r.val),r.val}function jt(e,t){var r=t&&t.cache?t.cache:Tl,n=t&&t.serializer?t.serializer:yl,i=t&&t.strategy?t.strategy:Al;return i(e,{cache:r,serializer:n})}function bl(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Va(e,t,r,n){var i=bl(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function $a(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 Ti(e,t,r,n,i){return r.bind(t,e,n,i)}function Al(e,t){var r=e.length===1?Va:$a;return Ti(e,this,r,t.cache.create(),t.serializer)}function El(e,t){return Ti(e,this,$a,t.cache.create(),t.serializer)}function Sl(e,t){return Ti(e,this,Va,t.cache.create(),t.serializer)}var yl=function(){return JSON.stringify(arguments)};function Li(){this.cache=Object.create(null)}Li.prototype.get=function(e){return this.cache[e]};Li.prototype.set=function(e,t){this.cache[e]=t};var Tl={create:function(){return new Li}},Mr={variadic:El,monadic:Sl};var Fe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Fe||(Fe={}));var Kt=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: "+this.code+"] "+this.message},t}(Error);var _i=function(e){zt(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'+r+'": "'+n+'". Options are "'+Object.keys(i).join('", "')+'"',Fe.INVALID_VALUE,o)||this}return t}(Kt);var Ma=function(e){zt(t,e);function t(r,n,i){return e.call(this,'Value for "'+r+'" must be of type '+n,Fe.INVALID_VALUE,i)||this}return t}(Kt);var Ua=function(e){zt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'+r+'" was not provided to the string "'+n+'"',Fe.MISSING_VALUE,n)||this}return t}(Kt);var B;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(B||(B={}));function Ll(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==B.literal||r.type!==B.literal?t.push(r):n.value+=r.value,t},[])}function _l(e){return typeof e=="function"}function Bt(e,t,r,n,i,o,a){if(e.length===1&&fi(e[0]))return[{type:B.literal,value:e[0].value}];for(var s=[],c=0,h=e;c0?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(Nl);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 Ol(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,Rl(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 Rl(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.lengthMath.round(e*20)/20},Pi=(e,t)=>({accept:e,round:t}),Dl=[Pi(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Pi(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.ceil(Math.floor(t*1e4/e)/100)/100),Pi(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Ci={[D.YEAR]:{[k.MONTHLY]:Yt.MONTH,[k.ANNUAL]:Yt.YEAR},[D.MONTH]:{[k.MONTHLY]:Yt.MONTH}},Gl=(e,t)=>e.indexOf(`'${t}'`)===0,Hl=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Xa(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Fl(e)),r},zl=e=>{let t=jl(e),r=Gl(e,t),n=e.replace(/'.*?'/,""),i=Ka.test(n)||Ba.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},Ya=e=>e.replace(Ka,ja).replace(Ba,ja),Fl=e=>e.match(/#(.?)#/)?.[1]===Fa?$l:Fa,jl=e=>e.match(/'(.*?)'/)?.[1]??"",Xa=e=>e.match(/0(.?)0/)?.[1]??"";function Ur({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,o=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=zl(e),h=r?Xa(e):"",l=Hl(e,r),d=r?2:0,u=o(t,{currencySymbol:a}),m=n?u.toLocaleString("hi-IN",{minimumFractionDigits:d,maximumFractionDigits:d}):za(l,u),f=r?m.lastIndexOf(h):m.length,g=m.substring(0,f),S=m.substring(f+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,a),currencySymbol:a,decimals:S,decimalsDelimiter:h,hasCurrencySpace:c,integer:g,isCurrencyFirst:s,recurrenceTerm:i}}var Wa=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=Ml[r]??1;return Ur(e,i>1?Yt.MONTH:Ci[t]?.[r],(o,{currencySymbol:a})=>{let s={divisor:i,price:o,usePrecision:n},{round:c}=Dl.find(({accept:l})=>l(s));if(!c)throw new Error(`Missing rounding rule for: ${JSON.stringify(s)}`);return(Ul[a]??(l=>l))(c(s))})},qa=({commitment:e,term:t,...r})=>Ur(r,Ci[e]?.[t]),Za=e=>{let{commitment:t,term:r}=e;return t===D.YEAR&&r===k.MONTHLY?Ur(e,Yt.YEAR,n=>n*12):Ur(e,Ci[t]?.[r])};var Kl={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}"},Bl=da("ConsonantTemplates/price"),Yl=/<\/?[^>]+(>|$)/g,z={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"},je={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Xl="TAX_EXCLUSIVE",Wl=e=>ha(e)?Object.entries(e).filter(([,t])=>gt(t)||_r(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+ca(n)+'"'}`,""):"",Y=(e,t,r,n=!1)=>`${n?Ya(t):t??""}`;function ql(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:o,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:h,taxInclusivityLabel:l},d={}){let u=Y(z.currencySymbol,r),m=Y(z.currencySpace,o?" ":""),f="";return s&&(f+=u+m),f+=Y(z.integer,a),f+=Y(z.decimalsDelimiter,i),f+=Y(z.decimals,n),s||(f+=m+u),f+=Y(z.recurrence,c,null,!0),f+=Y(z.unitType,h,null,!0),f+=Y(z.taxInclusivity,l,!0),Y(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:h={}}={},{commitment:l,offerSelectorIds:d,formatString:u,price:m,priceWithoutDiscount:f,taxDisplay:g,taxTerm:S,term:w,usePrecision:v}={},A={})=>{Object.entries({country:n,formatString:u,language:c,price:m}).forEach(([se,Kr])=>{if(Kr==null)throw new Error(`Argument "${se}" is missing for osi ${d?.toString()}, country ${n}, language ${c}`)});let R={...Kl,...h},C=`${c.toLowerCase()}-${n.toUpperCase()}`;function $(se,Kr){let Br=R[se];if(Br==null)return"";try{return new Ga(Br.replace(Yl,""),C).format(Kr)}catch{return Bl.error("Failed to format literal:",Br),""}}let F=t&&f?f:m,oe=e?Wa:qa;r&&(oe=Za);let{accessiblePrice:Ye,recurrenceTerm:Le,...Xe}=oe({commitment:l,formatString:u,term:w,price:e?m:F,usePrecision:v,isIndianPrice:n==="IN"}),J=Ye,fe="";if(y(o)&&Le){let se=$(je.recurrenceAriaLabel,{recurrenceTerm:Le});se&&(J+=" "+se),fe=$(je.recurrenceLabel,{recurrenceTerm:Le})}let ae="";if(y(a)){ae=$(je.perUnitLabel,{perUnit:"LICENSE"});let se=$(je.perUnitAriaLabel,{perUnit:"LICENSE"});se&&(J+=" "+se)}let Q="";y(s)&&S&&(Q=$(g===Xl?je.taxExclusiveLabel:je.taxInclusiveLabel,{taxTerm:S}),Q&&(J+=" "+Q)),t&&(J=$(je.strikethroughAriaLabel,{strikethroughPrice:J}));let _e=z.container;if(e&&(_e+=" "+z.containerOptical),t&&(_e+=" "+z.containerStrikethrough),r&&(_e+=" "+z.containerAnnual),y(i))return ql(_e,{...Xe,accessibleLabel:J,recurrenceLabel:fe,perUnitLabel:ae,taxInclusivityLabel:Q},A);let{currencySymbol:Yi,decimals:xs,decimalsDelimiter:vs,hasCurrencySpace:Xi,integer:bs,isCurrencyFirst:As}=Xe,We=[bs,vs,xs];As?(We.unshift(Xi?"\xA0":""),We.unshift(Yi)):(We.push(Xi?"\xA0":""),We.push(Yi)),We.push(fe,ae,Q);let Es=We.join("");return Y(_e,Es,A)},Ja=()=>(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 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)}${Y(z.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${Y(z.containerAnnualSuffix,")")}`},es=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${W()(e,t,r)}${Y(z.containerAnnualPrefix," (")}${W({displayAnnual:!0})(n,t,r)}${Y(z.containerAnnualSuffix,")")}`};var Ii=W(),Ni=Ja(),ki=W({displayOptical:!0}),Oi=W({displayStrikethrough:!0}),Ri=W({displayAnnual:!0}),Vi=es(),$i=Qa();var Zl=(e,t)=>{if(!(!vt(e)||!vt(t)))return Math.floor((t-e)/t*100)},ts=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Zl(r,n);return i===void 0?'':`${i}%`};var Mi=ts();var{freeze:Xt}=Object,te=Xt({...He}),re=Xt({...Z}),Ke={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},Ui=Xt({...D}),Di=Xt({...ma}),Gi=Xt({...k});var rs="mas-commerce-service";function ns(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(rs);i!==r&&(r=i,i&&e(i))}return document.addEventListener(nt,n,{once:t}),Te(n),()=>document.removeEventListener(nt,n)}function Wt(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(mi)),i}var Te=e=>window.setTimeout(e);function Et(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(At).filter(vt);return r.length||(r=[t]),r}function Dr(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(ai)}function q(){return document.getElementsByTagName(rs)?.[0]}var _=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:te.V3,checkoutWorkflowStep:re.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:Ke.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:Me.PUBLISHED,wcsBufferLimit:1});var Hi=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function Jl({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||_.language),t??(t=e?.split("_")?.[1]||_.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function zi(e={}){let{commerce:t={}}=e,r=Ke.PRODUCTION,n=Dn,i=O("checkoutClientId",t)??_.checkoutClientId,o=ye(O("checkoutWorkflow",t),te,_.checkoutWorkflow),a=re.CHECKOUT;o===te.V3&&(a=ye(O("checkoutWorkflowStep",t),re,_.checkoutWorkflowStep));let s=y(O("displayOldPrice",t),_.displayOldPrice),c=y(O("displayPerUnit",t),_.displayPerUnit),h=y(O("displayRecurrence",t),_.displayRecurrence),l=y(O("displayTax",t),_.displayTax),d=y(O("entitlement",t),_.entitlement),u=y(O("modal",t),_.modal),m=y(O("forceTaxExclusive",t),_.forceTaxExclusive),f=O("promotionCode",t)??_.promotionCode,g=Et(O("quantity",t)),S=O("wcsApiKey",t)??_.wcsApiKey,w=t?.env==="stage",v=Me.PUBLISHED;["true",""].includes(t.allowOverride)&&(w=(O(Mn,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",v=ye(O(Un,t),Me,v)),w&&(r=Ke.STAGE,n=Gn);let R=At(O("wcsBufferDelay",t),_.wcsBufferDelay),C=At(O("wcsBufferLimit",t),_.wcsBufferLimit);return{...Jl(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:o,checkoutWorkflowStep:a,displayPerUnit:c,displayRecurrence:h,displayTax:l,entitlement:d,extraOptions:_.extraOptions,modal:u,env:r,forceTaxExclusive:m,promotionCode:f,quantity:g,wcsApiKey:S,wcsBufferDelay:R,wcsBufferLimit:C,wcsURL:n,landscape:v}}var Fi={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Ql=Date.now(),ji=new Set,Ki=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!==Fi.DEBUG},eh={filter:()=>!1};function th(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Gt(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-Ql}}function rh(e){[...Ki].every(t=>t(e))&&ji.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:pt};return Object.values(Fi).forEach(i=>{n[i]=(o,...a)=>rh(th(i,o,e,a,r))}),Object.seal(n)}function Gr(...e){e.forEach(t=>{let{append:r,filter:n}=t;Gt(n)&&Ki.add(n),Gt(r)&&ji.add(r)})}function nh(e={}){let{name:t}=e,r=y(O("commerce.debug",{search:!0,storage:!0}),t===Hi.LOCAL);return Gr(r?os:as),t===Hi.PROD&&Gr(Wn),X}function ih(){ji.clear(),Ki.clear()}var X={...ss($n),Level:Fi,Plugins:{consoleAppender:os,debugFilter:as,quietFilter:eh,lanaAppender:Wn},init:nh,reset:ih,use:Gr};var oh={[he]:Cn,[de]:In,[ue]:Nn},ah={[he]:On,[de]:Rn,[ue]:Vn},St=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",xt);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",de);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t}update(){[he,de,ue].forEach(t=>{this.wrapperElement.classList.toggle(oh[t],t===this.state)})}notify(){(this.state===ue||this.state===he)&&(this.state===ue?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(ah[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=ns(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=xt}onceSettled(){let{error:t,promises:r,state:n}=this;return ue===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=ue,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),Te(()=>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}),Te(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=de,this.update(),Te(()=>this.notify()),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!q()||this.timer)return;let r=X.module("mas-element"),{error:n,options:i,state:o,value:a,version:s}=this;this.state=de,this.timer=Te(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===de&&this.version===s&&(this.state=o,this.error=n,this.value=a,this.update(),this.notify())}catch(h){r.error("Failed to render mas-element: ",h),this.toggleFailed(this.version,h,i)}})}};function cs(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function Hr(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 zr(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,cs(t)),e):null}var sh="download",ch="upgrade",Be,qt=class qt extends HTMLAnchorElement{constructor(){super();M(this,Be,void 0);p(this,"masElement",new St(this));this.handleClick=this.handleClick.bind(this)}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)}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)}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"]}static createCheckoutLink(r={},n=""){let i=q();if(!i)return null;let{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:h,modal:l,perpetual:d,promotionCode:u,quantity:m,wcsOsi:f,extraOptions:g}=i.collectCheckoutOptions(r),S=Hr(qt,{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:h,modal:l,perpetual:d,promotionCode:u,quantity:m,wcsOsi:f,extraOptions:g});return n&&(S.innerHTML=`${n}`),S}get isCheckoutLink(){return!0}handleClick(r){var n;if(r.target!==this){r.preventDefault(),r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}));return}(n=L(this,Be))==null||n.call(this,r)}async render(r={}){if(!this.isConnected)return!1;let n=q();if(!n)return!1;this.dataset.imsCountry||n.imsCountryPromise.then(l=>{l&&(this.dataset.imsCountry=l)},xt),r.imsCountry=null;let i=n.collectCheckoutOptions(r,this);if(!i.wcsOsi.length)return!1;let o;try{o=JSON.parse(i.extraOptions??"{}")}catch(l){this.masElement.log?.error("cannot parse exta checkout options",l)}let a=this.masElement.togglePending(i);this.href="";let s=n.resolveOfferSelectors(i),c=await Promise.all(s);c=c.map(l=>Wt(l,i)),i.country=this.dataset.imsCountry||i.country;let h=await n.buildCheckoutAction?.(c.flat(),{...o,...i},this);return this.renderOffers(c.flat(),i,{},h,a)}renderOffers(r,n,i={},o=void 0,a=void 0){if(!this.isConnected)return!1;let s=q();if(!s)return!1;if(n={...JSON.parse(this.dataset.extraOptions??"null"),...n,...i},a??(a=this.masElement.togglePending(n)),L(this,Be)&&j(this,Be,void 0),o){this.classList.remove(sh,ch),this.masElement.toggleResolved(a,r,n);let{url:h,text:l,className:d,handler:u}=o;return h&&(this.href=h),l&&(this.firstElementChild.innerHTML=l),d&&this.classList.add(...d.split(" ")),u&&(this.setAttribute("href","#"),j(this,Be,u.bind(this))),!0}else if(r.length){if(this.masElement.toggleResolved(a,r,n)){let h=s.buildCheckoutURL(r,n);return this.setAttribute("href",h),!0}}else{let h=new Error(`Not provided: ${n?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(a,h,n))return this.setAttribute("href","#"),!0}}updateOptions(r={}){let n=q();if(!n)return!1;let{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:h,perpetual:l,promotionCode:d,quantity:u,wcsOsi:m}=n.collectCheckoutOptions(r);return zr(this,{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:h,perpetual:l,promotionCode:d,quantity:u,wcsOsi:m}),!0}};Be=new WeakMap,p(qt,"is","checkout-link"),p(qt,"tag","a");var ne=qt;window.customElements.get(ne.is)||window.customElements.define(ne.is,ne,{extends:ne.tag});function ls({providers:e,settings:t}){function r(o,a){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:h,country:l,language:d,promotionCode:u,quantity:m}=t,{checkoutMarketSegment:f,checkoutWorkflow:g=c,checkoutWorkflowStep:S=h,imsCountry:w,country:v=w??l,language:A=d,quantity:R=m,entitlement:C,upgrade:$,modal:F,perpetual:oe,promotionCode:Ye=u,wcsOsi:Le,extraOptions:Xe,...J}=Object.assign({},a?.dataset??{},o??{}),fe=ye(g,te,_.checkoutWorkflow),ae=re.CHECKOUT;fe===te.V3&&(ae=ye(S,re,_.checkoutWorkflowStep));let Q=bt({...J,extraOptions:Xe,checkoutClientId:s,checkoutMarketSegment:f,country:v,quantity:Et(R,_.quantity),checkoutWorkflow:fe,checkoutWorkflowStep:ae,language:A,entitlement:y(C),upgrade:y($),modal:y(F),perpetual:y(oe),promotionCode:Ht(Ye).effectivePromoCode,wcsOsi:Dr(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:h,checkoutMarketSegment:l,checkoutWorkflow:d,checkoutWorkflowStep:u,country:m,promotionCode:f,quantity:g,...S}=r(a),w=window.frameElement?"if":"fp",v={checkoutPromoCode:f,clientId:h,context:w,country:m,env:s,items:[],marketSegment:l,workflowStep:u,landscape:c,...S};if(o.length===1){let[{offerId:A,offerType:R,productArrangementCode:C}]=o,{marketSegments:[$]}=o[0];Object.assign(v,{marketSegment:$,offerType:R,productArrangementCode:C}),v.items.push(g[0]===1?{id:A}:{id:A,quantity:g[0]})}else v.items.push(...o.map(({offerId:A},R)=>({id:A,quantity:g[R]??_.quantity})));return ei(d,v)}let{createCheckoutLink:i}=ne;return{CheckoutLink:ne,CheckoutWorkflow:te,CheckoutWorkflowStep:re,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function lh({interval:e=200,maxAttempts:t=25}={}){let r=X.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 hh(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function dh(e){let t=X.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 hs({}){let e=lh(),t=hh(e),r=dh(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function us(e,t){let{data:r}=t||await Promise.resolve().then(()=>Ns(ds(),1));if(Array.isArray(r)){let n=o=>r.find(a=>Lr(a.lang,o)),i=n(e.language)??n(_.language);if(i)return Object.freeze(i)}return{}}var ms=["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"],mh={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"]},Zt=class Zt extends HTMLSpanElement{constructor(){super();p(this,"masElement",new St(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:h,promotionCode:l,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Hr(Zt,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:h,promotionCode:l,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(ms.includes(r)||ms.includes(a))return!0;let s=mh[`${i}_${o}`];return s?!!(s.includes(r)||s.includes(a)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),o=Wt(await i,n);if(o?.length){let{country:a,language:s}=n,c=o[0],[h=""]=c.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(a,s,c.customerSegment,h)}}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(Wt(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:h,promotionCode:l,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return zr(this,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:h,promotionCode:l,quantity:d,template:u,wcsOsi:m}),!0}};p(Zt,"is","inline-price"),p(Zt,"tag","span");var ie=Zt;window.customElements.get(ie.is)||window.customElements.define(ie.is,ie,{extends:ie.tag});function ps({literals:e,providers:t,settings:r}){function n(a,s){let{country:c,displayOldPrice:h,displayPerUnit:l,displayRecurrence:d,displayTax:u,forceTaxExclusive:m,language:f,promotionCode:g,quantity:S}=r,{displayOldPrice:w=h,displayPerUnit:v=l,displayRecurrence:A=d,displayTax:R=u,forceTaxExclusive:C=m,country:$=c,language:F=f,perpetual:oe,promotionCode:Ye=g,quantity:Le=S,template:Xe,wcsOsi:J,...fe}=Object.assign({},s?.dataset??{},a??{}),ae=bt({...fe,country:$,displayOldPrice:y(w),displayPerUnit:y(v),displayRecurrence:y(A),displayTax:y(R),forceTaxExclusive:y(C),language:F,perpetual:y(oe),promotionCode:Ht(Ye).effectivePromoCode,quantity:Et(Le,_.quantity),template:Xe,wcsOsi:Dr(J)});if(s)for(let Q of t.price)Q(s,ae);return ae}function i(a,s){if(!Array.isArray(a)||!a.length||!s)return"";let{template:c}=s,h;switch(c){case"discount":h=Mi;break;case"strikethrough":h=Oi;break;case"optical":h=ki;break;case"annual":h=Ri;break;default:s.country==="AU"&&a[0].planType==="ABM"?h=s.promotionCode?$i:Vi:h=s.promotionCode?Ni:Ii}let l=n(s);l.literals=Object.assign({},e.price,bt(s.literals??{}));let[d]=a;return d={...d,...d.priceDetails},h(l,d)}let o=ie.createInlinePrice;return{InlinePrice:ie,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:o}}function fs({settings:e}){let t=X.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,o=new Map,a;async function s(d,u,m=!0){let f=kn;t.debug("Fetching:",d);let g="",S,w=(v,A,R)=>`${v}: ${A?.status}, url: ${R.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===Ke.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),S=await fetch(g.toString(),{credentials:"omit"}),S.ok){let v=await S.json();t.debug("Fetched:",d,v);let A=v.resolvedOffers??[];A=A.map(Pr),u.forEach(({resolve:R},C)=>{let $=A.filter(({offerSelectorIds:F})=>F.includes(C)).flat();$.length&&(u.delete(C),R($))})}else S.status===404&&d.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(d.offerSelectorIds.map(v=>s({...d,offerSelectorIds:[v]},u,!1)))):f=gr}catch(v){f=gr,t.error(f,d,v)}m&&u.size&&(t.debug("Missing:",{offerSelectorIds:[...u.keys()]}),u.forEach(v=>{v.reject(new Error(w(f,S,g)))}))}function c(){clearTimeout(a);let d=[...o.values()];o.clear(),d.forEach(({options:u,promises:m})=>s(u,m))}function h(){let d=i.size;i.clear(),t.debug(`Flushed ${d} cache entries`)}function l({country:d,language:u,perpetual:m=!1,promotionCode:f="",wcsOsi:g=[]}){let S=`${u}_${d}`;d!=="GB"&&(u=m?"EN":"MULT");let w=[d,u,f].filter(v=>v).join("-").toLowerCase();return g.map(v=>{let A=`${v}-${w}`;if(!i.has(A)){let R=new Promise((C,$)=>{let F=o.get(w);if(!F){let oe={country:d,locale:S,offerSelectorIds:[]};d!=="GB"&&(oe.language=u),F={options:oe,promises:new Map},o.set(w,F)}f&&(F.options.promotionCode=f),F.options.offerSelectorIds.push(v),F.promises.set(v,{resolve:C,reject:$}),F.options.offerSelectorIds.length>=e.wcsBufferLimit?c():(t.debug("Queued:",F.options),a||(a=setTimeout(c,e.wcsBufferDelay)))});i.set(A,R)}return i.get(A)})}return{WcsCommitment:Ui,WcsPlanType:Di,WcsTerm:Gi,resolveOfferSelectors:l,flushWcsCache:h}}var Bi="mas-commerce-service",jr,gs,Fr=class extends HTMLElement{constructor(){super(...arguments);M(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=L(this,jr,gs),n=Object.freeze(zi(r));pt(r.lana);let i=X.init(r.hostEnv).module("service");i.debug("Activating:",r);let o={price:{}};try{o.price=await us(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({...ls(s),...hs(s),...ps(s),...fs(s),...Hn,Log:X,get defaults(){return _},get log(){return X},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}),Te(()=>{let c=new CustomEvent(nt,{bubbles:!0,cancelable:!1,detail:this});this.dispatchEvent(c)})}connectedCallback(){this.readyPromise||(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,gs=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(Fr,"instance");window.customElements.get(Bi)||window.customElements.define(Bi,Fr);pt({sampleRate:1});export{ne as CheckoutLink,te as CheckoutWorkflow,re as CheckoutWorkflowStep,_ as Defaults,ie as InlinePrice,Me as Landscape,X as Log,Bi as TAG_NAME_SERVICE,Ui as WcsCommitment,Di as WcsPlanType,Gi as WcsTerm,Pr as applyPlanType,zi as getSettings}; + `);customElements.define("merch-icon",Tt);var fs=new CSSStyleSheet;fs.replaceSync(":host { display: contents; }");var fh=document.querySelector('meta[name="aem-base-url"]')?.content??"https://odin.adobe.com",ds="fragment",ms="author",gh="ims",ps=e=>{throw new Error(`Failed to get fragment: ${e}`)};async function xh(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=>ps(a.message));return o?.ok||ps(`${o.status} ${o.statusText}`),o.json()}var Xi,ye,Wi=class{constructor(){G(this,ye,new Map)}clear(){y(this,ye).clear()}add(...t){t.forEach(r=>{let{id:n}=r;n&&y(this,ye).set(n,r)})}has(t){return y(this,ye).has(t)}get(t){return y(this,ye).get(t)}remove(t){y(this,ye).delete(t)}};ye=new WeakMap;var Kr=new Wi,Xe,me,Le,Jt,pe,yt,fe,Zi,gs,xs,qi=class extends HTMLElement{constructor(){super();G(this,fe);p(this,"cache",Kr);G(this,Xe);G(this,me);G(this,Le);G(this,Jt,!1);G(this,pe);G(this,yt,!1);this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[fs];let r=this.getAttribute(gh);["",!0,"true"].includes(r)&&(j(this,Jt,!0),Xi||(Xi={Authorization:`Bearer ${window.adobeid?.authorize?.()}`}))}static get observedAttributes(){return[ds,ms]}attributeChangedCallback(r,n,i){r===ds&&(j(this,Le,i),this.refresh(!1)),r===ms&&j(this,yt,["","true"].includes(i))}connectedCallback(){if(!y(this,Le)){xe(this,fe,Zi).call(this,"Missing fragment id");return}}async refresh(r=!0){y(this,pe)&&!await Promise.race([y(this,pe),Promise.resolve(!1)])||(r&&Kr.remove(y(this,Le)),j(this,pe,this.fetchData().then(()=>(this.dispatchEvent(new CustomEvent(Ve,{detail:this.data,bubbles:!0,composed:!0})),!0)).catch(n=>(xe(this,fe,Zi).call(this,"Network error: failed to load fragment"),j(this,pe,null),!1))),y(this,pe))}async fetchData(){j(this,Xe,null),j(this,me,null);let r=Kr.get(y(this,Le));r||(r=await xh(fh,y(this,Le),y(this,yt),y(this,Jt)?Xi:void 0),Kr.add(r)),j(this,Xe,r)}get updateComplete(){return y(this,pe)??Promise.reject(new Error("AEM fragment cannot be loaded"))}get data(){return y(this,me)?y(this,me):(y(this,yt)?xe(this,fe,gs).call(this):xe(this,fe,xs).call(this),y(this,me))}};Xe=new WeakMap,me=new WeakMap,Le=new WeakMap,Jt=new WeakMap,pe=new WeakMap,yt=new WeakMap,fe=new WeakSet,Zi=function(r){this.classList.add("error"),this.dispatchEvent(new CustomEvent(He,{detail:r,bubbles:!0,composed:!0}))},gs=function(){let{id:r,tags:n,fields:i}=y(this,Xe);j(this,me,i.reduce((o,{name:a,multiple:s,values:c})=>(o.fields[a]=s?c:c[0],o),{id:r,tags:n,fields:{}}))},xs=function(){let{id:r,tags:n,fields:i}=y(this,Xe);j(this,me,Object.entries(i).reduce((o,[a,s])=>(o.fields[a]=s?.mimeType?s.value:s??"",o),{id:r,tags:n,fields:{}}))};customElements.define("aem-fragment",qi);var Qt=class Qt extends zr(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return Gr(Qt,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};p(Qt,"is","checkout-link"),p(Qt,"tag","a");var ne=Qt;window.customElements.get(ne.is)||window.customElements.define(ne.is,ne,{extends:ne.tag});function bs({providers:e,settings:t}){function r(o,a){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:l,country:h,language:u,promotionCode:d,quantity:m}=t,{checkoutMarketSegment:f,checkoutWorkflow:g=c,checkoutWorkflowStep:L=l,imsCountry:w,country:b=w??h,language:S=u,quantity:N=m,entitlement:R,upgrade:M,modal:$,perpetual:oe,promotionCode:We=d,wcsOsi:_e,extraOptions:qe,...J}=Object.assign({},a?.dataset??{},o??{}),ge=Se(g,te,_.checkoutWorkflow),ae=re.CHECKOUT;ge===te.V3&&(ae=Se(L,re,_.checkoutWorkflowStep));let Q=bt({...J,extraOptions:qe,checkoutClientId:s,checkoutMarketSegment:f,country:b,quantity:At(N,_.quantity),checkoutWorkflow:ge,checkoutWorkflowStep:ae,language:S,entitlement:T(R),upgrade:T(M),modal:T($),perpetual:T(oe),promotionCode:Ut(We).effectivePromoCode,wcsOsi:$r(_e)});if(a)for(let we of e.checkout)we(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:u,checkoutWorkflowStep:d,country:m,promotionCode:f,quantity:g,...L}=r(a),w=window.frameElement?"if":"fp",b={checkoutPromoCode:f,clientId:l,context:w,country:m,env:s,items:[],marketSegment:h,workflowStep:d,landscape:c,...L};if(o.length===1){let[{offerId:S,offerType:N,productArrangementCode:R}]=o,{marketSegments:[M]}=o[0];Object.assign(b,{marketSegment:M,offerType:N,productArrangementCode:R}),b.items.push(g[0]===1?{id:S}:{id:S,quantity:g[0]})}else b.items.push(...o.map(({offerId:S},N)=>({id:S,quantity:g[N]??_.quantity})));return ei(u,b)}let{createCheckoutLink:i}=ne;return{CheckoutLink:ne,CheckoutWorkflow:te,CheckoutWorkflowStep:re,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function bh({interval:e=200,maxAttempts:t=25}={}){let r=X.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 vh(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function Ah(e){let t=X.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 vs({}){let e=bh(),t=vh(e),r=Ah(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function Es(e,t){let{data:r}=t||await Promise.resolve().then(()=>Ds(As(),1));if(Array.isArray(r)){let n=o=>r.find(a=>yr(a.lang,o)),i=n(e.language)??n(_.language);if(i)return Object.freeze(i)}return{}}var Ss=["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"],Sh={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"]},er=class er extends HTMLSpanElement{constructor(){super();p(this,"masElement",new St(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:u,template:d,wcsOsi:m}=n.collectPriceOptions(r);return Dr(er,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:d,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(Ss.includes(r)||Ss.includes(a))return!0;let s=Sh[`${i}_${o}`];return s?!!(s.includes(r)||s.includes(a)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),o=Xt(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(Xt(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:u,template:d,wcsOsi:m}=n.collectPriceOptions(r);return Br(this,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:d,wcsOsi:m}),!0}};p(er,"is","inline-price"),p(er,"tag","span");var ie=er;window.customElements.get(ie.is)||window.customElements.define(ie.is,ie,{extends:ie.tag});function Ts({literals:e,providers:t,settings:r}){function n(a,s){let{country:c,displayOldPrice:l,displayPerUnit:h,displayRecurrence:u,displayTax:d,forceTaxExclusive:m,language:f,promotionCode:g,quantity:L}=r,{displayOldPrice:w=l,displayPerUnit:b=h,displayRecurrence:S=u,displayTax:N=d,forceTaxExclusive:R=m,country:M=c,language:$=f,perpetual:oe,promotionCode:We=g,quantity:_e=L,template:qe,wcsOsi:J,...ge}=Object.assign({},s?.dataset??{},a??{}),ae=bt({...ge,country:M,displayOldPrice:T(w),displayPerUnit:T(b),displayRecurrence:T(S),displayTax:T(N),forceTaxExclusive:T(R),language:$,perpetual:T(oe),promotionCode:Ut(We).effectivePromoCode,quantity:At(_e,_.quantity),template:qe,wcsOsi:$r(J)});if(s)for(let Q of t.price)Q(s,ae);return ae}function i(a,s){if(!Array.isArray(a)||!a.length||!s)return"";let{template:c}=s,l;switch(c){case"discount":l=Hi;break;case"strikethrough":l=Oi;break;case"optical":l=ki;break;case"annual":l=Ri;break;default:s.country==="AU"&&a[0].planType==="ABM"?l=s.promotionCode?Vi:Mi:l=s.promotionCode?Ni:Ii}let h=n(s);h.literals=Object.assign({},e.price,bt(s.literals??{}));let[u]=a;return u={...u,...u.priceDetails},l(h,u)}let o=ie.createInlinePrice;return{InlinePrice:ie,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:o}}function ys({settings:e}){let t=X.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,o=new Map,a;async function s(u,d,m=!0){let f=Mn;t.debug("Fetching:",u);let g="",L,w=(b,S,N)=>`${b}: ${S?.status}, url: ${N.toString()}`;try{if(u.offerSelectorIds=u.offerSelectorIds.sort(),g=new URL(e.wcsURL),g.searchParams.set("offer_selector_ids",u.offerSelectorIds.join(",")),g.searchParams.set("country",u.country),g.searchParams.set("locale",u.locale),g.searchParams.set("landscape",r===Fe.STAGE?"ALL":e.landscape),g.searchParams.set("api_key",n),u.language&&g.searchParams.set("language",u.language),u.promotionCode&&g.searchParams.set("promotion_code",u.promotionCode),u.currency&&g.searchParams.set("currency",u.currency),L=await fetch(g.toString(),{credentials:"omit"}),L.ok){let b=await L.json();t.debug("Fetched:",u,b);let S=b.resolvedOffers??[];S=S.map(wr),d.forEach(({resolve:N},R)=>{let M=S.filter(({offerSelectorIds:$})=>$.includes(R)).flat();M.length&&(d.delete(R),N(M))})}else L.status===404&&u.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(u.offerSelectorIds.map(b=>s({...u,offerSelectorIds:[b]},d,!1)))):f=vr}catch(b){f=vr,t.error(f,u,b)}m&&d.size&&(t.debug("Missing:",{offerSelectorIds:[...d.keys()]}),d.forEach(b=>{b.reject(new Error(w(f,L,g)))}))}function c(){clearTimeout(a);let u=[...o.values()];o.clear(),u.forEach(({options:d,promises:m})=>s(d,m))}function l(){let u=i.size;i.clear(),t.debug(`Flushed ${u} cache entries`)}function h({country:u,language:d,perpetual:m=!1,promotionCode:f="",wcsOsi:g=[]}){let L=`${d}_${u}`;u!=="GB"&&(d=m?"EN":"MULT");let w=[u,d,f].filter(b=>b).join("-").toLowerCase();return g.map(b=>{let S=`${b}-${w}`;if(!i.has(S)){let N=new Promise((R,M)=>{let $=o.get(w);if(!$){let oe={country:u,locale:L,offerSelectorIds:[]};u!=="GB"&&(oe.language=d),$={options:oe,promises:new Map},o.set(w,$)}f&&($.options.promotionCode=f),$.options.offerSelectorIds.push(b),$.promises.set(b,{resolve:R,reject:M}),$.options.offerSelectorIds.length>=e.wcsBufferLimit?c():(t.debug("Queued:",$.options),a||(a=setTimeout(c,e.wcsBufferDelay)))});i.set(S,N)}return i.get(S)})}return{WcsCommitment:$i,WcsPlanType:Ui,WcsTerm:Di,resolveOfferSelectors:h,flushWcsCache:l}}var Ji="mas-commerce-service",Yr,Ls,jr=class extends HTMLElement{constructor(){super(...arguments);G(this,Yr);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=y(this,Yr,Ls),n=Object.freeze(zi(r));Et(r.lana);let i=X.init(r.hostEnv).module("service");i.debug("Activating:",r);let o={price:{}};try{o.price=await Es(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({...bs(s),...vs(s),...Ts(s),...ys(s),...Fn,Log:X,get defaults(){return _},get log(){return X},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}),Te(()=>{let c=new CustomEvent(ot,{bubbles:!0,cancelable:!1,detail:this});this.dispatchEvent(c)})}connectedCallback(){this.readyPromise||(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")}};Yr=new WeakSet,Ls=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(jr,"instance");window.customElements.get(Ji)||window.customElements.define(Ji,jr);Et({sampleRate:1});export{je as CheckoutButton,ne as CheckoutLink,te as CheckoutWorkflow,re as CheckoutWorkflowStep,_ as Defaults,ie as InlinePrice,$e as Landscape,X as Log,Ji as TAG_NAME_SERVICE,$i as WcsCommitment,Ui as WcsPlanType,Di as WcsTerm,wr as applyPlanType,zi as getSettings}; /*! Bundled license information: @lit/reactive-element/css-tag.js: diff --git a/libs/features/mas/docs/ccd.html b/libs/features/mas/docs/ccd.html index aef6e16ecb..26b5c53d94 100644 --- a/libs/features/mas/docs/ccd.html +++ b/libs/features/mas/docs/ccd.html @@ -4,16 +4,10 @@ CCD Gallery + - - - - - - - - +
-
+ diff --git a/libs/features/mas/docs/checkout-button.html b/libs/features/mas/docs/checkout-button.html new file mode 100644 index 0000000000..de4aac48e7 --- /dev/null +++ b/libs/features/mas/docs/checkout-button.html @@ -0,0 +1,374 @@ + + + + + + M@S Web Components + + + + + + + + + + + + + + + +
+
+

checkout-button #

+

Introduction #

+

This custom element renders a checkout button supporting most of the features documented at https://wiki.corp.adobe.com/pages/viewpage.action?spaceKey=businessservices&title=UCv3+button+Creation+Guide.

+

Behind the scene, it uses https://git.corp.adobe.com/PandoraUI/commerce-core to generate the checkout url.

+

It requires an Offer Selector ID to retrieve the offer details from WCS.

+

See MAS to learn more.

+

ℹ️ Unlike checkout-link, in order to prevent the default click event from redirecting to checkout url, register the click event using {capture: true}. +
See the demo at the end

+

Example #

+
<button
+    is="checkout-button"
+    data-wcs-osi="A1xn6EL4pK93bWjM8flffQpfEL-bnvtoQKQAvkx574M"
+>
+    Buy now
+</button>
+
+

Attributes #

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeDescriptionDefault ValueRequiredProvider
data-wcs-osiOffer Selector ID, can be multiple, separeted by commatruemas.js or consumer code
data-checkout-workflowTarget checkout workflow for the generation of checkout urlsUCv3falsemas.js
data-checkout-workflow-stepworkflow step to land on the unified checkout pageemailfalsemas.js
data-extra-optionsadditional query params to append to the url, see: Table of public query params{}falsemas.js
data-ims-countrythe ims country to code of the user if signed in, overrides the locale country in the generated checkout urlfalsemas.js or consumer code
data-perpetualwhether this is a perpetual offer true|falsefalsemas.js
data-promotion-codeFlex promotion code, if applicablefalsemas.js
data-quantityQuantity of the offer to purchase1falsemas.js or consumer code
data-entitlemententitlement flag for client side interpretationfalsefalsemas.js
data-upgradeupgrade flag for client side interpretationfalsefalsemas.js
data-modalmodal flag for client side interpretationfalsefalsemas.js
data-analytics-idhuman-readable, non-translatable button id for analytics. Authored in Studio in button Editor.falsefalsemas.js
daa-llmartech-compatible button id for analytics. Format: ‘${data-analytics-id}-${#}’, where # is the position of the button within a card. E.g. : see-terms-1, buy-now-2falsefalsemas.js
+

Examples #

+

Custom Workflow Step #

+
<button
+    is="checkout-button"
+    data-wcs-osi="A1xn6EL4pK93bWjM8flffQpfEL-bnvtoQKQAvkx574M"
+    data-checkout-workflow-step="recommendation"
+>
+    Buy now
+</button>
+
+

Multiple Quantities #

+

Two photoshop and three acrobat pro single apps (TEAMS):

+
<button
+    is="checkout-button"
+    data-wcs-osi="yHKQJK2VOMSY5bINgg7oa2ov9RnmnU1oJe4NOg4QTYI,vV01ci-KLH6hYdRfUKMBFx009hdpxZcIRG1-BY_PutE"
+    data-quantity="2,3"
+>
+    Buy now
+</button>
+
+

Custom query params #

+
<button
+    is="checkout-button"
+    data-wcs-osi="A1xn6EL4pK93bWjM8flffQpfEL-bnvtoQKQAvkx574M"
+    data-extra-options='{"promoid":"promo12345","mv":1,"mv2":2}'
+>
+    Buy now
+</button>
+
+

IMS Country #

+
<button
+    is="checkout-button"
+    data-wcs-osi="A1xn6EL4pK93bWjM8flffQpfEL-bnvtoQKQAvkx574M"
+    data-ims-country="JP"
+>
+    Buy now
+</button>
+
+

Properties #

+ + + + + + + + + + + + + + + + + + + + + + + + + +
PropertyDescription
isCheckoutButtonon checkout button elements, it will return true
onceSettledpromise that resolves when the custom-element either resolves or fails to resolve the offer
optionsJSON object with the complete set of properties used to resolve the offer
valueThe actual offer that is used to render the checkout button. In some cases WCS can return multiple offers but only one will be picked to render for a single app.
+

Example #

+
<button
+    id="co1"
+    is="checkout-button"
+    data-wcs-osi="A1xn6EL4pK93bWjM8flffQpfEL-bnvtoQKQAvkx574M"
+    data-ims-country="CA"
+>
+    Buy now
+</button>
+<script type="module">
+    document
+        .getElementById('co1')
+        .onceSettled()
+        .then((el) => {
+            document.getElementById('coValue').innerHTML = JSON.stringify(
+                el.value,
+                null,
+                '\t',
+            );
+            document.getElementById('coOptions').innerHTML = JSON.stringify(
+                el.options,
+                null,
+                '\t',
+            );
+        });
+</script>
+
+

value property #

+

+
+

options property #

+

+
+

Methods #

+ + + + + + + + + + + + + +
PropertyDescription
requestUpdate(true | false)Causes a re-render using the actual options, force = false by default, meaning if no change is found will skip
+

Events #

+ + + + + + + + + + + + + + + + + + + + + +
EventDescription
mas:pendingfires when checkout button starts loading
mas:resolvedfires when the offer is successfully resolved
mas:failedfires when the offer could not be found or fetched
+
+

For each event, the following css classes are toggled on the element: placeholder-pending, placeholder-resolved, placeholder-failed.

+

Example #

+
<div id="eventsDemo">
+    <button
+        is="checkout-button"
+        data-wcs-osi="A1xn6EL4pK93bWjM8flffQpfEL-bnvtoQKQAvkx574M"
+        >Buy now (click me)</a
+    >
+    <br />
+    <button
+        is="checkout-button"
+        data-wcs-osi="A1xn6EL4pK93bWjM8flffQpfEL-bnvtoQKQAvkx574M"
+        ><span style="pointer-events: none;">Span + <strong>Strong + Buy now</strong></span></a
+    >
+</div>
+<button id="btnRefresh">Refresh</button>
+<script type="module">
+    const log = document.getElementById('log');
+    const logger = (...messages) =>
+        (log.innerHTML = `${messages.join(' ')}<br>${log.innerHTML}`);
+    const eventsDemo = document.getElementById('eventsDemo');
+    eventsDemo.addEventListener('mas:pending', () =>
+        logger('checkout-button pending'),
+    );
+    eventsDemo.addEventListener('mas:resolved', (e) =>
+        logger('checkout-button resolved'),
+    );
+    eventsDemo.addEventListener('mas:failed', () =>
+        logger('checkout-button failed'),
+    );
+    eventsDemo.addEventListener('click', (e) => {
+        e.preventDefault();
+        e.stopPropagation();
+        if (e.target.isCheckoutButton) {
+            logger('checkout button is clicked: ', e.target.href);
+        } else {
+            logger('element clicked: ', e.target);
+        }
+    }, {capture: true});
+    document.getElementById('btnRefresh').addEventListener('click', () => {
+        [...eventsDemo.querySelectorAll('a')].forEach((a) =>
+            a.requestUpdate(true),
+        );
+    });
+</script>
+
+

Logs #

+

+
+ +
+
+ + + diff --git a/libs/features/mas/docs/checkout-link.html b/libs/features/mas/docs/checkout-link.html index a3df1d6274..89073850cd 100644 --- a/libs/features/mas/docs/checkout-link.html +++ b/libs/features/mas/docs/checkout-link.html @@ -6,20 +6,24 @@ M@S Web Components + - - - - + - - - - + - - - - + - - - - + - - - - + - - - - +``` + +#### value property + +```json {#coValue} + +``` + +#### options property + +```json {#coOptions} + +``` + +## Methods {#methods} + +| Property | Description | +| ------------------------------ | -------------------------------------------------------------------------------------------------------------- | +| `requestUpdate(true \| false)` | Causes a re-render using the actual options, force = false by default, meaning if no change is found will skip | + +## Events {#events} + +| Event | Description | +| -------------- | -------------------------------------------------- | +| `mas:pending` | fires when checkout button starts loading | +| `mas:resolved` | fires when the offer is successfully resolved | +| `mas:failed` | fires when the offer could not be found or fetched | + +
+ +For each event, the following css classes are toggled on the element: `placeholder-pending`, `placeholder-resolved`, `placeholder-failed`. + +### Example + +```html {.demo} +
+
+ + +``` + +#### Logs + +```html {#log} + +``` diff --git a/libs/features/mas/docs/src/checkout-link.md b/libs/features/mas/docs/src/checkout-link.md index 390f14d588..8cac95f8c0 100644 --- a/libs/features/mas/docs/src/checkout-link.md +++ b/libs/features/mas/docs/src/checkout-link.md @@ -25,21 +25,21 @@ See [MAS](mas.html#terminology) to learn more. ## Attributes {#attributes} -| Attribute | Description | Default Value | Required | Provider | -| ----------------------------- | ------------------------------------------------------- | ------------- | -------- | -------- | -| `data-wcs-osi` | Offer Selector ID, can be multiple, separeted by comma | | `true` | mas.js or consumer code | -| `data-checkout-workflow` | Target checkout workflow for the generation of checkout urls | UCv3 | `false` | mas.js | -| `data-checkout-workflow-step` | [workflow step](https://wiki.corp.adobe.com/pages/viewpage.action?spaceKey=businessservices&title=UCv3+Link+Creation+Guide#UCv3LinkCreationGuide-RegularWorkflow) to land on the unified checkout page | email | `false` | mas.js | -| `data-extra-options` | additional query params to append to the url, see: [Table of public query params](https://wiki.corp.adobe.com/pages/viewpage.action?spaceKey=businessservices&title=UCv3+Link+Creation+Guide#UCv3LinkCreationGuide-Tableofpublicqueryparams) | {} | `false` | mas.js | -| `data-ims-country` | the ims country to code of the user if signed in, overrides the locale country in the generated checkout url | | `false` | mas.js or consumer code | -| `data-perpetual` | whether this is a perpetual offer `true\|false` | | `false` | mas.js | -| `data-promotion-code` | Flex promotion code, if applicable | | `false` | mas.js | -| `data-quantity` | Quantity of the offer to purchase | 1 | `false` | mas.js or consumer code | -| `data-entitlement` | `entitlement` flag for client side interpretation | `false` | `false` | mas.js | -| `data-upgrade` | `upgrade` flag for client side interpretation | `false` | `false` | mas.js | -| `data-modal` | `modal` flag for client side interpretation | `false` | `false` | mas.js | -| `data-analytics-id` | human-readable, non-translatable link id for analytics. Authored in Studio in Link Editor. | `false` | `false` | mas.js | -| `daa-ll` | martech-compatible link id for analytics. Format: '${data-analytics-id}-${#}', where # is the position of the link within a card. E.g. : see-terms-1, buy-now-2 | `false` | `false` | mas.js | +| Attribute | Description | Default Value | Required | Provider | +| ----------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------- | ----------------------- | +| `data-wcs-osi` | Offer Selector ID, can be multiple, separeted by comma | | `true` | mas.js or consumer code | +| `data-checkout-workflow` | Target checkout workflow for the generation of checkout urls | UCv3 | `false` | mas.js | +| `data-checkout-workflow-step` | [workflow step](https://wiki.corp.adobe.com/pages/viewpage.action?spaceKey=businessservices&title=UCv3+Link+Creation+Guide#UCv3LinkCreationGuide-RegularWorkflow) to land on the unified checkout page | email | `false` | mas.js | +| `data-extra-options` | additional query params to append to the url, see: [Table of public query params](https://wiki.corp.adobe.com/pages/viewpage.action?spaceKey=businessservices&title=UCv3+Link+Creation+Guide#UCv3LinkCreationGuide-Tableofpublicqueryparams) | {} | `false` | mas.js | +| `data-ims-country` | the ims country to code of the user if signed in, overrides the locale country in the generated checkout url | | `false` | mas.js or consumer code | +| `data-perpetual` | whether this is a perpetual offer `true\|false` | | `false` | mas.js | +| `data-promotion-code` | Flex promotion code, if applicable | | `false` | mas.js | +| `data-quantity` | Quantity of the offer to purchase | 1 | `false` | mas.js or consumer code | +| `data-entitlement` | `entitlement` flag for client side interpretation | `false` | `false` | mas.js | +| `data-upgrade` | `upgrade` flag for client side interpretation | `false` | `false` | mas.js | +| `data-modal` | `modal` flag for client side interpretation | `false` | `false` | mas.js | +| `data-analytics-id` | human-readable, non-translatable link id for analytics. Authored in Studio in Link Editor. | `false` | `false` | mas.js | +| `daa-ll` | martech-compatible link id for analytics. Format: '${data-analytics-id}-${#}', where # is the position of the link within a card. E.g. : see-terms-1, buy-now-2 | `false` | `false` | mas.js | ### Examples {#examples} @@ -157,11 +157,10 @@ Two photoshop and three acrobat pro single apps (TEAMS): | `mas:pending` | fires when checkout link starts loading | | `mas:resolved` | fires when the offer is successfully resolved | | `mas:failed` | fires when the offer could not be found or fetched | -| `click` | native click event on the `a` element |
-For each event except `click`, the following css classes are toggled on the element: `placeholder-pending`, `placeholder-resolved`, `placeholder-failed`. +For each event, the following css classes are toggled on the element: `placeholder-pending`, `placeholder-resolved`, `placeholder-failed`. ### Example @@ -176,7 +175,9 @@ For each event except `click`, the following css classes are toggled on the elem Span + Strong + Buy nowSpan + Strong + Buy now
diff --git a/libs/features/mas/docs/src/mas.js.md b/libs/features/mas/docs/src/mas.js.md index b6ccf69bf7..ede6480a94 100644 --- a/libs/features/mas/docs/src/mas.js.md +++ b/libs/features/mas/docs/src/mas.js.md @@ -8,6 +8,7 @@ mas.js includes the followings custom elements: - [inline-price](/libs/features/mas/docs/inline-price.html) - [checkout-link](/libs/features/mas/docs/checkout-link.html) +- [checkout-buton](/libs/features/mas/docs/checkout-button.html) - [merch-card](/libs/features/mas/docs/merch-card.html) ## Enablement `mas-commerce-service` @@ -16,7 +17,7 @@ You do need to have mas.js on your page / application, including it can be done ```html ``` diff --git a/libs/features/mas/docs/src/merch-card.md b/libs/features/mas/docs/src/merch-card.md index fce008a6cc..f365f8ad80 100644 --- a/libs/features/mas/docs/src/merch-card.md +++ b/libs/features/mas/docs/src/merch-card.md @@ -6,6 +6,8 @@ This custom element implements all the merch-card variants provided in acom and A `merch-card` can be rendered using either static html markup or `aem-fragment` custom element to retrieve a card from Odin/AEM. +The CTAs styles depend on Spectrum CSS that must be provided by the consumer. + Designs: **ACOM**: https://www.figma.com/design/tiEUQLJ1hVlosqwzAATVXZ/Cards-(Merch)?node-id=1086-17994&t=LeMR0vbaBoEKaKln-1 @@ -17,8 +19,6 @@ CCD Gallery provides a comprehensive list of all supported card variants in CCD. ## Examples -### With an Odin/AEM Fragment (VPN required) - ```html {.demo .light} { - e.preventDefault(); - e.stopPropagation(); - if (e.target.isCheckoutLink) { - log(target, 'merch-card checkout-link click: ', e.target); - } else if (e.target.isInlinePrice) { - log(target, 'merch-card price click: ', e.target.innerText); - } else { - log(target, 'merch-card click: ', e.target); - } - }); + card1.addEventListener( + 'click', + (e) => { + e.preventDefault(); + e.stopPropagation(); + if (e.target.isCheckoutButton) { + log(target, 'merch-card checkout-button click: ', e.target); + } else if (e.target.isInlinePrice) { + log(target, 'merch-card price click: ', e.target.innerText); + } else { + log(target, 'merch-card click: ', e.target); + } + }, + { capture: true }, + ); } ``` @@ -93,12 +97,13 @@ CCD Gallery provides a comprehensive list of all supported card variants in CCD. ### Attributes -| Name | Description | Default Value | Required | Provider | -| ----------- | ----------------------------------------------------------------------------------------- | ------------------------------------ | -------- | -------- | -| `variant` | Variant in terms design. Not required when used with an `aem-fragment` | | `false` | mas.js | -| `consonant` | Whether to use consonant styles without sp-button decorator around the footer CTAs. | `true` if `aem-fragment` is not used | `false` | mas.js | -| `size` | card width; a card can span over 2 columns or entire row on a css grid `wide\|super-wide` | | `false` | mas.js | -| `daa-lh` | Analytics identifier of a card. Value is coming from the 'PRODUCT_CODE' tag set on the card (for now manual authoring required, later will be tagged automatically). Sample values: 'ccsn' or 'phlt'. | | `false` | mas.js | +| Name | Description | Default Value | Required | Provider | +| ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------- | -------- | +| `variant` | Variant in terms design. Not required when used with an `aem-fragment` | | `false` | mas.js | +| `consonant` | Uses Consonant for the footer CTA styles during hydration from an aem fragment | `false` | `false` | mas.js | +| `spectrum` | Uses Spectrum for the footer CTA styles during hydration from an aem fragment. (options: `css`, `swc`) | `css` | `false` | mas.js | +| `size` | card width; a card can span over 2 columns or entire row on a css grid `wide\|super-wide` | | `false` | mas.js | +| `daa-lh` | Analytics identifier of a card. Value is coming from the 'PRODUCT_CODE' tag set on the card (for now manual authoring required, later will be tagged automatically). Sample values: 'ccsn' or 'phlt'. | | `false` | mas.js | #### Active variants: @@ -210,11 +215,11 @@ The reason is that some merch cards are resolved very quickly and event could di ### Attributes -| Name | Description | Default Value | Required | Provider | -| ---------- | ---------------------------------------------------------------------------------------- | ------------- | -------- | -------- | +| Name | Description | Default Value | Required | Provider | +| ---------- | ---------------------------------------------------------------------------------------- | ------------- | -------- | ------------- | | `fragment` | Fragment id. The copy/use feature in M@S Studio will copy the id/markup to the clipboard | | `true` | consumer code | | `title` | Informative title | | `false` | consumer code | -| `ims` | attempts to use an IMS access token via `window.adobeid.authorize()` to fetch a fragment | | `false` | mas.js | +| `ims` | attempts to use an IMS access token via `window.adobeid.authorize()` to fetch a fragment | | `false` | mas.js | ### Properties @@ -272,19 +277,20 @@ The reason is that some merch cards are resolved very quickly and event could di The `merch-card` custom element renders content in its default slot, allowing consumers to seamlessly extend it with additional UI capabilities. ### Example + In the demo below, the `aem-fragment` custom element is headless and does not render any content. The `sp-action-button` custom element renders into the default slot as no explicit slot is provided. ```html {.demo .light} @@ -292,7 +298,7 @@ The `sp-action-button` custom element renders into the default slot as no explic - ... +
- +
- + Buy now
- + - + { mockIms(); mockLana(); await mockFetch(withWcs); await mas(); - + describe('merch-card web component', () => { - it('should exist in the HTML document', async () => { - expect(document.querySelector('merch-card[variant="ccd-suggested"]')).to.exist; - }); - - it('should have strip with size wide for the ccd-suggested wide card', async () => { - const ccdSliceWideCard = document.querySelector('merch-card[variant="ccd-suggested"][background-image]'); - expect(ccdSliceWideCard.getAttribute('variant')).to.equal('ccd-suggested'); - expect(ccdSliceWideCard.getAttribute('background-image')).to.exist; - }); + it('should exist in the HTML document', async () => { + expect( + document.querySelector('merch-card[variant="ccd-suggested"]'), + ).to.exist; + }); - it('should have dark theme', async () => { - const ccdSliceDarkCard = document.querySelector('merch-card[variant="ccd-suggested"].dark-theme'); - const theme = ccdSliceDarkCard.theme.color; - expect(theme).to.equal('dark'); - }); - }); + it('should have strip with size wide for the ccd-suggested wide card', async () => { + const ccdSuggestedCard = document.querySelector( + 'merch-card[variant="ccd-suggested"][background-image]', + ); + expect(ccdSuggestedCard.getAttribute('variant')).to.equal( + 'ccd-suggested', + ); + expect(ccdSuggestedCard.getAttribute('background-image')).to.exist; + }); + it('should have dark theme', async () => { + const ccdSuggestedDarkCard = document.querySelector( + 'merch-card[variant="ccd-suggested"].dark-theme', + ); + const theme = ccdSuggestedDarkCard.theme.color; + expect(theme).to.equal('dark'); + }); + }); }); diff --git a/nala/features/masccd/masccd.page.js b/nala/features/masccd/masccd.page.js index 58614d94f1..836d2be6c3 100644 --- a/nala/features/masccd/masccd.page.js +++ b/nala/features/masccd/masccd.page.js @@ -13,111 +13,135 @@ export default class MasCCDPage { this.suggestedCardDescription = page.locator('div[slot="body-xs"] p').first(); this.suggestedCardLegalLink = page.locator('div[slot="body-xs"] p > a'); this.suggestedCardPrice = page.locator('p[slot="price"]'); - this.suggestedCardCTA = page.locator('div[slot="cta"] > sp-button'); - this.suggestedCardCTALink = page.locator('div[slot="cta"] a[is="checkout-link"]'); + this.suggestedCardCTA = page.locator('div[slot="cta"] > button'); + this.suggestedCardCTAButton = page.locator('div[slot="cta"] button[is="checkout-button"]'); // slice cards this.sliceCard = page.locator('merch-card[variant="ccd-slice"]'); this.sliceCardWide = page.locator('merch-card[variant="ccd-slice"][size="wide"]'); this.sliceCardImage = page.locator('div[slot="image"] img'); this.sliceCardDescription = page.locator('div[slot="body-s"] p > strong').first(); this.sliceCardLegalLink = page.locator('div[slot="body-s"] p > a'); - this.sliceCardCTA = page.locator('div[slot="footer"] > sp-button'); - this.sliceCardCTALink = page.locator('div[slot="footer"] a[is="checkout-link"]'); + this.sliceCardCTA = page.locator('div[slot="footer"] > button'); + this.sliceCardCTAButton = page.locator('div[slot="footer"] button[is="checkout-button"]'); // Suggested card properties: this.suggestedCssProp = { light: { - 'background-color': 'rgb(248, 248, 248)', - 'border-bottom-color': 'rgb(230, 230, 230)', - 'border-left-color': 'rgb(230, 230, 230)', - 'border-right-color': 'rgb(230, 230, 230)', - 'border-top-color': 'rgb(230, 230, 230)', - 'color-scheme': 'light', + 'background-color': 'rgb(245, 245, 245)', + 'border-bottom-color': 'rgb(225, 225, 225)', + 'border-left-color': 'rgb(225, 225, 225)', + 'border-right-color': 'rgb(225, 225, 225)', + 'border-top-color': 'rgb(225, 225, 225)', width: '305px', 'min-height': '205px', // change to height when loading fonts is fixed }, dark: { - 'background-color': 'rgb(34, 34, 34)', - 'border-bottom-color': 'rgb(70, 70, 70)', - 'border-left-color': 'rgb(70, 70, 70)', - 'border-right-color': 'rgb(70, 70, 70)', - 'border-top-color': 'rgb(70, 70, 70)', - 'color-scheme': 'dark', + 'background-color': 'rgb(30, 30, 30)', + 'border-bottom-color': 'rgb(57, 57, 57)', + 'border-left-color': 'rgb(57, 57, 57)', + 'border-right-color': 'rgb(57, 57, 57)', + 'border-top-color': 'rgb(57, 57, 57)', width: '305px', 'min-height': '205px', // change to height when loading fonts is fixed }, icon: { width: '40px', - height: '40px', + height: '38px', }, title: { light: { - color: 'rgb(34, 34, 34)', + color: 'rgb(44, 44, 44)', 'font-size': '16px', 'font-weight': '700', + 'line-height': '20px', }, dark: { - // 'color': 'rgb(248, 248, 248)', // page not consistent with figma + color: 'rgb(239, 239, 239)', 'font-size': '16px', 'font-weight': '700', + 'line-height': '20px', }, }, eyebrow: { light: { - color: 'rgb(109, 109, 109)', + color: 'rgb(110, 110, 110)', 'font-size': '11px', 'font-weight': '700', + 'line-height': '14px', }, dark: { - // 'color': 'rgb(248, 248, 248)', // page not consistent with figma + color: 'rgb(162, 162, 162)', 'font-size': '11px', 'font-weight': '700', + 'line-height': '14px', }, }, description: { light: { - color: 'rgb(70, 70, 70)', + color: 'rgb(75, 75, 75)', 'font-size': '14px', 'font-weight': '400', + 'line-height': '21px', }, dark: { - color: 'rgb(248, 248, 248)', + color: 'rgb(200, 200, 200)', 'font-size': '14px', 'font-weight': '400', + 'line-height': '21px', }, }, legalLink: { - color: 'rgb(20, 122, 243)', // dark mode not consistent with figma - 'font-size': '12px', - 'font-weight': '400', + light: { + color: 'rgb(2, 101, 220)', + 'font-size': '12px', + 'font-weight': '400', + 'line-height': '18px', + }, + dark: { + color: 'rgb(94, 170, 247)', + 'font-size': '12px', + 'font-weight': '400', + 'line-height': '18px', + }, }, price: { light: { color: 'rgb(34, 34, 34)', 'font-size': '14px', 'font-weight': '400', + 'line-height': '21px', }, dark: { - // 'color': 'rgb(248, 248, 248)', // page not consistent with figma + color: 'rgb(248, 248, 248)', 'font-size': '14px', 'font-weight': '400', + 'line-height': '21px', }, }, strikethroughPrice: { - color: 'rgb(109, 109, 109)', - 'font-size': '14px', - 'font-weight': '400', - 'text-decoration-line': 'line-through', - 'text-decoration-color': 'rgb(109, 109, 109)', + light: { + color: 'rgb(109, 109, 109)', + 'font-size': '14px', + 'font-weight': '400', + 'text-decoration-line': 'line-through', + 'text-decoration-color': 'rgb(109, 109, 109)', + }, + dark: { + color: 'rgb(176, 176, 176)', + 'font-size': '14px', + 'font-weight': '400', + 'text-decoration-line': 'line-through', + 'text-decoration-color': 'rgb(176, 176, 176)', + }, }, cta: { light: { - // 'color': 'rgb(70, 70, 70)', // page not consistent with figma + color: 'rgb(34, 34, 34)', 'font-size': '14px', 'font-weight': '700', }, dark: { - color: 'rgb(230, 230, 230)', + color: 'rgb(235, 235, 235)', 'font-size': '14px', 'font-weight': '700', }, @@ -139,19 +163,17 @@ export default class MasCCDPage { 'border-left-color': 'rgb(230, 230, 230)', 'border-right-color': 'rgb(230, 230, 230)', 'border-top-color': 'rgb(230, 230, 230)', - 'color-scheme': 'light', }, dark: { - 'background-color': 'rgb(34, 34, 34)', - 'border-bottom-color': 'rgb(70, 70, 70)', - 'border-left-color': 'rgb(70, 70, 70)', - 'border-right-color': 'rgb(70, 70, 70)', - 'border-top-color': 'rgb(70, 70, 70)', - 'color-scheme': 'dark', + 'background-color': 'rgb(29, 29, 29)', + 'border-bottom-color': 'rgb(48, 48, 48)', + 'border-left-color': 'rgb(48, 48, 48)', + 'border-right-color': 'rgb(48, 48, 48)', + 'border-top-color': 'rgb(48, 48, 48)', }, icon: { width: '30px', - height: '30px', + height: '29px', }, badge: { 'background-color': 'rgb(248, 217, 4)', @@ -163,12 +185,14 @@ export default class MasCCDPage { light: { color: 'rgb(34, 34, 34)', 'font-size': '14px', - 'font-weight': '700', // fix in the code to be 700 and not strong + 'font-weight': '700', + 'line-height': '18px', }, dark: { - color: 'rgb(248, 248, 248)', + color: 'rgb(235, 235, 235)', 'font-size': '14px', 'font-weight': '700', + 'line-height': '18px', }, }, legalLink: { @@ -176,11 +200,13 @@ export default class MasCCDPage { color: 'rgb(34, 34, 34)', 'font-size': '12px', 'font-weight': '400', + 'line-height': '18px', }, dark: { - // 'color': 'rgb(248, 248, 248)', // page does not match figma + color: 'rgb(235, 235, 235)', 'font-size': '12px', 'font-weight': '400', + 'line-height': '18px', }, }, price: { @@ -188,19 +214,32 @@ export default class MasCCDPage { color: 'rgb(34, 34, 34)', 'font-size': '14px', 'font-weight': '700', + 'line-height': '18px', }, dark: { - color: 'rgb(248, 248, 248)', + color: 'rgb(235, 235, 235)', 'font-size': '14px', 'font-weight': '700', + 'line-height': '18px', }, }, strikethroughPrice: { - color: 'rgb(109, 109, 109)', - 'font-size': '14px', - 'font-weight': '400', - 'text-decoration-line': 'line-through', - 'text-decoration-color': 'rgb(109, 109, 109)', + light: { + color: 'rgb(109, 109, 109)', + 'font-size': '14px', + 'font-weight': '400', + 'line-height': '18px', + 'text-decoration-color': 'rgb(109, 109, 109)', + 'text-decoration-line': 'line-through', + }, + dark: { + color: 'rgb(176, 176, 176)', + 'font-size': '14px', + 'font-weight': '400', + 'line-height': '18px', + 'text-decoration-color': 'rgb(176, 176, 176)', + 'text-decoration-line': 'line-through', + }, }, cta: { light: { @@ -210,7 +249,7 @@ export default class MasCCDPage { 'font-weight': '700', }, dark: { - 'background-color': 'rgb(3, 103, 224)', + 'background-color': 'rgb(6, 108, 231)', color: 'rgb(255, 255, 255)', 'font-size': '12px', 'font-weight': '700', @@ -265,9 +304,9 @@ export default class MasCCDPage { 'slice-wide': this.sliceCardCTA, }, ctaLink: { - suggested: this.suggestedCardCTALink, - slice: this.sliceCardCTALink, - 'slice-wide': this.sliceCardCTALink, + suggested: this.suggestedCardCTAButton, + slice: this.sliceCardCTAButton, + 'slice-wide': this.sliceCardCTAButton, }, image: this.sliceCardImage, }; diff --git a/nala/features/masccd/masccd.spec.js b/nala/features/masccd/masccd.spec.js index 6e170fd55d..ea012fbb6d 100644 --- a/nala/features/masccd/masccd.spec.js +++ b/nala/features/masccd/masccd.spec.js @@ -18,7 +18,7 @@ module.exports = { offerid: '30404A88D89A328584307175B8B27616', iconUrl: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @suggested-card @commerce @smoke @regression @milo', }, { @@ -39,11 +39,11 @@ module.exports = { iconUrl: '', cardDaaLH: 'ccsn', linkAnalyticsId: 'see-terms', - linkDaaLL: 'see-terms-2', + linkDaaLL: 'see-terms-1', ctaAnalyticsId: 'buy-now', - ctaDaaLL: 'buy-now-1', + ctaDaaLL: 'buy-now-2', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @suggested-card @commerce @smoke @regression @milo', }, { @@ -59,7 +59,7 @@ module.exports = { offerid: 'D5349E66BACCC8C1B3C1EA63348ED949', iconUrl: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @suggested-card @commerce @smoke @regression @milo', }, { @@ -77,7 +77,7 @@ module.exports = { background: 'media_1d63dab9ee1edbf371d6f0548516c9e12b3ea3ff4.png', iconUrl: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @suggested-card @commerce @smoke @regression @milo', }, { @@ -97,7 +97,7 @@ module.exports = { iconUrl: '', background: 'media_1d63dab9ee1edbf371d6f0548516c9e12b3ea3ff4.png', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @suggested-card @commerce @smoke @regression @milo', }, { @@ -114,7 +114,7 @@ module.exports = { background: 'media_1d63dab9ee1edbf371d6f0548516c9e12b3ea3ff4.png', iconUrl: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @suggested-card @commerce @smoke @regression @milo', }, { @@ -134,7 +134,7 @@ module.exports = { background: 'media_196e39eda2ba7ce0343ec138f3e3e41e5adcb787f.png', iconUrl: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @suggested-card @commerce @smoke @regression @milo', }, { @@ -151,7 +151,7 @@ module.exports = { background: 'media_196e39eda2ba7ce0343ec138f3e3e41e5adcb787f.png', iconUrl: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @suggested-card @commerce @smoke @regression @milo', }, // SLICE CARDS - SINGLE WIDTH @@ -171,7 +171,7 @@ module.exports = { ctadDaaLL: 'buy-now-1', ctaAnalyticsId: 'buy-now', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-single @commerce @smoke @regression @milo', }, { @@ -188,7 +188,7 @@ module.exports = { iconLink1: 'https://www.adobe.com/products/photoshop.html', iconLink2: 'https://www.adobe.com/products/photoshop-lightroom.html', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-single @commerce @smoke @regression @milo', }, { @@ -206,7 +206,7 @@ module.exports = { background: 'media_1526ec63ba66eead46d7bde733ac7c4e994d829f1.png', // iconLink: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-single @commerce @smoke @regression @milo', }, { @@ -224,7 +224,7 @@ module.exports = { background: 'media-1508e7aec70760ac0ac13d9152f8030c1b67f70bf.png', // iconLink: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-single @commerce @smoke @regression @milo', }, { @@ -241,7 +241,7 @@ module.exports = { background: '2024-10-16-17-03-43.jpg', // iconLink: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-single @commerce @smoke @regression @milo', }, { @@ -258,7 +258,7 @@ module.exports = { background: 'media_158c1c22b1322dd28d7912d30fb27f29aa79f79b1.png', // iconLink: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-single @commerce @smoke @regression @milo', }, // SLICE CARDS - WIDE (DOUBLE) WIDTH @@ -277,11 +277,11 @@ module.exports = { // iconLink: '', cardDaaLH: 'ccsn', linkAnalyticsId: 'see-terms', - linkDaaLL: 'see-terms-2', + linkDaaLL: 'see-terms-1', ctaAnalyticsId: 'register-now', - ctaDaaLL: 'register-now-1', + ctaDaaLL: 'register-now-2', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-wide @commerce @smoke @regression @milo', }, { @@ -299,7 +299,7 @@ module.exports = { background: 'media_10bef5ec21c22fd7fe201cb02735082df13bf4960.jpeg', // iconLink: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-wide @commerce @smoke @regression @milo', }, { @@ -317,7 +317,7 @@ module.exports = { background: 'media_10bef5ec21c22fd7fe201cb02735082df13bf4960.jpeg', // iconLink: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-wide @commerce @smoke @regression @milo', }, { @@ -336,7 +336,7 @@ module.exports = { background: 'media_10bef5ec21c22fd7fe201cb02735082df13bf4960.jpeg', // iconLink: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-wide @commerce @smoke @regression @milo', }, { @@ -354,7 +354,7 @@ module.exports = { background: 'media_158c1c22b1322dd28d7912d30fb27f29aa79f79b1.png', // iconLink: '', }, - browserParams: '?theme=dark', + browserParams: '?theme=darkest', tags: '@mas-ccd @slice-card @slice-wide @commerce @smoke @regression @milo', }, ], diff --git a/nala/features/masccd/masccd.test.js b/nala/features/masccd/masccd.test.js index 280faa1d68..b10211c5f6 100644 --- a/nala/features/masccd/masccd.test.js +++ b/nala/features/masccd/masccd.test.js @@ -48,9 +48,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'suggested')).toBeVisible(); await expect(await CCD.getCardPrice(data.id, 'suggested')).toContainText(data.price); await expect(await CCD.getCardCTA(data.id, 'suggested')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('variant', 'primary'); + await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('class', /primary/); await expect(await CCD.getCardCTA(data.id, 'suggested')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'suggested')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -65,10 +65,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[0].path}${features[0].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[0].path}${features[0].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[0].path}${features[0].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[0].path}${features[0].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -114,9 +114,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'suggested')).toContainText(data.price); await expect(await CCD.getCardPrice(data.id, 'suggested')).toContainText(data.strikethroughPrice); await expect(await CCD.getCardCTA(data.id, 'suggested')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('variant', 'primary'); + await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('class', /primary/); await expect(await CCD.getCardCTA(data.id, 'suggested')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'suggested')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('data-analytics-id', data.ctaAnalyticsId); await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('daa-ll', data.ctaDaaLL); }); @@ -127,17 +127,17 @@ test.describe('CCD Merchcard feature test suite', () => { expect(await webUtil.verifyCSS(await CCD.getCardEyebrow(data.id, 'suggested'), CCD.suggestedCssProp.eyebrow.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardTitle(data.id, 'suggested'), CCD.suggestedCssProp.title.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardDescription(data.id, 'suggested'), CCD.suggestedCssProp.description.light)).toBeTruthy(); - expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'suggested'), CCD.suggestedCssProp.legalLink)).toBeTruthy(); + expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'suggested'), CCD.suggestedCssProp.legalLink.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardPrice(data.id, 'suggested'), CCD.suggestedCssProp.price.light)).toBeTruthy(); - expect(await webUtil.verifyCSS(await CCD.getCardPriceStrikethrough(data.id, 'suggested'), CCD.suggestedCssProp.strikethroughPrice)).toBeTruthy(); + expect(await webUtil.verifyCSS(await CCD.getCardPriceStrikethrough(data.id, 'suggested'), CCD.suggestedCssProp.strikethroughPrice.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardCTA(data.id, 'suggested'), CCD.suggestedCssProp.cta.light)).toBeTruthy(); }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[1].path}${features[1].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[1].path}${features[1].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[1].path}${features[1].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[1].path}${features[1].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -146,10 +146,10 @@ test.describe('CCD Merchcard feature test suite', () => { expect(await webUtil.verifyCSS(await CCD.getCardIcon(data.id, 'suggested'), CCD.suggestedCssProp.icon)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardEyebrow(data.id, 'suggested'), CCD.suggestedCssProp.eyebrow.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardTitle(data.id, 'suggested'), CCD.suggestedCssProp.title.dark)).toBeTruthy(); - // expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, "suggested"), CCD.suggestedCssProp.legalLink)).toBeTruthy(); + expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'suggested'), CCD.suggestedCssProp.legalLink.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardDescription(data.id, 'suggested'), CCD.suggestedCssProp.description.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardPrice(data.id, 'suggested'), CCD.suggestedCssProp.price.dark)).toBeTruthy(); - expect(await webUtil.verifyCSS(await CCD.getCardPriceStrikethrough(data.id, 'suggested'), CCD.suggestedCssProp.strikethroughPrice)).toBeTruthy(); + expect(await webUtil.verifyCSS(await CCD.getCardPriceStrikethrough(data.id, 'suggested'), CCD.suggestedCssProp.strikethroughPrice.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardCTA(data.id, 'suggested'), CCD.suggestedCssProp.cta.dark)).toBeTruthy(); }); }); @@ -181,9 +181,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'suggested')).toContainText(data.price); expect(await (await CCD.getCardPrice(data.id, 'suggested')).locator('.price-unit-type').innerText()).not.toBe(''); await expect(await CCD.getCardCTA(data.id, 'suggested')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('variant', 'primary'); + await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('class', /primary/); await expect(await CCD.getCardCTA(data.id, 'suggested')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'suggested')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -198,10 +198,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[2].path}${features[2].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[2].path}${features[2].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[2].path}${features[2].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[2].path}${features[2].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -242,9 +242,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'suggested')).toBeVisible(); await expect(await CCD.getCardPrice(data.id, 'suggested')).toContainText(data.price); await expect(await CCD.getCardCTA(data.id, 'suggested')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('variant', 'primary'); + await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('class', /primary/); await expect(await CCD.getCardCTA(data.id, 'suggested')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'suggested')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('data-analytics-id', /.*/); await expect(await CCD.getCard(data.id, 'suggested')).toHaveAttribute('background-image', new RegExp(data.background)); }); @@ -260,10 +260,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[0].path}${features[0].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[0].path}${features[0].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[0].path}${features[0].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[0].path}${features[0].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -308,9 +308,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'suggested')).toContainText(data.price); await expect(await CCD.getCardPrice(data.id, 'suggested')).toContainText('Starting at'); await expect(await CCD.getCardCTA(data.id, 'suggested')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('variant', 'primary'); + await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('class', /primary/); await expect(await CCD.getCardCTA(data.id, 'suggested')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'suggested')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('data-analytics-id', /.*/); await expect(await CCD.getCard(data.id, 'suggested')).toHaveAttribute('background-image', new RegExp(data.background)); }); @@ -321,16 +321,16 @@ test.describe('CCD Merchcard feature test suite', () => { expect(await webUtil.verifyCSS(await CCD.getCardEyebrow(data.id, 'suggested'), CCD.suggestedCssProp.eyebrow.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardTitle(data.id, 'suggested'), CCD.suggestedCssProp.title.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardDescription(data.id, 'suggested'), CCD.suggestedCssProp.description.light)).toBeTruthy(); - expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'suggested'), CCD.suggestedCssProp.legalLink)).toBeTruthy(); + expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'suggested'), CCD.suggestedCssProp.legalLink.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardPrice(data.id, 'suggested'), CCD.suggestedCssProp.price.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardCTA(data.id, 'suggested'), CCD.suggestedCssProp.cta.light)).toBeTruthy(); }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[4].path}${features[4].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[4].path}${features[4].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[4].path}${features[4].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[4].path}${features[4].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -339,7 +339,7 @@ test.describe('CCD Merchcard feature test suite', () => { expect(await webUtil.verifyCSS(await CCD.getCardIcon(data.id, 'suggested'), CCD.suggestedCssProp.icon)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardEyebrow(data.id, 'suggested'), CCD.suggestedCssProp.eyebrow.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardTitle(data.id, 'suggested'), CCD.suggestedCssProp.title.dark)).toBeTruthy(); - // expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, "suggested"), CCD.suggestedCssProp.legalLink)).toBeTruthy(); + expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'suggested'), CCD.suggestedCssProp.legalLink.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardDescription(data.id, 'suggested'), CCD.suggestedCssProp.description.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardPrice(data.id, 'suggested'), CCD.suggestedCssProp.price.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardCTA(data.id, 'suggested'), CCD.suggestedCssProp.cta.dark)).toBeTruthy(); @@ -373,9 +373,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'suggested')).toContainText(data.price); expect(await (await CCD.getCardPrice(data.id, 'suggested')).locator('.price-unit-type').innerText()).not.toBe(''); await expect(await CCD.getCardCTA(data.id, 'suggested')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('variant', 'primary'); + await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('class', /primary/); await expect(await CCD.getCardCTA(data.id, 'suggested')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'suggested')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('data-analytics-id', /.*/); await expect(await CCD.getCard(data.id, 'suggested')).toHaveAttribute('background-image', new RegExp(data.background)); }); @@ -390,10 +390,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[5].path}${features[5].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[5].path}${features[5].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[5].path}${features[5].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[5].path}${features[5].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -436,9 +436,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'suggested')).toBeVisible(); await expect(await CCD.getCardPrice(data.id, 'suggested')).toContainText(data.price); await expect(await CCD.getCardCTA(data.id, 'suggested')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('variant', 'primary'); + await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('class', /primary/); await expect(await CCD.getCardCTA(data.id, 'suggested')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'suggested')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('data-analytics-id', /.*/); await expect(await CCD.getCard(data.id, 'suggested')).toHaveAttribute('background-image', new RegExp(data.background)); }); @@ -449,16 +449,16 @@ test.describe('CCD Merchcard feature test suite', () => { expect(await webUtil.verifyCSS(await CCD.getCardEyebrow(data.id, 'suggested'), CCD.suggestedCssProp.eyebrow.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardTitle(data.id, 'suggested'), CCD.suggestedCssProp.title.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardDescription(data.id, 'suggested'), CCD.suggestedCssProp.description.light)).toBeTruthy(); - expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'suggested'), CCD.suggestedCssProp.legalLink)).toBeTruthy(); + expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'suggested'), CCD.suggestedCssProp.legalLink.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardPrice(data.id, 'suggested'), CCD.suggestedCssProp.price.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardCTA(data.id, 'suggested'), CCD.suggestedCssProp.cta.light)).toBeTruthy(); }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[6].path}${features[6].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[6].path}${features[6].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[6].path}${features[6].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[6].path}${features[6].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -467,7 +467,7 @@ test.describe('CCD Merchcard feature test suite', () => { expect(await webUtil.verifyCSS(await CCD.getCardIcon(data.id, 'suggested'), CCD.suggestedCssProp.icon)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardEyebrow(data.id, 'suggested'), CCD.suggestedCssProp.eyebrow.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardTitle(data.id, 'suggested'), CCD.suggestedCssProp.title.dark)).toBeTruthy(); - // expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, "suggested"), CCD.suggestedCssProp.legalLink)).toBeTruthy(); + expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'suggested'), CCD.suggestedCssProp.legalLink.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardDescription(data.id, 'suggested'), CCD.suggestedCssProp.description.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardPrice(data.id, 'suggested'), CCD.suggestedCssProp.price.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardCTA(data.id, 'suggested'), CCD.suggestedCssProp.cta.dark)).toBeTruthy(); @@ -502,9 +502,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'suggested')).toContainText(data.price); expect(await (await CCD.getCardPrice(data.id, 'suggested')).locator('.price-unit-type').innerText()).not.toBe(''); await expect(await CCD.getCardCTA(data.id, 'suggested')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('variant', 'primary'); + await expect(await CCD.getCardCTA(data.id, 'suggested')).toHaveAttribute('class', /primary/); await expect(await CCD.getCardCTA(data.id, 'suggested')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'suggested')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'suggested')).toHaveAttribute('data-analytics-id', /.*/); await expect(await CCD.getCard(data.id, 'suggested')).toHaveAttribute('background-image', new RegExp(data.background)); }); @@ -519,10 +519,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[7].path}${features[7].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[7].path}${features[7].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[7].path}${features[7].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[7].path}${features[7].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -564,9 +564,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardLegalLink(data.id, 'slice')).not.toBeVisible(); await expect(await CCD.getCardPrice(data.id, 'slice')).not.toBeVisible(); await expect(await CCD.getCardCTA(data.id, 'slice')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'slice')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('data-analytics-id', data.ctaAnalyticsId); await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('daa-ll', data.ctadDaaLL); }); @@ -580,10 +580,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[8].path}${features[8].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[8].path}${features[8].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[8].path}${features[8].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[8].path}${features[8].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -626,9 +626,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'slice')).toBeVisible(); await expect(await CCD.getCardPrice(data.id, 'slice')).toContainText(data.price); await expect(await CCD.getCardCTA(data.id, 'slice')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect(((await CCD.getCardCTALink(data.id, 'slice'))).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -644,10 +644,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[9].path}${features[9].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[9].path}${features[9].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[9].path}${features[9].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[9].path}${features[9].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -691,9 +691,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'slice')).toBeVisible(); await expect(await CCD.getCardPrice(data.id, 'slice')).toContainText(data.price); await expect(await CCD.getCardCTA(data.id, 'slice')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'slice')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -708,10 +708,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[10].path}${features[10].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[10].path}${features[10].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[10].path}${features[10].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[10].path}${features[10].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -754,9 +754,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardLegalLink(data.id, 'slice')).toHaveAttribute('data-analytics-id', /.*/); await expect(await CCD.getCardPrice(data.id, 'slice')).not.toBeVisible(); await expect(await CCD.getCardCTA(data.id, 'slice')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'slice')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -770,10 +770,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[11].path}${features[11].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[11].path}${features[11].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[11].path}${features[11].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[11].path}${features[11].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -813,9 +813,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardLegalLink(data.id, 'slice')).toHaveAttribute('data-analytics-id', /.*/); await expect(await CCD.getCardPrice(data.id, 'slice')).not.toBeVisible(); await expect(await CCD.getCardCTA(data.id, 'slice')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'slice')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -828,10 +828,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[12].path}${features[12].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[12].path}${features[12].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[12].path}${features[12].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[12].path}${features[12].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -871,9 +871,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'slice')).toBeVisible(); await expect(await CCD.getCardPrice(data.id, 'slice')).toContainText(data.price); await expect(await CCD.getCardCTA(data.id, 'slice')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'slice')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'slice')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -888,10 +888,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[13].path}${features[13].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[13].path}${features[13].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[13].path}${features[13].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[13].path}${features[13].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -936,9 +936,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardLegalLink(data.id, 'slice-wide')).toHaveAttribute('data-analytics-id', data.linkAnalyticsId); await expect(await CCD.getCardLegalLink(data.id, 'slice-wide')).toHaveAttribute('daa-ll', data.linkDaaLL); await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toContainText(data.cta); - // await expect(await CCD.getCardCTALink(data.id, "slice-wide")).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + // await (expect(await CCD.getCardCTALink(data.id, "slice-wide")).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); // await expect(await CCD.getCardCTALink(data.id, 'slice-wide')).toHaveAttribute('data-analytics-id', /.*/); // await expect(await CCD.getCardCTALink(data.id, 'slice-wide')).toHaveAttribute('daa-ll', data.ctaDaaLL); }); @@ -953,10 +953,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[14].path}${features[14].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[14].path}${features[14].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[14].path}${features[14].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[14].path}${features[14].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -998,9 +998,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardLegalLink(data.id, 'slice-wide')).toHaveAttribute('data-analytics-id', /.*/); await expect(await CCD.getCardPrice(data.id, 'slice-wide')).not.toBeVisible(); await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'slice-wide')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'slice-wide')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'slice-wide')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -1015,10 +1015,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[15].path}${features[15].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[15].path}${features[15].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[15].path}${features[15].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[15].path}${features[15].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -1061,9 +1061,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'slice-wide')).toBeVisible(); await expect(await CCD.getCardPrice(data.id, 'slice-wide')).toContainText(data.price); await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'slice-wide')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'slice-wide')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'slice-wide')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -1078,10 +1078,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[16].path}${features[16].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[16].path}${features[16].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[16].path}${features[16].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[16].path}${features[16].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -1126,9 +1126,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPriceStrikethrough(data.id, 'slice-wide')).toBeVisible(); await expect(await CCD.getCardPriceStrikethrough(data.id, 'slice-wide')).toContainText(data.strikethroughPrice); await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'slice-wide')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'slice-wide')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'slice-wide')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -1139,15 +1139,15 @@ test.describe('CCD Merchcard feature test suite', () => { expect(await webUtil.verifyCSS(await CCD.getCardDescription(data.id, 'slice-wide'), CCD.sliceCssProp.description.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'slice-wide'), CCD.sliceCssProp.legalLink.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardPrice(data.id, 'slice-wide'), CCD.sliceCssProp.price.light)).toBeTruthy(); - expect(await webUtil.verifyCSS(await CCD.getCardPriceStrikethrough(data.id, 'slice-wide'), CCD.sliceCssProp.strikethroughPrice)).toBeTruthy(); + expect(await webUtil.verifyCSS(await CCD.getCardPriceStrikethrough(data.id, 'slice-wide'), CCD.sliceCssProp.strikethroughPrice.light)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardCTA(data.id, 'slice-wide'), CCD.sliceCssProp.cta.light)).toBeTruthy(); }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[17].path}${features[17].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[17].path}${features[17].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[17].path}${features[17].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[17].path}${features[17].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { @@ -1158,7 +1158,7 @@ test.describe('CCD Merchcard feature test suite', () => { expect(await webUtil.verifyCSS(await CCD.getCardLegalLink(data.id, 'slice-wide'), CCD.sliceCssProp.legalLink.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardDescription(data.id, 'slice-wide'), CCD.sliceCssProp.description.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardPrice(data.id, 'slice-wide'), CCD.sliceCssProp.price.dark)).toBeTruthy(); - expect(await webUtil.verifyCSS(await CCD.getCardPriceStrikethrough(data.id, 'slice-wide'), CCD.sliceCssProp.strikethroughPrice)).toBeTruthy(); + expect(await webUtil.verifyCSS(await CCD.getCardPriceStrikethrough(data.id, 'slice-wide'), CCD.sliceCssProp.strikethroughPrice.dark)).toBeTruthy(); expect(await webUtil.verifyCSS(await CCD.getCardCTA(data.id, 'slice-wide'), CCD.sliceCssProp.cta.dark)).toBeTruthy(); }); }); @@ -1190,9 +1190,9 @@ test.describe('CCD Merchcard feature test suite', () => { await expect(await CCD.getCardPrice(data.id, 'slice-wide')).toBeVisible(); await expect(await CCD.getCardPrice(data.id, 'slice-wide')).toContainText(data.price); await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toBeVisible(); - await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toHaveAttribute('variant', 'accent'); + await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toHaveAttribute('class', /accent/); await expect(await CCD.getCardCTA(data.id, 'slice-wide')).toContainText(data.cta); - await expect(await CCD.getCardCTALink(data.id, 'slice-wide')).toHaveAttribute('href', new RegExp(`${data.offerid}`)); + await expect((await CCD.getCardCTALink(data.id, 'slice-wide')).evaluate((el) => el.href)).resolves.toMatch(new RegExp(`${data.offerid}`)); await expect(await CCD.getCardCTALink(data.id, 'slice-wide')).toHaveAttribute('data-analytics-id', /.*/); }); @@ -1206,10 +1206,10 @@ test.describe('CCD Merchcard feature test suite', () => { }); await test.step('step-4: Go to CCD Merch Card feature test page in dark mode', async () => { - const darkThemePage = `${baseURL}${features[18].path}${features[18].browserParams}&${miloLibs}`; + const darkThemePage = `${baseURL}${features[18].path}${features[18].browserParams}`; await page.goto(darkThemePage); await page.waitForLoadState('domcontentloaded'); - await expect(page).toHaveURL(`${baseURL}${features[18].path}${features[18].browserParams}&${miloLibs}`); + await expect(page).toHaveURL(`${baseURL}${features[18].path}${features[18].browserParams}`); }); await test.step('step-5: Verify CCD Merch Card spec', async () => { diff --git a/test/blocks/merch/merch.test.js b/test/blocks/merch/merch.test.js index 0e2786d48c..9d05574c12 100644 --- a/test/blocks/merch/merch.test.js +++ b/test/blocks/merch/merch.test.js @@ -494,8 +494,7 @@ describe('Merch Block', () => { describe('openModal', () => { it('sets the new hash and event listener to restore the hash on close', async () => { const prevHash = window.location.hash; - const event = new CustomEvent('dummy'); - await openModal(event, 'https://www.adobe.com/mini-plans/creativecloud.html?mid=ft&web=1', 'TRIAL', 'try-photoshop'); + await openModal('https://www.adobe.com/mini-plans/creativecloud.html?mid=ft&web=1', 'TRIAL', 'try-photoshop'); expect(window.location.hash).to.equal('#try-photoshop'); const modalCloseEvent = new CustomEvent('milo:modal:closed'); window.dispatchEvent(modalCloseEvent);