From 9a311f328985d3e62a3a69f6da3f547e971db8a9 Mon Sep 17 00:00:00 2001 From: John Pratt Date: Thu, 20 Mar 2025 19:13:44 -0600 Subject: [PATCH 01/51] MWPW-164732 [MEP][NALA] create a nala test for PR 2976, ability to select all elements (#3426) * add all-elements test * add all-elements test --------- Co-authored-by: John Pratt --- .../personalization/all-elements.spec.js | 29 +++++++ .../personalization/all-elements.test.js | 87 +++++++++++++++++++ 2 files changed, 116 insertions(+) create mode 100644 nala/features/personalization/all-elements.spec.js create mode 100644 nala/features/personalization/all-elements.test.js diff --git a/nala/features/personalization/all-elements.spec.js b/nala/features/personalization/all-elements.spec.js new file mode 100644 index 00000000000..70bc521d8ee --- /dev/null +++ b/nala/features/personalization/all-elements.spec.js @@ -0,0 +1,29 @@ +module.exports = { + name: 'PR 2976 -- all elements', + features: [ + { + tcid: '0', + name: '@insert before and after fragments', + desc: 'insertBefore and insertAfter should work with fragment selectors', + path: '/drafts/nala/features/personalization/all-elements/all-elements', + data: { defaultURL: '/drafts/nala/features/personalization/all-elements/all-elements?mep=%2Fdrafts%2Fnala%2Ffeatures%2Fpersonalization%2Fall-elements%2Fall-elements.json--default' }, + tags: '@all-elements0 @smoke @regression @milo ', + }, + { + tcid: '1', + name: '@verify the #_all feature', + desc: 'The #_all flag should change all matching elements', + path: '/drafts/nala/features/personalization/all-elements/all-elements2', + data: { defaultURL: '/drafts/nala/features/personalization/all-elements/all-elements2?mep=%2Fdrafts%2Fnala%2Ffeatures%2Fpersonalization%2Fall-elements%2Fall-elements2.json--default' }, + tags: '@all-elements1 @smoke @regression @milo ', + }, + { + tcid: '2', + name: '@verify the #_include-fragments flag', + desc: 'the #_include-fragments flag should search within fragments', + path: '/drafts/nala/features/personalization/all-elements/all-elements3', + data: { defaultURL: '/drafts/nala/features/personalization/all-elements/all-elements3?mep=%2Fdrafts%2Fnala%2Ffeatures%2Fpersonalization%2Fall-elements%2Fall-elements3.json--default' }, + tags: '@all-elements2 @smoke @regression @milo ', + }, + ], +}; diff --git a/nala/features/personalization/all-elements.test.js b/nala/features/personalization/all-elements.test.js new file mode 100644 index 00000000000..c769b4a1926 --- /dev/null +++ b/nala/features/personalization/all-elements.test.js @@ -0,0 +1,87 @@ +// resolves PR 2976 https://github.com/adobecom/milo/pull/2976 +// command to run: npm run nala stage all-elements.test.js + +import { expect, test } from '@playwright/test'; +import { features } from './all-elements.spec.js'; +import TextBlock from '../../blocks/text/text.page.js'; + +let pznUrl; +let defaultUrl; + +const miloLibs = process.env.MILO_LIBS || ''; + +// Test 0 : insertBefore and insertAfter should work with fragment selectors +test(`${features[0].name},${features[0].tags}`, async ({ page, baseURL }) => { + pznUrl = `${baseURL}${features[0].path}${miloLibs}`; + defaultUrl = `${baseURL}${features[0].data.defaultURL}${miloLibs}`; + const linkToAdobe = page.locator('a[href="https://www.adobe.com/"]'); + const linkToAcrobat = page.locator('a[href="https://acrobat.adobe.com/"]'); + const insertionBeforeRegularFragment = page.locator("[data-manifest-id='all-elements.json'] + div:has([data-path*='repeated-fragment'])"); + const insertionAfterRegularFragment = page.locator("div div:has([data-path*='repeat-fragment']) + [data-manifest-id='all-elements.json']"); + + await test.step('step-1: Verify default test page', async () => { + console.info(`[Test Page]: ${defaultUrl}`); + await page.goto(defaultUrl); + await expect(linkToAdobe).toHaveCount(0); + await expect(linkToAcrobat).toHaveCount(0); + }); + + await test.step('step-2: Verify insertAfter and insertBefore with fragments', async () => { + console.info(`[Test Page]: ${pznUrl}`); + await page.goto(pznUrl); + await expect(linkToAdobe).toHaveCount(6); + await expect(linkToAcrobat).toHaveCount(2); + await expect(insertionBeforeRegularFragment).toHaveCount(3); + await expect(insertionAfterRegularFragment).toHaveCount(3); + }); +}); + +// Test 1 : #_all flag should change all matching elements +test(`${features[1].name},${features[1].tags}`, async ({ page, baseURL }) => { + pznUrl = `${baseURL}${features[1].path}${miloLibs}`; + defaultUrl = `${baseURL}${features[1].data.defaultURL}${miloLibs}`; + const textBlock0 = new TextBlock(page, 0); + const textBlock1 = new TextBlock(page, 1); + const textBlock2 = new TextBlock(page, 2); + + await test.step('step-1: Verify default test page', async () => { + console.info(`[Test Page]: ${defaultUrl}`); + await page.goto(defaultUrl); + await expect(textBlock0.introHeadlineAlt).toHaveText('Text (intro)'); + await expect(textBlock1.introHeadlineAlt).toHaveText('Text (intro)'); + await expect(textBlock2.introHeadlineAlt).toHaveText('Text (intro)'); + }); + + await test.step('step-2: Verify the new heading in the personalized page', async () => { + console.info(`[Test Page]: ${pznUrl}`); + await page.goto(pznUrl); + await expect(textBlock0.introHeadlineAlt).toHaveText('THIS IS A NEW HEADING'); + await expect(textBlock1.introHeadlineAlt).toHaveText('THIS IS A NEW HEADING'); + await expect(textBlock2.introHeadlineAlt).toHaveText('THIS IS A NEW HEADING'); + }); +}); + +// Test 2 : #_include-fragments should search within fragments +test(`${features[2].name},${features[2].tags}`, async ({ page, baseURL }) => { + pznUrl = `${baseURL}${features[2].path}${miloLibs}`; + defaultUrl = `${baseURL}${features[2].data.defaultURL}${miloLibs}`; + const textBlock0 = new TextBlock(page, 0); + const textBlock1 = new TextBlock(page, 1); + const textBlock2 = new TextBlock(page, 2); + + await test.step('step-1: Verify default test page', async () => { + console.info(`[Test Page]: ${defaultUrl}`); + await page.goto(defaultUrl); + await expect(textBlock0.introHeadlineAlt).toHaveText('This is an inline fragment!'); + await expect(textBlock1.introHeadlineAlt).toHaveText('This is an ordinary fragment'); + await expect(textBlock2.introHeadlineAlt).toHaveText('This is an ordinary fragment'); + }); + + await test.step('step-2: Verify the new heading in the personalized page', async () => { + console.info(`[Test Page]: ${pznUrl}`); + await page.goto(pznUrl); + await expect(textBlock0.introHeadlineAlt).toHaveText('NEW HEADING!'); + await expect(textBlock1.introHeadlineAlt).toHaveText('NEW HEADING!'); + await expect(textBlock2.introHeadlineAlt).toHaveText('NEW HEADING!'); + }); +}); From c5e7bdbab9e734e0845c89886b6152c6746d11c4 Mon Sep 17 00:00:00 2001 From: Bozo Jovicic <37440641+bozojovicic@users.noreply.github.com> Date: Fri, 21 Mar 2025 02:13:51 +0100 Subject: [PATCH 02/51] MWPW-166076 and MWPW-168450 business/education plans page URLs to point to CME-1 M7 (#3723) * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * Trigger Build * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * Trigger Build * MWPW-168450 EDU plans page CTAs to point to CME-1 M7 EDU * Trigger Build * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * Trigger Build * Trigger Build * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * Trigger Build * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * Trigger Build * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * Trigger Build * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page * Trigger Build --------- Co-authored-by: Bozo Jovicic --- libs/blocks/m7/m7.js | 42 +++++++++++ libs/blocks/mas-autoblock/mas-autoblock.css | 0 libs/utils/utils.js | 5 +- test/blocks/m7/m7.test.js | 83 +++++++++++++++++++++ 4 files changed, 129 insertions(+), 1 deletion(-) create mode 100644 libs/blocks/m7/m7.js delete mode 100644 libs/blocks/mas-autoblock/mas-autoblock.css create mode 100644 test/blocks/m7/m7.test.js diff --git a/libs/blocks/m7/m7.js b/libs/blocks/m7/m7.js new file mode 100644 index 00000000000..895587c8791 --- /dev/null +++ b/libs/blocks/m7/m7.js @@ -0,0 +1,42 @@ +import { getConfig, getMetadata } from '../../utils/utils.js'; +import { getMiloLocaleSettings } from '../merch/merch.js'; + +async function getImsCountry() { + if (window.adobeIMS?.isSignedInUser()) { + const profile = await window.adobeIMS.getProfile(); + return profile.countryCode; + } + + return null; +} + +export async function generateM7Link(href) { + const paCode = getMetadata('m7-pa-code'); + if (!paCode || (!href.includes('/creativecloud/business-plans') && !href.includes('/creativecloud/education-plans'))) return href; + + const imsCountry = await getImsCountry(); + const { locale } = getConfig(); + const country = imsCountry || getMiloLocaleSettings(locale).country || 'US'; + + const m7link = new URL('https://commerce.adobe.com/store/segmentation?cli=creative&cs=t'); + m7link.searchParams.append('co', country); + m7link.searchParams.append('pa', paCode); + if (href.includes('/creativecloud/education-plans')) { + m7link.searchParams.append('ms', 'EDU'); + } + return m7link.toString(); +} + +export default async function init(el) { + try { + if (window.adobeIMS?.initialized) { + el.href = await generateM7Link(el.href); + } else { + window.addEventListener('onImsLibInstance', async () => { + el.href = await generateM7Link(el.href); + }); + } + } catch (e) { + window.lana.log(`Cannot generate M7 URL. ${e}`, { tags: 'm7', errorType: 'i' }); + } +} diff --git a/libs/blocks/mas-autoblock/mas-autoblock.css b/libs/blocks/mas-autoblock/mas-autoblock.css deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/libs/utils/utils.js b/libs/utils/utils.js index 0bac53b77eb..6ac06484115 100644 --- a/libs/utils/utils.js +++ b/libs/utils/utils.js @@ -44,6 +44,7 @@ const MILO_BLOCKS = [ 'instagram', 'locui', 'locui-create', + 'm7', 'marketo', 'marquee', 'marquee-anchors', @@ -109,7 +110,9 @@ const AUTO_BLOCKS = [ { 'pdf-viewer': '.pdf', styles: false }, { video: '.mp4' }, { merch: '/tools/ost?' }, - { 'mas-autoblock': 'mas.adobe.com/studio' }, + { 'mas-autoblock': 'mas.adobe.com/studio', styles: false }, + { m7: '/creativecloud/business-plans.html', styles: false }, + { m7: '/creativecloud/education-plans.html', styles: false }, ]; const DO_NOT_INLINE = [ 'accordion', diff --git a/test/blocks/m7/m7.test.js b/test/blocks/m7/m7.test.js new file mode 100644 index 00000000000..eeefc8abf59 --- /dev/null +++ b/test/blocks/m7/m7.test.js @@ -0,0 +1,83 @@ +import { expect } from '@esm-bundle/chai'; +import sinon from 'sinon'; +import init, { generateM7Link } from '../../../libs/blocks/m7/m7.js'; + +describe('m7business autoblock', () => { + before(async () => { + window.lana = { log: sinon.stub() }; + }); + + beforeEach(() => { + document.head.innerHTML = ''; + }); + + it('Converts business plans link to M7 link no meta m7-pa-code', async () => { + const buIms = window.adobeIMS; + window.adobeIMS = { initialized: true, getProfile: () => {}, isSignedInUser: () => false }; + const a = document.createElement('a'); + a.setAttribute('href', 'https://www.adobe.com/creativecloud/business-plans.html'); + await init(a); + expect(a.href).to.equal('https://www.adobe.com/creativecloud/business-plans.html'); + window.adobeIMS = buIms; + }); + + it('Converts business plans link to M7 link', async () => { + document.head.innerHTML = ''; + const buIms = window.adobeIMS; + window.adobeIMS = { initialized: true, getProfile: () => {}, isSignedInUser: () => false }; + const a = document.createElement('a'); + a.setAttribute('href', 'https://www.adobe.com/creativecloud/business-plans.html'); + await init(a); + expect(a.href).to.equal('https://commerce.adobe.com/store/segmentation?cli=creative&cs=t&co=US&pa=ccsn_direct_individual'); + window.adobeIMS = buIms; + }); + + it('Converts education plans link to M7 link', async () => { + document.head.innerHTML = ''; + const buIms = window.adobeIMS; + window.adobeIMS = { initialized: true, getProfile: () => {}, isSignedInUser: () => false }; + const a = document.createElement('a'); + a.setAttribute('href', 'https://www.adobe.com/creativecloud/education-plans.html'); + await init(a); + expect(a.href).to.equal('https://commerce.adobe.com/store/segmentation?cli=creative&cs=t&co=US&pa=ccsn_direct_individual&ms=EDU'); + window.adobeIMS = buIms; + }); + + it('Handles the errors gracefully', async () => { + document.head.innerHTML = ''; + const buIms = window.adobeIMS; + window.adobeIMS = { initialized: true, getProfile: () => {}, isSignedInUser: () => false }; + const element = { href: null }; + await init(element); + expect(element).to.exist; + expect(element.href).to.be.null; + expect(window.lana.log.calledOnce).to.be.true; + expect(window.lana.log.calledWith('Cannot generate M7 URL. TypeError: Cannot read properties of null (reading \'includes\')')).to.be.true; + window.adobeIMS = buIms; + }); + + it('Converts business plans link to M7 link for signed in user', async () => { + document.head.innerHTML = ''; + const buIms = window.adobeIMS; + const profile = { countryCode: 'CH' }; + window.adobeIMS = { initialized: true, getProfile: () => profile, isSignedInUser: () => true }; + const m7Link = await generateM7Link('/creativecloud/business-plans'); + expect(m7Link).to.equal('https://commerce.adobe.com/store/segmentation?cli=creative&cs=t&co=CH&pa=ccsn_direct_individual'); + window.adobeIMS = buIms; + }); + + it('Converts business plans link to M7 link for signed in user - IMS not ready', async () => { + document.head.innerHTML = ''; + const buIms = window.adobeIMS; + const profile = { countryCode: 'CH' }; + window.adobeIMS = { initialized: false, getProfile: () => profile, isSignedInUser: () => true }; + const a = document.createElement('a'); + a.setAttribute('href', 'https://www.adobe.com/creativecloud/business-plans.html'); + setTimeout(() => { + window.dispatchEvent(new window.CustomEvent('getImsLibInstance')); + expect(a.href).to.equal('https://commerce.adobe.com/store/segmentation?cli=creative&cs=t&co=US&pa=ccsn_direct_individual'); + window.adobeIMS = buIms; + }, 100); + await init(a); + }); +}); From 205a539d15d895cc6f14bf956a2417f8a7a38fca Mon Sep 17 00:00:00 2001 From: Prince Patel Date: Fri, 21 Mar 2025 06:43:58 +0530 Subject: [PATCH 03/51] Tooltips are hidden while hovering over top four icons on Safari browser. (#3815) * replace overflow x with contain layout * add a fix for breaking mobile gnav * move fix to existing media block * add clip to feds-nav-wrapper * shift clip on submenu open --- libs/blocks/global-navigation/global-navigation.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libs/blocks/global-navigation/global-navigation.css b/libs/blocks/global-navigation/global-navigation.css index eaf5503dd48..8de181cb5e3 100644 --- a/libs/blocks/global-navigation/global-navigation.css +++ b/libs/blocks/global-navigation/global-navigation.css @@ -34,7 +34,6 @@ header.global-navigation { z-index: 10; background-color: var(--feds-background-nav); box-sizing: content-box; - overflow-x: clip; } .feds-topnav-wrapper { @@ -521,6 +520,10 @@ header.global-navigation { /* Desktop styles */ @media (min-width: 900px) { + header.global-navigation { + contain: layout; + } + /* General */ .global-navigation.has-breadcrumbs { padding-bottom: var(--feds-height-breadcrumbs); @@ -798,6 +801,14 @@ header.new-nav .feds-nav-wrapper { visibility: hidden; } +header.new-nav .feds-nav-wrapper:not(:has(.feds-dropdown--active)) { + overflow-x: clip; +} + +header.new-nav.global-navigation:has(.feds-dropdown--active) { + overflow-x: clip; +} + [dir = "rtl"] header.new-nav .feds-nav-wrapper { translate: 200vw 0; } From 80c9970d8521014c9285d08ad9afc1e7c957e920 Mon Sep 17 00:00:00 2001 From: Ratko Zagorac <90400759+zagi25@users.noreply.github.com> Date: Fri, 21 Mar 2025 02:14:05 +0100 Subject: [PATCH 04/51] MWPW-169072: Handle messages from iframe (#3816) * MWPW-169072: Handle messages from iframe * MWPW-169072: Add manage-plan-cancel style * MWPW-169072: PR update * MWPW-169072: Add lana log in catch --- libs/blocks/iframe/iframe.js | 44 ++++++++++++++++++++++++++++--- libs/blocks/modal/modal.css | 8 +++++- libs/blocks/modal/modal.js | 1 + test/blocks/iframe/iframe.test.js | 44 +++++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 4 deletions(-) diff --git a/libs/blocks/iframe/iframe.js b/libs/blocks/iframe/iframe.js index b24fd057ba6..1f9b4f61ba3 100644 --- a/libs/blocks/iframe/iframe.js +++ b/libs/blocks/iframe/iframe.js @@ -1,13 +1,51 @@ import { createTag } from '../../utils/utils.js'; +const ALLOWED_MESSAGE_ORIGINS = [ + 'https://stage.plan.adobe.com', + 'https://plan.adobe.com', +]; + +function handleManagePlanEvents(message) { + const { subType, data } = message; + switch (subType) { + case 'EXTERNAL': + if (!data?.externalUrl || !data?.target) return; + window.open(data.externalUrl, data.target); + break; + case 'SWITCH': + if (!data?.externalUrl || !data?.target) return; + window.open(data.externalUrl, data.target); + break; + case 'Close': + document.querySelector('.dialog-modal')?.dispatchEvent(new Event('iframe:modal:closed')); + break; + default: + break; + } +} + +export function handleIFrameEvents({ data }) { + try { + const parsedMsg = JSON.parse(data); + if (parsedMsg.app === 'ManagePlan') handleManagePlanEvents(parsedMsg); + } catch (error) { + window.lana?.log(`Error while attempting to parse JSON from an iframe message: ${error}`); + } +} + export default function init(el) { - const url = el.href ?? el.querySelector('a')?.href; + const linkHref = el.href ?? el.querySelector('a')?.href; el.classList.remove('iframe'); const classes = [...el.classList].join(' '); - if (!url) return; + if (!linkHref) return; + const url = new URL(linkHref); + + if (ALLOWED_MESSAGE_ORIGINS.includes(url.origin) || window.location.origin === url.origin) { + window.addEventListener('message', handleIFrameEvents); + } - const iframe = createTag('iframe', { src: url, allowfullscreen: true }); + const iframe = createTag('iframe', { src: linkHref, allowfullscreen: true }); const embed = createTag('div', { class: `milo-iframe ${classes}` }, iframe); el.insertAdjacentElement('afterend', embed); diff --git a/libs/blocks/modal/modal.css b/libs/blocks/modal/modal.css index 7a019560f71..16e3a14bb24 100644 --- a/libs/blocks/modal/modal.css +++ b/libs/blocks/modal/modal.css @@ -30,7 +30,8 @@ overflow: hidden; } -.upgrade-flow-modal .dialog-close { +.upgrade-flow-modal .dialog-close, +.dialog-modal.hide-close-button .dialog-close { display: none; } @@ -388,6 +389,11 @@ .dialog-modal.tall-video .milo-video { --modal-width-var: 35vw; } + + .dialog-modal.manage-plan-cancel { + max-width: 100%; + width: 1280px; + } } @media (min-width: 1200px) and (orientation: landscape) { diff --git a/libs/blocks/modal/modal.js b/libs/blocks/modal/modal.js index 2e95a2f60be..d6979fbeb2a 100644 --- a/libs/blocks/modal/modal.js +++ b/libs/blocks/modal/modal.js @@ -211,6 +211,7 @@ export async function getModal(details, custom) { with the `commerce-frame` or `dynamic-height` classes */ iframe.style.height = '100%'; } + if (!custom?.closeEvent) dialog.addEventListener('iframe:modal:closed', () => closeModal(dialog)); } return dialog; diff --git a/test/blocks/iframe/iframe.test.js b/test/blocks/iframe/iframe.test.js index 2b0b0465e7f..c041197de68 100644 --- a/test/blocks/iframe/iframe.test.js +++ b/test/blocks/iframe/iframe.test.js @@ -1,7 +1,10 @@ import { expect } from '@esm-bundle/chai'; +import sinon from 'sinon'; import { setConfig } from '../../../libs/utils/utils.js'; +import { handleIFrameEvents } from '../../../libs/blocks/iframe/iframe.js'; const { default: init } = await import('../../../libs/blocks/iframe/iframe.js'); + const emptyHTML = '
'; const blockHTML = `
@@ -45,4 +48,45 @@ describe('iframe', () => { expect(document.querySelector('.additional')).to.exist; }); + describe('handleIFrameEvents', () => { + const originalOpen = window.open; + beforeEach(async () => { + window.open = sinon.stub(window, 'open'); + }); + afterEach(() => { + window.open = originalOpen; + }); + it('should open external url if Type External', async () => { + const message = { data: '{"app":"ManagePlan","subType":"EXTERNAL","data":{"externalUrl":"https://www.example.com","target":"_blank"}}' }; + handleIFrameEvents(message); + expect(window.open.calledOnceWith('https://www.example.com', '_blank')).to.be.true; + }); + + it('should open external url if Type SWITCH', async () => { + const message = { data: '{"app":"ManagePlan","subType":"SWITCH","data":{"externalUrl":"https://www.example.com","target":"_self"}}' }; + handleIFrameEvents(message); + expect(window.open.calledOnceWith('https://www.example.com', '_self')).to.be.true; + }); + + it('should emit close event on modal if Type Close', async () => { + const dialog = document.createElement('div'); + dialog.classList.add('dialog-modal'); + document.body.appendChild(dialog); + const dispatchSpy = sinon.spy(dialog, 'dispatchEvent'); + const message = { data: '{"app":"ManagePlan","subType":"Close"}' }; + handleIFrameEvents(message); + expect(dispatchSpy.calledOnce).to.be.true; + }); + + [ + [{ data: {} }, 'should do nothing if message is not parseble'], + [{ data: '{"app":"ManagePlan","subType":"Invalid","data":{"actionRequired":false}}' }, 'should do nothing if message type is not valid'], + [{ data: '{"app":"ManagePlan","subType":"Error","data":{"actionRequired":false}}' }, 'should do nothing if message type is error'], + ].forEach(([message, desc]) => { + it(desc, () => { + expect(() => { handleIFrameEvents(message); }).not.to.throw(); + expect(window.open.calledOnce).to.be.false; + }); + }); + }); }); From d29d1fa457fa183a31f3cea3c2186bda54f68745 Mon Sep 17 00:00:00 2001 From: Megan Thomas Date: Thu, 20 Mar 2025 18:14:13 -0700 Subject: [PATCH 05/51] MWPW-165253 Update invalid lana tag (#3810) * MWPW-165253 Update invalid lana tag * add page url * Revert "add page url" This reverts commit 5215b60e0cc3b0626cf8a3d747468ef5efbf61aa. --- libs/blocks/article-header/article-header.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/blocks/article-header/article-header.js b/libs/blocks/article-header/article-header.js index 9a112e10b84..f418354e2a4 100644 --- a/libs/blocks/article-header/article-header.js +++ b/libs/blocks/article-header/article-header.js @@ -9,7 +9,7 @@ async function validateAuthorUrl(url) { const resp = await fetch(`${url.toLowerCase()}.plain.html`); if (!resp?.ok) { /* c8 ignore next 3 */ - window.lana?.log(`Could not retrieve metadata for ${url}`, { tags: 'errorType=warn,module=article-header' }); + window.lana?.log(`Could not retrieve metadata for ${url}`, { tags: 'article-header' }); return null; } From 8a42c76ff57550d220a61a79d1036fbbcb62023a Mon Sep 17 00:00:00 2001 From: Bandana Laishram Date: Fri, 21 Mar 2025 06:44:20 +0530 Subject: [PATCH 06/51] Adding support to allow standalone Gnav client to Integrate their own Unav (#3818) * Adding self unav integration option * Adding self unav integration option --- libs/blocks/global-navigation/global-navigation.js | 1 + libs/navigation/navigation.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/blocks/global-navigation/global-navigation.js b/libs/blocks/global-navigation/global-navigation.js index 621a9f2a6ca..6c3407bf8f7 100644 --- a/libs/blocks/global-navigation/global-navigation.js +++ b/libs/blocks/global-navigation/global-navigation.js @@ -429,6 +429,7 @@ class Gnav { ${getMetadata('product-entry-cta')?.toLowerCase() === 'on' ? this.decorateProductEntryCTA() : ''} ${getConfig().searchEnabled === 'on' ? toFragment`` : ''} ${this.useUniversalNav ? this.blocks.universalNav : ''} + ${getConfig().selfIntegrateUnav ? toFragment`
` : ''} ${(!this.useUniversalNav && this.blocks.profile.rawElem) ? this.blocks.profile.decoratedElem : ''} ${this.decorateLogo()} diff --git a/libs/navigation/navigation.js b/libs/navigation/navigation.js index 6acfac6eba8..183b2619ea7 100644 --- a/libs/navigation/navigation.js +++ b/libs/navigation/navigation.js @@ -6,7 +6,7 @@ const blockConfig = [ name: 'global-navigation', targetEl: 'header', appendType: 'prepend', - params: ['imsClientId', 'searchEnabled', 'unav', 'customLinks', 'jarvis'], + params: ['imsClientId', 'searchEnabled', 'unav', 'customLinks', 'jarvis', 'selfIntegrateUnav'], }, { key: 'footer', @@ -149,7 +149,7 @@ export default async function loadBlock(configs, customLib) { await bootstrapBlock(init, { ...block, gnavSource, - unavComponents: configBlock.unav?.unavComponents, + unavComponents: configBlock.selfIntegrateUnav ? [] : configBlock.unav?.unavComponents, redirect: configBlock.redirect, layout: configBlock.layout, noBorder: configBlock.noBorder, From 32b0ff74599eeae4c9e1a0fdf13fb6338576a71c Mon Sep 17 00:00:00 2001 From: Robert Bogos <146744221+robert-bogos@users.noreply.github.com> Date: Fri, 21 Mar 2025 03:14:29 +0200 Subject: [PATCH 07/51] [MWPW-169501] SEO- Fixed Lorem ipsum check on Preflight (#3820) fixed preflight seo lorem ipsum check --- libs/blocks/preflight/panels/seo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/blocks/preflight/panels/seo.js b/libs/blocks/preflight/panels/seo.js index f5c266b62e8..92c752e2e62 100644 --- a/libs/blocks/preflight/panels/seo.js +++ b/libs/blocks/preflight/panels/seo.js @@ -128,7 +128,7 @@ async function checkLorem() { const result = { ...loremResult.value }; const { innerHTML } = document.documentElement; const htmlWithoutPreflight = innerHTML.replace(document.getElementById('preflight')?.outerHTML, ''); - if (htmlWithoutPreflight.includes('Lorem ipsum')) { + if (htmlWithoutPreflight.toLowerCase().includes('lorem ipsum')) { result.icon = fail; result.description = 'Reason: Lorem ipsum is used on the page.'; } else { From 9e331ffd7b4300a34d95a62f7601016deba1d9e1 Mon Sep 17 00:00:00 2001 From: Okan Sahin <39759830+mokimo@users.noreply.github.com> Date: Fri, 21 Mar 2025 11:13:46 +0100 Subject: [PATCH 08/51] Harden Github Action security by pinning to commit SHAs (versions) (#3830) * Remove versions * Add workflow README * Small wording improvements * Update readme with example to the PR --- .github/workflows/README.md | 5 +++++ .github/workflows/code-compatibility.yaml | 2 +- .github/workflows/codeql.yml | 8 ++++---- .github/workflows/dispatch.yml | 6 +++--- .github/workflows/fg-sync-repos.yml | 4 ++-- .github/workflows/high-impact-alert.yml | 4 ++-- .github/workflows/label-zero-impact.yaml | 4 ++-- .github/workflows/mark-stale-prs.yaml | 2 +- .github/workflows/merge-to-main.yaml | 6 +++--- .github/workflows/merge-to-stage.yaml | 6 +++--- .github/workflows/pr-reminders.yaml | 4 ++-- .github/workflows/rcp-notifier.yml | 4 ++-- .github/workflows/release-standalone-feds.yml | 4 ++-- .github/workflows/run-lint.yaml | 6 +++--- .github/workflows/run-mas-tests.yaml | 6 +++--- .github/workflows/run-nala-default.yml | 4 ++-- .github/workflows/run-nala-milolibs.yaml | 4 ++-- .github/workflows/run-nala.yml | 2 +- .github/workflows/run-tests.yaml | 6 +++--- .github/workflows/servicenow.yaml | 4 ++-- .github/workflows/update-dependencies.yaml | 6 +++--- 21 files changed, 51 insertions(+), 46 deletions(-) create mode 100644 .github/workflows/README.md diff --git a/.github/workflows/README.md b/.github/workflows/README.md new file mode 100644 index 00000000000..ea469955cbb --- /dev/null +++ b/.github/workflows/README.md @@ -0,0 +1,5 @@ +### Description +Based on the [Github security guidance](https://docs.github.com/en/actions/security-for-github-actions/security-guides/security-hardening-for-github-actions#using-third-party-actions) we pinned actions to a full length commit SHA's rather than tags, which are more common. +In order to upgrade an action, simply go to the Github repo such as: https://github.com/actions/checkout/releases - find the latest release and the commit-SHA that is connected to it and replace it for all actions that use the 3rd party package you want to upgrade. This [PR](https://github.com/adobecom/milo/pull/3830) serves as an example where we upgraded multiple 3rd party packages across all actions. + +To QA the change, when you run the action on your own fork, you can simply validate it's still running as expected and manages to download the 3rd party package within the scope of the action. \ No newline at end of file diff --git a/.github/workflows/code-compatibility.yaml b/.github/workflows/code-compatibility.yaml index 9271d7bfd74..b74e963b562 100644 --- a/.github/workflows/code-compatibility.yaml +++ b/.github/workflows/code-compatibility.yaml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Check for unsupported functions run: | diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2ab0be9b4fe..41781708d67 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -34,11 +34,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@6bb031afdd8eb862ea3fc1848194185e076637e5 with: languages: ${{ matrix.language }} config-file: ./.github/codeql/codeql-config.yml @@ -46,7 +46,7 @@ jobs: # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). # If this step fails, then you should remove it and run the build manually (see below) - name: Autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@6bb031afdd8eb862ea3fc1848194185e076637e5 # ℹ️ Command-line programs to run using the OS shell. # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun @@ -59,6 +59,6 @@ jobs: # ./location_of_script_within_repo/buildscript.sh - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@6bb031afdd8eb862ea3fc1848194185e076637e5 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/dispatch.yml b/.github/workflows/dispatch.yml index eb13db1da31..ff4d8da6b52 100644 --- a/.github/workflows/dispatch.yml +++ b/.github/workflows/dispatch.yml @@ -13,8 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out repository - uses: actions/checkout@v4 - - uses: dorny/paths-filter@v3 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 + - uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 id: changes with: base: ${{ github.ref }} @@ -23,7 +23,7 @@ jobs: - 'libs/**' - if: steps.changes.outputs.src == 'true' name: Trigger DC Workflow - uses: actions/github-script@v7 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea with: github-token: ${{ secrets.DC_PAT }} script: | diff --git a/.github/workflows/fg-sync-repos.yml b/.github/workflows/fg-sync-repos.yml index 454fad62bc8..4326e9e27a6 100644 --- a/.github/workflows/fg-sync-repos.yml +++ b/.github/workflows/fg-sync-repos.yml @@ -22,7 +22,7 @@ jobs: steps: - name: Generate a token id: generate_token - uses: actions/create-github-app-token@v1 + uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e with: app-id: ${{ secrets.FG_SYNC_APP_ID }} private-key: ${{ secrets.FG_SYNC_APP_PRIVATE_KEY }} @@ -30,7 +30,7 @@ jobs: repositories: "milo-pink" - name: Checkout Repo - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: persist-credentials: false ref: ${{ inputs.syncBranch || github.ref_name }} diff --git a/.github/workflows/high-impact-alert.yml b/.github/workflows/high-impact-alert.yml index 3c3ea56f2d6..3b7a94c01ff 100644 --- a/.github/workflows/high-impact-alert.yml +++ b/.github/workflows/high-impact-alert.yml @@ -15,12 +15,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: ref: ${{ github.event.pull_request.base.ref }} - name: Send Slack message for high impact PRs - uses: actions/github-script@v7 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea with: script: | const main = require('./.github/workflows/high-impact-alert.js') diff --git a/.github/workflows/label-zero-impact.yaml b/.github/workflows/label-zero-impact.yaml index ee7a4322a80..971202778ed 100644 --- a/.github/workflows/label-zero-impact.yaml +++ b/.github/workflows/label-zero-impact.yaml @@ -10,10 +10,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Add the zero impact label - uses: actions/github-script@v7 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea with: script: | const main = require('./.github/workflows/label-zero-impact.js') diff --git a/.github/workflows/mark-stale-prs.yaml b/.github/workflows/mark-stale-prs.yaml index 788f30eaf7c..6cf2e3599f9 100644 --- a/.github/workflows/mark-stale-prs.yaml +++ b/.github/workflows/mark-stale-prs.yaml @@ -9,7 +9,7 @@ jobs: if: github.repository_owner == 'adobecom' runs-on: ubuntu-latest steps: - - uses: actions/stale@v9 + - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 with: repo-token: ${{ secrets.GITHUB_TOKEN }} stale-pr-message: 'This PR has not been updated recently and will be closed in 7 days if no action is taken. Please ensure all checks are passing, https://github.com/orgs/adobecom/discussions/997 provides instructions. If the PR is ready to be merged, please mark it with the "Ready for Stage" label.' diff --git a/.github/workflows/merge-to-main.yaml b/.github/workflows/merge-to-main.yaml index 9800b0435a7..cd2e71cbf30 100644 --- a/.github/workflows/merge-to-main.yaml +++ b/.github/workflows/merge-to-main.yaml @@ -20,17 +20,17 @@ jobs: if: github.repository_owner == 'adobecom' && (github.event_name == 'workflow_dispatch' || github.event_name == 'schedule' || (github.event_name == 'pull_request' && github.event.pull_request.base.ref == 'main' && github.event.pull_request.head.ref == 'stage')) steps: - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e id: milo-pr-merge-token with: app-id: ${{ secrets.MILO_PR_MERGE_APP_ID }} private-key: ${{ secrets.MILO_PR_MERGE_PRIVATE_KEY }} - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Merge to main - uses: actions/github-script@v7 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea with: github-token: ${{ steps.milo-pr-merge-token.outputs.token }} script: | diff --git a/.github/workflows/merge-to-stage.yaml b/.github/workflows/merge-to-stage.yaml index ee491407eba..e320dc5e6c1 100644 --- a/.github/workflows/merge-to-stage.yaml +++ b/.github/workflows/merge-to-stage.yaml @@ -22,17 +22,17 @@ jobs: environment: milo_pr_merge steps: - - uses: actions/create-github-app-token@v1 + - uses: actions/create-github-app-token@21cfef2b496dd8ef5b904c159339626a10ad380e id: milo-pr-merge-token with: app-id: ${{ secrets.MILO_PR_MERGE_APP_ID }} private-key: ${{ secrets.MILO_PR_MERGE_PRIVATE_KEY }} - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Merge to stage or queue to merge - uses: actions/github-script@v7 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea with: github-token: ${{ steps.milo-pr-merge-token.outputs.token }} script: | diff --git a/.github/workflows/pr-reminders.yaml b/.github/workflows/pr-reminders.yaml index 51d7e0c16ad..df8f443bef1 100644 --- a/.github/workflows/pr-reminders.yaml +++ b/.github/workflows/pr-reminders.yaml @@ -12,10 +12,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Remind PR initiators - uses: actions/github-script@v7 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea with: script: | const main = require('./.github/workflows/pr-reminders.js') diff --git a/.github/workflows/rcp-notifier.yml b/.github/workflows/rcp-notifier.yml index e9bbae768d7..dedca2af985 100644 --- a/.github/workflows/rcp-notifier.yml +++ b/.github/workflows/rcp-notifier.yml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Create RCP Notification - uses: actions/github-script@v7 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea with: script: | const main = require('./.github/workflows/rcp-notifier.js') diff --git a/.github/workflows/release-standalone-feds.yml b/.github/workflows/release-standalone-feds.yml index 89a11a1886c..dc24f727690 100644 --- a/.github/workflows/release-standalone-feds.yml +++ b/.github/workflows/release-standalone-feds.yml @@ -22,12 +22,12 @@ jobs: working-directory: ./libs/navigation steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 2 - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/run-lint.yaml b/.github/workflows/run-lint.yaml index 25d9185cf50..014bfcb55e3 100644 --- a/.github/workflows/run-lint.yaml +++ b/.github/workflows/run-lint.yaml @@ -10,9 +10,9 @@ jobs: name: Running eslint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - - uses: actions/setup-node@v4 + - uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e with: node-version: 20 @@ -20,7 +20,7 @@ jobs: run: npm ci - name: Run eslint on changed files - uses: tj-actions/eslint-changed-files@v25 + uses: tj-actions/eslint-changed-files@74f98653675512158746d3136cd2d9326fbfb6e1 with: config_path: ".eslintrc.js" # ignore_path: "/path/to/.eslintignore" diff --git a/.github/workflows/run-mas-tests.yaml b/.github/workflows/run-mas-tests.yaml index f74831c228a..e427128b2f1 100644 --- a/.github/workflows/run-mas-tests.yaml +++ b/.github/workflows/run-mas-tests.yaml @@ -14,12 +14,12 @@ jobs: node-version: [20.x] steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 2 - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e with: node-version: ${{ matrix.node-version }} @@ -32,7 +32,7 @@ jobs: working-directory: libs/features/mas - name: Upload commerce coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 with: name: mas token: ${{ secrets.CODECOV_TOKEN }} diff --git a/.github/workflows/run-nala-default.yml b/.github/workflows/run-nala-default.yml index 40bbdd24af4..2e62b9de910 100644 --- a/.github/workflows/run-nala-default.yml +++ b/.github/workflows/run-nala-default.yml @@ -22,12 +22,12 @@ jobs: node-version: [20.x] steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 2 - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e with: node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/run-nala-milolibs.yaml b/.github/workflows/run-nala-milolibs.yaml index eb159474935..c6258b42bd7 100644 --- a/.github/workflows/run-nala-milolibs.yaml +++ b/.github/workflows/run-nala-milolibs.yaml @@ -30,7 +30,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Set environment variables run: | @@ -46,7 +46,7 @@ jobs: HLX_TKN: ${{ secrets.HLX_TKN }} SLACK_WH: ${{ secrets.SLACK_WH }} - name: Persist JSON Artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 if: always() with: name: nala-results diff --git a/.github/workflows/run-nala.yml b/.github/workflows/run-nala.yml index 286b7df3c97..eca2c6b2924 100644 --- a/.github/workflows/run-nala.yml +++ b/.github/workflows/run-nala.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Check out repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Run Nala Tests (Consuming Apps) uses: adobecom/nala@main # Change if doing dev work env: diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index 7e10dacdb36..0fe822c35e8 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -14,12 +14,12 @@ jobs: node-version: [20.x] steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 with: fetch-depth: 2 - name: Set up Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v4 + uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e with: node-version: ${{ matrix.node-version }} cache: 'npm' @@ -31,7 +31,7 @@ jobs: run: npm test - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 with: token: ${{ secrets.CODECOV_TOKEN }} files: coverage/lcov.info diff --git a/.github/workflows/servicenow.yaml b/.github/workflows/servicenow.yaml index 0ca4f8724d7..241fe5fa9ab 100644 --- a/.github/workflows/servicenow.yaml +++ b/.github/workflows/servicenow.yaml @@ -31,9 +31,9 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Set up Python 3.x, latest minor release - uses: actions/setup-python@v5 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 with: python-version: "3.x" - name: Install dependencies diff --git a/.github/workflows/update-dependencies.yaml b/.github/workflows/update-dependencies.yaml index 0e7cfe7f599..e59b760882f 100644 --- a/.github/workflows/update-dependencies.yaml +++ b/.github/workflows/update-dependencies.yaml @@ -11,10 +11,10 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - name: Update ims lib and create PR if needed - uses: actions/github-script@v7 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea with: script: | const updateDependency = require('./.github/workflows/update-script.js') @@ -27,7 +27,7 @@ jobs: scriptPath: './libs/deps/imslib.min.js' }) - name: Update forms2 and create PR if needed - uses: actions/github-script@v7 + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea with: script: | const updateDependency = require('./.github/workflows/update-script.js') From ebfe151027cdc6c2273c9d3ec9e1272f5298925b Mon Sep 17 00:00:00 2001 From: Saloni Jain <6162294+salonijain3@users.noreply.github.com> Date: Tue, 25 Mar 2025 15:59:19 +0530 Subject: [PATCH 09/51] Revert "Tooltips are hidden while hovering over top four icons on Safari browser." (#3856) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Revert "Tooltips are hidden while hovering over top four icons on Safari brow…" This reverts commit 205a539d15d895cc6f14bf956a2417f8a7a38fca. --- libs/blocks/global-navigation/global-navigation.css | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/libs/blocks/global-navigation/global-navigation.css b/libs/blocks/global-navigation/global-navigation.css index 8de181cb5e3..eaf5503dd48 100644 --- a/libs/blocks/global-navigation/global-navigation.css +++ b/libs/blocks/global-navigation/global-navigation.css @@ -34,6 +34,7 @@ header.global-navigation { z-index: 10; background-color: var(--feds-background-nav); box-sizing: content-box; + overflow-x: clip; } .feds-topnav-wrapper { @@ -520,10 +521,6 @@ header.global-navigation { /* Desktop styles */ @media (min-width: 900px) { - header.global-navigation { - contain: layout; - } - /* General */ .global-navigation.has-breadcrumbs { padding-bottom: var(--feds-height-breadcrumbs); @@ -801,14 +798,6 @@ header.new-nav .feds-nav-wrapper { visibility: hidden; } -header.new-nav .feds-nav-wrapper:not(:has(.feds-dropdown--active)) { - overflow-x: clip; -} - -header.new-nav.global-navigation:has(.feds-dropdown--active) { - overflow-x: clip; -} - [dir = "rtl"] header.new-nav .feds-nav-wrapper { translate: 200vw 0; } From f6ed5dd4206406346cbc83d04b11fd9131bb2154 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ilyas=20T=C3=BCrkben?= Date: Wed, 26 Mar 2025 10:17:38 +0100 Subject: [PATCH 10/51] M@S endpoint change and log/resilience improvements (#3851) * MWPW-169010: MAS resilience & log improvements (#3775) Improve MAS LANA logs Send list of failed requests to Lana in case of MAS error WCS: Fallback to last good response if offer refresh fails. Freyja: Fallback to last good response if fragment refresh fails Fetch: retry failed fetch requests two more times before failing definitely * MWPW-165526: consume new MAS endpoint (#3705) * consume new mas endpoint * update * fix unit tests & address PR comments * fix eslint warning * fix missing mas-commerce-service * fix unit tests * add step-by-step * fix docu * fix galleries * address pr comments * fix nala tests * fix benchmark page * fix safari polyfills * on observability for mas-commerce-service * fix issues&tests * fix studio issue * fix refresh * fix nala test * allow overriding lana-tags on documentation pages for mas --------- Co-authored-by: Mariia Lukianets Co-authored-by: Mariia Lukianets --- .vscode/settings.json | 7 +- libs/blocks/mas-autoblock/mas-autoblock.js | 23 +- libs/deps/mas/commerce.js | 5 +- libs/deps/mas/mas.js | 211 +++--- libs/deps/mas/merch-card-collection.js | 18 +- libs/deps/mas/merch-card.js | 157 ++--- libs/deps/mas/merch-offer-select.js | 10 +- libs/deps/mas/merch-quantity-select.js | 4 +- libs/deps/mas/merch-sidenav.js | 20 +- libs/deps/mas/merch-stock.js | 6 +- libs/deps/mas/merch-subscription-panel.js | 4 +- libs/deps/mas/merch-twp-d2p.js | 12 +- libs/features/mas/dist/mas.js | 211 +++--- libs/features/mas/docs/adobe-home.html | 38 +- libs/features/mas/docs/ccd.html | 166 ++--- libs/features/mas/docs/checkout-button.html | 14 +- libs/features/mas/docs/checkout-link.html | 14 +- libs/features/mas/docs/common.js | 116 +++- libs/features/mas/docs/inline-price.html | 14 +- libs/features/mas/docs/mas-sidenav.js | 1 + libs/features/mas/docs/mas.html | 14 +- libs/features/mas/docs/mas.js.html | 24 +- libs/features/mas/docs/merch-card.html | 219 ++++-- libs/features/mas/docs/plans.html | 14 +- libs/features/mas/docs/src/build-docs.mjs | 22 +- libs/features/mas/docs/src/build-docs.sh | 2 + libs/features/mas/docs/src/ccd.md | 43 ++ libs/features/mas/docs/src/mas.js.md | 11 +- libs/features/mas/docs/src/merch-card.md | 177 +++-- libs/features/mas/docs/src/step-by-step.md | 43 ++ libs/features/mas/docs/step-by-step.html | 78 +++ libs/features/mas/src/aem-fragment.js | 213 +++--- libs/features/mas/src/constants.js | 47 +- libs/features/mas/src/defaults.js | 2 - libs/features/mas/src/hydrate.js | 8 +- libs/features/mas/src/lana.js | 9 +- libs/features/mas/src/log.js | 3 +- libs/features/mas/src/mas-commerce-service.js | 86 ++- libs/features/mas/src/mas-element.js | 88 ++- libs/features/mas/src/mas-error.js | 61 ++ libs/features/mas/src/merch-card.css.js | 4 + libs/features/mas/src/merch-card.js | 117 +++- libs/features/mas/src/merch-offer.js | 4 +- libs/features/mas/src/settings.js | 15 +- .../sidenav/merch-sidenav-checkbox-group.js | 2 +- libs/features/mas/src/utilities.js | 1 + libs/features/mas/src/utils.js | 15 + libs/features/mas/src/utils/README.md | 23 + libs/features/mas/src/utils/mas-fetch.js | 35 + .../mas/src/variants/mini-compare-chart.js | 5 +- libs/features/mas/src/wcs.js | 172 ++--- libs/features/mas/test/aem-fragment.test.html | 30 +- .../mas/test/aem-fragment.test.html.js | 134 ++-- .../features/mas/test/checkout-button.test.js | 25 +- libs/features/mas/test/checkout-link.test.js | 20 +- libs/features/mas/test/hydrate.test.js | 626 ++++++++++++------ libs/features/mas/test/lana.test.js | 4 +- .../mas/test/mas-commerce-service.test.js | 6 +- libs/features/mas/test/mas-fetch.test.js | 159 +++++ .../test/merch-card.mini-compare.test.html.js | 13 +- libs/features/mas/test/mocks/aem.js | 52 +- libs/features/mas/test/mocks/fetch.js | 9 +- .../fragments/fragment-cc-all-apps-badge.json | 188 ------ .../cf/fragments/fragment-cc-all-apps.json | 5 - .../cf/fragments/fragment-photoshop.json | 188 ------ .../sites/fragments/fragment-acrobat.json | 28 + .../fragments/fragment-cc-all-apps2.json | 28 + .../with-wrong-price-and-checkout-osis.json | 28 + libs/features/mas/test/mocks/wcs.js | 21 +- libs/features/mas/test/price.test.js | 18 +- libs/features/mas/test/settings.test.js | 8 +- libs/features/mas/test/wcs.test.js | 54 +- libs/utils/utils.js | 1 + nala/features/mas/docs/masdocs.spec.js | 7 + nala/features/mas/docs/masdocs.test.js | 34 + .../mas-autoblock/mas-autoblock.test.js | 126 ++-- test/blocks/mas-autoblock/mocks/artifact.json | 38 ++ test/blocks/mas-autoblock/mocks/fragment.json | 47 ++ 78 files changed, 2762 insertions(+), 1743 deletions(-) create mode 100644 libs/features/mas/docs/src/ccd.md create mode 100644 libs/features/mas/docs/src/step-by-step.md create mode 100644 libs/features/mas/docs/step-by-step.html create mode 100644 libs/features/mas/src/mas-error.js create mode 100644 libs/features/mas/src/utils/README.md create mode 100644 libs/features/mas/src/utils/mas-fetch.js create mode 100644 libs/features/mas/test/mas-fetch.test.js delete mode 100644 libs/features/mas/test/mocks/sites/cf/fragments/fragment-cc-all-apps-badge.json delete mode 100644 libs/features/mas/test/mocks/sites/cf/fragments/fragment-photoshop.json create mode 100644 libs/features/mas/test/mocks/sites/fragments/fragment-acrobat.json create mode 100644 libs/features/mas/test/mocks/sites/fragments/fragment-cc-all-apps2.json create mode 100644 libs/features/mas/test/mocks/sites/fragments/with-wrong-price-and-checkout-osis.json create mode 100644 test/blocks/mas-autoblock/mocks/artifact.json create mode 100644 test/blocks/mas-autoblock/mocks/fragment.json diff --git a/.vscode/settings.json b/.vscode/settings.json index ce072c82c44..79d1572c676 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,8 @@ { - "editor.tabSize": 2 + "editor.tabSize": 2, + "search.exclude": { + "**/coverage": true, + "**/deps": true, + "**/dist": true + } } diff --git a/libs/blocks/mas-autoblock/mas-autoblock.js b/libs/blocks/mas-autoblock/mas-autoblock.js index def9dd1dec3..de27b46b775 100644 --- a/libs/blocks/mas-autoblock/mas-autoblock.js +++ b/libs/blocks/mas-autoblock/mas-autoblock.js @@ -1,6 +1,10 @@ import { createTag } from '../../utils/utils.js'; import '../../deps/mas/merch-card.js'; import '../../deps/mas/merch-quantity-select.js'; +import { initService } from '../merch/merch.js'; + +const MAS_AUTOBLOCK_TIMEOUT = 5000; +let log; export function getFragmentId(el) { const { hash } = new URL(el.href); @@ -19,10 +23,27 @@ export function getTagName(el) { } export async function createCard(el, fragment) { + // add + const servicePromise = initService(); + const timeoutPromise = new Promise((resolve) => { + setTimeout(() => resolve(false), MAS_AUTOBLOCK_TIMEOUT); + }); + let success = await Promise.race([servicePromise, timeoutPromise]); + if (!success) { + throw new Error('Failed to initialize mas commerce service'); + } + const service = await servicePromise; + log = service.Log.module('merch'); + const aemFragment = createTag('aem-fragment', { fragment }); const merchCard = createTag(getTagName(el), { consonant: '' }, aemFragment); el.replaceWith(merchCard); - await merchCard.checkReady(); + const merchCardPromise = merchCard.checkReady(); + success = await Promise.race([merchCardPromise, timeoutPromise]); + + if (!success) { + log.error('Merch card did not initialize withing give timeout'); + } } export default async function init(el) { diff --git a/libs/deps/mas/commerce.js b/libs/deps/mas/commerce.js index 652805c7496..e04c91c121b 100644 --- a/libs/deps/mas/commerce.js +++ b/libs/deps/mas/commerce.js @@ -1,3 +1,4 @@ -var en=Object.create;var Ke=Object.defineProperty;var tn=Object.getOwnPropertyDescriptor;var rn=Object.getOwnPropertyNames;var nn=Object.getPrototypeOf,an=Object.prototype.hasOwnProperty;var Nr=e=>{throw TypeError(e)};var on=(e,t,r)=>t in e?Ke(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var sn=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),cn=(e,t)=>{for(var r in t)Ke(e,r,{get:t[r],enumerable:!0})},ln=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of rn(t))!an.call(e,n)&&n!==r&&Ke(e,n,{get:()=>t[n],enumerable:!(i=tn(t,n))||i.enumerable});return e};var un=(e,t,r)=>(r=e!=null?en(nn(e)):{},ln(t||!e||!e.__esModule?Ke(r,"default",{value:e,enumerable:!0}):r,e));var b=(e,t,r)=>on(e,typeof t!="symbol"?t+"":t,r),Cr=(e,t,r)=>t.has(e)||Nr("Cannot "+r);var Ye=(e,t,r)=>(Cr(e,t,"read from private field"),r?r.call(e):t.get(e)),Xe=(e,t,r)=>t.has(e)?Nr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Vr=(e,t,r,i)=>(Cr(e,t,"write to private field"),i?i.call(e,r):t.set(e,r),r);var Ki=sn((Mc,To)=>{To.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 dt;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(dt||(dt={}));var R;(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"})(R||(R={}));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 St;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(St||(St={}));var bt;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(bt||(bt={}));var xt;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(xt||(xt={}));var gt;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(gt||(gt={}));var Rr="tacocat.js";var We=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),Or=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function N(e,t={},{metadata:r=!0,search:i=!0,storage:n=!0}={}){let a;if(i&&a==null){let o=new URLSearchParams(window.location.search),s=Te(i)?i:e;a=o.get(s)}if(n&&a==null){let o=Te(n)?n:e;a=window.sessionStorage.getItem(o)??window.localStorage.getItem(o)}if(r&&a==null){let o=hn(Te(r)?r:e);a=document.documentElement.querySelector(`meta[name="${o}"]`)?.content}return a??t[e]}var Ae=()=>{};var kr=e=>typeof e=="boolean",Ne=e=>typeof e=="function",ze=e=>typeof e=="number",wr=e=>e!=null&&typeof e=="object";var Te=e=>typeof e=="string",Lt=e=>Te(e)&&e,Ee=e=>ze(e)&&Number.isFinite(e)&&e>0;function de(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,i])=>{t(i)&&delete e[r]}),e}function g(e,t){if(kr(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function J(e,t,r){let i=Object.values(t);return i.find(n=>We(n,e))??r??i[0]}function hn(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,i)=>`${r}-${i}`).replace(/\W+/gu,"-").toLowerCase()}function Se(e,t=1){return ze(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var fn=Date.now(),yt=()=>`(+${Date.now()-fn}ms)`,je=new Set,mn=g(N("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function Dr(e){let t=`[${Rr}/${e}]`,r=(o,s,...c)=>o?!0:(n(s,...c),!1),i=mn?(o,...s)=>{console.debug(`${t} ${o}`,...s,yt())}:()=>{},n=(o,...s)=>{let c=`${t} ${o}`;je.forEach(([l])=>l(c,...s))};return{assert:r,debug:i,error:n,warn:(o,...s)=>{let c=`${t} ${o}`;je.forEach(([,l])=>l(c,...s))}}}function pn(e,t){let r=[e,t];return je.add(r),()=>{je.delete(r)}}pn((e,...t)=>{console.error(e,...t,yt())},(e,...t)=>{console.warn(e,...t,yt())});var Tn="no promo",Hr="promo-tag",An="yellow",En="neutral",dn=(e,t,r)=>{let i=a=>a||Tn,n=r?` (was "${i(t)}")`:"";return`${i(e)}${n}`},Sn="cancel-context",Ce=(e,t)=>{let r=e===Sn,i=!r&&e?.length>0,n=(i||r)&&(t&&t!=e||!t&&!r),a=n&&i||!n&&!!t,o=a?e||t:void 0;return{effectivePromoCode:o,overridenPromoCode:e,className:a?Hr:`${Hr} no-promo`,text:dn(o,t,n),variant:a?An:En,isOverriden:n}};var Pt="ABM",vt="PUF",It="M2M",_t="PERPETUAL",Nt="P3Y",bn="TAX_INCLUSIVE_DETAILS",xn="TAX_EXCLUSIVE",Mr={ABM:Pt,PUF:vt,M2M:It,PERPETUAL:_t,P3Y:Nt},No={[Pt]:{commitment:R.YEAR,term:_.MONTHLY},[vt]:{commitment:R.YEAR,term:_.ANNUAL},[It]:{commitment:R.MONTH,term:_.MONTHLY},[_t]:{commitment:R.PERPETUAL,term:void 0},[Nt]:{commitment:R.THREE_MONTHS,term:_.P3Y}},Ur="Value is not an offer",$e=e=>{if(typeof e!="object")return Ur;let{commitment:t,term:r}=e,i=gn(t,r);return{...e,planType:i}};var gn=(e,t)=>{switch(e){case void 0:return Ur;case"":return"";case R.YEAR:return t===_.MONTHLY?Pt:t===_.ANNUAL?vt:"";case R.MONTH:return t===_.MONTHLY?It:"";case R.PERPETUAL:return _t;case R.TERM_LICENSE:return t===_.P3Y?Nt:"";default:return""}};function Ct(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:i,priceWithoutTax:n,priceWithoutDiscountAndTax:a,taxDisplay:o}=t;if(o!==bn)return e;let s={...e,priceDetails:{...t,price:n??r,priceWithoutDiscount:a??i,taxDisplay:xn}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var Vt=function(e,t){return Vt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r[n]=i[n])},Vt(e,t)};function Ve(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Vt(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,i=1,n=arguments.length;i0}),r=[],i=0,n=t;i1)throw new RangeError("integer-width stems only accept a single optional option");n.options[0].replace(Pn,function(c,l,h,u,f,m){if(l)t.minimumIntegerDigits=h.length;else{if(u&&f)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if($r.test(n.stem)){t.minimumIntegerDigits=n.stem.length;continue}if(Yr.test(n.stem)){if(n.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");n.stem.replace(Yr,function(c,l,h,u,f,m){return h==="*"?t.minimumFractionDigits=l.length:u&&u[0]==="#"?t.maximumFractionDigits=u.length:f&&m?(t.minimumFractionDigits=f.length,t.maximumFractionDigits=f.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var a=n.options[0];a==="w"?t=d(d({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=d(d({},t),Xr(a)));continue}if(jr.test(n.stem)){t=d(d({},t),Xr(n.stem));continue}var o=qr(n.stem);o&&(t=d(d({},t),o));var s=vn(n.stem);s&&(t=d(d({},t),s))}return t}var Oe={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};function Qr(e,t){for(var r="",i=0;i>1),c="a",l=In(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=c;for(;o-- >0;)r=l+r}else n==="J"?r+="H":r+=n}return r}function In(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,i;r!=="root"&&(i=e.maximize().region);var n=Oe[i||""]||Oe[r||""]||Oe["".concat(r,"-001")]||Oe["001"];return n[0]}var kt,_n=new RegExp("^".concat(Ot.source,"*")),Nn=new RegExp("".concat(Ot.source,"*$"));function S(e,t){return{start:e,end:t}}var Cn=!!String.prototype.startsWith,Vn=!!String.fromCodePoint,Rn=!!Object.fromEntries,On=!!String.prototype.codePointAt,kn=!!String.prototype.trimStart,wn=!!String.prototype.trimEnd,Dn=!!Number.isSafeInteger,Hn=Dn?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Dt=!0;try{Jr=ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Dt=((kt=Jr.exec("a"))===null||kt===void 0?void 0:kt[0])==="a"}catch{Dt=!1}var Jr,ei=Cn?function(t,r,i){return t.startsWith(r,i)}:function(t,r,i){return t.slice(i,i+r.length)===r},Ht=Vn?String.fromCodePoint:function(){for(var t=[],r=0;ra;){if(o=t[a++],o>1114111)throw RangeError(o+" is not a valid code point");i+=o<65536?String.fromCharCode(o):String.fromCharCode(((o-=65536)>>10)+55296,o%1024+56320)}return i},ti=Rn?Object.fromEntries:function(t){for(var r={},i=0,n=t;i=i)){var n=t.charCodeAt(r),a;return n<55296||n>56319||r+1===i||(a=t.charCodeAt(r+1))<56320||a>57343?n:(n-55296<<10)+(a-56320)+65536}},Mn=kn?function(t){return t.trimStart()}:function(t){return t.replace(_n,"")},Un=wn?function(t){return t.trimEnd()}:function(t){return t.replace(Nn,"")};function ii(e,t){return new RegExp(e,t)}var Mt;Dt?(wt=ii("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Mt=function(t,r){var i;wt.lastIndex=r;var n=wt.exec(t);return(i=n[1])!==null&&i!==void 0?i:""}):Mt=function(t,r){for(var i=[];;){var n=ri(t,r);if(n===void 0||ai(n)||Fn(n))break;i.push(n),r+=n>=65536?2:1}return Ht.apply(void 0,i)};var wt,ni=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,i){for(var n=[];!this.isEOF();){var a=this.char();if(a===123){var o=this.parseArgument(t,i);if(o.err)return o;n.push(o.val)}else{if(a===125&&t>0)break;if(a===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),n.push({type:P.pound,location:S(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(i)break;return this.error(E.UNMATCHED_CLOSING_TAG,S(this.clonePosition(),this.clonePosition()))}else if(a===60&&!this.ignoreTag&&Ut(this.peek()||0)){var o=this.parseTag(t,r);if(o.err)return o;n.push(o.val)}else{var o=this.parseLiteral(t,r);if(o.err)return o;n.push(o.val)}}}return{val:n,err:null}},e.prototype.parseTag=function(t,r){var i=this.clonePosition();this.bump();var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:P.literal,value:"<".concat(n,"/>"),location:S(i,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:P.tag,value:n,children:o,location:S(i,this.clonePosition())},err:null}:this.error(E.INVALID_TAG,S(s,this.clonePosition())))}else return this.error(E.UNCLOSED_TAG,S(i,this.clonePosition()))}else return this.error(E.INVALID_TAG,S(i,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Bn(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var i=this.clonePosition(),n="";;){var a=this.tryParseQuote(r);if(a){n+=a;continue}var o=this.tryParseUnquoted(t,r);if(o){n+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){n+=s;continue}break}var c=S(i,this.clonePosition());return{val:{type:P.literal,value:n,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Gn(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 i=this.char();if(i===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(i);this.bump()}return Ht.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var i=this.char();return i===60||i===123||i===35&&(r==="plural"||r==="selectordinal")||i===125&&t>0?null:(this.bump(),Ht(i))},e.prototype.parseArgument=function(t,r){var i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(i,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(E.EMPTY_ARGUMENT,S(i,this.clonePosition()));var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(E.MALFORMED_ARGUMENT,S(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:P.argument,value:n,location:S(i,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,S(i,this.clonePosition())):this.parseArgumentOptions(t,r,n,i);default:return this.error(E.MALFORMED_ARGUMENT,S(i,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),i=Mt(this.message,r),n=r+i.length;this.bumpTo(n);var a=this.clonePosition(),o=S(t,a);return{value:i,location:o}},e.prototype.parseArgumentOptions=function(t,r,i,n){var a,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(E.EXPECT_ARGUMENT_TYPE,S(o,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),u=this.parseSimpleArgStyleIfPossible();if(u.err)return u;var f=Un(u.val);if(f.length===0)return this.error(E.EXPECT_ARGUMENT_STYLE,S(this.clonePosition(),this.clonePosition()));var m=S(h,this.clonePosition());l={style:f,styleLocation:m}}var p=this.tryParseArgumentClose(n);if(p.err)return p;var T=S(n,this.clonePosition());if(l&&ei(l?.style,"::",0)){var y=Mn(l.style.slice(2));if(s==="number"){var u=this.parseNumberSkeletonFromString(y,l.styleLocation);return u.err?u:{val:{type:P.number,value:i,location:T,style:u.val},err:null}}else{if(y.length===0)return this.error(E.EXPECT_DATE_TIME_SKELETON,T);var v=y;this.locale&&(v=Qr(y,this.locale));var f={type:te.dateTime,pattern:v,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Fr(v):{}},A=s==="date"?P.date:P.time;return{val:{type:A,value:i,location:T,style:f},err:null}}}return{val:{type:s==="number"?P.number:s==="date"?P.date:P.time,value:i,location:T,style:(a=l?.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var x=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS,S(x,d({},x)));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 u=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(u.err)return u;this.bumpSpace(),I=this.parseIdentifierIfPossible(),C=u.val}var O=this.tryParsePluralOrSelectOptions(t,s,r,I);if(O.err)return O;var p=this.tryParseArgumentClose(n);if(p.err)return p;var V=S(n,this.clonePosition());return s==="select"?{val:{type:P.select,value:i,options:ti(O.val),location:V},err:null}:{val:{type:P.plural,value:i,options:ti(O.val),offset:C,pluralType:s==="plural"?"cardinal":"ordinal",location:V},err:null}}default:return this.error(E.INVALID_ARGUMENT_TYPE,S(o,c))}},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 i=this.char();switch(i){case 39:{this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,S(n,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 i=[];try{i=zr(t)}catch{return this.error(E.INVALID_NUMBER_SKELETON,r)}return{val:{type:te.number,tokens:i,location:r,parsedOptions:this.shouldParseSkeletons?Zr(i):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,i,n){for(var a,o=!1,s=[],c=new Set,l=n.value,h=n.location;;){if(l.length===0){var u=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;h=S(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}else break}if(c.has(l))return this.error(r==="select"?E.DUPLICATE_SELECT_ARGUMENT_SELECTOR:E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(o=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,S(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,r,i);if(p.err)return p;var T=this.tryParseArgumentClose(m);if(T.err)return T;s.push([l,{value:p.val,location:S(m,this.clonePosition())}]),c.add(l),this.bumpSpace(),a=this.parseIdentifierIfPossible(),l=a.value,h=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 i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-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 c=S(n,this.clonePosition());return a?(o*=i,Hn(o)?{val:o,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=ri(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(ei(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(i),!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()&&ai(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),i=this.message.charCodeAt(r+(t>=65536?2:1));return i??null},e}();function Ut(e){return e>=97&&e<=122||e>=65&&e<=90}function Gn(e){return Ut(e)||e===47}function Bn(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 ai(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Fn(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 Gt(e){e.forEach(function(t){if(delete t.location,et(t)||tt(t))for(var r in t.options)delete t.options[r].location,Gt(t.options[r].value);else Ze(t)&&it(t.style)||(Qe(t)||Je(t))&&Re(t.style)?delete t.style.location:rt(t)&&Gt(t.children)})}function oi(e,t){t===void 0&&(t={}),t=d({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ni(e,t).parse();if(r.err){var i=SyntaxError(E[r.err.kind]);throw i.location=r.err.location,i.originalMessage=r.err.message,i}return t?.captureLocation||Gt(r.val),r.val}function ke(e,t){var r=t&&t.cache?t.cache:jn,i=t&&t.serializer?t.serializer:zn,n=t&&t.strategy?t.strategy:Yn;return n(e,{cache:r,serializer:i})}function Kn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function si(e,t,r,i){var n=Kn(i)?i:r(i),a=t.get(n);return typeof a>"u"&&(a=e.call(this,i),t.set(n,a)),a}function ci(e,t,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),a=t.get(n);return typeof a>"u"&&(a=e.apply(this,i),t.set(n,a)),a}function Bt(e,t,r,i,n){return r.bind(t,e,i,n)}function Yn(e,t){var r=e.length===1?si:ci;return Bt(e,this,r,t.cache.create(),t.serializer)}function Xn(e,t){return Bt(e,this,ci,t.cache.create(),t.serializer)}function Wn(e,t){return Bt(e,this,si,t.cache.create(),t.serializer)}var zn=function(){return JSON.stringify(arguments)};function Ft(){this.cache=Object.create(null)}Ft.prototype.get=function(e){return this.cache[e]};Ft.prototype.set=function(e,t){this.cache[e]=t};var jn={create:function(){return new Ft}},nt={variadic:Xn,monadic:Wn};var re;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(re||(re={}));var we=function(e){Ve(t,e);function t(r,i,n){var a=e.call(this,r)||this;return a.code=i,a.originalMessage=n,a}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var Kt=function(e){Ve(t,e);function t(r,i,n,a){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),re.INVALID_VALUE,a)||this}return t}(we);var li=function(e){Ve(t,e);function t(r,i,n){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(i),re.INVALID_VALUE,n)||this}return t}(we);var ui=function(e){Ve(t,e);function t(r,i){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(i,'"'),re.MISSING_VALUE,i)||this}return t}(we);var w;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(w||(w={}));function $n(e){return e.length<2?e:e.reduce(function(t,r){var i=t[t.length-1];return!i||i.type!==w.literal||r.type!==w.literal?t.push(r):i.value+=r.value,t},[])}function qn(e){return typeof e=="function"}function De(e,t,r,i,n,a,o){if(e.length===1&&Rt(e[0]))return[{type:w.literal,value:e[0].value}];for(var s=[],c=0,l=e;c{throw TypeError(e)};var di=(e,t,r)=>t in e?Xe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Si=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),bi=(e,t)=>{for(var r in t)Xe(e,r,{get:t[r],enumerable:!0})},xi=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ti(t))!Ai.call(e,i)&&i!==r&&Xe(e,i,{get:()=>t[i],enumerable:!(n=pi(t,i))||n.enumerable});return e};var gi=(e,t,r)=>(r=e!=null?fi(Ei(e)):{},xi(t||!e||!e.__esModule?Xe(r,"default",{value:e,enumerable:!0}):r,e));var d=(e,t,r)=>di(e,typeof t!="symbol"?t+"":t,r),Hr=(e,t,r)=>t.has(e)||Dr("Cannot "+r);var We=(e,t,r)=>(Hr(e,t,"read from private field"),r?r.call(e):t.get(e)),$e=(e,t,r)=>t.has(e)?Dr("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),Ur=(e,t,r,n)=>(Hr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Jn=Si((tl,_o)=>{_o.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 St;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(St||(St={}));var O;(function(e){e.MONTH="MONTH",e.YEAR="YEAR",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.PERPETUAL="PERPETUAL",e.TERM_LICENSE="TERM_LICENSE",e.ACCESS_PASS="ACCESS_PASS",e.THREE_MONTHS="THREE_MONTHS",e.SIX_MONTHS="SIX_MONTHS"})(O||(O={}));var _;(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 bt;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(bt||(bt={}));var xt;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(xt||(xt={}));var gt;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(gt||(gt={}));var Lt;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(Lt||(Lt={}));var Gr="tacocat.js";var je=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),Br=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function V(e,t={},{metadata:r=!0,search:n=!0,storage:i=!0}={}){let a;if(n&&a==null){let o=new URLSearchParams(window.location.search),s=de(n)?n:e;a=o.get(s)}if(i&&a==null){let o=de(i)?i:e;a=window.sessionStorage.getItem(o)??window.localStorage.getItem(o)}if(r&&a==null){let o=Li(de(r)?r:e);a=document.documentElement.querySelector(`meta[name="${o}"]`)?.content}return a??t[e]}var Se=()=>{};var Fr=e=>typeof e=="boolean",Ce=e=>typeof e=="function",ze=e=>typeof e=="number",Kr=e=>e!=null&&typeof e=="object";var de=e=>typeof e=="string",yt=e=>de(e)&&e,be=e=>ze(e)&&Number.isFinite(e)&&e>0;function xe(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function g(e,t){if(Fr(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function re(e,t,r){let n=Object.values(t);return n.find(i=>je(i,e))??r??n[0]}function Li(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function Pt(e,t=1){return ze(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var yi=Date.now(),It=()=>`(+${Date.now()-yi}ms)`,qe=new Set,Pi=g(V("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function Yr(e){let t=`[${Gr}/${e}]`,r=(o,s,...l)=>o?!0:(i(s,...l),!1),n=Pi?(o,...s)=>{console.debug(`${t} ${o}`,...s,It())}:()=>{},i=(o,...s)=>{let l=`${t} ${o}`;qe.forEach(([c])=>c(l,...s))};return{assert:r,debug:n,error:i,warn:(o,...s)=>{let l=`${t} ${o}`;qe.forEach(([,c])=>c(l,...s))}}}function Ii(e,t){let r=[e,t];return qe.add(r),()=>{qe.delete(r)}}Ii((e,...t)=>{console.error(e,...t,It())},(e,...t)=>{console.warn(e,...t,It())});var vi="no promo",Xr="promo-tag",_i="yellow",Ni="neutral",Ci=(e,t,r)=>{let n=a=>a||vi,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Vi="cancel-context",Ve=(e,t)=>{let r=e===Vi,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?Xr:`${Xr} no-promo`,text:Ci(o,t,i),variant:a?_i:Ni,isOverriden:i}};var vt="ABM",_t="PUF",Nt="M2M",Ct="PERPETUAL",Vt="P3Y",Ri="TAX_INCLUSIVE_DETAILS",Oi="TAX_EXCLUSIVE",Wr={ABM:vt,PUF:_t,M2M:Nt,PERPETUAL:Ct,P3Y:Vt},Uo={[vt]:{commitment:O.YEAR,term:_.MONTHLY},[_t]:{commitment:O.YEAR,term:_.ANNUAL},[Nt]:{commitment:O.MONTH,term:_.MONTHLY},[Ct]:{commitment:O.PERPETUAL,term:void 0},[Vt]:{commitment:O.THREE_MONTHS,term:_.P3Y}},$r="Value is not an offer",Ze=e=>{if(typeof e!="object")return $r;let{commitment:t,term:r}=e,n=wi(t,r);return{...e,planType:n}};var wi=(e,t)=>{switch(e){case void 0:return $r;case"":return"";case O.YEAR:return t===_.MONTHLY?vt:t===_.ANNUAL?_t:"";case O.MONTH:return t===_.MONTHLY?Nt:"";case O.PERPETUAL:return Ct;case O.TERM_LICENSE:return t===_.P3Y?Vt:"";default:return""}};function Rt(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:a,taxDisplay:o}=t;if(o!==Ri)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:a??n,taxDisplay:Oi}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var Ot=function(e,t){return Ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Ot(e,t)};function Re(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ot(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var S=function(){return S=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(Di,function(l,c,h,m,u,f){if(c)t.minimumIntegerDigits=h.length;else{if(m&&u)throw new Error("We currently do not support maximum integer digits");if(f)throw new Error("We currently do not support exact integer digits")}return""});continue}if(nn.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Qr.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Qr,function(l,c,h,m,u,f){return h==="*"?t.minimumFractionDigits=c.length:m&&m[0]==="#"?t.maximumFractionDigits=m.length:u&&f?(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length+f.length):(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length),""});var a=i.options[0];a==="w"?t=S(S({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=S(S({},t),Jr(a)));continue}if(rn.test(i.stem)){t=S(S({},t),Jr(i.stem));continue}var o=an(i.stem);o&&(t=S(S({},t),o));var s=Hi(i.stem);s&&(t=S(S({},t),s))}return t}var we={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 sn(e,t){for(var r="",n=0;n>1),l="a",c=Ui(t);for((c=="H"||c=="k")&&(s=0);s-- >0;)r+=l;for(;o-- >0;)r=c+r}else i==="J"?r+="H":r+=i}return r}function Ui(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=we[n||""]||we[r||""]||we["".concat(r,"-001")]||we["001"];return i[0]}var kt,Gi=new RegExp("^".concat(Mt.source,"*")),Bi=new RegExp("".concat(Mt.source,"*$"));function b(e,t){return{start:e,end:t}}var Fi=!!String.prototype.startsWith,Ki=!!String.fromCodePoint,Yi=!!Object.fromEntries,Xi=!!String.prototype.codePointAt,Wi=!!String.prototype.trimStart,$i=!!String.prototype.trimEnd,ji=!!Number.isSafeInteger,zi=ji?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ht=!0;try{cn=mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ht=((kt=cn.exec("a"))===null||kt===void 0?void 0:kt[0])==="a"}catch{Ht=!1}var cn,ln=Fi?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ut=Ki?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},un=Yi?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}},qi=Wi?function(t){return t.trimStart()}:function(t){return t.replace(Gi,"")},Zi=$i?function(t){return t.trimEnd()}:function(t){return t.replace(Bi,"")};function mn(e,t){return new RegExp(e,t)}var Gt;Ht?(Dt=mn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Gt=function(t,r){var n;Dt.lastIndex=r;var i=Dt.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):Gt=function(t,r){for(var n=[];;){var i=hn(t,r);if(i===void 0||pn(i)||ea(i))break;n.push(i),r+=i>=65536?2:1}return Ut.apply(void 0,n)};var Dt,fn=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var 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:I.pound,location:b(s,this.clonePosition())})}else if(a===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(E.UNMATCHED_CLOSING_TAG,b(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:I.literal,value:"<".concat(i,"/>"),location:b(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:I.tag,value:i,children:o,location:b(n,this.clonePosition())},err:null}:this.error(E.INVALID_TAG,b(s,this.clonePosition())))}else return this.error(E.UNCLOSED_TAG,b(n,this.clonePosition()))}else return this.error(E.INVALID_TAG,b(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ji(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var a=this.tryParseQuote(r);if(a){i+=a;continue}var o=this.tryParseUnquoted(t,r);if(o){i+=o;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var l=b(n,this.clonePosition());return{val:{type:I.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 Ut.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(),Ut(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,b(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(E.EMPTY_ARGUMENT,b(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(E.MALFORMED_ARGUMENT,b(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:I.argument,value:i,location:b(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,b(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(E.MALFORMED_ARGUMENT,b(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=b(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,b(o,l));case"number":case"date":case"time":{this.bumpSpace();var c=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),m=this.parseSimpleArgStyleIfPossible();if(m.err)return m;var u=Zi(m.val);if(u.length===0)return this.error(E.EXPECT_ARGUMENT_STYLE,b(this.clonePosition(),this.clonePosition()));var f=b(h,this.clonePosition());c={style:u,styleLocation:f}}var p=this.tryParseArgumentClose(i);if(p.err)return p;var T=b(i,this.clonePosition());if(c&&ln(c?.style,"::",0)){var A=qi(c.style.slice(2));if(s==="number"){var m=this.parseNumberSkeletonFromString(A,c.styleLocation);return m.err?m:{val:{type:I.number,value:n,location:T,style:m.val},err:null}}else{if(A.length===0)return this.error(E.EXPECT_DATE_TIME_SKELETON,T);var v=A;this.locale&&(v=sn(A,this.locale));var u={type:ae.dateTime,pattern:v,location:c.styleLocation,parsedOptions:this.shouldParseSkeletons?qr(v):{}},L=s==="date"?I.date:I.time;return{val:{type:L,value:n,location:T,style:u},err:null}}}return{val:{type:s==="number"?I.number:s==="date"?I.date:I.time,value:n,location:T,style:(a=c?.style)!==null&&a!==void 0?a:null},err:null}}case"plural":case"selectordinal":case"select":{var x=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS,b(x,S({},x)));this.bumpSpace();var P=this.parseIdentifierIfPossible(),N=0;if(s!=="select"&&P.value==="offset"){if(!this.bumpIf(":"))return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,b(this.clonePosition(),this.clonePosition()));this.bumpSpace();var m=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(m.err)return m;this.bumpSpace(),P=this.parseIdentifierIfPossible(),N=m.val}var R=this.tryParsePluralOrSelectOptions(t,s,r,P);if(R.err)return R;var p=this.tryParseArgumentClose(i);if(p.err)return p;var G=b(i,this.clonePosition());return s==="select"?{val:{type:I.select,value:n,options:un(R.val),location:G},err:null}:{val:{type:I.plural,value:n,options:un(R.val),offset:N,pluralType:s==="plural"?"cardinal":"ordinal",location:G},err:null}}default:return this.error(E.INVALID_ARGUMENT_TYPE,b(o,l))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,b(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,b(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=tn(t)}catch{return this.error(E.INVALID_NUMBER_SKELETON,r)}return{val:{type:ae.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?on(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var a,o=!1,s=[],l=new Set,c=i.value,h=i.location;;){if(c.length===0){var m=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var u=this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR,E.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=b(m,this.clonePosition()),c=this.message.slice(m.offset,this.offset())}else break}if(l.has(c))return this.error(r==="select"?E.DUPLICATE_SELECT_ARGUMENT_SELECTOR:E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);c==="other"&&(o=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,b(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,r,n);if(p.err)return p;var T=this.tryParseArgumentClose(f);if(T.err)return T;s.push([c,{value:p.val,location:b(f,this.clonePosition())}]),l.add(c),this.bumpSpace(),a=this.parseIdentifierIfPossible(),c=a.value,h=a.location}return s.length===0?this.error(r==="select"?E.EXPECT_SELECT_ARGUMENT_SELECTOR:E.EXPECT_PLURAL_ARGUMENT_SELECTOR,b(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(E.MISSING_OTHER_CLAUSE,b(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=b(i,this.clonePosition());return a?(o*=n,zi(o)?{val:o,err:null}:this.error(r,l)):this.error(t,l)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=hn(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(ln(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()&&pn(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 Ji(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function pn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ea(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,rt(t)||nt(t))for(var r in t.options)delete t.options[r].location,Ft(t.options[r].value);else Je(t)&&at(t.style)||(et(t)||tt(t))&&Oe(t.style)?delete t.style.location:it(t)&&Ft(t.children)})}function Tn(e,t){t===void 0&&(t={}),t=S({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new fn(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 Me(e,t){var r=t&&t.cache?t.cache:oa,n=t&&t.serializer?t.serializer:aa,i=t&&t.strategy?t.strategy:ra;return i(e,{cache:r,serializer:n})}function ta(e){return e==null||typeof e=="number"||typeof e=="boolean"}function En(e,t,r,n){var i=ta(n)?n:r(n),a=t.get(i);return typeof a>"u"&&(a=e.call(this,n),t.set(i,a)),a}function An(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 ra(e,t){var r=e.length===1?En:An;return Kt(e,this,r,t.cache.create(),t.serializer)}function na(e,t){return Kt(e,this,An,t.cache.create(),t.serializer)}function ia(e,t){return Kt(e,this,En,t.cache.create(),t.serializer)}var aa=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 oa={create:function(){return new Yt}},ot={variadic:na,monadic:ia};var oe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(oe||(oe={}));var ke=function(e){Re(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){Re(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}(ke);var dn=function(e){Re(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}(ke);var Sn=function(e){Re(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}(ke);var M;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(M||(M={}));function sa(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==M.literal||r.type!==M.literal?t.push(r):n.value+=r.value,t},[])}function ca(e){return typeof e=="function"}function De(e,t,r,n,i,a,o){if(e.length===1&&wt(e[0]))return[{type:M.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=oi,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 fi=hi;var ea=/[0-9\-+#]/,ta=/[^\d\-+#]/g;function mi(e){return e.search(ea)}function ra(e="#.##"){let t={},r=e.length,i=mi(e);t.prefix=i>0?e.substring(0,i):"";let n=mi(e.split("").reverse().join("")),a=r-n,o=e.substring(a,a+1),s=a+(o==="."||o===","?1:0);t.suffix=n>0?e.substring(s,r):"",t.mask=e.substring(i,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let c=t.mask.match(ta);return t.decimal=c&&c[c.length-1]||".",t.separator=c&&c[1]&&c[0]||",",c=t.mask.split(t.decimal),t.integer=c[0],t.fraction=c[1],t}function ia(e,t,r){let i=!1,n={value:e};e<0&&(i=!0,n.value=-n.value),n.sign=i?"-":"",n.value=Number(n.value).toFixed(t.fraction&&t.fraction.length),n.value=Number(n.value).toString();let a=t.fraction&&t.fraction.lastIndexOf("0"),[o="0",s=""]=n.value.split(".");return(!s||s&&s.length<=a)&&(s=a<0?"":(+("0."+s)).toFixed(a+1).replace("0.","")),n.integer=o,n.fraction=s,na(n,t),(n.result==="0"||n.result==="")&&(i=!1,n.sign=""),!i&&t.maskHasPositiveSign?n.sign="+":i&&t.maskHasPositiveSign?n.sign="-":i&&(n.sign=r&&r.enforceMaskSign&&!t.maskHasNegativeSign?"":"-"),n}function na(e,t){e.result="";let r=t.integer.split(t.separator),i=r.join(""),n=i&&i.indexOf("0");if(n>-1)for(;e.integer.lengthe*12,Si=(e,t)=>{let{start:r,end:i,displaySummary:{amount:n,duration:a,minProductQuantity:o,outcomeType:s}={}}=e;if(!(n&&a&&s&&o))return!1;let c=t?new Date(t):new Date;if(!r||!i)return!1;let l=new Date(r),h=new Date(i);return c>=l&&c<=h},ie={MONTH:"MONTH",YEAR:"YEAR"},sa={[_.ANNUAL]:12,[_.MONTHLY]:1,[_.THREE_YEARS]:36,[_.TWO_YEARS]:24},Wt=(e,t)=>({accept:e,round:t}),ca=[Wt(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Wt(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),Wt(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],zt={[R.YEAR]:{[_.MONTHLY]:ie.MONTH,[_.ANNUAL]:ie.YEAR},[R.MONTH]:{[_.MONTHLY]:ie.MONTH}},la=(e,t)=>e.indexOf(`'${t}'`)===0,ua=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),i=xi(r);return!!i?t||(r=r.replace(/[,\.]0+/,i)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+fa(e)),r},ha=e=>{let t=ma(e),r=la(e,t),i=e.replace(/'.*?'/,""),n=Ei.test(i)||di.test(i);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:n}},bi=e=>e.replace(Ei,Ai).replace(di,Ai),fa=e=>e.match(/#(.?)#/)?.[1]===Ti?oa:Ti,ma=e=>e.match(/'(.*?)'/)?.[1]??"",xi=e=>e.match(/0(.?)0/)?.[1]??"";function be({formatString:e,price:t,usePrecision:r,isIndianPrice:i=!1},n,a=o=>o){let{currencySymbol:o,isCurrencyFirst:s,hasCurrencySpace:c}=ha(e),l=r?xi(e):"",h=ua(e,r),u=r?2:0,f=a(t,{currencySymbol:o}),m=i?f.toLocaleString("hi-IN",{minimumFractionDigits:u,maximumFractionDigits:u}):pi(h,f),p=r?m.lastIndexOf(l):m.length,T=m.substring(0,p),y=m.substring(p+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,o),currencySymbol:o,decimals:y,decimalsDelimiter:l,hasCurrencySpace:c,integer:T,isCurrencyFirst:s,recurrenceTerm:n}}var gi=e=>{let{commitment:t,term:r,usePrecision:i}=e,n=sa[r]??1;return be(e,n>1?ie.MONTH:zt[t]?.[r],a=>{let o={divisor:n,price:a,usePrecision:i},{round:s}=ca.find(({accept:c})=>c(o));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(o)}`);return s(o)})},Li=({commitment:e,term:t,...r})=>be(r,zt[e]?.[t]),yi=e=>{let{commitment:t,instant:r,price:i,originalPrice:n,priceWithoutDiscount:a,promotion:o,quantity:s=1,term:c}=e;if(t===R.YEAR&&c===_.MONTHLY){if(!o)return be(e,ie.YEAR,Xt);let{displaySummary:{outcomeType:l,duration:h,minProductQuantity:u=1}={}}=o;switch(l){case"PERCENTAGE_DISCOUNT":if(s>=u&&Si(o,r)){let f=parseInt(h.replace("P","").replace("M",""));if(isNaN(f))return Xt(i);let m=s*n*f,p=s*a*(12-f),T=Math.floor((m+p)*100)/100;return be({...e,price:T},ie.YEAR)}default:return be(e,ie.YEAR,()=>Xt(a??i))}}return be(e,zt[t]?.[c])};var pa={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}"},Ta=Dr("ConsonantTemplates/price"),Aa=/<\/?[^>]+(>|$)/g,k={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"},ne={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Ea="TAX_EXCLUSIVE",da=e=>wr(e)?Object.entries(e).filter(([,t])=>Te(t)||ze(t)||t===!0).reduce((t,[r,i])=>t+` ${r}${i===!0?"":'="'+Or(i)+'"'}`,""):"",D=(e,t,r,i=!1)=>`${i?bi(t):t??""}`;function Sa(e,{accessibleLabel:t,currencySymbol:r,decimals:i,decimalsDelimiter:n,hasCurrencySpace:a,integer:o,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},u={}){let f=D(k.currencySymbol,r),m=D(k.currencySpace,a?" ":""),p="";return s&&(p+=f+m),p+=D(k.integer,o),p+=D(k.decimalsDelimiter,n),p+=D(k.decimals,i),s||(p+=m+f),p+=D(k.recurrence,c,null,!0),p+=D(k.unitType,l,null,!0),p+=D(k.taxInclusivity,h,!0),D(e,p,{...u,"aria-label":t})}var U=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1,instant:i=void 0}={})=>({country:n,displayFormatted:a=!0,displayRecurrence:o=!0,displayPerUnit:s=!1,displayTax:c=!1,language:l,literals:h={},quantity:u=1}={},{commitment:f,offerSelectorIds:m,formatString:p,price:T,priceWithoutDiscount:y,taxDisplay:v,taxTerm:A,term:x,usePrecision:I,promotion:C}={},O={})=>{Object.entries({country:n,formatString:p,language:l,price:T}).forEach(([W,At])=>{if(At==null)throw new Error(`Argument "${W}" is missing for osi ${m?.toString()}, country ${n}, language ${l}`)});let V={...pa,...h},q=`${l.toLowerCase()}-${n.toUpperCase()}`;function G(W,At){let Et=V[W];if(Et==null)return"";try{return new fi(Et.replace(Aa,""),q).format(At)}catch{return Ta.error("Failed to format literal:",Et),""}}let ye=t&&y?y:T,me=e?gi:Li;r&&(me=yi);let{accessiblePrice:Pe,recurrenceTerm:Z,...Q}=me({commitment:f,formatString:p,instant:i,isIndianPrice:n==="IN",originalPrice:T,priceWithoutDiscount:y,price:e?T:ye,promotion:C,quantity:u,term:x,usePrecision:I}),B=Pe,ve="";if(g(o)&&Z){let W=G(ne.recurrenceAriaLabel,{recurrenceTerm:Z});W&&(B+=" "+W),ve=G(ne.recurrenceLabel,{recurrenceTerm:Z})}let Tt="";if(g(s)){Tt=G(ne.perUnitLabel,{perUnit:"LICENSE"});let W=G(ne.perUnitAriaLabel,{perUnit:"LICENSE"});W&&(B+=" "+W)}let Ie="";g(c)&&A&&(Ie=G(v===Ea?ne.taxExclusiveLabel:ne.taxInclusiveLabel,{taxTerm:A}),Ie&&(B+=" "+Ie)),t&&(B=G(ne.strikethroughAriaLabel,{strikethroughPrice:B}));let _e=k.container;if(e&&(_e+=" "+k.containerOptical),t&&(_e+=" "+k.containerStrikethrough),r&&(_e+=" "+k.containerAnnual),g(a))return Sa(_e,{...Q,accessibleLabel:B,recurrenceLabel:ve,perUnitLabel:Tt,taxInclusivityLabel:Ie},O);let{currencySymbol:Ir,decimals:$i,decimalsDelimiter:qi,hasCurrencySpace:_r,integer:Zi,isCurrencyFirst:Qi}=Q,pe=[Zi,qi,$i];Qi?(pe.unshift(_r?"\xA0":""),pe.unshift(Ir)):(pe.push(_r?"\xA0":""),pe.push(Ir)),pe.push(ve,Tt,Ie);let Ji=pe.join("");return D(_e,Ji,O)},Pi=()=>(e,t,r)=>{let n=(e.displayOldPrice===void 0||g(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${U()(e,t,r)}${n?" "+U({displayStrikethrough:!0})(e,t,r):""}`},vi=()=>(e,t,r)=>{let{instant:i}=e;try{i||(i=new URLSearchParams(document.location.search).get("instant")),i&&(i=new Date(i))}catch{i=void 0}let n={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||g(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?U({displayStrikethrough:!0})(n,t,r)+" ":""}${U()(e,t,r)}${D(k.containerAnnualPrefix," (")}${U({displayAnnual:!0,instant:i})(n,t,r)}${D(k.containerAnnualSuffix,")")}`},Ii=()=>(e,t,r)=>{let i={...e,displayTax:!1,displayPerUnit:!1};return`${U()(e,t,r)}${D(k.containerAnnualPrefix," (")}${U({displayAnnual:!0})(i,t,r)}${D(k.containerAnnualSuffix,")")}`};var jt=U(),$t=Pi(),qt=U({displayOptical:!0}),Zt=U({displayStrikethrough:!0}),Qt=U({displayAnnual:!0}),Jt=Ii(),er=vi();var ba=(e,t)=>{if(!(!Ee(e)||!Ee(t)))return Math.floor((t-e)/t*100)},_i=()=>(e,t)=>{let{price:r,priceWithoutDiscount:i}=t,n=ba(r,i);return n===void 0?'':`${n}%`};var tr=_i();var{freeze:He}=Object,xa={V2:"UCv2",V3:"UCv3"},F=He({...xa}),ga={CHECKOUT:"checkout",CHECKOUT_EMAIL:"checkout/email",SEGMENTATION:"segmentation",BUNDLE:"bundle",COMMITMENT:"commitment",RECOMMENDATION:"recommendation",EMAIL:"email",PAYMENT:"payment",CHANGE_PLAN_TEAM_PLANS:"change-plan/team-upgrade/plans",CHANGE_PLAN_TEAM_PAYMENT:"change-plan/team-upgrade/payment"},K=He({...ga}),ae={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},rr=He({...R}),ir=He({...Mr}),nr=He({..._});var Er={};cn(Er,{CLASS_NAME_FAILED:()=>ar,CLASS_NAME_HIDDEN:()=>ya,CLASS_NAME_PENDING:()=>or,CLASS_NAME_RESOLVED:()=>sr,ERROR_MESSAGE_BAD_REQUEST:()=>at,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>Fa,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>cr,EVENT_AEM_ERROR:()=>Ua,EVENT_AEM_LOAD:()=>Ma,EVENT_MAS_ERROR:()=>Ba,EVENT_MAS_READY:()=>Ga,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Na,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>Da,EVENT_MERCH_CARD_COLLECTION_SORT:()=>wa,EVENT_MERCH_CARD_READY:()=>_a,EVENT_MERCH_OFFER_READY:()=>va,EVENT_MERCH_OFFER_SELECT_READY:()=>Ia,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>Oa,EVENT_MERCH_SEARCH_CHANGE:()=>ka,EVENT_MERCH_SIDENAV_SELECT:()=>Ha,EVENT_MERCH_STOCK_CHANGE:()=>Va,EVENT_MERCH_STORAGE_CHANGE:()=>Ra,EVENT_OFFER_SELECTED:()=>Ca,EVENT_TYPE_FAILED:()=>lr,EVENT_TYPE_READY:()=>xe,EVENT_TYPE_RESOLVED:()=>ur,LOG_NAMESPACE:()=>hr,Landscape:()=>$,MODAL_TYPE_3_IN_1:()=>se,NAMESPACE:()=>La,PARAM_AOS_API_KEY:()=>Ka,PARAM_ENV:()=>fr,PARAM_LANDSCAPE:()=>mr,PARAM_WCS_API_KEY:()=>Ya,PROVIDER_ENVIRONMENT:()=>Ar,STATE_FAILED:()=>z,STATE_PENDING:()=>ee,STATE_RESOLVED:()=>j,TAG_NAME_SERVICE:()=>Pa,WCS_PROD_URL:()=>pr,WCS_STAGE_URL:()=>Tr,WORKFLOW_STEP:()=>oe});var La="merch",ya="hidden",xe="wcms:commerce:ready",Pa="mas-commerce-service",va="merch-offer:ready",Ia="merch-offer-select:ready",_a="merch-card:ready",Na="merch-card:action-menu-toggle",Ca="merch-offer:selected",Va="merch-stock:change",Ra="merch-storage:change",Oa="merch-quantity-selector:change",ka="merch-search:change",wa="merch-card-collection:sort",Da="merch-card-collection:showmore",Ha="merch-sidenav:select",Ma="aem:load",Ua="aem:error",Ga="mas:ready",Ba="mas:error",ar="placeholder-failed",or="placeholder-pending",sr="placeholder-resolved",at="Bad WCS request",cr="Commerce offer not found",Fa="Literals URL not provided",lr="mas:failed",ur="mas:resolved",hr="mas/commerce",fr="commerce.env",mr="commerce.landscape",Ka="commerce.aosKey",Ya="commerce.wcsKey",pr="https://www.adobe.com/web_commerce_artifact",Tr="https://www.stage.adobe.com/web_commerce_artifact_stage",z="failed",ee="pending",j="resolved",$={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"},oe={CHECKOUT:"checkout",CHECKOUT_EMAIL:"checkout/email",SEGMENTATION:"segmentation",BUNDLE:"bundle",COMMITMENT:"commitment",RECOMMENDATION:"recommendation",EMAIL:"email",PAYMENT:"payment",CHANGE_PLAN_TEAM_PLANS:"change-plan/team-upgrade/plans",CHANGE_PLAN_TEAM_PAYMENT:"change-plan/team-upgrade/payment"},Ar={PRODUCTION:"PRODUCTION"},se={TWP:"twp",D2P:"d2p",CRM:"crm"};var Ni="mas-commerce-service";function Ci(e,{once:t=!1}={}){let r=null;function i(){let n=document.querySelector(Ni);n!==r&&(r=n,n&&e(n))}return document.addEventListener(xe,i,{once:t}),ce(i),()=>document.removeEventListener(xe,i)}function Me(e,{country:t,forceTaxExclusive:r,perpetual:i}){let n;if(e.length<2)n=e;else{let a=t==="GB"||i?"EN":"MULT",[o,s]=e;n=[o.language===a?o:s]}return r&&(n=n.map(Ct)),n}var ce=e=>window.setTimeout(e);function ge(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(Se).filter(Ee);return r.length||(r=[t]),r}function ot(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(Lt)}function H(){return document.getElementsByTagName(Ni)?.[0]}var le={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},Vi=1e3,Ri=new Set;function Xa(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function Oi(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:i,originatingRequest:n,status:a}=e;return[i,a,n].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!le.serializableTypes.includes(r))return r}return e}function Wa(e,t){if(!le.ignoredProperties.includes(e))return Oi(t)}var dr={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,i=[],n=[],a=t;r.forEach(l=>{l!=null&&(Xa(l)?i:n).push(l)}),i.length&&(a+=" "+i.map(Oi).join(" "));let{pathname:o,search:s}=window.location,c=`${le.delimiter}page=${o}${s}`;c.length>Vi&&(c=`${c.slice(0,Vi)}`),a+=c,n.length&&(a+=`${le.delimiter}facts=`,a+=JSON.stringify(n,Wa)),Ri.has(a)||(Ri.add(a),window.lana?.log(a,le))}};function st(e){Object.assign(le,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in le&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var L=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:F.V3,checkoutWorkflowStep:K.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:ae.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:$.PUBLISHED,wcsBufferLimit:1});var Sr=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function za({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 br(e={}){let{commerce:t={}}=e,r=ae.PRODUCTION,i=pr,n=N("checkoutClientId",t)??L.checkoutClientId,a=J(N("checkoutWorkflow",t),F,L.checkoutWorkflow),o=K.CHECKOUT;a===F.V3&&(o=J(N("checkoutWorkflowStep",t),K,L.checkoutWorkflowStep));let s=g(N("displayOldPrice",t),L.displayOldPrice),c=g(N("displayPerUnit",t),L.displayPerUnit),l=g(N("displayRecurrence",t),L.displayRecurrence),h=g(N("displayTax",t),L.displayTax),u=g(N("entitlement",t),L.entitlement),f=g(N("modal",t),L.modal),m=g(N("forceTaxExclusive",t),L.forceTaxExclusive),p=N("promotionCode",t)??L.promotionCode,T=ge(N("quantity",t)),y=N("wcsApiKey",t)??L.wcsApiKey,v=t?.env==="stage",A=$.PUBLISHED;["true",""].includes(t.allowOverride)&&(v=(N(fr,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",A=J(N(mr,t),$,A)),v&&(r=ae.STAGE,i=Tr);let I=Se(N("wcsBufferDelay",t),L.wcsBufferDelay),C=Se(N("wcsBufferLimit",t),L.wcsBufferLimit);return{...za(e),displayOldPrice:s,checkoutClientId:n,checkoutWorkflow:a,checkoutWorkflowStep:o,displayPerUnit:c,displayRecurrence:l,displayTax:h,entitlement:u,extraOptions:L.extraOptions,modal:f,env:r,forceTaxExclusive:m,promotionCode:p,quantity:T,wcsApiKey:y,wcsBufferDelay:I,wcsBufferLimit:C,wcsURL:i,landscape:A}}var xr={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},ja=Date.now(),gr=new Set,Lr=new Set,ki=new Map,wi={append({level:e,message:t,params:r,timestamp:i,source:n}){console[e](`${i}ms [${n}] %c${t}`,"font-weight: bold;",...r)}},Di={filter:({level:e})=>e!==xr.DEBUG},$a={filter:()=>!1};function qa(e,t,r,i,n){return{level:e,message:t,namespace:r,get params(){return i.length===1&&Ne(i[0])&&(i=i[0](),Array.isArray(i)||(i=[i])),i},source:n,timestamp:Date.now()-ja}}function Za(e){[...Lr].every(t=>t(e))&&gr.forEach(t=>t(e))}function Hi(e){let t=(ki.get(e)??0)+1;ki.set(e,t);let r=`${e} #${t}`,i={id:r,namespace:e,module:n=>Hi(`${i.namespace}/${n}`),updateConfig:st};return Object.values(xr).forEach(n=>{i[n]=(a,...o)=>Za(qa(n,a,e,o,r))}),Object.seal(i)}function ct(...e){e.forEach(t=>{let{append:r,filter:i}=t;Ne(i)&&Lr.add(i),Ne(r)&&gr.add(r)})}function Qa(e={}){let{name:t}=e,r=g(N("commerce.debug",{search:!0,storage:!0}),t===Sr.LOCAL);return ct(r?wi:Di),t===Sr.PROD&&ct(dr),M}function Ja(){gr.clear(),Lr.clear()}var M={...Hi(hr),Level:xr,Plugins:{consoleAppender:wi,debugFilter:Di,quietFilter:$a,lanaAppender:dr},init:Qa,reset:Ja,use:ct};var eo={[z]:ar,[ee]:or,[j]:sr},to={[z]:lr,[j]:ur},Le=class{constructor(t){b(this,"changes",new Map);b(this,"connected",!1);b(this,"dispose",Ae);b(this,"error");b(this,"log");b(this,"options");b(this,"promises",[]);b(this,"state",ee);b(this,"timer",null);b(this,"value");b(this,"version",0);b(this,"wrapperElement");this.wrapperElement=t}update(){[z,ee,j].forEach(t=>{this.wrapperElement.classList.toggle(eo[t],t===this.state)})}notify(){(this.state===j||this.state===z)&&(this.state===j?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===z&&this.promises.forEach(({reject:t})=>t(this.error)),this.promises=[]),this.wrapperElement.dispatchEvent(new CustomEvent(to[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,i){this.changes.set(t,i),this.requestUpdate()}connectedCallback(){this.dispose=Ci(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=Ae}onceSettled(){let{error:t,promises:r,state:i}=this;return j===i?Promise.resolve(this.wrapperElement):z===i?Promise.reject(t):new Promise((n,a)=>{r.push({resolve:n,reject:a})})}toggleResolved(t,r,i){return t!==this.version?!1:(i!==void 0&&(this.options=i),this.state=j,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),ce(()=>this.notify()),!0)}toggleFailed(t,r,i){return t!==this.version?!1:(i!==void 0&&(this.options=i),this.error=r,this.state=z,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),ce(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=ee,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!H()||this.timer)return;let r=M.module("mas-element"),{error:i,options:n,state:a,value:o,version:s}=this;this.state=ee,this.timer=ce(async()=>{this.timer=null;let c=null;if(this.changes.size&&(c=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:c}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:c})),c||t)try{await this.wrapperElement.render?.()===!1&&this.state===ee&&this.version===s&&(this.state=a,this.error=i,this.value=o,this.update(),this.notify())}catch(l){r.error("Failed to render mas-element: ",l),this.toggleFailed(this.version,l,n)}})}};function Mi(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:i}=e,n=document.createElement(r,{is:i});return n.setAttribute("is",i),Object.assign(n.dataset,Mi(t)),n}function ut(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,Mi(t)),e):null}var ro="download",io="upgrade";function ht(e,t={},r=""){let i=H();if(!i)return null;let{checkoutMarketSegment:n,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:u,quantity:f,wcsOsi:m,extraOptions:p}=i.collectCheckoutOptions(t),T=lt(e,{checkoutMarketSegment:n,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:u,quantity:f,wcsOsi:m,extraOptions:p});return r&&(T.innerHTML=`${r}`),T}function ft(e){return class extends e{constructor(){super(...arguments);b(this,"checkoutActionHandler");b(this,"masElement",new Le(this))}attributeChangedCallback(i,n,a){this.masElement.attributeChangedCallback(i,n,a)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}get opens3in1Modal(){return Object.values(se).includes(this.getAttribute("data-modal-type"))&&!!this.href}requestUpdate(i=!1){return this.masElement.requestUpdate(i)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(i={}){let n=H();if(!n)return!1;this.dataset.imsCountry||n.imsCountryPromise.then(u=>{u&&(this.dataset.imsCountry=u)},Ae),i.imsCountry=null;let a=n.collectCheckoutOptions(i,this);if(!a.wcsOsi.length)return!1;let o;try{o=JSON.parse(a.extraOptions??"{}")}catch(u){this.masElement.log?.error("cannot parse exta checkout options",u)}let s=this.masElement.togglePending(a);this.setCheckoutUrl("");let c=n.resolveOfferSelectors(a),l=await Promise.all(c);l=l.map(u=>Me(u,a)),a.country=this.dataset.imsCountry||a.country;let h=await n.buildCheckoutAction?.(l.flat(),{...o,...a},this);return this.renderOffers(l.flat(),a,{},h,s)}add3in1ModalParams(i,n){try{let a=new URL(i);return a.searchParams.set("ctx","if"),n===se.CRM?(a.searchParams.set("af","uc_segmentation_hide_tabs,uc_new_user_iframe,uc_new_system_close"),a.searchParams.set("cli","creative")):(a.searchParams.set("af","uc_new_user_iframe,uc_new_system_close"),a.searchParams.set("cli","mini_plans")),a.toString()}catch(a){this.masElement.log?.error("Failed to add 3-in-1 modal parameters",a)}}setModalType(i,n){try{let o=new URL(n).searchParams.get("modal");if([se.TWP,se.D2P,se.CRM].includes(o))return i?.setAttribute("data-modal-type",o),o}catch(a){this.masElement.log?.error("Failed to set modal type",a)}}renderOffers(i,n,a={},o=void 0,s=void 0){let c=H();if(!c)return!1;n={...JSON.parse(this.dataset.extraOptions??"null"),...n,...a},s??(s=this.masElement.togglePending(n)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0);let h;if(o){this.classList.remove(ro,io),this.masElement.toggleResolved(s,i,n);let{url:u,text:f,className:m,handler:p}=o;if(u&&(this.setCheckoutUrl(u),h=this.setModalType(this,u)),f&&(this.firstElementChild.innerHTML=f),m&&this.classList.add(...m.split(" ")),p&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=p.bind(this)),!h)return!0}if(i.length){if(this.masElement.toggleResolved(s,i,n)){let u=c.buildCheckoutURL(i,n),f=o&&h?this.add3in1ModalParams(u,h):u;return this.setCheckoutUrl(f),!0}}else{let u=new Error(`Not provided: ${n?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,u,n))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(i){}updateOptions(i={}){let n=H();if(!n)return!1;let{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:u,promotionCode:f,quantity:m,wcsOsi:p}=n.collectCheckoutOptions(i);return ut(this,{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:u,promotionCode:f,quantity:m,wcsOsi:p}),!0}}}var Ue=class Ue extends ft(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return ht(Ue,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};b(Ue,"is","checkout-link"),b(Ue,"tag","a");var Y=Ue;window.customElements.get(Y.is)||window.customElements.define(Y.is,Y,{extends:Y.tag});var Ge=class Ge extends ft(HTMLButtonElement){static createCheckoutButton(t={},r=""){return ht(Ge,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};b(Ge,"is","checkout-button"),b(Ge,"tag","button");var ue=Ge;window.customElements.get(ue.is)||window.customElements.define(ue.is,ue,{extends:ue.tag});function no(e){return`https://${e==="PRODUCTION"?"www.adobe.com":"www.stage.adobe.com"}/offers/promo-terms.html`}var Be,he=class he extends HTMLAnchorElement{constructor(){super();Xe(this,Be,!1);this.setAttribute("is",he.is)}get isUptLink(){return!0}initializeWcsData(r,i){this.setAttribute("data-wcs-osi",r),i&&this.setAttribute("data-promotion-code",i),Vr(this,Be,!0),this.composePromoTermsUrl()}attributeChangedCallback(r,i,n){Ye(this,Be)&&this.composePromoTermsUrl()}composePromoTermsUrl(){let r=this.getAttribute("data-wcs-osi");if(!r){let u=this.closest("merch-card").querySelector("aem-fragment").getAttribute("fragment");console.error(`Missing 'data-wcs-osi' attribute on upt-link. Fragment: ${u}`);return}let i=H(),n=[r],a=this.getAttribute("data-promotion-code"),{country:o,language:s,env:c}=i.settings,l={country:o,language:s,wcsOsi:n,promotionCode:a},h=i.resolveOfferSelectors(l);Promise.all(h).then(([[u]])=>{let f=`locale=${s}_${o}&country=${o}&offer_id=${u.offerId}`;a&&(f+=`&promotion_code=${encodeURIComponent(a)}`),this.href=`${no(c)}?${f}`}).catch(u=>{console.error(`Could not resolve offer selectors for id: ${r}.`,u.message)})}static createFrom(r){let i=new he;for(let n of r.attributes)n.name!=="is"&&(n.name==="class"&&n.value.includes("upt-link")?i.setAttribute("class",n.value.replace("upt-link","").trim()):i.setAttribute(n.name,n.value));return i.innerHTML=r.innerHTML,i.setAttribute("tabindex",0),i}};Be=new WeakMap,b(he,"is","upt-link"),b(he,"tag","a"),b(he,"observedAttributes",["data-wcs-osi","data-promotion-code"]);var fe=he;window.customElements.get(fe.is)||window.customElements.define(fe.is,fe,{extends:fe.tag});var ao="p_draft_landscape",oo="/store/",so=new Map([["countrySpecific","cs"],["customerSegment","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"]]),yr=new Set(["af","ai","apc","appctxid","cli","co","cs","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"]),co=["env","workflowStep","clientId","country"],Ui=e=>so.get(e)??e;function Pr(e,t,r){for(let[i,n]of Object.entries(e)){let a=Ui(i);n!=null&&r.has(a)&&t.set(a,n)}}function lo(e){switch(e){case Ar.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function uo(e,t){for(let r in e){let i=e[r];for(let[n,a]of Object.entries(i)){if(a==null)continue;let o=Ui(n);t.set(`items[${r}][${o}]`,a)}}}function Gi(e){ho(e);let{env:t,items:r,workflowStep:i,ms:n,marketSegment:a,ot:o,offerType:s,pa:c,productArrangementCode:l,landscape:h,...u}=e,f={marketSegment:a??n,offerType:s??o,productArrangementCode:l??c},m=new URL(lo(t));return m.pathname=`${oo}${i}`,i!==oe.SEGMENTATION&&i!==oe.CHANGE_PLAN_TEAM_PLANS&&uo(r,m.searchParams),i===oe.SEGMENTATION&&Pr(f,m.searchParams,yr),Pr(u,m.searchParams,yr),h===$.DRAFT&&Pr({af:ao},m.searchParams,yr),m.toString()}function ho(e){for(let t of co)if(!e[t])throw new Error('Argument "checkoutData" is not valid, missing: '+t);if(e.workflowStep!==oe.SEGMENTATION&&e.workflowStep!==oe.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function Bi({providers:e,settings:t}){function r(a,o){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:l,country:h,language:u,promotionCode:f,quantity:m}=t,{checkoutMarketSegment:p,checkoutWorkflow:T=c,checkoutWorkflowStep:y=l,imsCountry:v,country:A=v??h,language:x=u,quantity:I=m,entitlement:C,upgrade:O,modal:V,perpetual:q,promotionCode:G=f,wcsOsi:ye,extraOptions:me,...Pe}=Object.assign({},o?.dataset??{},a??{}),Z=J(T,F,L.checkoutWorkflow),Q=K.CHECKOUT;Z===F.V3&&(Q=J(y,K,L.checkoutWorkflowStep));let B=de({...Pe,extraOptions:me,checkoutClientId:s,checkoutMarketSegment:p,country:A,quantity:ge(I,L.quantity),checkoutWorkflow:Z,checkoutWorkflowStep:Q,language:x,entitlement:g(C),upgrade:g(O),modal:g(V),perpetual:g(q),promotionCode:Ce(G).effectivePromoCode,wcsOsi:ot(ye)});if(o)for(let ve of e.checkout)ve(o,B);return B}function i(a,o){if(!Array.isArray(a)||!a.length||!o)return"";let{env:s,landscape:c}=t,{checkoutClientId:l,checkoutMarketSegment:h,checkoutWorkflow:u,checkoutWorkflowStep:f,country:m,promotionCode:p,quantity:T,...y}=r(o),v=window.frameElement?"if":"fp",A={checkoutPromoCode:p,clientId:l,context:v,country:m,env:s,items:[],marketSegment:h,workflowStep:f,landscape:c,...y};if(a.length===1){let[{offerId:x,offerType:I,productArrangementCode:C}]=a,{marketSegments:[O]}=a[0];Object.assign(A,{marketSegment:O,offerType:I,productArrangementCode:C}),A.items.push(T[0]===1?{id:x}:{id:x,quantity:T[0]})}else A.items.push(...a.map(({offerId:x},I)=>({id:x,quantity:T[I]??L.quantity})));return Gi(A)}let{createCheckoutLink:n}=Y;return{CheckoutLink:Y,CheckoutWorkflow:F,CheckoutWorkflowStep:K,buildCheckoutURL:i,collectCheckoutOptions:r,createCheckoutLink:n}}function fo({interval:e=200,maxAttempts:t=25}={}){let r=M.module("ims");return new Promise(i=>{r.debug("Waing for IMS to be ready");let n=0;function a(){window.adobeIMS?.initialized?i():++n>t?(r.debug("Timeout"),i()):setTimeout(a,e)}a()})}function mo(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function po(e){let t=M.module("ims");return e.then(r=>r?window.adobeIMS.getProfile().then(({countryCode:i})=>(t.debug("Got user country:",i),i),i=>{t.error("Unable to get user country:",i)}):null)}function Fi({}){let e=fo(),t=mo(e),r=po(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function Yi(e,t){let{data:r}=t||await Promise.resolve().then(()=>un(Ki(),1));if(Array.isArray(r)){let i=a=>r.find(o=>We(o.lang,a)),n=i(e.language)??i(L.language);if(n)return Object.freeze(n)}return{}}var Xi=["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"],Ao={INDIVIDUAL_COM:["ZA_en","LT_lt","LV_lv","NG_en","SA_ar","SA_en","ZA_en","SG_en","KR_ko"],TEAM_COM:["ZA_en","LT_lt","LV_lv","NG_en","ZA_en","CO_es","KR_ko"],INDIVIDUAL_EDU:["LT_lt","LV_lv","SA_en","SG_en"],TEAM_EDU:["SG_en","KR_ko"]},Fe=class Fe extends HTMLSpanElement{constructor(){super();b(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 i=H();if(!i)return null;let{displayOldPrice:n,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:f,wcsOsi:m}=i.collectPriceOptions(r);return lt(Fe,{displayOldPrice:n,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:f,wcsOsi:m})}get isInlinePrice(){return!0}attributeChangedCallback(r,i,n){this.masElement.attributeChangedCallback(r,i,n)}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,i,n,a){let o=`${r}_${i}`;if(Xi.includes(r)||Xi.includes(o))return!0;let s=Ao[`${n}_${a}`];return s?!!(s.includes(r)||s.includes(o)):!1}async resolveDisplayTax(r,i){let[n]=await r.resolveOfferSelectors(i),a=Me(await n,i);if(a?.length){let{country:o,language:s}=i,c=a[0],[l=""]=c.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(o,s,c.customerSegment,l)}}async render(r={}){if(!this.isConnected)return!1;let i=H();if(!i)return!1;let n=i.collectPriceOptions(r,this);if(!n.wcsOsi.length)return!1;let a=this.masElement.togglePending(n);this.innerHTML="";let[o]=i.resolveOfferSelectors(n);return this.renderOffers(Me(await o,n),n,a)}renderOffers(r,i={},n=void 0){if(!this.isConnected)return;let a=H();if(!a)return!1;let o=a.collectPriceOptions({...this.dataset,...i},this);if(n??(n=this.masElement.togglePending(o)),r.length){if(this.masElement.toggleResolved(n,r,o))return this.innerHTML=a.buildPriceHTML(r,o),!0}else{let s=new Error(`Not provided: ${o?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(n,s,o))return this.innerHTML="",!0}return!1}updateOptions(r){let i=H();if(!i)return!1;let{displayOldPrice:n,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:f,wcsOsi:m}=i.collectPriceOptions(r);return ut(this,{displayOldPrice:n,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:f,wcsOsi:m}),!0}};b(Fe,"is","inline-price"),b(Fe,"tag","span");var X=Fe;window.customElements.get(X.is)||window.customElements.define(X.is,X,{extends:X.tag});function Wi({literals:e,providers:t,settings:r}){function i(o,s){let{country:c,displayOldPrice:l,displayPerUnit:h,displayRecurrence:u,displayTax:f,forceTaxExclusive:m,language:p,promotionCode:T,quantity:y}=r,{displayOldPrice:v=l,displayPerUnit:A=h,displayRecurrence:x=u,displayTax:I=f,forceTaxExclusive:C=m,country:O=c,language:V=p,perpetual:q,promotionCode:G=T,quantity:ye=y,template:me,wcsOsi:Pe,...Z}=Object.assign({},s?.dataset??{},o??{}),Q=de({...Z,country:O,displayOldPrice:g(v),displayPerUnit:g(A),displayRecurrence:g(x),displayTax:g(I),forceTaxExclusive:g(C),language:V,perpetual:g(q),promotionCode:Ce(G).effectivePromoCode,quantity:ge(ye,L.quantity),template:me,wcsOsi:ot(Pe)});if(s)for(let B of t.price)B(s,Q);return Q}function n(o,s){if(!Array.isArray(o)||!o.length||!s)return"";let{template:c}=s,l;switch(c){case"discount":l=tr;break;case"strikethrough":l=Zt;break;case"optical":l=qt;break;case"annual":l=Qt;break;default:s.country==="AU"&&o[0].planType==="ABM"?l=s.promotionCode?er:Jt:l=s.promotionCode?$t:jt}let h=i(s);h.literals=Object.assign({},e.price,de(s.literals??{}));let[u]=o;return u={...u,...u.priceDetails},l(h,u)}let a=X.createInlinePrice;return{InlinePrice:X,buildPriceHTML:n,collectPriceOptions:i,createInlinePrice:a}}function zi({settings:e}){let t=M.module("wcs"),{env:r,wcsApiKey:i}=e,n=new Map,a=new Map,o;async function s(u,f,m=!0){let p=cr;t.debug("Fetching:",u);let T="",y,v=(A,x,I)=>`${A}: ${x?.status}, url: ${I.toString()}`;try{if(u.offerSelectorIds=u.offerSelectorIds.sort(),T=new URL(e.wcsURL),T.searchParams.set("offer_selector_ids",u.offerSelectorIds.join(",")),T.searchParams.set("country",u.country),T.searchParams.set("locale",u.locale),T.searchParams.set("landscape",r===ae.STAGE?"ALL":e.landscape),T.searchParams.set("api_key",i),u.language&&T.searchParams.set("language",u.language),u.promotionCode&&T.searchParams.set("promotion_code",u.promotionCode),u.currency&&T.searchParams.set("currency",u.currency),y=await fetch(T.toString(),{credentials:"omit"}),y.ok){let A=await y.json();t.debug("Fetched:",u,A);let x=A.resolvedOffers??[];x=x.map($e),f.forEach(({resolve:I},C)=>{let O=x.filter(({offerSelectorIds:V})=>V.includes(C)).flat();O.length&&(f.delete(C),I(O))})}else y.status===404&&u.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(u.offerSelectorIds.map(A=>s({...u,offerSelectorIds:[A]},f,!1)))):p=at}catch(A){p=at,t.error(p,u,A)}m&&f.size&&(t.debug("Missing:",{offerSelectorIds:[...f.keys()]}),f.forEach(A=>{A.reject(new Error(v(p,y,T)))}))}function c(){clearTimeout(o);let u=[...a.values()];a.clear(),u.forEach(({options:f,promises:m})=>s(f,m))}function l(){let u=n.size;n.clear(),t.debug(`Flushed ${u} cache entries`)}function h({country:u,language:f,perpetual:m=!1,promotionCode:p="",wcsOsi:T=[]}){let y=`${f}_${u}`;u!=="GB"&&(f=m?"EN":"MULT");let v=[u,f,p].filter(A=>A).join("-").toLowerCase();return T.map(A=>{let x=`${A}-${v}`;if(!n.has(x)){let I=new Promise((C,O)=>{let V=a.get(v);if(!V){let q={country:u,locale:y,offerSelectorIds:[]};u!=="GB"&&(q.language=f),V={options:q,promises:new Map},a.set(v,V)}p&&(V.options.promotionCode=p),V.options.offerSelectorIds.push(A),V.promises.set(A,{resolve:C,reject:O}),V.options.offerSelectorIds.length>=e.wcsBufferLimit?c():(t.debug("Queued:",V.options),o||(o=setTimeout(c,e.wcsBufferDelay)))});n.set(x,I)}return n.get(x)})}return{WcsCommitment:rr,WcsPlanType:ir,WcsTerm:nr,resolveOfferSelectors:h,flushWcsCache:l}}var vr="mas-commerce-service",Eo="mas:start",So="mas:ready",pt,ji,mt=class extends HTMLElement{constructor(){super(...arguments);Xe(this,pt);b(this,"promise",null)}async registerCheckoutAction(r){typeof r=="function"&&(this.buildCheckoutAction=async(i,n,a)=>{let o=await r?.(i,n,this.imsSignedInPromise,a);return o||null})}async activate(){let r=Ye(this,pt,ji),i=Object.freeze(br(r));st(r.lana);let n=M.init(r.hostEnv).module("service");n.debug("Activating:",r);let a={price:{}};try{a.price=await Yi(i,r.commerce.priceLiterals)}catch{}let o={checkout:new Set,price:new Set},s={literals:a,providers:o,settings:i};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...Bi(s),...Fi(s),...Wi(s),...zi(s),...Er,Log:M,get defaults(){return L},get log(){return M},get providers(){return{checkout(c){return o.checkout.add(c),()=>o.checkout.delete(c)},price(c){return o.price.add(c),()=>o.price.delete(c)}}},get settings(){return i}})),n.debug("Activated:",{literals:a,settings:i}),ce(()=>{let c=new CustomEvent(xe,{bubbles:!0,cancelable:!1,detail:this});performance.mark(So),this.dispatchEvent(c)})}connectedCallback(){this.readyPromise||(performance.mark(Eo),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")}};pt=new WeakSet,ji=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(i=>{let n=this.getAttribute(i);n&&(r[i]=n)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(i=>{let n=this.getAttribute(i);if(n!=null){let a=i.replace(/-([a-z])/g,o=>o[1].toUpperCase());r.commerce[a]=n}}),r},b(mt,"instance");window.customElements.get(vr)||window.customElements.define(vr,mt);export{ue as CheckoutButton,Y as CheckoutLink,F as CheckoutWorkflow,K as CheckoutWorkflowStep,L as Defaults,X as InlinePrice,$ as Landscape,M as Log,vr as TAG_NAME_SERVICE,fe as UptLink,rr as WcsCommitment,ir as WcsPlanType,nr as WcsTerm,$e as applyPlanType,br as getSettings}; +`,oe.MISSING_INTL_API,o);var P=r.getPluralRules(t,{type:h.pluralType}).select(u-(h.offset||0));x=h.options[P]||h.options.other}if(!x)throw new Xt(h.value,u,Object.keys(h.options),o);s.push.apply(s,De(x.value,t,r,n,i,u-(h.offset||0)));continue}}return sa(s)}function la(e,t){return t?S(S(S({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=S(S({},e[n]),t[n]||{}),r},{})):e}function ua(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=la(e[n],t[n]),r},S({},e)):e}function Wt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function ha(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Me(function(){for(var t,r=[],n=0;n0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=Tn,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 xn=bn;var ma=/[0-9\-+#]/,fa=/[^\d\-+#]/g;function gn(e){return e.search(ma)}function pa(e="#.##"){let t={},r=e.length,n=gn(e);t.prefix=n>0?e.substring(0,n):"";let i=gn(e.split("").reverse().join("")),a=r-i,o=e.substring(a,a+1),s=a+(o==="."||o===","?1:0);t.suffix=i>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let l=t.mask.match(fa);return t.decimal=l&&l[l.length-1]||".",t.separator=l&&l[1]&&l[0]||",",l=t.mask.split(t.decimal),t.integer=l[0],t.fraction=l[1],t}function Ta(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,Ea(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 Ea(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),i=n&&n.indexOf("0");if(i>-1)for(;e.integer.lengthe*12,_n=(e,t)=>{let{start:r,end:n,displaySummary:{amount:i,duration:a,minProductQuantity:o,outcomeType:s}={}}=e;if(!(i&&a&&s&&o))return!1;let l=t?new Date(t):new Date;if(!r||!n)return!1;let c=new Date(r),h=new Date(n);return l>=c&&l<=h},se={MONTH:"MONTH",YEAR:"YEAR"},Sa={[_.ANNUAL]:12,[_.MONTHLY]:1,[_.THREE_YEARS]:36,[_.TWO_YEARS]:24},jt=(e,t)=>({accept:e,round:t}),ba=[jt(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),jt(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),jt(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],zt={[O.YEAR]:{[_.MONTHLY]:se.MONTH,[_.ANNUAL]:se.YEAR},[O.MONTH]:{[_.MONTHLY]:se.MONTH}},xa=(e,t)=>e.indexOf(`'${t}'`)===0,ga=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=Cn(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+ya(e)),r},La=e=>{let t=Pa(e),r=xa(e,t),n=e.replace(/'.*?'/,""),i=In.test(n)||vn.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},Nn=e=>e.replace(In,Pn).replace(vn,Pn),ya=e=>e.match(/#(.?)#/)?.[1]===yn?da:yn,Pa=e=>e.match(/'(.*?)'/)?.[1]??"",Cn=e=>e.match(/0(.?)0/)?.[1]??"";function ge({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,a=o=>o){let{currencySymbol:o,isCurrencyFirst:s,hasCurrencySpace:l}=La(e),c=r?Cn(e):"",h=ga(e,r),m=r?2:0,u=a(t,{currencySymbol:o}),f=n?u.toLocaleString("hi-IN",{minimumFractionDigits:m,maximumFractionDigits:m}):Ln(h,u),p=r?f.lastIndexOf(c):f.length,T=f.substring(0,p),A=f.substring(p+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,f).replace(/SYMBOL/,o),currencySymbol:o,decimals:A,decimalsDelimiter:c,hasCurrencySpace:l,integer:T,isCurrencyFirst:s,recurrenceTerm:i}}var Vn=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=Sa[r]??1;return ge(e,i>1?se.MONTH:zt[t]?.[r],a=>{let o={divisor:i,price:a,usePrecision:n},{round:s}=ba.find(({accept:l})=>l(o));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(o)}`);return s(o)})},Rn=({commitment:e,term:t,...r})=>ge(r,zt[e]?.[t]),On=e=>{let{commitment:t,instant:r,price:n,originalPrice:i,priceWithoutDiscount:a,promotion:o,quantity:s=1,term:l}=e;if(t===O.YEAR&&l===_.MONTHLY){if(!o)return ge(e,se.YEAR,$t);let{displaySummary:{outcomeType:c,duration:h,minProductQuantity:m=1}={}}=o;switch(c){case"PERCENTAGE_DISCOUNT":if(s>=m&&_n(o,r)){let u=parseInt(h.replace("P","").replace("M",""));if(isNaN(u))return $t(n);let f=s*i*u,p=s*a*(12-u),T=Math.floor((f+p)*100)/100;return ge({...e,price:T},se.YEAR)}default:return ge(e,se.YEAR,()=>$t(a??n))}}return ge(e,zt[t]?.[l])};var Ia={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},va=Yr("ConsonantTemplates/price"),_a=/<\/?[^>]+(>|$)/g,w={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},ce={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Na="TAX_EXCLUSIVE",Ca=e=>Kr(e)?Object.entries(e).filter(([,t])=>de(t)||ze(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Br(n)+'"'}`,""):"",H=(e,t,r,n=!1)=>`${n?Nn(t):t??""}`;function Va(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:a,integer:o,isCurrencyFirst:s,recurrenceLabel:l,perUnitLabel:c,taxInclusivityLabel:h},m={}){let u=H(w.currencySymbol,r),f=H(w.currencySpace,a?" ":""),p="";return s&&(p+=u+f),p+=H(w.integer,o),p+=H(w.decimalsDelimiter,i),p+=H(w.decimals,n),s||(p+=f+u),p+=H(w.recurrence,l,null,!0),p+=H(w.unitType,c,null,!0),p+=H(w.taxInclusivity,h,!0),H(e,p,{...m,"aria-label":t})}var F=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1,instant:n=void 0}={})=>({country:i,displayFormatted:a=!0,displayRecurrence:o=!0,displayPerUnit:s=!1,displayTax:l=!1,language:c,literals:h={},quantity:m=1}={},{commitment:u,offerSelectorIds:f,formatString:p,price:T,priceWithoutDiscount:A,taxDisplay:v,taxTerm:L,term:x,usePrecision:P,promotion:N}={},R={})=>{Object.entries({country:i,formatString:p,language:c,price:T}).forEach(([q,At])=>{if(At==null)throw new Error(`Argument "${q}" is missing for osi ${f?.toString()}, country ${i}, language ${c}`)});let G={...Ia,...h},k=`${c.toLowerCase()}-${i.toUpperCase()}`;function C(q,At){let dt=G[q];if(dt==null)return"";try{return new xn(dt.replace(_a,""),k).format(At)}catch{return va.error("Failed to format literal:",dt),""}}let D=t&&A?A:T,Y=e?Vn:Rn;r&&(Y=On);let{accessiblePrice:ee,recurrenceTerm:X,...te}=Y({commitment:u,formatString:p,instant:n,isIndianPrice:i==="IN",originalPrice:T,priceWithoutDiscount:A,price:e?T:D,promotion:N,quantity:m,term:x,usePrecision:P}),K=ee,ve="";if(g(o)&&X){let q=C(ce.recurrenceAriaLabel,{recurrenceTerm:X});q&&(K+=" "+q),ve=C(ce.recurrenceLabel,{recurrenceTerm:X})}let Et="";if(g(s)){Et=C(ce.perUnitLabel,{perUnit:"LICENSE"});let q=C(ce.perUnitAriaLabel,{perUnit:"LICENSE"});q&&(K+=" "+q)}let _e="";g(l)&&L&&(_e=C(v===Na?ce.taxExclusiveLabel:ce.taxInclusiveLabel,{taxTerm:L}),_e&&(K+=" "+_e)),t&&(K=C(ce.strikethroughAriaLabel,{strikethroughPrice:K}));let Ne=w.container;if(e&&(Ne+=" "+w.containerOptical),t&&(Ne+=" "+w.containerStrikethrough),r&&(Ne+=" "+w.containerAnnual),g(a))return Va(Ne,{...te,accessibleLabel:K,recurrenceLabel:ve,perUnitLabel:Et,taxInclusivityLabel:_e},R);let{currencySymbol:Mr,decimals:ci,decimalsDelimiter:li,hasCurrencySpace:kr,integer:ui,isCurrencyFirst:hi}=te,Ae=[ui,li,ci];hi?(Ae.unshift(kr?"\xA0":""),Ae.unshift(Mr)):(Ae.push(kr?"\xA0":""),Ae.push(Mr)),Ae.push(ve,Et,_e);let mi=Ae.join("");return H(Ne,mi,R)},wn=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||g(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${F()(e,t,r)}${i?" "+F({displayStrikethrough:!0})(e,t,r):""}`},Mn=()=>(e,t,r)=>{let{instant:n}=e;try{n||(n=new URLSearchParams(document.location.search).get("instant")),n&&(n=new Date(n))}catch{n=void 0}let i={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||g(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?F({displayStrikethrough:!0})(i,t,r)+" ":""}${F()(e,t,r)}${H(w.containerAnnualPrefix," (")}${F({displayAnnual:!0,instant:n})(i,t,r)}${H(w.containerAnnualSuffix,")")}`},kn=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${F()(e,t,r)}${H(w.containerAnnualPrefix," (")}${F({displayAnnual:!0})(n,t,r)}${H(w.containerAnnualSuffix,")")}`};var qt=F(),Zt=wn(),Qt=F({displayOptical:!0}),Jt=F({displayStrikethrough:!0}),er=F({displayAnnual:!0}),tr=kn(),rr=Mn();var Ra=(e,t)=>{if(!(!be(e)||!be(t)))return Math.floor((t-e)/t*100)},Dn=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Ra(r,n);return i===void 0?'':`${i}%`};var nr=Dn();var{freeze:He}=Object,Oa={V2:"UCv2",V3:"UCv3"},W=He({...Oa}),wa={CHECKOUT:"checkout",CHECKOUT_EMAIL:"checkout/email",SEGMENTATION:"segmentation",BUNDLE:"bundle",COMMITMENT:"commitment",RECOMMENDATION:"recommendation",EMAIL:"email",PAYMENT:"payment",CHANGE_PLAN_TEAM_PLANS:"change-plan/team-upgrade/plans",CHANGE_PLAN_TEAM_PAYMENT:"change-plan/team-upgrade/payment"},$=He({...wa}),ne={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},ir=He({...O}),ar=He({...Wr}),or=He({..._});var yr={};bi(yr,{CLASS_NAME_FAILED:()=>cr,CLASS_NAME_HIDDEN:()=>ka,CLASS_NAME_PENDING:()=>lr,CLASS_NAME_RESOLVED:()=>ur,ERROR_MESSAGE_BAD_REQUEST:()=>hr,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>to,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>mr,EVENT_AEM_ERROR:()=>Qa,EVENT_AEM_LOAD:()=>Za,EVENT_MAS_ERROR:()=>eo,EVENT_MAS_READY:()=>Ja,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>Fa,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>za,EVENT_MERCH_CARD_COLLECTION_SORT:()=>ja,EVENT_MERCH_CARD_READY:()=>Ba,EVENT_MERCH_OFFER_READY:()=>Ua,EVENT_MERCH_OFFER_SELECT_READY:()=>Ga,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>Wa,EVENT_MERCH_SEARCH_CHANGE:()=>$a,EVENT_MERCH_SIDENAV_SELECT:()=>qa,EVENT_MERCH_STOCK_CHANGE:()=>Ya,EVENT_MERCH_STORAGE_CHANGE:()=>Xa,EVENT_OFFER_SELECTED:()=>Ka,EVENT_TYPE_FAILED:()=>fr,EVENT_TYPE_READY:()=>Le,EVENT_TYPE_RESOLVED:()=>pr,HEADER_X_REQUEST_ID:()=>br,LOG_NAMESPACE:()=>Tr,Landscape:()=>J,MARK_DURATION_SUFFIX:()=>Lr,MARK_START_SUFFIX:()=>gr,MAS_COMMERCE_SERVICE_INIT_TIME_MEASURE_NAME:()=>Ue,MODAL_TYPE_3_IN_1:()=>ue,NAMESPACE:()=>Ma,PARAM_AOS_API_KEY:()=>ro,PARAM_ENV:()=>Er,PARAM_LANDSCAPE:()=>Ar,PARAM_WCS_API_KEY:()=>no,PROVIDER_ENVIRONMENT:()=>xr,SELECTOR_MAS_CHECKOUT_LINK:()=>Un,SELECTOR_MAS_ELEMENT:()=>sr,SELECTOR_MAS_INLINE_PRICE:()=>Hn,SELECTOR_MAS_SP_BUTTON:()=>Ha,STATE_FAILED:()=>Z,STATE_PENDING:()=>ie,STATE_RESOLVED:()=>Q,TAG_NAME_SERVICE:()=>Da,WCS_PROD_URL:()=>dr,WCS_STAGE_URL:()=>Sr,WORKFLOW_STEP:()=>le});var Ma="merch",ka="hidden",Le="wcms:commerce:ready",Da="mas-commerce-service",Hn='span[is="inline-price"][data-wcs-osi]',Un='a[is="checkout-link"][data-wcs-osi],button[is="checkout-button"][data-wcs-osi]',Ha="sp-button[data-wcs-osi]",sr=`${Hn},${Un}`,Ua="merch-offer:ready",Ga="merch-offer-select:ready",Ba="merch-card:ready",Fa="merch-card:action-menu-toggle",Ka="merch-offer:selected",Ya="merch-stock:change",Xa="merch-storage:change",Wa="merch-quantity-selector:change",$a="merch-search:change",ja="merch-card-collection:sort",za="merch-card-collection:showmore",qa="merch-sidenav:select",Za="aem:load",Qa="aem:error",Ja="mas:ready",eo="mas:error",cr="placeholder-failed",lr="placeholder-pending",ur="placeholder-resolved",hr="Bad WCS request",mr="Commerce offer not found",to="Literals URL not provided",fr="mas:failed",pr="mas:resolved",Tr="mas/commerce",Er="commerce.env",Ar="commerce.landscape",ro="commerce.aosKey",no="commerce.wcsKey",dr="https://www.adobe.com/web_commerce_artifact",Sr="https://www.stage.adobe.com/web_commerce_artifact_stage",Z="failed",ie="pending",Q="resolved",J={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"},br="X-Request-Id",Ue="mas-commerce-service:initTime",le={CHECKOUT:"checkout",CHECKOUT_EMAIL:"checkout/email",SEGMENTATION:"segmentation",BUNDLE:"bundle",COMMITMENT:"commitment",RECOMMENDATION:"recommendation",EMAIL:"email",PAYMENT:"payment",CHANGE_PLAN_TEAM_PLANS:"change-plan/team-upgrade/plans",CHANGE_PLAN_TEAM_PAYMENT:"change-plan/team-upgrade/payment"},xr={PRODUCTION:"PRODUCTION"},ue={TWP:"twp",D2P:"d2p",CRM:"crm"},gr=":start",Lr=":duration";var Gn="mas-commerce-service";function Bn(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(Gn);i!==r&&(r=i,i&&e(i))}return document.addEventListener(Le,n,{once:t}),he(n),()=>document.removeEventListener(Le,n)}function Ge(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(Rt)),i}var he=e=>window.setTimeout(e);function ye(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(Pt).filter(be);return r.length||(r=[t]),r}function st(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(yt)}function U(){return document.getElementsByTagName(Gn)?.[0]}var me={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals","element"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},Fn=1e3;function io(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function Kn(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(!me.serializableTypes.includes(r))return r}return e}function ao(e,t){if(!me.ignoredProperties.includes(e))return Kn(t)}var Pr={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],a=t;r.forEach(c=>{c!=null&&(io(c)?n:i).push(c)}),n.length&&(a+=" "+n.map(Kn).join(" "));let{pathname:o,search:s}=window.location,l=`${me.delimiter}page=${o}${s}`;l.length>Fn&&(l=`${l.slice(0,Fn)}`),a+=l,i.length&&(a+=`${me.delimiter}facts=`,a+=JSON.stringify(i,ao)),window.lana?.log(a,me)}};function ct(e){Object.assign(me,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in me&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var y=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:W.V3,checkoutWorkflowStep:$.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:ne.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:J.PUBLISHED});var Ir=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function oo({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||y.language),t??(t=e?.split("_")?.[1]||y.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function vr(e={}){let{commerce:t={}}=e,r=ne.PRODUCTION,n=dr,i=V("checkoutClientId",t)??y.checkoutClientId,a=re(V("checkoutWorkflow",t),W,y.checkoutWorkflow),o=$.CHECKOUT;a===W.V3&&(o=re(V("checkoutWorkflowStep",t),$,y.checkoutWorkflowStep));let s=g(V("displayOldPrice",t),y.displayOldPrice),l=g(V("displayPerUnit",t),y.displayPerUnit),c=g(V("displayRecurrence",t),y.displayRecurrence),h=g(V("displayTax",t),y.displayTax),m=g(V("entitlement",t),y.entitlement),u=g(V("modal",t),y.modal),f=g(V("forceTaxExclusive",t),y.forceTaxExclusive),p=V("promotionCode",t)??y.promotionCode,T=ye(V("quantity",t)),A=V("wcsApiKey",t)??y.wcsApiKey,v=t?.env==="stage",L=J.PUBLISHED;["true",""].includes(t.allowOverride)&&(v=(V(Er,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",L=re(V(Ar,t),J,L)),v&&(r=ne.STAGE,n=Sr);let P=V("mas-io-url")??e.masIOUrl??`https://www${r===ne.STAGE?".stage":""}.adobe.com/mas/io`;return{...oo(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:a,checkoutWorkflowStep:o,displayPerUnit:l,displayRecurrence:c,displayTax:h,entitlement:m,extraOptions:y.extraOptions,modal:u,env:r,forceTaxExclusive:f,promotionCode:p,quantity:T,wcsApiKey:A,wcsURL:n,landscape:L,masIOUrl:P}}var _r={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},Nr=new Set,Cr=new Set,Yn=new Map,Xn={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},Wn={filter:({level:e})=>e!==_r.DEBUG},so={filter:()=>!1};function co(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Ce(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:performance.now().toFixed(3)}}function lo(e){[...Cr].every(t=>t(e))&&Nr.forEach(t=>t(e))}function $n(e){let t=(Yn.get(e)??0)+1;Yn.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>$n(`${n.namespace}/${i}`),updateConfig:ct};return Object.values(_r).forEach(i=>{n[i]=(a,...o)=>lo(co(i,a,e,o,r))}),Object.seal(n)}function lt(...e){e.forEach(t=>{let{append:r,filter:n}=t;Ce(n)&&Cr.add(n),Ce(r)&&Nr.add(r)})}function uo(e={}){let{name:t}=e,r=g(V("commerce.debug",{search:!0,storage:!0}),t===Ir.LOCAL);return lt(r?Xn:Wn),t===Ir.PROD&<(Pr),B}function ho(){Nr.clear(),Cr.clear()}var B={...$n(Tr),Level:_r,Plugins:{consoleAppender:Xn,debugFilter:Wn,quietFilter:so,lanaAppender:Pr},init:uo,reset:ho,use:lt};function fe(){let e=document.querySelector("mas-commerce-service");return e?{[Ue]:e.initDuration}:{}}var Pe=class e extends Error{constructor(t,r,n){if(super(t,{cause:n}),this.name="MasError",r.response){let i=r.response.headers?.get(br);i&&(r.requestId=i),r.response.status&&(r.status=r.response.status,r.statusText=r.response.statusText),r.response.url&&(r.url=r.response.url)}delete r.response,this.context=r,Error.captureStackTrace&&Error.captureStackTrace(this,e)}toString(){let t=Object.entries(this.context||{}).map(([n,i])=>`${n}: ${JSON.stringify(i)}`).join(", "),r=`${this.name}: ${this.message}`;return t&&(r+=` (${t})`),this.cause&&(r+=` +Caused by: ${this.cause}`),r}};var mo={[Z]:cr,[ie]:lr,[Q]:ur},fo={[Z]:fr,[Q]:pr},Ie=class{constructor(t){d(this,"changes",new Map);d(this,"connected",!1);d(this,"dispose",Se);d(this,"error");d(this,"log");d(this,"options");d(this,"promises",[]);d(this,"state",ie);d(this,"timer",null);d(this,"value");d(this,"version",0);d(this,"wrapperElement");this.wrapperElement=t,this.log=B.module("mas-element")}update(){[Z,ie,Q].forEach(t=>{this.wrapperElement.classList.toggle(mo[t],t===this.state)})}notify(){(this.state===Q||this.state===Z)&&(this.state===Q?this.promises.forEach(({resolve:r})=>r(this.wrapperElement)):this.state===Z&&this.promises.forEach(({reject:r})=>r(this.error)),this.promises=[]);let t=this.error;this.error instanceof Pe&&(t={message:this.error.message,...this.error.context}),this.wrapperElement.dispatchEvent(new CustomEvent(fo[this.state],{bubbles:!0,detail:t}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=Bn(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=Se}onceSettled(){let{error:t,promises:r,state:n}=this;return Q===n?Promise.resolve(this.wrapperElement):Z===n?Promise.reject(t):new Promise((i,a)=>{r.push({resolve:i,reject:a})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=Q,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),he(()=>this.notify()),!0)}toggleFailed(t,r,n){if(t!==this.version)return!1;n!==void 0&&(this.options=n),this.error=r,this.state=Z,this.update();let i=this.wrapperElement.getAttribute("is");return this.log?.error(`${i}: Failed to render: ${r.message}`,{element:this.wrapperElement,...r.context,...fe()}),he(()=>this.notify()),!0}togglePending(t){return this.version++,t&&(this.options=t),this.state=ie,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!U()||this.timer)return;let{error:r,options:n,state:i,value:a,version:o}=this;this.state=ie,this.timer=he(async()=>{this.timer=null;let s=null;if(this.changes.size&&(s=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:s}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:s})),s||t)try{await this.wrapperElement.render?.()===!1&&this.state===ie&&this.version===o&&(this.state=i,this.error=r,this.value=a,this.update(),this.notify())}catch(l){this.toggleFailed(this.version,l,n)}})}};function jn(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function ut(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,jn(t)),i}function ht(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,jn(t)),e):null}var po="download",To="upgrade";function mt(e,t={},r=""){let n=U();if(!n)return null;let{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:l,modal:c,perpetual:h,promotionCode:m,quantity:u,wcsOsi:f,extraOptions:p}=n.collectCheckoutOptions(t),T=ut(e,{checkoutMarketSegment:i,checkoutWorkflow:a,checkoutWorkflowStep:o,entitlement:s,upgrade:l,modal:c,perpetual:h,promotionCode:m,quantity:u,wcsOsi:f,extraOptions:p});return r&&(T.innerHTML=`${r}`),T}function ft(e){return class extends e{constructor(){super(...arguments);d(this,"checkoutActionHandler");d(this,"masElement",new Ie(this))}attributeChangedCallback(n,i,a){this.masElement.attributeChangedCallback(n,i,a)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}get opens3in1Modal(){return Object.values(ue).includes(this.getAttribute("data-modal-type"))&&!!this.href}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){let i=U();if(!i)return!1;this.dataset.imsCountry||i.imsCountryPromise.then(m=>{m&&(this.dataset.imsCountry=m)},Se),n.imsCountry=null;let a=i.collectCheckoutOptions(n,this);if(!a.wcsOsi.length)return!1;let o;try{o=JSON.parse(a.extraOptions??"{}")}catch(m){this.masElement.log?.error("cannot parse exta checkout options",m)}let s=this.masElement.togglePending(a);this.setCheckoutUrl("");let l=i.resolveOfferSelectors(a),c=await Promise.all(l);c=c.map(m=>Ge(m,a)),a.country=this.dataset.imsCountry||a.country;let h=await i.buildCheckoutAction?.(c.flat(),{...o,...a},this);return this.renderOffers(c.flat(),a,{},h,s)}add3in1ModalParams(n,i){try{let a=new URL(n);return a.searchParams.set("ctx","if"),i===ue.CRM?(a.searchParams.set("af","uc_segmentation_hide_tabs,uc_new_user_iframe,uc_new_system_close"),a.searchParams.set("cli","creative")):(a.searchParams.set("af","uc_new_user_iframe,uc_new_system_close"),a.searchParams.set("cli","mini_plans")),a.toString()}catch(a){this.masElement.log?.error("Failed to add 3-in-1 modal parameters",a)}}setModalType(n,i){try{let o=new URL(i).searchParams.get("modal");if([ue.TWP,ue.D2P,ue.CRM].includes(o))return n?.setAttribute("data-modal-type",o),o}catch(a){this.masElement.log?.error("Failed to set modal type",a)}}renderOffers(n,i,a={},o=void 0,s=void 0){let l=U();if(!l)return!1;i={...JSON.parse(this.dataset.extraOptions??"null"),...i,...a},s??(s=this.masElement.togglePending(i)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0);let h;if(o){this.classList.remove(po,To),this.masElement.toggleResolved(s,n,i);let{url:m,text:u,className:f,handler:p}=o;if(m&&(this.setCheckoutUrl(m),h=this.setModalType(this,m)),u&&(this.firstElementChild.innerHTML=u),f&&this.classList.add(...f.split(" ")),p&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=p.bind(this)),!h)return!0}if(n.length){if(this.masElement.toggleResolved(s,n,i)){let m=l.buildCheckoutURL(n,i),u=o&&h?this.add3in1ModalParams(m,h):m;return this.setCheckoutUrl(u),!0}}else{let m=new Error(`Not provided: ${i?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,m,i))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let i=U();if(!i)return!1;let{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:h,perpetual:m,promotionCode:u,quantity:f,wcsOsi:p}=i.collectCheckoutOptions(n);return ht(this,{checkoutMarketSegment:a,checkoutWorkflow:o,checkoutWorkflowStep:s,entitlement:l,upgrade:c,modal:h,perpetual:m,promotionCode:u,quantity:f,wcsOsi:p}),!0}}}var Be=class Be extends ft(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return mt(Be,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};d(Be,"is","checkout-link"),d(Be,"tag","a");var j=Be;window.customElements.get(j.is)||window.customElements.define(j.is,j,{extends:j.tag});var Fe=class Fe extends ft(HTMLButtonElement){static createCheckoutButton(t={},r=""){return mt(Fe,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};d(Fe,"is","checkout-button"),d(Fe,"tag","button");var pe=Fe;window.customElements.get(pe.is)||window.customElements.define(pe.is,pe,{extends:pe.tag});function Eo(e){return`https://${e==="PRODUCTION"?"www.adobe.com":"www.stage.adobe.com"}/offers/promo-terms.html`}var Ke,Te=class Te extends HTMLAnchorElement{constructor(){super();$e(this,Ke,!1);this.setAttribute("is",Te.is)}get isUptLink(){return!0}initializeWcsData(r,n){this.setAttribute("data-wcs-osi",r),n&&this.setAttribute("data-promotion-code",n),Ur(this,Ke,!0),this.composePromoTermsUrl()}attributeChangedCallback(r,n,i){We(this,Ke)&&this.composePromoTermsUrl()}composePromoTermsUrl(){let r=this.getAttribute("data-wcs-osi");if(!r){let m=this.closest("merch-card").querySelector("aem-fragment").getAttribute("fragment");console.error(`Missing 'data-wcs-osi' attribute on upt-link. Fragment: ${m}`);return}let n=U(),i=[r],a=this.getAttribute("data-promotion-code"),{country:o,language:s,env:l}=n.settings,c={country:o,language:s,wcsOsi:i,promotionCode:a},h=n.resolveOfferSelectors(c);Promise.all(h).then(([[m]])=>{let u=`locale=${s}_${o}&country=${o}&offer_id=${m.offerId}`;a&&(u+=`&promotion_code=${encodeURIComponent(a)}`),this.href=`${Eo(l)}?${u}`}).catch(m=>{console.error(`Could not resolve offer selectors for id: ${r}.`,m.message)})}static createFrom(r){let n=new Te;for(let i of r.attributes)i.name!=="is"&&(i.name==="class"&&i.value.includes("upt-link")?n.setAttribute("class",i.value.replace("upt-link","").trim()):n.setAttribute(i.name,i.value));return n.innerHTML=r.innerHTML,n.setAttribute("tabindex",0),n}};Ke=new WeakMap,d(Te,"is","upt-link"),d(Te,"tag","a"),d(Te,"observedAttributes",["data-wcs-osi","data-promotion-code"]);var Ee=Te;window.customElements.get(Ee.is)||window.customElements.define(Ee.is,Ee,{extends:Ee.tag});var Ao="p_draft_landscape",So="/store/",bo=new Map([["countrySpecific","cs"],["customerSegment","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"]]),Vr=new Set(["af","ai","apc","appctxid","cli","co","cs","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"]),xo=["env","workflowStep","clientId","country"],zn=e=>bo.get(e)??e;function Rr(e,t,r){for(let[n,i]of Object.entries(e)){let a=zn(n);i!=null&&r.has(a)&&t.set(a,i)}}function go(e){switch(e){case xr.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Lo(e,t){for(let r in e){let n=e[r];for(let[i,a]of Object.entries(n)){if(a==null)continue;let o=zn(i);t.set(`items[${r}][${o}]`,a)}}}function qn(e){yo(e);let{env:t,items:r,workflowStep:n,ms:i,marketSegment:a,ot:o,offerType:s,pa:l,productArrangementCode:c,landscape:h,...m}=e,u={marketSegment:a??i,offerType:s??o,productArrangementCode:c??l},f=new URL(go(t));return f.pathname=`${So}${n}`,n!==le.SEGMENTATION&&n!==le.CHANGE_PLAN_TEAM_PLANS&&Lo(r,f.searchParams),n===le.SEGMENTATION&&Rr(u,f.searchParams,Vr),Rr(m,f.searchParams,Vr),h===J.DRAFT&&Rr({af:Ao},f.searchParams,Vr),f.toString()}function yo(e){for(let t of xo)if(!e[t])throw new Error('Argument "checkoutData" is not valid, missing: '+t);if(e.workflowStep!==le.SEGMENTATION&&e.workflowStep!==le.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function Zn({providers:e,settings:t}){function r(a,o){let{checkoutClientId:s,checkoutWorkflow:l,checkoutWorkflowStep:c,country:h,language:m,promotionCode:u,quantity:f}=t,{checkoutMarketSegment:p,checkoutWorkflow:T=l,checkoutWorkflowStep:A=c,imsCountry:v,country:L=v??h,language:x=m,quantity:P=f,entitlement:N,upgrade:R,modal:G,perpetual:k,promotionCode:C=u,wcsOsi:D,extraOptions:Y,...ee}=Object.assign({},o?.dataset??{},a??{}),X=re(T,W,y.checkoutWorkflow),te=$.CHECKOUT;X===W.V3&&(te=re(A,$,y.checkoutWorkflowStep));let K=xe({...ee,extraOptions:Y,checkoutClientId:s,checkoutMarketSegment:p,country:L,quantity:ye(P,y.quantity),checkoutWorkflow:X,checkoutWorkflowStep:te,language:x,entitlement:g(N),upgrade:g(R),modal:g(G),perpetual:g(k),promotionCode:Ve(C).effectivePromoCode,wcsOsi:st(D)});if(o)for(let ve of e.checkout)ve(o,K);return K}function n(a,o){if(!Array.isArray(a)||!a.length||!o)return"";let{env:s,landscape:l}=t,{checkoutClientId:c,checkoutMarketSegment:h,checkoutWorkflow:m,checkoutWorkflowStep:u,country:f,promotionCode:p,quantity:T,...A}=r(o),v=window.frameElement?"if":"fp",L={checkoutPromoCode:p,clientId:c,context:v,country:f,env:s,items:[],marketSegment:h,workflowStep:u,landscape:l,...A};if(a.length===1){let[{offerId:x,offerType:P,productArrangementCode:N}]=a,{marketSegments:[R]}=a[0];Object.assign(L,{marketSegment:R,offerType:P,productArrangementCode:N}),L.items.push(T[0]===1?{id:x}:{id:x,quantity:T[0]})}else L.items.push(...a.map(({offerId:x},P)=>({id:x,quantity:T[P]??y.quantity})));return qn(L)}let{createCheckoutLink:i}=j;return{CheckoutLink:j,CheckoutWorkflow:W,CheckoutWorkflowStep:$,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function Po({interval:e=200,maxAttempts:t=25}={}){let r=B.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 Io(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function vo(e){let t=B.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 Qn({}){let e=Po(),t=Io(e),r=vo(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function ei(e,t){let{data:r}=t||await Promise.resolve().then(()=>gi(Jn(),1));if(Array.isArray(r)){let n=a=>r.find(o=>je(o.lang,a)),i=n(e.language)??n(y.language);if(i)return Object.freeze(i)}return{}}var ti=["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"],No={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"]},Ye=class Ye extends HTMLSpanElement{constructor(){super();d(this,"masElement",new Ie(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=U();if(!n)return null;let{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:h,quantity:m,template:u,wcsOsi:f}=n.collectPriceOptions(r);return ut(Ye,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:h,quantity:m,template:u,wcsOsi:f})}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(ti.includes(r)||ti.includes(o))return!0;let s=No[`${i}_${a}`];return s?!!(s.includes(r)||s.includes(o)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),a=Ge(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=U();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(Ge(await o,i),i,a)}renderOffers(r,n={},i=void 0){if(!this.isConnected)return;let a=U();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=U();if(!n)return!1;let{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:h,quantity:m,template:u,wcsOsi:f}=n.collectPriceOptions(r);return ht(this,{displayOldPrice:i,displayPerUnit:a,displayRecurrence:o,displayTax:s,forceTaxExclusive:l,perpetual:c,promotionCode:h,quantity:m,template:u,wcsOsi:f}),!0}};d(Ye,"is","inline-price"),d(Ye,"tag","span");var z=Ye;window.customElements.get(z.is)||window.customElements.define(z.is,z,{extends:z.tag});function ri({literals:e,providers:t,settings:r}){function n(o,s){let{country:l,displayOldPrice:c,displayPerUnit:h,displayRecurrence:m,displayTax:u,forceTaxExclusive:f,language:p,promotionCode:T,quantity:A}=r,{displayOldPrice:v=c,displayPerUnit:L=h,displayRecurrence:x=m,displayTax:P=u,forceTaxExclusive:N=f,country:R=l,language:G=p,perpetual:k,promotionCode:C=T,quantity:D=A,template:Y,wcsOsi:ee,...X}=Object.assign({},s?.dataset??{},o??{}),te=xe({...X,country:R,displayOldPrice:g(v),displayPerUnit:g(L),displayRecurrence:g(x),displayTax:g(P),forceTaxExclusive:g(N),language:G,perpetual:g(k),promotionCode:Ve(C).effectivePromoCode,quantity:ye(D,y.quantity),template:Y,wcsOsi:st(ee)});if(s)for(let K of t.price)K(s,te);return te}function i(o,s){if(!Array.isArray(o)||!o.length||!s)return"";let{template:l}=s,c;switch(l){case"discount":c=nr;break;case"strikethrough":c=Jt;break;case"optical":c=Qt;break;case"annual":c=er;break;default:s.country==="AU"&&o[0].planType==="ABM"?c=s.promotionCode?rr:tr:c=s.promotionCode?Zt:qt}let h=n(s);h.literals=Object.assign({},e.price,xe(s.literals??{}));let[m]=o;return m={...m,...m.priceDetails},c(h,m)}let a=z.createInlinePrice;return{InlinePrice:z,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:a}}async function ni(e,t={},r=2,n=100){let i;for(let a=0;a<=r;a++)try{return await fetch(e,t)}catch(o){if(i=o,a>r)break;await new Promise(s=>setTimeout(s,n*(a+1)))}throw i}var Or="wcs";function ii({settings:e}){let t=B.module(Or),{env:r,wcsApiKey:n}=e,i=new Map,a=new Map,o,s=new Map;async function l(u,f,p=!0){let T=mr;t.debug("Fetching:",u);let A="",v;if(u.offerSelectorIds.length>1)throw new Error("Multiple OSIs are not supported anymore");let L=new Map(f),[x]=u.offerSelectorIds,P=Date.now()+Math.random().toString(36).substring(2,7),N=`${Or}:${x}:${P}${gr}`,R=`${Or}:${x}:${P}${Lr}`,G,k;try{if(performance.mark(N),A=new URL(e.wcsURL),A.searchParams.set("offer_selector_ids",x),A.searchParams.set("country",u.country),A.searchParams.set("locale",u.locale),A.searchParams.set("landscape",r===ne.STAGE?"ALL":e.landscape),A.searchParams.set("api_key",n),u.language&&A.searchParams.set("language",u.language),u.promotionCode&&A.searchParams.set("promotion_code",u.promotionCode),u.currency&&A.searchParams.set("currency",u.currency),v=await ni(A.toString(),{credentials:"omit"}),v.ok){let C=[];try{let D=await v.json();t.debug("Fetched:",u,D),C=D.resolvedOffers??[]}catch(D){t.error(`Error parsing JSON: ${D.message}`,{...D.context,...fe()})}C=C.map(Ze),f.forEach(({resolve:D},Y)=>{let ee=C.filter(({offerSelectorIds:X})=>X.includes(Y)).flat();ee.length&&(L.delete(Y),f.delete(Y),D(ee))})}else T=hr}catch(C){T=`Network error: ${C.message}`}finally{({startTime:G,duration:k}=performance.measure(R,N)),performance.clearMarks(N),performance.clearMeasures(R)}p&&f.size&&(t.debug("Missing:",{offerSelectorIds:[...f.keys()]}),f.forEach(C=>{C.reject(new Pe(T,{...u,response:v,startTime:G,duration:k,...fe()}))}))}function c(){clearTimeout(o);let u=[...a.values()];a.clear(),u.forEach(({options:f,promises:p})=>l(f,p))}function h(){let u=i.size;s=new Map(i),i.clear(),t.debug(`Moved ${u} cache entries to stale cache`)}function m({country:u,language:f,perpetual:p=!1,promotionCode:T="",wcsOsi:A=[]}){let v=`${f}_${u}`;u!=="GB"&&(f=p?"EN":"MULT");let L=[u,f,T].filter(x=>x).join("-").toLowerCase();return A.map(x=>{let P=`${x}-${L}`;if(i.has(P))return i.get(P);let N=new Promise((R,G)=>{let k=a.get(L);if(!k){let C={country:u,locale:v,offerSelectorIds:[]};u!=="GB"&&(C.language=f),k={options:C,promises:new Map},a.set(L,k)}T&&(k.options.promotionCode=T),k.options.offerSelectorIds.push(x),k.promises.set(x,{resolve:R,reject:G}),c()}).catch(R=>{if(s.has(P))return s.get(P);throw R});return i.set(P,N),N})}return{WcsCommitment:ir,WcsPlanType:ar,WcsTerm:or,resolveOfferSelectors:m,flushWcsCacheInternal:h}}var wr="mas-commerce-service",ai="mas:start",oi="mas:ready",Tt,si,pt=class extends HTMLElement{constructor(){super(...arguments);$e(this,Tt);d(this,"readyPromise",null);d(this,"lastLoggingTime",0)}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(r){let n=We(this,Tt,si),i=Object.freeze(vr(n));ct(n.lana);let a=B.init(n.hostEnv).module("service");a.debug("Activating:",n);let o={price:{}};try{o.price=await ei(i,n.commerce.priceLiterals)}catch{}let s={checkout:new Set,price:new Set},l={literals:o,providers:s,settings:i};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...Zn(l),...Qn(l),...ri(l),...ii(l),...yr,Log:B,get defaults(){return y},get log(){return B},get providers(){return{checkout(c){return s.checkout.add(c),()=>s.checkout.delete(c)},price(c){return s.price.add(c),()=>s.price.delete(c)}}},get settings(){return i}})),a.debug("Activated:",{literals:o,settings:i}),he(()=>{let c=new CustomEvent(Le,{bubbles:!0,cancelable:!1,detail:this});performance.mark(oi),this.initDuration=performance.measure(Ue,ai,oi)?.duration,this.dispatchEvent(c),r(this)}),setTimeout(()=>{this.logFailedRequests()},1e4)}connectedCallback(){performance.mark(ai),this.readyPromise=new Promise(r=>this.activate(r))}disconnectedCallback(){this.readyPromise=null}flushWcsCache(){this.flushWcsCacheInternal(),this.log.debug("Flushed WCS cache")}refreshOffers(){this.flushWcsCacheInternal(),document.querySelectorAll(sr).forEach(r=>r.requestUpdate(!0)),this.log.debug("Refreshed WCS offers"),this.logFailedRequests()}refreshFragments(){this.flushWcsCacheInternal(),document.querySelectorAll("aem-fragment").forEach(r=>r.refresh()),this.log.debug("Refreshed AEM fragments"),this.logFailedRequests()}logFailedRequests(){let r=[...performance.getEntriesByType("resource")].filter(({startTime:i})=>i>this.lastLoggingTime).filter(({transferSize:i,duration:a,responseStatus:o})=>i===0&&a===0&&o<200||o>=400),n=Array.from(new Map(r.map(i=>[i.name,i])).values());if(n.some(({name:i})=>/(\/fragments\/|web_commerce_artifact)/.test(i))){let i=n.map(({name:a})=>a);this.log.error("Failed requests:",{failedUrls:i,...fe()})}this.lastLoggingTime=performance.now().toFixed(3)}};Tt=new WeakSet,si=function(){let r=this.getAttribute("env")??"prod",n={hostEnv:{name:r},commerce:{env:r},lana:{tags:this.getAttribute("lana-tags"),sampleRate:parseInt(this.getAttribute("lana-sample-rate")??1,10),isProdDomain:r==="prod"},masIOUrl:this.getAttribute("mas-io-url")};return["locale","country","language"].forEach(i=>{let a=this.getAttribute(i);a&&(n[i]=a)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(i=>{let a=this.getAttribute(i);if(a!=null){let o=i.replace(/-([a-z])/g,s=>s[1].toUpperCase());n.commerce[o]=a}}),n},d(pt,"instance");window.customElements.get(wr)||window.customElements.define(wr,pt);export{pe as CheckoutButton,j as CheckoutLink,W as CheckoutWorkflow,$ as CheckoutWorkflowStep,y as Defaults,z as InlinePrice,J as Landscape,B as Log,wr as TAG_NAME_SERVICE,Ee as UptLink,ir as WcsCommitment,ar as WcsPlanType,or as WcsTerm,Ze as applyPlanType,vr as getSettings}; diff --git a/libs/deps/mas/mas.js b/libs/deps/mas/mas.js index 77a0ac95044..77040bab576 100644 --- a/libs/deps/mas/mas.js +++ b/libs/deps/mas/mas.js @@ -1,9 +1,9 @@ -var Fs=Object.create;var sr=Object.defineProperty;var Ks=Object.getOwnPropertyDescriptor;var Ys=Object.getOwnPropertyNames;var js=Object.getPrototypeOf,Ws=Object.prototype.hasOwnProperty;var oo=e=>{throw TypeError(e)};var Xs=(e,t,r)=>t in e?sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var qs=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Zs=(e,t)=>{for(var r in t)sr(e,r,{get:t[r],enumerable:!0})},Qs=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of Ys(t))!Ws.call(e,i)&&i!==r&&sr(e,i,{get:()=>t[i],enumerable:!(n=Ks(t,i))||n.enumerable});return e};var Js=(e,t,r)=>(r=e!=null?Fs(js(e)):{},Qs(t||!e||!e.__esModule?sr(r,"default",{value:e,enumerable:!0}):r,e));var p=(e,t,r)=>Xs(e,typeof t!="symbol"?t+"":t,r),Qr=(e,t,r)=>t.has(e)||oo("Cannot "+r);var L=(e,t,r)=>(Qr(e,t,"read from private field"),r?r.call(e):t.get(e)),G=(e,t,r)=>t.has(e)?oo("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),K=(e,t,r,n)=>(Qr(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),ge=(e,t,r)=>(Qr(e,t,"access private method"),r);var Rs=qs((cg,Uh)=>{Uh.exports={total:38,offset:0,limit:38,data:[{lang:"ar",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0627\u0644\u0634\u0647\u0631} YEAR {/\u0627\u0644\u0639\u0627\u0645} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0643\u0644 \u0634\u0647\u0631} YEAR {\u0643\u0644 \u0639\u0627\u0645} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",freeLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",freeAriaLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0623\u0648 \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643 \u0628\u0642\u064A\u0645\u0629 {alternativePrice}",strikethroughAriaLabel:"\u0628\u0634\u0643\u0644 \u0645\u0646\u062A\u0638\u0645 \u0628\u0642\u064A\u0645\u0629 {strikethroughPrice}"},{lang:"bg",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433\u043E\u0434.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0435\u0441\u0435\u0446} YEAR {\u043D\u0430 \u0433\u043E\u0434\u0438\u043D\u0430} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",freeLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E \u043D\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0434\u043E\u0432\u043D\u043E \u043D\u0430 {strikethroughPrice}"},{lang:"cs",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\u011Bs\xEDc} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za m\u011Bs\xEDc} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenci} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenci} other {}}",freeLabel:"Zdarma",freeAriaLabel:"Zdarma",taxExclusiveLabel:"{taxTerm, select, GST {bez dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {bez DPH} TAX {bez dan\u011B} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {v\u010Detn\u011B dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {v\u010Detn\u011B DPH} TAX {v\u010Detn\u011B dan\u011B} IVA {v\u010Detn\u011B IVA} SST {v\u010Detn\u011B SST} KDV {v\u010Detn\u011B KDV} other {}}",alternativePriceAriaLabel:"P\u0159\xEDpadn\u011B za {alternativePrice}",strikethroughAriaLabel:"Pravideln\u011B za {strikethroughPrice}"},{lang:"da",recurrenceLabel:"{recurrenceTerm, select, MONTH {/md} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pr. m\xE5ned} YEAR {pr. \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. skat} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skat} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"de",recurrenceLabel:"{recurrenceTerm, select, MONTH {/Monat} YEAR {/Jahr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pro Monat} YEAR {pro Jahr} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",freeLabel:"Kostenlos",freeAriaLabel:"Kostenlos",taxExclusiveLabel:"{taxTerm, select, GST {zzgl. GST} VAT {zzgl. MwSt.} TAX {zzgl. Steuern} IVA {zzgl. IVA} SST {zzgl. SST} KDV {zzgl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. MwSt.} TAX {inkl. Steuern} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ: {alternativePrice}",strikethroughAriaLabel:"Regul\xE4r: {strikethroughPrice}"},{lang:"en",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},{lang:"et",recurrenceLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",perUnitLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",freeLabel:"Tasuta",freeAriaLabel:"Tasuta",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Teise v\xF5imalusena hinnaga {alternativePrice}",strikethroughAriaLabel:"Tavahind {strikethroughPrice}"},{lang:"fi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/kk} YEAR {/v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuukausittain} YEAR {vuosittain} other {}}",perUnitLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",freeLabel:"Maksuton",freeAriaLabel:"Maksuton",taxExclusiveLabel:"{taxTerm, select, GST {ilman GST:t\xE4} VAT {ilman ALV:t\xE4} TAX {ilman veroja} IVA {ilman IVA:ta} SST {ilman SST:t\xE4} KDV {ilman KDV:t\xE4} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {sis. GST:n} VAT {sis. ALV:n} TAX {sis. verot} IVA {sis. IVA:n} SST {sis. SST:n} KDV {sis. KDV:n} other {}}",alternativePriceAriaLabel:"Vaihtoehtoisesti hintaan {alternativePrice}",strikethroughAriaLabel:"S\xE4\xE4nn\xF6llisesti hintaan {strikethroughPrice}"},{lang:"fr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mois} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {par mois} YEAR {par an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {par licence} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {par licence} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {hors TPS} VAT {hors TVA} TAX {hors taxes} IVA {hors IVA} SST {hors SST} KDV {hors KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {TPS comprise} VAT {TVA comprise} TAX {taxes comprises} IVA {IVA comprise} SST {SST comprise} KDV {KDV comprise} other {}}",alternativePriceAriaLabel:"Autre prix {alternativePrice}",strikethroughAriaLabel:"Prix habituel {strikethroughPrice}"},{lang:"he",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"},{lang:"hu",recurrenceLabel:"{recurrenceTerm, select, MONTH {/h\xF3} YEAR {/\xE9v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {havonta} YEAR {\xE9vente} other {}}",perUnitLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",freeLabel:"Ingyenes",freeAriaLabel:"Ingyenes",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"M\xE1sik lehet\u0151s\xE9g: {alternativePrice}",strikethroughAriaLabel:"\xC1ltal\xE1ban {strikethroughPrice} \xE1ron"},{lang:"it",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mese} YEAR {/anno} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mese} YEAR {all'anno} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licenza} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licenza} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {escl. GST} VAT {escl. IVA.} TAX {escl. imposte} IVA {escl. IVA} SST {escl. SST} KDV {escl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. IVA} TAX {incl. imposte} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"In alternativa a {alternativePrice}",strikethroughAriaLabel:"Regolarmente a {strikethroughPrice}"},{lang:"ja",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCE\u6708} YEAR {\u6BCE\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",freeLabel:"\u7121\u6599",freeAriaLabel:"\u7121\u6599",taxExclusiveLabel:"{taxTerm, select, GST {GST \u5225} VAT {VAT \u5225} TAX {\u7A0E\u5225} IVA {IVA \u5225} SST {SST \u5225} KDV {KDV \u5225} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u8FBC} VAT {VAT \u8FBC} TAX {\u7A0E\u8FBC} IVA {IVA \u8FBC} SST {SST \u8FBC} KDV {KDV \u8FBC} other {}}",alternativePriceAriaLabel:"\u7279\u5225\u4FA1\u683C : {alternativePrice}",strikethroughAriaLabel:"\u901A\u5E38\u4FA1\u683C : {strikethroughPrice}"},{lang:"ko",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\uC6D4} YEAR {/\uB144} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\uC6D4\uAC04} YEAR {\uC5F0\uAC04} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",freeLabel:"\uBB34\uB8CC",freeAriaLabel:"\uBB34\uB8CC",taxExclusiveLabel:"{taxTerm, select, GST {GST \uC81C\uC678} VAT {VAT \uC81C\uC678} TAX {\uC138\uAE08 \uC81C\uC678} IVA {IVA \uC81C\uC678} SST {SST \uC81C\uC678} KDV {KDV \uC81C\uC678} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \uD3EC\uD568} VAT {VAT \uD3EC\uD568} TAX {\uC138\uAE08 \uD3EC\uD568} IVA {IVA \uD3EC\uD568} SST {SST \uD3EC\uD568} KDV {KDV \uD3EC\uD568} other {}}",alternativePriceAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0",strikethroughAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0"},{lang:"lt",recurrenceLabel:"{recurrenceTerm, select, MONTH { per m\u0117n.} YEAR { per metus} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\u0117n.} YEAR {per metus} other {}}",perUnitLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",freeLabel:"Nemokamai",freeAriaLabel:"Nemokamai",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Arba u\u017E {alternativePrice}",strikethroughAriaLabel:"Normaliai u\u017E {strikethroughPrice}"},{lang:"lv",recurrenceLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",perUnitLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",freeLabel:"Bezmaksas",freeAriaLabel:"Bezmaksas",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternat\u012Bvi par {alternativePrice}",strikethroughAriaLabel:"Regul\u0101ri par {strikethroughPrice}"},{lang:"nb",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd.} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5ned} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisens} other {}}",freeLabel:"Fri",freeAriaLabel:"Fri",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. avgift} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. avgift} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Regelmessig til {strikethroughPrice}"},{lang:"nl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd} YEAR {/jr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per maand} YEAR {per jaar} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licentie} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licentie} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. btw} TAX {excl. belasting} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. btw} TAX {incl. belasting} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Nu {alternativePrice}",strikethroughAriaLabel:"Normaal {strikethroughPrice}"},{lang:"pl",recurrenceLabel:"{recurrenceTerm, select, MONTH { / mies.} YEAR { / rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH { / miesi\u0105c} YEAR { / rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",freeLabel:"Bezp\u0142atne",freeAriaLabel:"Bezp\u0142atne",taxExclusiveLabel:"{taxTerm, select, GST {bez GST} VAT {bez VAT} TAX {netto} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {z GST} VAT {z VAT} TAX {brutto} IVA {z IVA} SST {z SST} KDV {z KDV} other {}}",alternativePriceAriaLabel:"Lub za {alternativePrice}",strikethroughAriaLabel:"Cena zwyk\u0142a: {strikethroughPrice}"},{lang:"pt",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xEAs} YEAR {/ano} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {por m\xEAs} YEAR {por ano} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {ICMS n\xE3o incluso} VAT {IVA n\xE3o incluso} TAX {impostos n\xE3o inclusos} IVA {IVA n\xE3o incluso} SST { SST n\xE3o incluso} KDV {KDV n\xE3o incluso} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {ICMS incluso} VAT {IVA incluso} TAX {impostos inclusos} IVA {IVA incluso} SST {SST incluso} KDV {KDV incluso} other {}}",alternativePriceAriaLabel:"Ou a {alternativePrice}",strikethroughAriaLabel:"Pre\xE7o normal: {strikethroughPrice}"},{lang:"ro",recurrenceLabel:"{recurrenceTerm, select, MONTH {/lun\u0103} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pe lun\u0103} YEAR {pe an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ, la {alternativePrice}",strikethroughAriaLabel:"\xCEn mod normal, la {strikethroughPrice}"},{lang:"ru",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0432 \u043C\u0435\u0441\u044F\u0446} YEAR {\u0432 \u0433\u043E\u0434} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",freeLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0438\u0441\u043A\u043B. \u041D\u0414\u0421} TAX {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0438\u0441\u043A\u043B. \u0418\u0412\u0410} SST {\u0438\u0441\u043A\u043B. SST} KDV {\u0438\u0441\u043A\u043B. \u041A\u0414\u0412} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0432\u043A\u043B. \u041D\u0414\u0421} TAX {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0432\u043A\u043B. \u0418\u0412\u0410} SST {\u0432\u043A\u043B. SST} KDV {\u0432\u043A\u043B. \u041A\u0414\u0412} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E \u043F\u043E \u0446\u0435\u043D\u0435 {strikethroughPrice}"},{lang:"sk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesiac} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za mesiac} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",freeLabel:"Zadarmo",freeAriaLabel:"Zadarmo",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Pr\xEDpadne za {alternativePrice}",strikethroughAriaLabel:"Pravidelne za {strikethroughPrice}"},{lang:"sl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesec} YEAR {/leto} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {na mesec} YEAR {na leto} other {}}",perUnitLabel:"{perUnit, select, LICENSE {na licenco} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {na licenco} other {}}",freeLabel:"Brezpla\u010Dno",freeAriaLabel:"Brezpla\u010Dno",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Druga mo\u017Enost je: {alternativePrice}",strikethroughAriaLabel:"Redno po {strikethroughPrice}"},{lang:"sv",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xE5n} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5nad} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licens} other {}}",freeLabel:"Kostnadsfritt",freeAriaLabel:"Kostnadsfritt",taxExclusiveLabel:"{taxTerm, select, GST {exkl. GST} VAT {exkl. moms} TAX {exkl. skatt} IVA {exkl. IVA} SST {exkl. SST} KDV {exkl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skatt} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt f\xF6r {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"tr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/ay} YEAR {/y\u0131l} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {(ayl\u0131k)} YEAR {(y\u0131ll\u0131k)} other {}}",perUnitLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",freeLabel:"\xDCcretsiz",freeAriaLabel:"\xDCcretsiz",taxExclusiveLabel:"{taxTerm, select, GST {GST hari\xE7} VAT {KDV hari\xE7} TAX {vergi hari\xE7} IVA {IVA hari\xE7} SST {SST hari\xE7} KDV {KDV hari\xE7} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST dahil} VAT {KDV dahil} TAX {vergi dahil} IVA {IVA dahil} SST {SST dahil} KDV {KDV dahil} other {}}",alternativePriceAriaLabel:"Ya da {alternativePrice}",strikethroughAriaLabel:"Standart fiyat: {strikethroughPrice}"},{lang:"uk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0456\u0441.} YEAR {/\u0440\u0456\u043A} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C} YEAR {\u043D\u0430 \u0440\u0456\u043A} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",freeLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0431\u0435\u0437 GST} VAT {\u0431\u0435\u0437 \u041F\u0414\u0412} TAX {\u0431\u0435\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u0443} IVA {\u0431\u0435\u0437 IVA} SST {\u0431\u0435\u0437 SST} KDV {\u0431\u0435\u0437 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 GST} VAT {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u041F\u0414\u0412} TAX {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u043E\u043C} IVA {\u0440\u0430\u0437\u043E\u043C \u0437 IVA} SST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 SST} KDV {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 KDV} other {}}",alternativePriceAriaLabel:"\u0410\u0431\u043E \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0430 \u0446\u0456\u043D\u0430 {strikethroughPrice}"},{lang:"zh-hans",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",freeLabel:"\u514D\u8D39",freeAriaLabel:"\u514D\u8D39",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u6216\u5B9A\u4EF7 {alternativePrice}",strikethroughAriaLabel:"\u6B63\u5E38\u4EF7 {strikethroughPrice}"},{lang:"zh-hant",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",freeLabel:"\u514D\u8CBB",freeAriaLabel:"\u514D\u8CBB",taxExclusiveLabel:"{taxTerm, select, GST {\u4E0D\u542B GST} VAT {\u4E0D\u542B VAT} TAX {\u4E0D\u542B\u7A05} IVA {\u4E0D\u542B IVA} SST {\u4E0D\u542B SST} KDV {\u4E0D\u542B KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u542B GST} VAT {\u542B VAT} TAX {\u542B\u7A05} IVA {\u542B IVA} SST {\u542B SST} KDV {\u542B KDV} other {}}",alternativePriceAriaLabel:"\u6216\u8005\u5728 {alternativePrice}",strikethroughAriaLabel:"\u6A19\u6E96\u50F9\u683C\u70BA {strikethroughPrice}"},{lang:"es",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mes} YEAR {/a\xF1o} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mes} YEAR {al a\xF1o} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licencia} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licencia} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {GST no incluido} VAT {IVA no incluido} TAX {Impuestos no incluidos} IVA {IVA no incluido} SST {SST no incluido} KDV {KDV no incluido} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST incluido} VAT {IVA incluido} TAX {Impuestos incluidos} IVA {IVA incluido} SST {SST incluido} KDV {KDV incluido} other {}}",alternativePriceAriaLabel:"Alternativamente por {alternativePrice}",strikethroughAriaLabel:"Normalmente a {strikethroughPrice}"},{lang:"in",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {tidak termasuk PBJ} VAT {tidak termasuk PPN} TAX {tidak termasuk pajak} IVA {tidak termasuk IVA} SST {tidak termasuk SST} KDV {tidak termasuk KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk PBJ} VAT {termasuk PPN} TAX {termasuk pajak} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Atau seharga {alternativePrice}",strikethroughAriaLabel:"Normalnya seharga {strikethroughPrice}"},{lang:"vi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/th\xE1ng} YEAR {/n\u0103m} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u1ED7i th\xE1ng} YEAR {m\u1ED7i n\u0103m} other {}}",perUnitLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",freeLabel:"Mi\u1EC5n ph\xED",freeAriaLabel:"Mi\u1EC5n ph\xED",taxExclusiveLabel:"{taxTerm, select, GST {ch\u01B0a bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5} VAT {ch\u01B0a bao g\u1ED3m thu\u1EBF GTGT} TAX {ch\u01B0a bao g\u1ED3m thu\u1EBF} IVA {ch\u01B0a bao g\u1ED3m IVA} SST {ch\u01B0a bao g\u1ED3m SST} KDV {ch\u01B0a bao g\u1ED3m KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u0111\xE3 bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5)} VAT {(\u0111\xE3 bao g\u1ED3m thu\u1EBF GTGT)} TAX {(\u0111\xE3 bao g\u1ED3m thu\u1EBF)} IVA {(\u0111\xE3 bao g\u1ED3m IVA)} SST {(\u0111\xE3 bao g\u1ED3m SST)} KDV {(\u0111\xE3 bao g\u1ED3m KDV)} other {}}",alternativePriceAriaLabel:"Gi\xE1 \u01B0u \u0111\xE3i {alternativePrice}",strikethroughAriaLabel:"Gi\xE1 th\xF4ng th\u01B0\u1EDDng {strikethroughPrice}"},{lang:"th",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {/\u0E1B\u0E35} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0E15\u0E48\u0E2D\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {\u0E15\u0E48\u0E2D\u0E1B\u0E35} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",freeLabel:"\u0E1F\u0E23\u0E35",freeAriaLabel:"\u0E1F\u0E23\u0E35",taxExclusiveLabel:"{taxTerm, select, GST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 VAT} TAX {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 IVA} SST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 SST} KDV {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E23\u0E27\u0E21 VAT} TAX {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E23\u0E27\u0E21 IVA} SST {\u0E23\u0E27\u0E21 SST} KDV {\u0E23\u0E27\u0E21 KDV} other {}}",alternativePriceAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1E\u0E34\u0E40\u0E28\u0E29 {alternativePrice}",strikethroughAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1B\u0E01\u0E15\u0E34 {strikethroughPrice}"},{lang:"el",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u03BC\u03AE\u03BD\u03B1} YEAR {/\u03AD\u03C4\u03BF\u03C2} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u03BA\u03AC\u03B8\u03B5 \u03BC\u03AE\u03BD\u03B1} YEAR {\u03B1\u03BD\u03AC \u03AD\u03C4\u03BF\u03C2} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",freeLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",freeAriaLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",taxExclusiveLabel:"{taxTerm, select, GST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 GST)} VAT {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF)} IVA {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 IVA)} SST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 SST)} KDV {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 KDV)} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 GST)} VAT {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF\u03C5)} IVA {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 IVA)} SST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 SST)} KDV {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 KDV)} other {}}",alternativePriceAriaLabel:"\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03B5\u03C4\u03B9\u03BA\u03AC, {alternativePrice}",strikethroughAriaLabel:"\u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE {strikethroughPrice}"},{lang:"fil",recurrenceLabel:"{recurrenceTerm, select, MONTH {/buwan} YEAR {/taon} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per buwan} YEAR {per taon} other {}}",perUnitLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",freeLabel:"Libre",freeAriaLabel:"Libre",taxExclusiveLabel:"{taxTerm, select, GST {hindi kasama ang GST} VAT {hindi kasama ang VAT} TAX {hindi kasama ang Buwis} IVA {hindi kasama ang IVA} SST {hindi kasama ang SST} KDV {hindi kasama ang KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {kasama ang GST} VAT {kasama ang VAT} TAX {kasama ang Buwis} IVA {kasama ang IVA} SST {kasama ang SST} KDV {kasama ang KDV} other {}}",alternativePriceAriaLabel:"Alternatibong nasa halagang {alternativePrice}",strikethroughAriaLabel:"Regular na nasa halagang {strikethroughPrice}"},{lang:"ms",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",freeLabel:"Percuma",freeAriaLabel:"Percuma",taxExclusiveLabel:"{taxTerm, select, GST {kecuali GST} VAT {kecuali VAT} TAX {kecuali Cukai} IVA {kecuali IVA} SST {kecuali SST} KDV {kecuali KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk GST} VAT {termasuk VAT} TAX {termasuk Cukai} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Secara alternatif pada {alternativePrice}",strikethroughAriaLabel:"Biasanya pada {strikethroughPrice}"},{lang:"hi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u092E\u093E\u0939} YEAR {/\u0935\u0930\u094D\u0937} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per \u092E\u093E\u0939} YEAR {per \u0935\u0930\u094D\u0937} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",freeLabel:"\u092B\u093C\u094D\u0930\u0940",freeAriaLabel:"\u092B\u093C\u094D\u0930\u0940",taxExclusiveLabel:"{taxTerm, select, GST {GST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} VAT {VAT \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} TAX {\u0915\u0930 \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} IVA {IVA \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} SST {SST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} KDV {KDV \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u0938\u0939\u093F\u0924} VAT {VAT \u0938\u0939\u093F\u0924} TAX {\u0915\u0930 \u0938\u0939\u093F\u0924} IVA {IVA \u0938\u0939\u093F\u0924} SST {SST \u0938\u0939\u093F\u0924} KDV {KDV \u0938\u0939\u093F\u0924} other {}}",alternativePriceAriaLabel:"\u0935\u0948\u0915\u0932\u094D\u092A\u093F\u0915 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {alternativePrice}",strikethroughAriaLabel:"\u0928\u093F\u092F\u092E\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {strikethroughPrice}"},{lang:"iw",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:'{taxTerm, select, GST {\u05DC\u05DC\u05D0 GST} VAT {\u05DC\u05DC\u05D0 \u05DE\u05E2"\u05DE} TAX {\u05DC\u05DC\u05D0 \u05DE\u05E1} IVA {\u05DC\u05DC\u05D0 IVA} SST {\u05DC\u05DC\u05D0 SST} KDV {\u05DC\u05DC\u05D0 KDV} other {}}',taxInclusiveLabel:'{taxTerm, select, GST {\u05DB\u05D5\u05DC\u05DC GST} VAT {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E2"\u05DE} TAX {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E1} IVA {\u05DB\u05D5\u05DC\u05DC IVA} SST {\u05DB\u05D5\u05DC\u05DC SST} KDV {\u05DB\u05D5\u05DC\u05DC KDV} other {}}',alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"}],":type":"sheet"}});(function(){let r={clientId:"",endpoint:"https://www.adobe.com/lana/ll",endpointStage:"https://www.stage.adobe.com/lana/ll",errorType:"e",sampleRate:1,tags:"",implicitSampleRate:1,useProd:!0,isProdDomain:!1},n=window;function i(){let{host:h}=window.location;return h.substring(h.length-10)===".adobe.com"&&h.substring(h.length-15)!==".corp.adobe.com"&&h.substring(h.length-16)!==".stage.adobe.com"}function o(h,d){h||(h={}),d||(d={});function u(m){return h[m]!==void 0?h[m]:d[m]!==void 0?d[m]:r[m]}return Object.keys(r).reduce((m,f)=>(m[f]=u(f),m),{})}function a(h,d){h=h&&h.stack?h.stack:h||"",h.length>2e3&&(h=`${h.slice(0,2e3)}`);let u=o(d,n.lana.options);if(!u.clientId){console.warn("LANA ClientID is not set in options.");return}let f=parseInt(new URL(window.location).searchParams.get("lana-sample"),10)||(u.errorType==="i"?u.implicitSampleRate:u.sampleRate);if(!n.lana.debug&&!n.lana.localhost&&f<=Math.random()*100)return;let g=i()||u.isProdDomain,T=!g||!u.useProd?u.endpointStage:u.endpoint,P=[`m=${encodeURIComponent(h)}`,`c=${encodeURI(u.clientId)}`,`s=${f}`,`t=${encodeURI(u.errorType)}`];if(u.tags&&P.push(`tags=${encodeURI(u.tags)}`),(!g||n.lana.debug||n.lana.localhost)&&console.log("LANA Msg: ",h,` -Opts:`,u),!n.lana.localhost||n.lana.debug){let x=new XMLHttpRequest;return n.lana.debug&&(P.push("d"),x.addEventListener("load",()=>{console.log("LANA response:",x.responseText)})),x.open("GET",`${T}?${P.join("&")}`),x.send(),x}}function s(h){a(h.reason||h.error||h.message,{errorType:"i"})}function c(){return n.location.search.toLowerCase().indexOf("lanadebug")!==-1}function l(){return n.location.host.toLowerCase().indexOf("localhost")!==-1}n.lana={debug:!1,log:a,options:o(n.lana&&n.lana.options)},c()&&(n.lana.debug=!0),l()&&(n.lana.localhost=!0),n.addEventListener("error",s),n.addEventListener("unhandledrejection",s)})();var cr=window,hr=cr.ShadowRoot&&(cr.ShadyCSS===void 0||cr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,so=Symbol(),ao=new WeakMap,lr=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==so)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(hr&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=ao.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&ao.set(r,t))}return t}toString(){return this.cssText}},co=e=>new lr(typeof e=="string"?e:e+"",void 0,so);var Jr=(e,t)=>{hr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=cr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},dr=hr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return co(r)})(e):e;var en,ur=window,lo=ur.trustedTypes,ec=lo?lo.emptyScript:"",ho=ur.reactiveElementPolyfillSupport,rn={toAttribute(e,t){switch(t){case Boolean:e=e?ec:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},uo=(e,t)=>t!==e&&(t==t||e==e),tn={attribute:!0,type:String,converter:rn,reflect:!1,hasChanged:uo},nn="finalized",we=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=tn){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||tn}static finalize(){if(this.hasOwnProperty(nn))return!1;this[nn]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(dr(i))}else t!==void 0&&r.push(dr(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Jr(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=tn){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:rn).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:rn;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||uo)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};we[nn]=!0,we.elementProperties=new Map,we.elementStyles=[],we.shadowRootOptions={mode:"open"},ho?.({ReactiveElement:we}),((en=ur.reactiveElementVersions)!==null&&en!==void 0?en:ur.reactiveElementVersions=[]).push("1.6.3");var on,mr=window,Je=mr.trustedTypes,mo=Je?Je.createPolicy("lit-html",{createHTML:e=>e}):void 0,sn="$lit$",be=`lit$${(Math.random()+"").slice(9)}$`,Ao="?"+be,tc=`<${Ao}>`,Pe=document,pr=()=>Pe.createComment(""),Rt=e=>e===null||typeof e!="object"&&typeof e!="function",yo=Array.isArray,rc=e=>yo(e)||typeof e?.[Symbol.iterator]=="function",an=`[ -\f\r]`,Nt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,po=/-->/g,fo=/>/g,Le=RegExp(`>|${an}(?:([^\\s"'>=/]+)(${an}*=${an}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),go=/'/g,bo=/"/g,Eo=/^(?:script|style|textarea|title)$/i,So=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),Xh=So(1),qh=So(2),Ot=Symbol.for("lit-noChange"),D=Symbol.for("lit-nothing"),xo=new WeakMap,_e=Pe.createTreeWalker(Pe,129,null,!1);function To(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return mo!==void 0?mo.createHTML(t):t}var nc=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Nt;for(let s=0;s"?(a=i??Nt,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?Le:h[3]==='"'?bo:go):a===bo||a===go?a=Le:a===po||a===fo?a=Nt:(a=Le,i=void 0);let m=a===Le&&e[s+1].startsWith("/>")?" ":"";o+=a===Nt?c+tc:d>=0?(n.push(l),c.slice(0,d)+sn+c.slice(d)+be+m):c+be+(d===-2?(n.push(void 0),s):m)}return[To(e,o+(e[r]||"")+(t===2?"":"")),n]},Mt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=nc(t,r);if(this.el=e.createElement(l,n),_e.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=_e.nextNode())!==null&&c.length0){i.textContent=Je?Je.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=D}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=et(this,t,r,0),a=!Rt(t)||t!==this._$AH&&t!==Ot,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;cnew Vt(typeof e=="string"?e:e+"",void 0,mn),_=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,o)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[o+1],e[0]);return new Vt(r,e,mn)},pn=(e,t)=>{br?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=gr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},xr=br?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return xe(r)})(e):e;var fn,vr=window,Lo=vr.trustedTypes,oc=Lo?Lo.emptyScript:"",_o=vr.reactiveElementPolyfillSupport,bn={toAttribute(e,t){switch(t){case Boolean:e=e?oc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Po=(e,t)=>t!==e&&(t==t||e==e),gn={attribute:!0,type:String,converter:bn,reflect:!1,hasChanged:Po},xn="finalized",oe=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=gn){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||gn}static finalize(){if(this.hasOwnProperty(xn))return!1;this[xn]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(xr(i))}else t!==void 0&&r.push(xr(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return pn(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=gn){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:bn).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:bn;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||Po)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};oe[xn]=!0,oe.elementProperties=new Map,oe.elementStyles=[],oe.shadowRootOptions={mode:"open"},_o?.({ReactiveElement:oe}),((fn=vr.reactiveElementVersions)!==null&&fn!==void 0?fn:vr.reactiveElementVersions=[]).push("1.6.3");var vn,Ar=window,rt=Ar.trustedTypes,Co=rt?rt.createPolicy("lit-html",{createHTML:e=>e}):void 0,yn="$lit$",ve=`lit$${(Math.random()+"").slice(9)}$`,Vo="?"+ve,ac=`<${Vo}>`,Ie=document,Ht=()=>Ie.createComment(""),Ut=e=>e===null||typeof e!="object"&&typeof e!="function",$o=Array.isArray,sc=e=>$o(e)||typeof e?.[Symbol.iterator]=="function",An=`[ -\f\r]`,$t=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ko=/-->/g,Io=/>/g,Ce=RegExp(`>|${An}(?:([^\\s"'>=/]+)(${An}*=${An}*(?:[^ -\f\r"'\`<>=]|("|')|))|$)`,"g"),No=/'/g,Ro=/"/g,Ho=/^(?:script|style|textarea|title)$/i,Uo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),b=Uo(1),rd=Uo(2),Ne=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Oo=new WeakMap,ke=Ie.createTreeWalker(Ie,129,null,!1);function Do(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Co!==void 0?Co.createHTML(t):t}var cc=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=$t;for(let s=0;s"?(a=i??$t,d=-1):h[1]===void 0?d=-2:(d=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?Ce:h[3]==='"'?Ro:No):a===Ro||a===No?a=Ce:a===ko||a===Io?a=$t:(a=Ce,i=void 0);let m=a===Ce&&e[s+1].startsWith("/>")?" ":"";o+=a===$t?c+ac:d>=0?(n.push(l),c.slice(0,d)+yn+c.slice(d)+ve+m):c+ve+(d===-2?(n.push(void 0),s):m)}return[Do(e,o+(e[r]||"")+(t===2?"":"")),n]},Dt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=cc(t,r);if(this.el=e.createElement(l,n),ke.currentNode=this.el.content,r===2){let d=this.el.content,u=d.firstChild;u.remove(),d.append(...u.childNodes)}for(;(i=ke.nextNode())!==null&&c.length0){i.textContent=rt?rt.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=nt(this,t,r,0),a=!Ut(t)||t!==this._$AH&&t!==Ne,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;c{var n,i;let o=(n=r?.renderBefore)!==null&&n!==void 0?n:t,a=o._$litPart$;if(a===void 0){let s=(i=r?.renderBefore)!==null&&i!==void 0?i:null;o._$litPart$=a=new Bt(t.insertBefore(Ht(),s),s,void 0,r??{})}return a._$AI(e),a};var _n,Pn;var X=class extends oe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,r;let n=super.createRenderRoot();return(t=(r=this.renderOptions).renderBefore)!==null&&t!==void 0||(r.renderBefore=n.firstChild),n}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Bo(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return Ne}};X.finalized=!0,X._$litElement$=!0,(_n=globalThis.litElementHydrateSupport)===null||_n===void 0||_n.call(globalThis,{LitElement:X});var Go=globalThis.litElementPolyfillSupport;Go?.({LitElement:X});((Pn=globalThis.litElementVersions)!==null&&Pn!==void 0?Pn:globalThis.litElementVersions=[]).push("3.3.3");var Ae="(max-width: 767px)",yr="(max-width: 1199px)",V="(min-width: 768px)",M="(min-width: 1200px)",q="(min-width: 1600px)";var zo=_` +var oc=Object.create;var xr=Object.defineProperty;var ac=Object.getOwnPropertyDescriptor;var sc=Object.getOwnPropertyNames;var cc=Object.getPrototypeOf,lc=Object.prototype.hasOwnProperty;var wo=e=>{throw TypeError(e)};var hc=(e,t,r)=>t in e?xr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var dc=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),uc=(e,t)=>{for(var r in t)xr(e,r,{get:t[r],enumerable:!0})},mc=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of sc(t))!lc.call(e,i)&&i!==r&&xr(e,i,{get:()=>t[i],enumerable:!(n=ac(t,i))||n.enumerable});return e};var pc=(e,t,r)=>(r=e!=null?oc(cc(e)):{},mc(t||!e||!e.__esModule?xr(r,"default",{value:e,enumerable:!0}):r,e));var p=(e,t,r)=>hc(e,typeof t!="symbol"?t+"":t,r),pn=(e,t,r)=>t.has(e)||wo("Cannot "+r);var x=(e,t,r)=>(pn(e,t,"read from private field"),r?r.call(e):t.get(e)),V=(e,t,r)=>t.has(e)?wo("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),D=(e,t,r,n)=>(pn(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),de=(e,t,r)=>(pn(e,t,"access private method"),r);var Ys=dc((Ig,qh)=>{qh.exports={total:38,offset:0,limit:38,data:[{lang:"ar",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0627\u0644\u0634\u0647\u0631} YEAR {/\u0627\u0644\u0639\u0627\u0645} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0643\u0644 \u0634\u0647\u0631} YEAR {\u0643\u0644 \u0639\u0627\u0645} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0644\u0643\u0644 \u062A\u0631\u062E\u064A\u0635} other {}}",freeLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",freeAriaLabel:"\u0645\u062C\u0627\u0646\u064B\u0627",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0623\u0648 \u0628\u062F\u0644\u0627\u064B \u0645\u0646 \u0630\u0644\u0643 \u0628\u0642\u064A\u0645\u0629 {alternativePrice}",strikethroughAriaLabel:"\u0628\u0634\u0643\u0644 \u0645\u0646\u062A\u0638\u0645 \u0628\u0642\u064A\u0645\u0629 {strikethroughPrice}"},{lang:"bg",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433\u043E\u0434.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0435\u0441\u0435\u0446} YEAR {\u043D\u0430 \u0433\u043E\u0434\u0438\u043D\u0430} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u043D\u0430 \u043B\u0438\u0446\u0435\u043D\u0437} other {}}",freeLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u043E \u043D\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0434\u043E\u0432\u043D\u043E \u043D\u0430 {strikethroughPrice}"},{lang:"cs",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\u011Bs\xEDc} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za m\u011Bs\xEDc} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenci} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenci} other {}}",freeLabel:"Zdarma",freeAriaLabel:"Zdarma",taxExclusiveLabel:"{taxTerm, select, GST {bez dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {bez DPH} TAX {bez dan\u011B} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {v\u010Detn\u011B dan\u011B ze zbo\u017E\xED a slu\u017Eeb} VAT {v\u010Detn\u011B DPH} TAX {v\u010Detn\u011B dan\u011B} IVA {v\u010Detn\u011B IVA} SST {v\u010Detn\u011B SST} KDV {v\u010Detn\u011B KDV} other {}}",alternativePriceAriaLabel:"P\u0159\xEDpadn\u011B za {alternativePrice}",strikethroughAriaLabel:"Pravideln\u011B za {strikethroughPrice}"},{lang:"da",recurrenceLabel:"{recurrenceTerm, select, MONTH {/md} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pr. m\xE5ned} YEAR {pr. \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pr. licens} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. skat} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skat} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"de",recurrenceLabel:"{recurrenceTerm, select, MONTH {/Monat} YEAR {/Jahr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pro Monat} YEAR {pro Jahr} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pro Lizenz} other {}}",freeLabel:"Kostenlos",freeAriaLabel:"Kostenlos",taxExclusiveLabel:"{taxTerm, select, GST {zzgl. GST} VAT {zzgl. MwSt.} TAX {zzgl. Steuern} IVA {zzgl. IVA} SST {zzgl. SST} KDV {zzgl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. MwSt.} TAX {inkl. Steuern} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ: {alternativePrice}",strikethroughAriaLabel:"Regul\xE4r: {strikethroughPrice}"},{lang:"en",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},{lang:"et",recurrenceLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuus} YEAR {aastas} other {}}",perUnitLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {litsentsi kohta} other {}}",freeLabel:"Tasuta",freeAriaLabel:"Tasuta",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Teise v\xF5imalusena hinnaga {alternativePrice}",strikethroughAriaLabel:"Tavahind {strikethroughPrice}"},{lang:"fi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/kk} YEAR {/v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {kuukausittain} YEAR {vuosittain} other {}}",perUnitLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {k\xE4ytt\xF6oikeutta kohti} other {}}",freeLabel:"Maksuton",freeAriaLabel:"Maksuton",taxExclusiveLabel:"{taxTerm, select, GST {ilman GST:t\xE4} VAT {ilman ALV:t\xE4} TAX {ilman veroja} IVA {ilman IVA:ta} SST {ilman SST:t\xE4} KDV {ilman KDV:t\xE4} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {sis. GST:n} VAT {sis. ALV:n} TAX {sis. verot} IVA {sis. IVA:n} SST {sis. SST:n} KDV {sis. KDV:n} other {}}",alternativePriceAriaLabel:"Vaihtoehtoisesti hintaan {alternativePrice}",strikethroughAriaLabel:"S\xE4\xE4nn\xF6llisesti hintaan {strikethroughPrice}"},{lang:"fr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mois} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {par mois} YEAR {par an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {par licence} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {par licence} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {hors TPS} VAT {hors TVA} TAX {hors taxes} IVA {hors IVA} SST {hors SST} KDV {hors KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {TPS comprise} VAT {TVA comprise} TAX {taxes comprises} IVA {IVA comprise} SST {SST comprise} KDV {KDV comprise} other {}}",alternativePriceAriaLabel:"Autre prix {alternativePrice}",strikethroughAriaLabel:"Prix habituel {strikethroughPrice}"},{lang:"he",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"},{lang:"hu",recurrenceLabel:"{recurrenceTerm, select, MONTH {/h\xF3} YEAR {/\xE9v} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {havonta} YEAR {\xE9vente} other {}}",perUnitLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {licencenk\xE9nt} other {}}",freeLabel:"Ingyenes",freeAriaLabel:"Ingyenes",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"M\xE1sik lehet\u0151s\xE9g: {alternativePrice}",strikethroughAriaLabel:"\xC1ltal\xE1ban {strikethroughPrice} \xE1ron"},{lang:"it",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mese} YEAR {/anno} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mese} YEAR {all'anno} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licenza} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licenza} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {escl. GST} VAT {escl. IVA.} TAX {escl. imposte} IVA {escl. IVA} SST {escl. SST} KDV {escl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. IVA} TAX {incl. imposte} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"In alternativa a {alternativePrice}",strikethroughAriaLabel:"Regolarmente a {strikethroughPrice}"},{lang:"ja",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCE\u6708} YEAR {\u6BCE\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u30E9\u30A4\u30BB\u30F3\u30B9\u3054\u3068} other {}}",freeLabel:"\u7121\u6599",freeAriaLabel:"\u7121\u6599",taxExclusiveLabel:"{taxTerm, select, GST {GST \u5225} VAT {VAT \u5225} TAX {\u7A0E\u5225} IVA {IVA \u5225} SST {SST \u5225} KDV {KDV \u5225} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u8FBC} VAT {VAT \u8FBC} TAX {\u7A0E\u8FBC} IVA {IVA \u8FBC} SST {SST \u8FBC} KDV {KDV \u8FBC} other {}}",alternativePriceAriaLabel:"\u7279\u5225\u4FA1\u683C : {alternativePrice}",strikethroughAriaLabel:"\u901A\u5E38\u4FA1\u683C : {strikethroughPrice}"},{lang:"ko",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\uC6D4} YEAR {/\uB144} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\uC6D4\uAC04} YEAR {\uC5F0\uAC04} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\uB77C\uC774\uC120\uC2A4\uB2F9} other {}}",freeLabel:"\uBB34\uB8CC",freeAriaLabel:"\uBB34\uB8CC",taxExclusiveLabel:"{taxTerm, select, GST {GST \uC81C\uC678} VAT {VAT \uC81C\uC678} TAX {\uC138\uAE08 \uC81C\uC678} IVA {IVA \uC81C\uC678} SST {SST \uC81C\uC678} KDV {KDV \uC81C\uC678} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \uD3EC\uD568} VAT {VAT \uD3EC\uD568} TAX {\uC138\uAE08 \uD3EC\uD568} IVA {IVA \uD3EC\uD568} SST {SST \uD3EC\uD568} KDV {KDV \uD3EC\uD568} other {}}",alternativePriceAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0",strikethroughAriaLabel:"\uB610\uB294 {alternativePrice}\uC5D0"},{lang:"lt",recurrenceLabel:"{recurrenceTerm, select, MONTH { per m\u0117n.} YEAR { per metus} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\u0117n.} YEAR {per metus} other {}}",perUnitLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {u\u017E licencij\u0105} other {}}",freeLabel:"Nemokamai",freeAriaLabel:"Nemokamai",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Arba u\u017E {alternativePrice}",strikethroughAriaLabel:"Normaliai u\u017E {strikethroughPrice}"},{lang:"lv",recurrenceLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u0113nes\u012B} YEAR {gad\u0101} other {}}",perUnitLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {vienai licencei} other {}}",freeLabel:"Bezmaksas",freeAriaLabel:"Bezmaksas",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternat\u012Bvi par {alternativePrice}",strikethroughAriaLabel:"Regul\u0101ri par {strikethroughPrice}"},{lang:"nb",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd.} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5ned} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisens} other {}}",freeLabel:"Fri",freeAriaLabel:"Fri",taxExclusiveLabel:"{taxTerm, select, GST {ekskl. GST} VAT {ekskl. moms} TAX {ekskl. avgift} IVA {ekskl. IVA} SST {ekskl. SST} KDV {ekskl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. avgift} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt til {alternativePrice}",strikethroughAriaLabel:"Regelmessig til {strikethroughPrice}"},{lang:"nl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mnd} YEAR {/jr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per maand} YEAR {per jaar} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licentie} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licentie} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. btw} TAX {excl. belasting} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. btw} TAX {incl. belasting} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Nu {alternativePrice}",strikethroughAriaLabel:"Normaal {strikethroughPrice}"},{lang:"pl",recurrenceLabel:"{recurrenceTerm, select, MONTH { / mies.} YEAR { / rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH { / miesi\u0105c} YEAR { / rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licencj\u0119} other {}}",freeLabel:"Bezp\u0142atne",freeAriaLabel:"Bezp\u0142atne",taxExclusiveLabel:"{taxTerm, select, GST {bez GST} VAT {bez VAT} TAX {netto} IVA {bez IVA} SST {bez SST} KDV {bez KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {z GST} VAT {z VAT} TAX {brutto} IVA {z IVA} SST {z SST} KDV {z KDV} other {}}",alternativePriceAriaLabel:"Lub za {alternativePrice}",strikethroughAriaLabel:"Cena zwyk\u0142a: {strikethroughPrice}"},{lang:"pt",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xEAs} YEAR {/ano} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {por m\xEAs} YEAR {por ano} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licen\xE7a} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {ICMS n\xE3o incluso} VAT {IVA n\xE3o incluso} TAX {impostos n\xE3o inclusos} IVA {IVA n\xE3o incluso} SST { SST n\xE3o incluso} KDV {KDV n\xE3o incluso} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {ICMS incluso} VAT {IVA incluso} TAX {impostos inclusos} IVA {IVA incluso} SST {SST incluso} KDV {KDV incluso} other {}}",alternativePriceAriaLabel:"Ou a {alternativePrice}",strikethroughAriaLabel:"Pre\xE7o normal: {strikethroughPrice}"},{lang:"ro",recurrenceLabel:"{recurrenceTerm, select, MONTH {/lun\u0103} YEAR {/an} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {pe lun\u0103} YEAR {pe an} other {}}",perUnitLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {pe licen\u021B\u0103} other {}}",freeLabel:"Gratuit",freeAriaLabel:"Gratuit",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternativ, la {alternativePrice}",strikethroughAriaLabel:"\xCEn mod normal, la {strikethroughPrice}"},{lang:"ru",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0435\u0441.} YEAR {/\u0433.} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0432 \u043C\u0435\u0441\u044F\u0446} YEAR {\u0432 \u0433\u043E\u0434} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0438\u0446\u0435\u043D\u0437\u0438\u044E} other {}}",freeLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0441\u043F\u043B\u0430\u0442\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0438\u0441\u043A\u043B. \u041D\u0414\u0421} TAX {\u0438\u0441\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0438\u0441\u043A\u043B. \u0418\u0412\u0410} SST {\u0438\u0441\u043A\u043B. SST} KDV {\u0438\u0441\u043A\u043B. \u041A\u0414\u0412} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433 \u043D\u0430 \u0442\u043E\u0432\u0430\u0440\u044B \u0438 \u0443\u0441\u043B\u0443\u0433\u0438} VAT {\u0432\u043A\u043B. \u041D\u0414\u0421} TAX {\u0432\u043A\u043B. \u043D\u0430\u043B\u043E\u0433} IVA {\u0432\u043A\u043B. \u0418\u0412\u0410} SST {\u0432\u043A\u043B. SST} KDV {\u0432\u043A\u043B. \u041A\u0414\u0412} other {}}",alternativePriceAriaLabel:"\u0410\u043B\u044C\u0442\u0435\u0440\u043D\u0430\u0442\u0438\u0432\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442 \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0420\u0435\u0433\u0443\u043B\u044F\u0440\u043D\u043E \u043F\u043E \u0446\u0435\u043D\u0435 {strikethroughPrice}"},{lang:"sk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesiac} YEAR {/rok} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {za mesiac} YEAR {za rok} other {}}",perUnitLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {za licenciu} other {}}",freeLabel:"Zadarmo",freeAriaLabel:"Zadarmo",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Pr\xEDpadne za {alternativePrice}",strikethroughAriaLabel:"Pravidelne za {strikethroughPrice}"},{lang:"sl",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mesec} YEAR {/leto} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {na mesec} YEAR {na leto} other {}}",perUnitLabel:"{perUnit, select, LICENSE {na licenco} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {na licenco} other {}}",freeLabel:"Brezpla\u010Dno",freeAriaLabel:"Brezpla\u010Dno",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Druga mo\u017Enost je: {alternativePrice}",strikethroughAriaLabel:"Redno po {strikethroughPrice}"},{lang:"sv",recurrenceLabel:"{recurrenceTerm, select, MONTH {/m\xE5n} YEAR {/\xE5r} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per m\xE5nad} YEAR {per \xE5r} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per licens} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per licens} other {}}",freeLabel:"Kostnadsfritt",freeAriaLabel:"Kostnadsfritt",taxExclusiveLabel:"{taxTerm, select, GST {exkl. GST} VAT {exkl. moms} TAX {exkl. skatt} IVA {exkl. IVA} SST {exkl. SST} KDV {exkl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {inkl. GST} VAT {inkl. moms} TAX {inkl. skatt} IVA {inkl. IVA} SST {inkl. SST} KDV {inkl. KDV} other {}}",alternativePriceAriaLabel:"Alternativt f\xF6r {alternativePrice}",strikethroughAriaLabel:"Normalpris {strikethroughPrice}"},{lang:"tr",recurrenceLabel:"{recurrenceTerm, select, MONTH {/ay} YEAR {/y\u0131l} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {(ayl\u0131k)} YEAR {(y\u0131ll\u0131k)} other {}}",perUnitLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {(lisans ba\u015F\u0131na)} other {}}",freeLabel:"\xDCcretsiz",freeAriaLabel:"\xDCcretsiz",taxExclusiveLabel:"{taxTerm, select, GST {GST hari\xE7} VAT {KDV hari\xE7} TAX {vergi hari\xE7} IVA {IVA hari\xE7} SST {SST hari\xE7} KDV {KDV hari\xE7} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST dahil} VAT {KDV dahil} TAX {vergi dahil} IVA {IVA dahil} SST {SST dahil} KDV {KDV dahil} other {}}",alternativePriceAriaLabel:"Ya da {alternativePrice}",strikethroughAriaLabel:"Standart fiyat: {strikethroughPrice}"},{lang:"uk",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u043C\u0456\u0441.} YEAR {/\u0440\u0456\u043A} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u043D\u0430 \u043C\u0456\u0441\u044F\u0446\u044C} YEAR {\u043D\u0430 \u0440\u0456\u043A} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0437\u0430 \u043B\u0456\u0446\u0435\u043D\u0437\u0456\u044E} other {}}",freeLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",freeAriaLabel:"\u0411\u0435\u0437\u043A\u043E\u0448\u0442\u043E\u0432\u043D\u043E",taxExclusiveLabel:"{taxTerm, select, GST {\u0431\u0435\u0437 GST} VAT {\u0431\u0435\u0437 \u041F\u0414\u0412} TAX {\u0431\u0435\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u0443} IVA {\u0431\u0435\u0437 IVA} SST {\u0431\u0435\u0437 SST} KDV {\u0431\u0435\u0437 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 GST} VAT {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u041F\u0414\u0412} TAX {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 \u043F\u043E\u0434\u0430\u0442\u043A\u043E\u043C} IVA {\u0440\u0430\u0437\u043E\u043C \u0437 IVA} SST {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 SST} KDV {\u0440\u0430\u0437\u043E\u043C \u0456\u0437 KDV} other {}}",alternativePriceAriaLabel:"\u0410\u0431\u043E \u0437\u0430 {alternativePrice}",strikethroughAriaLabel:"\u0417\u0432\u0438\u0447\u0430\u0439\u043D\u0430 \u0446\u0456\u043D\u0430 {strikethroughPrice}"},{lang:"zh-hans",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u4E2A\u8BB8\u53EF\u8BC1} other {}}",freeLabel:"\u514D\u8D39",freeAriaLabel:"\u514D\u8D39",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"\u6216\u5B9A\u4EF7 {alternativePrice}",strikethroughAriaLabel:"\u6B63\u5E38\u4EF7 {strikethroughPrice}"},{lang:"zh-hant",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u6708} YEAR {/\u5E74} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u6BCF\u6708} YEAR {\u6BCF\u5E74} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u6BCF\u500B\u6388\u6B0A} other {}}",freeLabel:"\u514D\u8CBB",freeAriaLabel:"\u514D\u8CBB",taxExclusiveLabel:"{taxTerm, select, GST {\u4E0D\u542B GST} VAT {\u4E0D\u542B VAT} TAX {\u4E0D\u542B\u7A05} IVA {\u4E0D\u542B IVA} SST {\u4E0D\u542B SST} KDV {\u4E0D\u542B KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u542B GST} VAT {\u542B VAT} TAX {\u542B\u7A05} IVA {\u542B IVA} SST {\u542B SST} KDV {\u542B KDV} other {}}",alternativePriceAriaLabel:"\u6216\u8005\u5728 {alternativePrice}",strikethroughAriaLabel:"\u6A19\u6E96\u50F9\u683C\u70BA {strikethroughPrice}"},{lang:"es",recurrenceLabel:"{recurrenceTerm, select, MONTH {/mes} YEAR {/a\xF1o} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {al mes} YEAR {al a\xF1o} other {}}",perUnitLabel:"{perUnit, select, LICENSE {por licencia} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {por licencia} other {}}",freeLabel:"Gratuito",freeAriaLabel:"Gratuito",taxExclusiveLabel:"{taxTerm, select, GST {GST no incluido} VAT {IVA no incluido} TAX {Impuestos no incluidos} IVA {IVA no incluido} SST {SST no incluido} KDV {KDV no incluido} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST incluido} VAT {IVA incluido} TAX {Impuestos incluidos} IVA {IVA incluido} SST {SST incluido} KDV {KDV incluido} other {}}",alternativePriceAriaLabel:"Alternativamente por {alternativePrice}",strikethroughAriaLabel:"Normalmente a {strikethroughPrice}"},{lang:"in",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per lisensi} other {}}",freeLabel:"Gratis",freeAriaLabel:"Gratis",taxExclusiveLabel:"{taxTerm, select, GST {tidak termasuk PBJ} VAT {tidak termasuk PPN} TAX {tidak termasuk pajak} IVA {tidak termasuk IVA} SST {tidak termasuk SST} KDV {tidak termasuk KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk PBJ} VAT {termasuk PPN} TAX {termasuk pajak} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Atau seharga {alternativePrice}",strikethroughAriaLabel:"Normalnya seharga {strikethroughPrice}"},{lang:"vi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/th\xE1ng} YEAR {/n\u0103m} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {m\u1ED7i th\xE1ng} YEAR {m\u1ED7i n\u0103m} other {}}",perUnitLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {m\u1ED7i gi\u1EA5y ph\xE9p} other {}}",freeLabel:"Mi\u1EC5n ph\xED",freeAriaLabel:"Mi\u1EC5n ph\xED",taxExclusiveLabel:"{taxTerm, select, GST {ch\u01B0a bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5} VAT {ch\u01B0a bao g\u1ED3m thu\u1EBF GTGT} TAX {ch\u01B0a bao g\u1ED3m thu\u1EBF} IVA {ch\u01B0a bao g\u1ED3m IVA} SST {ch\u01B0a bao g\u1ED3m SST} KDV {ch\u01B0a bao g\u1ED3m KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u0111\xE3 bao g\u1ED3m thu\u1EBF h\xE0ng h\xF3a v\xE0 d\u1ECBch v\u1EE5)} VAT {(\u0111\xE3 bao g\u1ED3m thu\u1EBF GTGT)} TAX {(\u0111\xE3 bao g\u1ED3m thu\u1EBF)} IVA {(\u0111\xE3 bao g\u1ED3m IVA)} SST {(\u0111\xE3 bao g\u1ED3m SST)} KDV {(\u0111\xE3 bao g\u1ED3m KDV)} other {}}",alternativePriceAriaLabel:"Gi\xE1 \u01B0u \u0111\xE3i {alternativePrice}",strikethroughAriaLabel:"Gi\xE1 th\xF4ng th\u01B0\u1EDDng {strikethroughPrice}"},{lang:"th",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {/\u0E1B\u0E35} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u0E15\u0E48\u0E2D\u0E40\u0E14\u0E37\u0E2D\u0E19} YEAR {\u0E15\u0E48\u0E2D\u0E1B\u0E35} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u0E15\u0E48\u0E2D\u0E2A\u0E34\u0E17\u0E18\u0E34\u0E4C\u0E01\u0E32\u0E23\u0E43\u0E0A\u0E49\u0E07\u0E32\u0E19} other {}}",freeLabel:"\u0E1F\u0E23\u0E35",freeAriaLabel:"\u0E1F\u0E23\u0E35",taxExclusiveLabel:"{taxTerm, select, GST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 VAT} TAX {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 IVA} SST {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 SST} KDV {\u0E44\u0E21\u0E48\u0E23\u0E27\u0E21 KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35 GST} VAT {\u0E23\u0E27\u0E21 VAT} TAX {\u0E23\u0E27\u0E21\u0E20\u0E32\u0E29\u0E35} IVA {\u0E23\u0E27\u0E21 IVA} SST {\u0E23\u0E27\u0E21 SST} KDV {\u0E23\u0E27\u0E21 KDV} other {}}",alternativePriceAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1E\u0E34\u0E40\u0E28\u0E29 {alternativePrice}",strikethroughAriaLabel:"\u0E23\u0E32\u0E04\u0E32\u0E1B\u0E01\u0E15\u0E34 {strikethroughPrice}"},{lang:"el",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u03BC\u03AE\u03BD\u03B1} YEAR {/\u03AD\u03C4\u03BF\u03C2} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u03BA\u03AC\u03B8\u03B5 \u03BC\u03AE\u03BD\u03B1} YEAR {\u03B1\u03BD\u03AC \u03AD\u03C4\u03BF\u03C2} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u03B1\u03BD\u03AC \u03AC\u03B4\u03B5\u03B9\u03B1 \u03C7\u03C1\u03AE\u03C3\u03B7\u03C2} other {}}",freeLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",freeAriaLabel:"\u0394\u03C9\u03C1\u03B5\u03AC\u03BD",taxExclusiveLabel:"{taxTerm, select, GST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 GST)} VAT {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF)} IVA {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 IVA)} SST {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 SST)} KDV {(\u03BC\u03B7 \u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 KDV)} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 GST)} VAT {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03A6\u03A0\u0391)} TAX {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 \u03C6\u03CC\u03C1\u03BF\u03C5)} IVA {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 IVA)} SST {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 SST)} KDV {(\u03C3\u03C5\u03BC\u03C0\u03B5\u03C1\u03B9\u03BB\u03B1\u03BC\u03B2\u03B1\u03BD\u03BF\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 KDV)} other {}}",alternativePriceAriaLabel:"\u0394\u03B9\u03B1\u03C6\u03BF\u03C1\u03B5\u03C4\u03B9\u03BA\u03AC, {alternativePrice}",strikethroughAriaLabel:"\u039A\u03B1\u03BD\u03BF\u03BD\u03B9\u03BA\u03AE \u03C4\u03B9\u03BC\u03AE {strikethroughPrice}"},{lang:"fil",recurrenceLabel:"{recurrenceTerm, select, MONTH {/buwan} YEAR {/taon} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per buwan} YEAR {per taon} other {}}",perUnitLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {kada lisensya} other {}}",freeLabel:"Libre",freeAriaLabel:"Libre",taxExclusiveLabel:"{taxTerm, select, GST {hindi kasama ang GST} VAT {hindi kasama ang VAT} TAX {hindi kasama ang Buwis} IVA {hindi kasama ang IVA} SST {hindi kasama ang SST} KDV {hindi kasama ang KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {kasama ang GST} VAT {kasama ang VAT} TAX {kasama ang Buwis} IVA {kasama ang IVA} SST {kasama ang SST} KDV {kasama ang KDV} other {}}",alternativePriceAriaLabel:"Alternatibong nasa halagang {alternativePrice}",strikethroughAriaLabel:"Regular na nasa halagang {strikethroughPrice}"},{lang:"ms",recurrenceLabel:"{recurrenceTerm, select, MONTH {/bulan} YEAR {/tahun} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per bulan} YEAR {per tahun} other {}}",perUnitLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {setiap lesen} other {}}",freeLabel:"Percuma",freeAriaLabel:"Percuma",taxExclusiveLabel:"{taxTerm, select, GST {kecuali GST} VAT {kecuali VAT} TAX {kecuali Cukai} IVA {kecuali IVA} SST {kecuali SST} KDV {kecuali KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {termasuk GST} VAT {termasuk VAT} TAX {termasuk Cukai} IVA {termasuk IVA} SST {termasuk SST} KDV {termasuk KDV} other {}}",alternativePriceAriaLabel:"Secara alternatif pada {alternativePrice}",strikethroughAriaLabel:"Biasanya pada {strikethroughPrice}"},{lang:"hi",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u092E\u093E\u0939} YEAR {/\u0935\u0930\u094D\u0937} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per \u092E\u093E\u0939} YEAR {per \u0935\u0930\u094D\u0937} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u092A\u094D\u0930\u0924\u093F \u0932\u093E\u0907\u0938\u0947\u0902\u0938} other {}}",freeLabel:"\u092B\u093C\u094D\u0930\u0940",freeAriaLabel:"\u092B\u093C\u094D\u0930\u0940",taxExclusiveLabel:"{taxTerm, select, GST {GST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} VAT {VAT \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} TAX {\u0915\u0930 \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} IVA {IVA \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} SST {SST \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} KDV {KDV \u0905\u0924\u093F\u0930\u093F\u0915\u094D\u0924} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {GST \u0938\u0939\u093F\u0924} VAT {VAT \u0938\u0939\u093F\u0924} TAX {\u0915\u0930 \u0938\u0939\u093F\u0924} IVA {IVA \u0938\u0939\u093F\u0924} SST {SST \u0938\u0939\u093F\u0924} KDV {KDV \u0938\u0939\u093F\u0924} other {}}",alternativePriceAriaLabel:"\u0935\u0948\u0915\u0932\u094D\u092A\u093F\u0915 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {alternativePrice}",strikethroughAriaLabel:"\u0928\u093F\u092F\u092E\u093F\u0924 \u0930\u0942\u092A \u0938\u0947 \u0907\u0938 \u092A\u0930 {strikethroughPrice}"},{lang:"iw",recurrenceLabel:"{recurrenceTerm, select, MONTH {/\u05D7\u05D5\u05D3\u05E9} YEAR {/\u05E9\u05E0\u05D4} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {\u05DC\u05D7\u05D5\u05D3\u05E9} YEAR {\u05DC\u05E9\u05E0\u05D4} other {}}",perUnitLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {\u05DC\u05E8\u05D9\u05E9\u05D9\u05D5\u05DF} other {}}",freeLabel:"\u05D7\u05D9\u05E0\u05DD",freeAriaLabel:"\u05D7\u05D9\u05E0\u05DD",taxExclusiveLabel:'{taxTerm, select, GST {\u05DC\u05DC\u05D0 GST} VAT {\u05DC\u05DC\u05D0 \u05DE\u05E2"\u05DE} TAX {\u05DC\u05DC\u05D0 \u05DE\u05E1} IVA {\u05DC\u05DC\u05D0 IVA} SST {\u05DC\u05DC\u05D0 SST} KDV {\u05DC\u05DC\u05D0 KDV} other {}}',taxInclusiveLabel:'{taxTerm, select, GST {\u05DB\u05D5\u05DC\u05DC GST} VAT {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E2"\u05DE} TAX {\u05DB\u05D5\u05DC\u05DC \u05DE\u05E1} IVA {\u05DB\u05D5\u05DC\u05DC IVA} SST {\u05DB\u05D5\u05DC\u05DC SST} KDV {\u05DB\u05D5\u05DC\u05DC KDV} other {}}',alternativePriceAriaLabel:"\u05DC\u05D7\u05DC\u05D5\u05E4\u05D9\u05DF \u05D1-{alternativePrice}",strikethroughAriaLabel:"\u05D1\u05D0\u05D5\u05E4\u05DF \u05E7\u05D1\u05D5\u05E2 \u05D1-{strikethroughPrice}"}],":type":"sheet"}});(function(){let r={clientId:"",endpoint:"https://www.adobe.com/lana/ll",endpointStage:"https://www.stage.adobe.com/lana/ll",errorType:"e",sampleRate:1,tags:"",implicitSampleRate:1,useProd:!0,isProdDomain:!1},n=window;function i(){let{host:h}=window.location;return h.substring(h.length-10)===".adobe.com"&&h.substring(h.length-15)!==".corp.adobe.com"&&h.substring(h.length-16)!==".stage.adobe.com"}function o(h,u){h||(h={}),u||(u={});function d(m){return h[m]!==void 0?h[m]:u[m]!==void 0?u[m]:r[m]}return Object.keys(r).reduce((m,f)=>(m[f]=d(f),m),{})}function a(h,u){h=h&&h.stack?h.stack:h||"",h.length>2e3&&(h=`${h.slice(0,2e3)}`);let d=o(u,n.lana.options);if(!d.clientId){console.warn("LANA ClientID is not set in options.");return}let f=parseInt(new URL(window.location).searchParams.get("lana-sample"),10)||(d.errorType==="i"?d.implicitSampleRate:d.sampleRate);if(!n.lana.debug&&!n.lana.localhost&&f<=Math.random()*100)return;let b=i()||d.isProdDomain,A=!b||!d.useProd?d.endpointStage:d.endpoint,_=[`m=${encodeURIComponent(h)}`,`c=${encodeURI(d.clientId)}`,`s=${f}`,`t=${encodeURI(d.errorType)}`];if(d.tags&&_.push(`tags=${encodeURI(d.tags)}`),(!b||n.lana.debug||n.lana.localhost)&&console.log("LANA Msg: ",h,` +Opts:`,d),!n.lana.localhost||n.lana.debug){let E=new XMLHttpRequest;return n.lana.debug&&(_.push("d"),E.addEventListener("load",()=>{console.log("LANA response:",E.responseText)})),E.open("GET",`${A}?${_.join("&")}`),E.send(),E}}function s(h){a(h.reason||h.error||h.message,{errorType:"i"})}function c(){return n.location.search.toLowerCase().indexOf("lanadebug")!==-1}function l(){return n.location.host.toLowerCase().indexOf("localhost")!==-1}n.lana={debug:!1,log:a,options:o(n.lana&&n.lana.options)},c()&&(n.lana.debug=!0),l()&&(n.lana.localhost=!0),n.addEventListener("error",s),n.addEventListener("unhandledrejection",s)})();var vr=window,Er=vr.ShadowRoot&&(vr.ShadyCSS===void 0||vr.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Lo=Symbol(),_o=new WeakMap,Ar=class{constructor(t,r,n){if(this._$cssResult$=!0,n!==Lo)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=r}get styleSheet(){let t=this.o,r=this.t;if(Er&&t===void 0){let n=r!==void 0&&r.length===1;n&&(t=_o.get(r)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),n&&_o.set(r,t))}return t}toString(){return this.cssText}},Co=e=>new Ar(typeof e=="string"?e:e+"",void 0,Lo);var fn=(e,t)=>{Er?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=vr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},yr=Er?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Co(r)})(e):e;var gn,Sr=window,Po=Sr.trustedTypes,fc=Po?Po.emptyScript:"",ko=Sr.reactiveElementPolyfillSupport,xn={toAttribute(e,t){switch(t){case Boolean:e=e?fc:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},Io=(e,t)=>t!==e&&(t==t||e==e),bn={attribute:!0,type:String,converter:xn,reflect:!1,hasChanged:Io},vn="finalized",Ne=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=bn){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||bn}static finalize(){if(this.hasOwnProperty(vn))return!1;this[vn]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(yr(i))}else t!==void 0&&r.push(yr(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return fn(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=bn){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:xn).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:xn;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||Io)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};Ne[vn]=!0,Ne.elementProperties=new Map,Ne.elementStyles=[],Ne.shadowRootOptions={mode:"open"},ko?.({ReactiveElement:Ne}),((gn=Sr.reactiveElementVersions)!==null&&gn!==void 0?gn:Sr.reactiveElementVersions=[]).push("1.6.3");var An,Tr=window,it=Tr.trustedTypes,No=it?it.createPolicy("lit-html",{createHTML:e=>e}):void 0,yn="$lit$",Se=`lit$${(Math.random()+"").slice(9)}$`,Ho="?"+Se,gc=`<${Ho}>`,Oe=document,wr=()=>Oe.createComment(""),Ht=e=>e===null||typeof e!="object"&&typeof e!="function",Do=Array.isArray,bc=e=>Do(e)||typeof e?.[Symbol.iterator]=="function",En=`[ +\f\r]`,Ut=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ro=/-->/g,Mo=/>/g,Re=RegExp(`>|${En}(?:([^\\s"'>=/]+)(${En}*=${En}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),Oo=/'/g,$o=/"/g,Go=/^(?:script|style|textarea|title)$/i,Bo=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),id=Bo(1),od=Bo(2),Dt=Symbol.for("lit-noChange"),B=Symbol.for("lit-nothing"),Vo=new WeakMap,Me=Oe.createTreeWalker(Oe,129,null,!1);function zo(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return No!==void 0?No.createHTML(t):t}var xc=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=Ut;for(let s=0;s"?(a=i??Ut,u=-1):h[1]===void 0?u=-2:(u=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?Re:h[3]==='"'?$o:Oo):a===$o||a===Oo?a=Re:a===Ro||a===Mo?a=Ut:(a=Re,i=void 0);let m=a===Re&&e[s+1].startsWith("/>")?" ":"";o+=a===Ut?c+gc:u>=0?(n.push(l),c.slice(0,u)+yn+c.slice(u)+Se+m):c+Se+(u===-2?(n.push(void 0),s):m)}return[zo(e,o+(e[r]||"")+(t===2?"":"")),n]},Gt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=xc(t,r);if(this.el=e.createElement(l,n),Me.currentNode=this.el.content,r===2){let u=this.el.content,d=u.firstChild;d.remove(),u.append(...d.childNodes)}for(;(i=Me.nextNode())!==null&&c.length0){i.textContent=it?it.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=B}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=ot(this,t,r,0),a=!Ht(t)||t!==this._$AH&&t!==Dt,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;cnew Bt(typeof e=="string"?e:e+"",void 0,Cn),L=(e,...t)=>{let r=e.length===1?e[0]:t.reduce((n,i,o)=>n+(a=>{if(a._$cssResult$===!0)return a.cssText;if(typeof a=="number")return a;throw Error("Value passed to 'css' function must be a 'css' function result: "+a+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(i)+e[o+1],e[0]);return new Bt(r,e,Cn)},Pn=(e,t)=>{Cr?e.adoptedStyleSheets=t.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet):t.forEach(r=>{let n=document.createElement("style"),i=Lr.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,e.appendChild(n)})},Pr=Cr?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let r="";for(let n of t.cssRules)r+=n.cssText;return Te(r)})(e):e;var kn,kr=window,Ko=kr.trustedTypes,Ac=Ko?Ko.emptyScript:"",Yo=kr.reactiveElementPolyfillSupport,Nn={toAttribute(e,t){switch(t){case Boolean:e=e?Ac:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=e!==null;break;case Number:r=e===null?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch{r=null}}return r}},jo=(e,t)=>t!==e&&(t==t||e==e),In={attribute:!0,type:String,converter:Nn,reflect:!1,hasChanged:jo},Rn="finalized",ue=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var r;this.finalize(),((r=this.h)!==null&&r!==void 0?r:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((r,n)=>{let i=this._$Ep(n,r);i!==void 0&&(this._$Ev.set(i,n),t.push(i))}),t}static createProperty(t,r=In){if(r.state&&(r.attribute=!1),this.finalize(),this.elementProperties.set(t,r),!r.noAccessor&&!this.prototype.hasOwnProperty(t)){let n=typeof t=="symbol"?Symbol():"__"+t,i=this.getPropertyDescriptor(t,n,r);i!==void 0&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,r,n){return{get(){return this[r]},set(i){let o=this[t];this[r]=i,this.requestUpdate(t,o,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||In}static finalize(){if(this.hasOwnProperty(Rn))return!1;this[Rn]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let r=this.properties,n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let i of n)this.createProperty(i,r[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let r=[];if(Array.isArray(t)){let n=new Set(t.flat(1/0).reverse());for(let i of n)r.unshift(Pr(i))}else t!==void 0&&r.push(Pr(t));return r}static _$Ep(t,r){let n=r.attribute;return n===!1?void 0:typeof n=="string"?n:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(r=>r(this))}addController(t){var r,n;((r=this._$ES)!==null&&r!==void 0?r:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((n=t.hostConnected)===null||n===void 0||n.call(t))}removeController(t){var r;(r=this._$ES)===null||r===void 0||r.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,r)=>{this.hasOwnProperty(r)&&(this._$Ei.set(r,this[r]),delete this[r])})}createRenderRoot(){var t;let r=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return Pn(r,this.constructor.elementStyles),r}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostConnected)===null||n===void 0?void 0:n.call(r)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(r=>{var n;return(n=r.hostDisconnected)===null||n===void 0?void 0:n.call(r)})}attributeChangedCallback(t,r,n){this._$AK(t,n)}_$EO(t,r,n=In){var i;let o=this.constructor._$Ep(t,n);if(o!==void 0&&n.reflect===!0){let a=(((i=n.converter)===null||i===void 0?void 0:i.toAttribute)!==void 0?n.converter:Nn).toAttribute(r,n.type);this._$El=t,a==null?this.removeAttribute(o):this.setAttribute(o,a),this._$El=null}}_$AK(t,r){var n;let i=this.constructor,o=i._$Ev.get(t);if(o!==void 0&&this._$El!==o){let a=i.getPropertyOptions(o),s=typeof a.converter=="function"?{fromAttribute:a.converter}:((n=a.converter)===null||n===void 0?void 0:n.fromAttribute)!==void 0?a.converter:Nn;this._$El=o,this[o]=s.fromAttribute(r,a.type),this._$El=null}}requestUpdate(t,r,n){let i=!0;t!==void 0&&(((n=n||this.constructor.getPropertyOptions(t)).hasChanged||jo)(this[t],r)?(this._$AL.has(t)||this._$AL.set(t,r),n.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,n))):i=!1),!this.isUpdatePending&&i&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(r){Promise.reject(r)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((i,o)=>this[o]=i),this._$Ei=void 0);let r=!1,n=this._$AL;try{r=this.shouldUpdate(n),r?(this.willUpdate(n),(t=this._$ES)===null||t===void 0||t.forEach(i=>{var o;return(o=i.hostUpdate)===null||o===void 0?void 0:o.call(i)}),this.update(n)):this._$Ek()}catch(i){throw r=!1,this._$Ek(),i}r&&this._$AE(n)}willUpdate(t){}_$AE(t){var r;(r=this._$ES)===null||r===void 0||r.forEach(n=>{var i;return(i=n.hostUpdated)===null||i===void 0?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((r,n)=>this._$EO(n,this[n],r)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};ue[Rn]=!0,ue.elementProperties=new Map,ue.elementStyles=[],ue.shadowRootOptions={mode:"open"},Yo?.({ReactiveElement:ue}),((kn=kr.reactiveElementVersions)!==null&&kn!==void 0?kn:kr.reactiveElementVersions=[]).push("1.6.3");var Mn,Ir=window,st=Ir.trustedTypes,Xo=st?st.createPolicy("lit-html",{createHTML:e=>e}):void 0,$n="$lit$",we=`lit$${(Math.random()+"").slice(9)}$`,ta="?"+we,Ec=`<${ta}>`,Ue=document,Ft=()=>Ue.createComment(""),Kt=e=>e===null||typeof e!="object"&&typeof e!="function",ra=Array.isArray,yc=e=>ra(e)||typeof e?.[Symbol.iterator]=="function",On=`[ +\f\r]`,zt=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wo=/-->/g,qo=/>/g,$e=RegExp(`>|${On}(?:([^\\s"'>=/]+)(${On}*=${On}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),Zo=/'/g,Qo=/"/g,na=/^(?:script|style|textarea|title)$/i,ia=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),g=ia(1),dd=ia(2),He=Symbol.for("lit-noChange"),z=Symbol.for("lit-nothing"),Jo=new WeakMap,Ve=Ue.createTreeWalker(Ue,129,null,!1);function oa(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return Xo!==void 0?Xo.createHTML(t):t}var Sc=(e,t)=>{let r=e.length-1,n=[],i,o=t===2?"":"",a=zt;for(let s=0;s"?(a=i??zt,u=-1):h[1]===void 0?u=-2:(u=a.lastIndex-h[2].length,l=h[1],a=h[3]===void 0?$e:h[3]==='"'?Qo:Zo):a===Qo||a===Zo?a=$e:a===Wo||a===qo?a=zt:(a=$e,i=void 0);let m=a===$e&&e[s+1].startsWith("/>")?" ":"";o+=a===zt?c+Ec:u>=0?(n.push(l),c.slice(0,u)+$n+c.slice(u)+we+m):c+we+(u===-2?(n.push(void 0),s):m)}return[oa(e,o+(e[r]||"")+(t===2?"":"")),n]},Yt=class e{constructor({strings:t,_$litType$:r},n){let i;this.parts=[];let o=0,a=0,s=t.length-1,c=this.parts,[l,h]=Sc(t,r);if(this.el=e.createElement(l,n),Ve.currentNode=this.el.content,r===2){let u=this.el.content,d=u.firstChild;d.remove(),u.append(...d.childNodes)}for(;(i=Ve.nextNode())!==null&&c.length0){i.textContent=st?st.emptyScript:"";for(let m=0;m2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=z}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,r=this,n,i){let o=this.strings,a=!1;if(o===void 0)t=ct(this,t,r,0),a=!Kt(t)||t!==this._$AH&&t!==He,a&&(this._$AH=t);else{let s=t,c,l;for(t=o[0],c=0;c{var n,i;let o=(n=r?.renderBefore)!==null&&n!==void 0?n:t,a=o._$litPart$;if(a===void 0){let s=(i=r?.renderBefore)!==null&&i!==void 0?i:null;o._$litPart$=a=new jt(t.insertBefore(Ft(),s),s,void 0,r??{})}return a._$AI(e),a};var Bn,zn;var Q=class extends ue{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,r;let n=super.createRenderRoot();return(t=(r=this.renderOptions).renderBefore)!==null&&t!==void 0||(r.renderBefore=n.firstChild),n}update(t){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=aa(r,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return He}};Q.finalized=!0,Q._$litElement$=!0,(Bn=globalThis.litElementHydrateSupport)===null||Bn===void 0||Bn.call(globalThis,{LitElement:Q});var sa=globalThis.litElementPolyfillSupport;sa?.({LitElement:Q});((zn=globalThis.litElementVersions)!==null&&zn!==void 0?zn:globalThis.litElementVersions=[]).push("3.3.3");var _e="(max-width: 767px)",Nr="(max-width: 1199px)",H="(min-width: 768px)",O="(min-width: 1200px)",J="(min-width: 1600px)";var ca=L` :host { --consonant-merch-card-background-color: #fff; --consonant-merch-card-border: 1px solid var(--consonant-merch-card-border-color); @@ -20,6 +20,10 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let x=new XMLHttpRequest;return n.lan text-align: start; } + :host([failed]) { + display: none; + } + :host(.placeholder) { visibility: hidden; } @@ -232,9 +236,9 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let x=new XMLHttpRequest;return n.lan ::slotted([slot='price']) { color: var(--consonant-merch-card-price-color); } -`,Fo=()=>[_` +`,la=()=>[L` /* Tablet */ - @media screen and ${xe(V)} { + @media screen and ${Te(H)} { :host([size='wide']), :host([size='super-wide']) { width: 100%; @@ -243,12 +247,12 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let x=new XMLHttpRequest;return n.lan } /* Laptop */ - @media screen and ${xe(M)} { + @media screen and ${Te(O)} { :host([size='wide']) { grid-column: span 2; } } - `];var ot,Gt=class Gt{constructor(t){p(this,"card");G(this,ot);this.card=t,this.insertVariantStyle()}getContainer(){return K(this,ot,L(this,ot)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),L(this,ot)}insertVariantStyle(){if(!Gt.styleMap[this.card.variant]){Gt.styleMap[this.card.variant]=!0;let t=document.createElement("style");t.innerHTML=this.getGlobalCSS(),document.head.appendChild(t)}}updateCardElementMinHeight(t,r){if(!t)return;let n=`--consonant-merch-card-${this.card.variant}-${r}-height`,i=Math.max(0,parseInt(window.getComputedStyle(t).height)||0),o=parseInt(this.getContainer().style.getPropertyValue(n))||0;i>o&&this.getContainer().style.setProperty(n,`${i}px`)}get badge(){let t;if(!(!this.card.badgeBackgroundColor||!this.card.badgeColor||!this.card.badgeText))return this.evergreen&&(t=`border: 1px solid ${this.card.badgeBackgroundColor}; border-right: none;`),b` + `];var ht,Xt=class Xt{constructor(t){p(this,"card");V(this,ht);this.card=t,this.insertVariantStyle()}getContainer(){return D(this,ht,x(this,ht)??this.card.closest('[class*="-merch-cards"]')??this.card.parentElement),x(this,ht)}insertVariantStyle(){if(!Xt.styleMap[this.card.variant]){Xt.styleMap[this.card.variant]=!0;let t=document.createElement("style");t.innerHTML=this.getGlobalCSS(),document.head.appendChild(t)}}updateCardElementMinHeight(t,r){if(!t)return;let n=`--consonant-merch-card-${this.card.variant}-${r}-height`,i=Math.max(0,parseInt(window.getComputedStyle(t).height)||0),o=parseInt(this.getContainer().style.getPropertyValue(n))||0;i>o&&this.getContainer().style.setProperty(n,`${i}px`)}get badge(){let t;if(!(!this.card.badgeBackgroundColor||!this.card.badgeColor||!this.card.badgeText))return this.evergreen&&(t=`border: 1px solid ${this.card.badgeBackgroundColor}; border-right: none;`),g`
${this.card.badgeText}
- `}get cardImage(){return b`
+ `}get cardImage(){return g`
${this.badge} -
`}getGlobalCSS(){return""}get theme(){return document.querySelector("sp-theme")}get evergreen(){return this.card.classList.contains("intro-pricing")}get promoBottom(){return this.card.classList.contains("promo-bottom")}get headingSelector(){return'[slot="heading-xs"]'}get secureLabelFooter(){let t=this.card.secureLabel?b``}getGlobalCSS(){return""}get theme(){return document.querySelector("sp-theme")}get evergreen(){return this.card.classList.contains("intro-pricing")}get promoBottom(){return this.card.classList.contains("promo-bottom")}get headingSelector(){return'[slot="heading-xs"]'}get secureLabelFooter(){let t=this.card.secureLabel?g`${this.card.secureLabel}`:"";return b`
${t}
`}async adjustTitleWidth(){let t=this.card.getBoundingClientRect().width,r=this.card.badgeElement?.getBoundingClientRect().width||0;t===0||r===0||this.card.style.setProperty("--consonant-merch-card-heading-xs-max-width",`${Math.round(t-r-16)}px`)}postCardUpdateHook(){}connectedCallbackHook(){}disconnectedCallbackHook(){}renderLayout(){}get aemFragmentMapping(){}};ot=new WeakMap,p(Gt,"styleMap",{});var C=Gt;function Ko(e,t){let r;return function(){let n=this,i=arguments;clearTimeout(r),r=setTimeout(()=>e.apply(n,i),t)}}function Re(e,t={},r=null,n=null){let i=n?document.createElement(e,{is:n}):document.createElement(e);r instanceof HTMLElement?i.appendChild(r):i.innerHTML=r;for(let[o,a]of Object.entries(t))i.setAttribute(o,a);return i}function Er(){return window.matchMedia("(max-width: 767px)").matches}function Yo(){return window.matchMedia("(max-width: 1024px)").matches}var Yn={};Zs(Yn,{CLASS_NAME_FAILED:()=>On,CLASS_NAME_HIDDEN:()=>dc,CLASS_NAME_PENDING:()=>Mn,CLASS_NAME_RESOLVED:()=>Vn,ERROR_MESSAGE_BAD_REQUEST:()=>Tr,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>Ac,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>$n,EVENT_AEM_ERROR:()=>Me,EVENT_AEM_LOAD:()=>Oe,EVENT_MAS_ERROR:()=>Rn,EVENT_MAS_READY:()=>Nn,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>In,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>xc,EVENT_MERCH_CARD_COLLECTION_SORT:()=>bc,EVENT_MERCH_CARD_READY:()=>kn,EVENT_MERCH_OFFER_READY:()=>mc,EVENT_MERCH_OFFER_SELECT_READY:()=>Cn,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>st,EVENT_MERCH_SEARCH_CHANGE:()=>gc,EVENT_MERCH_SIDENAV_SELECT:()=>vc,EVENT_MERCH_STOCK_CHANGE:()=>fc,EVENT_MERCH_STORAGE_CHANGE:()=>Sr,EVENT_OFFER_SELECTED:()=>pc,EVENT_TYPE_FAILED:()=>Hn,EVENT_TYPE_READY:()=>at,EVENT_TYPE_RESOLVED:()=>Un,LOG_NAMESPACE:()=>Dn,Landscape:()=>ce,MODAL_TYPE_3_IN_1:()=>$e,NAMESPACE:()=>hc,PARAM_AOS_API_KEY:()=>yc,PARAM_ENV:()=>Bn,PARAM_LANDSCAPE:()=>Gn,PARAM_WCS_API_KEY:()=>Ec,PROVIDER_ENVIRONMENT:()=>Kn,STATE_FAILED:()=>ae,STATE_PENDING:()=>ye,STATE_RESOLVED:()=>se,TAG_NAME_SERVICE:()=>uc,WCS_PROD_URL:()=>zn,WCS_STAGE_URL:()=>Fn,WORKFLOW_STEP:()=>Ve});var hc="merch",dc="hidden",at="wcms:commerce:ready",uc="mas-commerce-service",mc="merch-offer:ready",Cn="merch-offer-select:ready",kn="merch-card:ready",In="merch-card:action-menu-toggle",pc="merch-offer:selected",fc="merch-stock:change",Sr="merch-storage:change",st="merch-quantity-selector:change",gc="merch-search:change",bc="merch-card-collection:sort",xc="merch-card-collection:showmore",vc="merch-sidenav:select",Oe="aem:load",Me="aem:error",Nn="mas:ready",Rn="mas:error",On="placeholder-failed",Mn="placeholder-pending",Vn="placeholder-resolved",Tr="Bad WCS request",$n="Commerce offer not found",Ac="Literals URL not provided",Hn="mas:failed",Un="mas:resolved",Dn="mas/commerce",Bn="commerce.env",Gn="commerce.landscape",yc="commerce.aosKey",Ec="commerce.wcsKey",zn="https://www.adobe.com/web_commerce_artifact",Fn="https://www.stage.adobe.com/web_commerce_artifact_stage",ae="failed",ye="pending",se="resolved",ce={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"},Ve={CHECKOUT:"checkout",CHECKOUT_EMAIL:"checkout/email",SEGMENTATION:"segmentation",BUNDLE:"bundle",COMMITMENT:"commitment",RECOMMENDATION:"recommendation",EMAIL:"email",PAYMENT:"payment",CHANGE_PLAN_TEAM_PLANS:"change-plan/team-upgrade/plans",CHANGE_PLAN_TEAM_PAYMENT:"change-plan/team-upgrade/payment"},Kn={PRODUCTION:"PRODUCTION"},$e={TWP:"twp",D2P:"d2p",CRM:"crm"};var jo=` + >`:"";return g`
${t}
`}async adjustTitleWidth(){let t=this.card.getBoundingClientRect().width,r=this.card.badgeElement?.getBoundingClientRect().width||0;t===0||r===0||this.card.style.setProperty("--consonant-merch-card-heading-xs-max-width",`${Math.round(t-r-16)}px`)}postCardUpdateHook(){}connectedCallbackHook(){}disconnectedCallbackHook(){}renderLayout(){}get aemFragmentMapping(){}};ht=new WeakMap,p(Xt,"styleMap",{});var k=Xt;var hi={};uc(hi,{CLASS_NAME_FAILED:()=>qn,CLASS_NAME_HIDDEN:()=>_c,CLASS_NAME_PENDING:()=>Zn,CLASS_NAME_RESOLVED:()=>Qn,ERROR_MESSAGE_BAD_REQUEST:()=>Jn,ERROR_MESSAGE_MISSING_LITERALS_URL:()=>Oc,ERROR_MESSAGE_OFFER_NOT_FOUND:()=>ei,EVENT_AEM_ERROR:()=>Ge,EVENT_AEM_LOAD:()=>De,EVENT_MAS_ERROR:()=>Wn,EVENT_MAS_READY:()=>Xn,EVENT_MERCH_CARD_ACTION_MENU_TOGGLE:()=>jn,EVENT_MERCH_CARD_COLLECTION_SHOWMORE:()=>Rc,EVENT_MERCH_CARD_COLLECTION_SORT:()=>Nc,EVENT_MERCH_CARD_READY:()=>Yn,EVENT_MERCH_OFFER_READY:()=>Cc,EVENT_MERCH_OFFER_SELECT_READY:()=>Kn,EVENT_MERCH_QUANTITY_SELECTOR_CHANGE:()=>ut,EVENT_MERCH_SEARCH_CHANGE:()=>Ic,EVENT_MERCH_SIDENAV_SELECT:()=>Mc,EVENT_MERCH_STOCK_CHANGE:()=>kc,EVENT_MERCH_STORAGE_CHANGE:()=>Mr,EVENT_OFFER_SELECTED:()=>Pc,EVENT_TYPE_FAILED:()=>ti,EVENT_TYPE_READY:()=>dt,EVENT_TYPE_RESOLVED:()=>ri,HEADER_X_REQUEST_ID:()=>ci,LOG_NAMESPACE:()=>ni,Landscape:()=>fe,MARK_DURATION_SUFFIX:()=>Qt,MARK_START_SUFFIX:()=>Ce,MAS_COMMERCE_SERVICE_INIT_TIME_MEASURE_NAME:()=>Zt,MODAL_TYPE_3_IN_1:()=>ze,NAMESPACE:()=>wc,PARAM_AOS_API_KEY:()=>$c,PARAM_ENV:()=>ii,PARAM_LANDSCAPE:()=>oi,PARAM_WCS_API_KEY:()=>Vc,PROVIDER_ENVIRONMENT:()=>li,SELECTOR_MAS_CHECKOUT_LINK:()=>Wt,SELECTOR_MAS_ELEMENT:()=>qt,SELECTOR_MAS_INLINE_PRICE:()=>Rr,SELECTOR_MAS_SP_BUTTON:()=>Fn,STATE_FAILED:()=>me,STATE_PENDING:()=>Le,STATE_RESOLVED:()=>pe,TAG_NAME_SERVICE:()=>Lc,WCS_PROD_URL:()=>ai,WCS_STAGE_URL:()=>si,WORKFLOW_STEP:()=>Be});var wc="merch",_c="hidden",dt="wcms:commerce:ready",Lc="mas-commerce-service",Rr='span[is="inline-price"][data-wcs-osi]',Wt='a[is="checkout-link"][data-wcs-osi],button[is="checkout-button"][data-wcs-osi]',Fn="sp-button[data-wcs-osi]",qt=`${Rr},${Wt}`,Cc="merch-offer:ready",Kn="merch-offer-select:ready",Yn="merch-card:ready",jn="merch-card:action-menu-toggle",Pc="merch-offer:selected",kc="merch-stock:change",Mr="merch-storage:change",ut="merch-quantity-selector:change",Ic="merch-search:change",Nc="merch-card-collection:sort",Rc="merch-card-collection:showmore",Mc="merch-sidenav:select",De="aem:load",Ge="aem:error",Xn="mas:ready",Wn="mas:error",qn="placeholder-failed",Zn="placeholder-pending",Qn="placeholder-resolved",Jn="Bad WCS request",ei="Commerce offer not found",Oc="Literals URL not provided",ti="mas:failed",ri="mas:resolved",ni="mas/commerce",ii="commerce.env",oi="commerce.landscape",$c="commerce.aosKey",Vc="commerce.wcsKey",ai="https://www.adobe.com/web_commerce_artifact",si="https://www.stage.adobe.com/web_commerce_artifact_stage",me="failed",Le="pending",pe="resolved",fe={DRAFT:"DRAFT",PUBLISHED:"PUBLISHED"},ci="X-Request-Id",Zt="mas-commerce-service:initTime",Be={CHECKOUT:"checkout",CHECKOUT_EMAIL:"checkout/email",SEGMENTATION:"segmentation",BUNDLE:"bundle",COMMITMENT:"commitment",RECOMMENDATION:"recommendation",EMAIL:"email",PAYMENT:"payment",CHANGE_PLAN_TEAM_PLANS:"change-plan/team-upgrade/plans",CHANGE_PLAN_TEAM_PAYMENT:"change-plan/team-upgrade/payment"},li={PRODUCTION:"PRODUCTION"},ze={TWP:"twp",D2P:"d2p",CRM:"crm"},Ce=":start",Qt=":duration";function ha(e,t){let r;return function(){let n=this,i=arguments;clearTimeout(r),r=setTimeout(()=>e.apply(n,i),t)}}function Fe(e,t={},r=null,n=null){let i=n?document.createElement(e,{is:n}):document.createElement(e);r instanceof HTMLElement?i.appendChild(r):i.innerHTML=r;for(let[o,a]of Object.entries(t))i.setAttribute(o,a);return i}function Or(){return window.matchMedia("(max-width: 767px)").matches}function da(){return window.matchMedia("(max-width: 1024px)").matches}function ne(){let e=document.querySelector("mas-commerce-service");return e?{[Zt]:e.initDuration}:{}}var ua=` :root { --consonant-merch-card-catalog-width: 276px; --consonant-merch-card-catalog-icon-size: 40px; @@ -275,7 +279,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let x=new XMLHttpRequest;return n.lan grid-template-columns: var(--consonant-merch-card-catalog-width); } -@media screen and ${V} { +@media screen and ${H} { :root { --consonant-merch-card-catalog-width: 302px; } @@ -287,7 +291,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let x=new XMLHttpRequest;return n.lan } } -@media screen and ${M} { +@media screen and ${O} { :root { --consonant-merch-card-catalog-width: 276px; } @@ -298,7 +302,7 @@ Opts:`,u),!n.lana.localhost||n.lana.debug){let x=new XMLHttpRequest;return n.lan } } -@media screen and ${q} { +@media screen and ${J} { .four-merch-cards.catalog { grid-template-columns: repeat(4, var(--consonant-merch-card-catalog-width)); } @@ -349,12 +353,12 @@ merch-card[variant="catalog"] .payment-details { font-style: italic; font-weight: 400; line-height: var(--consonant-merch-card-body-line-height); -}`;var jn={badge:!0,ctas:{slot:"footer",size:"m"},description:{tag:"div",slot:"body-xs"},mnemonics:{size:"l"},prices:{tag:"h3",slot:"heading-xs"},size:["wide","super-wide"],title:{tag:"h3",slot:"heading-xs"}},ct=class extends C{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(In,{bubbles:!0,composed:!0,detail:{card:this.card.name,type:"action-menu"}}))});p(this,"toggleActionMenu",r=>{if(!this.actionMenuContentSlot||!r||r.type!=="click"&&r.code!=="Space"&&r.code!=="Enter")return;r.preventDefault(),this.actionMenuContentSlot.classList.toggle("hidden");let n=this.actionMenuContentSlot.classList.contains("hidden");n||this.dispatchActionMenuToggle(),this.setAriaExpanded(this.actionMenu,(!n).toString())});p(this,"toggleActionMenuFromCard",r=>{let n=r?.type==="mouseleave"?!0:void 0;this.card.blur(),this.actionMenu?.classList.remove("always-visible"),this.actionMenuContentSlot&&(n||this.dispatchActionMenuToggle(),this.actionMenuContentSlot.classList.toggle("hidden",n),this.setAriaExpanded(this.actionMenu,"false"))});p(this,"hideActionMenu",r=>{this.actionMenuContentSlot?.classList.add("hidden"),this.setAriaExpanded(this.actionMenu,"false")})}get aemFragmentMapping(){return jn}get actionMenu(){return this.card.shadowRoot.querySelector(".action-menu")}get actionMenuContentSlot(){return this.card.shadowRoot.querySelector('slot[name="action-menu-content"]')}renderLayout(){return b`
+}`;var di={badge:!0,ctas:{slot:"footer",size:"m"},description:{tag:"div",slot:"body-xs"},mnemonics:{size:"l"},prices:{tag:"h3",slot:"heading-xs"},size:["wide","super-wide"],title:{tag:"h3",slot:"heading-xs"}},mt=class extends k{constructor(r){super(r);p(this,"dispatchActionMenuToggle",()=>{this.card.dispatchEvent(new CustomEvent(jn,{bubbles:!0,composed:!0,detail:{card:this.card.name,type:"action-menu"}}))});p(this,"toggleActionMenu",r=>{if(!this.actionMenuContentSlot||!r||r.type!=="click"&&r.code!=="Space"&&r.code!=="Enter")return;r.preventDefault(),this.actionMenuContentSlot.classList.toggle("hidden");let n=this.actionMenuContentSlot.classList.contains("hidden");n||this.dispatchActionMenuToggle(),this.setAriaExpanded(this.actionMenu,(!n).toString())});p(this,"toggleActionMenuFromCard",r=>{let n=r?.type==="mouseleave"?!0:void 0;this.card.blur(),this.actionMenu?.classList.remove("always-visible"),this.actionMenuContentSlot&&(n||this.dispatchActionMenuToggle(),this.actionMenuContentSlot.classList.toggle("hidden",n),this.setAriaExpanded(this.actionMenu,"false"))});p(this,"hideActionMenu",r=>{this.actionMenuContentSlot?.classList.add("hidden"),this.setAriaExpanded(this.actionMenu,"false")})}get aemFragmentMapping(){return di}get actionMenu(){return this.card.shadowRoot.querySelector(".action-menu")}get actionMenuContentSlot(){return this.card.shadowRoot.querySelector('slot[name="action-menu-content"]')}renderLayout(){return g`
${this.badge}
- ${this.promoBottom?"":b``} - ${this.promoBottom?b``:""}
${this.secureLabelFooter} - `}getGlobalCSS(){return jo}setAriaExpanded(r,n){r.setAttribute("aria-expanded",n)}connectedCallbackHook(){this.card.addEventListener("mouseleave",this.toggleActionMenuFromCard)}disconnectedCallbackHook(){this.card.removeEventListener("mouseleave",this.toggleActionMenuFromCard)}};p(ct,"variantStyle",_` + `}getGlobalCSS(){return ua}setAriaExpanded(r,n){r.setAttribute("aria-expanded",n)}connectedCallbackHook(){this.card.addEventListener("mouseleave",this.toggleActionMenuFromCard)}disconnectedCallbackHook(){this.card.removeEventListener("mouseleave",this.toggleActionMenuFromCard)}};p(mt,"variantStyle",L` :host([variant='catalog']) { min-height: 330px; width: var(--consonant-merch-card-catalog-width); @@ -398,7 +402,7 @@ merch-card[variant="catalog"] .payment-details { margin-left: var(--consonant-merch-spacing-xxs); box-sizing: border-box; } - `);var Wo=` + `);var ma=` :root { --consonant-merch-card-image-width: 300px; } @@ -410,7 +414,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${V} { +@media screen and ${H} { .two-merch-cards.image, .three-merch-cards.image, .four-merch-cards.image { @@ -418,7 +422,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${M} { +@media screen and ${O} { :root { --consonant-merch-card-image-width: 378px; --consonant-merch-card-image-width-4clm: 276px; @@ -432,24 +436,24 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: repeat(4, var(--consonant-merch-card-image-width-4clm)); } } -`;var wr=class extends C{constructor(t){super(t)}getGlobalCSS(){return Wo}renderLayout(){return b`${this.cardImage} +`;var $r=class extends k{constructor(t){super(t)}getGlobalCSS(){return ma}renderLayout(){return g`${this.cardImage}
- ${this.promoBottom?b``:b``} + ${this.promoBottom?g``:g``}
- ${this.evergreen?b` + ${this.evergreen?g`
- `:b` + `:g`
${this.secureLabelFooter} - `}`}};var Xo=` + `}`}};var pa=` :root { --consonant-merch-card-inline-heading-width: 300px; } @@ -461,7 +465,7 @@ merch-card[variant="catalog"] .payment-details { grid-template-columns: var(--consonant-merch-card-inline-heading-width); } -@media screen and ${V} { +@media screen and ${H} { .two-merch-cards.inline-heading, .three-merch-cards.inline-heading, .four-merch-cards.inline-heading { @@ -469,7 +473,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${M} { +@media screen and ${O} { :root { --consonant-merch-card-inline-heading-width: 378px; } @@ -480,12 +484,12 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${q} { +@media screen and ${J} { .four-merch-cards.inline-heading { grid-template-columns: repeat(4, var(--consonant-merch-card-inline-heading-width)); } } -`;var Lr=class extends C{constructor(t){super(t)}getGlobalCSS(){return Xo}renderLayout(){return b` ${this.badge} +`;var Vr=class extends k{constructor(t){super(t)}getGlobalCSS(){return pa}renderLayout(){return g` ${this.badge}
@@ -493,7 +497,7 @@ merch-card[variant="catalog"] .payment-details {
- ${this.card.customHr?"":b`
`} ${this.secureLabelFooter}`}};var qo=` + ${this.card.customHr?"":g`
`} ${this.secureLabelFooter}`}};var fa=` :root { --consonant-merch-card-mini-compare-chart-icon-size: 32px; --consonant-merch-card-mini-compare-mobile-cta-font-size: 15px; @@ -684,7 +688,7 @@ merch-card[variant="catalog"] .payment-details { } /* mini compare mobile */ -@media screen and ${Ae} { +@media screen and ${_e} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -722,7 +726,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${yr} { +@media screen and ${Nr} { merch-card[variant="mini-compare-chart"] [slot='heading-m'] { font-size: var(--consonant-merch-card-body-s-font-size); line-height: var(--consonant-merch-card-body-s-line-height); @@ -748,7 +752,7 @@ merch-card[variant="catalog"] .payment-details { line-height: var(--consonant-merch-card-body-xs-line-height); } } -@media screen and ${V} { +@media screen and ${H} { :root { --consonant-merch-card-mini-compare-chart-width: 302px; --consonant-merch-card-mini-compare-chart-wide-width: 302px; @@ -766,7 +770,7 @@ merch-card[variant="catalog"] .payment-details { } /* desktop */ -@media screen and ${M} { +@media screen and ${O} { :root { --consonant-merch-card-mini-compare-chart-width: 378px; --consonant-merch-card-mini-compare-chart-wide-width: 484px; @@ -787,7 +791,7 @@ merch-card[variant="catalog"] .payment-details { } } -@media screen and ${q} { +@media screen and ${J} { .four-merch-cards.mini-compare-chart { grid-template-columns: repeat(4, var(--consonant-merch-card-mini-compare-chart-width)); } @@ -824,16 +828,16 @@ merch-card .footer-row-cell:nth-child(7) { merch-card .footer-row-cell:nth-child(8) { min-height: var(--consonant-merch-card-footer-row-8-min-height); } -`;var Sc=32,lt=class extends C{constructor(r){super(r);p(this,"getRowMinHeightPropertyName",r=>`--consonant-merch-card-footer-row-${r}-min-height`);p(this,"getMiniCompareFooter",()=>{let r=this.card.secureLabel?b` +`;var Uc=32,pt=class extends k{constructor(r){super(r);p(this,"getRowMinHeightPropertyName",r=>`--consonant-merch-card-footer-row-${r}-min-height`);p(this,"getMiniCompareFooter",()=>{let r=this.card.secureLabel?g` ${this.card.secureLabel}`:b``;return b`
${r}
`})}getGlobalCSS(){return qo}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section");let r=["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"];this.card.classList.contains("bullet-list")&&r.push("footer-rows"),r.forEach(i=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${i}"]`),i)),this.updateCardElementMinHeight(this.card.shadowRoot.querySelector("footer"),"footer");let n=this.card.shadowRoot.querySelector(".mini-compare-chart-badge");n&&n.textContent!==""&&this.getContainer().style.setProperty("--consonant-merch-card-mini-compare-chart-top-section-mobile-height","32px")}adjustMiniCompareFooterRows(){if(this.card.getBoundingClientRect().width===0)return;[...this.card.querySelector('[slot="footer-rows"] ul')?.children].forEach((n,i)=>{let o=Math.max(Sc,parseFloat(window.getComputedStyle(n).height)||0),a=parseFloat(this.getContainer().style.getPropertyValue(this.getRowMinHeightPropertyName(i+1)))||0;o>a&&this.getContainer().style.setProperty(this.getRowMinHeightPropertyName(i+1),`${o}px`)})}removeEmptyRows(){this.card.querySelectorAll(".footer-row-cell").forEach(n=>{let i=n.querySelector(".footer-row-cell-description");i&&!i.textContent.trim()&&n.remove()})}renderLayout(){return b`
+ >`:g``;return g`
${r}
`})}getGlobalCSS(){return fa}adjustMiniCompareBodySlots(){if(this.card.getBoundingClientRect().width<=2)return;this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(".top-section"),"top-section");let r=["heading-m","body-m","heading-m-price","body-xxs","price-commitment","offers","promo-text","callout-content"];this.card.classList.contains("bullet-list")&&r.push("footer-rows"),r.forEach(i=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${i}"]`),i)),this.updateCardElementMinHeight(this.card.shadowRoot.querySelector("footer"),"footer");let n=this.card.shadowRoot.querySelector(".mini-compare-chart-badge");n&&n.textContent!==""&&this.getContainer().style.setProperty("--consonant-merch-card-mini-compare-chart-top-section-mobile-height","32px")}adjustMiniCompareFooterRows(){if(this.card.getBoundingClientRect().width===0)return;let r=this.card.querySelector('[slot="footer-rows"] ul');!r||!r.children||[...r.children].forEach((n,i)=>{let o=Math.max(Uc,parseFloat(window.getComputedStyle(n).height)||0),a=parseFloat(this.getContainer().style.getPropertyValue(this.getRowMinHeightPropertyName(i+1)))||0;o>a&&this.getContainer().style.setProperty(this.getRowMinHeightPropertyName(i+1),`${o}px`)})}removeEmptyRows(){this.card.querySelectorAll(".footer-row-cell").forEach(n=>{let i=n.querySelector(".footer-row-cell-description");i&&!i.textContent.trim()&&n.remove()})}renderLayout(){return g`
${this.badge}
- ${this.card.classList.contains("bullet-list")?b` - `:b` + ${this.card.classList.contains("bullet-list")?g` + `:g` `} @@ -841,7 +845,7 @@ merch-card .footer-row-cell:nth-child(8) { ${this.getMiniCompareFooter()} - `}async postCardUpdateHook(){Er()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(lt,"variantStyle",_` + `}async postCardUpdateHook(){Or()?this.removeEmptyRows():(await Promise.all(this.card.prices.map(r=>r.onceSettled())),this.adjustMiniCompareBodySlots(),this.adjustMiniCompareFooterRows())}};p(pt,"variantStyle",L` :host([variant='mini-compare-chart']) > slot:not([name='icons']) { display: block; } @@ -874,7 +878,7 @@ merch-card .footer-row-cell:nth-child(8) { color: var(--merch-color-grey-700); } - @media screen and ${xe(yr)} { + @media screen and ${Te(Nr)} { [class*'-merch-cards'] :host([variant='mini-compare-chart']) footer { flex-direction: column; align-items: stretch; @@ -882,7 +886,7 @@ merch-card .footer-row-cell:nth-child(8) { } } - @media screen and ${xe(M)} { + @media screen and ${Te(O)} { :host([variant='mini-compare-chart']) footer { padding: var(--consonant-merch-spacing-xs) var(--consonant-merch-spacing-s) @@ -933,7 +937,7 @@ merch-card .footer-row-cell:nth-child(8) { :host([variant='mini-compare-chart']) slot[name='footer-rows'] { justify-content: flex-start; } - `);var Zo=` + `);var ga=` :root { --consonant-merch-card-plans-width: 300px; --consonant-merch-card-plans-icon-size: 40px; @@ -963,7 +967,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${V} { +@media screen and ${H} { :root { --consonant-merch-card-plans-width: 302px; } @@ -978,7 +982,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${M} { +@media screen and ${O} { :root { --consonant-merch-card-plans-width: 276px; } @@ -991,16 +995,16 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Large desktop */ - @media screen and ${q} { + @media screen and ${J} { .four-merch-cards.plans { grid-template-columns: repeat(4, var(--consonant-merch-card-plans-width)); } } -`;var Wn={title:{tag:"p",slot:"heading-xs"},prices:{tag:"p",slot:"heading-m"},promoText:{tag:"p",slot:"promo-text"},description:{tag:"div",slot:"body-xs"},mnemonics:{size:"l"},callout:{tag:"div",slot:"callout-content"},quantitySelect:{tag:"div",slot:"quantity-select"},stockOffer:!0,secureLabel:!0,badge:!0,ctas:{slot:"footer",size:"m"},style:"consonant"},ht=class extends C{constructor(t){super(t)}get aemFragmentMapping(){return Wn}getGlobalCSS(){return Zo}postCardUpdateHook(){this.adjustTitleWidth()}get stockCheckbox(){return this.card.checkboxLabel?b``:""}renderLayout(){return g` ${this.badge}
@@ -1014,7 +1018,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { ${this.stockCheckbox}
- ${this.secureLabelFooter}`}};p(ht,"variantStyle",_` + ${this.secureLabelFooter}`}};p(ft,"variantStyle",L` :host([variant='plans']) { min-height: 348px; } @@ -1022,7 +1026,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { :host([variant='plans']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);var Qo=` + `);var ba=` :root { --consonant-merch-card-product-width: 300px; } @@ -1036,7 +1040,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Tablet */ -@media screen and ${V} { +@media screen and ${H} { .two-merch-cards.product, .three-merch-cards.product, .four-merch-cards.product { @@ -1045,7 +1049,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${M} { +@media screen and ${O} { :root { --consonant-merch-card-product-width: 378px; --consonant-merch-card-product-width-4clm: 276px; @@ -1059,18 +1063,18 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, var(--consonant-merch-card-product-width-4clm)); } } -`;var He=class extends C{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return Qo}adjustProductBodySlots(){if(this.card.getBoundingClientRect().width===0)return;["heading-xs","body-xxs","body-xs","promo-text","callout-content","body-lower"].forEach(r=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${r}"]`),r))}renderLayout(){return b` ${this.badge} +`;var Ke=class extends k{constructor(t){super(t),this.postCardUpdateHook=this.postCardUpdateHook.bind(this)}getGlobalCSS(){return ba}adjustProductBodySlots(){if(this.card.getBoundingClientRect().width===0)return;["heading-xs","body-xxs","body-xs","promo-text","callout-content","body-lower"].forEach(r=>this.updateCardElementMinHeight(this.card.shadowRoot.querySelector(`slot[name="${r}"]`),r))}renderLayout(){return g` ${this.badge}
- ${this.promoBottom?"":b``} + ${this.promoBottom?"":g``} - ${this.promoBottom?b``:""} + ${this.promoBottom?g``:""}
- ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(Er()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p(He,"variantStyle",_` + ${this.secureLabelFooter}`}connectedCallbackHook(){window.addEventListener("resize",this.postCardUpdateHook)}disconnectedCallbackHook(){window.removeEventListener("resize",this.postCardUpdateHook)}postCardUpdateHook(){this.card.isConnected&&(Or()||this.adjustProductBodySlots(),this.adjustTitleWidth())}};p(Ke,"variantStyle",L` :host([variant='product']) > slot:not([name='icons']) { display: block; } @@ -1098,7 +1102,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { :host([variant='product']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);var Jo=` + `);var xa=` :root { --consonant-merch-card-segment-width: 378px; } @@ -1112,13 +1116,13 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* Mobile */ -@media screen and ${Ae} { +@media screen and ${_e} { :root { --consonant-merch-card-segment-width: 276px; } } -@media screen and ${V} { +@media screen and ${H} { :root { --consonant-merch-card-segment-width: 276px; } @@ -1131,7 +1135,7 @@ merch-card[variant="plans"] [slot="quantity-select"] { } /* desktop */ -@media screen and ${M} { +@media screen and ${O} { :root { --consonant-merch-card-segment-width: 302px; } @@ -1144,23 +1148,23 @@ merch-card[variant="plans"] [slot="quantity-select"] { grid-template-columns: repeat(4, minmax(276px, var(--consonant-merch-card-segment-width))); } } -`;var dt=class extends C{constructor(t){super(t)}getGlobalCSS(){return Jo}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return b` ${this.badge} +`;var gt=class extends k{constructor(t){super(t)}getGlobalCSS(){return xa}postCardUpdateHook(){this.adjustTitleWidth()}renderLayout(){return g` ${this.badge}
- ${this.promoBottom?"":b``} + ${this.promoBottom?"":g``} - ${this.promoBottom?b``:""} + ${this.promoBottom?g``:""}

- ${this.secureLabelFooter}`}};p(dt,"variantStyle",_` + ${this.secureLabelFooter}`}};p(gt,"variantStyle",L` :host([variant='segment']) { min-height: 214px; } :host([variant='segment']) ::slotted([slot='heading-xs']) { max-width: var(--consonant-merch-card-heading-xs-max-width, 100%); } - `);var ea=` + `);var va=` :root { --consonant-merch-card-special-offers-width: 378px; } @@ -1177,13 +1181,13 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri grid-template-columns: minmax(300px, var(--consonant-merch-card-special-offers-width)); } -@media screen and ${Ae} { +@media screen and ${_e} { :root { --consonant-merch-card-special-offers-width: 302px; } } -@media screen and ${V} { +@media screen and ${H} { :root { --consonant-merch-card-special-offers-width: 302px; } @@ -1196,36 +1200,36 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri } /* desktop */ -@media screen and ${M} { +@media screen and ${O} { .three-merch-cards.special-offers, .four-merch-cards.special-offers { grid-template-columns: repeat(3, minmax(300px, var(--consonant-merch-card-special-offers-width))); } } -@media screen and ${q} { +@media screen and ${J} { .four-merch-cards.special-offers { grid-template-columns: repeat(4, minmax(300px, var(--consonant-merch-card-special-offers-width))); } } -`;var Xn={name:{tag:"h4",slot:"detail-m"},title:{tag:"h4",slot:"detail-m"},backgroundImage:{tag:"div",slot:"bg-image"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"l"}},ut=class extends C{constructor(t){super(t)}getGlobalCSS(){return ea}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return Xn}renderLayout(){return b`${this.cardImage} +`;var mi={name:{tag:"h4",slot:"detail-m"},title:{tag:"h4",slot:"detail-m"},backgroundImage:{tag:"div",slot:"bg-image"},prices:{tag:"h3",slot:"heading-xs"},description:{tag:"div",slot:"body-xs"},ctas:{slot:"footer",size:"l"}},bt=class extends k{constructor(t){super(t)}getGlobalCSS(){return va}get headingSelector(){return'[slot="detail-m"]'}get aemFragmentMapping(){return mi}renderLayout(){return g`${this.cardImage}
- ${this.evergreen?b` + ${this.evergreen?g`
- `:b` + `:g`
${this.secureLabelFooter} `} - `}};p(ut,"variantStyle",_` + `}};p(bt,"variantStyle",L` :host([variant='special-offers']) { min-height: 439px; } @@ -1237,7 +1241,7 @@ merch-card[variant="special-offers"] span[is="inline-price"][data-template="stri :host([variant='special-offers'].center) { text-align: center; } - `);var ta=` + `);var Aa=` :root { --consonant-merch-card-twp-width: 268px; --consonant-merch-card-twp-mobile-width: 300px; @@ -1292,7 +1296,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: var(--consonant-merch-card-image-width); } -@media screen and ${Ae} { +@media screen and ${_e} { :root { --consonant-merch-card-twp-width: 300px; } @@ -1303,7 +1307,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${V} { +@media screen and ${H} { :root { --consonant-merch-card-twp-width: 268px; } @@ -1316,7 +1320,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${M} { +@media screen and ${O} { :root { --consonant-merch-card-twp-width: 268px; } @@ -1329,7 +1333,7 @@ merch-card[variant='twp'] merch-offer-select { } } -@media screen and ${q} { +@media screen and ${J} { .one-merch-card.twp .two-merch-cards.twp { grid-template-columns: repeat(2, var(--consonant-merch-card-twp-width)); @@ -1338,7 +1342,7 @@ merch-card[variant='twp'] merch-offer-select { grid-template-columns: repeat(3, var(--consonant-merch-card-twp-width)); } } -`;var mt=class extends C{constructor(t){super(t)}getGlobalCSS(){return ta}renderLayout(){return b`${this.badge} +`;var xt=class extends k{constructor(t){super(t)}getGlobalCSS(){return Aa}renderLayout(){return g`${this.badge}
@@ -1347,7 +1351,7 @@ merch-card[variant='twp'] merch-offer-select {
-
`}};p(mt,"variantStyle",_` +
`}};p(xt,"variantStyle",L` :host([variant='twp']) { padding: 4px 10px 5px 10px; } @@ -1386,7 +1390,7 @@ merch-card[variant='twp'] merch-offer-select { flex-direction: column; align-self: flex-start; } - `);var ra=` + `);var Ea=` merch-card[variant="ccd-suggested"] [slot="heading-xs"] { font-size: var(--consonant-merch-card-heading-xxs-font-size); @@ -1416,12 +1420,12 @@ merch-card[variant='twp'] merch-offer-select { .spectrum--darkest merch-card[variant="ccd-suggested"]:hover { --consonant-merch-card-border-color:rgb(73, 73, 73); } -`;var qn={backgroundImage:{attribute:"background-image"},badge:!0,ctas:{slot:"cta",size:"M"},description:{tag:"div",slot:"body-xs"},mnemonics:{size:"l"},prices:{tag:"p",slot:"price"},size:[],subtitle:{tag:"h4",slot:"detail-s"},title:{tag:"h3",slot:"heading-xs"}},pt=class extends C{getGlobalCSS(){return ra}get aemFragmentMapping(){return qn}get stripStyle(){return this.card.backgroundImage?` +`;var pi={backgroundImage:{attribute:"background-image"},badge:!0,ctas:{slot:"cta",size:"M"},description:{tag:"div",slot:"body-xs"},mnemonics:{size:"l"},prices:{tag:"p",slot:"price"},size:[],subtitle:{tag:"h4",slot:"detail-s"},title:{tag:"h3",slot:"heading-xs"}},vt=class extends k{getGlobalCSS(){return Ea}get aemFragmentMapping(){return pi}get stripStyle(){return this.card.backgroundImage?` background: url("${this.card.backgroundImage}"); background-size: auto 100%; background-repeat: no-repeat; background-position: ${this.card.dir==="ltr"?"left":"right"}; - `:""}renderLayout(){return b`
+ `:""}renderLayout(){return g`
@@ -1438,7 +1442,7 @@ merch-card[variant='twp'] merch-offer-select {
- `}postCardUpdateHook(t){t.has("backgroundImage")&&this.styleBackgroundImage()}styleBackgroundImage(){if(this.card.classList.remove("thin-strip"),this.card.classList.remove("wide-strip"),!this.card.backgroundImage)return;let t=new Image;t.src=this.card.backgroundImage,t.onload=()=>{t.width>8?this.card.classList.add("wide-strip"):t.width===8&&this.card.classList.add("thin-strip")}}};p(pt,"variantStyle",_` + `}postCardUpdateHook(t){t.has("backgroundImage")&&this.styleBackgroundImage()}styleBackgroundImage(){if(this.card.classList.remove("thin-strip"),this.card.classList.remove("wide-strip"),!this.card.backgroundImage)return;let t=new Image;t.src=this.card.backgroundImage,t.onload=()=>{t.width>8?this.card.classList.add("wide-strip"):t.width===8&&this.card.classList.add("thin-strip")}}};p(vt,"variantStyle",L` :host([variant='ccd-suggested']) { --consonant-merch-card-background-color: rgb(245, 245, 245); --consonant-merch-card-body-xs-color: rgb(75, 75, 75); @@ -1546,7 +1550,7 @@ merch-card[variant='twp'] merch-offer-select { :host([variant='ccd-suggested']) .top-section { align-items: center; } - `);var na=` + `);var ya=` merch-card[variant="ccd-slice"] [slot='image'] img { overflow: hidden; @@ -1566,7 +1570,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { --consonant-merch-card-border-color:rgb(48, 48, 48); --consonant-merch-card-detail-s-color:rgb(235, 235, 235); } -`;var Zn={backgroundImage:{tag:"div",slot:"image"},badge:!0,ctas:{slot:"footer",size:"S"},description:{tag:"div",slot:"body-s"},mnemonics:{size:"m"},size:["wide"]},ft=class extends C{getGlobalCSS(){return na}get aemFragmentMapping(){return Zn}renderLayout(){return b`
+`;var fi={backgroundImage:{tag:"div",slot:"image"},badge:!0,ctas:{slot:"footer",size:"S"},description:{tag:"div",slot:"body-s"},mnemonics:{size:"m"},size:["wide"]},At=class extends k{getGlobalCSS(){return ya}get aemFragmentMapping(){return fi}renderLayout(){return g`
${this.badge} @@ -1575,7 +1579,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link {
- `}};p(ft,"variantStyle",_` + `}};p(At,"variantStyle",L` :host([variant='ccd-slice']) { --consonant-merch-card-background-color: rgb(248, 248, 248); --consonant-merch-card-border-color: rgb(230, 230, 230); @@ -1678,7 +1682,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { align-items: center; gap: 8px; } - `);var ia=` + `);var Sa=` merch-card[variant="ah-try-buy-widget"] [slot="body-xxs"] { letter-spacing: normal; margin-bottom: 16px; @@ -1803,7 +1807,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { .spectrum--darkest merch-card[variant="ah-try-buy-widget"]:hover { --consonant-merch-card-border-color:rgb(73, 73, 73); } -`;var Qn={mnemonics:{size:"s"},title:{tag:"h3",slot:"heading-xxxs",maxCount:40,withSuffix:!0},description:{tag:"div",slot:"body-xxs",maxCount:200,withSuffix:!1},prices:{tag:"p",slot:"price"},ctas:{slot:"cta",size:"S"},backgroundImage:{tag:"div",slot:"image"},backgroundColor:{attribute:"background-color"},borderColor:{attribute:"border-color"},allowedColors:{gray:"--spectrum-gray-100"},size:["single","double","triple"]},Ue=class extends C{getGlobalCSS(){return ia}get aemFragmentMapping(){return Qn}renderLayout(){return b` +`;var gi={mnemonics:{size:"s"},title:{tag:"h3",slot:"heading-xxxs",maxCount:40,withSuffix:!0},description:{tag:"div",slot:"body-xxs",maxCount:200,withSuffix:!1},prices:{tag:"p",slot:"price"},ctas:{slot:"cta",size:"S"},backgroundImage:{tag:"div",slot:"image"},backgroundColor:{attribute:"background-color"},borderColor:{attribute:"border-color"},allowedColors:{gray:"--spectrum-gray-100"},size:["single","double","triple"]},Ye=class extends k{getGlobalCSS(){return Sa}get aemFragmentMapping(){return gi}renderLayout(){return g`
@@ -1819,7 +1823,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link {
- `}};p(Ue,"variantStyle",_` + `}};p(Ye,"variantStyle",L` :host([variant='ah-try-buy-widget']) { --merch-card-ah-try-buy-widget-min-width: 132px; --merch-card-ah-try-buy-widget-content-min-width: 132px; @@ -1893,7 +1897,7 @@ merch-card[variant="ccd-slice"] [slot='body-s'] a.spectrum-Link { gap: 8px; flex-direction: row; } - `);customElements.define("ah-try-buy-widget",Ue);var Jn=(e,t=!1)=>{switch(e.variant){case"catalog":return new ct(e);case"image":return new wr(e);case"inline-heading":return new Lr(e);case"mini-compare-chart":return new lt(e);case"plans":return new ht(e);case"product":return new He(e);case"segment":return new dt(e);case"special-offers":return new ut(e);case"twp":return new mt(e);case"ccd-suggested":return new pt(e);case"ccd-slice":return new ft(e);case"ah-try-buy-widget":return new Ue(e);default:return t?void 0:new He(e)}},oa={catalog:jn,image:null,"inline-heading":null,"mini-compare-chart":null,plans:Wn,product:null,segment:null,"special-offers":Xn,twp:null,"ccd-suggested":qn,"ccd-slice":Zn,"ah-try-buy-widget":Qn},aa=()=>{let e=[];return e.push(ct.variantStyle),e.push(lt.variantStyle),e.push(He.variantStyle),e.push(ht.variantStyle),e.push(dt.variantStyle),e.push(ut.variantStyle),e.push(mt.variantStyle),e.push(pt.variantStyle),e.push(ft.variantStyle),e.push(Ue.variantStyle),e};var sa=document.createElement("style");sa.innerHTML=` + `);customElements.define("ah-try-buy-widget",Ye);var bi=(e,t=!1)=>{switch(e.variant){case"catalog":return new mt(e);case"image":return new $r(e);case"inline-heading":return new Vr(e);case"mini-compare-chart":return new pt(e);case"plans":return new ft(e);case"product":return new Ke(e);case"segment":return new gt(e);case"special-offers":return new bt(e);case"twp":return new xt(e);case"ccd-suggested":return new vt(e);case"ccd-slice":return new At(e);case"ah-try-buy-widget":return new Ye(e);default:return t?void 0:new Ke(e)}},Ta={catalog:di,image:null,"inline-heading":null,"mini-compare-chart":null,plans:ui,product:null,segment:null,"special-offers":mi,twp:null,"ccd-suggested":pi,"ccd-slice":fi,"ah-try-buy-widget":gi},wa=()=>{let e=[];return e.push(mt.variantStyle),e.push(pt.variantStyle),e.push(Ke.variantStyle),e.push(ft.variantStyle),e.push(gt.variantStyle),e.push(bt.variantStyle),e.push(xt.variantStyle),e.push(vt.variantStyle),e.push(At.variantStyle),e.push(Ye.variantStyle),e};var _a=document.createElement("style");_a.innerHTML=` :root { --consonant-merch-card-detail-font-size: 12px; --consonant-merch-card-detail-font-weight: 500; @@ -2375,11 +2379,12 @@ merch-sidenav-checkbox-group h3 { margin: 0px; } -`;document.head.appendChild(sa);var da=new CSSStyleSheet;da.replaceSync(":host { display: contents; }");var Tc=document.querySelector('meta[name="aem-base-url"]')?.content??"https://odin.adobe.com",ca="fragment",la="author",wc="ims",ha=e=>{throw new Error(`Failed to get fragment: ${e}`)};async function Lc(e,t,r,n){let i=r?`${e}/adobe/sites/cf/fragments/${t}`:`${e}/adobe/sites/fragments/${t}`,o=await fetch(i,{cache:"default",credentials:"omit",headers:n}).catch(a=>ha(a.message));return o?.ok||ha(`${o.status} ${o.statusText}`),o.json()}var ei,Ee,ti=class{constructor(){G(this,Ee,new Map)}clear(){L(this,Ee).clear()}add(...t){t.forEach(r=>{let{id:n}=r;n&&L(this,Ee).set(n,r)})}has(t){return L(this,Ee).has(t)}get(t){return L(this,Ee).get(t)}remove(t){L(this,Ee).delete(t)}};Ee=new WeakMap;var _r=new ti,De,le,Se,zt,he,gt,de,ni,ua,ma,ri=class extends HTMLElement{constructor(){super();G(this,de);p(this,"cache",_r);G(this,De);G(this,le);G(this,Se);G(this,zt,!1);G(this,he);G(this,gt,!1);this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[da];let r=this.getAttribute(wc);["",!0,"true"].includes(r)&&(K(this,zt,!0),ei||(ei={Authorization:`Bearer ${window.adobeid?.authorize?.()}`}))}static get observedAttributes(){return[ca,la]}attributeChangedCallback(r,n,i){r===ca&&(K(this,Se,i),this.refresh(!1)),r===la&&K(this,gt,["","true"].includes(i))}connectedCallback(){if(!L(this,Se)){ge(this,de,ni).call(this,"Missing fragment id");return}}async refresh(r=!0){L(this,he)&&!await Promise.race([L(this,he),Promise.resolve(!1)])||(r&&_r.remove(L(this,Se)),K(this,he,this.fetchData().then(()=>(this.dispatchEvent(new CustomEvent(Oe,{detail:this.data,bubbles:!0,composed:!0})),!0)).catch(n=>(ge(this,de,ni).call(this,"Network error: failed to load fragment"),K(this,he,null),!1))),L(this,he))}async fetchData(){K(this,De,null),K(this,le,null);let r=_r.get(L(this,Se));r||(r=await Lc(Tc,L(this,Se),L(this,gt),L(this,zt)?ei:void 0),_r.add(r)),K(this,De,r)}get updateComplete(){return L(this,he)??Promise.reject(new Error("AEM fragment cannot be loaded"))}get data(){return L(this,le)?L(this,le):(L(this,gt)?ge(this,de,ua).call(this):ge(this,de,ma).call(this),L(this,le))}};De=new WeakMap,le=new WeakMap,Se=new WeakMap,zt=new WeakMap,he=new WeakMap,gt=new WeakMap,de=new WeakSet,ni=function(r){this.classList.add("error"),this.dispatchEvent(new CustomEvent(Me,{detail:r,bubbles:!0,composed:!0}))},ua=function(){let{fields:r,id:n,tags:i}=L(this,De);K(this,le,r.reduce((o,{name:a,multiple:s,values:c})=>(o.fields[a]=s?c:c[0],o),{fields:{},id:n,tags:i}))},ma=function(){let{fields:r,id:n,tags:i}=L(this,De);K(this,le,Object.entries(r).reduce((o,[a,s])=>(o.fields[a]=s?.mimeType?s.value:s??"",o),{fields:{},id:n,tags:i}))};customElements.define("aem-fragment",ri);var ii;(function(e){e.BASE="BASE",e.TRIAL="TRIAL",e.PROMOTION="PROMOTION"})(ii||(ii={}));var H;(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"})(H||(H={}));var N;(function(e){e.ANNUAL="ANNUAL",e.MONTHLY="MONTHLY",e.TWO_YEARS="TWO_YEARS",e.THREE_YEARS="THREE_YEARS",e.P1D="P1D",e.P1Y="P1Y",e.P3Y="P3Y",e.P10Y="P10Y",e.P15Y="P15Y",e.P3D="P3D",e.P7D="P7D",e.P30D="P30D",e.HALF_YEARLY="HALF_YEARLY",e.QUARTERLY="QUARTERLY"})(N||(N={}));var oi;(function(e){e.INDIVIDUAL="INDIVIDUAL",e.TEAM="TEAM",e.ENTERPRISE="ENTERPRISE"})(oi||(oi={}));var ai;(function(e){e.COM="COM",e.EDU="EDU",e.GOV="GOV"})(ai||(ai={}));var si;(function(e){e.DIRECT="DIRECT",e.INDIRECT="INDIRECT"})(si||(si={}));var ci;(function(e){e.ENTERPRISE_PRODUCT="ENTERPRISE_PRODUCT",e.ETLA="ETLA",e.RETAIL="RETAIL",e.VIP="VIP",e.VIPMP="VIPMP",e.FREE="FREE"})(ci||(ci={}));var pa="tacocat.js";var Pr=(e,t)=>String(e??"").toLowerCase()==String(t??"").toLowerCase(),fa=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function R(e,t={},{metadata:r=!0,search:n=!0,storage:i=!0}={}){let o;if(n&&o==null){let a=new URLSearchParams(window.location.search),s=bt(n)?n:e;o=a.get(s)}if(i&&o==null){let a=bt(i)?i:e;o=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&o==null){let a=_c(bt(r)?r:e);o=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return o??t[e]}var xt=()=>{};var ga=e=>typeof e=="boolean",Ft=e=>typeof e=="function",Cr=e=>typeof e=="number",ba=e=>e!=null&&typeof e=="object";var bt=e=>typeof e=="string",li=e=>bt(e)&&e,vt=e=>Cr(e)&&Number.isFinite(e)&&e>0;function At(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function S(e,t){if(ga(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function Te(e,t,r){let n=Object.values(t);return n.find(i=>Pr(i,e))??r??n[0]}function _c(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function yt(e,t=1){return Cr(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var Pc=Date.now(),hi=()=>`(+${Date.now()-Pc}ms)`,kr=new Set,Cc=S(R("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function xa(e){let t=`[${pa}/${e}]`,r=(a,s,...c)=>a?!0:(i(s,...c),!1),n=Cc?(a,...s)=>{console.debug(`${t} ${a}`,...s,hi())}:()=>{},i=(a,...s)=>{let c=`${t} ${a}`;kr.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:i,warn:(a,...s)=>{let c=`${t} ${a}`;kr.forEach(([,l])=>l(c,...s))}}}function kc(e,t){let r=[e,t];return kr.add(r),()=>{kr.delete(r)}}kc((e,...t)=>{console.error(e,...t,hi())},(e,...t)=>{console.warn(e,...t,hi())});var Ic="no promo",va="promo-tag",Nc="yellow",Rc="neutral",Oc=(e,t,r)=>{let n=o=>o||Ic,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},Mc="cancel-context",Kt=(e,t)=>{let r=e===Mc,n=!r&&e?.length>0,i=(n||r)&&(t&&t!=e||!t&&!r),o=i&&n||!i&&!!t,a=o?e||t:void 0;return{effectivePromoCode:a,overridenPromoCode:e,className:o?va:`${va} no-promo`,text:Oc(a,t,i),variant:o?Nc:Rc,isOverriden:i}};var di="ABM",ui="PUF",mi="M2M",pi="PERPETUAL",fi="P3Y",Vc="TAX_INCLUSIVE_DETAILS",$c="TAX_EXCLUSIVE",Aa={ABM:di,PUF:ui,M2M:mi,PERPETUAL:pi,P3Y:fi},Sm={[di]:{commitment:H.YEAR,term:N.MONTHLY},[ui]:{commitment:H.YEAR,term:N.ANNUAL},[mi]:{commitment:H.MONTH,term:N.MONTHLY},[pi]:{commitment:H.PERPETUAL,term:void 0},[fi]:{commitment:H.THREE_MONTHS,term:N.P3Y}},ya="Value is not an offer",Ir=e=>{if(typeof e!="object")return ya;let{commitment:t,term:r}=e,n=Hc(t,r);return{...e,planType:n}};var Hc=(e,t)=>{switch(e){case void 0:return ya;case"":return"";case H.YEAR:return t===N.MONTHLY?di:t===N.ANNUAL?ui:"";case H.MONTH:return t===N.MONTHLY?mi:"";case H.PERPETUAL:return pi;case H.TERM_LICENSE:return t===N.P3Y?fi:"";default:return""}};function gi(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:o,taxDisplay:a}=t;if(a!==Vc)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:o??n,taxDisplay:$c}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var bi=function(e,t){return bi=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])},bi(e,t)};function Yt(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");bi(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var A=function(){return A=Object.assign||function(t){for(var r,n=1,i=arguments.length;n0}),r=[],n=0,i=t;n1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Bc,function(c,l,h,d,u,m){if(l)t.minimumIntegerDigits=h.length;else{if(d&&u)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ia.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(La.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(La,function(c,l,h,d,u,m){return h==="*"?t.minimumFractionDigits=l.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:u&&m?(t.minimumFractionDigits=u.length,t.maximumFractionDigits=u.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=A(A({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=A(A({},t),_a(o)));continue}if(ka.test(i.stem)){t=A(A({},t),_a(i.stem));continue}var a=Na(i.stem);a&&(t=A(A({},t),a));var s=Gc(i.stem);s&&(t=A(A({},t),s))}return t}var Wt={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 Oa(e,t){for(var r="",n=0;n>1),c="a",l=zc(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=c;for(;a-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function zc(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=Wt[n||""]||Wt[r||""]||Wt["".concat(r,"-001")]||Wt["001"];return i[0]}var Ai,Fc=new RegExp("^".concat(vi.source,"*")),Kc=new RegExp("".concat(vi.source,"*$"));function y(e,t){return{start:e,end:t}}var Yc=!!String.prototype.startsWith,jc=!!String.fromCodePoint,Wc=!!Object.fromEntries,Xc=!!String.prototype.codePointAt,qc=!!String.prototype.trimStart,Zc=!!String.prototype.trimEnd,Qc=!!Number.isSafeInteger,Jc=Qc?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ei=!0;try{Ma=Ua("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ei=((Ai=Ma.exec("a"))===null||Ai===void 0?void 0:Ai[0])==="a"}catch{Ei=!1}var Ma,Va=Yc?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Si=jc?String.fromCodePoint:function(){for(var t=[],r=0;ro;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},$a=Wc?Object.fromEntries:function(t){for(var r={},n=0,i=t;n=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},el=qc?function(t){return t.trimStart()}:function(t){return t.replace(Fc,"")},tl=Zc?function(t){return t.trimEnd()}:function(t){return t.replace(Kc,"")};function Ua(e,t){return new RegExp(e,t)}var Ti;Ei?(yi=Ua("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Ti=function(t,r){var n;yi.lastIndex=r;var i=yi.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):Ti=function(t,r){for(var n=[];;){var i=Ha(t,r);if(i===void 0||Ba(i)||il(i))break;n.push(i),r+=i>=65536?2:1}return Si.apply(void 0,n)};var yi,Da=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:k.pound,location:y(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(v.UNMATCHED_CLOSING_TAG,y(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&wi(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:k.literal,value:"<".concat(i,"/>"),location:y(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:k.tag,value:i,children:a,location:y(n,this.clonePosition())},err:null}:this.error(v.INVALID_TAG,y(s,this.clonePosition())))}else return this.error(v.UNCLOSED_TAG,y(n,this.clonePosition()))}else return this.error(v.INVALID_TAG,y(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&nl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var c=y(n,this.clonePosition());return{val:{type:k.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!rl(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 Si.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(),Si(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(v.EMPTY_ARGUMENT,y(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(v.MALFORMED_ARGUMENT,y(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:k.argument,value:i,location:y(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,y(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(v.MALFORMED_ARGUMENT,y(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Ti(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=y(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(v.EXPECT_ARGUMENT_TYPE,y(a,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var u=tl(d.val);if(u.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,y(this.clonePosition(),this.clonePosition()));var m=y(h,this.clonePosition());l={style:u,styleLocation:m}}var f=this.tryParseArgumentClose(i);if(f.err)return f;var g=y(i,this.clonePosition());if(l&&Va(l?.style,"::",0)){var T=el(l.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(T,l.styleLocation);return d.err?d:{val:{type:k.number,value:n,location:g,style:d.val},err:null}}else{if(T.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,g);var P=T;this.locale&&(P=Oa(T,this.locale));var u={type:Be.dateTime,pattern:P,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Ta(P):{}},x=s==="date"?k.date:k.time;return{val:{type:x,value:n,location:g,style:u},err:null}}}return{val:{type:s==="number"?k.number:s==="date"?k.date:k.time,value:n,location:g,style:(o=l?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var E=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS,y(E,A({},E)));this.bumpSpace();var I=this.parseIdentifierIfPossible(),O=0;if(s!=="select"&&I.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,y(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),I=this.parseIdentifierIfPossible(),O=d.val}var U=this.tryParsePluralOrSelectOptions(t,s,r,I);if(U.err)return U;var f=this.tryParseArgumentClose(i);if(f.err)return f;var $=y(i,this.clonePosition());return s==="select"?{val:{type:k.select,value:n,options:$a(U.val),location:$},err:null}:{val:{type:k.plural,value:n,options:$a(U.val),offset:O,pluralType:s==="plural"?"cardinal":"ordinal",location:$},err:null}}default:return this.error(v.INVALID_ARGUMENT_TYPE,y(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,y(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,y(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=Ca(t)}catch{return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:Be.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ra(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],c=new Set,l=i.value,h=i.location;;){if(l.length===0){var d=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var u=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(u.err)return u;h=y(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}else break}if(c.has(l))return this.error(r==="select"?v.DUPLICATE_SELECT_ARGUMENT_SELECTOR:v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,y(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(t+1,r,n);if(f.err)return f;var g=this.tryParseArgumentClose(m);if(g.err)return g;s.push([l,{value:f.val,location:y(m,this.clonePosition())}]),c.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return s.length===0?this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR:v.EXPECT_PLURAL_ARGUMENT_SELECTOR,y(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(v.MISSING_OTHER_CLAUSE,y(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var c=y(i,this.clonePosition());return o?(a*=n,Jc(a)?{val:a,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Ha(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(Va(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()&&Ba(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 wi(e){return e>=97&&e<=122||e>=65&&e<=90}function rl(e){return wi(e)||e===47}function nl(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 Ba(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function il(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 Li(e){e.forEach(function(t){if(delete t.location,Vr(t)||$r(t))for(var r in t.options)delete t.options[r].location,Li(t.options[r].value);else Rr(t)&&Ur(t.style)||(Or(t)||Mr(t))&&jt(t.style)?delete t.style.location:Hr(t)&&Li(t.children)})}function Ga(e,t){t===void 0&&(t={}),t=A({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Da(e,t).parse();if(r.err){var n=SyntaxError(v[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Li(r.val),r.val}function Xt(e,t){var r=t&&t.cache?t.cache:hl,n=t&&t.serializer?t.serializer:ll,i=t&&t.strategy?t.strategy:al;return i(e,{cache:r,serializer:n})}function ol(e){return e==null||typeof e=="number"||typeof e=="boolean"}function za(e,t,r,n){var i=ol(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function Fa(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,n),t.set(i,o)),o}function _i(e,t,r,n,i){return r.bind(t,e,n,i)}function al(e,t){var r=e.length===1?za:Fa;return _i(e,this,r,t.cache.create(),t.serializer)}function sl(e,t){return _i(e,this,Fa,t.cache.create(),t.serializer)}function cl(e,t){return _i(e,this,za,t.cache.create(),t.serializer)}var ll=function(){return JSON.stringify(arguments)};function Pi(){this.cache=Object.create(null)}Pi.prototype.get=function(e){return this.cache[e]};Pi.prototype.set=function(e,t){this.cache[e]=t};var hl={create:function(){return new Pi}},Dr={variadic:sl,monadic:cl};var Ge;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Ge||(Ge={}));var qt=function(e){Yt(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var Ci=function(e){Yt(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Ge.INVALID_VALUE,o)||this}return t}(qt);var Ka=function(e){Yt(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Ge.INVALID_VALUE,i)||this}return t}(qt);var Ya=function(e){Yt(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),Ge.MISSING_VALUE,n)||this}return t}(qt);var F;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(F||(F={}));function dl(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==F.literal||r.type!==F.literal?t.push(r):n.value+=r.value,t},[])}function ul(e){return typeof e=="function"}function Zt(e,t,r,n,i,o,a){if(e.length===1&&xi(e[0]))return[{type:F.literal,value:e[0].value}];for(var s=[],c=0,l=e;cString(e??"").toLowerCase()==String(t??"").toLowerCase(),Ca=e=>`${e??""}`.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">":">","'":"'",'"':"""})[t]??t)??"";function $(e,t={},{metadata:r=!0,search:n=!0,storage:i=!0}={}){let o;if(n&&o==null){let a=new URLSearchParams(window.location.search),s=Et(n)?n:e;o=a.get(s)}if(i&&o==null){let a=Et(i)?i:e;o=window.sessionStorage.getItem(a)??window.localStorage.getItem(a)}if(r&&o==null){let a=Hc(Et(r)?r:e);o=document.documentElement.querySelector(`meta[name="${a}"]`)?.content}return o??t[e]}var yt=()=>{};var Pa=e=>typeof e=="boolean",Jt=e=>typeof e=="function",Hr=e=>typeof e=="number",ka=e=>e!=null&&typeof e=="object";var Et=e=>typeof e=="string",Si=e=>Et(e)&&e,St=e=>Hr(e)&&Number.isFinite(e)&&e>0;function Tt(e,t=r=>r==null||r===""){return e!=null&&Object.entries(e).forEach(([r,n])=>{t(n)&&delete e[r]}),e}function w(e,t){if(Pa(e))return e;let r=String(e);return r==="1"||r==="true"?!0:r==="0"||r==="false"?!1:t}function Pe(e,t,r){let n=Object.values(t);return n.find(i=>Ur(i,e))??r??n[0]}function Hc(e=""){return String(e).replace(/(\p{Lowercase_Letter})(\p{Uppercase_Letter})/gu,(t,r,n)=>`${r}-${n}`).replace(/\W+/gu,"-").toLowerCase()}function Ti(e,t=1){return Hr(e)||(e=Number.parseInt(e,10)),!Number.isNaN(e)&&e>0&&Number.isFinite(e)?e:t}var Dc=Date.now(),wi=()=>`(+${Date.now()-Dc}ms)`,Dr=new Set,Gc=w($("tacocat.debug",{},{metadata:!1}),typeof process<"u"&&process.env?.DEBUG);function Ia(e){let t=`[${La}/${e}]`,r=(a,s,...c)=>a?!0:(i(s,...c),!1),n=Gc?(a,...s)=>{console.debug(`${t} ${a}`,...s,wi())}:()=>{},i=(a,...s)=>{let c=`${t} ${a}`;Dr.forEach(([l])=>l(c,...s))};return{assert:r,debug:n,error:i,warn:(a,...s)=>{let c=`${t} ${a}`;Dr.forEach(([,l])=>l(c,...s))}}}function Bc(e,t){let r=[e,t];return Dr.add(r),()=>{Dr.delete(r)}}Bc((e,...t)=>{console.error(e,...t,wi())},(e,...t)=>{console.warn(e,...t,wi())});var zc="no promo",Na="promo-tag",Fc="yellow",Kc="neutral",Yc=(e,t,r)=>{let n=o=>o||zc,i=r?` (was "${n(t)}")`:"";return`${n(e)}${i}`},jc="cancel-context",er=(e,t)=>{let r=e===jc,n=!r&&e?.length>0,i=(n||r)&&(t&&t!=e||!t&&!r),o=i&&n||!i&&!!t,a=o?e||t:void 0;return{effectivePromoCode:a,overridenPromoCode:e,className:o?Na:`${Na} no-promo`,text:Yc(a,t,i),variant:o?Fc:Kc,isOverriden:i}};var _i="ABM",Li="PUF",Ci="M2M",Pi="PERPETUAL",ki="P3Y",Xc="TAX_INCLUSIVE_DETAILS",Wc="TAX_EXCLUSIVE",Ra={ABM:_i,PUF:Li,M2M:Ci,PERPETUAL:Pi,P3Y:ki},km={[_i]:{commitment:G.YEAR,term:N.MONTHLY},[Li]:{commitment:G.YEAR,term:N.ANNUAL},[Ci]:{commitment:G.MONTH,term:N.MONTHLY},[Pi]:{commitment:G.PERPETUAL,term:void 0},[ki]:{commitment:G.THREE_MONTHS,term:N.P3Y}},Ma="Value is not an offer",Gr=e=>{if(typeof e!="object")return Ma;let{commitment:t,term:r}=e,n=qc(t,r);return{...e,planType:n}};var qc=(e,t)=>{switch(e){case void 0:return Ma;case"":return"";case G.YEAR:return t===N.MONTHLY?_i:t===N.ANNUAL?Li:"";case G.MONTH:return t===N.MONTHLY?Ci:"";case G.PERPETUAL:return Pi;case G.TERM_LICENSE:return t===N.P3Y?ki:"";default:return""}};function Ii(e){let{priceDetails:t}=e,{price:r,priceWithoutDiscount:n,priceWithoutTax:i,priceWithoutDiscountAndTax:o,taxDisplay:a}=t;if(a!==Xc)return e;let s={...e,priceDetails:{...t,price:i??r,priceWithoutDiscount:o??n,taxDisplay:Wc}};return s.offerType==="TRIAL"&&s.priceDetails.price===0&&(s.priceDetails.price=s.priceDetails.priceWithoutDiscount),s}var Ni=function(e,t){return Ni=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])},Ni(e,t)};function tr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ni(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var y=function(){return y=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(Jc,function(c,l,h,u,d,m){if(l)t.minimumIntegerDigits=h.length;else{if(u&&d)throw new Error("We currently do not support maximum integer digits");if(m)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Fa.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Ha.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ha,function(c,l,h,u,d,m){return h==="*"?t.minimumFractionDigits=l.length:u&&u[0]==="#"?t.maximumFractionDigits=u.length:d&&m?(t.minimumFractionDigits=d.length,t.maximumFractionDigits=d.length+m.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=y(y({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=y(y({},t),Da(o)));continue}if(za.test(i.stem)){t=y(y({},t),Da(i.stem));continue}var a=Ka(i.stem);a&&(t=y(y({},t),a));var s=el(i.stem);s&&(t=y(y({},t),s))}return t}var nr={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 ja(e,t){for(var r="",n=0;n>1),c="a",l=tl(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=c;for(;a-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function tl(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=nr[n||""]||nr[r||""]||nr["".concat(r,"-001")]||nr["001"];return i[0]}var Oi,rl=new RegExp("^".concat(Mi.source,"*")),nl=new RegExp("".concat(Mi.source,"*$"));function S(e,t){return{start:e,end:t}}var il=!!String.prototype.startsWith,ol=!!String.fromCodePoint,al=!!Object.fromEntries,sl=!!String.prototype.codePointAt,cl=!!String.prototype.trimStart,ll=!!String.prototype.trimEnd,hl=!!Number.isSafeInteger,dl=hl?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Vi=!0;try{Xa=Qa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Vi=((Oi=Xa.exec("a"))===null||Oi===void 0?void 0:Oi[0])==="a"}catch{Vi=!1}var Xa,Wa=il?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Ui=ol?String.fromCodePoint:function(){for(var t=[],r=0;ro;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},qa=al?Object.fromEntries:function(t){for(var r={},n=0,i=t;n=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},ul=cl?function(t){return t.trimStart()}:function(t){return t.replace(rl,"")},ml=ll?function(t){return t.trimEnd()}:function(t){return t.replace(nl,"")};function Qa(e,t){return new RegExp(e,t)}var Hi;Vi?($i=Qa("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu"),Hi=function(t,r){var n;$i.lastIndex=r;var i=$i.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}):Hi=function(t,r){for(var n=[];;){var i=Za(t,r);if(i===void 0||es(i)||gl(i))break;n.push(i),r+=i>=65536?2:1}return Ui.apply(void 0,n)};var $i,Ja=function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:I.pound,location:S(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(v.UNMATCHED_CLOSING_TAG,S(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Di(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:I.literal,value:"<".concat(i,"/>"),location:S(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("")?{val:{type:I.tag,value:i,children:a,location:S(n,this.clonePosition())},err:null}:this.error(v.INVALID_TAG,S(s,this.clonePosition())))}else return this.error(v.UNCLOSED_TAG,S(n,this.clonePosition()))}else return this.error(v.INVALID_TAG,S(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&fl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var c=S(n,this.clonePosition());return{val:{type:I.literal,value:i,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!pl(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 Ui.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(),Ui(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(v.EMPTY_ARGUMENT,S(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(v.MALFORMED_ARGUMENT,S(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:I.argument,value:i,location:S(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE,S(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(v.MALFORMED_ARGUMENT,S(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Hi(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=S(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(v.EXPECT_ARGUMENT_TYPE,S(a,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var h=this.clonePosition(),u=this.parseSimpleArgStyleIfPossible();if(u.err)return u;var d=ml(u.val);if(d.length===0)return this.error(v.EXPECT_ARGUMENT_STYLE,S(this.clonePosition(),this.clonePosition()));var m=S(h,this.clonePosition());l={style:d,styleLocation:m}}var f=this.tryParseArgumentClose(i);if(f.err)return f;var b=S(i,this.clonePosition());if(l&&Wa(l?.style,"::",0)){var A=ul(l.style.slice(2));if(s==="number"){var u=this.parseNumberSkeletonFromString(A,l.styleLocation);return u.err?u:{val:{type:I.number,value:n,location:b,style:u.val},err:null}}else{if(A.length===0)return this.error(v.EXPECT_DATE_TIME_SKELETON,b);var _=A;this.locale&&(_=ja(A,this.locale));var d={type:je.dateTime,pattern:_,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Va(_):{}},E=s==="date"?I.date:I.time;return{val:{type:E,value:n,location:b,style:d},err:null}}}return{val:{type:s==="number"?I.number:s==="date"?I.date:I.time,value:n,location:b,style:(o=l?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS,S(T,y({},T)));this.bumpSpace();var P=this.parseIdentifierIfPossible(),R=0;if(s!=="select"&&P.value==="offset"){if(!this.bumpIf(":"))return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,S(this.clonePosition(),this.clonePosition()));this.bumpSpace();var u=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(u.err)return u;this.bumpSpace(),P=this.parseIdentifierIfPossible(),R=u.val}var U=this.tryParsePluralOrSelectOptions(t,s,r,P);if(U.err)return U;var f=this.tryParseArgumentClose(i);if(f.err)return f;var Z=S(i,this.clonePosition());return s==="select"?{val:{type:I.select,value:n,options:qa(U.val),location:Z},err:null}:{val:{type:I.plural,value:n,options:qa(U.val),offset:R,pluralType:s==="plural"?"cardinal":"ordinal",location:Z},err:null}}default:return this.error(v.INVALID_ARGUMENT_TYPE,S(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(v.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(v.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=Ba(t)}catch{return this.error(v.INVALID_NUMBER_SKELETON,r)}return{val:{type:je.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?Ya(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],c=new Set,l=i.value,h=i.location;;){if(l.length===0){var u=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var d=this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR,v.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;h=S(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}else break}if(c.has(l))return this.error(r==="select"?v.DUPLICATE_SELECT_ARGUMENT_SELECTOR:v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,h);l==="other"&&(a=!0),this.bumpSpace();var m=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,S(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(t+1,r,n);if(f.err)return f;var b=this.tryParseArgumentClose(m);if(b.err)return b;s.push([l,{value:f.val,location:S(m,this.clonePosition())}]),c.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,h=o.location}return s.length===0?this.error(r==="select"?v.EXPECT_SELECT_ARGUMENT_SELECTOR:v.EXPECT_PLURAL_ARGUMENT_SELECTOR,S(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(v.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 o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var c=S(i,this.clonePosition());return o?(a*=n,dl(a)?{val:a,err:null}:this.error(r,c)):this.error(t,c)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=Za(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Wa(this.message,t,this.offset())){for(var r=0;r=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&es(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 Di(e){return e>=97&&e<=122||e>=65&&e<=90}function pl(e){return Di(e)||e===47}function fl(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 es(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function gl(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 Gi(e){e.forEach(function(t){if(delete t.location,Yr(t)||jr(t))for(var r in t.options)delete t.options[r].location,Gi(t.options[r].value);else zr(t)&&Wr(t.style)||(Fr(t)||Kr(t))&&rr(t.style)?delete t.style.location:Xr(t)&&Gi(t.children)})}function ts(e,t){t===void 0&&(t={}),t=y({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new Ja(e,t).parse();if(r.err){var n=SyntaxError(v[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Gi(r.val),r.val}function ir(e,t){var r=t&&t.cache?t.cache:yl,n=t&&t.serializer?t.serializer:El,i=t&&t.strategy?t.strategy:xl;return i(e,{cache:r,serializer:n})}function bl(e){return e==null||typeof e=="number"||typeof e=="boolean"}function rs(e,t,r,n){var i=bl(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function ns(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,n),t.set(i,o)),o}function Bi(e,t,r,n,i){return r.bind(t,e,n,i)}function xl(e,t){var r=e.length===1?rs:ns;return Bi(e,this,r,t.cache.create(),t.serializer)}function vl(e,t){return Bi(e,this,ns,t.cache.create(),t.serializer)}function Al(e,t){return Bi(e,this,rs,t.cache.create(),t.serializer)}var El=function(){return JSON.stringify(arguments)};function zi(){this.cache=Object.create(null)}zi.prototype.get=function(e){return this.cache[e]};zi.prototype.set=function(e,t){this.cache[e]=t};var yl={create:function(){return new zi}},qr={variadic:vl,monadic:Al};var Xe;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Xe||(Xe={}));var or=function(e){tr(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error);var Fi=function(e){tr(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),Xe.INVALID_VALUE,o)||this}return t}(or);var is=function(e){tr(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),Xe.INVALID_VALUE,i)||this}return t}(or);var os=function(e){tr(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,'"'),Xe.MISSING_VALUE,n)||this}return t}(or);var Y;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Y||(Y={}));function Sl(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==Y.literal||r.type!==Y.literal?t.push(r):n.value+=r.value,t},[])}function Tl(e){return typeof e=="function"}function ar(e,t,r,n,i,o,a){if(e.length===1&&Ri(e[0]))return[{type:Y.literal,value:e[0].value}];for(var s=[],c=0,l=e;c0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=Ga,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 Wa=ja;var gl=/[0-9\-+#]/,bl=/[^\d\-+#]/g;function Xa(e){return e.search(gl)}function xl(e="#.##"){let t={},r=e.length,n=Xa(e);t.prefix=n>0?e.substring(0,n):"";let i=Xa(e.split("").reverse().join("")),o=r-i,a=e.substring(o,o+1),s=o+(a==="."||a===","?1:0);t.suffix=i>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let c=t.mask.match(bl);return t.decimal=c&&c[c.length-1]||".",t.separator=c&&c[1]&&c[0]||",",c=t.mask.split(t.decimal),t.integer=c[0],t.fraction=c[1],t}function vl(e,t,r){let n=!1,i={value:e};e<0&&(n=!0,i.value=-i.value),i.sign=n?"-":"",i.value=Number(i.value).toFixed(t.fraction&&t.fraction.length),i.value=Number(i.value).toString();let o=t.fraction&&t.fraction.lastIndexOf("0"),[a="0",s=""]=i.value.split(".");return(!s||s&&s.length<=o)&&(s=o<0?"":(+("0."+s)).toFixed(o+1).replace("0.","")),i.integer=a,i.fraction=s,Al(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 Al(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),i=n&&n.indexOf("0");if(i>-1)for(;e.integer.lengthe*12,ts=(e,t)=>{let{start:r,end:n,displaySummary:{amount:i,duration:o,minProductQuantity:a,outcomeType:s}={}}=e;if(!(i&&o&&s&&a))return!1;let c=t?new Date(t):new Date;if(!r||!n)return!1;let l=new Date(r),h=new Date(n);return c>=l&&c<=h},ze={MONTH:"MONTH",YEAR:"YEAR"},Sl={[N.ANNUAL]:12,[N.MONTHLY]:1,[N.THREE_YEARS]:36,[N.TWO_YEARS]:24},Ni=(e,t)=>({accept:e,round:t}),Tl=[Ni(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),Ni(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),Ni(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Ri={[H.YEAR]:{[N.MONTHLY]:ze.MONTH,[N.ANNUAL]:ze.YEAR},[H.MONTH]:{[N.MONTHLY]:ze.MONTH}},wl=(e,t)=>e.indexOf(`'${t}'`)===0,Ll=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=ns(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Pl(e)),r},_l=e=>{let t=Cl(e),r=wl(e,t),n=e.replace(/'.*?'/,""),i=Ja.test(n)||es.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},rs=e=>e.replace(Ja,Qa).replace(es,Qa),Pl=e=>e.match(/#(.?)#/)?.[1]===Za?El:Za,Cl=e=>e.match(/'(.*?)'/)?.[1]??"",ns=e=>e.match(/0(.?)0/)?.[1]??"";function Et({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,o=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=_l(e),l=r?ns(e):"",h=Ll(e,r),d=r?2:0,u=o(t,{currencySymbol:a}),m=n?u.toLocaleString("hi-IN",{minimumFractionDigits:d,maximumFractionDigits:d}):qa(h,u),f=r?m.lastIndexOf(l):m.length,g=m.substring(0,f),T=m.substring(f+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,a),currencySymbol:a,decimals:T,decimalsDelimiter:l,hasCurrencySpace:c,integer:g,isCurrencyFirst:s,recurrenceTerm:i}}var is=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=Sl[r]??1;return Et(e,i>1?ze.MONTH:Ri[t]?.[r],o=>{let a={divisor:i,price:o,usePrecision:n},{round:s}=Tl.find(({accept:c})=>c(a));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(a)}`);return s(a)})},os=({commitment:e,term:t,...r})=>Et(r,Ri[e]?.[t]),as=e=>{let{commitment:t,instant:r,price:n,originalPrice:i,priceWithoutDiscount:o,promotion:a,quantity:s=1,term:c}=e;if(t===H.YEAR&&c===N.MONTHLY){if(!a)return Et(e,ze.YEAR,Ii);let{displaySummary:{outcomeType:l,duration:h,minProductQuantity:d=1}={}}=a;switch(l){case"PERCENTAGE_DISCOUNT":if(s>=d&&ts(a,r)){let u=parseInt(h.replace("P","").replace("M",""));if(isNaN(u))return Ii(n);let m=s*i*u,f=s*o*(12-u),g=Math.floor((m+f)*100)/100;return Et({...e,price:g},ze.YEAR)}default:return Et(e,ze.YEAR,()=>Ii(o??n))}}return Et(e,Ri[t]?.[c])};var kl={recurrenceLabel:"{recurrenceTerm, select, MONTH {/mo} YEAR {/yr} other {}}",recurrenceAriaLabel:"{recurrenceTerm, select, MONTH {per month} YEAR {per year} other {}}",perUnitLabel:"{perUnit, select, LICENSE {per license} other {}}",perUnitAriaLabel:"{perUnit, select, LICENSE {per license} other {}}",freeLabel:"Free",freeAriaLabel:"Free",taxExclusiveLabel:"{taxTerm, select, GST {excl. GST} VAT {excl. VAT} TAX {excl. tax} IVA {excl. IVA} SST {excl. SST} KDV {excl. KDV} other {}}",taxInclusiveLabel:"{taxTerm, select, GST {incl. GST} VAT {incl. VAT} TAX {incl. tax} IVA {incl. IVA} SST {incl. SST} KDV {incl. KDV} other {}}",alternativePriceAriaLabel:"Alternatively at {alternativePrice}",strikethroughAriaLabel:"Regularly at {strikethroughPrice}"},Il=xa("ConsonantTemplates/price"),Nl=/<\/?[^>]+(>|$)/g,z={container:"price",containerOptical:"price-optical",containerStrikethrough:"price-strikethrough",containerAnnual:"price-annual",containerAnnualPrefix:"price-annual-prefix",containerAnnualSuffix:"price-annual-suffix",disabled:"disabled",currencySpace:"price-currency-space",currencySymbol:"price-currency-symbol",decimals:"price-decimals",decimalsDelimiter:"price-decimals-delimiter",integer:"price-integer",recurrence:"price-recurrence",taxInclusivity:"price-tax-inclusivity",unitType:"price-unit-type"},Fe={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Rl="TAX_EXCLUSIVE",Ol=e=>ba(e)?Object.entries(e).filter(([,t])=>bt(t)||Cr(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+fa(n)+'"'}`,""):"",Y=(e,t,r,n=!1)=>`${n?rs(t):t??""}`;function Ml(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:o,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},d={}){let u=Y(z.currencySymbol,r),m=Y(z.currencySpace,o?" ":""),f="";return s&&(f+=u+m),f+=Y(z.integer,a),f+=Y(z.decimalsDelimiter,i),f+=Y(z.decimals,n),s||(f+=m+u),f+=Y(z.recurrence,c,null,!0),f+=Y(z.unitType,l,null,!0),f+=Y(z.taxInclusivity,h,!0),Y(e,f,{...d,"aria-label":t})}var Z=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1,instant:n=void 0}={})=>({country:i,displayFormatted:o=!0,displayRecurrence:a=!0,displayPerUnit:s=!1,displayTax:c=!1,language:l,literals:h={},quantity:d=1}={},{commitment:u,offerSelectorIds:m,formatString:f,price:g,priceWithoutDiscount:T,taxDisplay:P,taxTerm:x,term:E,usePrecision:I,promotion:O}={},U={})=>{Object.entries({country:i,formatString:f,language:l,price:g}).forEach(([ie,qr])=>{if(qr==null)throw new Error(`Argument "${ie}" is missing for osi ${m?.toString()}, country ${i}, language ${l}`)});let $={...kl,...h},me=`${l.toLowerCase()}-${i.toUpperCase()}`;function Q(ie,qr){let Zr=$[ie];if(Zr==null)return"";try{return new Wa(Zr.replace(Nl,""),me).format(qr)}catch{return Il.error("Failed to format literal:",Zr),""}}let _t=t&&T?T:g,Ze=e?is:os;r&&(Ze=as);let{accessiblePrice:Pt,recurrenceTerm:pe,...fe}=Ze({commitment:u,formatString:f,instant:n,isIndianPrice:i==="IN",originalPrice:g,priceWithoutDiscount:T,price:e?g:_t,promotion:O,quantity:d,term:E,usePrecision:I}),J=Pt,Ct="";if(S(a)&&pe){let ie=Q(Fe.recurrenceAriaLabel,{recurrenceTerm:pe});ie&&(J+=" "+ie),Ct=Q(Fe.recurrenceLabel,{recurrenceTerm:pe})}let Xr="";if(S(s)){Xr=Q(Fe.perUnitLabel,{perUnit:"LICENSE"});let ie=Q(Fe.perUnitAriaLabel,{perUnit:"LICENSE"});ie&&(J+=" "+ie)}let kt="";S(c)&&x&&(kt=Q(P===Rl?Fe.taxExclusiveLabel:Fe.taxInclusiveLabel,{taxTerm:x}),kt&&(J+=" "+kt)),t&&(J=Q(Fe.strikethroughAriaLabel,{strikethroughPrice:J}));let It=z.container;if(e&&(It+=" "+z.containerOptical),t&&(It+=" "+z.containerStrikethrough),r&&(It+=" "+z.containerAnnual),S(o))return Ml(It,{...fe,accessibleLabel:J,recurrenceLabel:Ct,perUnitLabel:Xr,taxInclusivityLabel:kt},U);let{currencySymbol:no,decimals:Us,decimalsDelimiter:Ds,hasCurrencySpace:io,integer:Bs,isCurrencyFirst:Gs}=fe,Qe=[Bs,Ds,Us];Gs?(Qe.unshift(io?"\xA0":""),Qe.unshift(no)):(Qe.push(io?"\xA0":""),Qe.push(no)),Qe.push(Ct,Xr,kt);let zs=Qe.join("");return Y(It,zs,U)},ss=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||S(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${Z()(e,t,r)}${i?" "+Z({displayStrikethrough:!0})(e,t,r):""}`},cs=()=>(e,t,r)=>{let{instant:n}=e;try{n||(n=new URLSearchParams(document.location.search).get("instant")),n&&(n=new Date(n))}catch{n=void 0}let i={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||S(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?Z({displayStrikethrough:!0})(i,t,r)+" ":""}${Z()(e,t,r)}${Y(z.containerAnnualPrefix," (")}${Z({displayAnnual:!0,instant:n})(i,t,r)}${Y(z.containerAnnualSuffix,")")}`},ls=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${Z()(e,t,r)}${Y(z.containerAnnualPrefix," (")}${Z({displayAnnual:!0})(n,t,r)}${Y(z.containerAnnualSuffix,")")}`};var Oi=Z(),Mi=ss(),Vi=Z({displayOptical:!0}),$i=Z({displayStrikethrough:!0}),Hi=Z({displayAnnual:!0}),Ui=ls(),Di=cs();var Vl=(e,t)=>{if(!(!vt(e)||!vt(t)))return Math.floor((t-e)/t*100)},hs=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Vl(r,n);return i===void 0?'':`${i}%`};var Bi=hs();var{freeze:Qt}=Object,$l={V2:"UCv2",V3:"UCv3"},ee=Qt({...$l}),Hl={CHECKOUT:"checkout",CHECKOUT_EMAIL:"checkout/email",SEGMENTATION:"segmentation",BUNDLE:"bundle",COMMITMENT:"commitment",RECOMMENDATION:"recommendation",EMAIL:"email",PAYMENT:"payment",CHANGE_PLAN_TEAM_PLANS:"change-plan/team-upgrade/plans",CHANGE_PLAN_TEAM_PAYMENT:"change-plan/team-upgrade/payment"},te=Qt({...Hl}),Ke={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},Gi=Qt({...H}),zi=Qt({...Aa}),Fi=Qt({...N});var ds="mas-commerce-service";function us(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(ds);i!==r&&(r=i,i&&e(i))}return document.addEventListener(at,n,{once:t}),Ye(n),()=>document.removeEventListener(at,n)}function Jt(e,{country:t,forceTaxExclusive:r,perpetual:n}){let i;if(e.length<2)i=e;else{let o=t==="GB"||n?"EN":"MULT",[a,s]=e;i=[a.language===o?a:s]}return r&&(i=i.map(gi)),i}var Ye=e=>window.setTimeout(e);function St(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(yt).filter(vt);return r.length||(r=[t]),r}function Br(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(li)}function j(){return document.getElementsByTagName(ds)?.[0]}function Ul(e){return`https://${e==="PRODUCTION"?"www.adobe.com":"www.stage.adobe.com"}/offers/promo-terms.html`}var er,je=class je extends HTMLAnchorElement{constructor(){super();G(this,er,!1);this.setAttribute("is",je.is)}get isUptLink(){return!0}initializeWcsData(r,n){this.setAttribute("data-wcs-osi",r),n&&this.setAttribute("data-promotion-code",n),K(this,er,!0),this.composePromoTermsUrl()}attributeChangedCallback(r,n,i){L(this,er)&&this.composePromoTermsUrl()}composePromoTermsUrl(){let r=this.getAttribute("data-wcs-osi");if(!r){let d=this.closest("merch-card").querySelector("aem-fragment").getAttribute("fragment");console.error(`Missing 'data-wcs-osi' attribute on upt-link. Fragment: ${d}`);return}let n=j(),i=[r],o=this.getAttribute("data-promotion-code"),{country:a,language:s,env:c}=n.settings,l={country:a,language:s,wcsOsi:i,promotionCode:o},h=n.resolveOfferSelectors(l);Promise.all(h).then(([[d]])=>{let u=`locale=${s}_${a}&country=${a}&offer_id=${d.offerId}`;o&&(u+=`&promotion_code=${encodeURIComponent(o)}`),this.href=`${Ul(c)}?${u}`}).catch(d=>{console.error(`Could not resolve offer selectors for id: ${r}.`,d.message)})}static createFrom(r){let n=new je;for(let i of r.attributes)i.name!=="is"&&(i.name==="class"&&i.value.includes("upt-link")?n.setAttribute("class",i.value.replace("upt-link","").trim()):n.setAttribute(i.name,i.value));return n.innerHTML=r.innerHTML,n.setAttribute("tabindex",0),n}};er=new WeakMap,p(je,"is","upt-link"),p(je,"tag","a"),p(je,"observedAttributes",["data-wcs-osi","data-promotion-code"]);var ue=je;window.customElements.get(ue.is)||window.customElements.define(ue.is,ue,{extends:ue.tag});var Dl="#000000",ms="#F8D904",Bl="#EAEAEA",Gl=/(accent|primary|secondary)(-(outline|link))?/,zl="mas:product_code/",Fl="daa-ll",tr="daa-lh",Kl=["XL","L","M","S"],Ki="...";function We(e,t,r,n){let i=n[e];if(t[e]&&i){let o={slot:i?.slot},a=t[e];if(i.maxCount&&typeof a=="string"){let[c,l]=nh(a,i.maxCount,i.withSuffix);c!==a&&(o.title=l,a=c)}let s=Re(i.tag,o,a);r.append(s)}}function Yl(e,t,r){e.mnemonicIcon?.map((i,o)=>({icon:i,alt:e.mnemonicAlt[o]??"",link:e.mnemonicLink[o]??""}))?.forEach(({icon:i,alt:o,link:a})=>{if(a&&!/^https?:/.test(a))try{a=new URL(`https://${a}`).href.toString()}catch{a="#"}let s={slot:"icons",src:i,loading:t.loading,size:r?.size??"l"};o&&(s.alt=o),a&&(s.href=a);let c=Re("merch-icon",s);t.append(c)})}function jl(e,t){e.badge?(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||Dl),t.setAttribute("badge-background-color",e.badgeBackgroundColor||ms),t.setAttribute("border-color",e.badgeBackgroundColor||ms)):t.setAttribute("border-color",e.borderColor||Bl)}function Wl(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function Xl(e,t,r){We("cardTitle",e,t,{cardTitle:r})}function ql(e,t,r){We("subtitle",e,t,r)}function Zl(e,t,r){if(!e.backgroundColor||e.backgroundColor.toLowerCase()==="default"){t.style.removeProperty("--merch-card-custom-background-color"),t.removeAttribute("background-color");return}r?.[e.backgroundColor]&&(t.style.setProperty("--merch-card-custom-background-color",`var(${r[e.backgroundColor]})`),t.setAttribute("background-color",e.backgroundColor))}function Ql(e,t,r){e.borderColor&&r&&e.borderColor!=="transparent"&&t.style.setProperty("--merch-card-custom-border-color",`var(--${e.borderColor})`)}function Jl(e,t,r){if(e.backgroundImage){let n={loading:t.loading??"lazy",src:e.backgroundImage};if(e.backgroundImageAltText?n.alt=e.backgroundImageAltText:n.role="none",!r)return;if(r?.attribute){t.setAttribute(r.attribute,e.backgroundImage);return}t.append(Re(r.tag,{slot:r.slot},Re("img",n)))}}function eh(e,t,r){We("prices",e,t,r)}function th(e,t,r){We("promoText",e,t,r),We("description",e,t,r),We("callout",e,t,r),We("quantitySelect",e,t,r)}function rh(e,t,r,n){e.showStockCheckbox&&r.stockOffer&&(t.setAttribute("checkbox-label",n.stockCheckboxLabel),t.setAttribute("stock-offer-osis",n.stockOfferOsis)),n.secureLabel&&r.secureLabel&&t.setAttribute("secure-label",n.secureLabel)}function nh(e,t,r=!0){try{let n=typeof e!="string"?"":e,i=ps(n);if(i.length<=t)return[n,i];let o=0,a=!1,s=r?t-Ki.length<1?1:t-Ki.length:t,c=[];for(let d of n){if(o++,d==="<")if(a=!0,n[o]==="/")c.pop();else{let u="";for(let m of n.substring(o)){if(m===" "||m===">")break;u+=m}c.push(u)}if(d==="/"&&n[o]===">"&&c.pop(),d===">"){a=!1;continue}if(!a&&(s--,s===0))break}let l=n.substring(0,o).trim();if(c.length>0){c[0]==="p"&&c.shift();for(let d of c.reverse())l+=``}return[`${l}${r?Ki:""}`,i]}catch{let i=typeof e=="string"?e:"",o=ps(i);return[i,o]}}function ps(e){if(!e)return"";let t="",r=!1;for(let n of e){if(n==="<"&&(r=!0),n===">"){r=!1;continue}r||(t+=n)}return t}function ih(e,t){t.querySelectorAll("a.upt-link").forEach(n=>{let i=ue.createFrom(n);n.replaceWith(i),i.initializeWcsData(e.osi,e.promoCode)})}function oh(e,t,r,n){let o=customElements.get("checkout-button").createCheckoutButton({},e.innerHTML);o.setAttribute("tabindex",0);for(let h of e.attributes)["class","is"].includes(h.name)||o.setAttribute(h.name,h.value);o.firstElementChild?.classList.add("spectrum-Button-label");let a=t.ctas.size??"M",s=`spectrum-Button--${n}`,c=Kl.includes(a)?`spectrum-Button--size${a}`:"spectrum-Button--sizeM",l=["spectrum-Button",s,c];return r&&l.push("spectrum-Button--outline"),o.classList.add(...l),o}function ah(e,t,r,n){let o=customElements.get("checkout-button").createCheckoutButton(e.dataset);e.dataset.analyticsId&&o.setAttribute("data-analytics-id",e.dataset.analyticsId),o.connectedCallback(),o.render();let a="fill";r&&(a="outline");let s=Re("sp-button",{treatment:a,variant:n,tabIndex:0,size:t.ctas.size??"m",...e.dataset.analyticsId&&{"data-analytics-id":e.dataset.analyticsId}},e.innerHTML);return s.source=o,o.onceSettled().then(c=>{s.setAttribute("data-navigation-url",c.href)}),s.addEventListener("click",c=>{c.defaultPrevented||o.click()}),s}function sh(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function ch(e,t,r,n){if(e.ctas){let{slot:i}=r.ctas,o=Re("div",{slot:i},e.ctas),a=[...o.querySelectorAll("a")].map(s=>{let c=Gl.exec(s.className)?.[0]??"accent",l=c.includes("accent"),h=c.includes("primary"),d=c.includes("secondary"),u=c.includes("-outline"),m=c.includes("-link");if(t.consonant)return sh(s,l);if(m)return s;let f;return l?f="accent":h?f="primary":d&&(f="secondary"),t.spectrum==="swc"?ah(s,r,u,f):oh(s,r,u,f)});o.innerHTML="",o.append(...a),t.append(o)}}function lh(e,t){let{tags:r}=e,n=r?.find(o=>o.startsWith(zl))?.split("/").pop();if(!n)return;t.setAttribute(tr,n),[...t.shadowRoot.querySelectorAll("a[data-analytics-id],button[data-analytics-id]"),...t.querySelectorAll("a[data-analytics-id],button[data-analytics-id]")].forEach((o,a)=>{o.setAttribute(Fl,`${o.dataset.analyticsId}-${a+1}`)})}function hh(e){e.spectrum==="css"&&[["primary-link","primary"],["secondary-link","secondary"]].forEach(([t,r])=>{e.querySelectorAll(`a.${t}`).forEach(n=>{n.classList.remove(t),n.classList.add("spectrum-Link",`spectrum-Link--${r}`)})})}function dh(e){e.querySelectorAll("[slot]").forEach(n=>{n.remove()}),["checkbox-label","stock-offer-osis","secure-label","background-image","background-color","border-color","badge-background-color","badge-color","badge-text","size",tr].forEach(n=>e.removeAttribute(n));let r=["wide-strip","thin-strip"];e.classList.remove(...r)}async function fs(e,t){let{fields:r}=e,{variant:n}=r;if(!n)return;let i={stockCheckboxLabel:"Add a 30-day free trial of Adobe Stock.*",stockOfferOsis:"",secureLabel:"Secure transaction"};dh(t),t.id=e.id,t.removeAttribute("background-image"),t.removeAttribute("background-color"),t.removeAttribute("badge-background-color"),t.removeAttribute("badge-color"),t.removeAttribute("badge-text"),t.removeAttribute("size"),t.classList.remove("wide-strip"),t.classList.remove("thin-strip"),t.removeAttribute(tr),t.variant=n,await t.updateComplete;let{aemFragmentMapping:o}=t.variantLayout;o&&(o.style==="consonant"&&t.setAttribute("consonant",!0),Yl(r,t,o.mnemonics),jl(r,t),Wl(r,t,o.size),Xl(r,t,o.title),ql(r,t,o),eh(r,t,o),Jl(r,t,o.backgroundImage),Zl(r,t,o.allowedColors),Ql(r,t,o.borderColor),th(r,t,o),rh(r,t,o,i),ih(r,t),ch(r,t,o,n),lh(r,t),hh(t))}var uh="merch-card",mh=":start",ph=":ready",fh=1e4,gs="merch-card:",nr,Yi,rr=class extends X{constructor(){super();G(this,nr);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.loading="lazy",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this)}static getFragmentMapping(r){return oa[r]}firstUpdated(){this.variantLayout=Jn(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(()=>{this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=Jn(this),this.variantLayout.connectedCallbackHook())}updated(r){(r.has("badgeBackgroundColor")||r.has("borderColor"))&&this.style.setProperty("--consonant-merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(r)}get theme(){return this.closest("sp-theme")}get dir(){return this.closest("[dir]")?.getAttribute("dir")??"ltr"}get prices(){return Array.from(this.querySelectorAll('span[is="inline-price"][data-wcs-osi]'))}render(){if(!(!this.isConnected||!this.variantLayout||this.style.display==="none"))return this.variantLayout.renderLayout()}get computedBorderStyle(){return["twp","ccd-slice","ccd-suggested"].includes(this.variant)?"":`1px solid ${this.borderColor?this.borderColor:this.badgeBackgroundColor}`}get badgeElement(){return this.shadowRoot.getElementById("badge")}get headingmMSlot(){return this.shadowRoot.querySelector('slot[name="heading-m"]').assignedElements()[0]}get footerSlot(){return this.shadowRoot.querySelector('slot[name="footer"]')?.assignedElements()[0]}get price(){return this.headingmMSlot?.querySelector('span[is="inline-price"]')}get checkoutLinks(){return[...this.footerSlot?.querySelectorAll('a[is="checkout-link"]')??[]]}async toggleStockOffer({target:r}){if(!this.stockOfferOsis)return;let n=this.checkoutLinks;if(n.length!==0)for(let i of n){await i.onceSettled();let o=i.value?.[0]?.planType;if(!o)return;let a=this.stockOfferOsis[o];if(!a)return;let s=i.dataset.wcsOsi.split(",").filter(c=>c!==a);r.checked&&s.push(a),i.dataset.wcsOsi=s.join(",")}}handleQuantitySelection(r){let n=this.checkoutLinks;for(let i of n)i.dataset.quantity=r.detail.option}get titleElement(){return this.querySelector(this.variantLayout?.headingSelector||".card-heading")}get title(){return this.titleElement?.textContent?.trim()}get description(){return this.querySelector('[slot="body-xs"]')?.textContent?.trim()}updateFilters(r){let n={...this.filters};Object.keys(n).forEach(i=>{if(r){n[i].order=Math.min(n[i].order||2,2);return}let o=n[i].order;o===1||isNaN(o)||(n[i].order=Number(o)+1)}),this.filters=n}includes(r){return this.textContent.match(new RegExp(r,"i"))!==null}connectedCallback(){super.connectedCallback();let r=this.querySelector("aem-fragment")?.getAttribute("fragment");performance.mark(`${gs}${r}${mh}`),this.addEventListener(st,this.handleQuantitySelection),this.addEventListener(Cn,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(Me,this.handleAemFragmentEvents),this.addEventListener(Oe,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(st,this.handleQuantitySelection),this.storageOptions?.removeEventListener(Sr,this.handleStorageChange),this.removeEventListener(Me,this.handleAemFragmentEvents),this.removeEventListener(Oe,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===Me&&ge(this,nr,Yi).call(this,"AEM fragment cannot be loaded"),r.type===Oe&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;await fs(n,this),this.checkReady()}}async checkReady(){let r=Promise.all([...this.querySelectorAll('span[is="inline-price"][data-wcs-osi],a[is="checkout-link"][data-wcs-osi]')].map(o=>o.onceSettled().catch(()=>o))).then(o=>o.every(a=>a.classList.contains("placeholder-resolved"))),n=new Promise(o=>setTimeout(()=>o(!1),fh));if(await Promise.race([r,n])===!0){performance.mark(`${gs}${this.id}${ph}`),this.dispatchEvent(new CustomEvent(Nn,{bubbles:!0,composed:!0}));return}ge(this,nr,Yi).call(this,"Contains unresolved offers")}get aemFragment(){return this.querySelector("aem-fragment")}get storageOptions(){return this.querySelector("sp-radio-group#storage")}get storageSpecificOfferSelect(){let r=this.storageOptions?.selected;if(r){let n=this.querySelector(`merch-offer-select[storage="${r}"]`);if(n)return n}return this.querySelector("merch-offer-select")}get offerSelect(){return this.storageOptions?this.storageSpecificOfferSelect:this.querySelector("merch-offer-select")}get quantitySelect(){return this.querySelector("merch-quantity-select")}displayFooterElementsInColumn(){if(!this.classList.contains("product"))return;let r=this.shadowRoot.querySelector(".secure-transaction-label");(this.footerSlot?.querySelectorAll('a[is="checkout-link"].con-button')).length===2&&r&&r.parentElement.classList.add("footer-column")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||(this.dispatchEvent(new CustomEvent(kn,{bubbles:!0})),this.displayFooterElementsInColumn())}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(Sr,{detail:{offerSelect:r},bubbles:!0}))}get dynamicPrice(){return this.querySelector('[slot="price"]')}selectMerchOffer(r){if(r===this.merchOffer)return;this.merchOffer=r;let n=this.dynamicPrice;if(r.price&&n){let i=r.price.cloneNode(!0);n.onceSettled?n.onceSettled().then(()=>{n.replaceWith(i)}):n.replaceWith(i)}}};nr=new WeakSet,Yi=function(r){this.dispatchEvent(new CustomEvent(Rn,{detail:r,bubbles:!0,composed:!0}))},p(rr,"properties",{name:{type:String,attribute:"name",reflect:!0},variant:{type:String,reflect:!0},size:{type:String,attribute:"size",reflect:!0},badgeColor:{type:String,attribute:"badge-color",reflect:!0},borderColor:{type:String,attribute:"border-color",reflect:!0},badgeBackgroundColor:{type:String,attribute:"badge-background-color",reflect:!0},backgroundImage:{type:String,attribute:"background-image",reflect:!0},badgeText:{type:String,attribute:"badge-text"},actionMenu:{type:Boolean,attribute:"action-menu"},customHr:{type:Boolean,attribute:"custom-hr"},consonant:{type:Boolean,attribute:"consonant"},spectrum:{type:String,attribute:"spectrum"},detailBg:{type:String,attribute:"detail-bg"},secureLabel:{type:String,attribute:"secure-label"},checkboxLabel:{type:String,attribute:"checkbox-label"},selected:{type:Boolean,attribute:"aria-selected",reflect:!0},storageOption:{type:String,attribute:"storage",reflect:!0},stockOfferOsis:{type:Object,attribute:"stock-offer-osis",converter:{fromAttribute:r=>{if(!r)return;let[n,i,o]=r.split(",");return{PUF:n,ABM:i,M2M:o}}}},filters:{type:String,reflect:!0,converter:{fromAttribute:r=>Object.fromEntries(r.split(",").map(n=>{let[i,o,a]=n.split(":"),s=Number(o);return[i,{order:isNaN(s)?void 0:s,size:a}]})),toAttribute:r=>Object.entries(r).map(([n,{order:i,size:o}])=>[n,i,o].filter(a=>a!=null).join(":")).join(",")}},types:{type:String,attribute:"types",reflect:!0},merchOffer:{type:Object},analyticsId:{type:String,attribute:tr,reflect:!0},loading:{type:String}}),p(rr,"styles",[zo,aa(),...Fo()]);customElements.define(uh,rr);var Tt=class extends X{constructor(){super(),this.size="m",this.alt="",this.loading="lazy"}render(){let{href:t}=this;return t?b` +`,Xe.MISSING_INTL_API,a);var P=r.getPluralRules(t,{type:h.pluralType}).select(d-(h.offset||0));T=h.options[P]||h.options.other}if(!T)throw new Fi(h.value,d,Object.keys(h.options),a);s.push.apply(s,ar(T.value,t,r,n,i,d-(h.offset||0)));continue}}return Sl(s)}function wl(e,t){return t?y(y(y({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=y(y({},e[n]),t[n]||{}),r},{})):e}function _l(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=wl(e[n],t[n]),r},y({},e)):e}function Ki(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Ll(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ir(function(){for(var t,r=[],n=0;n0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])},e.__parse=ts,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 ss=as;var Cl=/[0-9\-+#]/,Pl=/[^\d\-+#]/g;function cs(e){return e.search(Cl)}function kl(e="#.##"){let t={},r=e.length,n=cs(e);t.prefix=n>0?e.substring(0,n):"";let i=cs(e.split("").reverse().join("")),o=r-i,a=e.substring(o,o+1),s=o+(a==="."||a===","?1:0);t.suffix=i>0?e.substring(s,r):"",t.mask=e.substring(n,s),t.maskHasNegativeSign=t.mask.charAt(0)==="-",t.maskHasPositiveSign=t.mask.charAt(0)==="+";let c=t.mask.match(Pl);return t.decimal=c&&c[c.length-1]||".",t.separator=c&&c[1]&&c[0]||",",c=t.mask.split(t.decimal),t.integer=c[0],t.fraction=c[1],t}function Il(e,t,r){let n=!1,i={value:e};e<0&&(n=!0,i.value=-i.value),i.sign=n?"-":"",i.value=Number(i.value).toFixed(t.fraction&&t.fraction.length),i.value=Number(i.value).toString();let o=t.fraction&&t.fraction.lastIndexOf("0"),[a="0",s=""]=i.value.split(".");return(!s||s&&s.length<=o)&&(s=o<0?"":(+("0."+s)).toFixed(o+1).replace("0.","")),i.integer=a,i.fraction=s,Nl(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 Nl(e,t){e.result="";let r=t.integer.split(t.separator),n=r.join(""),i=n&&n.indexOf("0");if(i>-1)for(;e.integer.lengthe*12,ps=(e,t)=>{let{start:r,end:n,displaySummary:{amount:i,duration:o,minProductQuantity:a,outcomeType:s}={}}=e;if(!(i&&o&&s&&a))return!1;let c=t?new Date(t):new Date;if(!r||!n)return!1;let l=new Date(r),h=new Date(n);return c>=l&&c<=h},We={MONTH:"MONTH",YEAR:"YEAR"},Ol={[N.ANNUAL]:12,[N.MONTHLY]:1,[N.THREE_YEARS]:36,[N.TWO_YEARS]:24},ji=(e,t)=>({accept:e,round:t}),$l=[ji(({divisor:e,price:t})=>t%e==0,({divisor:e,price:t})=>t/e),ji(({usePrecision:e})=>e,({divisor:e,price:t})=>Math.round(t/e*100)/100),ji(()=>!0,({divisor:e,price:t})=>Math.ceil(Math.floor(t*100/e)/100))],Xi={[G.YEAR]:{[N.MONTHLY]:We.MONTH,[N.ANNUAL]:We.YEAR},[G.MONTH]:{[N.MONTHLY]:We.MONTH}},Vl=(e,t)=>e.indexOf(`'${t}'`)===0,Ul=(e,t=!0)=>{let r=e.replace(/'.*?'/,"").trim(),n=gs(r);return!!n?t||(r=r.replace(/[,\.]0+/,n)):r=r.replace(/\s?(#.*0)(?!\s)?/,"$&"+Dl(e)),r},Hl=e=>{let t=Gl(e),r=Vl(e,t),n=e.replace(/'.*?'/,""),i=us.test(n)||ms.test(n);return{currencySymbol:t,isCurrencyFirst:r,hasCurrencySpace:i}},fs=e=>e.replace(us,ds).replace(ms,ds),Dl=e=>e.match(/#(.?)#/)?.[1]===hs?Ml:hs,Gl=e=>e.match(/'(.*?)'/)?.[1]??"",gs=e=>e.match(/0(.?)0/)?.[1]??"";function wt({formatString:e,price:t,usePrecision:r,isIndianPrice:n=!1},i,o=a=>a){let{currencySymbol:a,isCurrencyFirst:s,hasCurrencySpace:c}=Hl(e),l=r?gs(e):"",h=Ul(e,r),u=r?2:0,d=o(t,{currencySymbol:a}),m=n?d.toLocaleString("hi-IN",{minimumFractionDigits:u,maximumFractionDigits:u}):ls(h,d),f=r?m.lastIndexOf(l):m.length,b=m.substring(0,f),A=m.substring(f+1);return{accessiblePrice:e.replace(/'.*?'/,"SYMBOL").replace(/#.*0/,m).replace(/SYMBOL/,a),currencySymbol:a,decimals:A,decimalsDelimiter:l,hasCurrencySpace:c,integer:b,isCurrencyFirst:s,recurrenceTerm:i}}var bs=e=>{let{commitment:t,term:r,usePrecision:n}=e,i=Ol[r]??1;return wt(e,i>1?We.MONTH:Xi[t]?.[r],o=>{let a={divisor:i,price:o,usePrecision:n},{round:s}=$l.find(({accept:c})=>c(a));if(!s)throw new Error(`Missing rounding rule for: ${JSON.stringify(a)}`);return s(a)})},xs=({commitment:e,term:t,...r})=>wt(r,Xi[e]?.[t]),vs=e=>{let{commitment:t,instant:r,price:n,originalPrice:i,priceWithoutDiscount:o,promotion:a,quantity:s=1,term:c}=e;if(t===G.YEAR&&c===N.MONTHLY){if(!a)return wt(e,We.YEAR,Yi);let{displaySummary:{outcomeType:l,duration:h,minProductQuantity:u=1}={}}=a;switch(l){case"PERCENTAGE_DISCOUNT":if(s>=u&&ps(a,r)){let d=parseInt(h.replace("P","").replace("M",""));if(isNaN(d))return Yi(n);let m=s*i*d,f=s*o*(12-d),b=Math.floor((m+f)*100)/100;return wt({...e,price:b},We.YEAR)}default:return wt(e,We.YEAR,()=>Yi(o??n))}}return wt(e,Xi[t]?.[c])};var Bl={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}"},zl=Ia("ConsonantTemplates/price"),Fl=/<\/?[^>]+(>|$)/g,F={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"},qe={perUnitLabel:"perUnitLabel",perUnitAriaLabel:"perUnitAriaLabel",recurrenceLabel:"recurrenceLabel",recurrenceAriaLabel:"recurrenceAriaLabel",taxExclusiveLabel:"taxExclusiveLabel",taxInclusiveLabel:"taxInclusiveLabel",strikethroughAriaLabel:"strikethroughAriaLabel"},Kl="TAX_EXCLUSIVE",Yl=e=>ka(e)?Object.entries(e).filter(([,t])=>Et(t)||Hr(t)||t===!0).reduce((t,[r,n])=>t+` ${r}${n===!0?"":'="'+Ca(n)+'"'}`,""):"",W=(e,t,r,n=!1)=>`${n?fs(t):t??""}`;function jl(e,{accessibleLabel:t,currencySymbol:r,decimals:n,decimalsDelimiter:i,hasCurrencySpace:o,integer:a,isCurrencyFirst:s,recurrenceLabel:c,perUnitLabel:l,taxInclusivityLabel:h},u={}){let d=W(F.currencySymbol,r),m=W(F.currencySpace,o?" ":""),f="";return s&&(f+=d+m),f+=W(F.integer,a),f+=W(F.decimalsDelimiter,i),f+=W(F.decimals,n),s||(f+=m+d),f+=W(F.recurrence,c,null,!0),f+=W(F.unitType,l,null,!0),f+=W(F.taxInclusivity,h,!0),W(e,f,{...u,"aria-label":t})}var ee=({displayOptical:e=!1,displayStrikethrough:t=!1,displayAnnual:r=!1,instant:n=void 0}={})=>({country:i,displayFormatted:o=!0,displayRecurrence:a=!0,displayPerUnit:s=!1,displayTax:c=!1,language:l,literals:h={},quantity:u=1}={},{commitment:d,offerSelectorIds:m,formatString:f,price:b,priceWithoutDiscount:A,taxDisplay:_,taxTerm:E,term:T,usePrecision:P,promotion:R}={},U={})=>{Object.entries({country:i,formatString:f,language:l,price:b}).forEach(([he,un])=>{if(un==null)throw new Error(`Argument "${he}" is missing for osi ${m?.toString()}, country ${i}, language ${l}`)});let Z={...Bl,...h},j=`${l.toLowerCase()}-${i.toUpperCase()}`;function M(he,un){let mn=Z[he];if(mn==null)return"";try{return new ss(mn.replace(Fl,""),j).format(un)}catch{return zl.error("Failed to format literal:",mn),""}}let X=t&&A?A:b,ie=e?bs:xs;r&&(ie=vs);let{accessiblePrice:Ee,recurrenceTerm:oe,...ye}=ie({commitment:d,formatString:f,instant:n,isIndianPrice:i==="IN",originalPrice:b,priceWithoutDiscount:A,price:e?b:X,promotion:R,quantity:u,term:T,usePrecision:P}),re=Ee,Ot="";if(w(a)&&oe){let he=M(qe.recurrenceAriaLabel,{recurrenceTerm:oe});he&&(re+=" "+he),Ot=M(qe.recurrenceLabel,{recurrenceTerm:oe})}let dn="";if(w(s)){dn=M(qe.perUnitLabel,{perUnit:"LICENSE"});let he=M(qe.perUnitAriaLabel,{perUnit:"LICENSE"});he&&(re+=" "+he)}let $t="";w(c)&&E&&($t=M(_===Kl?qe.taxExclusiveLabel:qe.taxInclusiveLabel,{taxTerm:E}),$t&&(re+=" "+$t)),t&&(re=M(qe.strikethroughAriaLabel,{strikethroughPrice:re}));let Vt=F.container;if(e&&(Vt+=" "+F.containerOptical),t&&(Vt+=" "+F.containerStrikethrough),r&&(Vt+=" "+F.containerAnnual),w(o))return jl(Vt,{...ye,accessibleLabel:re,recurrenceLabel:Ot,perUnitLabel:dn,taxInclusivityLabel:$t},U);let{currencySymbol:So,decimals:ec,decimalsDelimiter:tc,hasCurrencySpace:To,integer:rc,isCurrencyFirst:nc}=ye,nt=[rc,tc,ec];nc?(nt.unshift(To?"\xA0":""),nt.unshift(So)):(nt.push(To?"\xA0":""),nt.push(So)),nt.push(Ot,dn,$t);let ic=nt.join("");return W(Vt,ic,U)},As=()=>(e,t,r)=>{let i=(e.displayOldPrice===void 0||w(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price;return`${ee()(e,t,r)}${i?" "+ee({displayStrikethrough:!0})(e,t,r):""}`},Es=()=>(e,t,r)=>{let{instant:n}=e;try{n||(n=new URLSearchParams(document.location.search).get("instant")),n&&(n=new Date(n))}catch{n=void 0}let i={...e,displayTax:!1,displayPerUnit:!1};return`${(e.displayOldPrice===void 0||w(e.displayOldPrice))&&t.priceWithoutDiscount&&t.priceWithoutDiscount!=t.price?ee({displayStrikethrough:!0})(i,t,r)+" ":""}${ee()(e,t,r)}${W(F.containerAnnualPrefix," (")}${ee({displayAnnual:!0,instant:n})(i,t,r)}${W(F.containerAnnualSuffix,")")}`},ys=()=>(e,t,r)=>{let n={...e,displayTax:!1,displayPerUnit:!1};return`${ee()(e,t,r)}${W(F.containerAnnualPrefix," (")}${ee({displayAnnual:!0})(n,t,r)}${W(F.containerAnnualSuffix,")")}`};var Wi=ee(),qi=As(),Zi=ee({displayOptical:!0}),Qi=ee({displayStrikethrough:!0}),Ji=ee({displayAnnual:!0}),eo=ys(),to=Es();var Xl=(e,t)=>{if(!(!St(e)||!St(t)))return Math.floor((t-e)/t*100)},Ss=()=>(e,t)=>{let{price:r,priceWithoutDiscount:n}=t,i=Xl(r,n);return i===void 0?'':`${i}%`};var ro=Ss();var{freeze:sr}=Object,Wl={V2:"UCv2",V3:"UCv3"},ae=sr({...Wl}),ql={CHECKOUT:"checkout",CHECKOUT_EMAIL:"checkout/email",SEGMENTATION:"segmentation",BUNDLE:"bundle",COMMITMENT:"commitment",RECOMMENDATION:"recommendation",EMAIL:"email",PAYMENT:"payment",CHANGE_PLAN_TEAM_PLANS:"change-plan/team-upgrade/plans",CHANGE_PLAN_TEAM_PAYMENT:"change-plan/team-upgrade/payment"},se=sr({...ql}),ke={STAGE:"STAGE",PRODUCTION:"PRODUCTION",LOCAL:"LOCAL"},no=sr({...G}),io=sr({...Ra}),oo=sr({...N});var Ze={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals","element"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},Ts=1e3;function Zl(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function ws(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:i,status:o}=e;return[n,o,i].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!Ze.serializableTypes.includes(r))return r}return e}function Ql(e,t){if(!Ze.ignoredProperties.includes(e))return ws(t)}var ao={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],o=t;r.forEach(l=>{l!=null&&(Zl(l)?n:i).push(l)}),n.length&&(o+=" "+n.map(ws).join(" "));let{pathname:a,search:s}=window.location,c=`${Ze.delimiter}page=${a}${s}`;c.length>Ts&&(c=`${c.slice(0,Ts)}`),o+=c,i.length&&(o+=`${Ze.delimiter}facts=`,o+=JSON.stringify(i,Ql)),window.lana?.log(o,Ze)}};function _t(e){Object.assign(Ze,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in Ze&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var C=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:ae.V3,checkoutWorkflowStep:se.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:ke.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:fe.PUBLISHED});var _s="mas-commerce-service";function Zr(e,{once:t=!1}={}){let r=null;function n(){let i=document.querySelector(_s);i!==r&&(r=i,i&&e(i))}return document.addEventListener(dt,n,{once:t}),Qe(n),()=>document.removeEventListener(dt,n)}function cr(e,{country:t,forceTaxExclusive:r,perpetual:n}){let i;if(e.length<2)i=e;else{let o=t==="GB"||n?"EN":"MULT",[a,s]=e;i=[a.language===o?a:s]}return r&&(i=i.map(Ii)),i}var Qe=e=>window.setTimeout(e);function Lt(e,t=1){if(e==null)return[t];let r=(Array.isArray(e)?e:String(e).split(",")).map(Ti).filter(St);return r.length||(r=[t]),r}function Qr(e){return e==null?[]:(Array.isArray(e)?e:String(e).split(",")).filter(Si)}function q(){return document.getElementsByTagName(_s)?.[0]}var so=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function Jl({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||C.language),t??(t=e?.split("_")?.[1]||C.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function co(e={}){let{commerce:t={}}=e,r=ke.PRODUCTION,n=ai,i=$("checkoutClientId",t)??C.checkoutClientId,o=Pe($("checkoutWorkflow",t),ae,C.checkoutWorkflow),a=se.CHECKOUT;o===ae.V3&&(a=Pe($("checkoutWorkflowStep",t),se,C.checkoutWorkflowStep));let s=w($("displayOldPrice",t),C.displayOldPrice),c=w($("displayPerUnit",t),C.displayPerUnit),l=w($("displayRecurrence",t),C.displayRecurrence),h=w($("displayTax",t),C.displayTax),u=w($("entitlement",t),C.entitlement),d=w($("modal",t),C.modal),m=w($("forceTaxExclusive",t),C.forceTaxExclusive),f=$("promotionCode",t)??C.promotionCode,b=Lt($("quantity",t)),A=$("wcsApiKey",t)??C.wcsApiKey,_=t?.env==="stage",E=fe.PUBLISHED;["true",""].includes(t.allowOverride)&&(_=($(ii,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",E=Pe($(oi,t),fe,E)),_&&(r=ke.STAGE,n=si);let P=$("mas-io-url")??e.masIOUrl??`https://www${r===ke.STAGE?".stage":""}.adobe.com/mas/io`;return{...Jl(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:o,checkoutWorkflowStep:a,displayPerUnit:c,displayRecurrence:l,displayTax:h,entitlement:u,extraOptions:C.extraOptions,modal:d,env:r,forceTaxExclusive:m,promotionCode:f,quantity:b,wcsApiKey:A,wcsURL:n,landscape:E,masIOUrl:P}}var lo={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},ho=new Set,uo=new Set,Ls=new Map,Cs={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},Ps={filter:({level:e})=>e!==lo.DEBUG},eh={filter:()=>!1};function th(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Jt(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:performance.now().toFixed(3)}}function rh(e){[...uo].every(t=>t(e))&&ho.forEach(t=>t(e))}function ks(e){let t=(Ls.get(e)??0)+1;Ls.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>ks(`${n.namespace}/${i}`),updateConfig:_t};return Object.values(lo).forEach(i=>{n[i]=(o,...a)=>rh(th(i,o,e,a,r))}),Object.seal(n)}function Jr(...e){e.forEach(t=>{let{append:r,filter:n}=t;Jt(n)&&uo.add(n),Jt(r)&&ho.add(r)})}function nh(e={}){let{name:t}=e,r=w($("commerce.debug",{search:!0,storage:!0}),t===so.LOCAL);return Jr(r?Cs:Ps),t===so.PROD&&Jr(ao),K}function ih(){ho.clear(),uo.clear()}var K={...ks(ni),Level:lo,Plugins:{consoleAppender:Cs,debugFilter:Ps,quietFilter:eh,lanaAppender:ao},init:nh,reset:ih,use:Jr};var ge=class e extends Error{constructor(t,r,n){if(super(t,{cause:n}),this.name="MasError",r.response){let i=r.response.headers?.get(ci);i&&(r.requestId=i),r.response.status&&(r.status=r.response.status,r.statusText=r.response.statusText),r.response.url&&(r.url=r.response.url)}delete r.response,this.context=r,Error.captureStackTrace&&Error.captureStackTrace(this,e)}toString(){let t=Object.entries(this.context||{}).map(([n,i])=>`${n}: ${JSON.stringify(i)}`).join(", "),r=`${this.name}: ${this.message}`;return t&&(r+=` (${t})`),this.cause&&(r+=` +Caused by: ${this.cause}`),r}};async function en(e,t={},r=2,n=100){let i;for(let o=0;o<=r;o++)try{return await fetch(e,t)}catch(a){if(i=a,o>r)break;await new Promise(s=>setTimeout(s,n*(o+1)))}throw i}var Rs=new CSSStyleSheet;Rs.replaceSync(":host { display: contents; }");var Is="fragment",Ns="author",tn="aem-fragment";async function oh(e,t,r){let n=`${tn}:${t}${Qt}`,i;try{if(i=await en(e,{cache:"default",credentials:"omit"}),!i?.ok){let{startTime:o,duration:a}=performance.measure(n,r);throw new ge("Unexpected fragment response",{response:i,startTime:o,duration:a})}return i.json()}catch{let{startTime:a,duration:s}=performance.measure(n,r);throw i||(i={url:e}),new ge("Failed to fetch fragment",{response:i,startTime:a,duration:s,...ne()})}}var be,mo=class{constructor(){V(this,be,new Map)}clear(){x(this,be).clear()}addByRequestedId(t,r){x(this,be).set(t,r)}add(...t){t.forEach(r=>{let{id:n}=r;n&&x(this,be).set(n,r)})}has(t){return x(this,be).has(t)}get(t){return x(this,be).get(t)}remove(t){x(this,be).delete(t)}};be=new WeakMap;var lr=new mo,rn,xe,ve,Ct,Pt,hr,te,kt,Je,It,dr,fo,po=class extends HTMLElement{constructor(){super();V(this,dr);p(this,"cache",lr);V(this,rn,K.module(tn));V(this,xe,null);V(this,ve,null);V(this,Ct,!1);V(this,Pt,null);V(this,hr,null);V(this,te);V(this,kt);V(this,Je);V(this,It,!1);this.attachShadow({mode:"open"}),this.shadowRoot.adoptedStyleSheets=[Rs]}static get observedAttributes(){return[Is,Ns]}attributeChangedCallback(r,n,i){r===Is&&D(this,te,i),r===Ns&&D(this,It,["","true"].includes(i))}connectedCallback(){if(!x(this,te)){de(this,dr,fo).call(this,{message:"Missing fragment id"});return}D(this,Pt,`${tn}:${x(this,te)}${Ce}`),performance.mark(x(this,Pt)),D(this,kt,new Promise((r,n)=>{this.dispose=Zr(i=>this.activate(i,r,n))}))}async activate(r,n,i){D(this,hr,r);let o=!x(this,It);this.refresh(o).then(a=>n(a)).catch(a=>i(a))}async refresh(r=!0){if(!(x(this,Je)&&!await Promise.race([x(this,Je),Promise.resolve(!1)])))return r&&lr.remove(x(this,te)),D(this,Je,this.fetchData().then(()=>(this.dispatchEvent(new CustomEvent(De,{detail:{...this.data,stale:x(this,Ct)},bubbles:!0,composed:!0})),!0)).catch(n=>x(this,xe)?(lr.addByRequestedId(x(this,te),x(this,xe)),!0):(D(this,kt,null),de(this,dr,fo).call(this,n),!1))),x(this,Je)}async fetchData(){this.classList.remove("error"),D(this,ve,null);let r=lr.get(x(this,te));if(r){D(this,xe,r);return}D(this,Ct,!0);let{masIOUrl:n,wcsApiKey:i,locale:o}=x(this,hr).settings,a=`${n}/fragment?id=${x(this,te)}&api_key=${i}&locale=${o}`;r=await oh(a,x(this,te),x(this,Pt)),lr.addByRequestedId(x(this,te),r),D(this,xe,r),D(this,Ct,!1)}get updateComplete(){return x(this,kt)??Promise.reject(new Error("AEM fragment cannot be loaded"))}get data(){return x(this,ve)?x(this,ve):(x(this,It)?this.transformAuthorData():this.transformPublishData(),x(this,ve))}transformAuthorData(){let{fields:r,id:n,tags:i}=x(this,xe);D(this,ve,r.reduce((o,{name:a,multiple:s,values:c})=>(o.fields[a]=s?c:c[0],o),{fields:{},id:n,tags:i}))}transformPublishData(){let{fields:r,id:n,tags:i}=x(this,xe);D(this,ve,Object.entries(r).reduce((o,[a,s])=>(o.fields[a]=s?.mimeType?s.value:s??"",o),{fields:{},id:n,tags:i}))}};rn=new WeakMap,xe=new WeakMap,ve=new WeakMap,Ct=new WeakMap,Pt=new WeakMap,hr=new WeakMap,te=new WeakMap,kt=new WeakMap,Je=new WeakMap,It=new WeakMap,dr=new WeakSet,fo=function({message:r,context:n}){this.classList.add("error"),x(this,rn).error(`aem-fragment: ${r}`,n),this.dispatchEvent(new CustomEvent(Ge,{detail:{message:r,...n},bubbles:!0,composed:!0}))};customElements.define(tn,po);function ah(e){return`https://${e==="PRODUCTION"?"www.adobe.com":"www.stage.adobe.com"}/offers/promo-terms.html`}var ur,et=class et extends HTMLAnchorElement{constructor(){super();V(this,ur,!1);this.setAttribute("is",et.is)}get isUptLink(){return!0}initializeWcsData(r,n){this.setAttribute("data-wcs-osi",r),n&&this.setAttribute("data-promotion-code",n),D(this,ur,!0),this.composePromoTermsUrl()}attributeChangedCallback(r,n,i){x(this,ur)&&this.composePromoTermsUrl()}composePromoTermsUrl(){let r=this.getAttribute("data-wcs-osi");if(!r){let u=this.closest("merch-card").querySelector("aem-fragment").getAttribute("fragment");console.error(`Missing 'data-wcs-osi' attribute on upt-link. Fragment: ${u}`);return}let n=q(),i=[r],o=this.getAttribute("data-promotion-code"),{country:a,language:s,env:c}=n.settings,l={country:a,language:s,wcsOsi:i,promotionCode:o},h=n.resolveOfferSelectors(l);Promise.all(h).then(([[u]])=>{let d=`locale=${s}_${a}&country=${a}&offer_id=${u.offerId}`;o&&(d+=`&promotion_code=${encodeURIComponent(o)}`),this.href=`${ah(c)}?${d}`}).catch(u=>{console.error(`Could not resolve offer selectors for id: ${r}.`,u.message)})}static createFrom(r){let n=new et;for(let i of r.attributes)i.name!=="is"&&(i.name==="class"&&i.value.includes("upt-link")?n.setAttribute("class",i.value.replace("upt-link","").trim()):n.setAttribute(i.name,i.value));return n.innerHTML=r.innerHTML,n.setAttribute("tabindex",0),n}};ur=new WeakMap,p(et,"is","upt-link"),p(et,"tag","a"),p(et,"observedAttributes",["data-wcs-osi","data-promotion-code"]);var Ae=et;window.customElements.get(Ae.is)||window.customElements.define(Ae.is,Ae,{extends:Ae.tag});var sh="#000000",Ms="#F8D904",ch="#EAEAEA",lh=/(accent|primary|secondary)(-(outline|link))?/,hh="mas:product_code/",dh="daa-ll",mr="daa-lh",uh=["XL","L","M","S"],go="...";function tt(e,t,r,n){let i=n[e];if(t[e]&&i){let o={slot:i?.slot},a=t[e];if(i.maxCount&&typeof a=="string"){let[c,l]=Th(a,i.maxCount,i.withSuffix);c!==a&&(o.title=l,a=c)}let s=Fe(i.tag,o,a);r.append(s)}}function mh(e,t,r){e.mnemonicIcon?.map((i,o)=>({icon:i,alt:e.mnemonicAlt[o]??"",link:e.mnemonicLink[o]??""}))?.forEach(({icon:i,alt:o,link:a})=>{if(a&&!/^https?:/.test(a))try{a=new URL(`https://${a}`).href.toString()}catch{a="#"}let s={slot:"icons",src:i,loading:t.loading,size:r?.size??"l"};o&&(s.alt=o),a&&(s.href=a);let c=Fe("merch-icon",s);t.append(c)})}function ph(e,t){e.badge?(t.setAttribute("badge-text",e.badge),t.setAttribute("badge-color",e.badgeColor||sh),t.setAttribute("badge-background-color",e.badgeBackgroundColor||Ms),t.setAttribute("border-color",e.badgeBackgroundColor||Ms)):t.setAttribute("border-color",e.borderColor||ch)}function fh(e,t,r){r?.includes(e.size)&&t.setAttribute("size",e.size)}function gh(e,t,r){tt("cardTitle",e,t,{cardTitle:r})}function bh(e,t,r){tt("subtitle",e,t,r)}function xh(e,t,r){if(!e.backgroundColor||e.backgroundColor.toLowerCase()==="default"){t.style.removeProperty("--merch-card-custom-background-color"),t.removeAttribute("background-color");return}r?.[e.backgroundColor]&&(t.style.setProperty("--merch-card-custom-background-color",`var(${r[e.backgroundColor]})`),t.setAttribute("background-color",e.backgroundColor))}function vh(e,t,r){e.borderColor&&r&&e.borderColor!=="transparent"&&t.style.setProperty("--merch-card-custom-border-color",`var(--${e.borderColor})`)}function Ah(e,t,r){if(e.backgroundImage){let n={loading:t.loading??"lazy",src:e.backgroundImage};if(e.backgroundImageAltText?n.alt=e.backgroundImageAltText:n.role="none",!r)return;if(r?.attribute){t.setAttribute(r.attribute,e.backgroundImage);return}t.append(Fe(r.tag,{slot:r.slot},Fe("img",n)))}}function Eh(e,t,r){tt("prices",e,t,r)}function yh(e,t,r){tt("promoText",e,t,r),tt("description",e,t,r),tt("callout",e,t,r),tt("quantitySelect",e,t,r)}function Sh(e,t,r,n){e.showStockCheckbox&&r.stockOffer&&(t.setAttribute("checkbox-label",n.stockCheckboxLabel),t.setAttribute("stock-offer-osis",n.stockOfferOsis)),n.secureLabel&&r.secureLabel&&t.setAttribute("secure-label",n.secureLabel)}function Th(e,t,r=!0){try{let n=typeof e!="string"?"":e,i=Os(n);if(i.length<=t)return[n,i];let o=0,a=!1,s=r?t-go.length<1?1:t-go.length:t,c=[];for(let u of n){if(o++,u==="<")if(a=!0,n[o]==="/")c.pop();else{let d="";for(let m of n.substring(o)){if(m===" "||m===">")break;d+=m}c.push(d)}if(u==="/"&&n[o]===">"&&c.pop(),u===">"){a=!1;continue}if(!a&&(s--,s===0))break}let l=n.substring(0,o).trim();if(c.length>0){c[0]==="p"&&c.shift();for(let u of c.reverse())l+=``}return[`${l}${r?go:""}`,i]}catch{let i=typeof e=="string"?e:"",o=Os(i);return[i,o]}}function Os(e){if(!e)return"";let t="",r=!1;for(let n of e){if(n==="<"&&(r=!0),n===">"){r=!1;continue}r||(t+=n)}return t}function wh(e,t){t.querySelectorAll("a.upt-link").forEach(n=>{let i=Ae.createFrom(n);n.replaceWith(i),i.initializeWcsData(e.osi,e.promoCode)})}function _h(e,t,r,n){let o=customElements.get("checkout-button").createCheckoutButton({},e.innerHTML);o.setAttribute("tabindex",0);for(let h of e.attributes)["class","is"].includes(h.name)||o.setAttribute(h.name,h.value);o.firstElementChild?.classList.add("spectrum-Button-label");let a=t.ctas.size??"M",s=`spectrum-Button--${n}`,c=uh.includes(a)?`spectrum-Button--size${a}`:"spectrum-Button--sizeM",l=["spectrum-Button",s,c];return r&&l.push("spectrum-Button--outline"),o.classList.add(...l),o}function Lh(e,t,r,n){let o=customElements.get("checkout-button").createCheckoutButton(e.dataset);e.dataset.analyticsId&&o.setAttribute("data-analytics-id",e.dataset.analyticsId),o.connectedCallback(),o.render();let a="fill";r&&(a="outline");let s=Fe("sp-button",{treatment:a,variant:n,tabIndex:0,size:t.ctas.size??"m",...e.dataset.analyticsId&&{"data-analytics-id":e.dataset.analyticsId}},e.innerHTML);return s.source=o,o.onceSettled().then(c=>{s.setAttribute("data-navigation-url",c.href)}),s.addEventListener("click",c=>{c.defaultPrevented||o.click()}),s}function Ch(e,t){return e.classList.add("con-button"),t&&e.classList.add("blue"),e}function Ph(e,t,r,n){if(e.ctas){let{slot:i}=r.ctas,o=Fe("div",{slot:i},e.ctas),a=[...o.querySelectorAll("a")].map(s=>{let c=lh.exec(s.className)?.[0]??"accent",l=c.includes("accent"),h=c.includes("primary"),u=c.includes("secondary"),d=c.includes("-outline"),m=c.includes("-link");if(t.consonant)return Ch(s,l);if(m)return s;let f;return l?f="accent":h?f="primary":u&&(f="secondary"),t.spectrum==="swc"?Lh(s,r,d,f):_h(s,r,d,f)});o.innerHTML="",o.append(...a),t.append(o)}}function kh(e,t){let{tags:r}=e,n=r?.find(o=>o.startsWith(hh))?.split("/").pop();if(!n)return;t.setAttribute(mr,n),[...t.shadowRoot.querySelectorAll("a[data-analytics-id],button[data-analytics-id]"),...t.querySelectorAll("a[data-analytics-id],button[data-analytics-id]")].forEach((o,a)=>{o.setAttribute(dh,`${o.dataset.analyticsId}-${a+1}`)})}function Ih(e){e.spectrum==="css"&&[["primary-link","primary"],["secondary-link","secondary"]].forEach(([t,r])=>{e.querySelectorAll(`a.${t}`).forEach(n=>{n.classList.remove(t),n.classList.add("spectrum-Link",`spectrum-Link--${r}`)})})}function Nh(e){e.querySelectorAll("[slot]").forEach(n=>{n.remove()}),["checkbox-label","stock-offer-osis","secure-label","background-image","background-color","border-color","badge-background-color","badge-color","badge-text","size",mr].forEach(n=>e.removeAttribute(n));let r=["wide-strip","thin-strip"];e.classList.remove(...r)}async function $s(e,t){let{id:r,fields:n}=e,{variant:i}=n;if(!i)throw new Error(`hydrate: no variant found in payload ${r}`);let o={stockCheckboxLabel:"Add a 30-day free trial of Adobe Stock.*",stockOfferOsis:"",secureLabel:"Secure transaction"};Nh(t),t.id??(t.id=e.id),t.removeAttribute("background-image"),t.removeAttribute("background-color"),t.removeAttribute("badge-background-color"),t.removeAttribute("badge-color"),t.removeAttribute("badge-text"),t.removeAttribute("size"),t.classList.remove("wide-strip"),t.classList.remove("thin-strip"),t.removeAttribute(mr),t.variant=i,await t.updateComplete;let{aemFragmentMapping:a}=t.variantLayout;if(!a)throw new Error(`hydrate: aemFragmentMapping found for ${r}`);a.style==="consonant"&&t.setAttribute("consonant",!0),mh(n,t,a.mnemonics),ph(n,t),fh(n,t,a.size),gh(n,t,a.title),bh(n,t,a),Eh(n,t,a),Ah(n,t,a.backgroundImage),xh(n,t,a.allowedColors),vh(n,t,a.borderColor),yh(n,t,a),Sh(n,t,a,o),wh(n,t),Ph(n,t,a,i),kh(n,t),Ih(t)}var Rh="merch-card",Mh=":ready",Oh=":error",bo=2e4,nn="merch-card:",Ie,Nt,pr=class extends Q{constructor(){super();V(this,Ie);p(this,"customerSegment");p(this,"marketSegment");p(this,"variantLayout");p(this,"log");p(this,"readyEventDispatched",!1);this.id=null,this.failed=!1,this.filters={},this.types="",this.selected=!1,this.spectrum="css",this.loading="lazy",this.handleAemFragmentEvents=this.handleAemFragmentEvents.bind(this),this.log=K.module("merch-card")}static getFragmentMapping(r){return Ta[r]}firstUpdated(){this.variantLayout=bi(this,!1),this.variantLayout?.connectedCallbackHook(),this.aemFragment?.updateComplete.catch(r=>{de(this,Ie,Nt).call(this,r,{},!1),this.style.display="none"})}willUpdate(r){(r.has("variant")||!this.variantLayout)&&(this.variantLayout=bi(this),this.variantLayout.connectedCallbackHook())}updated(r){(r.has("badgeBackgroundColor")||r.has("borderColor"))&&this.style.setProperty("--consonant-merch-card-border",this.computedBorderStyle),this.variantLayout?.postCardUpdateHook(r)}get theme(){return this.closest("sp-theme")}get dir(){return this.closest("[dir]")?.getAttribute("dir")??"ltr"}get prices(){return Array.from(this.querySelectorAll('span[is="inline-price"][data-wcs-osi]'))}render(){if(!(!this.isConnected||!this.variantLayout||this.style.display==="none"))return this.variantLayout.renderLayout()}get computedBorderStyle(){return["twp","ccd-slice","ccd-suggested"].includes(this.variant)?"":`1px solid ${this.borderColor?this.borderColor:this.badgeBackgroundColor}`}get badgeElement(){return this.shadowRoot.getElementById("badge")}get headingmMSlot(){return this.shadowRoot.querySelector('slot[name="heading-m"]').assignedElements()[0]}get footerSlot(){return this.shadowRoot.querySelector('slot[name="footer"]')?.assignedElements()[0]}get price(){return this.headingmMSlot?.querySelector(Rr)}get checkoutLinks(){return[...this.footerSlot?.querySelectorAll(Wt)??[]]}async toggleStockOffer({target:r}){if(!this.stockOfferOsis)return;let n=this.checkoutLinks;if(n.length!==0)for(let i of n){await i.onceSettled();let o=i.value?.[0]?.planType;if(!o)return;let a=this.stockOfferOsis[o];if(!a)return;let s=i.dataset.wcsOsi.split(",").filter(c=>c!==a);r.checked&&s.push(a),i.dataset.wcsOsi=s.join(",")}}handleQuantitySelection(r){let n=this.checkoutLinks;for(let i of n)i.dataset.quantity=r.detail.option}get titleElement(){return this.querySelector(this.variantLayout?.headingSelector||".card-heading")}get title(){return this.titleElement?.textContent?.trim()}get description(){return this.querySelector('[slot="body-xs"]')?.textContent?.trim()}updateFilters(r){let n={...this.filters};Object.keys(n).forEach(i=>{if(r){n[i].order=Math.min(n[i].order||2,2);return}let o=n[i].order;o===1||isNaN(o)||(n[i].order=Number(o)+1)}),this.filters=n}includes(r){return this.textContent.match(new RegExp(r,"i"))!==null}connectedCallback(){super.connectedCallback(),this.id??(this.id=this.querySelector("aem-fragment")?.getAttribute("fragment")),performance.mark(`${nn}${this.id}${Ce}`),this.addEventListener(ut,this.handleQuantitySelection),this.addEventListener(Kn,this.merchCardReady,{once:!0}),this.updateComplete.then(()=>{this.merchCardReady()}),this.storageOptions?.addEventListener("change",this.handleStorageChange),this.addEventListener(Ge,this.handleAemFragmentEvents),this.addEventListener(De,this.handleAemFragmentEvents),this.aemFragment||setTimeout(()=>this.checkReady(),0)}disconnectedCallback(){super.disconnectedCallback(),this.variantLayout?.disconnectedCallbackHook(),this.removeEventListener(ut,this.handleQuantitySelection),this.storageOptions?.removeEventListener(Mr,this.handleStorageChange),this.removeEventListener(Ge,this.handleAemFragmentEvents),this.removeEventListener(De,this.handleAemFragmentEvents)}async handleAemFragmentEvents(r){if(r.type===Ge&&de(this,Ie,Nt).call(this,`AEM fragment cannot be loaded: ${r.detail.message}`,r.detail),r.type===De&&r.target.nodeName==="AEM-FRAGMENT"){let n=r.detail;$s(n,this).then(()=>this.checkReady()).catch(i=>this.log?.error(i))}}async checkReady(){let r=new Promise(a=>setTimeout(()=>a("timeout"),bo));if(this.aemFragment){let a=await Promise.race([this.aemFragment.updateComplete,r]);if(a===!1){let s=a==="timeout"?`AEM fragment was not resolved within ${bo} timeout`:"AEM fragment cannot be loaded";de(this,Ie,Nt).call(this,s,{},!1);return}}let n=[...this.querySelectorAll(qt)];n.push(...[...this.querySelectorAll(Fn)].map(a=>a.source));let i=Promise.all(n.map(a=>a.onceSettled().catch(()=>a))).then(a=>a.every(s=>s.classList.contains("placeholder-resolved"))),o=await Promise.race([i,r]);if(o===!0)return performance.mark(`${nn}${this.id}${Mh}`),this.readyEventDispatched||(this.readyEventDispatched=!0,this.dispatchEvent(new CustomEvent(Xn,{bubbles:!0,composed:!0}))),this;{let{duration:a,startTime:s}=performance.measure(`${nn}${this.id}${Oh}`,`${nn}${this.id}${Ce}`),c={duration:a,startTime:s,...ne()};o==="timeout"?de(this,Ie,Nt).call(this,`Contains offers that were not resolved within ${bo} timeout`,c):de(this,Ie,Nt).call(this,"Contains unresolved offers",c)}}get aemFragment(){return this.querySelector("aem-fragment")}get storageOptions(){return this.querySelector("sp-radio-group#storage")}get storageSpecificOfferSelect(){let r=this.storageOptions?.selected;if(r){let n=this.querySelector(`merch-offer-select[storage="${r}"]`);if(n)return n}return this.querySelector("merch-offer-select")}get offerSelect(){return this.storageOptions?this.storageSpecificOfferSelect:this.querySelector("merch-offer-select")}get quantitySelect(){return this.querySelector("merch-quantity-select")}displayFooterElementsInColumn(){if(!this.classList.contains("product"))return;let r=this.shadowRoot.querySelector(".secure-transaction-label");(this.footerSlot?.querySelectorAll(Wt)).length===2&&r&&r.parentElement.classList.add("footer-column")}merchCardReady(){this.offerSelect&&!this.offerSelect.planType||(this.dispatchEvent(new CustomEvent(Yn,{bubbles:!0})),this.displayFooterElementsInColumn())}handleStorageChange(){let r=this.closest("merch-card")?.offerSelect.cloneNode(!0);r&&this.dispatchEvent(new CustomEvent(Mr,{detail:{offerSelect:r},bubbles:!0}))}get dynamicPrice(){return this.querySelector('[slot="price"]')}selectMerchOffer(r){if(r===this.merchOffer)return;this.merchOffer=r;let n=this.dynamicPrice;if(r.price&&n){let i=r.price.cloneNode(!0);n.onceSettled?n.onceSettled().then(()=>{n.replaceWith(i)}):n.replaceWith(i)}}};Ie=new WeakSet,Nt=function(r,n={},i=!0){this.log?.error(`merch-card: ${r}`,n),this.failed=!0,i&&this.dispatchEvent(new CustomEvent(Wn,{detail:{...n,message:r},bubbles:!0,composed:!0}))},p(pr,"properties",{id:{type:String,attribute:"id",reflect:!0},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"},failed:{type:Boolean,attribute:"failed",reflect:!0},spectrum:{type:String,attribute:"spectrum"},detailBg:{type:String,attribute:"detail-bg"},secureLabel:{type:String,attribute:"secure-label"},checkboxLabel:{type:String,attribute:"checkbox-label"},selected:{type:Boolean,attribute:"aria-selected",reflect:!0},storageOption:{type:String,attribute:"storage",reflect:!0},stockOfferOsis:{type:Object,attribute:"stock-offer-osis",converter:{fromAttribute:r=>{if(!r)return;let[n,i,o]=r.split(",");return{PUF:n,ABM:i,M2M:o}}}},filters:{type:String,reflect:!0,converter:{fromAttribute:r=>Object.fromEntries(r.split(",").map(n=>{let[i,o,a]=n.split(":"),s=Number(o);return[i,{order:isNaN(s)?void 0:s,size:a}]})),toAttribute:r=>Object.entries(r).map(([n,{order:i,size:o}])=>[n,i,o].filter(a=>a!=null).join(":")).join(",")}},types:{type:String,attribute:"types",reflect:!0},merchOffer:{type:Object},analyticsId:{type:String,attribute:mr,reflect:!0},loading:{type:String}}),p(pr,"styles",[ca,wa(),...la()]);customElements.define(Rh,pr);var Rt=class extends Q{constructor(){super(),this.size="m",this.alt="",this.loading="lazy"}render(){let{href:t}=this;return t?g` ${this.alt} - `:b` ${this.alt}`}};p(Tt,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0},loading:{type:String,attribute:!0}}),p(Tt,"styles",_` + `:g` ${this.alt}`}};p(Rt,"properties",{size:{type:String,attribute:!0},src:{type:String,attribute:!0},alt:{type:String,attribute:!0},href:{type:String,attribute:!0},loading:{type:String,attribute:!0}}),p(Rt,"styles",L` :host { --img-width: 32px; --img-height: 32px; @@ -2407,7 +2412,7 @@ Try polyfilling it using "@formatjs/intl-pluralrules" width: var(--mod-img-width, var(--img-width)); height: var(--mod-img-height, var(--img-height)); } - `);customElements.define("merch-icon",Tt);var bs=_` + `);customElements.define("merch-icon",Rt);var Vs=L` :host { box-sizing: border-box; --background-color: var(--qs-background-color, #f6f6f6); @@ -2537,8 +2542,8 @@ Try polyfilling it using "@formatjs/intl-pluralrules" .item.highlighted { background-color: var(--background-color); } -`;var[cf,lf,xs,vs,As,hf]=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Enter","Tab"];var ji=class extends X{static get properties(){return{closed:{type:Boolean,reflect:!0},selected:{type:Number},min:{type:Number},max:{type:Number},step:{type:Number},maxInput:{type:Number,attribute:"max-input"},defaultValue:{type:Number,attribute:"default-value",reflect:!0},title:{type:String}}}static get styles(){return bs}constructor(){super(),this.options=[],this.title="",this.closed=!0,this.min=0,this.max=0,this.step=0,this.maxInput=void 0,this.defaultValue=void 0,this.selectedValue=0,this.highlightedIndex=0,this.toggleMenu=this.toggleMenu.bind(this),this.handleClickOutside=this.handleClickOutside.bind(this),this.boundKeydownListener=this.handleKeydown.bind(this),this.addEventListener("keydown",this.boundKeydownListener),window.addEventListener("mousedown",this.handleClickOutside),this.handleKeyupDebounced=Ko(this.handleKeyup.bind(this),500)}handleKeyup(){this.handleInput(),this.sendEvent()}handleKeydown(t){switch(t.key){case vs:this.closed||(t.preventDefault(),this.highlightedIndex=(this.highlightedIndex+1)%this.options.length,this.requestUpdate());break;case xs:this.closed||(t.preventDefault(),this.highlightedIndex=(this.highlightedIndex-1+this.options.length)%this.options.length,this.requestUpdate());break;case As:if(this.closed)this.closePopover(),this.blur();else{let r=this.options[this.highlightedIndex];if(!r)break;this.selectedValue=r,this.handleMenuOption(this.selectedValue),this.toggleMenu()}break}t.composedPath().includes(this)&&t.stopPropagation()}adjustInput(t,r){this.selectedValue=r,t.value=r,this.highlightedIndex=this.options.indexOf(r)}handleInput(){let t=this.shadowRoot.querySelector(".text-field-input"),r=parseInt(t.value);if(!isNaN(r))if(r>0&&r!==this.selectedValue){let n=r;this.maxInput&&r>this.maxInput&&(n=this.maxInput),this.min&&n0)for(let r=this.min;r<=this.max;r+=this.step)t.push(r);return t}updated(t){(t.has("min")||t.has("max")||t.has("step")||t.has("defaultValue"))&&(this.options=this.generateOptionsArray(),this.highlightedIndex=this.defaultValue?this.options.indexOf(this.defaultValue):0,this.handleMenuOption(this.defaultValue?this.defaultValue:this.options[0]),this.requestUpdate())}handleClickOutside(t){t.composedPath().includes(this)||this.closePopover()}toggleMenu(){this.closed=!this.closed}handleMouseEnter(t){this.highlightedIndex=t,this.requestUpdate()}handleMenuOption(t){t===this.max&&this.shadowRoot.querySelector(".text-field-input")?.focus(),this.selectedValue=t,this.sendEvent(),this.closePopover()}sendEvent(){let t=new CustomEvent(st,{detail:{option:this.selectedValue},bubbles:!0});this.dispatchEvent(t)}closePopover(){this.closed||this.toggleMenu()}get offerSelect(){return this.querySelector("merch-offer-select")}get popover(){return b`
- ${this.options.map((t,r)=>b` +`;var[zf,Ff,Us,Hs,Ds,Kf]=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Enter","Tab"];var xo=class extends Q{static get properties(){return{closed:{type:Boolean,reflect:!0},selected:{type:Number},min:{type:Number},max:{type:Number},step:{type:Number},maxInput:{type:Number,attribute:"max-input"},defaultValue:{type:Number,attribute:"default-value",reflect:!0},title:{type:String}}}static get styles(){return Vs}constructor(){super(),this.options=[],this.title="",this.closed=!0,this.min=0,this.max=0,this.step=0,this.maxInput=void 0,this.defaultValue=void 0,this.selectedValue=0,this.highlightedIndex=0,this.toggleMenu=this.toggleMenu.bind(this),this.handleClickOutside=this.handleClickOutside.bind(this),this.boundKeydownListener=this.handleKeydown.bind(this),this.addEventListener("keydown",this.boundKeydownListener),window.addEventListener("mousedown",this.handleClickOutside),this.handleKeyupDebounced=ha(this.handleKeyup.bind(this),500)}handleKeyup(){this.handleInput(),this.sendEvent()}handleKeydown(t){switch(t.key){case Hs:this.closed||(t.preventDefault(),this.highlightedIndex=(this.highlightedIndex+1)%this.options.length,this.requestUpdate());break;case Us:this.closed||(t.preventDefault(),this.highlightedIndex=(this.highlightedIndex-1+this.options.length)%this.options.length,this.requestUpdate());break;case Ds:if(this.closed)this.closePopover(),this.blur();else{let r=this.options[this.highlightedIndex];if(!r)break;this.selectedValue=r,this.handleMenuOption(this.selectedValue),this.toggleMenu()}break}t.composedPath().includes(this)&&t.stopPropagation()}adjustInput(t,r){this.selectedValue=r,t.value=r,this.highlightedIndex=this.options.indexOf(r)}handleInput(){let t=this.shadowRoot.querySelector(".text-field-input"),r=parseInt(t.value);if(!isNaN(r))if(r>0&&r!==this.selectedValue){let n=r;this.maxInput&&r>this.maxInput&&(n=this.maxInput),this.min&&n0)for(let r=this.min;r<=this.max;r+=this.step)t.push(r);return t}updated(t){(t.has("min")||t.has("max")||t.has("step")||t.has("defaultValue"))&&(this.options=this.generateOptionsArray(),this.highlightedIndex=this.defaultValue?this.options.indexOf(this.defaultValue):0,this.handleMenuOption(this.defaultValue?this.defaultValue:this.options[0]),this.requestUpdate())}handleClickOutside(t){t.composedPath().includes(this)||this.closePopover()}toggleMenu(){this.closed=!this.closed}handleMouseEnter(t){this.highlightedIndex=t,this.requestUpdate()}handleMenuOption(t){t===this.max&&this.shadowRoot.querySelector(".text-field-input")?.focus(),this.selectedValue=t,this.sendEvent(),this.closePopover()}sendEvent(){let t=new CustomEvent(ut,{detail:{option:this.selectedValue},bubbles:!0});this.dispatchEvent(t)}closePopover(){this.closed||this.toggleMenu()}get offerSelect(){return this.querySelector("merch-offer-select")}get popover(){return g`
+ ${this.options.map((t,r)=>g`
`)} -
`}render(){return b` +
`}render(){return g`
${this.title}
${this.popover}
- `}};customElements.define("merch-quantity-select",ji);var Xe={clientId:"merch-at-scale",delimiter:"\xB6",ignoredProperties:["analytics","literals"],serializableTypes:["Array","Object"],sampleRate:1,tags:"acom",isProdDomain:!1},ys=1e3,Es=new Set;function gh(e){return e instanceof Error||typeof e?.originatingRequest=="string"}function Ss(e){if(e==null)return;let t=typeof e;if(t==="function")return e.name?`function ${e.name}`:"function";if(t==="object"){if(e instanceof Error)return e.message;if(typeof e.originatingRequest=="string"){let{message:n,originatingRequest:i,status:o}=e;return[n,o,i].filter(Boolean).join(" ")}let r=e[Symbol.toStringTag]??Object.getPrototypeOf(e).constructor.name;if(!Xe.serializableTypes.includes(r))return r}return e}function bh(e,t){if(!Xe.ignoredProperties.includes(e))return Ss(t)}var Wi={append(e){if(e.level!=="error")return;let{message:t,params:r}=e,n=[],i=[],o=t;r.forEach(l=>{l!=null&&(gh(l)?n:i).push(l)}),n.length&&(o+=" "+n.map(Ss).join(" "));let{pathname:a,search:s}=window.location,c=`${Xe.delimiter}page=${a}${s}`;c.length>ys&&(c=`${c.slice(0,ys)}`),o+=c,i.length&&(o+=`${Xe.delimiter}facts=`,o+=JSON.stringify(i,bh)),Es.has(o)||(Es.add(o),window.lana?.log(o,Xe))}};function wt(e){Object.assign(Xe,Object.fromEntries(Object.entries(e).filter(([t,r])=>t in Xe&&r!==""&&r!==null&&r!==void 0&&!Number.isNaN(r))))}var w=Object.freeze({checkoutClientId:"adobe_com",checkoutWorkflow:ee.V3,checkoutWorkflowStep:te.EMAIL,country:"US",displayOldPrice:!0,displayPerUnit:!1,displayRecurrence:!0,displayTax:!1,env:Ke.PRODUCTION,forceTaxExclusive:!1,language:"en",entitlement:!1,extraOptions:{},modal:!1,promotionCode:"",quantity:1,wcsApiKey:"wcms-commerce-ims-ro-user-milo",wcsBufferDelay:1,wcsURL:"https://www.adobe.com/web_commerce_artifact",landscape:ce.PUBLISHED,wcsBufferLimit:1});var Xi=Object.freeze({LOCAL:"local",PROD:"prod",STAGE:"stage"});function xh({locale:e=void 0,country:t=void 0,language:r=void 0}={}){return r??(r=e?.split("_")?.[0]||w.language),t??(t=e?.split("_")?.[1]||w.country),e??(e=`${r}_${t}`),{locale:e,country:t,language:r}}function qi(e={}){let{commerce:t={}}=e,r=Ke.PRODUCTION,n=zn,i=R("checkoutClientId",t)??w.checkoutClientId,o=Te(R("checkoutWorkflow",t),ee,w.checkoutWorkflow),a=te.CHECKOUT;o===ee.V3&&(a=Te(R("checkoutWorkflowStep",t),te,w.checkoutWorkflowStep));let s=S(R("displayOldPrice",t),w.displayOldPrice),c=S(R("displayPerUnit",t),w.displayPerUnit),l=S(R("displayRecurrence",t),w.displayRecurrence),h=S(R("displayTax",t),w.displayTax),d=S(R("entitlement",t),w.entitlement),u=S(R("modal",t),w.modal),m=S(R("forceTaxExclusive",t),w.forceTaxExclusive),f=R("promotionCode",t)??w.promotionCode,g=St(R("quantity",t)),T=R("wcsApiKey",t)??w.wcsApiKey,P=t?.env==="stage",x=ce.PUBLISHED;["true",""].includes(t.allowOverride)&&(P=(R(Bn,t,{metadata:!1})?.toLowerCase()??t?.env)==="stage",x=Te(R(Gn,t),ce,x)),P&&(r=Ke.STAGE,n=Fn);let I=yt(R("wcsBufferDelay",t),w.wcsBufferDelay),O=yt(R("wcsBufferLimit",t),w.wcsBufferLimit);return{...xh(e),displayOldPrice:s,checkoutClientId:i,checkoutWorkflow:o,checkoutWorkflowStep:a,displayPerUnit:c,displayRecurrence:l,displayTax:h,entitlement:d,extraOptions:w.extraOptions,modal:u,env:r,forceTaxExclusive:m,promotionCode:f,quantity:g,wcsApiKey:T,wcsBufferDelay:I,wcsBufferLimit:O,wcsURL:n,landscape:x}}var Zi={DEBUG:"debug",ERROR:"error",INFO:"info",WARN:"warn"},vh=Date.now(),Qi=new Set,Ji=new Set,Ts=new Map,ws={append({level:e,message:t,params:r,timestamp:n,source:i}){console[e](`${n}ms [${i}] %c${t}`,"font-weight: bold;",...r)}},Ls={filter:({level:e})=>e!==Zi.DEBUG},Ah={filter:()=>!1};function yh(e,t,r,n,i){return{level:e,message:t,namespace:r,get params(){return n.length===1&&Ft(n[0])&&(n=n[0](),Array.isArray(n)||(n=[n])),n},source:i,timestamp:Date.now()-vh}}function Eh(e){[...Ji].every(t=>t(e))&&Qi.forEach(t=>t(e))}function _s(e){let t=(Ts.get(e)??0)+1;Ts.set(e,t);let r=`${e} #${t}`,n={id:r,namespace:e,module:i=>_s(`${n.namespace}/${i}`),updateConfig:wt};return Object.values(Zi).forEach(i=>{n[i]=(o,...a)=>Eh(yh(i,o,e,a,r))}),Object.seal(n)}function Gr(...e){e.forEach(t=>{let{append:r,filter:n}=t;Ft(n)&&Ji.add(n),Ft(r)&&Qi.add(r)})}function Sh(e={}){let{name:t}=e,r=S(R("commerce.debug",{search:!0,storage:!0}),t===Xi.LOCAL);return Gr(r?ws:Ls),t===Xi.PROD&&Gr(Wi),W}function Th(){Qi.clear(),Ji.clear()}var W={..._s(Dn),Level:Zi,Plugins:{consoleAppender:ws,debugFilter:Ls,quietFilter:Ah,lanaAppender:Wi},init:Sh,reset:Th,use:Gr};var wh={[ae]:On,[ye]:Mn,[se]:Vn},Lh={[ae]:Hn,[se]:Un},Lt=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",xt);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",ye);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t}update(){[ae,ye,se].forEach(t=>{this.wrapperElement.classList.toggle(wh[t],t===this.state)})}notify(){(this.state===se||this.state===ae)&&(this.state===se?this.promises.forEach(({resolve:t})=>t(this.wrapperElement)):this.state===ae&&this.promises.forEach(({reject:t})=>t(this.error)),this.promises=[]),this.wrapperElement.dispatchEvent(new CustomEvent(Lh[this.state],{bubbles:!0}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=us(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=xt}onceSettled(){let{error:t,promises:r,state:n}=this;return se===n?Promise.resolve(this.wrapperElement):ae===n?Promise.reject(t):new Promise((i,o)=>{r.push({resolve:i,reject:o})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=se,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),Ye(()=>this.notify()),!0)}toggleFailed(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.error=r,this.state=ae,this.update(),this.log?.error("Failed:",{element:this.wrapperElement,error:r}),Ye(()=>this.notify()),!0)}togglePending(t){return this.version++,t&&(this.options=t),this.state=ye,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!j()||this.timer)return;let r=W.module("mas-element"),{error:n,options:i,state:o,value:a,version:s}=this;this.state=ye,this.timer=Ye(async()=>{this.timer=null;let c=null;if(this.changes.size&&(c=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:c}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:c})),c||t)try{await this.wrapperElement.render?.()===!1&&this.state===ye&&this.version===s&&(this.state=o,this.error=n,this.value=a,this.update(),this.notify())}catch(l){r.error("Failed to render mas-element: ",l),this.toggleFailed(this.version,l,i)}})}};function Ps(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function zr(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,Ps(t)),i}function Fr(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,Ps(t)),e):null}var _h="download",Ph="upgrade";function Kr(e,t={},r=""){let n=j();if(!n)return null;let{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:d,quantity:u,wcsOsi:m,extraOptions:f}=n.collectCheckoutOptions(t),g=zr(e,{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:d,quantity:u,wcsOsi:m,extraOptions:f});return r&&(g.innerHTML=`${r}`),g}function Yr(e){return class extends e{constructor(){super(...arguments);p(this,"checkoutActionHandler");p(this,"masElement",new Lt(this))}attributeChangedCallback(n,i,o){this.masElement.attributeChangedCallback(n,i,o)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}get opens3in1Modal(){return Object.values($e).includes(this.getAttribute("data-modal-type"))&&!!this.href}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){let i=j();if(!i)return!1;this.dataset.imsCountry||i.imsCountryPromise.then(d=>{d&&(this.dataset.imsCountry=d)},xt),n.imsCountry=null;let o=i.collectCheckoutOptions(n,this);if(!o.wcsOsi.length)return!1;let a;try{a=JSON.parse(o.extraOptions??"{}")}catch(d){this.masElement.log?.error("cannot parse exta checkout options",d)}let s=this.masElement.togglePending(o);this.setCheckoutUrl("");let c=i.resolveOfferSelectors(o),l=await Promise.all(c);l=l.map(d=>Jt(d,o)),o.country=this.dataset.imsCountry||o.country;let h=await i.buildCheckoutAction?.(l.flat(),{...a,...o},this);return this.renderOffers(l.flat(),o,{},h,s)}add3in1ModalParams(n,i){try{let o=new URL(n);return o.searchParams.set("ctx","if"),i===$e.CRM?(o.searchParams.set("af","uc_segmentation_hide_tabs,uc_new_user_iframe,uc_new_system_close"),o.searchParams.set("cli","creative")):(o.searchParams.set("af","uc_new_user_iframe,uc_new_system_close"),o.searchParams.set("cli","mini_plans")),o.toString()}catch(o){this.masElement.log?.error("Failed to add 3-in-1 modal parameters",o)}}setModalType(n,i){try{let a=new URL(i).searchParams.get("modal");if([$e.TWP,$e.D2P,$e.CRM].includes(a))return n?.setAttribute("data-modal-type",a),a}catch(o){this.masElement.log?.error("Failed to set modal type",o)}}renderOffers(n,i,o={},a=void 0,s=void 0){let c=j();if(!c)return!1;i={...JSON.parse(this.dataset.extraOptions??"null"),...i,...o},s??(s=this.masElement.togglePending(i)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0);let h;if(a){this.classList.remove(_h,Ph),this.masElement.toggleResolved(s,n,i);let{url:d,text:u,className:m,handler:f}=a;if(d&&(this.setCheckoutUrl(d),h=this.setModalType(this,d)),u&&(this.firstElementChild.innerHTML=u),m&&this.classList.add(...m.split(" ")),f&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=f.bind(this)),!h)return!0}if(n.length){if(this.masElement.toggleResolved(s,n,i)){let d=c.buildCheckoutURL(n,i),u=a&&h?this.add3in1ModalParams(d,h):d;return this.setCheckoutUrl(u),!0}}else{let d=new Error(`Not provided: ${i?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,d,i))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let i=j();if(!i)return!1;let{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:d,promotionCode:u,quantity:m,wcsOsi:f}=i.collectCheckoutOptions(n);return Fr(this,{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:d,promotionCode:u,quantity:m,wcsOsi:f}),!0}}}var ir=class ir extends Yr(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return Kr(ir,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};p(ir,"is","checkout-link"),p(ir,"tag","a");var re=ir;window.customElements.get(re.is)||window.customElements.define(re.is,re,{extends:re.tag});var or=class or extends Yr(HTMLButtonElement){static createCheckoutButton(t={},r=""){return Kr(or,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};p(or,"is","checkout-button"),p(or,"tag","button");var qe=or;window.customElements.get(qe.is)||window.customElements.define(qe.is,qe,{extends:qe.tag});var Ch="p_draft_landscape",kh="/store/",Ih=new Map([["countrySpecific","cs"],["customerSegment","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"]]),eo=new Set(["af","ai","apc","appctxid","cli","co","cs","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"]),Nh=["env","workflowStep","clientId","country"],Cs=e=>Ih.get(e)??e;function to(e,t,r){for(let[n,i]of Object.entries(e)){let o=Cs(n);i!=null&&r.has(o)&&t.set(o,i)}}function Rh(e){switch(e){case Kn.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Oh(e,t){for(let r in e){let n=e[r];for(let[i,o]of Object.entries(n)){if(o==null)continue;let a=Cs(i);t.set(`items[${r}][${a}]`,o)}}}function ks(e){Mh(e);let{env:t,items:r,workflowStep:n,ms:i,marketSegment:o,ot:a,offerType:s,pa:c,productArrangementCode:l,landscape:h,...d}=e,u={marketSegment:o??i,offerType:s??a,productArrangementCode:l??c},m=new URL(Rh(t));return m.pathname=`${kh}${n}`,n!==Ve.SEGMENTATION&&n!==Ve.CHANGE_PLAN_TEAM_PLANS&&Oh(r,m.searchParams),n===Ve.SEGMENTATION&&to(u,m.searchParams,eo),to(d,m.searchParams,eo),h===ce.DRAFT&&to({af:Ch},m.searchParams,eo),m.toString()}function Mh(e){for(let t of Nh)if(!e[t])throw new Error('Argument "checkoutData" is not valid, missing: '+t);if(e.workflowStep!==Ve.SEGMENTATION&&e.workflowStep!==Ve.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function Is({providers:e,settings:t}){function r(o,a){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:l,country:h,language:d,promotionCode:u,quantity:m}=t,{checkoutMarketSegment:f,checkoutWorkflow:g=c,checkoutWorkflowStep:T=l,imsCountry:P,country:x=P??h,language:E=d,quantity:I=m,entitlement:O,upgrade:U,modal:$,perpetual:me,promotionCode:Q=u,wcsOsi:_t,extraOptions:Ze,...Pt}=Object.assign({},a?.dataset??{},o??{}),pe=Te(g,ee,w.checkoutWorkflow),fe=te.CHECKOUT;pe===ee.V3&&(fe=Te(T,te,w.checkoutWorkflowStep));let J=At({...Pt,extraOptions:Ze,checkoutClientId:s,checkoutMarketSegment:f,country:x,quantity:St(I,w.quantity),checkoutWorkflow:pe,checkoutWorkflowStep:fe,language:E,entitlement:S(O),upgrade:S(U),modal:S($),perpetual:S(me),promotionCode:Kt(Q).effectivePromoCode,wcsOsi:Br(_t)});if(a)for(let Ct of e.checkout)Ct(a,J);return J}function n(o,a){if(!Array.isArray(o)||!o.length||!a)return"";let{env:s,landscape:c}=t,{checkoutClientId:l,checkoutMarketSegment:h,checkoutWorkflow:d,checkoutWorkflowStep:u,country:m,promotionCode:f,quantity:g,...T}=r(a),P=window.frameElement?"if":"fp",x={checkoutPromoCode:f,clientId:l,context:P,country:m,env:s,items:[],marketSegment:h,workflowStep:u,landscape:c,...T};if(o.length===1){let[{offerId:E,offerType:I,productArrangementCode:O}]=o,{marketSegments:[U]}=o[0];Object.assign(x,{marketSegment:U,offerType:I,productArrangementCode:O}),x.items.push(g[0]===1?{id:E}:{id:E,quantity:g[0]})}else x.items.push(...o.map(({offerId:E},I)=>({id:E,quantity:g[I]??w.quantity})));return ks(x)}let{createCheckoutLink:i}=re;return{CheckoutLink:re,CheckoutWorkflow:ee,CheckoutWorkflowStep:te,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function Vh({interval:e=200,maxAttempts:t=25}={}){let r=W.module("ims");return new Promise(n=>{r.debug("Waing for IMS to be ready");let i=0;function o(){window.adobeIMS?.initialized?n():++i>t?(r.debug("Timeout"),n()):setTimeout(o,e)}o()})}function $h(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function Hh(e){let t=W.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 Ns({}){let e=Vh(),t=$h(e),r=Hh(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function Os(e,t){let{data:r}=t||await Promise.resolve().then(()=>Js(Rs(),1));if(Array.isArray(r)){let n=o=>r.find(a=>Pr(a.lang,o)),i=n(e.language)??n(w.language);if(i)return Object.freeze(i)}return{}}var Ms=["GB_en","AU_en","FR_fr","AT_de","BE_en","BE_fr","BE_nl","BG_bg","CH_de","CH_fr","CH_it","CZ_cs","DE_de","DK_da","EE_et","EG_ar","EG_en","ES_es","FI_fi","FR_fr","GR_el","GR_en","HU_hu","IE_en","IT_it","LU_de","LU_en","LU_fr","NL_nl","NO_nb","PL_pl","PT_pt","RO_ro","SE_sv","SI_sl","SK_sk","TR_tr","UA_uk","ID_en","ID_in","IN_en","IN_hi","JP_ja","MY_en","MY_ms","NZ_en","TH_en","TH_th"],Dh={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"]},ar=class ar extends HTMLSpanElement{constructor(){super();p(this,"masElement",new Lt(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=j();if(!n)return null;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return zr(ar,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m})}get isInlinePrice(){return!0}attributeChangedCallback(r,n,i){this.masElement.attributeChangedCallback(r,n,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.handleClick)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.handleClick)}handleClick(r){r.target!==this&&(r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})))}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(r=!1){return this.masElement.requestUpdate(r)}resolveDisplayTaxForGeoAndSegment(r,n,i,o){let a=`${r}_${n}`;if(Ms.includes(r)||Ms.includes(a))return!0;let s=Dh[`${i}_${o}`];return s?!!(s.includes(r)||s.includes(a)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),o=Jt(await i,n);if(o?.length){let{country:a,language:s}=n,c=o[0],[l=""]=c.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(a,s,c.customerSegment,l)}}async render(r={}){if(!this.isConnected)return!1;let n=j();if(!n)return!1;let i=n.collectPriceOptions(r,this);if(!i.wcsOsi.length)return!1;let o=this.masElement.togglePending(i);this.innerHTML="";let[a]=n.resolveOfferSelectors(i);return this.renderOffers(Jt(await a,i),i,o)}renderOffers(r,n={},i=void 0){if(!this.isConnected)return;let o=j();if(!o)return!1;let a=o.collectPriceOptions({...this.dataset,...n},this);if(i??(i=this.masElement.togglePending(a)),r.length){if(this.masElement.toggleResolved(i,r,a))return this.innerHTML=o.buildPriceHTML(r,a),!0}else{let s=new Error(`Not provided: ${a?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(i,s,a))return this.innerHTML="",!0}return!1}updateOptions(r){let n=j();if(!n)return!1;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}=n.collectPriceOptions(r);return Fr(this,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:d,template:u,wcsOsi:m}),!0}};p(ar,"is","inline-price"),p(ar,"tag","span");var ne=ar;window.customElements.get(ne.is)||window.customElements.define(ne.is,ne,{extends:ne.tag});function Vs({literals:e,providers:t,settings:r}){function n(a,s){let{country:c,displayOldPrice:l,displayPerUnit:h,displayRecurrence:d,displayTax:u,forceTaxExclusive:m,language:f,promotionCode:g,quantity:T}=r,{displayOldPrice:P=l,displayPerUnit:x=h,displayRecurrence:E=d,displayTax:I=u,forceTaxExclusive:O=m,country:U=c,language:$=f,perpetual:me,promotionCode:Q=g,quantity:_t=T,template:Ze,wcsOsi:Pt,...pe}=Object.assign({},s?.dataset??{},a??{}),fe=At({...pe,country:U,displayOldPrice:S(P),displayPerUnit:S(x),displayRecurrence:S(E),displayTax:S(I),forceTaxExclusive:S(O),language:$,perpetual:S(me),promotionCode:Kt(Q).effectivePromoCode,quantity:St(_t,w.quantity),template:Ze,wcsOsi:Br(Pt)});if(s)for(let J of t.price)J(s,fe);return fe}function i(a,s){if(!Array.isArray(a)||!a.length||!s)return"";let{template:c}=s,l;switch(c){case"discount":l=Bi;break;case"strikethrough":l=$i;break;case"optical":l=Vi;break;case"annual":l=Hi;break;default:s.country==="AU"&&a[0].planType==="ABM"?l=s.promotionCode?Di:Ui:l=s.promotionCode?Mi:Oi}let h=n(s);h.literals=Object.assign({},e.price,At(s.literals??{}));let[d]=a;return d={...d,...d.priceDetails},l(h,d)}let o=ne.createInlinePrice;return{InlinePrice:ne,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:o}}function $s({settings:e}){let t=W.module("wcs"),{env:r,wcsApiKey:n}=e,i=new Map,o=new Map,a;async function s(d,u,m=!0){let f=$n;t.debug("Fetching:",d);let g="",T,P=(x,E,I)=>`${x}: ${E?.status}, url: ${I.toString()}`;try{if(d.offerSelectorIds=d.offerSelectorIds.sort(),g=new URL(e.wcsURL),g.searchParams.set("offer_selector_ids",d.offerSelectorIds.join(",")),g.searchParams.set("country",d.country),g.searchParams.set("locale",d.locale),g.searchParams.set("landscape",r===Ke.STAGE?"ALL":e.landscape),g.searchParams.set("api_key",n),d.language&&g.searchParams.set("language",d.language),d.promotionCode&&g.searchParams.set("promotion_code",d.promotionCode),d.currency&&g.searchParams.set("currency",d.currency),T=await fetch(g.toString(),{credentials:"omit"}),T.ok){let x=await T.json();t.debug("Fetched:",d,x);let E=x.resolvedOffers??[];E=E.map(Ir),u.forEach(({resolve:I},O)=>{let U=E.filter(({offerSelectorIds:$})=>$.includes(O)).flat();U.length&&(u.delete(O),I(U))})}else T.status===404&&d.offerSelectorIds.length>1?(t.debug("Multi-osi 404, fallback to fetch-by-one strategy"),await Promise.allSettled(d.offerSelectorIds.map(x=>s({...d,offerSelectorIds:[x]},u,!1)))):f=Tr}catch(x){f=Tr,t.error(f,d,x)}m&&u.size&&(t.debug("Missing:",{offerSelectorIds:[...u.keys()]}),u.forEach(x=>{x.reject(new Error(P(f,T,g)))}))}function c(){clearTimeout(a);let d=[...o.values()];o.clear(),d.forEach(({options:u,promises:m})=>s(u,m))}function l(){let d=i.size;i.clear(),t.debug(`Flushed ${d} cache entries`)}function h({country:d,language:u,perpetual:m=!1,promotionCode:f="",wcsOsi:g=[]}){let T=`${u}_${d}`;d!=="GB"&&(u=m?"EN":"MULT");let P=[d,u,f].filter(x=>x).join("-").toLowerCase();return g.map(x=>{let E=`${x}-${P}`;if(!i.has(E)){let I=new Promise((O,U)=>{let $=o.get(P);if(!$){let me={country:d,locale:T,offerSelectorIds:[]};d!=="GB"&&(me.language=u),$={options:me,promises:new Map},o.set(P,$)}f&&($.options.promotionCode=f),$.options.offerSelectorIds.push(x),$.promises.set(x,{resolve:O,reject:U}),$.options.offerSelectorIds.length>=e.wcsBufferLimit?c():(t.debug("Queued:",$.options),a||(a=setTimeout(c,e.wcsBufferDelay)))});i.set(E,I)}return i.get(E)})}return{WcsCommitment:Gi,WcsPlanType:zi,WcsTerm:Fi,resolveOfferSelectors:h,flushWcsCache:l}}var ro="mas-commerce-service",Bh="mas:start",Gh="mas:ready",Wr,Hs,jr=class extends HTMLElement{constructor(){super(...arguments);G(this,Wr);p(this,"promise",null)}async registerCheckoutAction(r){typeof r=="function"&&(this.buildCheckoutAction=async(n,i,o)=>{let a=await r?.(n,i,this.imsSignedInPromise,o);return a||null})}async activate(){let r=L(this,Wr,Hs),n=Object.freeze(qi(r));wt(r.lana);let i=W.init(r.hostEnv).module("service");i.debug("Activating:",r);let o={price:{}};try{o.price=await Os(n,r.commerce.priceLiterals)}catch{}let a={checkout:new Set,price:new Set},s={literals:o,providers:a,settings:n};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...Is(s),...Ns(s),...Vs(s),...$s(s),...Yn,Log:W,get defaults(){return w},get log(){return W},get providers(){return{checkout(c){return a.checkout.add(c),()=>a.checkout.delete(c)},price(c){return a.price.add(c),()=>a.price.delete(c)}}},get settings(){return n}})),i.debug("Activated:",{literals:o,settings:n}),Ye(()=>{let c=new CustomEvent(at,{bubbles:!0,cancelable:!1,detail:this});performance.mark(Gh),this.dispatchEvent(c)})}connectedCallback(){this.readyPromise||(performance.mark(Bh),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")}};Wr=new WeakSet,Hs=function(){let r={hostEnv:{name:this.getAttribute("host-env")??"prod"},commerce:{env:this.getAttribute("env")},lana:{tags:this.getAttribute("lana-tags"),sampleRate:parseInt(this.getAttribute("lana-sample-rate"),10),isProdDomain:this.getAttribute("host-env")==="prod"}};return["locale","country","language"].forEach(n=>{let i=this.getAttribute(n);i&&(r[n]=i)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(n=>{let i=this.getAttribute(n);if(i!=null){let o=n.replace(/-([a-z])/g,a=>a[1].toUpperCase());r.commerce[o]=i}}),r},p(jr,"instance");window.customElements.get(ro)||window.customElements.define(ro,jr);wt({sampleRate:1});export{On as CLASS_NAME_FAILED,dc as CLASS_NAME_HIDDEN,Mn as CLASS_NAME_PENDING,Vn as CLASS_NAME_RESOLVED,qe as CheckoutButton,re as CheckoutLink,ee as CheckoutWorkflow,te as CheckoutWorkflowStep,w as Defaults,Tr as ERROR_MESSAGE_BAD_REQUEST,Ac as ERROR_MESSAGE_MISSING_LITERALS_URL,$n as ERROR_MESSAGE_OFFER_NOT_FOUND,Me as EVENT_AEM_ERROR,Oe as EVENT_AEM_LOAD,Rn as EVENT_MAS_ERROR,Nn as EVENT_MAS_READY,In as EVENT_MERCH_CARD_ACTION_MENU_TOGGLE,xc as EVENT_MERCH_CARD_COLLECTION_SHOWMORE,bc as EVENT_MERCH_CARD_COLLECTION_SORT,kn as EVENT_MERCH_CARD_READY,mc as EVENT_MERCH_OFFER_READY,Cn as EVENT_MERCH_OFFER_SELECT_READY,st as EVENT_MERCH_QUANTITY_SELECTOR_CHANGE,gc as EVENT_MERCH_SEARCH_CHANGE,vc as EVENT_MERCH_SIDENAV_SELECT,fc as EVENT_MERCH_STOCK_CHANGE,Sr as EVENT_MERCH_STORAGE_CHANGE,pc as EVENT_OFFER_SELECTED,Hn as EVENT_TYPE_FAILED,at as EVENT_TYPE_READY,Un as EVENT_TYPE_RESOLVED,ne as InlinePrice,Dn as LOG_NAMESPACE,ce as Landscape,W as Log,$e as MODAL_TYPE_3_IN_1,hc as NAMESPACE,yc as PARAM_AOS_API_KEY,Bn as PARAM_ENV,Gn as PARAM_LANDSCAPE,Ec as PARAM_WCS_API_KEY,Kn as PROVIDER_ENVIRONMENT,ae as STATE_FAILED,ye as STATE_PENDING,se as STATE_RESOLVED,ue as UptLink,zn as WCS_PROD_URL,Fn as WCS_STAGE_URL,Ve as WORKFLOW_STEP,Gi as WcsCommitment,zi as WcsPlanType,Fi as WcsTerm,Ir as applyPlanType,qi as getSettings}; + `}};customElements.define("merch-quantity-select",xo);var $h={[me]:qn,[Le]:Zn,[pe]:Qn},Vh={[me]:ti,[pe]:ri},Mt=class{constructor(t){p(this,"changes",new Map);p(this,"connected",!1);p(this,"dispose",yt);p(this,"error");p(this,"log");p(this,"options");p(this,"promises",[]);p(this,"state",Le);p(this,"timer",null);p(this,"value");p(this,"version",0);p(this,"wrapperElement");this.wrapperElement=t,this.log=K.module("mas-element")}update(){[me,Le,pe].forEach(t=>{this.wrapperElement.classList.toggle($h[t],t===this.state)})}notify(){(this.state===pe||this.state===me)&&(this.state===pe?this.promises.forEach(({resolve:r})=>r(this.wrapperElement)):this.state===me&&this.promises.forEach(({reject:r})=>r(this.error)),this.promises=[]);let t=this.error;this.error instanceof ge&&(t={message:this.error.message,...this.error.context}),this.wrapperElement.dispatchEvent(new CustomEvent(Vh[this.state],{bubbles:!0,detail:t}))}attributeChangedCallback(t,r,n){this.changes.set(t,n),this.requestUpdate()}connectedCallback(){this.dispose=Zr(()=>this.requestUpdate(!0))}disconnectedCallback(){this.connected&&(this.connected=!1,this.log?.debug("Disconnected:",{element:this.wrapperElement})),this.dispose(),this.dispose=yt}onceSettled(){let{error:t,promises:r,state:n}=this;return pe===n?Promise.resolve(this.wrapperElement):me===n?Promise.reject(t):new Promise((i,o)=>{r.push({resolve:i,reject:o})})}toggleResolved(t,r,n){return t!==this.version?!1:(n!==void 0&&(this.options=n),this.state=pe,this.value=r,this.update(),this.log?.debug("Resolved:",{element:this.wrapperElement,value:r}),Qe(()=>this.notify()),!0)}toggleFailed(t,r,n){if(t!==this.version)return!1;n!==void 0&&(this.options=n),this.error=r,this.state=me,this.update();let i=this.wrapperElement.getAttribute("is");return this.log?.error(`${i}: Failed to render: ${r.message}`,{element:this.wrapperElement,...r.context,...ne()}),Qe(()=>this.notify()),!0}togglePending(t){return this.version++,t&&(this.options=t),this.state=Le,this.update(),this.log?.debug("Pending:",{osi:this.wrapperElement?.options?.wcsOsi}),this.version}requestUpdate(t=!1){if(!this.wrapperElement.isConnected||!q()||this.timer)return;let{error:r,options:n,state:i,value:o,version:a}=this;this.state=Le,this.timer=Qe(async()=>{this.timer=null;let s=null;if(this.changes.size&&(s=Object.fromEntries(this.changes.entries()),this.changes.clear()),this.connected?this.log?.debug("Updated:",{element:this.wrapperElement,changes:s}):(this.connected=!0,this.log?.debug("Connected:",{element:this.wrapperElement,changes:s})),s||t)try{await this.wrapperElement.render?.()===!1&&this.state===Le&&this.version===a&&(this.state=i,this.error=r,this.value=o,this.update(),this.notify())}catch(c){this.toggleFailed(this.version,c,n)}})}};function Gs(e={}){return Object.entries(e).forEach(([t,r])=>{(r==null||r===""||r?.length===0)&&delete e[t]}),e}function on(e,t={}){let{tag:r,is:n}=e,i=document.createElement(r,{is:n});return i.setAttribute("is",n),Object.assign(i.dataset,Gs(t)),i}function an(e,t={}){return e instanceof HTMLElement?(Object.assign(e.dataset,Gs(t)),e):null}var Uh="download",Hh="upgrade";function sn(e,t={},r=""){let n=q();if(!n)return null;let{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:u,quantity:d,wcsOsi:m,extraOptions:f}=n.collectCheckoutOptions(t),b=on(e,{checkoutMarketSegment:i,checkoutWorkflow:o,checkoutWorkflowStep:a,entitlement:s,upgrade:c,modal:l,perpetual:h,promotionCode:u,quantity:d,wcsOsi:m,extraOptions:f});return r&&(b.innerHTML=`${r}`),b}function cn(e){return class extends e{constructor(){super(...arguments);p(this,"checkoutActionHandler");p(this,"masElement",new Mt(this))}attributeChangedCallback(n,i,o){this.masElement.attributeChangedCallback(n,i,o)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.clickHandler)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.clickHandler)}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}get opens3in1Modal(){return Object.values(ze).includes(this.getAttribute("data-modal-type"))&&!!this.href}requestUpdate(n=!1){return this.masElement.requestUpdate(n)}static get observedAttributes(){return["data-checkout-workflow","data-checkout-workflow-step","data-extra-options","data-ims-country","data-perpetual","data-promotion-code","data-quantity","data-template","data-wcs-osi","data-entitlement","data-upgrade","data-modal"]}async render(n={}){let i=q();if(!i)return!1;this.dataset.imsCountry||i.imsCountryPromise.then(u=>{u&&(this.dataset.imsCountry=u)},yt),n.imsCountry=null;let o=i.collectCheckoutOptions(n,this);if(!o.wcsOsi.length)return!1;let a;try{a=JSON.parse(o.extraOptions??"{}")}catch(u){this.masElement.log?.error("cannot parse exta checkout options",u)}let s=this.masElement.togglePending(o);this.setCheckoutUrl("");let c=i.resolveOfferSelectors(o),l=await Promise.all(c);l=l.map(u=>cr(u,o)),o.country=this.dataset.imsCountry||o.country;let h=await i.buildCheckoutAction?.(l.flat(),{...a,...o},this);return this.renderOffers(l.flat(),o,{},h,s)}add3in1ModalParams(n,i){try{let o=new URL(n);return o.searchParams.set("ctx","if"),i===ze.CRM?(o.searchParams.set("af","uc_segmentation_hide_tabs,uc_new_user_iframe,uc_new_system_close"),o.searchParams.set("cli","creative")):(o.searchParams.set("af","uc_new_user_iframe,uc_new_system_close"),o.searchParams.set("cli","mini_plans")),o.toString()}catch(o){this.masElement.log?.error("Failed to add 3-in-1 modal parameters",o)}}setModalType(n,i){try{let a=new URL(i).searchParams.get("modal");if([ze.TWP,ze.D2P,ze.CRM].includes(a))return n?.setAttribute("data-modal-type",a),a}catch(o){this.masElement.log?.error("Failed to set modal type",o)}}renderOffers(n,i,o={},a=void 0,s=void 0){let c=q();if(!c)return!1;i={...JSON.parse(this.dataset.extraOptions??"null"),...i,...o},s??(s=this.masElement.togglePending(i)),this.checkoutActionHandler&&(this.checkoutActionHandler=void 0);let h;if(a){this.classList.remove(Uh,Hh),this.masElement.toggleResolved(s,n,i);let{url:u,text:d,className:m,handler:f}=a;if(u&&(this.setCheckoutUrl(u),h=this.setModalType(this,u)),d&&(this.firstElementChild.innerHTML=d),m&&this.classList.add(...m.split(" ")),f&&(this.setCheckoutUrl("#"),this.checkoutActionHandler=f.bind(this)),!h)return!0}if(n.length){if(this.masElement.toggleResolved(s,n,i)){let u=c.buildCheckoutURL(n,i),d=a&&h?this.add3in1ModalParams(u,h):u;return this.setCheckoutUrl(d),!0}}else{let u=new Error(`Not provided: ${i?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(s,u,i))return this.setCheckoutUrl("#"),!0}}setCheckoutUrl(){}clickHandler(n){}updateOptions(n={}){let i=q();if(!i)return!1;let{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:u,promotionCode:d,quantity:m,wcsOsi:f}=i.collectCheckoutOptions(n);return an(this,{checkoutMarketSegment:o,checkoutWorkflow:a,checkoutWorkflowStep:s,entitlement:c,upgrade:l,modal:h,perpetual:u,promotionCode:d,quantity:m,wcsOsi:f}),!0}}}var fr=class fr extends cn(HTMLAnchorElement){static createCheckoutLink(t={},r=""){return sn(fr,t,r)}setCheckoutUrl(t){this.setAttribute("href",t)}get isCheckoutLink(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}}};p(fr,"is","checkout-link"),p(fr,"tag","a");var ce=fr;window.customElements.get(ce.is)||window.customElements.define(ce.is,ce,{extends:ce.tag});var gr=class gr extends cn(HTMLButtonElement){static createCheckoutButton(t={},r=""){return sn(gr,t,r)}setCheckoutUrl(t){this.setAttribute("data-href",t)}get href(){return this.getAttribute("data-href")}get isCheckoutButton(){return!0}clickHandler(t){if(this.checkoutActionHandler){this.checkoutActionHandler?.(t);return}this.href&&(window.location.href=this.href)}};p(gr,"is","checkout-button"),p(gr,"tag","button");var rt=gr;window.customElements.get(rt.is)||window.customElements.define(rt.is,rt,{extends:rt.tag});var Dh="p_draft_landscape",Gh="/store/",Bh=new Map([["countrySpecific","cs"],["customerSegment","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"]]),vo=new Set(["af","ai","apc","appctxid","cli","co","cs","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"]),zh=["env","workflowStep","clientId","country"],Bs=e=>Bh.get(e)??e;function Ao(e,t,r){for(let[n,i]of Object.entries(e)){let o=Bs(n);i!=null&&r.has(o)&&t.set(o,i)}}function Fh(e){switch(e){case li.PRODUCTION:return"https://commerce.adobe.com";default:return"https://commerce-stg.adobe.com"}}function Kh(e,t){for(let r in e){let n=e[r];for(let[i,o]of Object.entries(n)){if(o==null)continue;let a=Bs(i);t.set(`items[${r}][${a}]`,o)}}}function zs(e){Yh(e);let{env:t,items:r,workflowStep:n,ms:i,marketSegment:o,ot:a,offerType:s,pa:c,productArrangementCode:l,landscape:h,...u}=e,d={marketSegment:o??i,offerType:s??a,productArrangementCode:l??c},m=new URL(Fh(t));return m.pathname=`${Gh}${n}`,n!==Be.SEGMENTATION&&n!==Be.CHANGE_PLAN_TEAM_PLANS&&Kh(r,m.searchParams),n===Be.SEGMENTATION&&Ao(d,m.searchParams,vo),Ao(u,m.searchParams,vo),h===fe.DRAFT&&Ao({af:Dh},m.searchParams,vo),m.toString()}function Yh(e){for(let t of zh)if(!e[t])throw new Error('Argument "checkoutData" is not valid, missing: '+t);if(e.workflowStep!==Be.SEGMENTATION&&e.workflowStep!==Be.CHANGE_PLAN_TEAM_PLANS&&!e.items)throw new Error('Argument "checkoutData" is not valid, missing: items');return!0}function Fs({providers:e,settings:t}){function r(o,a){let{checkoutClientId:s,checkoutWorkflow:c,checkoutWorkflowStep:l,country:h,language:u,promotionCode:d,quantity:m}=t,{checkoutMarketSegment:f,checkoutWorkflow:b=c,checkoutWorkflowStep:A=l,imsCountry:_,country:E=_??h,language:T=u,quantity:P=m,entitlement:R,upgrade:U,modal:Z,perpetual:j,promotionCode:M=d,wcsOsi:X,extraOptions:ie,...Ee}=Object.assign({},a?.dataset??{},o??{}),oe=Pe(b,ae,C.checkoutWorkflow),ye=se.CHECKOUT;oe===ae.V3&&(ye=Pe(A,se,C.checkoutWorkflowStep));let re=Tt({...Ee,extraOptions:ie,checkoutClientId:s,checkoutMarketSegment:f,country:E,quantity:Lt(P,C.quantity),checkoutWorkflow:oe,checkoutWorkflowStep:ye,language:T,entitlement:w(R),upgrade:w(U),modal:w(Z),perpetual:w(j),promotionCode:er(M).effectivePromoCode,wcsOsi:Qr(X)});if(a)for(let Ot of e.checkout)Ot(a,re);return re}function n(o,a){if(!Array.isArray(o)||!o.length||!a)return"";let{env:s,landscape:c}=t,{checkoutClientId:l,checkoutMarketSegment:h,checkoutWorkflow:u,checkoutWorkflowStep:d,country:m,promotionCode:f,quantity:b,...A}=r(a),_=window.frameElement?"if":"fp",E={checkoutPromoCode:f,clientId:l,context:_,country:m,env:s,items:[],marketSegment:h,workflowStep:d,landscape:c,...A};if(o.length===1){let[{offerId:T,offerType:P,productArrangementCode:R}]=o,{marketSegments:[U]}=o[0];Object.assign(E,{marketSegment:U,offerType:P,productArrangementCode:R}),E.items.push(b[0]===1?{id:T}:{id:T,quantity:b[0]})}else E.items.push(...o.map(({offerId:T},P)=>({id:T,quantity:b[P]??C.quantity})));return zs(E)}let{createCheckoutLink:i}=ce;return{CheckoutLink:ce,CheckoutWorkflow:ae,CheckoutWorkflowStep:se,buildCheckoutURL:n,collectCheckoutOptions:r,createCheckoutLink:i}}function jh({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 o(){window.adobeIMS?.initialized?n():++i>t?(r.debug("Timeout"),n()):setTimeout(o,e)}o()})}function Xh(e){return e.then(()=>window.adobeIMS?.isSignedInUser()??!1)}function Wh(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 Ks({}){let e=jh(),t=Xh(e),r=Wh(t);return{imsReadyPromise:e,imsSignedInPromise:t,imsCountryPromise:r}}async function js(e,t){let{data:r}=t||await Promise.resolve().then(()=>pc(Ys(),1));if(Array.isArray(r)){let n=o=>r.find(a=>Ur(a.lang,o)),i=n(e.language)??n(C.language);if(i)return Object.freeze(i)}return{}}var Xs=["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"],Zh={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"]},br=class br extends HTMLSpanElement{constructor(){super();p(this,"masElement",new Mt(this));this.handleClick=this.handleClick.bind(this)}static get observedAttributes(){return["data-display-old-price","data-display-per-unit","data-display-recurrence","data-display-tax","data-perpetual","data-promotion-code","data-tax-exclusive","data-template","data-wcs-osi"]}static createInlinePrice(r){let n=q();if(!n)return null;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:d,wcsOsi:m}=n.collectPriceOptions(r);return on(br,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:d,wcsOsi:m})}get isInlinePrice(){return!0}attributeChangedCallback(r,n,i){this.masElement.attributeChangedCallback(r,n,i)}connectedCallback(){this.masElement.connectedCallback(),this.addEventListener("click",this.handleClick)}disconnectedCallback(){this.masElement.disconnectedCallback(),this.removeEventListener("click",this.handleClick)}handleClick(r){r.target!==this&&(r.stopImmediatePropagation(),this.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window})))}onceSettled(){return this.masElement.onceSettled()}get value(){return this.masElement.value}get options(){return this.masElement.options}requestUpdate(r=!1){return this.masElement.requestUpdate(r)}resolveDisplayTaxForGeoAndSegment(r,n,i,o){let a=`${r}_${n}`;if(Xs.includes(r)||Xs.includes(a))return!0;let s=Zh[`${i}_${o}`];return s?!!(s.includes(r)||s.includes(a)):!1}async resolveDisplayTax(r,n){let[i]=await r.resolveOfferSelectors(n),o=cr(await i,n);if(o?.length){let{country:a,language:s}=n,c=o[0],[l=""]=c.marketSegments;return this.resolveDisplayTaxForGeoAndSegment(a,s,c.customerSegment,l)}}async render(r={}){if(!this.isConnected)return!1;let n=q();if(!n)return!1;let i=n.collectPriceOptions(r,this);if(!i.wcsOsi.length)return!1;let o=this.masElement.togglePending(i);this.innerHTML="";let[a]=n.resolveOfferSelectors(i);return this.renderOffers(cr(await a,i),i,o)}renderOffers(r,n={},i=void 0){if(!this.isConnected)return;let o=q();if(!o)return!1;let a=o.collectPriceOptions({...this.dataset,...n},this);if(i??(i=this.masElement.togglePending(a)),r.length){if(this.masElement.toggleResolved(i,r,a))return this.innerHTML=o.buildPriceHTML(r,a),!0}else{let s=new Error(`Not provided: ${a?.wcsOsi??"-"}`);if(this.masElement.toggleFailed(i,s,a))return this.innerHTML="",!0}return!1}updateOptions(r){let n=q();if(!n)return!1;let{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:d,wcsOsi:m}=n.collectPriceOptions(r);return an(this,{displayOldPrice:i,displayPerUnit:o,displayRecurrence:a,displayTax:s,forceTaxExclusive:c,perpetual:l,promotionCode:h,quantity:u,template:d,wcsOsi:m}),!0}};p(br,"is","inline-price"),p(br,"tag","span");var le=br;window.customElements.get(le.is)||window.customElements.define(le.is,le,{extends:le.tag});function Ws({literals:e,providers:t,settings:r}){function n(a,s){let{country:c,displayOldPrice:l,displayPerUnit:h,displayRecurrence:u,displayTax:d,forceTaxExclusive:m,language:f,promotionCode:b,quantity:A}=r,{displayOldPrice:_=l,displayPerUnit:E=h,displayRecurrence:T=u,displayTax:P=d,forceTaxExclusive:R=m,country:U=c,language:Z=f,perpetual:j,promotionCode:M=b,quantity:X=A,template:ie,wcsOsi:Ee,...oe}=Object.assign({},s?.dataset??{},a??{}),ye=Tt({...oe,country:U,displayOldPrice:w(_),displayPerUnit:w(E),displayRecurrence:w(T),displayTax:w(P),forceTaxExclusive:w(R),language:Z,perpetual:w(j),promotionCode:er(M).effectivePromoCode,quantity:Lt(X,C.quantity),template:ie,wcsOsi:Qr(Ee)});if(s)for(let re of t.price)re(s,ye);return ye}function i(a,s){if(!Array.isArray(a)||!a.length||!s)return"";let{template:c}=s,l;switch(c){case"discount":l=ro;break;case"strikethrough":l=Qi;break;case"optical":l=Zi;break;case"annual":l=Ji;break;default:s.country==="AU"&&a[0].planType==="ABM"?l=s.promotionCode?to:eo:l=s.promotionCode?qi:Wi}let h=n(s);h.literals=Object.assign({},e.price,Tt(s.literals??{}));let[u]=a;return u={...u,...u.priceDetails},l(h,u)}let o=le.createInlinePrice;return{InlinePrice:le,buildPriceHTML:i,collectPriceOptions:n,createInlinePrice:o}}var Eo="wcs";function qs({settings:e}){let t=K.module(Eo),{env:r,wcsApiKey:n}=e,i=new Map,o=new Map,a,s=new Map;async function c(d,m,f=!0){let b=ei;t.debug("Fetching:",d);let A="",_;if(d.offerSelectorIds.length>1)throw new Error("Multiple OSIs are not supported anymore");let E=new Map(m),[T]=d.offerSelectorIds,P=Date.now()+Math.random().toString(36).substring(2,7),R=`${Eo}:${T}:${P}${Ce}`,U=`${Eo}:${T}:${P}${Qt}`,Z,j;try{if(performance.mark(R),A=new URL(e.wcsURL),A.searchParams.set("offer_selector_ids",T),A.searchParams.set("country",d.country),A.searchParams.set("locale",d.locale),A.searchParams.set("landscape",r===ke.STAGE?"ALL":e.landscape),A.searchParams.set("api_key",n),d.language&&A.searchParams.set("language",d.language),d.promotionCode&&A.searchParams.set("promotion_code",d.promotionCode),d.currency&&A.searchParams.set("currency",d.currency),_=await en(A.toString(),{credentials:"omit"}),_.ok){let M=[];try{let X=await _.json();t.debug("Fetched:",d,X),M=X.resolvedOffers??[]}catch(X){t.error(`Error parsing JSON: ${X.message}`,{...X.context,...ne()})}M=M.map(Gr),m.forEach(({resolve:X},ie)=>{let Ee=M.filter(({offerSelectorIds:oe})=>oe.includes(ie)).flat();Ee.length&&(E.delete(ie),m.delete(ie),X(Ee))})}else b=Jn}catch(M){b=`Network error: ${M.message}`}finally{({startTime:Z,duration:j}=performance.measure(U,R)),performance.clearMarks(R),performance.clearMeasures(U)}f&&m.size&&(t.debug("Missing:",{offerSelectorIds:[...m.keys()]}),m.forEach(M=>{M.reject(new ge(b,{...d,response:_,startTime:Z,duration:j,...ne()}))}))}function l(){clearTimeout(a);let d=[...o.values()];o.clear(),d.forEach(({options:m,promises:f})=>c(m,f))}function h(){let d=i.size;s=new Map(i),i.clear(),t.debug(`Moved ${d} cache entries to stale cache`)}function u({country:d,language:m,perpetual:f=!1,promotionCode:b="",wcsOsi:A=[]}){let _=`${m}_${d}`;d!=="GB"&&(m=f?"EN":"MULT");let E=[d,m,b].filter(T=>T).join("-").toLowerCase();return A.map(T=>{let P=`${T}-${E}`;if(i.has(P))return i.get(P);let R=new Promise((U,Z)=>{let j=o.get(E);if(!j){let M={country:d,locale:_,offerSelectorIds:[]};d!=="GB"&&(M.language=m),j={options:M,promises:new Map},o.set(E,j)}b&&(j.options.promotionCode=b),j.options.offerSelectorIds.push(T),j.promises.set(T,{resolve:U,reject:Z}),l()}).catch(U=>{if(s.has(P))return s.get(P);throw U});return i.set(P,R),R})}return{WcsCommitment:no,WcsPlanType:io,WcsTerm:oo,resolveOfferSelectors:u,flushWcsCacheInternal:h}}var yo="mas-commerce-service",Zs="mas:start",Qs="mas:ready",hn,Js,ln=class extends HTMLElement{constructor(){super(...arguments);V(this,hn);p(this,"readyPromise",null);p(this,"lastLoggingTime",0)}async registerCheckoutAction(r){typeof r=="function"&&(this.buildCheckoutAction=async(n,i,o)=>{let a=await r?.(n,i,this.imsSignedInPromise,o);return a||null})}async activate(r){let n=x(this,hn,Js),i=Object.freeze(co(n));_t(n.lana);let o=K.init(n.hostEnv).module("service");o.debug("Activating:",n);let a={price:{}};try{a.price=await js(i,n.commerce.priceLiterals)}catch{}let s={checkout:new Set,price:new Set},c={literals:a,providers:s,settings:i};Object.defineProperties(this,Object.getOwnPropertyDescriptors({...Fs(c),...Ks(c),...Ws(c),...qs(c),...hi,Log:K,get defaults(){return C},get log(){return K},get providers(){return{checkout(l){return s.checkout.add(l),()=>s.checkout.delete(l)},price(l){return s.price.add(l),()=>s.price.delete(l)}}},get settings(){return i}})),o.debug("Activated:",{literals:a,settings:i}),Qe(()=>{let l=new CustomEvent(dt,{bubbles:!0,cancelable:!1,detail:this});performance.mark(Qs),this.initDuration=performance.measure(Zt,Zs,Qs)?.duration,this.dispatchEvent(l),r(this)}),setTimeout(()=>{this.logFailedRequests()},1e4)}connectedCallback(){performance.mark(Zs),this.readyPromise=new Promise(r=>this.activate(r))}disconnectedCallback(){this.readyPromise=null}flushWcsCache(){this.flushWcsCacheInternal(),this.log.debug("Flushed WCS cache")}refreshOffers(){this.flushWcsCacheInternal(),document.querySelectorAll(qt).forEach(r=>r.requestUpdate(!0)),this.log.debug("Refreshed WCS offers"),this.logFailedRequests()}refreshFragments(){this.flushWcsCacheInternal(),document.querySelectorAll("aem-fragment").forEach(r=>r.refresh()),this.log.debug("Refreshed AEM fragments"),this.logFailedRequests()}logFailedRequests(){let r=[...performance.getEntriesByType("resource")].filter(({startTime:i})=>i>this.lastLoggingTime).filter(({transferSize:i,duration:o,responseStatus:a})=>i===0&&o===0&&a<200||a>=400),n=Array.from(new Map(r.map(i=>[i.name,i])).values());if(n.some(({name:i})=>/(\/fragments\/|web_commerce_artifact)/.test(i))){let i=n.map(({name:o})=>o);this.log.error("Failed requests:",{failedUrls:i,...ne()})}this.lastLoggingTime=performance.now().toFixed(3)}};hn=new WeakSet,Js=function(){let r=this.getAttribute("env")??"prod",n={hostEnv:{name:r},commerce:{env:r},lana:{tags:this.getAttribute("lana-tags"),sampleRate:parseInt(this.getAttribute("lana-sample-rate")??1,10),isProdDomain:r==="prod"},masIOUrl:this.getAttribute("mas-io-url")};return["locale","country","language"].forEach(i=>{let o=this.getAttribute(i);o&&(n[i]=o)}),["checkout-workflow-step","force-tax-exclusive","checkout-client-id","allow-override","wcs-api-key"].forEach(i=>{let o=this.getAttribute(i);if(o!=null){let a=i.replace(/-([a-z])/g,s=>s[1].toUpperCase());n.commerce[a]=o}}),n},p(ln,"instance");window.customElements.get(yo)||window.customElements.define(yo,ln);_t({sampleRate:1});export{qn as CLASS_NAME_FAILED,_c as CLASS_NAME_HIDDEN,Zn as CLASS_NAME_PENDING,Qn as CLASS_NAME_RESOLVED,rt as CheckoutButton,ce as CheckoutLink,ae as CheckoutWorkflow,se as CheckoutWorkflowStep,C as Defaults,Jn as ERROR_MESSAGE_BAD_REQUEST,Oc as ERROR_MESSAGE_MISSING_LITERALS_URL,ei as ERROR_MESSAGE_OFFER_NOT_FOUND,Ge as EVENT_AEM_ERROR,De as EVENT_AEM_LOAD,Wn as EVENT_MAS_ERROR,Xn as EVENT_MAS_READY,jn as EVENT_MERCH_CARD_ACTION_MENU_TOGGLE,Rc as EVENT_MERCH_CARD_COLLECTION_SHOWMORE,Nc as EVENT_MERCH_CARD_COLLECTION_SORT,Yn as EVENT_MERCH_CARD_READY,Cc as EVENT_MERCH_OFFER_READY,Kn as EVENT_MERCH_OFFER_SELECT_READY,ut as EVENT_MERCH_QUANTITY_SELECTOR_CHANGE,Ic as EVENT_MERCH_SEARCH_CHANGE,Mc as EVENT_MERCH_SIDENAV_SELECT,kc as EVENT_MERCH_STOCK_CHANGE,Mr as EVENT_MERCH_STORAGE_CHANGE,Pc as EVENT_OFFER_SELECTED,ti as EVENT_TYPE_FAILED,dt as EVENT_TYPE_READY,ri as EVENT_TYPE_RESOLVED,ci as HEADER_X_REQUEST_ID,le as InlinePrice,ni as LOG_NAMESPACE,fe as Landscape,K as Log,Qt as MARK_DURATION_SUFFIX,Ce as MARK_START_SUFFIX,Zt as MAS_COMMERCE_SERVICE_INIT_TIME_MEASURE_NAME,ze as MODAL_TYPE_3_IN_1,wc as NAMESPACE,$c as PARAM_AOS_API_KEY,ii as PARAM_ENV,oi as PARAM_LANDSCAPE,Vc as PARAM_WCS_API_KEY,li as PROVIDER_ENVIRONMENT,Wt as SELECTOR_MAS_CHECKOUT_LINK,qt as SELECTOR_MAS_ELEMENT,Rr as SELECTOR_MAS_INLINE_PRICE,Fn as SELECTOR_MAS_SP_BUTTON,me as STATE_FAILED,Le as STATE_PENDING,pe as STATE_RESOLVED,Ae as UptLink,ai as WCS_PROD_URL,si as WCS_STAGE_URL,Be as WORKFLOW_STEP,no as WcsCommitment,io as WcsPlanType,oo as WcsTerm,Gr as applyPlanType,co as getSettings}; /*! Bundled license information: @lit/reactive-element/css-tag.js: diff --git a/libs/deps/mas/merch-card-collection.js b/libs/deps/mas/merch-card-collection.js index 66a18ce1e5a..2e45359b921 100644 --- a/libs/deps/mas/merch-card-collection.js +++ b/libs/deps/mas/merch-card-collection.js @@ -1,4 +1,4 @@ -var O=Object.defineProperty;var y=(s,e,t)=>e in s?O(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var E=(s,e,t)=>(y(s,typeof e!="symbol"?e+"":e,t),t);import{html as c,LitElement as v}from"../lit-all.min.js";var T=class{constructor(e,t){this.key=Symbol("match-media-key"),this.matches=!1,this.host=e,this.host.addController(this),this.media=window.matchMedia(t),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),e.addController(this)}hostConnected(){var e;(e=this.media)==null||e.addEventListener("change",this.onChange)}hostDisconnected(){var e;(e=this.media)==null||e.removeEventListener("change",this.onChange)}onChange(e){this.matches!==e.matches&&(this.matches=e.matches,this.host.requestUpdate(this.key,!this.matches))}};var f="hashchange";function L(s=window.location.hash){let e=[],t=s.replace(/^#/,"").split("&");for(let o of t){let[n,i=""]=o.split("=");n&&e.push([n,decodeURIComponent(i.replace(/\+/g," "))])}return Object.fromEntries(e)}function d(s){let e=new URLSearchParams(window.location.hash.slice(1));Object.entries(s).forEach(([n,i])=>{i?e.set(n,i):e.delete(n)}),e.sort();let t=e.toString();if(t===window.location.hash)return;let o=window.scrollY||document.documentElement.scrollTop;window.location.hash=t,window.scrollTo(0,o)}function x(s){let e=()=>{if(window.location.hash&&!window.location.hash.includes("="))return;let t=L(window.location.hash);s(t)};return e(),window.addEventListener(f,e),()=>{window.removeEventListener(f,e)}}var A="merch-card-collection:sort",C="merch-card-collection:showmore",R="merch-sidenav:select";var S="(max-width: 1199px)",g="(min-width: 768px)",N="(min-width: 1200px)";import{css as D,unsafeCSS as w}from"../lit-all.min.js";var M=D` +var L=Object.defineProperty;var b=(s,e,t)=>e in s?L(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var E=(s,e,t)=>b(s,typeof e!="symbol"?e+"":e,t);import{html as c,LitElement as P}from"../lit-all.min.js";var _=class{constructor(e,t){this.key=Symbol("match-media-key"),this.matches=!1,this.host=e,this.host.addController(this),this.media=window.matchMedia(t),this.matches=this.media.matches,this.onChange=this.onChange.bind(this),e.addController(this)}hostConnected(){var e;(e=this.media)==null||e.addEventListener("change",this.onChange)}hostDisconnected(){var e;(e=this.media)==null||e.removeEventListener("change",this.onChange)}onChange(e){this.matches!==e.matches&&(this.matches=e.matches,this.host.requestUpdate(this.key,!this.matches))}};var f="hashchange";function y(s=window.location.hash){let e=[],t=s.replace(/^#/,"").split("&");for(let o of t){let[n,i=""]=o.split("=");n&&e.push([n,decodeURIComponent(i.replace(/\+/g," "))])}return Object.fromEntries(e)}function d(s){let e=new URLSearchParams(window.location.hash.slice(1));Object.entries(s).forEach(([n,i])=>{i?e.set(n,i):e.delete(n)}),e.sort();let t=e.toString();if(t===window.location.hash)return;let o=window.scrollY||document.documentElement.scrollTop;window.location.hash=t,window.scrollTo(0,o)}function x(s){let e=()=>{if(window.location.hash&&!window.location.hash.includes("="))return;let t=y(window.location.hash);s(t)};return e(),window.addEventListener(f,e),()=>{window.removeEventListener(f,e)}}var D='span[is="inline-price"][data-wcs-osi]',I='a[is="checkout-link"][data-wcs-osi],button[is="checkout-button"][data-wcs-osi]';var W=`${D},${I}`;var A="merch-card-collection:sort",S="merch-card-collection:showmore",C="merch-sidenav:select";var R="(max-width: 1199px)",N="(min-width: 768px)",g="(min-width: 1200px)";import{css as v,unsafeCSS as M}from"../lit-all.min.js";var w=v` #header, #resultText, #footer { @@ -65,7 +65,7 @@ var O=Object.defineProperty;var y=(s,e,t)=>e in s?O(s,e,{enumerable:!0,configura } /* tablets */ - @media screen and ${w(g)} { + @media screen and ${M(N)} { #header { grid-template-columns: 1fr fit-content(100%) fit-content(100%); } @@ -84,7 +84,7 @@ var O=Object.defineProperty;var y=(s,e,t)=>e in s?O(s,e,{enumerable:!0,configura } /* Laptop */ - @media screen and ${w(N)} { + @media screen and ${M(g)} { #resultText { grid-column: span 2; order: -3; @@ -96,9 +96,9 @@ var O=Object.defineProperty;var y=(s,e,t)=>e in s?O(s,e,{enumerable:!0,configura justify-content: end; } } -`;var u=(s,e)=>s.querySelector(`[slot="${e}"]`)?.textContent?.trim();var P="merch-card-collection",a={alphabetical:"alphabetical",authored:"authored"},I={filters:["noResultText","resultText","resultsText"],mobile:["noSearchResultsMobileText","searchResultMobileText","searchResultsMobileText"],desktop:["noSearchResultsText","searchResultText","searchResultsText"]},b=(s,e={})=>{s.querySelectorAll("span[data-placeholder]").forEach(t=>{let{placeholder:o}=t.dataset;t.innerText=e[o]??""})},H=(s,{filter:e})=>s.filter(t=>t.filters.hasOwnProperty(e)),V=(s,{types:e})=>e?(e=e.split(","),s.filter(t=>e.some(o=>t.types.includes(o)))):s,B=s=>s.sort((e,t)=>(e.title??"").localeCompare(t.title??"","en",{sensitivity:"base"})),k=(s,{filter:e})=>s.sort((t,o)=>o.filters[e]?.order==null||isNaN(o.filters[e]?.order)?-1:t.filters[e]?.order==null||isNaN(t.filters[e]?.order)?1:t.filters[e].order-o.filters[e].order),U=(s,{search:e})=>e?.length?(e=e.toLowerCase(),s.filter(t=>(t.title??"").toLowerCase().includes(e))):s,h=class extends v{constructor(){super();E(this,"mobileAndTablet",new T(this,S));this.filter="all",this.hasMore=!1,this.resultCount=void 0,this.displayResult=!1}render(){return c`${this.header} +`;var m=(s,e)=>s.querySelector(`[slot="${e}"]`)?.textContent?.trim();var H="merch-card-collection",a={alphabetical:"alphabetical",authored:"authored"},V={filters:["noResultText","resultText","resultsText"],mobile:["noSearchResultsMobileText","searchResultMobileText","searchResultsMobileText"],desktop:["noSearchResultsText","searchResultText","searchResultsText"]},O=(s,e={})=>{s.querySelectorAll("span[data-placeholder]").forEach(t=>{let{placeholder:o}=t.dataset;t.innerText=e[o]??""})},B=(s,{filter:e})=>s.filter(t=>t.filters.hasOwnProperty(e)),U=(s,{types:e})=>e?(e=e.split(","),s.filter(t=>e.some(o=>t.types.includes(o)))):s,k=s=>s.sort((e,t)=>(e.title??"").localeCompare(t.title??"","en",{sensitivity:"base"})),F=(s,{filter:e})=>s.sort((t,o)=>o.filters[e]?.order==null||isNaN(o.filters[e]?.order)?-1:t.filters[e]?.order==null||isNaN(t.filters[e]?.order)?1:t.filters[e].order-o.filters[e].order),$=(s,{search:e})=>e?.length?(e=e.toLowerCase(),s.filter(t=>(t.title??"").toLowerCase().includes(e))):s,h=class extends P{constructor(){super();E(this,"mobileAndTablet",new _(this,R));this.filter="all",this.hasMore=!1,this.resultCount=void 0,this.displayResult=!1}render(){return c`${this.header} - ${this.footer}`}updated(t){if(!this.querySelector("merch-card"))return;let o=window.scrollY||document.documentElement.scrollTop,n=[...this.children].filter(r=>r.tagName==="MERCH-CARD");if(n.length===0)return;t.has("singleApp")&&this.singleApp&&n.forEach(r=>{r.updateFilters(r.name===this.singleApp)});let i=this.sort===a.alphabetical?B:k,l=[H,V,U,i].reduce((r,p)=>p(r,this),n).map((r,p)=>[r,p]);if(this.resultCount=l.length,this.page&&this.limit){let r=this.page*this.limit;this.hasMore=l.length>r,l=l.filter(([,p])=>p{m.has(r)?(r.size=r.filters[this.filter]?.size,r.style.removeProperty("display"),r.requestUpdate()):(r.style.display="none",r.size=void 0)}),window.scrollTo(0,o),this.updateComplete.then(()=>{let r=this.shadowRoot.getElementById("resultText")?.firstElementChild?.assignedElements?.()?.[0];r&&(this.sidenav?.filters?.addEventListener(R,()=>{b(r,{resultCount:this.resultCount,searchTerm:this.search,filter:this.sidenav?.filters.selectedText})}),b(r,{resultCount:this.resultCount,searchTerm:this.search,filter:this.sidenav?.filters.selectedText}))})}connectedCallback(){super.connectedCallback(),this.filtered?(this.filter=this.filtered,this.page=1):this.startDeeplink(),this.sidenav=document.querySelector("merch-sidenav")}disconnectedCallback(){super.disconnectedCallback(),this.stopDeeplink?.()}get header(){if(!this.filtered)return c`