{
  "version": 3,
  "sources": ["/cdn/shop/t/21/assets/early-access-list.js?ea=subscribed"],
  "sourcesContent": ["const EARLY_ACCESS_COUNTRIES = [\n  ['AF', 'Afghanistan', '93'],\n  ['AL', 'Albania', '355'],\n  ['DZ', 'Algeria', '213'],\n  ['AS', 'American Samoa', '1684'],\n  ['AD', 'Andorra', '376'],\n  ['AO', 'Angola', '244'],\n  ['AI', 'Anguilla', '1264'],\n  ['AG', 'Antigua and Barbuda', '1268'],\n  ['AR', 'Argentina', '54'],\n  ['AM', 'Armenia', '374'],\n  ['AW', 'Aruba', '297'],\n  ['AU', 'Australia', '61'],\n  ['AT', 'Austria', '43'],\n  ['AZ', 'Azerbaijan', '994'],\n  ['BS', 'Bahamas', '1242'],\n  ['BH', 'Bahrain', '973'],\n  ['BD', 'Bangladesh', '880'],\n  ['BB', 'Barbados', '1246'],\n  ['BY', 'Belarus', '375'],\n  ['BE', 'Belgium', '32'],\n  ['BZ', 'Belize', '501'],\n  ['BJ', 'Benin', '229'],\n  ['BM', 'Bermuda', '1441'],\n  ['BT', 'Bhutan', '975'],\n  ['BO', 'Bolivia', '591'],\n  ['BA', 'Bosnia and Herzegovina', '387'],\n  ['BW', 'Botswana', '267'],\n  ['BR', 'Brazil', '55'],\n  ['IO', 'British Indian Ocean Territory', '246'],\n  ['VG', 'British Virgin Islands', '1284'],\n  ['BN', 'Brunei', '673'],\n  ['BG', 'Bulgaria', '359'],\n  ['BF', 'Burkina Faso', '226'],\n  ['BI', 'Burundi', '257'],\n  ['KH', 'Cambodia', '855'],\n  ['CM', 'Cameroon', '237'],\n  ['CA', 'Canada', '1'],\n  ['CV', 'Cape Verde', '238'],\n  ['KY', 'Cayman Islands', '1345'],\n  ['CF', 'Central African Republic', '236'],\n  ['TD', 'Chad', '235'],\n  ['CL', 'Chile', '56'],\n  ['CN', 'China', '86'],\n  ['CX', 'Christmas Island', '61'],\n  ['CC', 'Cocos Islands', '61'],\n  ['CO', 'Colombia', '57'],\n  ['KM', 'Comoros', '269'],\n  ['CG', 'Congo', '242'],\n  ['CD', 'Congo (DRC)', '243'],\n  ['CK', 'Cook Islands', '682'],\n  ['CR', 'Costa Rica', '506'],\n  ['CI', \"C\u00F4te d'Ivoire\", '225'],\n  ['HR', 'Croatia', '385'],\n  ['CU', 'Cuba', '53'],\n  ['CW', 'Cura\u00E7ao', '599'],\n  ['CY', 'Cyprus', '357'],\n  ['CZ', 'Czechia', '420'],\n  ['DK', 'Denmark', '45'],\n  ['DJ', 'Djibouti', '253'],\n  ['DM', 'Dominica', '1767'],\n  ['DO', 'Dominican Republic', '1809'],\n  ['EC', 'Ecuador', '593'],\n  ['EG', 'Egypt', '20'],\n  ['SV', 'El Salvador', '503'],\n  ['GQ', 'Equatorial Guinea', '240'],\n  ['ER', 'Eritrea', '291'],\n  ['EE', 'Estonia', '372'],\n  ['SZ', 'Eswatini', '268'],\n  ['ET', 'Ethiopia', '251'],\n  ['FK', 'Falkland Islands', '500'],\n  ['FO', 'Faroe Islands', '298'],\n  ['FJ', 'Fiji', '679'],\n  ['FI', 'Finland', '358'],\n  ['FR', 'France', '33'],\n  ['GF', 'French Guiana', '594'],\n  ['PF', 'French Polynesia', '689'],\n  ['GA', 'Gabon', '241'],\n  ['GM', 'Gambia', '220'],\n  ['GE', 'Georgia', '995'],\n  ['DE', 'Germany', '49'],\n  ['GH', 'Ghana', '233'],\n  ['GI', 'Gibraltar', '350'],\n  ['GR', 'Greece', '30'],\n  ['GL', 'Greenland', '299'],\n  ['GD', 'Grenada', '1473'],\n  ['GP', 'Guadeloupe', '590'],\n  ['GU', 'Guam', '1671'],\n  ['GT', 'Guatemala', '502'],\n  ['GG', 'Guernsey', '44'],\n  ['GN', 'Guinea', '224'],\n  ['GW', 'Guinea-Bissau', '245'],\n  ['GY', 'Guyana', '592'],\n  ['HT', 'Haiti', '509'],\n  ['HN', 'Honduras', '504'],\n  ['HK', 'Hong Kong', '852'],\n  ['HU', 'Hungary', '36'],\n  ['IS', 'Iceland', '354'],\n  ['IN', 'India', '91'],\n  ['ID', 'Indonesia', '62'],\n  ['IR', 'Iran', '98'],\n  ['IQ', 'Iraq', '964'],\n  ['IE', 'Ireland', '353'],\n  ['IM', 'Isle of Man', '44'],\n  ['IL', 'Israel', '972'],\n  ['IT', 'Italy', '39'],\n  ['JM', 'Jamaica', '1876'],\n  ['JP', 'Japan', '81'],\n  ['JE', 'Jersey', '44'],\n  ['JO', 'Jordan', '962'],\n  ['KZ', 'Kazakhstan', '7'],\n  ['KE', 'Kenya', '254'],\n  ['KI', 'Kiribati', '686'],\n  ['XK', 'Kosovo', '383'],\n  ['KW', 'Kuwait', '965'],\n  ['KG', 'Kyrgyzstan', '996'],\n  ['LA', 'Laos', '856'],\n  ['LV', 'Latvia', '371'],\n  ['LB', 'Lebanon', '961'],\n  ['LS', 'Lesotho', '266'],\n  ['LR', 'Liberia', '231'],\n  ['LY', 'Libya', '218'],\n  ['LI', 'Liechtenstein', '423'],\n  ['LT', 'Lithuania', '370'],\n  ['LU', 'Luxembourg', '352'],\n  ['MO', 'Macao', '853'],\n  ['MG', 'Madagascar', '261'],\n  ['MW', 'Malawi', '265'],\n  ['MY', 'Malaysia', '60'],\n  ['MV', 'Maldives', '960'],\n  ['ML', 'Mali', '223'],\n  ['MT', 'Malta', '356'],\n  ['MH', 'Marshall Islands', '692'],\n  ['MQ', 'Martinique', '596'],\n  ['MR', 'Mauritania', '222'],\n  ['MU', 'Mauritius', '230'],\n  ['YT', 'Mayotte', '262'],\n  ['MX', 'Mexico', '52'],\n  ['FM', 'Micronesia', '691'],\n  ['MD', 'Moldova', '373'],\n  ['MC', 'Monaco', '377'],\n  ['MN', 'Mongolia', '976'],\n  ['ME', 'Montenegro', '382'],\n  ['MS', 'Montserrat', '1664'],\n  ['MA', 'Morocco', '212'],\n  ['MZ', 'Mozambique', '258'],\n  ['MM', 'Myanmar', '95'],\n  ['NA', 'Namibia', '264'],\n  ['NR', 'Nauru', '674'],\n  ['NP', 'Nepal', '977'],\n  ['NL', 'Netherlands', '31'],\n  ['NC', 'New Caledonia', '687'],\n  ['NZ', 'New Zealand', '64'],\n  ['NI', 'Nicaragua', '505'],\n  ['NE', 'Niger', '227'],\n  ['NG', 'Nigeria', '234'],\n  ['NU', 'Niue', '683'],\n  ['NF', 'Norfolk Island', '672'],\n  ['KP', 'North Korea', '850'],\n  ['MK', 'North Macedonia', '389'],\n  ['MP', 'Northern Mariana Islands', '1670'],\n  ['NO', 'Norway', '47'],\n  ['OM', 'Oman', '968'],\n  ['PK', 'Pakistan', '92'],\n  ['PW', 'Palau', '680'],\n  ['PS', 'Palestine', '970'],\n  ['PA', 'Panama', '507'],\n  ['PG', 'Papua New Guinea', '675'],\n  ['PY', 'Paraguay', '595'],\n  ['PE', 'Peru', '51'],\n  ['PH', 'Philippines', '63'],\n  ['PL', 'Poland', '48'],\n  ['PT', 'Portugal', '351'],\n  ['PR', 'Puerto Rico', '1787'],\n  ['QA', 'Qatar', '974'],\n  ['RE', 'R\u00E9union', '262'],\n  ['RO', 'Romania', '40'],\n  ['RU', 'Russia', '7'],\n  ['RW', 'Rwanda', '250'],\n  ['BL', 'Saint Barth\u00E9lemy', '590'],\n  ['SH', 'Saint Helena', '290'],\n  ['KN', 'Saint Kitts and Nevis', '1869'],\n  ['LC', 'Saint Lucia', '1758'],\n  ['MF', 'Saint Martin', '590'],\n  ['PM', 'Saint Pierre and Miquelon', '508'],\n  ['VC', 'Saint Vincent and the Grenadines', '1784'],\n  ['WS', 'Samoa', '685'],\n  ['SM', 'San Marino', '378'],\n  ['ST', 'S\u00E3o Tom\u00E9 and Pr\u00EDncipe', '239'],\n  ['SA', 'Saudi Arabia', '966'],\n  ['SN', 'Senegal', '221'],\n  ['RS', 'Serbia', '381'],\n  ['SC', 'Seychelles', '248'],\n  ['SL', 'Sierra Leone', '232'],\n  ['SG', 'Singapore', '65'],\n  ['SX', 'Sint Maarten', '1721'],\n  ['SK', 'Slovakia', '421'],\n  ['SI', 'Slovenia', '386'],\n  ['SB', 'Solomon Islands', '677'],\n  ['SO', 'Somalia', '252'],\n  ['ZA', 'South Africa', '27'],\n  ['KR', 'South Korea', '82'],\n  ['SS', 'South Sudan', '211'],\n  ['ES', 'Spain', '34'],\n  ['LK', 'Sri Lanka', '94'],\n  ['SD', 'Sudan', '249'],\n  ['SR', 'Suriname', '597'],\n  ['SJ', 'Svalbard and Jan Mayen', '47'],\n  ['SE', 'Sweden', '46'],\n  ['CH', 'Switzerland', '41'],\n  ['SY', 'Syria', '963'],\n  ['TW', 'Taiwan', '886'],\n  ['TJ', 'Tajikistan', '992'],\n  ['TZ', 'Tanzania', '255'],\n  ['TH', 'Thailand', '66'],\n  ['TL', 'Timor-Leste', '670'],\n  ['TG', 'Togo', '228'],\n  ['TK', 'Tokelau', '690'],\n  ['TO', 'Tonga', '676'],\n  ['TT', 'Trinidad and Tobago', '1868'],\n  ['TN', 'Tunisia', '216'],\n  ['TR', 'Turkey', '90'],\n  ['TM', 'Turkmenistan', '993'],\n  ['TC', 'Turks and Caicos Islands', '1649'],\n  ['TV', 'Tuvalu', '688'],\n  ['UG', 'Uganda', '256'],\n  ['UA', 'Ukraine', '380'],\n  ['AE', 'United Arab Emirates', '971'],\n  ['GB', 'United Kingdom', '44'],\n  ['US', 'United States', '1'],\n  ['UY', 'Uruguay', '598'],\n  ['UZ', 'Uzbekistan', '998'],\n  ['VU', 'Vanuatu', '678'],\n  ['VA', 'Vatican City', '39'],\n  ['VE', 'Venezuela', '58'],\n  ['VN', 'Vietnam', '84'],\n  ['VI', 'U.S. Virgin Islands', '1340'],\n  ['WF', 'Wallis and Futuna', '681'],\n  ['EH', 'Western Sahara', '212'],\n  ['YE', 'Yemen', '967'],\n  ['ZM', 'Zambia', '260'],\n  ['ZW', 'Zimbabwe', '263'],\n];\n\nconst DIAL_CODES_LONGEST_FIRST = [...new Set(EARLY_ACCESS_COUNTRIES.map(([, , code]) => code))].sort(\n  (a, b) => b.length - a.length\n);\n\nconst PROXY_BASE = '/apps/early-access';\nconst SUBSCRIBED_MAX_AGE = 400 * 24 * 60 * 60;\nconst SUBSCRIBED_EVENT = 'early-access:subscribed';\n\nfunction subscribedStorageKey(listCode) {\n  return `ea_subscribed:${listCode}`;\n}\n\nfunction membershipStorageKey(listCode) {\n  return `ea_membership:${listCode}`;\n}\n\nfunction readStoredMembership(listCode) {\n  if (!listCode) return '';\n  try {\n    const value = window.localStorage.getItem(membershipStorageKey(listCode));\n    if (value === 'notification' || value === 'early_access') return value;\n  } catch {\n    // Storage can be blocked.\n  }\n  return '';\n}\n\nfunction subscribedCookieName(listCode) {\n  return `ea_sub_${String(listCode).replace(/[^a-zA-Z0-9_-]/g, '')}`;\n}\n\nfunction readCookie(name) {\n  const prefix = `${name}=`;\n  const match = document.cookie.split('; ').find((part) => part.startsWith(prefix));\n  return match ? decodeURIComponent(match.slice(prefix.length)) : '';\n}\n\nfunction writeSubscribedCookie(listCode) {\n  const name = subscribedCookieName(listCode);\n  if (!name || name === 'ea_sub_') return;\n  const secure = window.location.protocol === 'https:' ? '; Secure' : '';\n  document.cookie = `${name}=1; Path=/; Max-Age=${SUBSCRIBED_MAX_AGE}; SameSite=Lax${secure}`;\n}\n\nfunction hasListSubscribed(listCode) {\n  if (!listCode) return false;\n  try {\n    if (window.localStorage.getItem(subscribedStorageKey(listCode)) === '1') return true;\n  } catch {\n    // Storage can be blocked; cookie is the fallback.\n  }\n  return readCookie(subscribedCookieName(listCode)) === '1';\n}\n\nfunction persistListSubscribed(listCode) {\n  if (!listCode) return;\n  try {\n    window.localStorage.setItem(subscribedStorageKey(listCode), '1');\n  } catch {\n    // Cookie still records the functional preference.\n  }\n  try {\n    writeSubscribedCookie(listCode);\n  } catch {\n    // localStorage still records the functional preference.\n  }\n}\n\nclass EarlyAccessList extends HTMLElement {\n  connectedCallback() {\n    if (this.initialized) return;\n    this.initialized = true;\n\n    this.cta = this.querySelector('[data-early-access-cta]');\n    this.ctaButton = this.querySelector('[data-early-access-cta-button]');\n    this.closedPanel = this.querySelector('[data-early-access-closed]');\n    this.subscribedHeading = this.querySelector('[data-early-access-subscribed]');\n    this.formWrap = this.querySelector('[data-early-access-form]');\n    this.dialog = this.querySelector('[data-early-access-dialog]');\n    this.dialogMode = this.dataset.openInDialog === 'true';\n    this.form = this.querySelector('form');\n    this.prefixButton = this.querySelector('[data-prefix-button]');\n    this.prefixDisplay = this.querySelector('[data-prefix-display]');\n    this.countryDropdown = this.querySelector('[data-country-dropdown]');\n    this.countryList = this.querySelector('[data-country-list]');\n    this.countrySearch = this.querySelector('[data-country-search]');\n    this.phoneInput = this.querySelector('[data-phone-input]');\n    this.combinedPhone = this.querySelector('[data-phone-combined]');\n    this.countryCodeInput = this.querySelector('[data-country-code]');\n    this.otpDigits = [...this.querySelectorAll('[data-otp-digit]')];\n    this.otpCombined = this.querySelector('[data-otp-combined]');\n    this.otpSubmit = this.querySelector('[data-otp-submit]');\n    this.detailsSubmit = this.querySelector('[data-details-submit]');\n    this.emailConfirmInput = this.querySelector('[data-email-confirm-input]');\n    this.emailConfirmSubmit = this.querySelector('[data-email-confirm-submit]');\n    this.productSubmit = this.querySelector('[data-product-submit]');\n    this.productBack = this.querySelector('[data-product-back]');\n    this.productGrid = this.querySelector('[data-product-grid]');\n    this.productHeading = this.querySelector('[data-product-heading]');\n    this.productLegend = this.querySelector('[data-product-legend]');\n    this.productError = this.querySelector('[data-product-error]');\n    this.selectedProductIdInput = this.querySelector('[data-selected-product-id]');\n    this.selectedProductHandleInput = this.querySelector('[data-selected-product-handle]');\n    this.selectedProductTitleInput = this.querySelector('[data-selected-product-title]');\n    this.selectedVariantIdInput = this.querySelector('[data-selected-variant-id]');\n    this.selectedVariantTitleInput = this.querySelector('[data-selected-variant-title]');\n    this.selectedProductOptionsInput = this.querySelector('[data-selected-product-options]');\n    this.selectedProductPayloadInput = this.querySelector('[data-selected-product-payload]');\n    this.otpError = this.querySelector('[data-otp-error]');\n    this.otpErrorText = this.querySelector('[data-otp-error-text]');\n    this.formError = this.querySelector('[data-form-error]');\n    this.formErrorText = this.querySelector('[data-form-error-text]');\n    this.otpValidated = false;\n    this.finalized = false;\n    this.isLoading = false;\n    this.currentStep = this.dataset.step || 'details';\n    this.productHeadingDefault = this.productHeading?.textContent?.trim() || '';\n    this.products = this.parseProducts();\n    this.hasProducts = this.products.length > 0;\n    this.enableProducts = this.dataset.enableProducts !== 'false';\n    this.enableDetails = this.dataset.enableDetails !== 'false';\n    this.enableEmailConfirm = this.dataset.enableEmailConfirm === 'true';\n    this.enableOtp = this.dataset.enableOtp !== 'false' && this.enableDetails;\n    this.productPosition = this.dataset.productPosition || 'before_details';\n    this.ensureSessionToken();\n    this.captureEarlyCopy();\n    this.resetProductSelectionState();\n    const defaultIso = (this.dataset.defaultIso || 'NL').toUpperCase();\n    const defaultMatch = EARLY_ACCESS_COUNTRIES.find(([iso]) => iso === defaultIso);\n    this.selectedIso = defaultMatch ? defaultMatch[0] : 'NL';\n    this.selectedCode = defaultMatch ? defaultMatch[2] : this.dataset.defaultCode || '31';\n\n    this.renderCountries();\n    this.setCountry(this.selectedIso, this.selectedCode, false);\n    this.bindEvents();\n    this.bindSubscribedSync();\n    this.observeProductGrid();\n    if (!this.isDesignMode()) this.scheduleThemeClose();\n    if (!this.isDesignMode() && this.isShut()) {\n      this.showShut();\n    } else if (!this.isDesignMode() && this.hasRememberedSubscription()) {\n      if (\n        readStoredMembership(this.dataset.listCode) === 'notification' ||\n        (this.dataset.closeActive === 'true' && this.dataset.closeMode === 'notification')\n      ) {\n        this.applyCopy('notification');\n      }\n      this.applySubscribedView();\n    } else {\n      if (!this.isDesignMode() && this.dataset.closeActive === 'true' && this.dataset.closeMode === 'notification') {\n        this.applyCopy('notification');\n      }\n      this.refreshListMode();\n    }\n    if (this.dialogMode && this.isDesignMode() && this.formWrap && this.formWrap.hidden === false) {\n      this.formStarted = true;\n      this.openDialog();\n    }\n    if (this.currentStep === 'products') this.startProductSelection();\n    if (this.currentStep === 'email_confirm') this.prefillEmailConfirm();\n    this.openFromHash();\n    window.addEventListener('hashchange', () => this.openFromHash());\n  }\n\n  bindEvents() {\n    this.ctaButton?.addEventListener('click', (event) => {\n      event.preventDefault();\n      this.showForm();\n    });\n    this.querySelectorAll('[data-early-access-dialog-close]').forEach((button) => {\n      button.addEventListener('click', (event) => {\n        event.preventDefault();\n        this.closeDialog();\n      });\n    });\n    this.dialog?.addEventListener('click', (event) => {\n      if (event.target === this.dialog) this.closeDialog();\n    });\n    document.addEventListener('click', (event) => {\n      const trigger = event.target.closest('[data-early-access-open], a[href*=\"#\"]');\n      if (!trigger || trigger === this.ctaButton || !this.matchesOpenTarget(trigger)) return;\n      if (event.metaKey || event.ctrlKey || event.shiftKey || event.altKey || event.button !== 0) return;\n      if (this.isShut()) {\n        event.preventDefault();\n        this.showShut();\n        return;\n      }\n      if (this.shouldScrollToSection()) {\n        event.preventDefault();\n        this.scrollToSection();\n        return;\n      }\n      event.preventDefault();\n      this.showForm();\n    });\n    this.prefixButton?.addEventListener('click', (event) => {\n      event.preventDefault();\n      if (this.isLoading) return;\n      this.toggleCountryList();\n    });\n    this.countryList?.addEventListener('click', (event) => {\n      const option = event.target.closest('[data-country-option]');\n      if (!option) return;\n      this.setCountry(option.dataset.iso, option.dataset.code, true);\n      this.closeCountryList();\n    });\n    this.countrySearch?.addEventListener('input', () => this.filterCountries());\n    this.countrySearch?.addEventListener('keydown', (event) => {\n      if (event.key !== 'Enter') return;\n      event.preventDefault();\n      const firstVisible = this.countryList?.querySelector('[data-country-option]:not([hidden])');\n      if (!firstVisible) return;\n      this.setCountry(firstVisible.dataset.iso, firstVisible.dataset.code, true);\n      this.closeCountryList();\n    });\n    this.phoneInput?.addEventListener('beforeinput', (event) => {\n      if (event.inputType?.startsWith('delete') || event.inputType === 'insertFromPaste') return;\n      if (event.data && /\\D/.test(event.data)) event.preventDefault();\n    });\n    this.phoneInput?.addEventListener('input', () => this.restrictPhoneToDigits());\n    this.phoneInput?.addEventListener('blur', () => this.stripEnteredPrefix());\n    this.phoneInput?.addEventListener('focusout', () => this.stripEnteredPrefix());\n    this.phoneInput?.addEventListener('change', () => this.stripEnteredPrefix());\n    this.querySelector('[data-early-access-step=\"details\"]')?.addEventListener('input', (event) => {\n      if (!(event.target instanceof HTMLInputElement)) return;\n      if (event.target === this.phoneInput) event.target.setCustomValidity('');\n      this.clearFieldError(event.target);\n    });\n    this.querySelector('[data-early-access-step=\"details\"]')?.addEventListener('change', (event) => {\n      if (event.target instanceof HTMLInputElement) this.clearFieldError(event.target);\n    });\n    this.form?.addEventListener(\n      'submit',\n      (event) => {\n        event.preventDefault();\n        event.stopImmediatePropagation();\n        this.onFormSubmit();\n      },\n      true\n    );\n    this.detailsSubmit?.addEventListener('click', (event) => {\n      event.preventDefault();\n      this.advanceFromDetails();\n    });\n    this.emailConfirmInput?.addEventListener('input', () => {\n      if (this.emailConfirmInput) this.clearFieldError(this.emailConfirmInput);\n    });\n    this.emailConfirmSubmit?.addEventListener('click', (event) => {\n      event.preventDefault();\n      this.advanceFromEmailConfirm();\n    });\n    this.otpDigits.forEach((input, index) => {\n      input.addEventListener('input', (event) => this.onOtpInput(event, index));\n      input.addEventListener('keydown', (event) => this.onOtpKeydown(event, index));\n      input.addEventListener('paste', (event) => this.onOtpPaste(event, index));\n      input.addEventListener('focus', () => input.select());\n    });\n    this.otpSubmit?.addEventListener('click', (event) => {\n      event.preventDefault();\n      this.validateOtp();\n    });\n    this.productGrid?.addEventListener('change', (event) => {\n      if (this.isRenderingProducts || this.isLoading) return;\n      const selected =\n        event.target instanceof HTMLInputElement && event.target.type === 'radio'\n          ? event.target\n          : this.selectedProductChoice();\n      if (!selected) return;\n      this.hideProductError();\n      this.advanceProductSelection(selected);\n    });\n    this.productBack?.addEventListener('click', (event) => {\n      event.preventDefault();\n      this.goBackProductSelection();\n    });\n    document.addEventListener('click', (event) => {\n      if (!this.contains(event.target)) this.closeCountryList();\n    });\n    this.addEventListener('keydown', (event) => {\n      if (event.key !== 'Escape') return;\n      if (this.prefixButton?.getAttribute('aria-expanded') === 'true') {\n        this.closeCountryList();\n        return;\n      }\n      if (this.dialogMode && this.dialog?.hasAttribute('open')) {\n        event.preventDefault();\n        this.closeDialog();\n      }\n    });\n  }\n\n  isDesignMode() {\n    return Boolean(window.Shopify?.designMode);\n  }\n\n  hasRememberedSubscription() {\n    return hasListSubscribed(this.dataset.listCode);\n  }\n\n  captureEarlyCopy() {\n    this.earlyButton = this.ctaButton?.textContent || '';\n    this.earlySubscribed = [...this.querySelectorAll('[data-early-access-subscribed]')].map((el) => el.textContent);\n    this.earlySuccess = {\n      headings: [...this.querySelectorAll('[data-success-heading]')].map((el) => el.textContent),\n      captions: [...this.querySelectorAll('[data-success-caption]')].map((el) => el.textContent),\n      bodies: [...this.querySelectorAll('[data-success-body]')].map((el) => el.innerHTML),\n    };\n  }\n\n  applyCopy(mode) {\n    const notification = mode === 'notification';\n    const button = notification ? this.dataset.notifyButton || this.earlyButton : this.earlyButton;\n    if (this.ctaButton && button) this.ctaButton.textContent = button;\n    const dialog = this.dialog?.querySelector('[role=\"dialog\"]');\n    if (dialog && button) dialog.setAttribute('aria-label', button);\n    const subscribed = notification ? this.dataset.notifySubscribed || '' : '';\n    this.querySelectorAll('[data-early-access-subscribed]').forEach((el, index) => {\n      const next = notification && subscribed ? subscribed : this.earlySubscribed?.[index];\n      if (next) el.textContent = next;\n    });\n    const heading = notification ? this.dataset.notifySuccessHeading || '' : '';\n    this.querySelectorAll('[data-success-heading]').forEach((el, index) => {\n      if (notification) {\n        el.textContent = heading;\n        el.hidden = !heading;\n      } else if (this.earlySuccess?.headings?.[index]) {\n        el.hidden = false;\n        el.textContent = this.earlySuccess.headings[index];\n      }\n    });\n    const caption = notification ? this.dataset.notifySuccessCaption || '' : '';\n    this.querySelectorAll('[data-success-caption]').forEach((el, index) => {\n      if (notification) {\n        el.textContent = caption;\n        el.hidden = !caption;\n      } else if (this.earlySuccess?.captions?.[index]) {\n        el.hidden = false;\n        el.textContent = this.earlySuccess.captions[index];\n      }\n    });\n    const template = this.querySelector('[data-notify-success-body]');\n    const notifyBody = template?.innerHTML?.trim() || '';\n    this.querySelectorAll('[data-success-body]').forEach((el, index) => {\n      if (notification) el.innerHTML = notifyBody;\n      else if (this.earlySuccess?.bodies?.[index]) el.innerHTML = this.earlySuccess.bodies[index];\n    });\n  }\n\n  isShut() {\n    return this.dataset.closeActive === 'true' && this.dataset.closeMode === 'shut';\n  }\n\n  showShut() {\n    this.dataset.closeActive = 'true';\n    this.dataset.closeMode = 'shut';\n    if (this.cta) this.cta.hidden = true;\n    if (this.formWrap) this.formWrap.hidden = true;\n    if (this.closedPanel) this.closedPanel.hidden = false;\n    if (this.dialog?.hasAttribute('open')) {\n      this.dialog.hidden = true;\n      this.dialog.removeAttribute('open');\n      document.body.classList.remove('overflow-hidden');\n      if (typeof removeTrapFocus === 'function') removeTrapFocus(this.dialogReturnFocus);\n    }\n  }\n\n  signupPresentation() {\n    if (this.isDesignMode()) return '';\n    if (this.isShut()) return 'shut';\n    if (this.dataset.closeActive === 'true' && this.dataset.closeMode === 'notification') return 'notification';\n    if (this.listClosed) return 'notification';\n    return '';\n  }\n\n  activateScheduledClose() {\n    if (this.dataset.closeActive === 'true') return;\n    this.dataset.closeActive = 'true';\n    if (this.dataset.closeMode === 'shut') this.showShut();\n    else this.applyCopy('notification');\n  }\n\n  scheduleThemeClose() {\n    if (this.isDesignMode()) return;\n    if (this.dataset.closeActive === 'true') {\n      if (this.isShut()) this.showShut();\n      else this.applyCopy('notification');\n      return;\n    }\n    if (this.dataset.scheduleEnabled !== 'true') return;\n    const at = Date.parse(this.dataset.closesAt || '');\n    if (!Number.isFinite(at)) return;\n    const delay = at - Date.now();\n    if (delay <= 0) {\n      this.activateScheduledClose();\n      return;\n    }\n    window.setTimeout(() => this.scheduleThemeClose(), Math.min(delay, 60 * 60 * 1000));\n  }\n\n  async refreshListMode() {\n    if (this.isDesignMode() || !this.submissionsEnabled() || !this.dataset.listCode) return;\n    if (this.isShut()) return;\n    try {\n      const result = await this.sendToApi('/status');\n      if (this.isShut()) return;\n      if (this.dataset.closeActive !== 'true') this.listClosed = Boolean(result.closed);\n    } catch {\n      return;\n    }\n    if (this.hasRememberedSubscription()) return;\n    if (this.listClosed || (this.dataset.closeActive === 'true' && this.dataset.closeMode === 'notification')) {\n      this.applyCopy('notification');\n    }\n  }\n\n  membershipFromResult(result) {\n    if (result?.membership === 'notification' || result?.membership === 'early_access') return result.membership;\n    if (this.dataset.closeActive === 'true' && this.dataset.closeMode === 'notification') return 'notification';\n    return this.listClosed ? 'notification' : 'early_access';\n  }\n\n  settleSuccess(result) {\n    const membership = this.membershipFromResult(result);\n    this.applyCopy(membership);\n    this.rememberSubscription(membership);\n    this.showStep('success');\n  }\n\n  rememberSubscription(membership) {\n    if (!this.submissionsEnabled()) return;\n    const listCode = this.dataset.listCode;\n    if (!listCode) return;\n    if (membership === 'notification' || membership === 'early_access') {\n      try {\n        window.localStorage.setItem(membershipStorageKey(listCode), membership);\n      } catch {\n        // The subscribed flag still records that this browser finished.\n      }\n    }\n    persistListSubscribed(listCode);\n    document.dispatchEvent(\n      new CustomEvent(SUBSCRIBED_EVENT, {\n        detail: { listCode },\n      })\n    );\n  }\n\n  applySubscribedView() {\n    if (this.ctaButton) this.ctaButton.hidden = true;\n    if (this.subscribedHeading) this.subscribedHeading.hidden = false;\n    if (this.cta) this.cta.hidden = false;\n    const dialogOpen = this.dialogMode && this.dialog?.hasAttribute('open');\n    if (this.formWrap && !dialogOpen) this.formWrap.hidden = true;\n    this.dataset.subscribed = 'true';\n  }\n\n  bindSubscribedSync() {\n    document.addEventListener(SUBSCRIBED_EVENT, (event) => {\n      if (event.detail?.listCode !== this.dataset.listCode) return;\n      if (this.isDesignMode()) return;\n      if (this.currentStep === 'success' || this.formWrap?.hidden === false) return;\n      this.applySubscribedView();\n    });\n  }\n\n  matchesOpenTarget(trigger) {\n    const target = (trigger.getAttribute('data-early-access-open') || '').trim();\n    if (this.hashTarget(target)) return true;\n    if (!(trigger instanceof HTMLAnchorElement) || !this.linkStaysOnPage(trigger)) return false;\n    return this.hashTarget(this.linkHash(trigger));\n  }\n\n  hashTarget(value) {\n    const hash = decodeURIComponent(String(value || '').replace(/^#/, '')).trim();\n    if (!hash) return false;\n    if (hash === this.dataset.listCode || hash === this.dataset.sectionId || hash === this.id) return true;\n    const root = this.closest('[data-early-access-anchor]') || this;\n    if (root.id === hash) return true;\n    try {\n      return Boolean(root.querySelector(`[id=\"${CSS.escape(hash)}\"]`));\n    } catch (error) {\n      return false;\n    }\n  }\n\n  linkHash(trigger) {\n    const raw = trigger.getAttribute('href') || '';\n    const index = raw.indexOf('#');\n    if (index === -1) return '';\n    try {\n      return decodeURIComponent(raw.slice(index + 1)).trim();\n    } catch (error) {\n      return raw.slice(index + 1).trim();\n    }\n  }\n\n  linkStaysOnPage(trigger) {\n    const raw = trigger.getAttribute('href') || '';\n    if (raw.startsWith('#')) return true;\n    try {\n      const url = new URL(trigger.href, window.location.href);\n      return url.origin === window.location.origin && url.pathname === window.location.pathname;\n    } catch (error) {\n      return false;\n    }\n  }\n\n  openFromHash() {\n    if (!this.hashTarget(window.location.hash)) return;\n    if (this.isShut()) {\n      this.showShut();\n      const anchor = this.closest('[data-early-access-anchor]') || this;\n      anchor.scrollIntoView({ behavior: 'smooth', block: 'start' });\n      return;\n    }\n    if (this.shouldScrollToSection()) {\n      this.scrollToSection();\n      return;\n    }\n    this.showForm();\n  }\n\n  shouldScrollToSection() {\n    return !this.dialogMode && !this.isDesignMode() && this.hasRememberedSubscription();\n  }\n\n  scrollToSection() {\n    this.applySubscribedView();\n    const anchor = this.closest('[data-early-access-anchor]') || this;\n    anchor.scrollIntoView({ behavior: 'smooth', block: 'start' });\n  }\n\n  openDialog() {\n    if (!this.dialog) return;\n    const alreadyOpen = this.dialog.hasAttribute('open');\n    this.dialog.hidden = false;\n    this.dialog.setAttribute('open', '');\n    document.body.classList.add('overflow-hidden');\n    if (alreadyOpen) return;\n    this.dialogReturnFocus = document.activeElement instanceof HTMLElement ? document.activeElement : null;\n    const panel = this.dialog.querySelector('[role=\"dialog\"]');\n    if (panel && typeof trapFocus === 'function') {\n      trapFocus(panel, panel.querySelector('input:not([type=\"hidden\"]), button'));\n    }\n  }\n\n  closeDialog() {\n    if (!this.dialog || !this.dialog.hasAttribute('open')) return;\n    const completed = this.currentStep === 'success' || this.dataset.subscribed === 'true';\n    this.dialog.hidden = true;\n    this.dialog.removeAttribute('open');\n    document.body.classList.remove('overflow-hidden');\n    const returnFocus = completed ? null : this.dialogReturnFocus;\n    if (typeof removeTrapFocus === 'function') removeTrapFocus(returnFocus);\n    if (completed) this.applySubscribedView();\n  }\n\n  async showForm() {\n    if (this.isShut()) {\n      this.showShut();\n      return;\n    }\n    if (this.dialogMode) {\n      await this.showFormInDialog();\n      return;\n    }\n    if (this.hasRememberedSubscription() && !this.isDesignMode()) {\n      this.scrollToSection();\n      return;\n    }\n    if (this.cta) this.cta.hidden = true;\n    if (this.formWrap) this.formWrap.hidden = false;\n    const next = this.stepAfterCta();\n    if (next === 'success') {\n      await this.finishOnSuccess();\n      return;\n    }\n    this.showStep(next);\n  }\n\n  async showFormInDialog() {\n    if (this.isShut()) {\n      this.showShut();\n      return;\n    }\n    if (this.hasRememberedSubscription() && !this.isDesignMode()) {\n      if (this.formWrap) this.formWrap.hidden = false;\n      this.hideFormError();\n      this.showStep('subscribed');\n      this.openDialog();\n      this.applySubscribedView();\n      return;\n    }\n    if (this.formWrap) this.formWrap.hidden = false;\n    this.openDialog();\n    if (this.formStarted) {\n      this.showStep(this.currentStep);\n      return;\n    }\n    const next = this.stepAfterCta();\n    this.formStarted = true;\n    if (next === 'success') {\n      await this.finishOnSuccess();\n      return;\n    }\n    this.showStep(next);\n  }\n\n  showStep(step) {\n    if (this.isShut()) {\n      this.showShut();\n      return;\n    }\n    const enteringProducts = step === 'products' && this.currentStep !== 'products';\n    this.currentStep = step;\n    this.dataset.step = step;\n    this.querySelectorAll('[data-early-access-step]').forEach((el) => {\n      el.hidden = el.dataset.earlyAccessStep !== step;\n    });\n    if (step === 'otp') {\n      this.closeCountryList();\n      this.otpDigits[0]?.focus();\n    }\n    if (step === 'details') {\n      this.querySelector('[data-early-access-step=\"details\"] input')?.focus();\n    }\n    if (step === 'email_confirm') {\n      this.prefillEmailConfirm();\n      requestAnimationFrame(() => {\n        if (this.currentStep !== 'email_confirm' || this.emailConfirmInput?.disabled) return;\n        this.emailConfirmInput.focus();\n        this.emailConfirmInput.select();\n      });\n    }\n    if (enteringProducts) this.startProductSelection();\n  }\n\n  genericErrorMessage() {\n    return this.dataset.i18nErrorGeneric || 'Something went wrong. Please try again.';\n  }\n\n  showFormError(message) {\n    if (this.formErrorText) this.formErrorText.textContent = message;\n    if (this.formError) this.formError.hidden = false;\n  }\n\n  hideFormError() {\n    if (this.formError) this.formError.hidden = true;\n  }\n\n  async sendToApi(path, extra = {}) {\n    if (!this.submissionsEnabled()) return { ok: true };\n    const listCode = this.dataset.listCode;\n    const sessionToken = this.ensureSessionToken();\n    if (!listCode || !sessionToken) throw new Error('missing');\n    const controller = new AbortController();\n    const timer = setTimeout(() => controller.abort(), 20000);\n    try {\n      const presentation = this.signupPresentation();\n      const response = await fetch(`${PROXY_BASE}${path}`, {\n        method: 'POST',\n        headers: { 'Content-Type': 'application/json' },\n        body: JSON.stringify({\n          list_code: listCode,\n          session_token: sessionToken,\n          ...extra,\n          ...(presentation ? { presentation } : {}),\n        }),\n        signal: controller.signal,\n      });\n      let data = {};\n      try {\n        data = await response.json();\n      } catch {\n        data = {};\n      }\n      if (!response.ok) throw new Error('request');\n      return data;\n    } finally {\n      clearTimeout(timer);\n    }\n  }\n\n  detailsPayload() {\n    const payload = this.collectDetails();\n    const product = this.collectProduct();\n    if (product) payload.product = product;\n    return payload;\n  }\n\n  async finishOnSuccess() {\n    if (this.isShut()) {\n      this.showShut();\n      return;\n    }\n    const payload = { require_otp: this.otpEnabled() };\n    if (this.detailsEnabled()) Object.assign(payload, this.detailsPayload());\n    const result = await this.sendToApi('/complete', payload);\n    if (result.mode === 'shut') {\n      this.showShut();\n      return;\n    }\n    if (result.duplicate || result.ok !== false) {\n      this.settleSuccess(result);\n      return;\n    }\n    throw new Error('complete');\n  }\n\n  async goToNext(next) {\n    if (this.isShut()) {\n      this.showShut();\n      return;\n    }\n    if (next === 'success') {\n      await this.finishOnSuccess();\n      return;\n    }\n    this.showStep(next);\n  }\n\n  productsEnabled() {\n    return this.enableProducts && this.hasProducts;\n  }\n\n  detailsEnabled() {\n    return this.enableDetails;\n  }\n\n  emailConfirmEnabled() {\n    return this.enableEmailConfirm && this.enableDetails;\n  }\n\n  otpEnabled() {\n    return this.enableOtp && this.enableDetails;\n  }\n\n  enabledSteps() {\n    const steps = [];\n    const products = this.productsEnabled();\n    const details = this.detailsEnabled();\n    const emailConfirm = this.emailConfirmEnabled();\n    const otp = this.otpEnabled();\n    const position = this.productPosition;\n\n    if (products && position === 'before_details') steps.push('products');\n    if (details) steps.push('details');\n    if (emailConfirm) steps.push('email_confirm');\n    if (products && position === 'after_details') steps.push('products');\n    if (otp) steps.push('otp');\n    if (products && position === 'after_otp') steps.push('products');\n    if (products && !steps.includes('products')) steps.push('products');\n    return steps;\n  }\n\n  nextStep(from) {\n    const steps = this.enabledSteps();\n    if (from === 'cta') return steps[0] || 'success';\n    const index = steps.indexOf(from);\n    if (index === -1) return steps[0] || 'success';\n    return steps[index + 1] || 'success';\n  }\n\n  stepAfterCta() {\n    return this.nextStep('cta');\n  }\n\n  stepAfterDetails() {\n    return this.nextStep('details');\n  }\n\n  stepAfterEmailConfirm() {\n    return this.nextStep('email_confirm');\n  }\n\n  stepAfterOtp() {\n    return this.nextStep('otp');\n  }\n\n  stepAfterProducts() {\n    return this.nextStep('products');\n  }\n\n  onFormSubmit() {\n    if (this.isLoading) return;\n    if (this.currentStep === 'otp') {\n      this.validateOtp();\n      return;\n    }\n    if (this.currentStep === 'products') {\n      this.advanceProductSelection();\n      return;\n    }\n    if (this.currentStep === 'email_confirm') {\n      this.advanceFromEmailConfirm();\n      return;\n    }\n    if (this.currentStep === 'success') return;\n    this.advanceFromDetails();\n  }\n\n  async advanceFromDetails() {\n    if (this.isLoading) return;\n    this.normalizePhoneNumber();\n    if (!this.validateDetailsFields()) return;\n    this.hideFormError();\n    const next = this.stepAfterDetails();\n    this.setLoading(true, this.detailsSubmit);\n    try {\n      const detailsPayload = this.detailsPayload();\n      const details = await this.sendToApi('/stage/details', detailsPayload);\n      if (details.mode === 'shut') {\n        this.showShut();\n        return;\n      }\n      if (details.duplicate) {\n        this.settleSuccess(details);\n        return;\n      }\n      if (next === 'otp') {\n        const otp = await this.sendToApi('/otp/request', detailsPayload);\n        if (otp.mode === 'shut') {\n          this.showShut();\n          return;\n        }\n        if (otp.duplicate) {\n          this.settleSuccess(otp);\n          return;\n        }\n      }\n      await this.goToNext(next);\n    } catch {\n      this.showFormError(this.genericErrorMessage());\n    } finally {\n      this.setLoading(false, this.detailsSubmit);\n    }\n  }\n\n  detailsEmailInput() {\n    return this.querySelector('[data-early-access-step=\"details\"] [name=\"email\"]');\n  }\n\n  prefillEmailConfirm() {\n    const source = this.detailsEmailInput();\n    if (!this.emailConfirmInput || !source) return;\n    this.emailConfirmInput.value = source.value.trim();\n    this.clearFieldError(this.emailConfirmInput);\n  }\n\n  async advanceFromEmailConfirm() {\n    if (this.isLoading) return;\n    const input = this.emailConfirmInput;\n    if (!input) return;\n    input.value = input.value.trim();\n    this.clearFieldError(input);\n    if (!input.checkValidity()) {\n      this.showFieldError(input, this.messageForValidity(input));\n      input.focus();\n      return;\n    }\n\n    const detailsEmail = this.detailsEmailInput();\n    const previous = detailsEmail?.value?.trim() || '';\n    const confirmed = input.value;\n    if (detailsEmail) detailsEmail.value = confirmed;\n\n    this.hideFormError();\n    const next = this.stepAfterEmailConfirm();\n    this.setLoading(true, this.emailConfirmSubmit);\n    try {\n      const detailsPayload = this.detailsPayload();\n      if (confirmed !== previous) {\n        const details = await this.sendToApi('/stage/details', detailsPayload);\n        if (details.mode === 'shut') {\n          this.showShut();\n          return;\n        }\n        if (details.duplicate) {\n          this.settleSuccess(details);\n          return;\n        }\n      }\n      if (next === 'otp') {\n        const otp = await this.sendToApi('/otp/request', detailsPayload);\n        if (otp.mode === 'shut') {\n          this.showShut();\n          return;\n        }\n        if (otp.duplicate) {\n          this.settleSuccess(otp);\n          return;\n        }\n      }\n      await this.goToNext(next);\n    } catch {\n      if (detailsEmail && confirmed !== previous) detailsEmail.value = previous;\n      this.showFormError(this.genericErrorMessage());\n    } finally {\n      this.setLoading(false, this.emailConfirmSubmit);\n    }\n  }\n\n  setFieldsDisabled(disabled) {\n    this.querySelectorAll('[data-early-access-step=\"details\"] input, [data-early-access-step=\"details\"] button').forEach(\n      (el) => {\n        el.disabled = disabled;\n      }\n    );\n    this.querySelectorAll(\n      '[data-early-access-step=\"email_confirm\"] input, [data-early-access-step=\"email_confirm\"] button'\n    ).forEach((el) => {\n      el.disabled = disabled;\n    });\n    this.querySelectorAll('[data-early-access-step=\"otp\"] input, [data-early-access-step=\"otp\"] button').forEach((el) => {\n      el.disabled = disabled;\n    });\n    this.querySelectorAll('[data-early-access-step=\"products\"] input, [data-early-access-step=\"products\"] button').forEach(\n      (el) => {\n        el.disabled = disabled;\n      }\n    );\n  }\n\n  setLoading(isLoading, button) {\n    this.isLoading = isLoading;\n    if (isLoading) this.closeCountryList();\n    if (button) {\n      button.disabled = isLoading;\n      button.classList.toggle('is-loading', isLoading);\n      button.setAttribute('aria-busy', isLoading ? 'true' : 'false');\n      button.querySelector('.loading__spinner')?.classList.toggle('hidden', !isLoading);\n    }\n    this.setFieldsDisabled(isLoading);\n  }\n\n  onOtpInput(event, index) {\n    if (this.isLoading) return;\n    const digit = String(event.target.value || '').replace(/\\D/g, '').slice(-1);\n    event.target.value = digit;\n    if (digit && index < this.otpDigits.length - 1) {\n      this.otpDigits[index + 1].focus();\n    }\n    this.syncOtp();\n    this.hideOtpError();\n    if (digit && this.otpDigits.every((input) => input.value)) {\n      this.validateOtp();\n    }\n  }\n\n  onOtpKeydown(event, index) {\n    if (this.isLoading) return;\n    if (event.key === 'Backspace' && !event.target.value && index > 0) {\n      event.preventDefault();\n      this.otpDigits[index - 1].value = '';\n      this.otpDigits[index - 1].focus();\n      this.syncOtp();\n    }\n    if (event.key === 'ArrowLeft' && index > 0) {\n      event.preventDefault();\n      this.otpDigits[index - 1].focus();\n    }\n    if (event.key === 'ArrowRight' && index < this.otpDigits.length - 1) {\n      event.preventDefault();\n      this.otpDigits[index + 1].focus();\n    }\n  }\n\n  onOtpPaste(event, index) {\n    if (this.isLoading) return;\n    event.preventDefault();\n    const digits = String(event.clipboardData?.getData('text') || '')\n      .replace(/\\D/g, '')\n      .slice(0, this.otpDigits.length);\n    if (!digits) return;\n    this.hideOtpError();\n    digits.split('').forEach((digit, offset) => {\n      const target = this.otpDigits[index + offset];\n      if (target) target.value = digit;\n    });\n    const filledTo = Math.min(index + digits.length, this.otpDigits.length) - 1;\n    this.otpDigits[Math.max(filledTo, 0)]?.focus();\n    this.syncOtp();\n    if (this.otpDigits.every((input) => input.value)) this.validateOtp();\n  }\n\n  syncOtp() {\n    if (this.otpCombined) {\n      this.otpCombined.value = this.otpDigits.map((input) => input.value).join('');\n    }\n  }\n\n  async validateOtp() {\n    if (this.isLoading) return;\n    this.syncOtp();\n    if (this.otpValidated) return;\n    if (!this.otpDigits.every((input) => /^\\d$/.test(input.value))) {\n      this.showOtpError(this.dataset.i18nErrorOtp || this.dataset.i18nOtpInvalid);\n      return;\n    }\n    this.hideOtpError();\n    this.hideFormError();\n    this.setLoading(true, this.otpSubmit);\n    try {\n      const result = await this.sendToApi('/otp/verify', { code: this.otpCombined?.value || '' });\n      if (result.mode === 'shut') {\n        this.showShut();\n        return;\n      }\n      if (result.duplicate) {\n        this.otpValidated = true;\n        this.settleSuccess(result);\n        return;\n      }\n      if (!result.valid) {\n        this.showOtpError(this.dataset.i18nErrorOtp || this.dataset.i18nOtpInvalid);\n        return;\n      }\n      this.otpValidated = true;\n      await this.goToNext(this.stepAfterOtp());\n    } catch {\n      this.showFormError(this.genericErrorMessage());\n    } finally {\n      this.setLoading(false, this.otpSubmit);\n    }\n  }\n\n  ensureSessionToken() {\n    const listCode = this.dataset.listCode;\n    if (!listCode) return '';\n    const key = `early-access-session:${listCode}`;\n    try {\n      let sessionToken = window.localStorage.getItem(key);\n      if (!sessionToken) {\n        sessionToken = crypto.randomUUID();\n        window.localStorage.setItem(key, sessionToken);\n      }\n      this.sessionToken = sessionToken;\n      return sessionToken;\n    } catch (error) {\n      this.sessionToken = this.sessionToken || crypto.randomUUID();\n      return this.sessionToken;\n    }\n  }\n\n  submissionsEnabled() {\n    return this.getAttribute('data-active') === 'true';\n  }\n\n  hideOtpError() {\n    if (this.otpError) this.otpError.hidden = true;\n    this.clearOtpFieldErrors();\n  }\n\n  showOtpError(message) {\n    if (this.otpErrorText && message) this.otpErrorText.textContent = message;\n    if (this.otpError) this.otpError.hidden = false;\n    this.querySelector('[data-otp-fields]')?.classList.add('is-invalid');\n    this.otpDigits.forEach((input) => {\n      input.closest('.field')?.classList.add('is-invalid');\n      input.setAttribute('aria-invalid', 'true');\n    });\n  }\n\n  clearOtpFieldErrors() {\n    this.querySelector('[data-otp-fields]')?.classList.remove('is-invalid');\n    this.otpDigits.forEach((input) => {\n      input.closest('.field')?.classList.remove('is-invalid');\n      input.removeAttribute('aria-invalid');\n    });\n  }\n\n  detailsFields() {\n    const step = this.querySelector('[data-early-access-step=\"details\"]');\n    if (!step) return [];\n    return [...step.querySelectorAll('input, select, textarea')].filter((el) => {\n      if (!(el instanceof HTMLInputElement || el instanceof HTMLSelectElement || el instanceof HTMLTextAreaElement)) {\n        return false;\n      }\n      return (\n        el.type !== 'hidden' &&\n        el.type !== 'button' &&\n        el.type !== 'submit' &&\n        el.type !== 'search' &&\n        !el.disabled &&\n        !el.matches('[data-country-search]')\n      );\n    });\n  }\n\n  fieldEl(input) {\n    if (input.matches('[data-disclaimer]')) return input.closest('.early-access-list__disclaimer');\n    return input.closest('.field');\n  }\n\n  fieldErrorEl(input) {\n    return this.fieldEl(input)?.querySelector('[data-field-error]') || null;\n  }\n\n  fieldLabelText(input) {\n    const label = this.fieldEl(input)?.querySelector('label');\n    return label?.textContent?.replace('*', '').trim() || input.getAttribute('placeholder') || '';\n  }\n\n  messageForValidity(input) {\n    if (input.matches('[data-disclaimer]') && input.validity.valueMissing) {\n      return this.dataset.i18nErrorDisclaimer || input.validationMessage;\n    }\n    if (input.validity.valueMissing) {\n      const template = this.dataset.i18nErrorBlank || 'Enter %s';\n      return template.replace('%s', this.fieldLabelText(input));\n    }\n    if (input.validity.typeMismatch || input.validity.patternMismatch) {\n      return this.dataset.i18nErrorEmail || input.validationMessage;\n    }\n    if (input.validity.customError && input === this.phoneInput) {\n      return this.dataset.i18nErrorPhone || input.validationMessage;\n    }\n    return input.validationMessage;\n  }\n\n  showFieldError(input, message) {\n    const wrap = this.fieldEl(input);\n    wrap?.classList.add('is-invalid');\n    input.setAttribute('aria-invalid', 'true');\n    const error = this.fieldErrorEl(input);\n    const text = error?.querySelector('[data-field-error-text]');\n    if (text) text.textContent = message;\n    if (error) {\n      error.hidden = false;\n      if (error.id) input.setAttribute('aria-describedby', error.id);\n    }\n  }\n\n  clearFieldError(input) {\n    const wrap = this.fieldEl(input);\n    wrap?.classList.remove('is-invalid');\n    input.removeAttribute('aria-invalid');\n    const error = this.fieldErrorEl(input);\n    if (error) error.hidden = true;\n    if (error?.id && input.getAttribute('aria-describedby') === error.id) {\n      input.removeAttribute('aria-describedby');\n    }\n  }\n\n  clearDetailsFieldErrors() {\n    this.detailsFields().forEach((input) => this.clearFieldError(input));\n  }\n\n  validateDetailsFields() {\n    this.clearDetailsFieldErrors();\n    this.applyPhoneValidity();\n    let firstInvalid = null;\n    this.detailsFields().forEach((input) => {\n      if (input.checkValidity()) return;\n      this.showFieldError(input, this.messageForValidity(input));\n      if (!firstInvalid) firstInvalid = input;\n    });\n    firstInvalid?.focus();\n    return !firstInvalid;\n  }\n\n  collectDetails() {\n    const value = (selector) => this.form?.querySelector(selector)?.value?.trim() || '';\n    const disclaimer = this.querySelector('[data-disclaimer]');\n    return {\n      first_name: value('[name=\"first_name\"]') || null,\n      last_name: value('[name=\"last_name\"]') || null,\n      email: value('[name=\"email\"]') || null,\n      phone: this.phoneInput?.value?.trim() || null,\n      country_iso: this.selectedIso || null,\n      country_code: this.selectedCode ? `+${this.selectedCode}` : null,\n      disclaimer_accepted: disclaimer ? Boolean(disclaimer.checked) : null,\n    };\n  }\n\n  collectProduct() {\n    const product = this.selectedProduct;\n    if (!product) return null;\n    const variant = this.findExactVariant(product);\n    const optionMap = {};\n    (product.options || []).forEach((option, index) => {\n      if (this.selectedOptions[index]) optionMap[option.name] = this.selectedOptions[index];\n    });\n    const selectionComplete = Boolean(\n      product.has_only_default_variant ||\n        !product.options?.length ||\n        this.selectedOptions.length === product.options.length\n    );\n    return {\n      product_id: product.id,\n      product_handle: product.handle,\n      product_title: product.title,\n      product_image: product.image_full || product.image,\n      product_price: product.price,\n      has_only_default_variant: product.has_only_default_variant,\n      options_available: product.options,\n      variants_available: product.variants,\n      selected_options: optionMap,\n      selected_options_partial: this.selectedOptions,\n      variant_id: variant?.id || null,\n      variant_title: variant?.title || null,\n      variant_image: variant?.image_full || variant?.image || null,\n      variant_price: variant?.price || null,\n      selection_complete: selectionComplete,\n    };\n  }\n\n  parseProducts() {\n    const script = this.querySelector('[data-early-access-products]');\n    try {\n      const parsed = JSON.parse(script?.textContent || '[]');\n      return Array.isArray(parsed) ? parsed : [];\n    } catch (error) {\n      return [];\n    }\n  }\n\n  resetProductSelectionState() {\n    this.selectedProduct = null;\n    this.selectedOptions = [];\n    this.productLevel = 'product';\n    this.skippedProductLevel = false;\n  }\n\n  startProductSelection() {\n    const allowDisabledPreview = Boolean(window.Shopify?.designMode);\n    if (!this.productsEnabled() && !allowDisabledPreview) {\n      this.showStep(this.stepAfterProducts());\n      return;\n    }\n    if (!this.hasProducts) {\n      this.showStep(this.stepAfterProducts());\n      return;\n    }\n    this.resetProductSelectionState();\n    this.hideProductError();\n    if (this.products.length === 1 && !this.products[0].has_only_default_variant && this.products[0].options?.length) {\n      this.skippedProductLevel = true;\n      this.selectedProduct = this.products[0];\n      this.renderOptionLevel(0);\n      return;\n    }\n    this.renderProductLevel();\n  }\n\n  stepBeforeProducts() {\n    if (this.productPosition === 'after_details') return 'details';\n    if (this.productPosition === 'after_otp') return 'otp';\n    return 'cta';\n  }\n\n  showCta() {\n    this.currentStep = 'cta';\n    this.dataset.step = 'cta';\n    if (this.formWrap) this.formWrap.hidden = true;\n    if (this.cta) this.cta.hidden = false;\n  }\n\n  canGoBackProductSelection() {\n    if (this.productLevel !== 'option') return false;\n    if (this.optionIndex > 0) return true;\n    return !this.skippedProductLevel;\n  }\n\n  updateProductBackVisibility() {\n    if (!this.productBack) return;\n    this.productBack.hidden = !this.canGoBackProductSelection();\n  }\n\n  goBackProductSelection() {\n    if (this.isLoading || !this.canGoBackProductSelection()) return;\n    this.hideProductError();\n\n    if (this.optionIndex > 0) {\n      this.selectedOptions.pop();\n      this.renderOptionLevel(this.optionIndex - 1);\n      return;\n    }\n\n    this.selectedProduct = null;\n    this.selectedOptions = [];\n    this.renderProductLevel();\n  }\n\n  renderProductLevel() {\n    this.productLevel = 'product';\n    this.updateProductBackVisibility();\n    this.setProductHeading(this.productHeadingDefault);\n    this.renderChoices(\n      this.products.map((product) => ({\n        label: product.title,\n        image: product.image,\n        productId: String(product.id),\n        price:\n          product.has_only_default_variant || !product.options?.length ? product.price || product.variants?.[0]?.price : '',\n      }))\n    );\n  }\n\n  renderOptionLevel(optionIndex) {\n    const product = this.selectedProduct;\n    const option = product?.options?.[optionIndex];\n    if (!product || !option) {\n      this.completeProductSelection();\n      return;\n    }\n    this.productLevel = 'option';\n    this.optionIndex = optionIndex;\n    this.updateProductBackVisibility();\n    this.setProductOptionHeading(option.name);\n    const isLastOption = optionIndex === product.options.length - 1;\n    const choices = option.values.map((value) => {\n      const variant = this.findVariantForOptions(product, [...this.selectedOptions, value]);\n      const image = variant?.image || this.imageForSelectedOptions(product) || product.image;\n      return {\n        label: value,\n        image,\n        productId: String(product.id),\n        optionValue: value,\n        price: isLastOption ? variant?.price || '' : '',\n      };\n    });\n    this.renderChoices(choices);\n  }\n\n  imageForSelectedOptions(product) {\n    const variant = this.findVariantForOptions(product, this.selectedOptions);\n    return variant?.image || product.image;\n  }\n\n  findVariantForOptions(product, selectedOptions) {\n    return (product.variants || []).find((variant) =>\n      selectedOptions.every((value, index) => String(variant.options?.[index] || '') === String(value))\n    );\n  }\n\n  findExactVariant(product) {\n    return (product.variants || []).find((variant) => {\n      const optionValues = variant.options || [];\n      if (product.has_only_default_variant || !product.options?.length) return true;\n      return (\n        optionValues.length === this.selectedOptions.length &&\n        this.selectedOptions.every((value, index) => String(optionValues[index] || '') === String(value))\n      );\n    }) || this.findVariantForOptions(product, this.selectedOptions);\n  }\n\n  setProductHeading(text) {\n    if (this.productHeading) {\n      this.productHeading.textContent = text;\n      this.productHeading.hidden = !text;\n    }\n    if (this.productLegend) this.productLegend.textContent = text;\n  }\n\n  setProductOptionHeading(optionName) {\n    const template = this.dataset.i18nProductOption || 'Choose %s';\n    const [prefix = '', suffix = ''] = template.split('%s');\n    const fullText = `${prefix}${optionName}${suffix}`;\n    if (this.productHeading) {\n      this.productHeading.replaceChildren();\n      if (prefix) this.productHeading.appendChild(document.createTextNode(prefix));\n      const italic = document.createElement('em');\n      italic.textContent = optionName;\n      this.productHeading.appendChild(italic);\n      if (suffix) this.productHeading.appendChild(document.createTextNode(suffix));\n      this.productHeading.hidden = !fullText.trim();\n    }\n    if (this.productLegend) this.productLegend.textContent = fullText;\n  }\n\n  renderChoices(choices) {\n    if (!this.productGrid) return;\n    this.isRenderingProducts = true;\n    this.productGrid.replaceChildren();\n    const radioName = `early-access-product-${this.form?.id || 'choice'}`;\n    choices.forEach((choice) => {\n      const label = document.createElement('label');\n      label.className = 'early-access-list__product-choice';\n\n      const thumb = document.createElement('span');\n      thumb.className = 'early-access-list__product-thumb';\n      if (choice.image) {\n        const image = document.createElement('img');\n        image.src = choice.image;\n        image.width = 100;\n        image.height = 100;\n        image.alt = choice.label;\n        thumb.appendChild(image);\n      }\n      label.appendChild(thumb);\n\n      const radio = document.createElement('input');\n      radio.type = 'radio';\n      radio.name = radioName;\n      radio.value = choice.optionValue || choice.productId;\n      radio.dataset.productId = choice.productId;\n      if (choice.optionValue) radio.dataset.optionValue = choice.optionValue;\n      label.appendChild(radio);\n\n      const name = document.createElement('span');\n      name.className = 'early-access-list__product-name';\n      name.textContent = choice.label;\n      label.appendChild(name);\n\n      if (choice.price) {\n        const price = document.createElement('span');\n        price.className = 'early-access-list__product-price';\n        price.textContent = choice.price;\n        label.appendChild(price);\n      }\n\n      this.productGrid.appendChild(label);\n    });\n    this.layoutProductGrid();\n    this.productGrid.querySelector('input')?.focus();\n    requestAnimationFrame(() => {\n      this.isRenderingProducts = false;\n    });\n  }\n\n  observeProductGrid() {\n    if (!this.productGrid || this.productGridObserver) return;\n    this.productGridObserver = new ResizeObserver(() => this.layoutProductGrid());\n    this.productGridObserver.observe(this.productGrid);\n  }\n\n  layoutProductGrid() {\n    if (!this.productGrid) return;\n    const items = this.productGrid.children.length;\n    if (!items) return;\n    this.productGrid.style.setProperty('--early-access-product-columns', String(items));\n  }\n\n  selectedProductChoice() {\n    return this.productGrid?.querySelector('input[type=\"radio\"]:checked') || null;\n  }\n\n  hideProductError() {\n    if (this.productError) this.productError.hidden = true;\n  }\n\n  showProductError() {\n    if (this.productError) this.productError.hidden = false;\n  }\n\n  advanceProductSelection(selected = this.selectedProductChoice()) {\n    if (this.isLoading || this.isRenderingProducts) return;\n    if (!selected) {\n      this.showProductError();\n      return;\n    }\n    this.hideProductError();\n\n    if (this.productLevel === 'product') {\n      this.selectedProduct = this.products.find((product) => String(product.id) === selected.dataset.productId);\n      this.selectedOptions = [];\n      if (\n        this.selectedProduct &&\n        !this.selectedProduct.has_only_default_variant &&\n        this.selectedProduct.options?.length\n      ) {\n        this.renderOptionLevel(0);\n        return;\n      }\n      this.completeProductSelection();\n      return;\n    }\n\n    this.selectedOptions.push(selected.dataset.optionValue || selected.value);\n    const nextIndex = this.optionIndex + 1;\n    if (this.selectedProduct?.options?.[nextIndex]) {\n      this.renderOptionLevel(nextIndex);\n      return;\n    }\n    this.completeProductSelection();\n  }\n\n  async completeProductSelection() {\n    const product = this.selectedProduct;\n    if (!product) return;\n    const variant = this.findExactVariant(product);\n    const optionMap = {};\n    (product.options || []).forEach((option, index) => {\n      if (this.selectedOptions[index]) optionMap[option.name] = this.selectedOptions[index];\n    });\n    const payload = {\n      product_id: product.id,\n      product_handle: product.handle,\n      product_title: product.title,\n      variant_id: variant?.id || null,\n      variant_title: variant?.title || product.title,\n      options: optionMap,\n    };\n    if (this.selectedProductIdInput) this.selectedProductIdInput.value = String(product.id);\n    if (this.selectedProductHandleInput) this.selectedProductHandleInput.value = product.handle || '';\n    if (this.selectedProductTitleInput) this.selectedProductTitleInput.value = product.title || '';\n    if (this.selectedVariantIdInput) this.selectedVariantIdInput.value = variant?.id ? String(variant.id) : '';\n    if (this.selectedVariantTitleInput) this.selectedVariantTitleInput.value = payload.variant_title;\n    if (this.selectedProductOptionsInput) this.selectedProductOptionsInput.value = JSON.stringify(optionMap);\n    if (this.selectedProductPayloadInput) this.selectedProductPayloadInput.value = JSON.stringify(payload);\n    const next = this.stepAfterProducts();\n    this.hideFormError();\n    this.setLoading(true, this.productSubmit);\n    try {\n      const staged = await this.sendToApi('/stage/products', { product: this.collectProduct() });\n      if (staged.mode === 'shut') {\n        this.showShut();\n        return;\n      }\n      await this.goToNext(next);\n    } catch {\n      this.showFormError(this.genericErrorMessage());\n    } finally {\n      this.setLoading(false, this.productSubmit);\n    }\n  }\n\n  renderCountries() {\n    if (!this.countryList) return;\n    this.countryList.innerHTML = EARLY_ACCESS_COUNTRIES.map(([iso, name, code]) => {\n      return `<li role=\"option\" class=\"early-access-list__country-option\" data-country-option data-iso=\"${iso}\" data-code=\"${code}\" aria-selected=\"false\">${name} (+${code})</li>`;\n    }).join('');\n  }\n\n  setCountry(iso, code, focusPhone) {\n    this.selectedIso = iso;\n    this.selectedCode = code;\n    if (this.prefixDisplay) this.prefixDisplay.textContent = `+${code}`;\n    if (this.countryCodeInput) this.countryCodeInput.value = `+${code}`;\n    this.countryList?.querySelectorAll('[data-country-option]').forEach((option) => {\n      option.setAttribute('aria-selected', option.dataset.iso === iso && option.dataset.code === code ? 'true' : 'false');\n    });\n    if (focusPhone) this.phoneInput?.focus();\n    this.syncCombinedPhone();\n  }\n\n  filterCountries() {\n    const query = (this.countrySearch?.value || '').trim().toLowerCase();\n    this.countryList?.querySelectorAll('[data-country-option]').forEach((option) => {\n      const haystack = `${option.textContent || ''} ${option.dataset.iso || ''}`.toLowerCase();\n      option.hidden = Boolean(query) && !haystack.includes(query);\n    });\n  }\n\n  resetCountryFilter() {\n    if (this.countrySearch) this.countrySearch.value = '';\n    this.countryList?.querySelectorAll('[data-country-option]').forEach((option) => {\n      option.hidden = false;\n    });\n  }\n\n  toggleCountryList() {\n    const isOpen = this.prefixButton?.getAttribute('aria-expanded') === 'true';\n    if (isOpen) {\n      this.closeCountryList();\n      return;\n    }\n    this.resetCountryFilter();\n    this.prefixButton?.setAttribute('aria-expanded', 'true');\n    if (this.countryDropdown) this.countryDropdown.hidden = false;\n    this.classList.add('is-country-list-open');\n    this.closest('.section')?.classList.add('early-access-list--dropdown-open');\n    requestAnimationFrame(() => this.countrySearch?.focus());\n  }\n\n  closeCountryList() {\n    this.prefixButton?.setAttribute('aria-expanded', 'false');\n    if (this.countryDropdown) this.countryDropdown.hidden = true;\n    this.classList.remove('is-country-list-open');\n    this.closest('.section')?.classList.remove('early-access-list--dropdown-open');\n    this.resetCountryFilter();\n  }\n\n  restrictPhoneToDigits() {\n    if (!this.phoneInput) return;\n    const digits = this.phoneInput.value.replace(/\\D/g, '');\n    if (this.phoneInput.value !== digits) this.phoneInput.value = digits;\n    this.syncCombinedPhone();\n  }\n\n  stripEnteredPrefix() {\n    this.normalizePhoneNumber();\n  }\n\n  normalizePhoneNumber() {\n    if (!this.phoneInput) return;\n    this.restrictPhoneToDigits();\n    const stripped = stripCountryPrefix(this.phoneInput.value, this.selectedCode);\n    if (stripped.detectedCode && stripped.detectedCode !== this.selectedCode) {\n      const match = EARLY_ACCESS_COUNTRIES.find(([, , code]) => code === stripped.detectedCode);\n      if (match) this.setCountry(match[0], match[2], false);\n    }\n    const countryCode = stripped.detectedCode || this.selectedCode;\n    this.phoneInput.value = stripTrunkPrefix(stripped.nationalNumber, countryCode);\n    this.syncCombinedPhone();\n  }\n\n  applyPhoneValidity() {\n    if (!this.phoneInput) return;\n    const national = this.phoneInput.value.replace(/\\D/g, '');\n    if (!national) {\n      this.phoneInput.setCustomValidity('');\n      return;\n    }\n    const message = this.dataset.i18nErrorPhone || 'Enter a valid phone number';\n    this.phoneInput.setCustomValidity(isValidE164(this.selectedCode, national) ? '' : message);\n  }\n\n  syncCombinedPhone() {\n    if (!this.combinedPhone || !this.phoneInput) return;\n    const digits = this.phoneInput.value.replace(/\\D/g, '');\n    this.combinedPhone.value = digits ? `+${this.selectedCode}${digits}` : '';\n  }\n}\n\nfunction stripCountryPrefix(value, selectedCode) {\n  let raw = String(value || '').trim();\n  if (!raw) return { nationalNumber: '', detectedCode: null };\n\n  raw = raw.replace(/[\\s().-]/g, '');\n\n  if (raw.startsWith('00')) raw = `+${raw.slice(2)}`;\n\n  let detectedCode = null;\n  let rest = raw;\n\n  if (rest.startsWith('+')) {\n    const withoutPlus = rest.slice(1);\n    const code = DIAL_CODES_LONGEST_FIRST.find((dial) => withoutPlus.startsWith(dial));\n    if (code) {\n      detectedCode = code;\n      rest = withoutPlus.slice(code.length);\n    } else {\n      rest = withoutPlus;\n    }\n  } else {\n    const code = DIAL_CODES_LONGEST_FIRST.find((dial) => rest.startsWith(dial));\n    if (code && (code === selectedCode || rest.startsWith(selectedCode))) {\n      detectedCode = code === selectedCode ? selectedCode : code;\n      rest = rest.slice(detectedCode.length);\n    }\n  }\n\n  return { nationalNumber: rest, detectedCode };\n}\n\nfunction stripTrunkPrefix(nationalNumber, countryCode) {\n  const digits = String(nationalNumber || '').replace(/\\D/g, '');\n  // Italy keeps a single trunk 0 in international format. Everywhere else it is dropped.\n  if (countryCode === '39') return digits.replace(/^0{2,}/, '0');\n  return digits.replace(/^0+/, '');\n}\n\nfunction isValidE164(countryCode, nationalNumber) {\n  if (!/^[1-9]\\d{0,2}$/.test(countryCode || '')) return false;\n  if (!/^\\d+$/.test(nationalNumber || '')) return false;\n  if (countryCode !== '39' && nationalNumber.startsWith('0')) return false;\n  const e164 = `${countryCode}${nationalNumber}`;\n  return /^[1-9]\\d{7,14}$/.test(e164);\n}\n\nif (!customElements.get('early-access-list')) {\n  customElements.define('early-access-list', EarlyAccessList);\n}\n"],
  "mappings": "AAAA,MAAM,uBAAyB,CAC7B,CAAC,KAAM,cAAe,IAAI,EAC1B,CAAC,KAAM,UAAW,KAAK,EACvB,CAAC,KAAM,UAAW,KAAK,EACvB,CAAC,KAAM,iBAAkB,MAAM,EAC/B,CAAC,KAAM,UAAW,KAAK,EACvB,CAAC,KAAM,SAAU,KAAK,EACtB,CAAC,KAAM,WAAY,MAAM,EACzB,CAAC,KAAM,sBAAuB,MAAM,EACpC,CAAC,KAAM,YAAa,IAAI,EACxB,CAAC,KAAM,UAAW,KAAK,EACvB,CAAC,KAAM,QAAS,KAAK,EACrB,CAAC,KAAM,YAAa,IAAI,EACxB,CAAC,KAAM,UAAW,IAAI,EACtB,CAAC,KAAM,aAAc,KAAK,EAC1B,CAAC,KAAM,UAAW,MAAM,EACxB,CAAC,KAAM,UAAW,KAAK,EACvB,CAAC,KAAM,aAAc,KAAK,EAC1B,CAAC,KAAM,WAAY,MAAM,EACzB,CAAC,KAAM,UAAW,KAAK,EACvB,CAAC,KAAM,UAAW,IAAI,EACtB,CAAC,KAAM,SAAU,KAAK,EACtB,CAAC,KAAM,QA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