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:///./node_modules/filter-obj/index.js","webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/index.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./node_modules/query-string/index.js","webpack:///./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack:///./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack:///./node_modules/react-i18next/dist/es/useTranslation.js","webpack:///./node_modules/react-i18next/dist/es/utils.js","webpack:///./assets/common/src/components/common/CookieCenter.tsx","webpack:///./assets/common/src/components/common/ErrorBox.tsx","webpack:///./assets/common/src/ui/button/Button.tsx","webpack:///./assets/common/src/ui/modal/ModalDialog.tsx","webpack:///./assets/common/src/utils/regions.ts","webpack:///./assets/common/src/utils/useBreakpoint.ts","webpack:///./assets/stone/src/components/newsletter/NewsletterErrorModal.tsx","webpack:///./assets/stone/src/components/newsletter/NewsletterForm.tsx","webpack:///./assets/stone/src/components/newsletter/Newsletter.tsx","webpack:///./assets/stone/src/components/countryselector/LanguageModal.tsx","webpack:///./assets/stone/src/components/footer/CorporateModal.tsx","webpack:///./assets/common/src/components/common/CookieCenterLink.tsx","webpack:///./assets/stone/src/components/footer/Footer.tsx","webpack:///./assets/stone/src/ui/button/Button.tsx","webpack:///./assets/stone/src/ui/button/SubmitButton.tsx","webpack:///./assets/stone/src/ui/icon/Icon.tsx","webpack:///./assets/stone/src/ui/logo/Logo.tsx","webpack:///./node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js"],"sourcesContent":["'use strict';\nmodule.exports = function (obj, predicate) {\n\tvar ret = {};\n\tvar keys = Object.keys(obj);\n\tvar isArr = Array.isArray(predicate);\n\n\tfor (var i = 0; i < keys.length; i++) {\n\t\tvar key = keys[i];\n\t\tvar val = obj[key];\n\n\t\tif (isArr ? predicate.indexOf(key) !== -1 : predicate(key, val, obj)) {\n\t\t\tret[key] = val;\n\t\t}\n\t}\n\n\treturn ret;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\nfunction emptyFunctionWithReset() {}\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function() {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n var err = new Error(\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\n 'Use PropTypes.checkPropTypes() to call them. ' +\n 'Read more at http://fb.me/use-check-prop-types'\n );\n err.name = 'Invariant Violation';\n throw err;\n };\n shim.isRequired = shim;\n function getShim() {\n return shim;\n };\n // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n var ReactPropTypes = {\n array: shim,\n bigint: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n\n ReactPropTypes.PropTypes = ReactPropTypes;\n\n return ReactPropTypes;\n};\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is');\n\n // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}\n","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n","'use strict';\nconst strictUriEncode = require('strict-uri-encode');\nconst decodeComponent = require('decode-uri-component');\nconst splitOnFirst = require('split-on-first');\nconst filterObject = require('filter-obj');\n\nconst isNullOrUndefined = value => value === null || value === undefined;\n\nconst encodeFragmentIdentifier = Symbol('encodeFragmentIdentifier');\n\nfunction encoderForArrayFormat(options) {\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tconst index = result.length;\n\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[', index, ']'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [\n\t\t\t\t\t...result,\n\t\t\t\t\t[encode(key, options), '[', encode(index, options), ']=', encode(value, options)].join('')\n\t\t\t\t];\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), '[]'].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '[]=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, [encode(key, options), ':list='].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), ':list=', encode(value, options)].join('')];\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\tcase 'bracket-separator': {\n\t\t\tconst keyValueSep = options.arrayFormat === 'bracket-separator' ?\n\t\t\t\t'[]=' :\n\t\t\t\t'=';\n\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\t// Translate null to an empty string so that it doesn't serialize as 'null'\n\t\t\t\tvalue = value === null ? '' : value;\n\n\t\t\t\tif (result.length === 0) {\n\t\t\t\t\treturn [[encode(key, options), keyValueSep, encode(value, options)].join('')];\n\t\t\t\t}\n\n\t\t\t\treturn [[result, encode(value, options)].join(options.arrayFormatSeparator)];\n\t\t\t};\n\t\t}\n\n\t\tdefault:\n\t\t\treturn key => (result, value) => {\n\t\t\t\tif (\n\t\t\t\t\tvalue === undefined ||\n\t\t\t\t\t(options.skipNull && value === null) ||\n\t\t\t\t\t(options.skipEmptyString && value === '')\n\t\t\t\t) {\n\t\t\t\t\treturn result;\n\t\t\t\t}\n\n\t\t\t\tif (value === null) {\n\t\t\t\t\treturn [...result, encode(key, options)];\n\t\t\t\t}\n\n\t\t\t\treturn [...result, [encode(key, options), '=', encode(value, options)].join('')];\n\t\t\t};\n\t}\n}\n\nfunction parserForArrayFormat(options) {\n\tlet result;\n\n\tswitch (options.arrayFormat) {\n\t\tcase 'index':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /\\[(\\d*)\\]$/.exec(key);\n\n\t\t\t\tkey = key.replace(/\\[\\d*\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = {};\n\t\t\t\t}\n\n\t\t\t\taccumulator[key][result[1]] = value;\n\t\t\t};\n\n\t\tcase 'bracket':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(\\[\\])$/.exec(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'colon-list-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tresult = /(:list)$/.exec(key);\n\t\t\t\tkey = key.replace(/:list$/, '');\n\n\t\t\t\tif (!result) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = [value];\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\n\t\tcase 'comma':\n\t\tcase 'separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = typeof value === 'string' && value.includes(options.arrayFormatSeparator);\n\t\t\t\tconst isEncodedArray = (typeof value === 'string' && !isArray && decode(value, options).includes(options.arrayFormatSeparator));\n\t\t\t\tvalue = isEncodedArray ? decode(value, options) : value;\n\t\t\t\tconst newValue = isArray || isEncodedArray ? value.split(options.arrayFormatSeparator).map(item => decode(item, options)) : value === null ? value : decode(value, options);\n\t\t\t\taccumulator[key] = newValue;\n\t\t\t};\n\n\t\tcase 'bracket-separator':\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tconst isArray = /(\\[\\])$/.test(key);\n\t\t\t\tkey = key.replace(/\\[\\]$/, '');\n\n\t\t\t\tif (!isArray) {\n\t\t\t\t\taccumulator[key] = value ? decode(value, options) : value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst arrayValue = value === null ?\n\t\t\t\t\t[] :\n\t\t\t\t\tvalue.split(options.arrayFormatSeparator).map(item => decode(item, options));\n\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = arrayValue;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], arrayValue);\n\t\t\t};\n\n\t\tdefault:\n\t\t\treturn (key, value, accumulator) => {\n\t\t\t\tif (accumulator[key] === undefined) {\n\t\t\t\t\taccumulator[key] = value;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\taccumulator[key] = [].concat(accumulator[key], value);\n\t\t\t};\n\t}\n}\n\nfunction validateArrayFormatSeparator(value) {\n\tif (typeof value !== 'string' || value.length !== 1) {\n\t\tthrow new TypeError('arrayFormatSeparator must be single character string');\n\t}\n}\n\nfunction encode(value, options) {\n\tif (options.encode) {\n\t\treturn options.strict ? strictUriEncode(value) : encodeURIComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction decode(value, options) {\n\tif (options.decode) {\n\t\treturn decodeComponent(value);\n\t}\n\n\treturn value;\n}\n\nfunction keysSorter(input) {\n\tif (Array.isArray(input)) {\n\t\treturn input.sort();\n\t}\n\n\tif (typeof input === 'object') {\n\t\treturn keysSorter(Object.keys(input))\n\t\t\t.sort((a, b) => Number(a) - Number(b))\n\t\t\t.map(key => input[key]);\n\t}\n\n\treturn input;\n}\n\nfunction removeHash(input) {\n\tconst hashStart = input.indexOf('#');\n\tif (hashStart !== -1) {\n\t\tinput = input.slice(0, hashStart);\n\t}\n\n\treturn input;\n}\n\nfunction getHash(url) {\n\tlet hash = '';\n\tconst hashStart = url.indexOf('#');\n\tif (hashStart !== -1) {\n\t\thash = url.slice(hashStart);\n\t}\n\n\treturn hash;\n}\n\nfunction extract(input) {\n\tinput = removeHash(input);\n\tconst queryStart = input.indexOf('?');\n\tif (queryStart === -1) {\n\t\treturn '';\n\t}\n\n\treturn input.slice(queryStart + 1);\n}\n\nfunction parseValue(value, options) {\n\tif (options.parseNumbers && !Number.isNaN(Number(value)) && (typeof value === 'string' && value.trim() !== '')) {\n\t\tvalue = Number(value);\n\t} else if (options.parseBooleans && value !== null && (value.toLowerCase() === 'true' || value.toLowerCase() === 'false')) {\n\t\tvalue = value.toLowerCase() === 'true';\n\t}\n\n\treturn value;\n}\n\nfunction parse(query, options) {\n\toptions = Object.assign({\n\t\tdecode: true,\n\t\tsort: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ',',\n\t\tparseNumbers: false,\n\t\tparseBooleans: false\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst formatter = parserForArrayFormat(options);\n\n\t// Create an object with no prototype\n\tconst ret = Object.create(null);\n\n\tif (typeof query !== 'string') {\n\t\treturn ret;\n\t}\n\n\tquery = query.trim().replace(/^[?#&]/, '');\n\n\tif (!query) {\n\t\treturn ret;\n\t}\n\n\tfor (const param of query.split('&')) {\n\t\tif (param === '') {\n\t\t\tcontinue;\n\t\t}\n\n\t\tlet [key, value] = splitOnFirst(options.decode ? param.replace(/\\+/g, ' ') : param, '=');\n\n\t\t// Missing `=` should be `null`:\n\t\t// http://w3.org/TR/2012/WD-url-20120524/#collect-url-parameters\n\t\tvalue = value === undefined ? null : ['comma', 'separator', 'bracket-separator'].includes(options.arrayFormat) ? value : decode(value, options);\n\t\tformatter(decode(key, options), value, ret);\n\t}\n\n\tfor (const key of Object.keys(ret)) {\n\t\tconst value = ret[key];\n\t\tif (typeof value === 'object' && value !== null) {\n\t\t\tfor (const k of Object.keys(value)) {\n\t\t\t\tvalue[k] = parseValue(value[k], options);\n\t\t\t}\n\t\t} else {\n\t\t\tret[key] = parseValue(value, options);\n\t\t}\n\t}\n\n\tif (options.sort === false) {\n\t\treturn ret;\n\t}\n\n\treturn (options.sort === true ? Object.keys(ret).sort() : Object.keys(ret).sort(options.sort)).reduce((result, key) => {\n\t\tconst value = ret[key];\n\t\tif (Boolean(value) && typeof value === 'object' && !Array.isArray(value)) {\n\t\t\t// Sort object keys, not values\n\t\t\tresult[key] = keysSorter(value);\n\t\t} else {\n\t\t\tresult[key] = value;\n\t\t}\n\n\t\treturn result;\n\t}, Object.create(null));\n}\n\nexports.extract = extract;\nexports.parse = parse;\n\nexports.stringify = (object, options) => {\n\tif (!object) {\n\t\treturn '';\n\t}\n\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\tarrayFormat: 'none',\n\t\tarrayFormatSeparator: ','\n\t}, options);\n\n\tvalidateArrayFormatSeparator(options.arrayFormatSeparator);\n\n\tconst shouldFilter = key => (\n\t\t(options.skipNull && isNullOrUndefined(object[key])) ||\n\t\t(options.skipEmptyString && object[key] === '')\n\t);\n\n\tconst formatter = encoderForArrayFormat(options);\n\n\tconst objectCopy = {};\n\n\tfor (const key of Object.keys(object)) {\n\t\tif (!shouldFilter(key)) {\n\t\t\tobjectCopy[key] = object[key];\n\t\t}\n\t}\n\n\tconst keys = Object.keys(objectCopy);\n\n\tif (options.sort !== false) {\n\t\tkeys.sort(options.sort);\n\t}\n\n\treturn keys.map(key => {\n\t\tconst value = object[key];\n\n\t\tif (value === undefined) {\n\t\t\treturn '';\n\t\t}\n\n\t\tif (value === null) {\n\t\t\treturn encode(key, options);\n\t\t}\n\n\t\tif (Array.isArray(value)) {\n\t\t\tif (value.length === 0 && options.arrayFormat === 'bracket-separator') {\n\t\t\t\treturn encode(key, options) + '[]';\n\t\t\t}\n\n\t\t\treturn value\n\t\t\t\t.reduce(formatter(key), [])\n\t\t\t\t.join('&');\n\t\t}\n\n\t\treturn encode(key, options) + '=' + encode(value, options);\n\t}).filter(x => x.length > 0).join('&');\n};\n\nexports.parseUrl = (url, options) => {\n\toptions = Object.assign({\n\t\tdecode: true\n\t}, options);\n\n\tconst [url_, hash] = splitOnFirst(url, '#');\n\n\treturn Object.assign(\n\t\t{\n\t\t\turl: url_.split('?')[0] || '',\n\t\t\tquery: parse(extract(url), options)\n\t\t},\n\t\toptions && options.parseFragmentIdentifier && hash ? {fragmentIdentifier: decode(hash, options)} : {}\n\t);\n};\n\nexports.stringifyUrl = (object, options) => {\n\toptions = Object.assign({\n\t\tencode: true,\n\t\tstrict: true,\n\t\t[encodeFragmentIdentifier]: true\n\t}, options);\n\n\tconst url = removeHash(object.url).split('?')[0] || '';\n\tconst queryFromUrl = exports.extract(object.url);\n\tconst parsedQueryFromUrl = exports.parse(queryFromUrl, {sort: false});\n\n\tconst query = Object.assign(parsedQueryFromUrl, object.query);\n\tlet queryString = exports.stringify(query, options);\n\tif (queryString) {\n\t\tqueryString = `?${queryString}`;\n\t}\n\n\tlet hash = getHash(object.url);\n\tif (object.fragmentIdentifier) {\n\t\thash = `#${options[encodeFragmentIdentifier] ? encode(object.fragmentIdentifier, options) : object.fragmentIdentifier}`;\n\t}\n\n\treturn `${url}${queryString}${hash}`;\n};\n\nexports.pick = (input, filter, options) => {\n\toptions = Object.assign({\n\t\tparseFragmentIdentifier: true,\n\t\t[encodeFragmentIdentifier]: false\n\t}, options);\n\n\tconst {url, query, fragmentIdentifier} = exports.parseUrl(input, options);\n\treturn exports.stringifyUrl({\n\t\turl,\n\t\tquery: filterObject(query, filter),\n\t\tfragmentIdentifier\n\t}, options);\n};\n\nexports.exclude = (input, filter, options) => {\n\tconst exclusionFilter = Array.isArray(filter) ? key => !filter.includes(key) : (key, value) => !filter(key, value);\n\n\treturn exports.pick(input, exclusionFilter, options);\n};\n","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _iterableToArrayLimit(arr, i) {\n var _i = null == arr ? null : \"undefined\" != typeof Symbol && arr[Symbol.iterator] || arr[\"@@iterator\"];\n if (null != _i) {\n var _s,\n _e,\n _x,\n _r,\n _arr = [],\n _n = !0,\n _d = !1;\n try {\n if (_x = (_i = _i.call(arr)).next, 0 === i) {\n if (Object(_i) !== _i) return;\n _n = !1;\n } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0);\n } catch (err) {\n _d = !0, _e = err;\n } finally {\n try {\n if (!_n && null != _i[\"return\"] && (_r = _i[\"return\"](), Object(_r) !== _r)) return;\n } finally {\n if (_d) throw _e;\n }\n }\n return _arr;\n }\n}","import _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _slicedToArray from \"@babel/runtime/helpers/slicedToArray\";\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (Object.getOwnPropertyDescriptors) { Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } } return target; }\n\nimport { useContext, useEffect, useRef, useState } from 'react';\nimport { getDefaults, getI18n, I18nContext, ReportNamespaces } from './context';\nimport { hasLoadedNamespace, loadNamespaces, warnOnce } from './utils';\n\nvar usePrevious = function usePrevious(value, ignore) {\n var ref = useRef();\n useEffect(function () {\n ref.current = ignore ? ref.current : value;\n }, [value, ignore]);\n return ref.current;\n};\n\nexport function useTranslation(ns) {\n var props = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var i18nFromProps = props.i18n;\n\n var _ref = useContext(I18nContext) || {},\n i18nFromContext = _ref.i18n,\n defaultNSFromContext = _ref.defaultNS;\n\n var i18n = i18nFromProps || i18nFromContext || getI18n();\n if (i18n && !i18n.reportNamespaces) i18n.reportNamespaces = new ReportNamespaces();\n\n if (!i18n) {\n warnOnce('You will need to pass in an i18next instance by using initReactI18next');\n\n var notReadyT = function notReadyT(k) {\n return Array.isArray(k) ? k[k.length - 1] : k;\n };\n\n var retNotReady = [notReadyT, {}, false];\n retNotReady.t = notReadyT;\n retNotReady.i18n = {};\n retNotReady.ready = false;\n return retNotReady;\n }\n\n if (i18n.options.react && i18n.options.react.wait !== undefined) warnOnce('It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.');\n\n var i18nOptions = _objectSpread(_objectSpread(_objectSpread({}, getDefaults()), i18n.options.react), props);\n\n var useSuspense = i18nOptions.useSuspense,\n keyPrefix = i18nOptions.keyPrefix;\n var namespaces = ns || defaultNSFromContext || i18n.options && i18n.options.defaultNS;\n namespaces = typeof namespaces === 'string' ? [namespaces] : namespaces || ['translation'];\n if (i18n.reportNamespaces.addUsedNamespaces) i18n.reportNamespaces.addUsedNamespaces(namespaces);\n var ready = (i18n.isInitialized || i18n.initializedStoreOnce) && namespaces.every(function (n) {\n return hasLoadedNamespace(n, i18n, i18nOptions);\n });\n\n const wrappedT = (t) => {\n if (window.msgdebug) {\n return (key) => {\n return key;\n };\n }\n return t;\n };\n\n function getT() {\n return wrappedT(i18n.getFixedT(null, i18nOptions.nsMode === 'fallback' ? namespaces : namespaces[0], keyPrefix))\n }\n\n var _useState = useState(getT),\n _useState2 = _slicedToArray(_useState, 2),\n t = _useState2[0],\n setT = _useState2[1];\n\n var joinedNS = namespaces.join();\n var previousJoinedNS = usePrevious(joinedNS);\n var isMounted = useRef(true);\n useEffect(function () {\n var bindI18n = i18nOptions.bindI18n,\n bindI18nStore = i18nOptions.bindI18nStore;\n isMounted.current = true;\n\n if (!ready && !useSuspense) {\n loadNamespaces(i18n, namespaces, function () {\n if (isMounted.current) setT(getT);\n });\n }\n\n if (ready && previousJoinedNS && previousJoinedNS !== joinedNS && isMounted.current) {\n setT(getT);\n }\n\n function boundReset() {\n if (isMounted.current) setT(getT);\n }\n\n if (bindI18n && i18n) i18n.on(bindI18n, boundReset);\n if (bindI18nStore && i18n) i18n.store.on(bindI18nStore, boundReset);\n return function () {\n isMounted.current = false;\n if (bindI18n && i18n) bindI18n.split(' ').forEach(function (e) {\n return i18n.off(e, boundReset);\n });\n if (bindI18nStore && i18n) bindI18nStore.split(' ').forEach(function (e) {\n return i18n.store.off(e, boundReset);\n });\n };\n }, [i18n, joinedNS]);\n var isInitial = useRef(true);\n useEffect(function () {\n if (isMounted.current && !isInitial.current) {\n setT(getT);\n }\n\n isInitial.current = false;\n }, [i18n, keyPrefix]);\n var ret = [t, i18n, ready];\n ret.t = t;\n ret.i18n = i18n;\n ret.ready = ready;\n if (ready) return ret;\n if (!ready && !useSuspense) return ret;\n throw new Promise(function (resolve) {\n loadNamespaces(i18n, namespaces, function () {\n resolve();\n });\n });\n}","export function warn() {\n if (console && console.warn) {\n var _console;\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if (typeof args[0] === 'string') args[0] = \"react-i18next:: \".concat(args[0]);\n\n (_console = console).warn.apply(_console, args);\n }\n}\nvar alreadyWarned = {};\nexport function warnOnce() {\n for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n if (typeof args[0] === 'string' && alreadyWarned[args[0]]) return;\n if (typeof args[0] === 'string') alreadyWarned[args[0]] = new Date();\n warn.apply(void 0, args);\n}\nexport function loadNamespaces(i18n, ns, cb) {\n i18n.loadNamespaces(ns, function () {\n if (i18n.isInitialized) {\n cb();\n } else {\n var initialized = function initialized() {\n setTimeout(function () {\n i18n.off('initialized', initialized);\n }, 0);\n cb();\n };\n\n i18n.on('initialized', initialized);\n }\n });\n}\n\nfunction oldI18nextHasLoadedNamespace(ns, i18n) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var lng = i18n.languages[0];\n var fallbackLng = i18n.options ? i18n.options.fallbackLng : false;\n var lastLng = i18n.languages[i18n.languages.length - 1];\n if (lng.toLowerCase() === 'cimode') return true;\n\n var loadNotPending = function loadNotPending(l, n) {\n var loadState = i18n.services.backendConnector.state[\"\".concat(l, \"|\").concat(n)];\n return loadState === -1 || loadState === 2;\n };\n\n if (options.bindI18n && options.bindI18n.indexOf('languageChanging') > -1 && i18n.services.backendConnector.backend && i18n.isLanguageChangingTo && !loadNotPending(i18n.isLanguageChangingTo, ns)) return false;\n if (i18n.hasResourceBundle(lng, ns)) return true;\n if (!i18n.services.backendConnector.backend || i18n.options.resources && !i18n.options.partialBundledLanguages) return true;\n if (loadNotPending(lng, ns) && (!fallbackLng || loadNotPending(lastLng, ns))) return true;\n return false;\n}\n\nexport function hasLoadedNamespace(ns, i18n) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n if (!i18n.languages || !i18n.languages.length) {\n warnOnce('i18n.languages were undefined or empty', i18n.languages);\n return true;\n }\n\n var isNewerI18next = i18n.options.ignoreJSONStructure !== undefined;\n\n if (!isNewerI18next) {\n return oldI18nextHasLoadedNamespace(ns, i18n, options);\n }\n\n return i18n.hasLoadedNamespace(ns, {\n precheck: function precheck(i18nInstance, loadNotPending) {\n if (options.bindI18n && options.bindI18n.indexOf('languageChanging') > -1 && i18nInstance.services.backendConnector.backend && i18nInstance.isLanguageChangingTo && !loadNotPending(i18nInstance.isLanguageChangingTo, ns)) return false;\n }\n });\n}\nexport function getDisplayName(Component) {\n return Component.displayName || Component.name || (typeof Component === 'string' && Component.length > 0 ? Component : 'Unknown');\n}","import Button from '@ui/button/Button';\nimport ModalDialog from '@ui/modal/ModalDialog';\nimport analytics from '@utils/analytics';\nimport api from '@utils/api';\nimport React, { useState } from 'react';\nimport cookie from 'react-cookies';\nimport { useTranslation } from 'react-i18next';\nconst CookieCenter = (props) => {\n const { t } = useTranslation();\n const [functionalCookies, setFunctionalCookies] = useState(false);\n const [analyticalCookies, setAnalyticalCookies] = useState(false);\n const [profilingCookies, setProfilingCookies] = useState(false);\n const setDefaultCheckes = () => {\n const acceptedCookies = cookie.load(window.privacyCenterCookieName ? window.privacyCenterCookieName : 'TC_PRIVACY_CENTER');\n if (acceptedCookies) {\n acceptedCookies.split(',').forEach((element) => {\n switch (element) {\n case '1':\n setProfilingCookies(true);\n break;\n case '2':\n setAnalyticalCookies(true);\n break;\n case '3':\n setFunctionalCookies(true);\n break;\n default:\n setProfilingCookies(false);\n setAnalyticalCookies(false);\n setFunctionalCookies(false);\n }\n });\n }\n };\n const saveCookies = (data) => {\n cookie.save(window.privacyCenterCookieName ? window.privacyCenterCookieName : 'TC_PRIVACY_CENTER', decodeURIComponent(data.tcCookieCenterValue), { path: '/' });\n analytics.cookieConsent(data.eventCategory);\n };\n const handleSubmit = (e) => {\n e.preventDefault();\n api.allowPersonalizedTracking(new FormData(e.target)).then((data) => {\n saveCookies(data);\n props.onSubmit();\n });\n };\n const subtitle = () => {\n return (React.createElement(\"div\", { className: \"dialog__description\" },\n React.createElement(\"span\", { dangerouslySetInnerHTML: { __html: t('legal.cookiecenter.sub', { link: props.cookiepage }) } }),\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-md-6\" },\n React.createElement(\"span\", { dangerouslySetInnerHTML: { __html: t('legal.cookiecenter.info', { link: props.cookiepage }) } })),\n React.createElement(\"div\", { className: \"col-md-6\" },\n React.createElement(Button, { type: 'button', cls: ['button--primary'], onClick: () => {\n api.allowTracking().then((data) => {\n saveCookies(data);\n props.onSubmit();\n });\n } }, t('legal.cookiecenter.agree'))))));\n };\n const switchOnOff = () => {\n return (React.createElement(\"div\", { className: \"yes-or-no\" },\n React.createElement(\"span\", { className: \"yes\" }, t('legal.cookiecenter.on')),\n React.createElement(\"span\", { className: \"divisor\", \"aria-hidden\": \"true\" }, \"|\"),\n React.createElement(\"span\", { className: \"no\", \"aria-hidden\": \"true\" }, t('legal.cookiecenter.off'))));\n };\n return (React.createElement(ModalDialog, { isOpen: props.showModal, contentLabel: t('legal.cookiecenter.title'), onRequestClose: () => props.onClose(), onAfterOpen: () => setDefaultCheckes(), className: 'cookie-center', overlayClassName: 'cookie-overlay', buttonInHeader: true },\n subtitle(),\n React.createElement(\"form\", { className: \"cookie-center__form\", onSubmit: handleSubmit },\n React.createElement(\"div\", { className: \"cookie-center__columns\" },\n React.createElement(\"div\", { className: \"cookie-center__column\" },\n React.createElement(\"div\", { className: \"cookie-item\" },\n React.createElement(\"h3\", { className: \"primary-s\" }, t('legal.cookiecenter.technical')),\n React.createElement(\"label\", { className: \"cookie-switch\" },\n React.createElement(\"span\", null, t('legal.cookiecenter.switch')),\n React.createElement(\"input\", { type: \"checkbox\", name: \"technicalCookies\", id: \"technicalCookies\", checked: true, readOnly: true, tabIndex: -1 })),\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: t('legal.cookiecenter.technicaldesc', { link: props.cookiepage }) } })),\n React.createElement(\"div\", { className: \"cookie-item\" },\n React.createElement(\"h3\", { className: \"primary-s\" }, t('legal.cookiecenter.functional')),\n React.createElement(\"label\", { className: \"cookie-switch\" },\n React.createElement(\"input\", { type: \"checkbox\", name: \"functionalCookies\", id: \"functionalCookies\", checked: functionalCookies, onChange: (e) => setFunctionalCookies(e.target.checked) }),\n switchOnOff()),\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: t('legal.cookiecenter.functionaldesc', { link: props.cookiepage }) } }))),\n React.createElement(\"div\", { className: \"cookie-center__column\" },\n React.createElement(\"div\", { className: \"cookie-item\" },\n React.createElement(\"h3\", { className: \"primary-s\" }, t('legal.cookiecenter.profiling')),\n React.createElement(\"label\", { className: \"cookie-switch\" },\n React.createElement(\"input\", { type: \"checkbox\", name: \"profilingCookies\", id: \"profilingCookies\", checked: profilingCookies, onChange: (e) => setProfilingCookies(e.target.checked) }),\n switchOnOff()),\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: t('legal.cookiecenter.profilingdesc', { link: props.cookiepage }) } })),\n React.createElement(\"div\", { className: \"cookie-item\" },\n React.createElement(\"h3\", { className: \"primary-s\" }, t('legal.cookiecenter.analytical')),\n React.createElement(\"label\", { className: \"cookie-switch\" },\n React.createElement(\"input\", { type: \"checkbox\", name: \"analyticalCookies\", id: \"analyticalCookies\", checked: analyticalCookies, onChange: (e) => setAnalyticalCookies(e.target.checked) }),\n switchOnOff()),\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: t('legal.cookiecenter.analyticaldesc', { link: props.cookiepage }) } })))),\n React.createElement(\"div\", { className: \"cookie-row\" },\n React.createElement(\"p\", { dangerouslySetInnerHTML: { __html: t('legal.cookiecenter.contentagree', { link: props.cookiepage }) } })),\n React.createElement(\"div\", { className: \"buttons-wrapper\" },\n React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-md-6\" },\n React.createElement(Button, { type: \"button\", onClick: () => api.rejectTracking().then((data) => {\n saveCookies(data);\n props.onSubmit();\n }) }, t('legal.cookiecenter.reject'))),\n React.createElement(\"div\", { className: \"col-md-6\" },\n React.createElement(Button, { type: \"submit\" }, t('legal.cookiecenter.save'))))))));\n};\nexport default CookieCenter;\n","import classNames from 'classnames';\nimport React from 'react';\nconst ErrorBox = (props) => {\n if (!props.errors || props.errors.length === 0 || props.errors.every((err) => err === '')) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(\"div\", { className: classNames('globalerrors', 'invalid-feedback', props.className), role: \"alert\" }, props.errors.map((e, i) => (React.createElement(\"div\", { key: i }, (e || '').toString())))));\n};\nexport default ErrorBox;\n","import classNames from 'classnames';\nimport React from 'react';\nconst Button = (props) => {\n const handleClick = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onClick) {\n e.preventDefault();\n }\n props.onClick && props.onClick.call(this, e);\n };\n const handleKeyDown = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onKeyDown) {\n e.preventDefault();\n }\n props.onKeyDown && props.onKeyDown.call(this, e);\n };\n return (React.createElement(\"button\", Object.assign({ ref: props.reference, onClick: handleClick, onKeyDown: handleKeyDown, disabled: props.disabled, className: classNames('button', props.cls, props.className, { loading: props.isLoading }), type: props.type, \"aria-label\": props.ariaLabel, \"aria-current\": props.ariaCurrent, \"aria-expanded\": props.ariaExpanded, \"aria-haspopup\": props.ariaHaspopup, \"aria-controls\": props.ariaControls, \"aria-busy\": props.ariaBusy, \"aria-describedby\": props.ariaDescribedby }, (props.tabIndex ? { tabIndex: props.tabIndex } : {})), props.isLoading ? (React.createElement(React.Fragment, null,\n React.createElement(\"div\", null))) : (React.createElement(\"span\", null, props.children))));\n};\nButton.defaultProps = {\n cls: ['button--primary'],\n className: '',\n};\nexport default Button;\n","import React, { Suspense } from 'react';\nimport { autoChooseComponent } from '@common/utils/brandDiffsUtils';\nconst StoneModalDialog = React.lazy(() => import('@stone/components/modal/ModalDialog'));\nconst MocnclerModalDialog = React.lazy(() => import('@moncler/components/modal/ModalDialog'));\nconst ModalDialog = (props) => {\n return (React.createElement(Suspense, { fallback: React.createElement(React.Fragment, null) }, autoChooseComponent({\n MO: React.createElement(MocnclerModalDialog, Object.assign({}, props)),\n ST: React.createElement(StoneModalDialog, Object.assign({}, props, { isLegacy: true })),\n })));\n};\nexport default ModalDialog;\n","export function isRegionPopulate(region, key) {\n var _a, _b;\n console.log('regions', region === null || region === void 0 ? void 0 : region.regions);\n return !!((_b = (_a = region === null || region === void 0 ? void 0 : region.regions[key]) === null || _a === void 0 ? void 0 : _a.components) === null || _b === void 0 ? void 0 : _b.length);\n}\nexport function extractNativeComponent(page, id) {\n var _a;\n let _component;\n if ((_a = page === null || page === void 0 ? void 0 : page.regions) === null || _a === void 0 ? void 0 : _a.length) {\n page.regions.forEach((region) => {\n var _a;\n if ((_a = region === null || region === void 0 ? void 0 : region.components) === null || _a === void 0 ? void 0 : _a.length) {\n region.components.forEach((component) => {\n if (component.id === id) {\n _component = component;\n }\n });\n }\n });\n }\n return _component;\n}\nexport function extractNativeRegionComponents(component, id) {\n var _a;\n let _components;\n if ((_a = component === null || component === void 0 ? void 0 : component.regions) === null || _a === void 0 ? void 0 : _a.length) {\n component.regions.forEach((region) => {\n var _a;\n if (region.id === id && ((_a = region === null || region === void 0 ? void 0 : region.components) === null || _a === void 0 ? void 0 : _a.length)) {\n _components = region.components;\n }\n });\n }\n return _components;\n}\n// const isRegionsPopulate = (region: Region, key: string) => {\n// return !!region.regions[key]\n// };\n","import { useEffect, useState } from 'react';\nconst getInitialBreakpointValue = () => {\n var _a;\n // get initial breakpoint is called before the page is fully loaded and innerWith may be 0. windows.mqObj may not be set\n const mediaQueries = window.mqObj;\n const documentWidth = window.innerWidth || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.width);\n if (documentWidth == 0 || !mediaQueries) {\n return;\n }\n const filtered = Object.keys(mediaQueries).filter((key) => mediaQueries[key] <= documentWidth);\n const initalBr = filtered.length ? mediaQueries[filtered[filtered.length - 1]] : mediaQueries['xs'];\n // console.info('[getInitialBreakpointValue]: ', documentWidth, initalBr);\n return initalBr;\n};\nconst mediaQueries = Object.assign({ ' {\n const [currentBreakpoint, setCurrentBreakpoint] = useState(getInitialBreakpointValue());\n const getCurrentBreakpoint = () => {\n var _a;\n const documentWidth = window.innerWidth || ((_a = window.visualViewport) === null || _a === void 0 ? void 0 : _a.width);\n if (documentWidth == 0) {\n return;\n }\n const filtered = Object.keys(mediaQueries).filter((key) => mediaQueries[key] <= documentWidth);\n return mediaQueries[filtered[filtered.length - 1]];\n };\n const handleResize = () => {\n const currentBr = getCurrentBreakpoint();\n if (currentBr && currentBr !== currentBreakpoint) {\n // console.info('%c[React - Breakpoint change] ', 'color: green;font-weight: bold;', currentBr);\n setCurrentBreakpoint(currentBr);\n }\n };\n // const debounceResize = () => {\n // handleResize();\n // };\n useEffect(() => {\n window.addEventListener('resize', handleResize);\n return () => {\n window.removeEventListener('resize', handleResize);\n };\n });\n return currentBreakpoint;\n};\nexport default useBreakpoint;\n","import ModalDialog from '@ui/modal/ModalDialog';\nimport React from 'react';\nconst NewsletterErrorModal = ({ isOpen, modalErrorMessage, onRequestClose }) => {\n return (React.createElement(ModalDialog, { className: \"newsletter-modal newsletter-modal--error-modal\", isOpen: isOpen, contentLabel: modalErrorMessage === null || modalErrorMessage === void 0 ? void 0 : modalErrorMessage.title, onRequestClose: () => onRequestClose(undefined) },\n React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"newsletter-modal__description\" },\n React.createElement(\"span\", null, modalErrorMessage === null || modalErrorMessage === void 0 ? void 0 : modalErrorMessage.body),\n React.createElement(\"a\", { href: modalErrorMessage === null || modalErrorMessage === void 0 ? void 0 : modalErrorMessage.buttonLink, className: \"button button--primary\" },\n React.createElement(\"span\", null, modalErrorMessage === null || modalErrorMessage === void 0 ? void 0 : modalErrorMessage.buttonText))))));\n};\nexport default NewsletterErrorModal;\n","import ErrorBox from '@components/common/ErrorBox';\nimport DwFormField from '@ui/formfield/DwFormField';\nimport analytics from '@stone/utils/analytics';\nimport api from '@utils/api';\nimport formutils from '@utils/formutils';\nimport React, { useEffect, useState } from 'react';\nimport { Form, FormSpy } from 'react-final-form';\nimport { useTranslation } from 'react-i18next';\nimport SubmitButton from '@stone/ui/button/SubmitButton';\nconst NewsletterForm = ({ email, onSubmitSuccess, cookiepage, isPopup, title }) => {\n const { t } = useTranslation();\n const [formdef, setFormdef] = useState();\n const [initialValues, setInitialValues] = useState();\n const [errors, setErrors] = React.useState([]);\n useEffect(() => {\n let val = {};\n api.getForm('newsletters-subscribe', val).then((data) => {\n setInitialValues(Object.assign(Object.assign({}, val), { newslettersEmailSubscription: email }));\n setFormdef(data);\n });\n }, []);\n const validate = async (values) => {\n return await formutils.validateForm(values, formdef, 'newsletters-subscribe');\n };\n const onSubmit = async (values) => {\n setErrors([]);\n let errors = await validate(values);\n if (errors && Object.keys(errors).length > 0) {\n return errors;\n }\n return api\n .submitNewsletter(values, formdef)\n .then((data) => {\n if (data.success) {\n //save preferences in analytics\n let flags = [];\n let tempValues = values;\n for (const property in tempValues) {\n if (tempValues[property] && property.includes('addtoemaillist')) {\n let properyCleanedForGTM = '';\n if (property == 'addtoemaillistmenwear') {\n properyCleanedForGTM = t('description.checkbox.emailsignup.menswear.profile').toLowerCase();\n }\n else if (property == 'addtoemaillistjuniorwear') {\n properyCleanedForGTM = t('description.checkbox.emailsignup.juniorwear.profile').toLowerCase();\n }\n else if (property == 'addtoemaillistcollaborations') {\n properyCleanedForGTM = t('description.checkbox.emailsignup.collaborations.profile').toLowerCase();\n }\n flags.push(properyCleanedForGTM);\n }\n }\n analytics.newsletter('submit');\n onSubmitSuccess();\n }\n else {\n // setErrors(data.error);\n }\n })\n .catch((e) => setErrors([e]));\n };\n if (!formdef) {\n return React.createElement(React.Fragment, null);\n }\n return (React.createElement(\"div\", null,\n title && React.createElement(\"p\", { className: \"newsletter-modal__subtitle\" }, title),\n React.createElement(Form, { onSubmit: onSubmit, initialValues: initialValues, validate: validate, render: ({ handleSubmit, form, submitting }) => {\n var _a, _b, _c, _d, _e, _f;\n const formState = form.getState();\n return (React.createElement(\"form\", { onSubmit: handleSubmit },\n React.createElement(\"div\", { className: \"row row-gap-40\" },\n React.createElement(\"div\", { className: \"col-lg-24\" },\n React.createElement(DwFormField, { def: formdef, name: \"newslettersEmailSubscription\", type: \"email\" })),\n React.createElement(\"div\", { className: \"col-lg-4\" },\n React.createElement(DwFormField, { def: formdef, name: \"title\", type: formdef['title'].options ? 'select' : 'text', autocomplete: \"honorific-prefix\" })),\n React.createElement(\"div\", { className: \"col-lg-10\" },\n React.createElement(DwFormField, { def: formdef, name: \"firstname\", autocomplete: \"given-name\" })),\n React.createElement(\"div\", { className: \"col-lg-10\" },\n React.createElement(DwFormField, { def: formdef, name: \"lastname\", autocomplete: \"family-name\" })),\n React.createElement(\"div\", { className: \"col-lg-12\" },\n React.createElement(DwFormField, { def: formdef, name: \"gender\", type: \"radio\", groupClassName: \"form-group--gender-radio\" }))),\n React.createElement(\"div\", { className: \"newsletter-modal__radio-wrapper\" },\n React.createElement(\"p\", { className: \"newsletter-modal__subtitle\" }, t('preferences.notifymeabout')),\n React.createElement(\"div\", { className: \"checkbox-wrapper\" },\n React.createElement(DwFormField, { def: formdef, name: \"addtoemaillistmenwear\", type: \"checkbox\", checkboxChecked: ((_a = formState === null || formState === void 0 ? void 0 : formState.values) === null || _a === void 0 ? void 0 : _a.addtoemaillistmenwear) || false, controlledInput: true }),\n React.createElement(DwFormField, { def: formdef, name: \"addtoemaillistjuniorwear\", type: \"checkbox\", checkboxChecked: ((_b = formState === null || formState === void 0 ? void 0 : formState.values) === null || _b === void 0 ? void 0 : _b.addtoemaillistjuniorwear) || false, controlledInput: true }),\n React.createElement(DwFormField, { def: formdef, name: \"addtoemaillistcollaborations\", type: \"checkbox\", checkboxChecked: ((_c = formState === null || formState === void 0 ? void 0 : formState.values) === null || _c === void 0 ? void 0 : _c.addtoemaillistcollaborations) || false, controlledInput: true }),\n React.createElement(DwFormField, { def: formdef, onChange: (e) => {\n console.log('form state', formState);\n if (e.target.checked) {\n form.change('addtoemaillistmenwear', true);\n form.change('addtoemaillistjuniorwear', true);\n form.change('addtoemaillistcollaborations', true);\n }\n else {\n form.change('addtoemaillistmenwear', false);\n form.change('addtoemaillistjuniorwear', false);\n form.change('addtoemaillistcollaborations', false);\n }\n }, name: \"addtoemaillistall\", type: \"checkbox\", checkboxChecked: ((_d = formState === null || formState === void 0 ? void 0 : formState.values) === null || _d === void 0 ? void 0 : _d.addtoemaillistmenwear) && ((_e = formState === null || formState === void 0 ? void 0 : formState.values) === null || _e === void 0 ? void 0 : _e.addtoemaillistjuniorwear) && ((_f = formState === null || formState === void 0 ? void 0 : formState.values) === null || _f === void 0 ? void 0 : _f.addtoemaillistcollaborations), controlledInput: true })),\n React.createElement(ErrorBox, { errors: errors })),\n React.createElement(\"div\", { className: \"newsletter-modal__privacy-flag\" },\n React.createElement(DwFormField, { def: formdef, name: \"personalInfoFlag\", type: \"checkbox\" })),\n React.createElement(\"p\", { className: \"newsletter-modal__required-label\" }, t('label.required')),\n React.createElement(\"div\", { className: \"row button-row\" },\n React.createElement(SubmitButton, { submitting: submitting, label: t('button.submit') })),\n React.createElement(\"p\", { className: \"newsletter-modal__legal-label\" },\n t('preferences.newsletterterms1'),\n ' ',\n React.createElement(\"a\", { href: cookiepage, target: \"_blank\" }, t('preferences.privacysettings.privacyandcookiepolicy')),\n ' ',\n t('preferences.newsletterterms2')),\n React.createElement(FormSpy, { onChange: () => { } })));\n } })));\n};\nexport default NewsletterForm;\n","import api from '@utils/api';\nimport React, { useEffect, useState } from 'react';\nimport { Form } from 'react-final-form';\nimport { useTranslation } from 'react-i18next';\nimport analytics from '@stone/utils/analytics';\nimport FormField from '@ui/formfield/FormField';\nimport ErrorBox from '@components/common/ErrorBox';\nimport useQueryStringBoolean from '@common/utils/useQueryStringBoolean';\nimport Button from '@stone/ui/button/Button';\nimport ModalDialog from '@stone/components/modal/ModalDialog';\nimport NewsletterErrorModal from '@stone/components/newsletter/NewsletterErrorModal';\nimport NewsletterForm from '@stone/components/newsletter/NewsletterForm';\nimport customEventBus from '@common/scripts/libs/eventBus';\nconst Newsletter = (props) => {\n const { t } = useTranslation();\n const [errors, setErrors] = useState([]);\n const [modalErrorMessage, setModalErrorMessage] = useState();\n const [submitSuccess, setSubmitSuccess] = useState(false);\n const [showSubModal, setShowSubModal] = useQueryStringBoolean('nldialog', false);\n const [email, setEmail] = useState('');\n useEffect(() => {\n customEventBus.on('newsletter:open', (data) => {\n onSubmit({ nlField: data.email });\n });\n return () => {\n customEventBus.off('newsletter:open', (data) => {\n onSubmit({ nlField: data.email });\n });\n };\n }, []);\n const validateEmail = (email) => {\n const re = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\n return re.test(String(email).toLowerCase());\n };\n const onSubmit = async (values) => {\n setErrors([]);\n if (validateEmail(values.nlField)) {\n const isNewEmail = await api.checkNewsletterEmail(values.nlField);\n if (isNewEmail.success) {\n setEmail(values.nlField);\n setShowSubModal(true);\n //check if we are on monclernow listing\n // if (props.isMonclernowModule) {\n // analytics.newsletterModuleContinue();\n // } else {\n // analytics.footerSection(props.footerSectionTitle, t('button.continue'));\n // }\n }\n else {\n setModalErrorMessage({\n title: t('newsletter.alreadyregisteredtitle'),\n body: t('newsletter.alreadyregisteredtext'),\n buttonLink: '/',\n buttonText: t('newslettermodal.continue'),\n });\n }\n }\n else {\n setErrors([t('forgotpassword.invalidemail')]);\n }\n };\n // useEffect(() => {\n // const bodyId = document.querySelector('body').id;\n // if (!['cart-show', 'checkout-begin'].includes(bodyId) && window.innerWidth > window.mqObj.sm && !window.appmode) {\n // let maincontent = document.getElementById('maincontent');\n // let footer = document.querySelector('.footer') as HTMLElement;\n // let header = document.querySelector('header') as HTMLElement;\n // if (maincontent && footer && footer.offsetHeight <= window.innerHeight - header.offsetHeight) {\n // maincontent.style.marginBottom = `${footer.clientHeight}px`;\n // }\n // }\n // }, []);\n return (React.createElement(React.Fragment, null,\n React.createElement(Form, { onSubmit: onSubmit, render: ({ handleSubmit }) => (React.createElement(\"form\", { onSubmit: handleSubmit },\n React.createElement(\"div\", { className: \"newsletter-container\", \"data-error\": (errors === null || errors === void 0 ? void 0 : errors.length) > 0 ? true : false },\n React.createElement(FormField, { dark: props.isDark, className: \"form-control--outline\", labelClassName: \"form-group__label form-group__label--floating\", name: \"nlField\", label: t('footer.email.address'), type: \"email\", autocomplete: \"email\", required: true, placeholder: t('footer.newsletter.placeholder') }),\n React.createElement(ErrorBox, { errors: errors, className: \"mt-20\" }),\n React.createElement(Button, { type: \"submit\", cls: ['button--secondary'], inverted: props.isDark }, t('button.continue'))))) }),\n React.createElement(NewsletterErrorModal, { isOpen: Boolean(modalErrorMessage === null || modalErrorMessage === void 0 ? void 0 : modalErrorMessage.title), modalErrorMessage: modalErrorMessage, onRequestClose: setModalErrorMessage }),\n React.createElement(ModalDialog, { className: \"newsletter-modal newsletter-modal--subscription-modal lg-scrollable\", isOpen: showSubModal, \n // isOpen={true}\n contentLabel: \"Newsletter subscription\", onRequestClose: () => {\n // analytics.newsletterCloseModal();\n setShowSubModal(false);\n }, onAfterOpen: () => !submitSuccess && analytics.newsletter('start'), fullHeight: true, fullWidth: true },\n React.createElement(\"div\", { className: \"newsletter-modal__wrapper\" }, submitSuccess ? (React.createElement(React.Fragment, null,\n React.createElement(\"h2\", { className: \"newsletter-modal__title modal__title\", role: \"alert\" }, t('newslettermodal.successtitle')),\n React.createElement(\"p\", { className: \"newsletter-modal__description modal__description\" },\n React.createElement(\"span\", { dangerouslySetInnerHTML: { __html: t('newslettermodal.successdescription') } })),\n React.createElement(\"div\", { className: \"modal__buttonrow\" },\n React.createElement(\"a\", { href: window.homeurl, className: \"button button--primary\" },\n React.createElement(\"span\", null, t('newslettermodal.continue')))))) : (React.createElement(React.Fragment, null,\n React.createElement(\"h2\", { className: \"newsletter-modal__title modal__title\" }, t('newslettermodal.title')),\n React.createElement(\"p\", { className: \"newsletter-modal__description modal__description\" },\n React.createElement(\"span\", null, t('newslettermodal.description'))),\n React.createElement(NewsletterForm, { title: t('newslettermodal.detailstitle'), email: email, cookiepage: props.cookiepage, onSubmitSuccess: () => {\n setSubmitSuccess(true);\n } })))))));\n};\nexport default Newsletter;\n","import ModalDialog from '@stone/components/modal/ModalDialog';\n// import analytics from '@utils/analytics';\nimport api from '@utils/api';\nimport useQueryStringBoolean from '@utils/useQueryStringBoolean';\nimport React, { useEffect, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport Icon from '@stone/ui/icon/Icon';\nimport { useLangChecker } from '@common/utils/i18n';\nconst LanguageModal = (props) => {\n const { t } = useTranslation();\n const [open, setOpen] = useQueryStringBoolean('localeselector');\n const [data, setData] = useState();\n useEffect(() => {\n if (open) {\n api.languageSelectorJson().then((data) => {\n setData(data);\n });\n }\n }, [open]);\n const handleColumn = (index) => {\n if (index < 4) {\n return 1;\n }\n else {\n if (index < data.length / 2) {\n return 1;\n }\n else {\n return 2;\n }\n }\n };\n const handleRow = (index) => {\n if (index < data.length / 2) {\n return index + 1;\n }\n else {\n return index - data.length / 2;\n }\n };\n const modal = () => (React.createElement(ModalDialog, { isOpen: open, onRequestClose: () => {\n setOpen(false);\n // analytics.languageselectorClose();\n }, hasDivisor: true, contentLabel: t('modal.language.title'), subtitle: t('modal.language.description'), className: \"language-modal\", fullWidth: true, fullHeight: true },\n React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"languageselector-wrapper mt-32\" },\n React.createElement(\"div\", { className: \"continent-title languageselector\" },\n React.createElement(\"ol\", null, data.map((lang, index) => (React.createElement(\"li\", { key: lang.link, className: `grid-column-${handleColumn(index)}` },\n React.createElement(\"a\", { href: lang.link, \"aria-current\": window.language === lang.language, \"data-language\": lang.language }, lang.name))))))))));\n return (React.createElement(React.Fragment, null,\n React.createElement(\"button\", { type: \"button\", className: \"footer-countrybutton\", \"aria-haspopup\": \"dialog\", onClick: () => setOpen(true) },\n React.createElement(\"span\", { className: \"footer-countrybutton__content\" },\n React.createElement(\"span\", { className: \"footer-countrybutton__title\", ref: useLangChecker }, t('footer.item.language')),\n ' ',\n props.current),\n React.createElement(Icon, { name: \"open\", family: \"10\", inverted: true })),\n data && modal()));\n};\nexport default LanguageModal;\n","import ModalDialog from '@stone/components/modal/ModalDialog';\nimport useQueryStringBoolean from '@utils/useQueryStringBoolean';\nimport React, { useEffect } from 'react';\nimport { useTranslation } from 'react-i18next';\nconst CorporateModal = (props) => {\n const { t } = useTranslation();\n const [open, setOpen] = useQueryStringBoolean('localeselector');\n useEffect(() => { }, [open]);\n const modal = () => (React.createElement(ModalDialog, { contentLabel: t('footer.corporateinfo'), isOpen: open, hasDivisor: true, onRequestClose: () => {\n setOpen(false);\n } },\n React.createElement(\"div\", { className: \"mt-32\", dangerouslySetInnerHTML: { __html: t(`footer.${props.region}`) } })));\n return (React.createElement(React.Fragment, null,\n \"-\",\n ' ',\n React.createElement(\"button\", { type: \"button\", onClick: () => setOpen(true), \"aria-haspopup\": \"dialog\", className: \"button button--tertiary inverted\" },\n React.createElement(\"span\", null, t('footer.corporateinfo'))),\n modal()));\n};\nexport default CorporateModal;\n","import CookieCenter from '@components/common/CookieCenter';\nimport React, { useState } from 'react';\nconst CookieCenterLink = (props) => {\n const [showModal, setShowModal] = useState(false);\n const hasOneTrust = window.cookiePolicy === 'OneTrust';\n const showCookieCenter = () => {\n if (hasOneTrust) {\n if (window.OneTrust) {\n window.OneTrust.ToggleInfoDisplay();\n }\n else {\n console.error('OneTrust object not found!');\n }\n }\n else {\n setShowModal(true);\n }\n };\n return (React.createElement(React.Fragment, null,\n React.createElement(\"button\", { \"data-analytics\": props.analytics, \"aria-haspopup\": \"dialog\", className: \"footer-menu__menuitem\", onClick: () => showCookieCenter() },\n React.createElement(\"span\", null, props.title)),\n !hasOneTrust && (React.createElement(CookieCenter, { cookiepage: props.cookiepage, showModal: showModal, onClose: () => {\n setShowModal(false);\n }, onSubmit: () => {\n setShowModal(false);\n } }))));\n};\nexport default CookieCenterLink;\n","import api from '@utils/api';\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport { isRegionPopulate } from '@utils/regions';\nimport useMediaQueries from '@stone/hooks/useMediaQueries';\nimport Logo from '@stone/ui/logo/Logo';\nimport Newsletter from '@stone/components/newsletter/Newsletter';\nimport Icon from '@stone/ui/icon/Icon';\nimport CountryModal from '@stone/components/countryselector/CountryModal';\nimport LanguageModal from '@stone/components/countryselector/LanguageModal';\nimport Accordion from '@common/ui/accordion/Accordion';\nimport AccordionItem from '@common/ui/accordion/AccordionItem';\nimport CorporateModal from './CorporateModal';\nimport GetInTouch from '../clientService/GetInTouch';\nimport CookieCenterLink from '@components/common/CookieCenterLink';\nimport { useLangChecker } from '@common/utils/i18n';\nconst Footer = (props) => {\n var _a, _b, _c, _d, _e, _f;\n //* CUSTOM HOOOKS -------------------------------------------------------------------------------------------------------------------------------------------- */\n const { t } = useTranslation();\n const { isDesktop, isWideDesktop } = useMediaQueries();\n //* STATES --------------------------------------------------------------------------------------------------------------------------------------------------- */\n const [data, setData] = useState(null);\n const [loading, setLoading] = useState(null);\n const [error, setError] = useState(null);\n //* USE EFFECT --------------------------------------------------------------------------------------------------------------------------------------------------- */\n useEffect(() => {\n if (!data) {\n setLoading(true);\n api\n .getPageJson('footer')\n .then((data) => {\n setData(data.page);\n setLoading(false);\n })\n .catch((error) => {\n setError(error.message);\n setLoading(false);\n });\n }\n }, [data]);\n //* USE MEMO --------------------------------------------------------------------------------------------------------------------------------------------------- */\n const isPopulated = useMemo(() => {\n return isRegionPopulate(data, 'main') || isRegionPopulate(data, 'legals');\n }, [data]);\n const footerCollection = (_b = (_a = data === null || data === void 0 ? void 0 : data.regions) === null || _a === void 0 ? void 0 : _a.main) === null || _b === void 0 ? void 0 : _b.components;\n const legalCollection = (_d = (_c = data === null || data === void 0 ? void 0 : data.regions) === null || _c === void 0 ? void 0 : _c.legals) === null || _d === void 0 ? void 0 : _d.components[0];\n const appCollection = (_f = (_e = data === null || data === void 0 ? void 0 : data.regions) === null || _e === void 0 ? void 0 : _e.download_app) === null || _f === void 0 ? void 0 : _f.components[0];\n const fusedCollection = useMemo(() => {\n let main = [];\n if (footerCollection && legalCollection) {\n footerCollection.forEach((region) => {\n main.push(region);\n });\n main.push(legalCollection);\n }\n return main;\n }, [footerCollection, legalCollection]);\n //* MENU ITEMS --------------------------------------------------------------------------------------------------------------------------------------------------- */\n const menuItems = (items) => items.map((item) => item.typeid === 'component_contact_details_footer' ? (React.createElement(GetInTouch, { type: \"FOOTER\", key: item.ID })) : item.typeid === 'component_cookie_center_footer' ? (React.createElement(\"li\", { key: item.ID, className: \"footer-collection__item\" },\n React.createElement(CookieCenterLink, { cookiepage: props.cookiepage, title: item.title }))) : (React.createElement(\"li\", { key: item.ID, className: \"footer-collection__item\" },\n React.createElement(\"a\", { href: item.link, target: item.blank ? '_blank' : '_self' },\n item.external && React.createElement(Icon, { family: \"10\", name: \"external-white\" }),\n item.title,\n \" \",\n item.external && React.createElement(\"span\", { className: \"visually-hidden\" }, t('label.openinanewtab'))))));\n //* RENDER ------------------------------------------------------------------------------------------------------------------------------------------------- */\n if (loading || error)\n return React.createElement(React.Fragment, null);\n return (React.createElement(React.Fragment, null,\n React.createElement(\"h2\", { className: \"visually-hidden\", ref: useLangChecker }, t('footer.ariatitle')),\n React.createElement(\"div\", { className: \"container\", \"data-dark\": true }, isPopulated && (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"row footer-area__row footer-area-top\" },\n React.createElement(\"div\", { className: \"col-lg-12 col-xxl-16 \" }, !isWideDesktop ? (React.createElement(\"nav\", { \"aria-label\": t('footer.ariatitle') },\n React.createElement(\"div\", { className: \"footer-collections\" },\n React.createElement(Accordion, null, fusedCollection === null || fusedCollection === void 0 ? void 0 : fusedCollection.map((collection) => (React.createElement(AccordionItem, { key: collection.ID, accordionId: collection.ID, title: collection.title },\n React.createElement(\"ul\", { className: \"footer-collection__list\" }, menuItems(collection.regions.items.components))))))))) : (React.createElement(\"nav\", { \"aria-label\": t('footer.ariatitle') },\n React.createElement(\"div\", { className: \"row footer-collections\" }, footerCollection === null || footerCollection === void 0 ? void 0 : footerCollection.map((collection) => (React.createElement(\"div\", { className: \"col-lg-6\", key: collection.ID },\n React.createElement(\"h3\", { className: \"footer-collection-title\" }, collection.title),\n React.createElement(\"ul\", { className: \"footer-collection__list\" }, menuItems(collection.regions.items.components))))))))),\n React.createElement(\"div\", { className: \"col-lg-11 col-xxl-8 offset-lg-1 offset-xxl-0\" },\n React.createElement(\"div\", { className: \"footer-area footer-area__newsletter\" },\n React.createElement(\"h3\", { className: \"newsletter-title\", ref: useLangChecker }, t('label.newsletter')),\n React.createElement(Newsletter, { isDark: true, cookiepage: props.cookiepage, footerSectionTitle: props.footerSectionTitle })),\n React.createElement(\"div\", { className: \"footer-area footer-area__countryselector\" },\n React.createElement(CountryModal, null),\n React.createElement(LanguageModal, { current: props.currentLanguage })),\n isRegionPopulate(appCollection, 'items') && (React.createElement(\"div\", { className: \"footer-area footer-area__app\" },\n React.createElement(\"span\", null, appCollection.title),\n appCollection.regions.items.components.map((item) => (React.createElement(\"a\", { key: item.ID, href: item.link, target: item.blank ? '_blank' : '_self' }, item.title))))))),\n React.createElement(\"div\", { className: \"row footer-area__row footer-area-bottom\" },\n isWideDesktop && !!legalCollection && (React.createElement(\"div\", { className: \"col-lg-16\" }, isRegionPopulate(legalCollection, 'items') && (React.createElement(React.Fragment, null,\n React.createElement(\"div\", { className: \"footer-collection footer-collection--last\" },\n React.createElement(\"h3\", { className: \"footer-collection-title visually-hidden\" }, legalCollection.title),\n React.createElement(\"ul\", { className: \"footer-collection__list\" }, menuItems(legalCollection.regions.items.components))))))),\n React.createElement(\"div\", { className: \"col-xxl-8\" },\n React.createElement(\"div\", { className: \"footer-area footer-area__logo\" }, isDesktop && !isWideDesktop ? (React.createElement(\"div\", { className: \"row\" },\n React.createElement(\"div\", { className: \"col-lg-12\" },\n React.createElement(Logo, { id: \"footer-logo\", context: 'footer', title: t('footer.logo.title'), inverted: true })),\n React.createElement(\"div\", { className: \"col-lg-11 offset-lg-1\" },\n React.createElement(\"p\", { className: \"footer-copyright\" },\n t('footer.copyright'),\n \" \",\n React.createElement(CorporateModal, { region: props.region }))))) : (React.createElement(React.Fragment, null,\n React.createElement(Logo, { id: \"footer-logo\", context: 'footer', title: t('footer.logo.title'), inverted: true }),\n React.createElement(\"p\", { className: \"footer-copyright\" },\n t('footer.copyright'),\n \" \",\n React.createElement(CorporateModal, { region: props.region }))))))))))));\n};\nexport default Footer;\n","import classNames from 'classnames';\nimport React from 'react';\nconst Button = (props) => {\n const handleClick = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onClick) {\n e.preventDefault();\n }\n props.onClick && props.onClick.call(this, e);\n };\n const handleKeyDown = (e) => {\n if (props.usesDefault != undefined && !props.usesDefault && props.onKeyDown) {\n e.preventDefault();\n }\n props.onKeyDown && props.onKeyDown.call(this, e);\n };\n return (React.createElement(\"button\", { ref: props.reference, onClick: handleClick, onFocus: props === null || props === void 0 ? void 0 : props.onFocus, onKeyDown: handleKeyDown, disabled: props.disabled, className: classNames('button', props.cls, props.className, { loading: props.isLoading }, { full: props.fullWidth }, { inverted: props.inverted }), type: props.type, \"aria-label\": props.ariaLabel, \"aria-expanded\": props.ariaExpanded, \"aria-haspopup\": props.ariaHaspopup, \"aria-controls\": props.ariaControls, \"aria-hidden\": props.ariaHidden, \"aria-pressed\": props.ariaPressed, tabIndex: props.customTabIndex ? props.customTabIndex : undefined, id: props.id, \"data-pressed\": props.pressed }, props.customChildren ? props.children : React.createElement(\"span\", null, props.children)));\n};\nButton.defaultProps = {\n cls: ['button--primary'],\n className: '',\n};\nexport default Button;\n","import React from 'react';\nimport Button from './Button';\nimport { useTranslation } from 'react-i18next';\nimport classNames from 'classnames';\nconst SubmitButton = (props) => {\n const { t } = useTranslation();\n const renderLoading = () => (React.createElement(React.Fragment, null,\n React.createElement(\"span\", null, t('button.submitting')),\n React.createElement(\"span\", { className: \"form-submit-dot _1\" }, \".\"),\n React.createElement(\"span\", { className: \"form-submit-dot _2\" }, \".\"),\n React.createElement(\"span\", { className: \"form-submit-dot _3\" }, \".\")));\n return (React.createElement(Button, { type: \"submit\", onClick: props.onClick, cls: props.cls, customChildren: true, disabled: props.submitting, className: classNames('form-submit', props.className), fullWidth: props.fullWidth }, props.submitting ? renderLoading() : React.createElement(\"span\", null, props.label)));\n};\nSubmitButton.defaultProps = {\n cls: ['button--primary'],\n};\nexport default SubmitButton;\n","import React from 'react';\nconst Icon = (props) => {\n const icon = `${props.family}-${props.name}${props.inverted ? '-white' : ''}`;\n return React.createElement(\"span\", { \"aria-label\": props.ariaLabel, \"aria-hidden\": true, className: `icon icon--${icon} ${props.autoSize ? 'auto-size' : ''}` });\n};\nIcon.defaultProps = {\n family: '10',\n inverted: false,\n ariaHidden: false,\n};\nexport default Icon;\n","import React from 'react';\nconst LogoUs = React.lazy(() => import('@stone/ui/logo/Logo_us'));\nconst LogoDefault = React.lazy(() => import('@stone/ui/logo/Logo_default'));\nconst Logo = (props) => {\n return window.country === 'US' || window.country === 'CA' ? React.createElement(LogoUs, Object.assign({}, props)) : React.createElement(LogoDefault, Object.assign({}, props));\n};\nexport default Logo;\n","export default function _extends() {\n _extends = Object.assign ? Object.assign.bind() : function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n return target;\n };\n return _extends.apply(this, arguments);\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n return target;\n}"],"names":["module","exports","obj","predicate","ret","keys","Object","isArr","Array","isArray","i","length","key","val","indexOf","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","props","propName","componentName","location","propFullName","secret","err","Error","name","getShim","isRequired","ReactPropTypes","array","bigint","bool","func","number","object","string","symbol","any","arrayOf","element","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","strictUriEncode","decodeComponent","splitOnFirst","filterObject","encodeFragmentIdentifier","Symbol","validateArrayFormatSeparator","value","TypeError","encode","options","strict","encodeURIComponent","decode","keysSorter","input","sort","a","b","Number","map","removeHash","hashStart","slice","extract","queryStart","parseValue","parseNumbers","isNaN","trim","parseBooleans","toLowerCase","parse","query","assign","arrayFormat","arrayFormatSeparator","formatter","result","accumulator","exec","replace","undefined","concat","includes","isEncodedArray","newValue","split","item","test","arrayValue","parserForArrayFormat","create","param","k","reduce","Boolean","stringify","shouldFilter","skipNull","skipEmptyString","index","join","keyValueSep","encoderForArrayFormat","objectCopy","filter","x","parseUrl","url","url_","hash","parseFragmentIdentifier","fragmentIdentifier","stringifyUrl","queryFromUrl","parsedQueryFromUrl","queryString","getHash","pick","exclude","exclusionFilter","_slicedToArray","arr","arrayWithHoles","_i","iterator","_s","_e","_x","_r","_arr","_n","_d","call","next","done","push","unsupportedIterableToArray","nonIterableRest","ownKeys","enumerableOnly","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","target","arguments","source","forEach","getOwnPropertyDescriptors","defineProperties","defineProperty","usePrevious","ignore","ref","useRef","useEffect","current","useTranslation","ns","i18nFromProps","i18n","_ref","useContext","i18nFromContext","defaultNSFromContext","defaultNS","reportNamespaces","notReadyT","retNotReady","t","ready","react","wait","i18nOptions","useSuspense","keyPrefix","namespaces","addUsedNamespaces","isInitialized","initializedStoreOnce","every","n","getT","window","msgdebug","wrappedT","getFixedT","nsMode","_useState2","useState","setT","joinedNS","previousJoinedNS","isMounted","bindI18n","bindI18nStore","boundReset","on","store","e","off","isInitial","Promise","resolve","warn","console","_console","_len","args","_key","alreadyWarned","warnOnce","_len2","_key2","Date","loadNamespaces","cb","initialized","setTimeout","hasLoadedNamespace","languages","ignoreJSONStructure","precheck","i18nInstance","loadNotPending","services","backendConnector","backend","isLanguageChangingTo","lng","fallbackLng","lastLng","l","loadState","state","hasResourceBundle","resources","partialBundledLanguages","oldI18nextHasLoadedNamespace","functionalCookies","setFunctionalCookies","analyticalCookies","setAnalyticalCookies","profilingCookies","setProfilingCookies","saveCookies","data","privacyCenterCookieName","decodeURIComponent","tcCookieCenterValue","path","eventCategory","switchOnOff","className","isOpen","showModal","contentLabel","onRequestClose","onClose","onAfterOpen","acceptedCookies","setDefaultCheckes","overlayClassName","buttonInHeader","dangerouslySetInnerHTML","__html","link","cookiepage","type","cls","onClick","then","onSubmit","preventDefault","FormData","id","checked","readOnly","tabIndex","onChange","errors","role","toString","Button","reference","usesDefault","onKeyDown","disabled","loading","isLoading","ariaLabel","ariaCurrent","ariaExpanded","ariaHaspopup","ariaControls","ariaBusy","ariaDescribedby","children","defaultProps","StoneModalDialog","MocnclerModalDialog","Suspense","fallback","MO","ST","isLegacy","isRegionPopulate","region","_a","_b","log","regions","components","extractNativeComponent","page","_component","component","extractNativeRegionComponents","_components","mediaQueries","mqObj","currentBreakpoint","setCurrentBreakpoint","documentWidth","innerWidth","visualViewport","width","filtered","getInitialBreakpointValue","handleResize","currentBr","getCurrentBreakpoint","addEventListener","removeEventListener","modalErrorMessage","title","body","href","buttonLink","buttonText","email","onSubmitSuccess","isPopup","formdef","setFormdef","initialValues","setInitialValues","setErrors","api","newslettersEmailSubscription","validate","async","values","formutils","success","flags","tempValues","property","properyCleanedForGTM","analytics","catch","render","handleSubmit","form","submitting","_c","_f","formState","getState","DwFormField","def","autocomplete","groupClassName","checkboxChecked","addtoemaillistmenwear","controlledInput","addtoemaillistjuniorwear","addtoemaillistcollaborations","change","ErrorBox","SubmitButton","label","setModalErrorMessage","submitSuccess","setSubmitSuccess","showSubModal","setShowSubModal","useQueryStringBoolean","setEmail","nlField","String","validateEmail","FormField","dark","isDark","labelClassName","required","placeholder","inverted","ModalDialog","fullHeight","fullWidth","homeurl","open","setOpen","setData","handleColumn","Icon","family","hasDivisor","subtitle","lang","language","setShowModal","hasOneTrust","cookiePolicy","OneTrust","ToggleInfoDisplay","error","CookieCenter","isDesktop","isWideDesktop","useMediaQueries","setLoading","setError","message","isPopulated","useMemo","footerCollection","main","legalCollection","legals","appCollection","download_app","fusedCollection","menuItems","items","typeid","GetInTouch","ID","blank","external","collection","Accordion","AccordionItem","accordionId","footerSectionTitle","CountryModal","currentLanguage","Logo","context","onFocus","full","ariaHidden","ariaPressed","customTabIndex","pressed","customChildren","icon","autoSize","LogoUs","LogoDefault","country","_extends","bind","prototype","hasOwnProperty","this","_objectWithoutPropertiesLoose","excluded","sourceKeys"],"sourceRoot":""}