diff --git a/libs/deps/mas/commerce.js b/libs/deps/mas/commerce.js index 29483b5519..f5ac63bcc5 100644 --- a/libs/deps/mas/commerce.js +++ b/libs/deps/mas/commerce.js @@ -1,4 +1,3 @@ var Qn=Object.create;var Ge=Object.defineProperty;var ei=Object.getOwnPropertyDescriptor;var ti=Object.getOwnPropertyNames;var ri=Object.getPrototypeOf,ni=Object.prototype.hasOwnProperty;var _r=e=>{throw TypeError(e)};var ii=(e,t,r)=>t in e?Ge(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var ai=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),oi=(e,t)=>{for(var r in t)Ge(e,r,{get:t[r],enumerable:!0})},si=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of ti(t))!ni.call(e,i)&&i!==r&&Ge(e,i,{get:()=>t[i],enumerable:!(n=ei(t,i))||n.enumerable});return e};var li=(e,t,r)=>(r=e!=null?Qn(ri(e)):{},si(t||!e||!e.__esModule?Ge(r,"default",{value:e,enumerable:!0}):r,e));var y=(e,t,r)=>ii(e,typeof t!="symbol"?t+"":t,r),Nr=(e,t,r)=>t.has(e)||_r("Cannot "+r);var ve=(e,t,r)=>(Nr(e,t,"read from private field"),r?r.call(e):t.get(e)),Be=(e,t,r)=>t.has(e)?_r("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),mt=(e,t,r,n)=>(Nr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Fn=ai((Fl,Ao)=>{Ao.exports={total:38,offset:0,limit:38,data:[{lang:"ar",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0627\u0644\u0634\u0647\u0631} YEAR {/\u0627\u0644\u0639\u0627\u0645} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0643\u0644 \u0634\u0647\u0631} YEAR {\u0643\u0644 \u0639\u0627\u0645} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",freeLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",freeAriaLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0623\u0648 \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643 \u0628\u0642\u064A\u0645\u0629 {alternativePrice}",strikethroughAriaLabel:"\u0628\u0634\u0643\u0644 \u0645\u0646\u062A\u0638\u0645 \u0628\u0642\u064A\u0645\u0629 {strikethroughPrice}"},{lang:"bg",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433\u043E\u0434.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0435\u0441\u0435\u0446} YEAR {\u043D\u0430 \u0433\u043E\u0434\u0438\u043D\u0430} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",freeLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E \u043D\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0434\u043E\u0432\u043D\u043E \u043D\u0430 {strikethroughPrice}"},{lang:"cs",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\u011Bs\xEDc} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za m\u011Bs\xEDc} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenci} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenci} other {}}",freeLabel:"Zdarma",freeAriaLabel:"Zdarma",taxExclusiveLabel:"{taxTerm, select, GST {bez dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {bez DPH} TAX {bez dan\u011B} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {v\u010Detn\u011B dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {v\u010Detn\u011B DPH} TAX {v\u010Detn\u011B dan\u011B} IVA {v\u010Detn\u011B IVA} SST {v\u010Detn\u011B SST} KDV {v\u010Detn\u011B KDV} other {}}",alternativePriceAriaLabel:"P\u0159\xEDpadn\u011B za {alternativePrice}",strikethroughAriaLabel:"Pravideln\u011B za {strikethroughPrice}"},{lang:"da",recurrenceLabel:"{recurrenceTerm, select, MONTH {/md} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pr. m\xE5ned} YEAR {pr. \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. skat} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skat} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"de",recurrenceLabel:"{recurrenceTerm, select, MONTH {/Monat} YEAR {/Jahr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pro Monat} YEAR {pro Jahr} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",freeLabel:"Kostenlos",freeAriaLabel:"Kostenlos",taxExclusiveLabel:"{taxTerm, select, GST {zzgl. GST} VAT {zzgl. MwSt.} TAX {zzgl. Steuern} IVA {zzgl. IVA} SST {zzgl. SST} KDV {zzgl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. MwSt.} TAX {inkl. Steuern} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ: {alternativePrice}",strikethroughAriaLabel:"Regul\xE4r: {strikethroughPrice}"},{lang:"en",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},{lang:"et",recurrenceLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",perUnitLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",freeLabel:"Tasuta",freeAriaLabel:"Tasuta",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Teise v\xF5imalusena hinnaga {alternativePrice}",strikethroughAriaLabel:"Tavahind {strikethroughPrice}"},{lang:"fi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/kk} YEAR {/v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuukausittain} YEAR {vuosittain} other {}}",perUnitLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",freeLabel:"Maksuton",freeAriaLabel:"Maksuton",taxExclusiveLabel:"{taxTerm, select, GST {ilman GST:t\xE4} VAT {ilman ALV:t\xE4} TAX {ilman veroja} IVA {ilman IVA:ta} SST {ilman SST:t\xE4} KDV {ilman KDV:t\xE4} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {sis. GST:n} VAT {sis. ALV:n} TAX {sis. verot} IVA {sis. IVA:n} SST {sis. SST:n} KDV {sis. KDV:n} other {}}",alternativePriceAriaLabel:"Vaihtoehtoisesti hintaan {alternativePrice}",strikethroughAriaLabel:"S\xE4\xE4nn\xF6llisesti hintaan {strikethroughPrice}"},{lang:"fr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mois} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {par mois} YEAR {par an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {par licence} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {par licence} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {hors TPS} VAT {hors TVA} TAX {hors taxes} IVA {hors IVA} SST {hors SST} KDV {hors KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {TPS comprise} VAT {TVA comprise} TAX {taxes comprises} IVA {IVA comprise} SST {SST comprise} KDV {KDV comprise} other {}}",alternativePriceAriaLabel:"Autre prix {alternativePrice}",strikethroughAriaLabel:"Prix habituel {strikethroughPrice}"},{lang:"he",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"},{lang:"hu",recurrenceLabel:"{recurrenceTerm, select, MONTH {/h\xF3} YEAR {/\xE9v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {havonta} YEAR {\xE9vente} other {}}",perUnitLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",freeLabel:"Ingyenes",freeAriaLabel:"Ingyenes",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"M\xE1sik lehet\u0151s\xE9g: {alternativePrice}",strikethroughAriaLabel:"\xC1ltal\xE1ban {strikethroughPrice} \xE1ron"},{lang:"it",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mese} YEAR {/anno} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mese} YEAR {all'anno} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licenza} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licenza} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {escl. GST} VAT {escl. IVA.} TAX {escl. imposte} IVA {escl. IVA} SST {escl. SST} KDV {escl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. IVA} TAX {incl. imposte} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"In alternativa a {alternativePrice}",strikethroughAriaLabel:"Regolarmente a {strikethroughPrice}"},{lang:"ja",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCE\u6708} YEAR {\u6BCE\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",freeLabel:"\u7121\u6599",freeAriaLabel:"\u7121\u6599",taxExclusiveLabel:"{taxTerm, select, GST {GST \u5225} VAT {VAT \u5225} TAX {\u7A0E\u5225} IVA {IVA \u5225} SST {SST \u5225} KDV {KDV \u5225} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u8FBC} VAT {VAT \u8FBC} TAX {\u7A0E\u8FBC} IVA {IVA \u8FBC} SST {SST \u8FBC} KDV {KDV \u8FBC} other {}}",alternativePriceAriaLabel:"\u7279\u5225\u4FA1\u683C : {alternativePrice}",strikethroughAriaLabel:"\u901A\u5E38\u4FA1\u683C : {strikethroughPrice}"},{lang:"ko",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\uC6D4} YEAR {/\uB144} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\uC6D4\uAC04} YEAR {\uC5F0\uAC04} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",freeLabel:"\uBB34\uB8CC",freeAriaLabel:"\uBB34\uB8CC",taxExclusiveLabel:"{taxTerm, select, GST {GST \uC81C\uC678} VAT {VAT \uC81C\uC678} TAX {\uC138\uAE08 \uC81C\uC678} IVA {IVA \uC81C\uC678} SST {SST \uC81C\uC678} KDV {KDV \uC81C\uC678} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \uD3EC\uD568} VAT {VAT \uD3EC\uD568} TAX {\uC138\uAE08 \uD3EC\uD568} IVA {IVA \uD3EC\uD568} SST {SST \uD3EC\uD568} KDV {KDV \uD3EC\uD568} other {}}",alternativePriceAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0",strikethroughAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0"},{lang:"lt",recurrenceLabel:"{recurrenceTerm, select, MONTH { per m\u0117n.} YEAR { per metus} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\u0117n.} YEAR {per metus} other {}}",perUnitLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",freeLabel:"Nemokamai",freeAriaLabel:"Nemokamai",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Arba u\u017E {alternativePrice}",strikethroughAriaLabel:"Normaliai u\u017E {strikethroughPrice}"},{lang:"lv",recurrenceLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",perUnitLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",freeLabel:"Bezmaksas",freeAriaLabel:"Bezmaksas",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternat\u012Bvi par {alternativePrice}",strikethroughAriaLabel:"Regul\u0101ri par {strikethroughPrice}"},{lang:"nb",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd.} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5ned} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisens} other {}}",freeLabel:"Fri",freeAriaLabel:"Fri",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. avgift} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. avgift} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Regelmessig til {strikethroughPrice}"},{lang:"nl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd} YEAR {/jr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per maand} YEAR {per jaar} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licentie} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licentie} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. btw} TAX {excl. belasting} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. btw} TAX {incl. belasting} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Nu {alternativePrice}",strikethroughAriaLabel:"Normaal {strikethroughPrice}"},{lang:"pl",recurrenceLabel:"{recurrenceTerm, select, MONTH { / mies.} YEAR { / rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH { / miesi\u0105c} YEAR { / rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",freeLabel:"Bezp\u0142atne",freeAriaLabel:"Bezp\u0142atne",taxExclusiveLabel:"{taxTerm, select, GST {bez GST} VAT {bez VAT} TAX {netto} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {z GST} VAT {z VAT} TAX {brutto} IVA {z IVA} SST {z SST} KDV {z KDV} other {}}",alternativePriceAriaLabel:"Lub za {alternativePrice}",strikethroughAriaLabel:"Cena zwyk\u0142a: {strikethroughPrice}"},{lang:"pt",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xEAs} YEAR {/ano} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {por m\xEAs} YEAR {por ano} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {ICMS n\xE3o incluso} VAT {IVA n\xE3o incluso} TAX {impostos n\xE3o inclusos} IVA {IVA n\xE3o incluso} SST { SST n\xE3o incluso} KDV {KDV n\xE3o incluso} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {ICMS incluso} VAT {IVA incluso} TAX {impostos inclusos} IVA {IVA incluso} SST {SST incluso} KDV {KDV incluso} other {}}",alternativePriceAriaLabel:"Ou a {alternativePrice}",strikethroughAriaLabel:"Pre\xE7o normal: {strikethroughPrice}"},{lang:"ro",recurrenceLabel:"{recurrenceTerm, select, MONTH {/lun\u0103} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pe lun\u0103} YEAR {pe an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ, la {alternativePrice}",strikethroughAriaLabel:"\xCEn mod normal, la {strikethroughPrice}"},{lang:"ru",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0432 \u043C\u0435\u0441\u044F\u0446} YEAR {\u0432 \u0433\u043E\u0434} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",freeLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0438\u0441\u043A\u043B. \u041D\u0414\u0421} TAX {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0438\u0441\u043A\u043B. \u0418\u0412\u0410} SST {\u0438\u0441\u043A\u043B. SST} KDV {\u0438\u0441\u043A\u043B. \u041A\u0414\u0412} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0432\u043A\u043B. \u041D\u0414\u0421} TAX {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0432\u043A\u043B. \u0418\u0412\u0410} SST {\u0432\u043A\u043B. SST} KDV {\u0432\u043A\u043B. \u041A\u0414\u0412} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E \u043F\u043E \u0446\u0435\u043D\u0435 {strikethroughPrice}"},{lang:"sk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesiac} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za mesiac} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",freeLabel:"Zadarmo",freeAriaLabel:"Zadarmo",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Pr\xEDpadne za {alternativePrice}",strikethroughAriaLabel:"Pravidelne za {strikethroughPrice}"},{lang:"sl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesec} YEAR {/leto} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {na mesec} YEAR {na leto} other {}}",perUnitLabel:"{perUnit, select, LICENSE {na licenco} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {na licenco} other {}}",freeLabel:"Brezpla\u010Dno",freeAriaLabel:"Brezpla\u010Dno",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Druga mo\u017Enost je: {alternativePrice}",strikethroughAriaLabel:"Redno po {strikethroughPrice}"},{lang:"sv",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xE5n} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5nad} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licens} other {}}",freeLabel:"Kostnadsfritt",freeAriaLabel:"Kostnadsfritt",taxExclusiveLabel:"{taxTerm, select, GST {exkl. GST} VAT {exkl. moms} TAX {exkl. skatt} IVA {exkl. IVA} SST {exkl. SST} KDV {exkl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skatt} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt f\xF6r {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"tr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/ay} YEAR {/y\u0131l} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {(ayl\u0131k)} YEAR {(y\u0131ll\u0131k)} other {}}",perUnitLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",freeLabel:"\xDCcretsiz",freeAriaLabel:"\xDCcretsiz",taxExclusiveLabel:"{taxTerm, select, GST {GST hari\xE7} VAT {KDV hari\xE7} TAX {vergi hari\xE7} IVA {IVA hari\xE7} SST {SST hari\xE7} KDV {KDV hari\xE7} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST dahil} VAT {KDV dahil} TAX {vergi dahil} IVA {IVA dahil} SST {SST dahil} KDV {KDV dahil} other {}}",alternativePriceAriaLabel:"Ya da {alternativePrice}",strikethroughAriaLabel:"Standart fiyat: {strikethroughPrice}"},{lang:"uk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0456\u0441.} YEAR {/\u0440\u0456\u043A} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C} YEAR {\u043D\u0430 \u0440\u0456\u043A} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",freeLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0431\u0435\u0437 GST} VAT {\u0431\u0435\u0437 \u041F\u0414\u0412} TAX {\u0431\u0435\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u0443} IVA {\u0431\u0435\u0437 IVA} SST {\u0431\u0435\u0437 SST} KDV {\u0431\u0435\u0437 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 GST} VAT {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u041F\u0414\u0412} TAX {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u043E\u043C} IVA {\u0440\u0430\u0437\u043E\u043C \u0437 IVA} SST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 SST} KDV {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 KDV} other {}}",alternativePriceAriaLabel:"\u0410\u0431\u043E \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0430 \u0446\u0456\u043D\u0430 {strikethroughPrice}"},{lang:"zh-hans",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",freeLabel:"\u514D\u8D39",freeAriaLabel:"\u514D\u8D39",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u6216\u5B9A\u4EF7 {alternativePrice}",strikethroughAriaLabel:"\u6B63\u5E38\u4EF7 {strikethroughPrice}"},{lang:"zh-hant",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",freeLabel:"\u514D\u8CBB",freeAriaLabel:"\u514D\u8CBB",taxExclusiveLabel:"{taxTerm, select, GST {\u4E0D\u542B GST} VAT {\u4E0D\u542B VAT} TAX {\u4E0D\u542B\u7A05} IVA {\u4E0D\u542B IVA} SST {\u4E0D\u542B SST} KDV {\u4E0D\u542B KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u542B GST} VAT {\u542B VAT} TAX {\u542B\u7A05} IVA {\u542B IVA} SST {\u542B SST} KDV {\u542B KDV} other {}}",alternativePriceAriaLabel:"\u6216\u8005\u5728 {alternativePrice}",strikethroughAriaLabel:"\u6A19\u6E96\u50F9\u683C\u70BA {strikethroughPrice}"},{lang:"es",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mes} YEAR {/a\xF1o} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mes} YEAR {al a\xF1o} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licencia} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licencia} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {GST no incluido} VAT {IVA no incluido} TAX {Impuestos no incluidos} IVA {IVA no incluido} SST {SST no incluido} KDV {KDV no incluido} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST incluido} VAT {IVA incluido} TAX {Impuestos incluidos} IVA {IVA incluido} SST {SST incluido} KDV {KDV incluido} other {}}",alternativePriceAriaLabel:"Alternativamente por {alternativePrice}",strikethroughAriaLabel:"Normalmente a {strikethroughPrice}"},{lang:"in",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {tidak termasuk PBJ} VAT {tidak termasuk PPN} TAX {tidak termasuk pajak} IVA {tidak termasuk IVA} SST {tidak termasuk SST} KDV {tidak termasuk KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk PBJ} VAT {termasuk PPN} TAX {termasuk pajak} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Atau seharga {alternativePrice}",strikethroughAriaLabel:"Normalnya seharga {strikethroughPrice}"},{lang:"vi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/th\xE1ng} YEAR {/n\u0103m} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u1ED7i th\xE1ng} YEAR {m\u1ED7i n\u0103m} other {}}",perUnitLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",freeLabel:"Mi\u1EC5n ph\xED",freeAriaLabel:"Mi\u1EC5n ph\xED",taxExclusiveLabel:"{taxTerm, select, GST {ch\u01B0a bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5} VAT {ch\u01B0a bao g\u1ED3m thu\u1EBF GTGT} TAX {ch\u01B0a bao g\u1ED3m thu\u1EBF} IVA {ch\u01B0a bao g\u1ED3m IVA} SST {ch\u01B0a bao g\u1ED3m SST} KDV {ch\u01B0a bao g\u1ED3m KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u0111\xE3 bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5)} VAT {(\u0111\xE3 bao g\u1ED3m thu\u1EBF GTGT)} TAX {(\u0111\xE3 bao g\u1ED3m thu\u1EBF)} IVA {(\u0111\xE3 bao g\u1ED3m IVA)} SST {(\u0111\xE3 bao g\u1ED3m SST)} KDV {(\u0111\xE3 bao g\u1ED3m KDV)} other {}}",alternativePriceAriaLabel:"Gi\xE1 \u01B0u \u0111\xE3i {alternativePrice}",strikethroughAriaLabel:"Gi\xE1 th\xF4ng th\u01B0\u1EDDng {strikethroughPrice}"},{lang:"th",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {/\u0E1B\u0E35} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0E15\u0E48\u0E2D\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {\u0E15\u0E48\u0E2D\u0E1B\u0E35} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",freeLabel:"\u0E1F\u0E23\u0E35",freeAriaLabel:"\u0E1F\u0E23\u0E35",taxExclusiveLabel:"{taxTerm, select, GST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 VAT} TAX {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 IVA} SST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 SST} KDV {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E23\u0E27\u0E21 VAT} TAX {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E23\u0E27\u0E21 IVA} SST {\u0E23\u0E27\u0E21 SST} KDV {\u0E23\u0E27\u0E21 KDV} other {}}",alternativePriceAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1E\u0E34\u0E40\u0E28\u0E29 {alternativePrice}",strikethroughAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1B\u0E01\u0E15\u0E34 {strikethroughPrice}"},{lang:"el",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u03BC\u03AE\u03BD\u03B1} YEAR {/\u03AD\u03C4\u03BF\u03C2} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u03BA\u03AC\u03B8\u03B5 \u03BC\u03AE\u03BD\u03B1} YEAR {\u03B1\u03BD\u03AC \u03AD\u03C4\u03BF\u03C2} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",freeLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",freeAriaLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",taxExclusiveLabel:"{taxTerm, select, GST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 GST)} VAT {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF)} IVA {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 IVA)} SST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 SST)} KDV {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 KDV)} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 GST)} VAT {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF\u03C5)} IVA {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 IVA)} SST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 SST)} KDV {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 KDV)} other {}}",alternativePriceAriaLabel:"\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03B5\u03C4\u03B9\u03BA\u03AC, {alternativePrice}",strikethroughAriaLabel:"\u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE {strikethroughPrice}"},{lang:"fil",recurrenceLabel:"{recurrenceTerm, select, MONTH {/buwan} YEAR {/taon} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per buwan} YEAR {per taon} other {}}",perUnitLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",freeLabel:"Libre",freeAriaLabel:"Libre",taxExclusiveLabel:"{taxTerm, select, GST {hindi kasama ang GST} VAT {hindi kasama ang VAT} TAX {hindi kasama ang Buwis} IVA {hindi kasama ang IVA} SST {hindi kasama ang SST} KDV {hindi kasama ang KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {kasama ang GST} VAT {kasama ang VAT} TAX {kasama ang Buwis} IVA {kasama ang IVA} SST {kasama ang SST} KDV {kasama ang KDV} other {}}",alternativePriceAriaLabel:"Alternatibong nasa halagang {alternativePrice}",strikethroughAriaLabel:"Regular na nasa halagang {strikethroughPrice}"},{lang:"ms",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",freeLabel:"Percuma",freeAriaLabel:"Percuma",taxExclusiveLabel:"{taxTerm, select, GST {kecuali GST} VAT {kecuali VAT} TAX {kecuali Cukai} IVA {kecuali IVA} SST {kecuali SST} KDV {kecuali KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk GST} VAT {termasuk VAT} TAX {termasuk Cukai} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Secara alternatif pada {alternativePrice}",strikethroughAriaLabel:"Biasanya pada {strikethroughPrice}"},{lang:"hi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u092E\u093E\u0939} YEAR {/\u0935\u0930\u094D\u0937} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per \u092E\u093E\u0939} YEAR {per \u0935\u0930\u094D\u0937} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",freeLabel:"\u092B\u093C\u094D\u0930\u0940",freeAriaLabel:"\u092B\u093C\u094D\u0930\u0940",taxExclusiveLabel:"{taxTerm, select, GST {GST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} VAT {VAT \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} TAX {\u0915\u0930 \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} IVA {IVA \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} SST {SST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} KDV {KDV \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u0938\u0939\u093F\u0924} VAT {VAT \u0938\u0939\u093F\u0924} TAX {\u0915\u0930 \u0938\u0939\u093F\u0924} IVA {IVA \u0938\u0939\u093F\u0924} SST {SST \u0938\u0939\u093F\u0924} KDV {KDV \u0938\u0939\u093F\u0924} other {}}",alternativePriceAriaLabel:"\u0935\u0948\u0915\u0932\u094D\u092A\u093F\u0915 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {alternativePrice}",strikethroughAriaLabel:"\u0928\u093F\u092F\u092E\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {strikethroughPrice}"},{lang:"iw",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:'{taxTerm, select, GST {\u05DC\u05DC\u05D0 GST} VAT {\u05DC\u05DC\u05D0 \u05DE\u05E2"\u05DE} TAX {\u05DC\u05DC\u05D0 \u05DE\u05E1} IVA {\u05DC\u05DC\u05D0 IVA} SST {\u05DC\u05DC\u05D0 SST} KDV {\u05DC\u05DC\u05D0 KDV} other {}}',taxInclusiveLabel:'{taxTerm, select, GST {\u05DB\u05D5\u05DC\u05DC GST} VAT {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E2"\u05DE} TAX {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E1} IVA {\u05DB\u05D5\u05DC\u05DC IVA} SST {\u05DB\u05D5\u05DC\u05DC SST} KDV {\u05DB\u05D5\u05DC\u05DC KDV} other {}}',alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"}],":type":"sheet"}});var ye;(function(e){e.STAGE="STAGE",e.PRODUCTION="PRODUCTION",e.LOCAL="LOCAL"})(ye||(ye={}));var Tt;(function(e){e.STAGE="STAGE",e.PRODUCTION="PROD",e.LOCAL="LOCAL"})(Tt||(Tt={}));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 G;(function(e){e.CHECKOUT="checkout",e.CHECKOUT_EMAIL="checkout/email",e.SEGMENTATION="segmentation",e.BUNDLE="bundle",e.COMMITMENT="commitment",e.RECOMMENDATION="recommendation",e.EMAIL="email",e.PAYMENT="payment",e.CHANGE_PLAN_TEAM_PLANS="change-plan/team-upgrade/plans",e.CHANGE_PLAN_TEAM_PAYMENT="change-plan/team-upgrade/payment"})(G||(G={}));var At=function(e){var t;return(t=ci.get(e))!==null&&t!==void 0?t:e},ci=new Map([["countrySpecific","cs"],["quantity","q"],["authCode","code"],["checkoutPromoCode","apc"],["rurl","rUrl"],["curl","cUrl"],["ctxrturl","ctxRtUrl"],["country","co"],["language","lang"],["clientId","cli"],["context","ctx"],["productArrangementCode","pa"],["offerType","ot"],["marketSegment","ms"]]);var Cr=function(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},Vr=function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return a};function Te(e,t,r){var n,i;try{for(var a=Cr(Object.entries(e)),o=a.next();!o.done;o=a.next()){var s=Vr(o.value,2),l=s[0],c=s[1],u=At(l);c!=null&&r.has(u)&&t.set(u,c)}}catch(h){n={error:h}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}}function Fe(e){switch(e){case ye.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Ke(e,t){var r,n;for(var i in e){var a=e[i];try{for(var o=(r=void 0,Cr(Object.entries(a))),s=o.next();!s.done;s=o.next()){var l=Vr(s.value,2),c=l[0],u=l[1];if(u!=null){var h=At(c);t.set("items["+i+"]["+h+"]",u)}}}catch(f){r={error:f}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}}var ui=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Or(e){mi(e);var t=e.env,r=e.items,n=e.workflowStep,i=ui(e,["env","items","workflowStep"]),a=new URL(Fe(t));return a.pathname=n+"/",Ke(r,a.searchParams),Te(i,a.searchParams,fi),a.toString()}var fi=new Set(["cli","co","lang","ctx","cUrl","mv","nglwfdata","otac","promoid","rUrl","sdid","spint","trackingid","code","campaignid","appctxid"]),pi=["env","workflowStep","clientId","country","items"];function mi(e){var t,r;try{for(var n=hi(pi),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 Ti=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.")},Ei="p_draft_landscape",di="/store/";function dt(e){bi(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=Ti(e,["env","items","workflowStep","ms","marketSegment","ot","offerType","pa","productArrangementCode","landscape"]),f={marketSegment:a??i,offerType:s??o,productArrangementCode:c??l},p=new URL(Fe(t));return p.pathname=""+di+n,n!==G.SEGMENTATION&&n!==G.CHANGE_PLAN_TEAM_PLANS&&Ke(r,p.searchParams),n===G.SEGMENTATION&&Te(f,p.searchParams,Et),Te(h,p.searchParams,Et),u===Pe.DRAFT&&Te({af:Ei},p.searchParams,Et),p.toString()}var Et=new Set(["af","ai","apc","appctxid","cli","co","csm","ctx","ctxRtUrl","DCWATC","dp","fr","gsp","ijt","lang","lo","mal","ms","mv","mv2","nglwfdata","ot","otac","pa","pcid","promoid","q","rf","sc","scl","sdid","sid","spint","svar","th","thm","trackingid","usid","workflowid","context.guid","so.ca","so.su","so.tr","so.va"]),Si=["env","workflowStep","clientId","country"];function bi(e){var t,r;try{for(var n=Ai(Si),i=n.next();!i.done;i=n.next()){var a=i.value;if(!e[a])throw new Error('Argument "checkoutData" is not valid, missing: '+a)}}catch(o){t={error:o}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}if(e.workflowStep!==G.SEGMENTATION&&e.workflowStep!==G.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function St(e,t){switch(e){case ie.V2:return Or(t);case ie.V3:return dt(t);default:return console.warn("Unsupported CheckoutType, will use UCv3 as default. Given type: "+e),dt(t)}}var bt;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(bt||(bt={}));var w;(function(e){e.MONTH="MONTH",e.YEAR="YEAR",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.PERPETUAL="PERPETUAL",e.TERM_LICENSE="TERM_LICENSE",e.ACCESS_PASS="ACCESS_PASS",e.THREE_MONTHS="THREE_MONTHS",e.SIX_MONTHS="SIX_MONTHS"})(w||(w={}));var _;(function(e){e.ANNUAL="ANNUAL",e.MONTHLY="MONTHLY",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.P1D="P1D",e.P1Y="P1Y",e.P3Y="P3Y",e.P10Y="P10Y",e.P15Y="P15Y",e.P3D="P3D",e.P7D="P7D",e.P30D="P30D",e.HALF_YEARLY="HALF_YEARLY",e.QUARTERLY="QUARTERLY"})(_||(_={}));var xt;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(xt||(xt={}));var gt;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(gt||(gt={}));var Lt;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(Lt||(Lt={}));var vt;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(vt||(vt={}));var wr="tacocat.js";var Ye=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),Rr=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function N(e,t={},{metadata:r=!0,search:n=!0,storage:i=!0}={}){let a;if(n&&a==null){let o=new URLSearchParams(window.location.search),s=Ae(n)?n:e;a=o.get(s)}if(i&&a==null){let o=Ae(i)?i:e;a=window.sessionStorage.getItem(o)??window.localStorage.getItem(o)}if(r&&a==null){let o=xi(Ae(r)?r:e);a=document.documentElement.querySelector(`meta[name="${o}"]`)?.content}return a??t[e]}var Ee=()=>{};var Hr=e=>typeof e=="boolean",Ie=e=>typeof e=="function",Xe=e=>typeof e=="number",Dr=e=>e!=null&&typeof e=="object";var Ae=e=>typeof e=="string",yt=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(Hr(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=>Ye(i,e))??r??n[0]}function xi(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function be(e,t=1){return Xe(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var gi=Date.now(),Pt=()=>`(+${Date.now()-gi}ms)`,We=new Set,Li=x(N("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function kr(e){let t=`[${wr}/${e}]`,r=(o,s,...l)=>o?!0:(i(s,...l),!1),n=Li?(o,...s)=>{console.debug(`${t} ${o}`,...s,Pt())}:()=>{},i=(o,...s)=>{let l=`${t} ${o}`;We.forEach(([c])=>c(l,...s))};return{assert:r,debug:n,error:i,warn:(o,...s)=>{let l=`${t} ${o}`;We.forEach(([,c])=>c(l,...s))}}}function vi(e,t){let r=[e,t];return We.add(r),()=>{We.delete(r)}}vi((e,...t)=>{console.error(e,...t,Pt())},(e,...t)=>{console.warn(e,...t,Pt())});var yi="no promo",Ur="promo-tag",Pi="yellow",Ii="neutral",_i=(e,t,r)=>{let n=a=>a||yi,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Ni="cancel-context",_e=(e,t)=>{let r=e===Ni,n=!r&&e?.length>0,i=(n||r)&&(t&&t!=e||!t&&!r),a=i&&n||!i&&!!t,o=a?e||t:void 0;return{effectivePromoCode:o,overridenPromoCode:e,className:a?Ur:`${Ur} no-promo`,text:_i(o,t,i),variant:a?Pi:Ii,isOverriden:i}};var It="ABM",_t="PUF",Nt="M2M",Ct="PERPETUAL",Vt="P3Y",Ci="TAX_INCLUSIVE_DETAILS",Vi="TAX_EXCLUSIVE",Mr={ABM:It,PUF:_t,M2M:Nt,PERPETUAL:Ct,P3Y:Vt},zo={[It]:{commitment:w.YEAR,term:_.MONTHLY},[_t]:{commitment:w.YEAR,term:_.ANNUAL},[Nt]:{commitment:w.MONTH,term:_.MONTHLY},[Ct]:{commitment:w.PERPETUAL,term:void 0},[Vt]:{commitment:w.THREE_MONTHS,term:_.P3Y}},Gr="Value is not an offer",je=e=>{if(typeof e!="object")return Gr;let{commitment:t,term:r}=e,n=Oi(t,r);return{...e,planType:n}};var Oi=(e,t)=>{switch(e){case void 0:return Gr;case"":return"";case w.YEAR:return t===_.MONTHLY?It:t===_.ANNUAL?_t:"";case w.MONTH:return t===_.MONTHLY?Nt:"";case w.PERPETUAL:return Ct;case w.TERM_LICENSE:return t===_.P3Y?Vt:"";default:return""}};function Ot(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:a,taxDisplay:o}=t;if(o!==Ci)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:a??n,taxDisplay:Vi}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var wt=function(e,t){return wt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},wt(e,t)};function Ne(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");wt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var d=function(){return d=Object.assign||function(t){for(var r,n=1,i=arguments.length;n0}),r=[],n=0,i=t;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Hi,function(l,c,u,h,f,p){if(c)t.minimumIntegerDigits=u.length;else{if(h&&f)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(qr.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Xr.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Xr,function(l,c,u,h,f,p){return u==="*"?t.minimumFractionDigits=c.length:h&&h[0]==="#"?t.maximumFractionDigits=h.length:f&&p?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+p.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var a=i.options[0];a==="w"?t=d(d({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=d(d({},t),Wr(a)));continue}if($r.test(i.stem)){t=d(d({},t),Wr(i.stem));continue}var o=Zr(i.stem);o&&(t=d(d({},t),o));var s=Di(i.stem);s&&(t=d(d({},t),s))}return t}var Ve={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Qr(e,t){for(var r="",n=0;n>1),l="a",c=ki(t);for((c=="H"||c=="k")&&(s=0);s-- >0;)r+=l;for(;o-- >0;)r=c+r}else i==="J"?r+="H":r+=i}return r}function ki(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=Ve[n||""]||Ve[r||""]||Ve["".concat(r,"-001")]||Ve["001"];return i[0]}var Dt,Ui=new RegExp("^".concat(Ht.source,"*")),Mi=new RegExp("".concat(Ht.source,"*$"));function S(e,t){return{start:e,end:t}}var Gi=!!String.prototype.startsWith,Bi=!!String.fromCodePoint,Fi=!!Object.fromEntries,Ki=!!String.prototype.codePointAt,Yi=!!String.prototype.trimStart,Xi=!!String.prototype.trimEnd,Wi=!!Number.isSafeInteger,ji=Wi?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ut=!0;try{en=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ut=((Dt=en.exec("a"))===null||Dt===void 0?void 0:Dt[0])==="a"}catch{Ut=!1}var en,tn=Gi?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Mt=Bi?String.fromCodePoint:function(){for(var t=[],r=0;ra;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");n+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return n},rn=Fi?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}},zi=Yi?function(t){return t.trimStart()}:function(t){return t.replace(Ui,"")},$i=Xi?function(t){return t.trimEnd()}:function(t){return t.replace(Mi,"")};function an(e,t){return new RegExp(e,t)}var Gt;Ut?(kt=an("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Gt=function(t,r){var n;kt.lastIndex=r;var i=kt.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):Gt=function(t,r){for(var n=[];;){var i=nn(t,r);if(i===void 0||sn(i)||Ji(i))break;n.push(i),r+=i>=65536?2:1}return Mt.apply(void 0,n)};var kt,on=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,n);if(o.err)return o;i.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type: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&&Bt(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;i.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;i.push(o.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:v.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: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||!qi(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(),h=this.parseSimpleArgStyleIfPossible();if(h.err)return h;var f=$i(h.val);if(f.length===0)return this.error(E.EXPECT_ARGUMENT_STYLE,S(this.clonePosition(),this.clonePosition()));var p=S(u,this.clonePosition());c={style:f,styleLocation:p}}var m=this.tryParseArgumentClose(i);if(m.err)return m;var T=S(i,this.clonePosition());if(c&&tn(c?.style,"::",0)){var g=zi(c.style.slice(2));if(s==="number"){var h=this.parseNumberSkeletonFromString(g,c.styleLocation);return h.err?h:{val:{type:v.number,value:n,location:T,style:h.val},err:null}}else{if(g.length===0)return this.error(E.EXPECT_DATE_TIME_SKELETON,T);var P=g;this.locale&&(P=Qr(g,this.locale));var f={type:ae.dateTime,pattern:P,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?Kr(P):{}},A=s==="date"?v.date:v.time;return{val:{type:A,value:n,location:T,style:f},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 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:v.select,value:n,options:rn(V.val),location:O},err:null}:{val:{type:v.plural,value:n,options:rn(V.val),offset:C,pluralType:s==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(E.INVALID_ARGUMENT_TYPE,S(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,S(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=zr(t)}catch{return this.error(E.INVALID_NUMBER_SKELETON,r)}return{val:{type:ae.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Jr(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,o=!1,s=[],l=new Set,c=i.value,u=i.location;;){if(c.length===0){var h=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var f=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR,E.INVALID_PLURAL_ARGUMENT_SELECTOR);if(f.err)return f;u=S(h,this.clonePosition()),c=this.message.slice(h.offset,this.offset())}else break}if(l.has(c))return this.error(r==="select"?E.DUPLICATE_SELECT_ARGUMENT_SELECTOR:E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);c==="other"&&(o=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,S(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(t+1,r,n);if(m.err)return m;var T=this.tryParseArgumentClose(p);if(T.err)return T;s.push([c,{value:m.val,location:S(p,this.clonePosition())}]),l.add(c),this.bumpSpace(),a=this.parseIdentifierIfPossible(),c=a.value,u=a.location}return s.length===0?this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR:E.EXPECT_PLURAL_ARGUMENT_SELECTOR,S(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(E.MISSING_OTHER_CLAUSE,S(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var a=!1,o=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)a=!0,o=o*10+(s-48),this.bump();else break}var l=S(i,this.clonePosition());return a?(o*=n,ji(o)?{val:o,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=nn(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(tn(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&sn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e}();function Bt(e){return e>=97&&e<=122||e>=65&&e<=90}function qi(e){return Bt(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 sn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Ji(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,Je(t)||Qe(t))for(var r in t.options)delete t.options[r].location,Ft(t.options[r].value);else $e(t)&&tt(t.style)||(qe(t)||Ze(t))&&Ce(t.style)?delete t.style.location:et(t)&&Ft(t.children)})}function ln(e,t){t===void 0&&(t={}),t=d({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new on(e,t).parse();if(r.err){var n=SyntaxError(E[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Ft(r.val),r.val}function Oe(e,t){var r=t&&t.cache?t.cache:ia,n=t&&t.serializer?t.serializer:na,i=t&&t.strategy?t.strategy:ea;return i(e,{cache:r,serializer:n})}function Qi(e){return e==null||typeof e=="number"||typeof e=="boolean"}function cn(e,t,r,n){var i=Qi(n)?n:r(n),a=t.get(i);return typeof a>"u"&&(a=e.call(this,n),t.set(i,a)),a}function un(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),a=t.get(i);return typeof a>"u"&&(a=e.apply(this,n),t.set(i,a)),a}function Kt(e,t,r,n,i){return r.bind(t,e,n,i)}function ea(e,t){var r=e.length===1?cn:un;return Kt(e,this,r,t.cache.create(),t.serializer)}function ta(e,t){return Kt(e,this,un,t.cache.create(),t.serializer)}function ra(e,t){return Kt(e,this,cn,t.cache.create(),t.serializer)}var na=function(){return JSON.stringify(arguments)};function Yt(){this.cache=Object.create(null)}Yt.prototype.get=function(e){return this.cache[e]};Yt.prototype.set=function(e,t){this.cache[e]=t};var ia={create:function(){return new Yt}},rt={variadic:ta,monadic:ra};var oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(oe||(oe={}));var we=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: ".concat(this.code,"] ").concat(this.message)},t}(Error);var Xt=function(e){Ne(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}(we);var hn=function(e){Ne(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}(we);var fn=function(e){Ne(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}(we);var H;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(H||(H={}));function aa(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==H.literal||r.type!==H.literal?t.push(r):n.value+=r.value,t},[])}function oa(e){return typeof e=="function"}function Re(e,t,r,n,i,a,o){if(e.length===1&&Rt(e[0]))return[{type:H.literal,value:e[0].value}];for(var s=[],l=0,c=e;l0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=ln,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();var mn=pn;var ua=/[0-9\-+#]/,ha=/[^\d\-+#]/g;function Tn(e){return e.search(ua)}function fa(e="#.##"){let t={},r=e.length,n=Tn(e);t.prefix=n>0?e.substring(0,n):"";let i=Tn(e.split("").reverse().join("")),a=r-i,o=e.substring(a,a+1),s=a+(o==="."||o===","?1:0);t.suffix=i>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let l=t.mask.match(ha);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 pa(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,ma(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 ma(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},jt=(e,t)=>({accept:e,round:t}),Sa=[jt(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),jt(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.ceil(Math.floor(t*1e4/e)/100)/100),jt(()=>!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}},ba=(e,t)=>e.indexOf(`'${t}'`)===0,xa=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=gn(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+La(e)),r},ga=e=>{let t=va(e),r=ba(e,t),n=e.replace(/'.*?'/,""),i=Sn.test(n)||bn.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},xn=e=>e.replace(Sn,dn).replace(bn,dn),La=e=>e.match(/#(.?)#/)?.[1]===En?Aa:En,va=e=>e.match(/'(.*?)'/)?.[1]??"",gn=e=>e.match(/0(.?)0/)?.[1]??"";function nt({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,a=o=>o){let{currencySymbol:o,isCurrencyFirst:s,hasCurrencySpace:l}=ga(e),c=r?gn(e):"",u=xa(e,r),h=r?2:0,f=a(t,{currencySymbol:o}),p=n?f.toLocaleString("hi-IN",{minimumFractionDigits:h,maximumFractionDigits:h}):An(u,f),m=r?p.lastIndexOf(c):p.length,T=p.substring(0,m),g=p.substring(m+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,p).replace(/SYMBOL/,o),currencySymbol:o,decimals:g,decimalsDelimiter:c,hasCurrencySpace:l,integer:T,isCurrencyFirst:s,recurrenceTerm:i}}var Ln=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=Ea[r]??1;return nt(e,i>1?He.MONTH:zt[t]?.[r],(a,{currencySymbol:o})=>{let s={divisor:i,price:a,usePrecision:n},{round:l}=Sa.find(({accept:u})=>u(s));if(!l)throw new Error(`Missing rounding rule for: ${JSON.stringify(s)}`);return(da[o]??(u=>u))(l(s))})},vn=({commitment:e,term:t,...r})=>nt(r,zt[e]?.[t]),yn=e=>{let{commitment:t,term:r}=e;return t===w.YEAR&&r===_.MONTHLY?nt(e,He.YEAR,n=>n*12):nt(e,zt[t]?.[r])};var ya={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},Pa=kr("ConsonantTemplates/price"),Ia=/<\/?[^>]+(>|$)/g,R={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},se={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},_a="TAX_EXCLUSIVE",Na=e=>Dr(e)?Object.entries(e).filter(([,t])=>Ae(t)||Xe(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Rr(n)+'"'}`,""):"",D=(e,t,r,n=!1)=>`${n?xn(t):t??""}`;function Ca(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:a,integer:o,isCurrencyFirst:s,recurrenceLabel:l,perUnitLabel:c,taxInclusivityLabel:u},h={}){let f=D(R.currencySymbol,r),p=D(R.currencySpace,a?" ":""),m="";return s&&(m+=f+p),m+=D(R.integer,o),m+=D(R.decimalsDelimiter,i),m+=D(R.decimals,n),s||(m+=p+f),m+=D(R.recurrence,l,null,!0),m+=D(R.unitType,c,null,!0),m+=D(R.taxInclusivity,u,!0),D(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:g,term:P,usePrecision:A}={},b={})=>{Object.entries({country:n,formatString:f,language:l,price:p}).forEach(([$,ft])=>{if(ft==null)throw new Error(`Argument "${$}" is missing for osi ${h?.toString()}, country ${n}, language ${l}`)});let I={...ya,...c},C=`${l.toLowerCase()}-${n.toUpperCase()}`;function V($,ft){let pt=I[$];if(pt==null)return"";try{return new mn(pt.replace(Ia,""),C).format(ft)}catch{return Pa.error("Failed to format literal:",pt),""}}let O=t&&m?m:p,j=e?Ln:vn;r&&(j=yn);let{accessiblePrice:fe,recurrenceTerm:re,...pe}=j({commitment:u,formatString:f,term:P,price:e?p:O,usePrecision:A,isIndianPrice:n==="IN"}),B=fe,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)&&g&&(F=V(T===_a?se.taxExclusiveLabel:se.taxInclusiveLabel,{taxTerm:g}),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 Ca(ne,{...pe,accessibleLabel:B,recurrenceLabel:Q,perUnitLabel:z,taxInclusivityLabel:F},b);let{currencySymbol:Pr,decimals:zn,decimalsDelimiter:$n,hasCurrencySpace:Ir,integer:qn,isCurrencyFirst:Zn}=pe,me=[qn,$n,zn];Zn?(me.unshift(Ir?"\xA0":""),me.unshift(Pr)):(me.push(Ir?"\xA0":""),me.push(Pr)),me.push(Q,z,F);let Jn=me.join("");return D(ne,Jn,b)},Pn=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||x(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${U()(e,t,r)}${i?" "+U({displayStrikethrough:!0})(e,t,r):""}`},In=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||x(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?U({displayStrikethrough:!0})(n,t,r)+" ":""}${U()(e,t,r)}${D(R.containerAnnualPrefix," (")}${U({displayAnnual:!0})(n,t,r)}${D(R.containerAnnualSuffix,")")}`},_n=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${U()(e,t,r)}${D(R.containerAnnualPrefix," (")}${U({displayAnnual:!0})(n,t,r)}${D(R.containerAnnualSuffix,")")}`};var $t=U(),qt=Pn(),Zt=U({displayOptical:!0}),Jt=U({displayStrikethrough:!0}),Qt=U({displayAnnual:!0}),er=_n(),tr=In();var Va=(e,t)=>{if(!(!de(e)||!de(t)))return Math.floor((t-e)/t*100)},Nn=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Va(r,n);return i===void 0?'':`${i}%`};var rr=Nn();var{freeze:De}=Object,K=De({...ie}),Y=De({...G}),le={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},nr=De({...w}),ir=De({...Mr}),ar=De({..._});var dr={};oi(dr,{CLASS_NAME_FAILED:()=>or,CLASS_NAME_HIDDEN:()=>wa,CLASS_NAME_PENDING:()=>sr,CLASS_NAME_RESOLVED:()=>lr,ERROR_MESSAGE_BAD_REQUEST:()=>it,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>Za,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>cr,EVENT_AEM_ERROR:()=>za,EVENT_AEM_LOAD:()=>ja,EVENT_MAS_ERROR:()=>qa,EVENT_MAS_READY:()=>$a,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Ua,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>Xa,EVENT_MERCH_CARD_COLLECTION_SORT:()=>Ya,EVENT_MERCH_CARD_READY:()=>ka,EVENT_MERCH_OFFER_READY:()=>Ha,EVENT_MERCH_OFFER_SELECT_READY:()=>Da,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>Fa,EVENT_MERCH_SEARCH_CHANGE:()=>Ka,EVENT_MERCH_SIDENAV_SELECT:()=>Wa,EVENT_MERCH_STOCK_CHANGE:()=>Ga,EVENT_MERCH_STORAGE_CHANGE:()=>Ba,EVENT_OFFER_SELECTED:()=>Ma,EVENT_TYPE_FAILED:()=>ur,EVENT_TYPE_PENDING:()=>hr,EVENT_TYPE_READY:()=>xe,EVENT_TYPE_RESOLVED:()=>fr,LOG_NAMESPACE:()=>pr,Landscape:()=>ce,NAMESPACE:()=>Oa,PARAM_AOS_API_KEY:()=>Ja,PARAM_ENV:()=>mr,PARAM_LANDSCAPE:()=>Tr,PARAM_WCS_API_KEY:()=>Qa,STATE_FAILED:()=>q,STATE_PENDING:()=>Z,STATE_RESOLVED:()=>J,TAG_NAME_SERVICE:()=>Ra,WCS_PROD_URL:()=>Ar,WCS_STAGE_URL:()=>Er});var Oa="merch",wa="hidden",xe="wcms:commerce:ready",Ra="mas-commerce-service",Ha="merch-offer:ready",Da="merch-offer-select:ready",ka="merch-card:ready",Ua="merch-card:action-menu-toggle",Ma="merch-offer:selected",Ga="merch-stock:change",Ba="merch-storage:change",Fa="merch-quantity-selector:change",Ka="merch-search:change",Ya="merch-card-collection:sort",Xa="merch-card-collection:showmore",Wa="merch-sidenav:select",ja="aem:load",za="aem:error",$a="mas:ready",qa="mas:error",or="placeholder-failed",sr="placeholder-pending",lr="placeholder-resolved",it="Bad WCS request",cr="Commerce offer not found",Za="Literals URL not provided",ur="mas:failed",hr="mas:pending",fr="mas:resolved",pr="mas/commerce",mr="commerce.env",Tr="commerce.landscape",Ja="commerce.aosKey",Qa="commerce.wcsKey",Ar="https://www.adobe.com/web_commerce_artifact",Er="https://www.stage.adobe.com/web_commerce_artifact_stage",q="failed",Z="pending",J="resolved",ce={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"};var Cn="mas-commerce-service";function Vn(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(Cn);i!==r&&(r=i,i&&e(i))}return document.addEventListener(xe,n,{once:t}),te(n),()=>document.removeEventListener(xe,n)}function ke(e,{country:t,forceTaxExclusive:r,perpetual:n}){let i;if(e.length<2)i=e;else{let a=t==="GB"||n?"EN":"MULT",[o,s]=e;i=[o.language===a?o:s]}return r&&(i=i.map(Ot)),i}var 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(be).filter(de);return r.length||(r=[t]),r}function at(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(yt)}function M(){return document.getElementsByTagName(Cn)?.[0]}var ue={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},On=1e3,wn=new Set;function eo(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function Rn(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:i,status:a}=e;return[n,a,i].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!ue.serializableTypes.includes(r))return r}return e}function to(e,t){if(!ue.ignoredProperties.includes(e))return Rn(t)}var Sr={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],a=t;r.forEach(c=>{c!=null&&(eo(c)?n:i).push(c)}),n.length&&(a+=" "+n.map(Rn).join(" "));let{pathname:o,search:s}=window.location,l=`${ue.delimiter}page=${o}${s}`;l.length>On&&(l=`${l.slice(0,On)}`),a+=l,i.length&&(a+=`${ue.delimiter}facts=`,a+=JSON.stringify(i,to)),wn.has(a)||(wn.add(a),window.lana?.log(a,ue))}};function ot(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: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 br=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function ro({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||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=Ar,i=N("checkoutClientId",t)??L.checkoutClientId,a=ee(N("checkoutWorkflow",t),K,L.checkoutWorkflow),o=Y.CHECKOUT;a===K.V3&&(o=ee(N("checkoutWorkflowStep",t),Y,L.checkoutWorkflowStep));let s=x(N("displayOldPrice",t),L.displayOldPrice),l=x(N("displayPerUnit",t),L.displayPerUnit),c=x(N("displayRecurrence",t),L.displayRecurrence),u=x(N("displayTax",t),L.displayTax),h=x(N("entitlement",t),L.entitlement),f=x(N("modal",t),L.modal),p=x(N("forceTaxExclusive",t),L.forceTaxExclusive),m=N("promotionCode",t)??L.promotionCode,T=ge(N("quantity",t)),g=N("wcsApiKey",t)??L.wcsApiKey,P=t?.env==="stage",A=ce.PUBLISHED;["true",""].includes(t.allowOverride)&&(P=(N(mr,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",A=ee(N(Tr,t),ce,A)),P&&(r=le.STAGE,n=Er);let I=be(N("wcsBufferDelay",t),L.wcsBufferDelay),C=be(N("wcsBufferLimit",t),L.wcsBufferLimit);return{...ro(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:a,checkoutWorkflowStep:o,displayPerUnit:l,displayRecurrence:c,displayTax:u,entitlement:h,extraOptions:L.extraOptions,modal:f,env:r,forceTaxExclusive:p,promotionCode:m,quantity:T,wcsApiKey:g,wcsBufferDelay:I,wcsBufferLimit:C,wcsURL:n,landscape:A}}var gr={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},no=Date.now(),Lr=new Set,vr=new Set,Hn=new Map,Dn={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},kn={filter:({level:e})=>e!==gr.DEBUG},io={filter:()=>!1};function ao(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()-no}}function oo(e){[...vr].every(t=>t(e))&&Lr.forEach(t=>t(e))}function Un(e){let t=(Hn.get(e)??0)+1;Hn.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>Un(`${n.namespace}/${i}`),updateConfig:ot};return Object.values(gr).forEach(i=>{n[i]=(a,...o)=>oo(ao(i,a,e,o,r))}),Object.seal(n)}function st(...e){e.forEach(t=>{let{append:r,filter:n}=t;Ie(n)&&vr.add(n),Ie(r)&&Lr.add(r)})}function so(e={}){let{name:t}=e,r=x(N("commerce.debug",{search:!0,storage:!0}),t===br.LOCAL);return st(r?Dn:kn),t===br.PROD&&st(Sr),k}function lo(){Lr.clear(),vr.clear()}var k={...Un(pr),Level:gr,Plugins:{consoleAppender:Dn,debugFilter:kn,quietFilter:io,lanaAppender:Sr},init:so,reset:lo,use:st};var co={[q]:or,[Z]:sr,[J]:lr},uo={[q]:ur,[Z]:hr,[J]:fr},Le=class{constructor(t){y(this,"changes",new Map);y(this,"connected",!1);y(this,"dispose",Ee);y(this,"error");y(this,"log");y(this,"options");y(this,"promises",[]);y(this,"state",Z);y(this,"timer",null);y(this,"value");y(this,"version",0);y(this,"wrapperElement");this.wrapperElement=t}update(){[q,Z,J].forEach(t=>{this.wrapperElement.classList.toggle(co[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(uo[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=Vn(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=Ee}onceSettled(){let{error:t,promises:r,state:n}=this;return 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=k.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 Mn(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function lt(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,Mn(t)),i}function ct(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,Mn(t)),e):null}var ho="download",fo="upgrade",he,Ue=class Ue extends HTMLAnchorElement{constructor(){super();Be(this,he);y(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=M();if(!i)return null;let{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:u,perpetual:h,promotionCode:f,quantity:p,wcsOsi:m,extraOptions:T}=i.collectCheckoutOptions(r),g=lt(Ue,{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:u,perpetual:h,promotionCode:f,quantity:p,wcsOsi:m,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,he))==null||n.call(this,r)}async render(r={}){if(!this.isConnected)return!1;let n=M();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=>ke(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=M();if(!s)return!1;if(n={...JSON.parse(this.dataset.extraOptions??"null"),...n,...i},o??(o=this.masElement.togglePending(n)),ve(this,he)&&mt(this,he,void 0),a){this.classList.remove(ho,fo),this.masElement.toggleResolved(o,r,n);let{url:c,text:u,className:h,handler:f}=a;return c&&(this.href=c),u&&(this.firstElementChild.innerHTML=u),h&&this.classList.add(...h.split(" ")),f&&(this.setAttribute("href","#"),mt(this,he,f.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=M();if(!n)return!1;let{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:l,modal:c,perpetual:u,promotionCode:h,quantity:f,wcsOsi:p}=n.collectCheckoutOptions(r);return ct(this,{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:l,modal:c,perpetual:u,promotionCode:h,quantity:f,wcsOsi:p}),!0}};he=new WeakMap,y(Ue,"is","checkout-link"),y(Ue,"tag","a");var X=Ue;window.customElements.get(X.is)||window.customElements.define(X.is,X,{extends:X.tag});function Gn({providers:e,settings:t}){function r(a,o){let{checkoutClientId:s,checkoutWorkflow:l,checkoutWorkflowStep:c,country:u,language:h,promotionCode:f,quantity:p}=t,{checkoutMarketSegment:m,checkoutWorkflow:T=l,checkoutWorkflowStep:g=c,imsCountry:P,country:A=P??u,language:b=h,quantity:I=p,entitlement:C,upgrade:V,modal:O,perpetual:j,promotionCode:fe=f,wcsOsi:re,extraOptions:pe,...B}=Object.assign({},o?.dataset??{},a??{}),Q=ee(T,K,L.checkoutWorkflow),z=Y.CHECKOUT;Q===K.V3&&(z=ee(g,Y,L.checkoutWorkflowStep));let F=Se({...B,extraOptions:pe,checkoutClientId:s,checkoutMarketSegment:m,country:A,quantity:ge(I,L.quantity),checkoutWorkflow:Q,checkoutWorkflowStep:z,language:b,entitlement:x(C),upgrade:x(V),modal:x(O),perpetual:x(j),promotionCode:_e(fe).effectivePromoCode,wcsOsi:at(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,...g}=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,...g};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]??L.quantity})));return St(h,A)}let{createCheckoutLink:i}=X;return{CheckoutLink:X,CheckoutWorkflow:K,CheckoutWorkflowStep:Y,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function po({interval:e=200,maxAttempts:t=25}={}){let r=k.module("ims");return new Promise(n=>{r.debug("Waing for IMS to be ready");let i=0;function a(){window.adobeIMS?.initialized?n():++i>t?(r.debug("Timeout"),n()):setTimeout(a,e)}a()})}function mo(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function To(e){let t=k.module("ims");return e.then(r=>r?window.adobeIMS.getProfile().then(({countryCode:n})=>(t.debug("Got user country:",n),n),n=>{t.error("Unable to get user country:",n)}):null)}function Bn({}){let e=po(),t=mo(e),r=To(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function Kn(e,t){let{data:r}=t||await Promise.resolve().then(()=>li(Fn(),1));if(Array.isArray(r)){let n=a=>r.find(o=>Ye(o.lang,a)),i=n(e.language)??n(L.language);if(i)return Object.freeze(i)}return{}}var Yn=["GB_en","AU_en","FR_fr","AT_de","BE_en","BE_fr","BE_nl","BG_bg","CH_de","CH_fr","CH_it","CZ_cs","DE_de","DK_da","EE_et","EG_ar","EG_en","ES_es","FI_fi","FR_fr","GR_el","GR_en","HU_hu","IE_en","IT_it","LU_de","LU_en","LU_fr","NL_nl","NO_nb","PL_pl","PT_pt","RO_ro","SE_sv","SI_sl","SK_sk","TR_tr","UA_uk","ID_en","ID_in","IN_en","IN_hi","JP_ja","MY_en","MY_ms","NZ_en","TH_en","TH_th"],Eo={INDIVIDUAL_COM:["ZA_en","LT_lt","LV_lv","NG_en","SA_ar","SA_en","ZA_en","SG_en","KR_ko"],TEAM_COM:["ZA_en","LT_lt","LV_lv","NG_en","ZA_en","CO_es","KR_ko"],INDIVIDUAL_EDU:["LT_lt","LV_lv","SA_en","SG_en"],TEAM_EDU:["SG_en","KR_ko"]},Me=class Me extends HTMLSpanElement{constructor(){super();y(this,"masElement",new Le(this));this.handleClick=this.handleClick.bind(this)}static get observedAttributes(){return["data-display-old-price","data-display-per-unit","data-display-recurrence","data-display-tax","data-perpetual","data-promotion-code","data-tax-exclusive","data-template","data-wcs-osi"]}static createInlinePrice(r){let n=M();if(!n)return null;let{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p}=n.collectPriceOptions(r);return lt(Me,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p})}get isInlinePrice(){return!0}attributeChangedCallback(r,n,i){this.masElement.attributeChangedCallback(r,n,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.handleClick)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.handleClick)}handleClick(r){r.target!==this&&(r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})))}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(r=!1){return this.masElement.requestUpdate(r)}resolveDisplayTaxForGeoAndSegment(r,n,i,a){let o=`${r}_${n}`;if(Yn.includes(r)||Yn.includes(o))return!0;let s=Eo[`${i}_${a}`];return s?!!(s.includes(r)||s.includes(o)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),a=ke(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(ke(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 ct(this,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:u,quantity:h,template:f,wcsOsi:p}),!0}};y(Me,"is","inline-price"),y(Me,"tag","span");var W=Me;window.customElements.get(W.is)||window.customElements.define(W.is,W,{extends:W.tag});function Xn({literals:e,providers:t,settings:r}){function n(o,s){let{country:l,displayOldPrice:c,displayPerUnit:u,displayRecurrence:h,displayTax:f,forceTaxExclusive:p,language:m,promotionCode:T,quantity:g}=r,{displayOldPrice:P=c,displayPerUnit:A=u,displayRecurrence:b=h,displayTax:I=f,forceTaxExclusive:C=p,country:V=l,language:O=m,perpetual:j,promotionCode:fe=T,quantity:re=g,template:pe,wcsOsi:B,...Q}=Object.assign({},s?.dataset??{},o??{}),z=Se({...Q,country:V,displayOldPrice:x(P),displayPerUnit:x(A),displayRecurrence:x(b),displayTax:x(I),forceTaxExclusive:x(C),language:O,perpetual:x(j),promotionCode:_e(fe).effectivePromoCode,quantity:ge(re,L.quantity),template:pe,wcsOsi:at(B)});if(s)for(let F of t.price)F(s,z);return z}function i(o,s){if(!Array.isArray(o)||!o.length||!s)return"";let{template:l}=s,c;switch(l){case"discount":c=rr;break;case"strikethrough":c=Jt;break;case"optical":c=Zt;break;case"annual":c=Qt;break;default:s.country==="AU"&&o[0].planType==="ABM"?c=s.promotionCode?tr:er:c=s.promotionCode?qt:$t}let u=n(s);u.literals=Object.assign({},e.price,Se(s.literals??{}));let[h]=o;return h={...h,...h.priceDetails},c(u,h)}let a=W.createInlinePrice;return{InlinePrice:W,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:a}}function Wn({settings:e}){let t=k.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,a=new Map,o;async function s(h,f,p=!0){let m=cr;t.debug("Fetching:",h);let T="",g,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),g=await fetch(T.toString(),{credentials:"omit"}),g.ok){let A=await g.json();t.debug("Fetched:",h,A);let b=A.resolvedOffers??[];b=b.map(je),f.forEach(({resolve:I},C)=>{let V=b.filter(({offerSelectorIds:O})=>O.includes(C)).flat();V.length&&(f.delete(C),I(V))})}else g.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=it}catch(A){m=it,t.error(m,h,A)}p&&f.size&&(t.debug("Missing:",{offerSelectorIds:[...f.keys()]}),f.forEach(A=>{A.reject(new Error(P(m,g,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 g=`${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:g,offerSelectorIds:[]};h!=="GB"&&(j.language=f),O={options:j,promises:new Map},a.set(P,O)}m&&(O.options.promotionCode=m),O.options.offerSelectorIds.push(A),O.promises.set(A,{resolve:C,reject:V}),O.options.offerSelectorIds.length>=e.wcsBufferLimit?l():(t.debug("Queued:",O.options),o||(o=setTimeout(l,e.wcsBufferDelay)))});i.set(b,I)}return i.get(b)})}return{WcsCommitment:nr,WcsPlanType:ir,WcsTerm:ar,resolveOfferSelectors:u,flushWcsCache:c}}var yr="mas-commerce-service",ht,jn,ut=class extends HTMLElement{constructor(){super(...arguments);Be(this,ht);y(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,ht,jn),n=Object.freeze(xr(r));ot(r.lana);let i=k.init(r.hostEnv).module("service");i.debug("Activating:",r);let a={price:{}};try{a.price=await Kn(n,r.commerce.priceLiterals)}catch{}let o={checkout:new Set,price:new Set},s={literals:a,providers:o,settings:n};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...Gn(s),...Bn(s),...Xn(s),...Wn(s),...dr,Log:k,get defaults(){return L},get log(){return k},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(xe,{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")}};ht=new WeakSet,jn=function(){let r={hostEnv:{name:this.getAttribute("host-env")??"prod"},commerce:{env:this.getAttribute("env")},lana:{tags:this.getAttribute("lana-tags"),sampleRate:parseInt(this.getAttribute("lana-sample-rate"),10),isProdDomain:this.getAttribute("host-env")==="prod"}};return["locale","country","language"].forEach(n=>{let i=this.getAttribute(n);i&&(r[n]=i)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(n=>{let i=this.getAttribute(n);if(i!=null){let a=n.replace(/-([a-z])/g,o=>o[1].toUpperCase());r.commerce[a]=i}}),r},y(ut,"instance");window.customElements.get(yr)||window.customElements.define(yr,ut);export{X as CheckoutLink,K as CheckoutWorkflow,Y as CheckoutWorkflowStep,L as Defaults,W as InlinePrice,ce as Landscape,k as Log,yr as TAG_NAME_SERVICE,nr as WcsCommitment,ir as WcsPlanType,ar as WcsTerm,je as applyPlanType,xr as getSettings}; -//# sourceMappingURL=commerce.js.map diff --git a/libs/deps/mas/mas.js b/libs/deps/mas/mas.js index 2c0d839029..890478ff59 100644 --- a/libs/deps/mas/mas.js +++ b/libs/deps/mas/mas.js @@ -2054,4 +2054,3 @@ lit-html/is-server.js: * SPDX-License-Identifier: BSD-3-Clause *) */ -//# sourceMappingURL=mas.js.map diff --git a/libs/deps/mas/merch-card-collection.js b/libs/deps/mas/merch-card-collection.js index 7aa0abdb5d..f2286383d7 100644 --- a/libs/deps/mas/merch-card-collection.js +++ b/libs/deps/mas/merch-card-collection.js @@ -148,4 +148,3 @@ var N=Object.defineProperty;var y=(s,e,t)=>e in s?N(s,e,{enumerable:!0,configura > `}sortChanged(t){t.target.value===a.authored?d({sort:void 0}):d({sort:t.target.value}),this.dispatchEvent(new CustomEvent(g,{bubbles:!0,composed:!0,detail:{value:t.target.value}}))}async showMore(){this.dispatchEvent(new CustomEvent(S,{bubbles:!0,composed:!0}));let t=this.page+1;d({page:t}),this.page=t,await this.updateComplete}startDeeplink(){this.stopDeeplink=T(({category:t,filter:o,types:n,sort:i,search:_,single_app:h,page:m})=>{o=o||t,!this.filtered&&o&&o!==this.filter&&setTimeout(()=>{d({page:void 0}),this.page=1},1),this.filtered||(this.filter=o??this.filter),this.types=n??"",this.search=_??"",this.singleApp=h,this.sort=i,this.page=Number(m)||1})}openFilters(t){this.sidenav?.showModal(t)}};E(p,"properties",{filter:{type:String,attribute:"filter",reflect:!0},filtered:{type:String,attribute:"filtered"},search:{type:String,attribute:"search",reflect:!0},sort:{type:String,attribute:"sort",default:a.authored,reflect:!0},types:{type:String,attribute:"types",reflect:!0},limit:{type:Number,attribute:"limit"},page:{type:Number,attribute:"page",reflect:!0},singleApp:{type:String,attribute:"single-app",reflect:!0},hasMore:{type:Boolean},displayResult:{type:Boolean,attribute:"display-result"},resultCount:{type:Number},sidenav:{type:Object}}),E(p,"styles",[b]);p.SortOrder=a;customElements.define(D,p);export{p as MerchCardCollection,P as updateLiterals}; -//# sourceMappingURL=merch-card-collection.js.map diff --git a/libs/deps/mas/merch-card.js b/libs/deps/mas/merch-card.js index 1abba52190..00287aa69f 100644 --- a/libs/deps/mas/merch-card.js +++ b/libs/deps/mas/merch-card.js @@ -1989,4 +1989,3 @@ body.merch-modal { } `;document.head.appendChild($t);var ne="#000000",ae="#F8D904",ce=/(accent|primary|secondary)(-(outline|link))?/,ie="mas:product_code/",se="daa-ll",j="daa-lh",de=["XL","L","M","S"];function he(r,e,t){r.mnemonicIcon?.map((n,a)=>({icon:n,alt:r.mnemonicAlt[a]??"",link:r.mnemonicLink[a]??""}))?.forEach(({icon:n,alt:a,link:l})=>{if(l&&!/^https?:/.test(l))try{l=new URL(`https://${l}`).href.toString()}catch{l="#"}let u={slot:"icons",src:n,size:t?.size??"l"};a&&(u.alt=a),l&&(u.href=l);let b=f("merch-icon",u);e.append(b)})}function le(r,e){r.badge&&(e.setAttribute("badge-text",r.badge),e.setAttribute("badge-color",r.badgeColor||ne),e.setAttribute("badge-background-color",r.badgeBackgroundColor||ae))}function me(r,e,t){t?.includes(r.size)&&e.setAttribute("size",r.size)}function pe(r,e,t){r.cardTitle&&t&&e.append(f(t.tag,{slot:t.slot},r.cardTitle))}function ge(r,e,t){r.subtitle&&t&&e.append(f(t.tag,{slot:t.slot},r.subtitle))}function ue(r,e,t,o){if(r.backgroundImage)switch(o){case"ccd-slice":t&&e.append(f(t.tag,{slot:t.slot},``));break;case"ccd-suggested":e.setAttribute("background-image",r.backgroundImage);break}}function xe(r,e,t){if(r.prices&&t){let o=f(t.tag,{slot:t.slot},r.prices);e.append(o)}}function fe(r,e,t){if(r.description&&t){let o=f(t.tag,{slot:t.slot},r.description);e.append(o)}}function ve(r,e,t,o){let n=e.ctas.size??"M",a=`spectrum-Button--${o}`,l=t?" spectrum-Button--outline":"";r.classList.add("spectrum-Button-label");let u=de.includes(n)?` spectrum-Button--size${n}`:"",b=`spectrum-Button ${a}${l}${u}`,v=f("button",{class:b,tabIndex:0},r);return v.addEventListener("click",P=>{P.target!==r&&(P.stopPropagation(),r.click())}),v}function be(r,e,t,o){let n="fill";t&&(n="outline");let a=f("sp-button",{treatment:n,variant:o,tabIndex:0,size:e.ctas.size??"m"},r);return a.addEventListener("click",l=>{l.target!==r&&(l.stopPropagation(),r.click())}),a}function ye(r,e){return r.classList.add("con-button"),e&&r.classList.add("blue"),r}function we(r,e,t,o){if(r.ctas){let{slot:n}=t.ctas,a=f("div",{slot:n},r.ctas),l=[...a.querySelectorAll("a")].map(u=>{let b=u.parentElement.tagName==="STRONG";if(e.consonant)return ye(u,b);let v=ce.exec(u.className)?.[0]??"accent",P=v.includes("accent"),Nt=v.includes("primary"),Pt=v.includes("secondary"),at=v.includes("-outline");if(v.includes("-link"))return u;let R;return P||b?R="accent":Nt?R="primary":Pt&&(R="secondary"),u.tabIndex=-1,e.spectrum==="swc"?be(u,t,at,R):ve(u,t,at,R)});a.innerHTML="",a.append(...l),e.append(a)}}function Ee(r,e){let{tags:t}=r,o=t?.find(n=>n.startsWith(ie))?.split("/").pop();o&&(e.setAttribute(j,o),e.querySelectorAll("a[data-analytics-id]").forEach((n,a)=>{n.setAttribute(se,`${n.dataset.analyticsId}-${a+1}`)}))}function Se(r){[["primary-link","primary"],["secondary-link","secondary"]].forEach(([e,t])=>{r.querySelectorAll(`a.${e}`).forEach(o=>{o.classList.remove(e),o.classList.add("spectrum-Link",`spectrum-Link--${t}`)})})}async function Ot(r,e){let{fields:t}=r,{variant:o}=t;if(!o)return;e.querySelectorAll("[slot]").forEach(a=>{a.remove()}),e.removeAttribute("background-image"),e.removeAttribute("badge-background-color"),e.removeAttribute("badge-color"),e.removeAttribute("badge-text"),e.removeAttribute("size"),e.removeAttribute(j),e.variant=o,await e.updateComplete;let{aemFragmentMapping:n}=e.variantLayout;n&&(he(t,e,n.mnemonics),le(t,e),me(t,e,n.allowedSizes),pe(t,e,n.title),ge(t,e,n.subtitle),xe(t,e,n.prices),ue(t,e,n.backgroundImage,o),fe(t,e,n.description),we(t,e,n,o),Ee(t,e),Se(e))}var d="merch-card",Ae=1e4,nt,N,ot,s=class extends ke{constructor(){super();M(this,N);c(this,"customerSegment");c(this,"marketSegment");c(this,"variantLayout");M(this,nt,!1);this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}firstUpdated(){this.variantLayout=rt(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(t){(t.has("variant")||!this.variantLayout)&&(this.variantLayout=rt(this),this.variantLayout.connectedCallbackHook())}updated(t){(t.has("badgeBackgroundColor")||t.has("borderColor"))&&this.style.setProperty("--consonant-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:t}){if(!this.stockOfferOsis)return;let o=this.checkoutLinks;if(o.length!==0)for(let n of o){await n.onceSettled();let a=n.value?.[0]?.planType;if(!a)return;let l=this.stockOfferOsis[a];if(!l)return;let u=n.dataset.wcsOsi.split(",").filter(b=>b!==l);t.checked&&u.push(l),n.dataset.wcsOsi=u.join(",")}}handleQuantitySelection(t){let o=this.checkoutLinks;for(let n of o)n.dataset.quantity=t.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(t){let o={...this.filters};Object.keys(o).forEach(n=>{if(t){o[n].order=Math.min(o[n].order||2,2);return}let a=o[n].order;a===1||isNaN(a)||(o[n].order=Number(a)+1)}),this.filters=o}includes(t){return this.textContent.match(new RegExp(t,"i"))!==null}connectedCallback(){super.connectedCallback(),this.addEventListener(Z,this.handleQuantitySelection),this.addEventListener(gt,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(F,this.handleAemFragmentEvents),this.addEventListener(I,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(Z,this.handleQuantitySelection),this.storageOptions?.removeEventListener(Q,this.handleStorageChange),this.removeEventListener(F,this.handleAemFragmentEvents),this.removeEventListener(I,this.handleAemFragmentEvents)}async handleAemFragmentEvents(t){if(t.type===F&&W(this,N,ot).call(this,"AEM fragment cannot be loaded"),t.type===I&&t.target.nodeName==="AEM-FRAGMENT"){let o=t.detail;await Ot(o,this),this.checkReady()}}async checkReady(){let t=Promise.all([...this.querySelectorAll('span[is="inline-price"][data-wcs-osi],a[is="checkout-link"][data-wcs-osi]')].map(a=>a.onceSettled().catch(()=>a))).then(a=>a.every(l=>l.classList.contains("placeholder-resolved"))),o=new Promise(a=>setTimeout(()=>a(!1),Ae));if(await Promise.race([t,o])===!0){this.dispatchEvent(new CustomEvent(ft,{bubbles:!0,composed:!0}));return}W(this,N,ot).call(this,"Contains unresolved offers")}get aemFragment(){return this.querySelector("aem-fragment")}get storageOptions(){return this.querySelector("sp-radio-group#storage")}get storageSpecificOfferSelect(){let t=this.storageOptions?.selected;if(t){let o=this.querySelector(`merch-offer-select[storage="${t}"]`);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(ut,{bubbles:!0}))}handleStorageChange(){let t=this.closest("merch-card")?.offerSelect.cloneNode(!0);t&&this.dispatchEvent(new CustomEvent(Q,{detail:{offerSelect:t},bubbles:!0}))}get dynamicPrice(){return this.querySelector('[slot="price"]')}selectMerchOffer(t){if(t===this.merchOffer)return;this.merchOffer=t;let o=this.dynamicPrice;if(t.price&&o){let n=t.price.cloneNode(!0);o.onceSettled?o.onceSettled().then(()=>{o.replaceWith(n)}):o.replaceWith(n)}}};nt=new WeakMap,N=new WeakSet,ot=function(t){this.dispatchEvent(new CustomEvent(vt,{detail:t,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"},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:t=>{let[o,n,a]=t.split(",");return{PUF:o,ABM:n,M2M:a}}}},filters:{type:String,reflect:!0,converter:{fromAttribute:t=>Object.fromEntries(t.split(",").map(o=>{let[n,a,l]=o.split(":"),u=Number(a);return[n,{order:isNaN(u)?void 0:u,size:l}]})),toAttribute:t=>Object.entries(t).map(([o,{order:n,size:a}])=>[o,n,a].filter(l=>l!=null).join(":")).join(",")}},types:{type:String,attribute:"types",reflect:!0},merchOffer:{type:Object},analyticsId:{type:String,attribute:j,reflect:!0}}),c(s,"styles",[lt,Mt(),...mt()]);customElements.define(d,s); -//# sourceMappingURL=merch-card.js.map diff --git a/libs/deps/mas/merch-icon.js b/libs/deps/mas/merch-icon.js index fa2fd0ae8d..cc0ea3e1ad 100644 --- a/libs/deps/mas/merch-icon.js +++ b/libs/deps/mas/merch-icon.js @@ -29,4 +29,3 @@ var g=Object.defineProperty;var m=(i,t,h)=>t in i?g(i,t,{enumerable:!0,configura height: var(--mod-img-height, var(--img-height)); } `);customElements.define("merch-icon",e);export{e as default}; -//# sourceMappingURL=merch-icon.js.map diff --git a/libs/deps/mas/merch-mnemonic-list.js b/libs/deps/mas/merch-mnemonic-list.js index 8599f9d471..93654bd885 100644 --- a/libs/deps/mas/merch-mnemonic-list.js +++ b/libs/deps/mas/merch-mnemonic-list.js @@ -28,4 +28,3 @@ var o=Object.defineProperty;var r=(e,t,s)=>t in e?o(e,t,{enumerable:!0,configura display: none; } `),n(i,"properties",{description:{type:String,attribute:!0}});customElements.define("merch-mnemonic-list",i);export{i as MerchMnemonicList}; -//# sourceMappingURL=merch-mnemonic-list.js.map diff --git a/libs/deps/mas/merch-offer-select.js b/libs/deps/mas/merch-offer-select.js index 3005001313..7733abc3f1 100644 --- a/libs/deps/mas/merch-offer-select.js +++ b/libs/deps/mas/merch-offer-select.js @@ -246,4 +246,3 @@ var R=Object.defineProperty;var u=t=>{throw TypeError(t)};var S=(t,o,e)=>o in t? > `}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); -//# sourceMappingURL=merch-offer-select.js.map diff --git a/libs/deps/mas/merch-quantity-select.js b/libs/deps/mas/merch-quantity-select.js index b5eba63e7c..582330e944 100644 --- a/libs/deps/mas/merch-quantity-select.js +++ b/libs/deps/mas/merch-quantity-select.js @@ -157,4 +157,3 @@ import{html as i,LitElement as c}from"../lit-all.min.js";import{css as h}from".. ${this.popover} `}};customElements.define("merch-quantity-select",s);export{s as MerchQuantitySelect}; -//# sourceMappingURL=merch-quantity-select.js.map diff --git a/libs/deps/mas/merch-secure-transaction.js b/libs/deps/mas/merch-secure-transaction.js index 9556caab33..3166638fd5 100644 --- a/libs/deps/mas/merch-secure-transaction.js +++ b/libs/deps/mas/merch-secure-transaction.js @@ -30,4 +30,3 @@ var a=Object.defineProperty;var c=(e,t,o)=>t in e?a(e,t,{enumerable:!0,configura > `:r}};n(i,"properties",{labelText:{attribute:"label",type:String},showIcon:{attribute:"icon",type:Boolean},tooltipText:{attribute:"tooltip",type:String}}),n(i,"styles",[l]);window.customElements.define(d,i);export{i as default}; -//# sourceMappingURL=merch-secure-transaction.js.map diff --git a/libs/deps/mas/merch-sidenav.js b/libs/deps/mas/merch-sidenav.js index fbaf1896db..45a6932c6d 100644 --- a/libs/deps/mas/merch-sidenav.js +++ b/libs/deps/mas/merch-sidenav.js @@ -140,4 +140,3 @@ var V=Object.defineProperty;var g=o=>{throw TypeError(o)};var I=(o,e,t)=>e in o? right: 16px; } `,u]);customElements.define("merch-sidenav",h);export{h as MerchSideNav}; -//# sourceMappingURL=merch-sidenav.js.map diff --git a/libs/deps/mas/merch-stock.js b/libs/deps/mas/merch-stock.js index 3042b41f75..a9b82d62f7 100644 --- a/libs/deps/mas/merch-stock.js +++ b/libs/deps/mas/merch-stock.js @@ -27,4 +27,3 @@ var _=Object.defineProperty;var E=o=>{throw TypeError(o)};var d=(o,e,t)=>e in o? line-height: 15px; } `]),n(s,"properties",{checked:{type:Boolean,attribute:"checked",reflect:!0},planType:{type:String,attribute:"plan-type",reflect:!0}});window.customElements.define("merch-stock",s);export{s as MerchStock}; -//# sourceMappingURL=merch-stock.js.map diff --git a/libs/deps/mas/merch-subscription-panel.js b/libs/deps/mas/merch-subscription-panel.js index 03f5a9758c..af89d0dfd9 100644 --- a/libs/deps/mas/merch-subscription-panel.js +++ b/libs/deps/mas/merch-subscription-panel.js @@ -139,4 +139,3 @@ var y=Object.defineProperty;var u=o=>{throw TypeError(o)};var T=(o,e,t)=>e in o? data-quantity="${this.quantity}" href="#" >`}};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); -//# sourceMappingURL=merch-subscription-panel.js.map diff --git a/libs/deps/mas/merch-twp-d2p.js b/libs/deps/mas/merch-twp-d2p.js index 87bf447aa4..81bcadce8e 100644 --- a/libs/deps/mas/merch-twp-d2p.js +++ b/libs/deps/mas/merch-twp-d2p.js @@ -324,4 +324,3 @@ var k=Object.defineProperty;var A=i=>{throw TypeError(i)};var I=(i,t,e)=>t in i? `: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}; -//# sourceMappingURL=merch-twp-d2p.js.map diff --git a/libs/deps/mas/merch-whats-included.js b/libs/deps/mas/merch-whats-included.js index 520f096595..9febeeca5c 100644 --- a/libs/deps/mas/merch-whats-included.js +++ b/libs/deps/mas/merch-whats-included.js @@ -40,4 +40,3 @@ var r=Object.defineProperty;var n=(t,e,s)=>e in t?r(t,e,{enumerable:!0,configura margin-top: 16px; } `),o(i,"properties",{heading:{type:String,attribute:!0},mobileRows:{type:Number,attribute:!0}});customElements.define("merch-whats-included",i);export{i as MerchWhatsIncluded}; -//# sourceMappingURL=merch-whats-included.js.map diff --git a/libs/features/mas/build.mjs b/libs/features/mas/build.mjs index 4c09206903..2a6a4b59f0 100644 --- a/libs/features/mas/build.mjs +++ b/libs/features/mas/build.mjs @@ -7,7 +7,7 @@ const defaults = { bundle: true, format: 'esm', minify: true, - sourcemap: true, + // sourcemap: true, platform: 'browser', target: ['es2020'], }; diff --git a/libs/features/mas/dist/mas.js b/libs/features/mas/dist/mas.js index 2c0d839029..890478ff59 100644 --- a/libs/features/mas/dist/mas.js +++ b/libs/features/mas/dist/mas.js @@ -2054,4 +2054,3 @@ lit-html/is-server.js: * SPDX-License-Identifier: BSD-3-Clause *) */ -//# sourceMappingURL=mas.js.map diff --git a/libs/features/mas/package-lock.json b/libs/features/mas/package-lock.json index 892fc275dd..b8fd6a7fb1 100644 --- a/libs/features/mas/package-lock.json +++ b/libs/features/mas/package-lock.json @@ -1,12 +1,12 @@ { "name": "@adobecom/mas", - "version": "0.1.5", + "version": "0.1.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@adobecom/mas", - "version": "0.1.5", + "version": "0.1.6", "devDependencies": { "@dexter/tacocat-core": "file:./internal/tacocat-core-1.13.0.tgz", "@esm-bundle/chai": "4.3.4-fix.0", diff --git a/libs/features/mas/package.json b/libs/features/mas/package.json index 88344d1fd9..63c5c69270 100644 --- a/libs/features/mas/package.json +++ b/libs/features/mas/package.json @@ -1,6 +1,6 @@ { "name": "@adobecom/mas", - "version": "0.1.5", + "version": "0.1.6", "type": "module", "main": "dist/mas.js", "private": true,